/*! For license information please see settings.js.LICENSE.txt */ (()=>{var e,t,n={212:(e,t,n)=>{"use strict";n.d(t,{DW:()=>s.D,KZ:()=>U.K,Mc:()=>Z.M,P6:()=>l.P,PT:()=>c.P,TU:()=>o.TU,WH:()=>d.W,Wp:()=>R.W,YE:()=>r.Y,c$:()=>i.c,nL:()=>N.n,rU:()=>a.r,tu:()=>r.t,vG:()=>V.v,yL:()=>o.yL});var l=n(75311),a=n(35835),r=n(42264),d=n(63652),V=n(42897),o=n(78243),U=n(33075),c=n(83979),i=n(47381),s=n(46172),N=(n(8502),n(12248)),R=(n(29746),n(36590),n(83489),n(56257)),Z=n(56228)},402:(e,t,n)=>{"use strict";n.d(t,{W:()=>d});var l=n(41614),a=n(45320);const r=new Set(["auto","none","0"]);function d(e,t,n){let d,V=0;for(;V{"use strict";n.d(t,{q:()=>l});const l={test:e=>"auto"===e,parse:e=>e}},543:(e,t,n)=>{"use strict";n.d(t,{i:()=>N});var l=n(39713),a=n(8104),r=n(73416),d=n(5252),V=n(33735),o=n(72027),U=n(24949);const c=(e,t,n)=>{const l=e*e,a=n*(t*t-l)+l;return a<0?0:Math.sqrt(a)},i=[d.u,V.B,o.V];function s(e){const t=(n=e,i.find((e=>e.test(n))));var n;if((0,a.$)(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(t))return!1;let l=t.parse(e);return t===o.V&&(l=(0,r.a)(l)),l}const N=(e,t)=>{const n=s(e),a=s(t);if(!n||!a)return(0,U.O)(e,t);const r={...n};return e=>(r.red=c(n.red,a.red,e),r.green=c(n.green,a.green,e),r.blue=c(n.blue,a.blue,e),r.alpha=(0,l.k)(n.alpha,a.alpha,e),V.B.transform(r))}},837:(e,t,n)=>{"use strict";n.d(t,{O:()=>V,e:()=>d});var l=n(65490),a=n(36551),r=n(35092);function d(e){return(0,l.N)(e.animate)||r._.some((t=>(0,a.w)(e[t])))}function V(e){return Boolean(d(e)||e.variants)}},849:(e,t,n)=>{"use strict";n.d(t,{S:()=>l});const l=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},921:(e,t,n)=>{"use strict";n.d(t,{H:()=>o});var l=n(3044),a=n(212),r=n(71912),d=n(10104);function V(e,t,n){const{props:l}=e;e.animationState&&l.whileTap&&e.animationState.setActive("whileTap","Start"===n);const a=l["onTap"+("End"===n?"":n)];a&&d.Gt.postRender((()=>a(t,(0,r.e)(t))))}class o extends l.X{mount(){const{current:e}=this.node;e&&(this.unmount=(0,a.c$)(e,(e=>(V(this.node,e,"Start"),(e,{success:t})=>V(this.node,e,t?"End":"Cancel"))),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},1247:(e,t,n)=>{"use strict";function l(e){return e instanceof SVGElement&&"svg"!==e.tagName}n.d(t,{x:()=>l})},1455:e=>{"use strict";e.exports=window.wp.apiFetch},1479:(e,t,n)=>{"use strict";n.d(t,{b:()=>d});var l=n(89952),a=n(89858),r=n(69896);class d extends l.B{constructor(){super(...arguments),this.KeyframeResolver=a.K}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;(0,r.S)(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}}},1712:(e,t,n)=>{"use strict";n.d(t,{p:()=>l});const l=e=>Array.isArray(e)},1783:(e,t,n)=>{"use strict";n.d(t,{P:()=>a});var l=n(32358);class a{constructor(){this.members=[]}add(e){(0,l.Kq)(this.members,e),e.scheduleRender()}remove(e){if((0,l.Ai)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:l}=e.options;!1===l&&n.hide()}}exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}},2356:(e,t,n)=>{"use strict";n.d(t,{w:()=>r});var l=n(55269);function a(e,t,n){return"string"==typeof e?e:l.px.transform(t+n*e)}function r(e,t,n){return`${a(t,e.x,e.width)} ${a(n,e.y,e.height)}`}},2694:(e,t,n)=>{"use strict";var l=n(6925);function a(){}function r(){}r.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,r,d){if(d!==l){var V=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw V.name="Invariant Violation",V}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:a};return n.PropTypes=n,n}},2743:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});var l=n(98288),a=n(8452);function r(){if(a.r.current=!0,l.B)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>a.O.current=e.matches;e.addListener(t),t()}else a.O.current=!1}},2784:(e,t,n)=>{"use strict";n.d(t,{$:()=>V});var l=n(92623),a=n(38792),r=n(20063),d=n(6768);const V={pan:{Feature:a.f},drag:{Feature:l.w,ProjectionNode:d.P,MeasureLayout:r.$}}},3044:(e,t,n)=>{"use strict";n.d(t,{X:()=>l});class l{constructor(e){this.isMounted=!1,this.node=e}update(){}}},3557:(e,t,n)=>{"use strict";n.d(t,{k:()=>a});var l=n(69896);function a(e){return Boolean((0,l.S)(e)&&e.add)}},4043:(e,t,n)=>{"use strict";n.d(t,{A:()=>V});var l=n(41533);const a=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,r=1e-7,d=12;function V(e,t,n,V){if(e===t&&n===V)return l.l;return l=>0===l||1===l?l:a(function(e,t,n,l,V){let o,U,c=0;do{U=t+(n-t)/2,o=a(U,l,V)-e,o>0?n=U:t=U}while(Math.abs(o)>r&&++c{"use strict";n.d(t,{d:()=>o});var l=n(22409),a=n(29614),r=n(72443);const d={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},V=r.U.length;function o(e,t,n){let o="",U=!0;for(let c=0;c{"use strict";n.d(t,{J:()=>V});var l=n(51609),a=n(30963),r=n(42159),d=n(6810);const V=(e,t)=>(0,d.Q)(e)?new r.l(t):new a.M(t,{allowProjection:e!==l.Fragment})},4494:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var l=n(67549),a=n(69896);function r(e,t,n){var r;const{style:d}=e,V={};for(const o in d)((0,a.S)(d[o])||t.style&&(0,a.S)(t.style[o])||(0,l.z)(o,e)||void 0!==(null===(r=null==n?void 0:n.getValue(o))||void 0===r?void 0:r.liveStyle))&&(V[o]=d[o]);return V}},4759:(e,t,n)=>{"use strict";n.d(t,{Ri:()=>c,TV:()=>U,XB:()=>d,cn:()=>V,rD:()=>o}),n(1455);var l=n(27723),a=(n(60799),n(43656),n(47143),n(93832),n(34164)),r=n(50856);n(52619),n(74997);var d=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"utm_medium";try{var l=new URL(e);return l.searchParams.set(n,t),l.toString()}catch(t){return console.error("Invalid URL:",t),e}},V=function(){return(0,r.QP)(a.A.apply(void 0,arguments))};void 0===window._srfmSlugAutoLabels&&(window._srfmSlugAutoLabels=new Map),window._srfmSlugAutoLabels;var o=function(e){return{Installed:srfm_admin.plugin_activate_text,Install:(0,l.__)("Install & Activate","sureforms"),Activated:srfm_admin.plugin_activated_text}[e.status]||e.status};function U(e,t,n){var l=new Date,a=24*n*60*60*1e3;l.setTime(l.getTime()+a),document.cookie="".concat(e,"=").concat(t,"; expires=").concat(l.toUTCString(),"; path=/")}function c(e){var t="; ".concat(document.cookie).split("; ".concat(e,"="));return 2===t.length?t.pop().split(";").shift():null}},5252:(e,t,n)=>{"use strict";n.d(t,{u:()=>a});var l=n(33735);const a={test:(0,n(88304).$)("#"),parse:function(e){let t="",n="",l="",a="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),l=e.substring(5,7),a=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),l=e.substring(3,4),a=e.substring(4,5),t+=t,n+=n,l+=l,a+=a),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(l,16),alpha:a?parseInt(a,16)/255:1}},transform:l.B.transform}},5556:(e,t,n)=>{e.exports=n(2694)()},5673:(e,t,n)=>{"use strict";n.d(t,{OU:()=>i,Ql:()=>s,Ww:()=>R,hq:()=>r,o4:()=>o});var l=n(39713),a=n(41630);function r(e,t,n){return n+t*(e-n)}function d(e,t,n,l,a){return void 0!==a&&(e=r(e,a,l)),r(e,n,l)+t}function V(e,t=0,n=1,l,a){e.min=d(e.min,t,n,l,a),e.max=d(e.max,t,n,l,a)}function o(e,{x:t,y:n}){V(e.x,t.translate,t.scale,t.originPoint),V(e.y,n.translate,n.scale,n.originPoint)}const U=.999999999999,c=1.0000000000001;function i(e,t,n,l=!1){const r=n.length;if(!r)return;let d,V;t.x=t.y=1;for(let U=0;UU&&(t.x=1),t.yU&&(t.y=1)}function s(e,t){e.min=e.min+t,e.max=e.max+t}function N(e,t,n,a,r=.5){V(e,t,n,(0,l.k)(e.min,e.max,r),a)}function R(e,t){N(e.x,t.x,t.scaleX,t.scale,t.originX),N(e.y,t.y,t.scaleY,t.scale,t.originY)}},6085:(e,t,n)=>{"use strict";n.d(t,{o:()=>U});var l=n(51609),a=n(38682),r=n(97346),d=n(6810),V=n(83495),o=n(69896);function U(e=!1){return(t,n,U,{latestValues:c},i)=>{const s=((0,d.Q)(t)?V.u:a.b)(n,c,i,t),N=(0,r.J)(n,"string"==typeof t,e),R=t!==l.Fragment?{...N,...s,ref:U}:{},{children:Z}=n,F=(0,l.useMemo)((()=>(0,o.S)(Z)?Z.get():Z),[Z]);return(0,l.createElement)(t,{...R,children:F})}}},6768:(e,t,n)=>{"use strict";n.d(t,{P:()=>d});var l=n(7731),a=n(8656);const r={current:void 0},d=(0,l.u0)({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!r.current){const e=new a.B({});e.mount(window),e.setOptions({layoutScroll:!0}),r.current=e}return r.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)})},6810:(e,t,n)=>{"use strict";n.d(t,{Q:()=>a});var l=n(71882);function a(e){return"string"==typeof e&&!e.includes("-")&&!!(l.J.indexOf(e)>-1||/[A-Z]/u.test(e))}},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7731:(e,t,n)=>{"use strict";n.d(t,{u0:()=>D});var l=n(212),a=n(41533),r=n(62956),d=n(94458),V=n(10104),o=n(49268),U=n(44582),c=n(1247),i=n(72500),s=n(42464),N=n(66528),R=n(39713),Z=n(22606),F=n(14322),m=n(61489),T=n(28091),h=n(5673),W=n(55120),p=n(96787),M=n(54106),Q=n(50843),u=n(1783),k=n(38645),E=n(27882),S=n(75338),b=n(41630),J=n(50775);const z={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},x="undefined"!=typeof window&&void 0!==window.MotionDebug,Y=["","X","Y","Z"],y={visibility:"hidden"},B=1e3;let j=0;function G(e,t,n,l){const{latestValues:a}=t;a[e]&&(n[e]=a[e],t.setStaticValue(e,0),l&&(l[e]=0))}function v(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=(0,d.P)(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:l}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",V.Gt,!(t||l))}const{parent:l}=e;l&&!l.hasCheckedOptimisedAppear&&v(l)}function D({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:a,resetTransform:d}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=j++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,x&&(z.totalNodes=z.resolvedTargetDeltas=z.recalculatedProjection=0),this.nodes.forEach(w),this.nodes.forEach(K),this.nodes.forEach(P),this.nodes.forEach(O),x&&window.MotionDebug.record(z)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;ethis.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=(0,N.c)(l,250),J.w.hasAnimatedSinceResize&&(J.w.hasAnimatedSinceResize=!1,this.nodes.forEach(C))}))}a&&this.root.registerSharedNode(a,this),!1!==this.options.animate&&d&&(a||r)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:a})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const r=this.options.transition||d.getDefaultTransition()||te,{onLayoutAnimationStart:V,onLayoutAnimationComplete:o}=d.getProps(),U=!this.targetLayout||!(0,Q.mG)(this.targetLayout,a)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(U||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...(0,l.rU)(r,"layout"),onPlay:V,onComplete:o};(d.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||C(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=a}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,V.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(A),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&v(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e{const n=t/1e3;var o,s,N,R;_(r.x,e.x,n),_(r.y,e.y,n),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&((0,W.jA)(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),o=this.relativeTarget,s=this.relativeTargetOrigin,N=d,R=n,$(o.x,s.x,N.x,R),$(o.y,s.y,N.y,R),i&&(0,Q.zo)(this.relativeTarget,i)&&(this.isProjectionDirty=!1),i||(i=(0,M.ge)()),(0,T.Hy)(i,this.relativeTarget)),V&&(this.animationValues=a,(0,m.v)(a,l,this.latestValues,n,c,U)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,V.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=V.Gt.update((()=>{J.w.hasAnimatedSinceResize=!0,this.currentAnimation=(0,r.z)(0,B,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(B),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:l,latestValues:a}=e;if(t&&n&&l){if(this!==e&&this.layout&&l&&re(this.options.animationType,this.layout.layoutBox,l.layoutBox)){n=this.target||(0,M.ge)();const t=(0,W.CQ)(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const l=(0,W.CQ)(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+l}(0,T.Hy)(t,n),(0,h.Ww)(t,a),(0,W.vb)(this.projectionDeltaWithTransform,this.layoutCorrected,t,a)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new u.P),this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const l=this.getStack();l&&l.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const l={};n.z&&G("z",e,l,this.animationValues);for(let t=0;t{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(H),this.root.sharedNodes.clear()}}}function g(e){e.updateLayout()}function X(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:l}=e.layout,{animationType:a}=e.options,r=n.source!==e.layout.source;"size"===a?(0,S.X)((e=>{const l=r?n.measuredBox[e]:n.layoutBox[e],a=(0,W.CQ)(l);l.min=t[e].min,l.max=l.min+a})):re(a,n.layoutBox,t)&&(0,S.X)((l=>{const a=r?n.measuredBox[l]:n.layoutBox[l],d=(0,W.CQ)(t[l]);a.max=a.min+d,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[l].max=e.relativeTarget[l].min+d)}));const d=(0,M.xU)();(0,W.vb)(d,t,n.layoutBox);const V=(0,M.xU)();r?(0,W.vb)(V,e.applyTransform(l,!0),n.measuredBox):(0,W.vb)(V,t,n.layoutBox);const o=!(0,Q.XY)(d);let U=!1;if(!e.resumeFrom){const l=e.getClosestProjectingParent();if(l&&!l.resumeFrom){const{snapshot:a,layout:r}=l;if(a&&r){const d=(0,M.ge)();(0,W.jA)(d,n.layoutBox,a.layoutBox);const V=(0,M.ge)();(0,W.jA)(V,t,r.layoutBox),(0,Q.mG)(d,V)||(U=!0),l.options.layoutRoot&&(e.relativeTarget=V,e.relativeTargetOrigin=d,e.relativeParent=l)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:V,layoutDelta:d,hasLayoutChanged:o,hasRelativeTargetChanged:U})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function w(e){x&&z.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function O(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function f(e){e.clearSnapshot()}function H(e){e.clearMeasurements()}function I(e){e.isLayoutDirty=!1}function L(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function C(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function K(e){e.resolveTargetDelta()}function P(e){e.calcProjection()}function A(e){e.resetSkewAndRotation()}function q(e){e.removeLeadSnapshot()}function _(e,t,n){e.translate=(0,R.k)(t.translate,0,n),e.scale=(0,R.k)(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function $(e,t,n,l){e.min=(0,R.k)(t.min,n.min,l),e.max=(0,R.k)(t.max,n.max,l)}function ee(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const te={duration:.45,ease:[.4,0,.1,1]},ne=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),le=ne("applewebkit/")&&!ne("chrome/")?Math.round:a.l;function ae(e){e.min=le(e.min),e.max=le(e.max)}function re(e,t,n){return"position"===e||"preserve-aspect"===e&&!(0,W.HQ)((0,Q.cH)(t),(0,Q.cH)(n),.2)}function de(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}},7916:(e,t,n)=>{"use strict";n.d(t,{V:()=>a});var l=n(24072);function a(e,t){const n=(0,l.K)(e),a=new AbortController;return[n,{passive:!0,...t,signal:a.signal},()=>a.abort()]}},8104:(e,t,n)=>{"use strict";n.d(t,{$:()=>a,V:()=>r});var l=n(41533);let a=l.l,r=l.l},8452:(e,t,n)=>{"use strict";n.d(t,{O:()=>l,r:()=>a});const l={current:null},a={current:!1}},8502:(e,t,n)=>{"use strict";n.d(t,{e:()=>l});const l={linearEasing:void 0}},8656:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});var l=n(7731),a=n(63998);const r=(0,l.u0)({attachResizeListener:(e,t)=>(0,a.k)(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0})},9400:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});const l=(0,n(39989).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},10104:(e,t,n)=>{"use strict";n.d(t,{Gt:()=>r,PP:()=>o,WG:()=>d,uv:()=>V});var l=n(41533),a=n(63290);const{schedule:r,cancel:d,state:V,steps:o}=(0,a.I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:l.l,!0)},10308:function(e,t,n){"use strict";var l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){void 0===n&&(n={});for(var l=[],a="function"==typeof n.replace,U=n.transform||d.returnFirstArg,c=n.library||V,i=c.cloneElement,s=c.createElement,N=c.isValidElement,R=t.length,Z=0;Z1&&(m=i(m,{key:m.key||Z})),l.push(U(m,F,Z));continue}}if("text"!==F.type){var T=F,h={};o(T)?((0,d.setStyleProp)(T.attribs.style,T.attribs),h=T.attribs):T.attribs&&(h=(0,r.default)(T.attribs,T.name));var W=void 0;switch(F.type){case"script":case"style":F.children[0]&&(h.dangerouslySetInnerHTML={__html:F.children[0].data});break;case"tag":"textarea"===F.name&&F.children[0]?h.defaultValue=F.children[0].data:F.children&&F.children.length&&(W=e(F.children,n));break;default:continue}R>1&&(h.key=Z),l.push(U(s(F.name,h,W),F,Z))}else{var p=!F.data.trim().length;if(p&&F.parent&&!(0,d.canTextBeChildOfNode)(F.parent))continue;if(n.trim&&p)continue;l.push(U(F.data,F,Z))}}return 1===l.length?l[0]:l};var a=n(51609),r=l(n(20840)),d=n(74958),V={cloneElement:a.cloneElement,createElement:a.createElement,isValidElement:a.isValidElement};function o(e){return d.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,d.isCustomComponent)(e.name,e.attribs)}},10309:(e,t,n)=>{"use strict";n.d(t,{b:()=>a});var l=n(44768);const a=e=>(e*=2)<1?.5*(0,l.dg)(e):.5*(2-Math.pow(2,-10*(e-1)))},12248:(e,t,n)=>{"use strict";n.d(t,{n:()=>l});const l=(0,n(99835).J)((()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0}),"linearEasing")},12281:(e,t,n)=>{"use strict";n.d(t,{w:()=>l});const l=(e,t)=>!!t&&(e===t||l(e,t.parentElement))},12301:(e,t,n)=>{"use strict";n.d(t,{Ne:()=>R,QX:()=>N,Yu:()=>s,Zq:()=>V,_c:()=>U,iT:()=>i,my:()=>Z});var l=n(86896),a=n(55120),r=n(42464),d=n(39713);function V(e,{min:t,max:n},l){return void 0!==t&&en&&(e=l?(0,d.k)(n,e,l.max):Math.min(e,n)),e}function o(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function U(e,{top:t,left:n,bottom:l,right:a}){return{x:o(e.x,n,a),y:o(e.y,t,l)}}function c(e,t){let n=t.min-e.min,l=t.max-e.max;return t.max-t.mind?n=(0,l.q)(t.min,t.max-d,e.min):d>V&&(n=(0,l.q)(e.min,e.max-V,t.min)),(0,r.q)(0,1,n)}function N(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}const R=.35;function Z(e=R){return!1===e?e=0:!0===e&&(e=R),{x:F(e,"left","right"),y:F(e,"top","bottom")}}function F(e,t,n){return{min:m(e,t),max:m(e,n)}}function m(e,t){return"number"==typeof e?e:e[t]||0}},12714:(e,t,n)=>{"use strict";n.d(t,{A:()=>we});var l=n(86087),a=n(4759),r=n(27723),d=["className"];function V(){return V=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0;--a){var r=this.tryEntries[a],d=r[4],V=this.prev,o=r[1],U=r[2];if(-1===r[0])return l("end"),!1;if(!o&&!U)throw Error("try statement without catch or finally");if(null!=r[0]&&r[0]<=V){if(V=0;--n){var l=this.tryEntries[n];if(l[0]>-1&&l[0]<=this.prev&&this.prev=0;--t){var n=this.tryEntries[t];if(n[2]===e)return this.complete(n[4],n[3]),k(n),N}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n[0]===e){var l=n[4];if("throw"===l.type){var a=l.arg;k(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,l){return this.delegate={i:S(t),r:n,n:l},"next"===this.method&&(this.arg=e),N}},t}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,l=Array(t);n0&&a[a.length-1])||6!==V[0]&&2!==V[0])){r=0;continue}if(3===V[0]&&(!a||V[1]>a[0]&&V[1]\n\t\n\t\t\n\t\n\t',viewAll:{link:"",label:"View All"},triggerButton:{label:"",icon:'',beforeBtn:"",afterBtn:"",className:"",onClick:function(){}},notification:{setLastPostUnixTime:null,getLastPostUnixTime:null},flyout:{title:"What's New?",innerContent:{titleLink:!0,additionalClasses:[]},excerpt:{wordLimit:500,moreSymbol:"…",readMore:{label:"Read More",className:""}},className:"",closeOnEsc:!0,closeOnOverlayClick:!0,closeBtnIcon:'',formatDate:null,onOpen:function(){},onClose:function(){},onReady:function(){}}},M=function(){function e(e){this.rssFeedURLs=[],this.lastPostUnixTime=0,this.multiLastPostUnixTime={},this.notificationsCount=0,this.multiNotificationCount={},this.hasNewFeeds=!1,this.multiHasNewFeeds={},this.validateArgs(e),this.parseDefaults(e),this.setElement(),this.getElement()?(this.setID(),this.setRSSFeedURLs(),Q.setInstanceID(this.getID()),this.RSS_Fetch_Instance=new u(this),this.RSS_View_Instance=new k(this),this.setNotificationsCount(),this.setTriggers()):console.warn("WNR: Cannot find element with",this.getArgs().selector)}return e.prototype.validateArgs=function(e){["rssFeedURL","selector","uniqueKey"].forEach((function(t){if(!e[t])throw new Error("".concat(t," is a required argument. It cannot be empty or undefined."));if("rssFeedURL"===t){var n=e[t];Array.isArray(n)&&n.forEach((function(e){if(!(null==e?void 0:e.key))throw new Error('The parameter "key" is required for "'.concat(t,'" parameter in multi-feed mode.'));if(e.key.includes(" "))throw new Error('The parameter "key" cannot have spaces for "'.concat(t,'" parameter in multi-feed mode. Ref Key: "').concat(e.key,'"'))}))}}))},e.prototype.parseDefaults=function(e){var t,n;this.args=T(T(T({},p),e),{viewAll:T(T({},p.viewAll),null==e?void 0:e.viewAll),triggerButton:T(T({},p.triggerButton),null==e?void 0:e.triggerButton),flyout:T(T(T({},p.flyout),null==e?void 0:e.flyout),{innerContent:T(T({},p.flyout.innerContent),null===(t=null==e?void 0:e.flyout)||void 0===t?void 0:t.innerContent),excerpt:T(T({},p.flyout.excerpt),null===(n=null==e?void 0:e.flyout)||void 0===n?void 0:n.excerpt)})})},e.prototype.getArgs=function(){return this.args},e.prototype.setElement=function(){this.element=document.querySelector(this.args.selector)},e.prototype.getElement=function(){return this.element},e.prototype.setID=function(){var e=[this.getArgs().selector,this.getArgs().uniqueKey],t=this.getArgs().rssFeedURL;Array.isArray(t)?t.forEach((function(t){e.push(t.key)})):e.push(t),this.ID=btoa(e.join("-")).slice(-12).replace(/=/g,"")+"-"+this.getArgs().uniqueKey},e.prototype.isMultiFeedRSS=function(){return"string"!=typeof this.getArgs().rssFeedURL},e.prototype.setRSSFeedURLs=function(){var e=this,t=this.getArgs().rssFeedURL;this.isMultiFeedRSS()?Array.isArray(t)&&t.forEach((function(t){e.rssFeedURLs.push(t)})):this.rssFeedURLs.push({key:null,label:"",url:t.toString()})},e.prototype.getRSSFeedURLs=function(){return this.rssFeedURLs},e.prototype.getID=function(){return this.ID},e.prototype.setNotificationsCount=function(){return h(this,void 0,void 0,(function(){var e=this;return W(this,(function(t){switch(t.label){case 0:return[4,Promise.all(this.getRSSFeedURLs().map((function(t){return h(e,[t],void 0,(function(e){var t,n=e.key;return W(this,(function(e){switch(e.label){case 0:return t=0,"function"!=typeof this.getArgs().notification.getLastPostUnixTime?[3,2]:[4,this.getArgs().notification.getLastPostUnixTime(n,this)];case 1:return t=e.sent(),[3,3];case 2:t=Q.getLastPostUnixTime(n),e.label=3;case 3:return this.isMultiFeedRSS()?this.multiLastPostUnixTime[n]=+t:this.lastPostUnixTime=+t,[2]}}))}))})))];case 1:return t.sent(),[4,this.RSS_Fetch_Instance.fetchData().then((function(t){Object.keys(t).forEach((function(n){var l=t[n];if(l.length){e.multiNotificationCount[n]=0;var a=+l[0].date,r=e.isMultiFeedRSS()?e.multiLastPostUnixTime[n]:e.lastPostUnixTime;a>r&&(l.forEach((function(t){t.date>r&&(e.isMultiFeedRSS()&&(e.multiNotificationCount[n]++,e.multiHasNewFeeds[n]=!0),e.notificationsCount++,e.hasNewFeeds=!0)})),e.RSS_View_Instance.setNotification(e.notificationsCount))}}))})).catch(console.error)];case 2:return t.sent(),[2]}}))}))},e.prototype.getNotificationsCount=function(){return this.notificationsCount},e.prototype.setTriggers=function(){var e=this,t=document.getElementById(this.RSS_View_Instance.getTriggerButtonID()),n=document.getElementById(this.RSS_View_Instance.getFlyoutID()),l=n.querySelector(".whats-new-rss-flyout-inner-content"),a=document.getElementById(this.RSS_View_Instance.getFlyoutCloseBtnID()),r=document.getElementById(this.RSS_View_Instance.getFlyoutMultiFeedNavID()),d=function(t){e.RSS_Fetch_Instance.fetchData().then((function(a){l.innerHTML="";var r=a[t];if(r.length){var d=+r[0].date,V=e.isMultiFeedRSS()?e.multiLastPostUnixTime[t]:e.lastPostUnixTime;r.forEach((function(n){var a=!!V&&n.date>V,r=e.getArgs().flyout.innerContent.titleLink?'\n\t\t\t\t\t\t\t\t

').concat(n.title,"

\n\t\t\t\t\t\t\t
"):"

".concat(n.title,"

"),d='\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t

'.concat(e.RSS_View_Instance.formatDate(new Date(n.date)),"

\n\t\t\t\t\t\t\t\t\t").concat(r,"\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t").concat(e.RSS_View_Instance.createExcerpt(n.description,n.postLink,e.getArgs().flyout.excerpt),"\n\t\t\t\t\t\t\t\t").concat(e.RSS_View_Instance.listChildrenPosts(n.children),"\n\t\t\t\t\t\t\t"),o=e.getArgs().flyout.innerContent.additionalClasses;t&&o.push("`inner-content-item-feed-key-${key}`"),l.innerHTML+=e.RSS_View_Instance.innerContentWrapper(d,a,o.join(" "))})),e.getArgs().viewAll.link&&(l.innerHTML+=e.RSS_View_Instance.innerContentWrapper('\n\t\t\t\t\t\t\t').concat(e.getArgs().viewAll.label,"\n\t\t\t\t\t\t\t"))),e.RSS_View_Instance.setIsLoading(!1),n.classList.add("ready"),e.getArgs().flyout.onReady(e),n.focus(),e.isMultiFeedRSS()||(e.lastPostUnixTime=d,e.hasNewFeeds&&("function"==typeof e.getArgs().notification.setLastPostUnixTime?e.getArgs().notification.setLastPostUnixTime(d,t):Q.setLastPostUnixTime(d,t)))}})).catch(console.error)};t.addEventListener("click",(function(t){if(t.preventDefault(),e.getArgs().triggerButton.onClick(e),e.RSS_View_Instance.setIsLoading(!0),n.classList.remove("closed"),n.classList.add("open"),n.removeAttribute("style"),document.body.classList.add("whats-new-rss-is-active"),e.getArgs().flyout.onOpen(e),e.isMultiFeedRSS()){var l=r.querySelectorAll("button");l.forEach((function(t){e.RSS_View_Instance.setMultiFeedTabNotificationCount(t.dataset.feedKey,e.multiNotificationCount[t.dataset.feedKey]),t.addEventListener("click",(function(n){n.preventDefault();var a=t.dataset.feedKey;e.multiNotificationCount[a]=0,e.RSS_Fetch_Instance.fetchData().then((function(t){var n=t[a][0].date;e.multiLastPostUnixTime[a]=n,!0===e.multiHasNewFeeds[a]&&("function"==typeof e.getArgs().notification.setLastPostUnixTime?e.getArgs().notification.setLastPostUnixTime(n,a):Q.setLastPostUnixTime(n,a)),e.multiHasNewFeeds[a]=!1})).catch(console.error),l.forEach((function(e){e.classList.remove("selected");var t=e.dataset.feedKey,n=".inner-content-item-feed-key-".concat(t);document.querySelectorAll(n).forEach((function(e){a!==t?e.classList.add("hidden"):e.classList.remove("hidden")}))})),t.classList.add("selected"),d(a)}))})),l[0].click()}else d(null)}));var V=function(){n.classList.add("closed"),n.classList.remove("open"),n.classList.remove("ready"),document.body.classList.remove("whats-new-rss-is-active"),e.isMultiFeedRSS()?e.RSS_View_Instance.setNotification(Object.values(e.multiNotificationCount).filter(Boolean).length):(e.hasNewFeeds=!1,e.RSS_View_Instance.setNotification(!1)),l.innerHTML="",e.getArgs().flyout.onClose(e),t.focus()};this.getArgs().flyout.closeOnEsc&&document.addEventListener("keydown",(function(e){"Escape"===e.key&&n.classList.contains("open")&&V()})),this.getArgs().flyout.closeOnOverlayClick&&n.querySelector(".whats-new-rss-flyout-overlay").addEventListener("click",V),a.addEventListener("click",V)},e}(),Q=function(){function e(){}return e.setInstanceID=function(e){this.instanceID||(this.instanceID=e)},e.prefixer=function(e,t){if(void 0===t&&(t=""),!this.instanceID)throw new Error("Instance ID not set.");return t?"".concat(this.keys[e],"-").concat(this.instanceID,"-").concat(t):"".concat(this.keys[e],"-").concat(this.instanceID)},e._setDataExpiry=function(e){void 0===e&&(e="");var t=(new Date).getTime()+864e5;sessionStorage.setItem(this.prefixer("SESSION_DATA_EXPIRY",e),JSON.stringify(t))},e._isDataExpired=function(e){void 0===e&&(e="");var t=this.prefixer("SESSION_DATA_EXPIRY",e),n=window.sessionStorage.getItem(t);if(!n)return!0;var l=JSON.parse(n);return(new Date).getTime()>l&&(window.sessionStorage.removeItem(t),!0)},e.setSessionData=function(e,t){return void 0===t&&(t=""),this._setDataExpiry(t),window.sessionStorage.setItem(this.prefixer("SESSION",t),e)},e.getSessionData=function(e){return void 0===e&&(e=""),this._isDataExpired(e)?"{}":window.sessionStorage.getItem(this.prefixer("SESSION",e))},e.setLastPostUnixTime=function(e,t){return void 0===t&&(t=""),window.localStorage.setItem(this.prefixer("LAST_LATEST_POST",t),e.toString())},e.getLastPostUnixTime=function(e){return void 0===e&&(e=""),+window.localStorage.getItem(this.prefixer("LAST_LATEST_POST",e))},e.keys={SESSION_DATA_EXPIRY:"whats-new-cache-expiry",LAST_LATEST_POST:"whats-new-last-unixtime",SESSION:"whats-new-cache"},e}(),u=function(){function e(e){var t=this;this.data={},this.RSS=e,this.RSS.getRSSFeedURLs().forEach((function(e){var n=JSON.parse(Q.getSessionData(e.key));n&&n.length&&(t.data[e.key]=n)}))}return e.prototype.fetchData=function(){return h(this,void 0,void 0,(function(){var e,t=this;return W(this,(function(n){switch(n.label){case 0:return Object.keys(this.data).length?[2,this.data]:(e=this.RSS.getRSSFeedURLs().map((function(e){return h(t,void 0,void 0,(function(){var t,n,l=this;return W(this,(function(a){switch(a.label){case 0:return this.data[e.key]=[],[4,fetch(e.url)];case 1:return[4,a.sent().text()];case 2:return t=(t=a.sent()).replace(/»/g,"&raquo;"),n=new DOMParser,n.parseFromString(t,"text/xml").querySelectorAll("item").forEach((function(t){var n,a=t.querySelector("title").textContent,r=t.querySelector("link").textContent,d=t.querySelector("content\\:encoded, encoded"),V=d?d.textContent:"",o=t.querySelector("pubDate").innerHTML;l.data[e.key].push({title:a,date:o?+new Date(o):null,postLink:r,description:V.replace(/])*)>/g,'').replace(/

\s*<\/p>/g,""),children:JSON.parse((null===(n=t.querySelector("children"))||void 0===n?void 0:n.innerHTML)||"{}")})})),Q.setSessionData(JSON.stringify(this.data[e.key]),e.key),[2]}}))}))})),[4,Promise.all(e)]);case 1:return n.sent(),[2,this.data]}}))}))},e}(),k=function(){function e(e){this.RSS=e,this.createTriggerButton(),this.createFlyOut()}return e.prototype.getTriggerButtonID=function(){return"whats-new-rss-btn-".concat(this.RSS.getID())},e.prototype.getFlyoutID=function(){return"whats-new-rss-flyout-".concat(this.RSS.getID())},e.prototype.getFlyoutCloseBtnID=function(){return"whats-new-rss-flyout-close-".concat(this.RSS.getID())},e.prototype.getFlyoutMultiFeedNavID=function(){return"whats-new-rss-flyout-multi-feed-nav-".concat(this.RSS.getID())},e.prototype.setIsLoading=function(e){void 0===e&&(e=!1);var t=document.getElementById(this.getFlyoutID());e?t.classList.add("is-loading"):t.classList.remove("is-loading")},e.prototype.setNotification=function(e){var t=document.querySelector("#".concat(this.getTriggerButtonID()," .whats-new-rss-notification-badge"));e?(this.RSS.isMultiFeedRSS()?(t.innerHTML="",t.classList.add("is-multi-feed")):t.innerHTML=e>9?"9+":e.toString(),t.classList.remove("hide")):t.classList.add("hide")},e.prototype.createTriggerButton=function(){var e,t=this.RSS.getArgs().triggerButton.label;e=t?"\n\t\t\t".concat(this.RSS.getArgs().triggerButton.beforeBtn,'\n\t\t\t\n\t\t\t\t

\n\t\t\t\t').concat(t,"\n\t\t\t\n\t\t\t").concat(this.RSS.getArgs().triggerButton.afterBtn,"\n\t\t\t"):"\n\t\t\t".concat(this.RSS.getArgs().triggerButton.beforeBtn,'\n\t\t\t\n\t\t\t\t').concat(this.RSS.getArgs().triggerButton.icon,'\n\t\t\t\t
0
\n\t\t\t
\n\t\t\t').concat(this.RSS.getArgs().triggerButton.afterBtn,"\n\t\t\t"),this.RSS.getElement().innerHTML+=e},e.prototype.createFlyOut=function(){var e=["whats-new-rss-flyout","closed"];this.RSS.getArgs().flyout.className&&e.push(this.RSS.getArgs().flyout.className);var t=[];this.RSS.isMultiFeedRSS()&&(t.push('"));var n=document.createElement("div");n.setAttribute("id",this.getFlyoutID()),n.setAttribute("class",e.join(" ")),n.setAttribute("role","dialog"),n.setAttribute("style","visibility: hidden;"),n.innerHTML='\n\t\t
\n\n\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\t

'.concat(this.RSS.getArgs().flyout.title,'

\n\n\t\t\t\t\t\n\t\t\t\t\t').concat(this.RSS.getArgs().loaderIcon,'\n\t\t\t\t\t\n\t\t\t\t
\n\n\t\t\t\t\n\t\t\t
\n\n\t\t\t").concat(t.join(""),'\n\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\n\t\t
\n\n\t\t
\n\t\t'),document.body.appendChild(n)},e.prototype.setMultiFeedTabNotificationCount=function(e,t){void 0===t&&(t=0);var n=document.querySelector("#".concat(this.getFlyoutMultiFeedNavID(),' button[data-feed-key="').concat(e,'"]'));if(n){var l=n.querySelector(".new-notification-count");if(t){var a=t>9?"9+":t;l.innerHTML=a.toString()}else l.innerHTML=""}},e.prototype.innerContentWrapper=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n="");var l=["whats-new-rss-flyout-inner-content-item"];return t&&l.push("rss-new-post"),n&&l.push(n),'\n\t\t
\n\t\t\t').concat(t?'New ✨':"","\n\t\t\t").concat(e,"\n\t\t
\n\t\t")},e.prototype.createExcerpt=function(e,t,n){var l=n.wordLimit,a=n.moreSymbol,r=n.readMore;if(!l)return e;var d=e.replace(/<[^>]*>/g,"").split(/\s+/),V=d.slice(0,l).join(" ");return a&&(V+=a),l>d.length?e:t&&(null==r?void 0:r.label)?"

".concat(V,' ').concat(r.label,"

"):"

".concat(V,"

")},e.prototype.listChildrenPosts=function(e){var t=this,n=Object.values(e);if(!n.length)return"";var l=document.createElement("details"),a=document.createElement("summary"),r=document.createElement("div");return n.forEach((function(e){var n=(new DOMParser).parseFromString(e.post_content,"text/html"),l=document.createElement("div");l.classList.add("sub-version-item"),l.innerHTML='\n\t\t\t\t
\n\t\t\t\t\t

'.concat(e.post_title,'

\n\t\t\t\t\t').concat(t.formatDate(new Date(e.post_date)),'\n\t\t\t\t
\n\t\t\t\t
').concat(n.documentElement.textContent,"
\n\t\t\t"),r.appendChild(l)})),a.innerHTML='

See More

See Less

',l.appendChild(a),l.appendChild(r),r.classList.add("sub-version-items-wrapper"),l.classList.add("whats-new-rss-sub-version-details"),l.outerHTML},e.prototype.formatDate=function(e){if("function"==typeof this.RSS.getArgs().flyout.formatDate)return this.RSS.getArgs().flyout.formatDate(e);var t=new Date,n=e.getTime(),l=t.getTime()-n,a=36e5,r=24*a,d=7*r,V=30*r;if(l<6e4)return"Just now";if(l1?"s":""," ago")}if(l1?"s":""," ago")}if(l1?"s":""," ago")}if(l1?"s":""," ago")}var s=Math.floor(l/V);return"".concat(s," month").concat(s>1?"s":""," ago")},e}();function E(){return S.apply(this,arguments)}function S(){return(S=m(s().mark((function e(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",'.whats-new-rss-is-active{overflow:hidden}.whats-new-rss-trigger-button{display:flex;align-items:center;position:relative;width:auto;padding:5px;cursor:pointer}.whats-new-rss-trigger-button.has-label{align-items:end;gap:10px}.whats-new-rss-trigger-button.has-label .icon-badge{position:relative;line-height:1}.whats-new-rss-trigger-button.has-label .icon-badge .whats-new-rss-notification-badge{top:-12px;right:-10px}.whats-new-rss-trigger-button .whats-new-rss-notification-badge{position:absolute;top:-8px;right:-5px;width:20px;font-size:10px;line-height:20px;text-align:center;border-radius:10px;color:#fff;background:red;transition:transform .2s ease-in-out}.whats-new-rss-trigger-button .whats-new-rss-notification-badge.is-multi-feed{top:-2px;right:-2px;font-size:0;width:10px;height:10px}.whats-new-rss-trigger-button .whats-new-rss-notification-badge.hide{display:none}.whats-new-rss-trigger-button:hover .whats-new-rss-notification-badge{transform:scale(1.2)}.whats-new-rss-flyout{position:fixed;top:0;right:0;bottom:0;width:100%;z-index:99999;transition:visibility .3s ease-in-out;font-family:Arial,Helvetica,sans-serif}.whats-new-rss-flyout .lightbox-trigger,.whats-new-rss-flyout.hidden{display:none}.whats-new-rss-flyout.is-loading .whats-new-rss-flyout-inner-header__loading-icon{display:block;margin:auto}.whats-new-rss-flyout.is-loading .whats-new-rss-flyout-inner-header__loading-icon svg{display:block;background:0 0;width:25px;height:25px}.whats-new-rss-flyout .whats-new-rss-flyout-contents{position:fixed;display:flex;right:0;width:30%;height:100%;flex-direction:column;background-color:#fff;transition:transform .3s ease-in-out;z-index:9999}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px 16px 24px;border-bottom:1px solid #ccc}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header button{border:none;background:0 0;font-size:30px;cursor:pointer;color:#94a3b8;padding:0;margin:0;box-shadow:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header .whats-new-rss-flyout-inner-header__title-icon-wrapper{display:flex;gap:10px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header .whats-new-rss-flyout-inner-header__title-icon-wrapper h3{margin:0;padding:0;color:#0f172a;font-weight:600;font-size:16px;line-height:24px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav{display:flex;padding:0 30px;border-bottom:1px solid #ccc;gap:2em;overflow:auto;white-space:nowrap}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button{position:relative;background:0 0;color:inherit;padding:15px 0;border-bottom:2px solid transparent}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button:focus,.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button:hover{border-color:inherit}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button.selected{border-color:#5d5d5d}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button .new-notification-count{position:absolute;top:0;right:-10px;width:20px;font-size:10px;line-height:20px;text-align:center;border-radius:10px;color:#fff;background:red}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content{flex:1;overflow-y:auto}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .skeleton-container{margin:30px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item{border-bottom:1px solid #d8dfe9;padding:30px 24px;color:#475569;font-weight:400;font-size:14px;line-height:20px;display:flex;flex-direction:column;gap:13px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item>*{margin:0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item.skeleton-row{height:25vh;margin:40px 0;background:linear-gradient(90deg,#eee 25%,#ddd 50%,#eee 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item.rss-new-post{position:relative}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item.rss-new-post .new-post-badge{background:#ff3d3d;border-radius:5px;position:absolute;right:45px;padding:0 5px;color:#fff}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item .rss-content-header{display:flex;flex-direction:column;gap:15px;padding:0 0 8px 0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item .rss-content-header p{color:#94a3b8;margin:0;padding:0;font-weight:600;font-size:14px;line-height:16px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item .rss-content-header h2{margin:0;color:#0f172a;font-weight:700;line-height:28px;font-size:20px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h2{font-weight:700;font-size:18px;line-height:24px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h3{font-weight:700;font-size:16px;line-height:22px;margin-top:12px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h4{font-weight:700;font-size:15px;line-height:20px;margin-top:12px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h5{font-weight:700;font-size:14px;line-height:18px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h6{font-weight:700;font-size:13px;line-height:16px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item p{padding:0;font-size:14px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item p:last-child{margin-bottom:0;padding-bottom:0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item a{color:#1170ff;text-decoration:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item figure{margin:10px 0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item figure.wp-block-embed.is-type-video{position:relative;width:100%;height:0;padding-bottom:56.25%}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item figure iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item img{box-sizing:border-box;height:auto;max-width:100%;vertical-align:bottom}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item video{vertical-align:middle;width:100%}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item strong{font-weight:600}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ol,.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ul{padding-inline-start:20px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ol li,.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ul li{margin-bottom:5px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ul{list-style-type:disc}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ol{list-style-type:decimal}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details{line-height:20px;font-size:.9em;margin:10px 0;background:#f9fafb}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary{display:flex;justify-content:space-between;cursor:pointer;padding:20px 15px;height:1em;line-height:20px;font-weight:800}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary::after{content:"⌃";font-size:20px;transform:rotateX(180deg);font-weight:800}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary .text-see-more{display:block}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary .text-see-less{display:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary{border-bottom:1px solid #e2e8f0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary::after{transform:rotateX(45deg)}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary .text-see-more{display:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary .text-see-less{display:block}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details .sub-version-item{position:relative;padding:1em;border-bottom:1px solid #e2e8f0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details .sub-version-item .sub-version-header{display:flex;justify-content:space-between}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details .sub-version-item .sub-version-content{margin-top:1em}.whats-new-rss-flyout .whats-new-rss-flyout-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.5);transition:all .3s ease-in-out}.whats-new-rss-flyout.closed{visibility:hidden}.whats-new-rss-flyout.closed .whats-new-rss-flyout-overlay{opacity:0;visibility:hidden}.whats-new-rss-flyout.closed .whats-new-rss-flyout-contents{transform:translateX(100%)}.whats-new-rss-flyout .whats-new-rss-flyout-inner-header__loading-icon{display:none}@keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}@media screen and (max-width:1024px){.whats-new-rss-flyout .whats-new-rss-flyout-contents{width:40%}}@media screen and (max-width:768px){.whats-new-rss-flyout .whats-new-rss-flyout-contents{width:85%}}');case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(){return(b=m(s().mark((function e(){var t,n;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t="whats-new-rss-styles",document.getElementById(t)){e.next=8;break}return(n=document.createElement("style")).id=t,e.next=6,E();case 6:n.innerHTML=e.sent,document.head.appendChild(n);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}const J=function(e){var t,n=e.selector,l=function(e,t){if(null==e)return{};var n,l,a=function(e,t){if(null==e)return{};var n={};for(var l in e)if({}.hasOwnProperty.call(e,l)){if(-1!==t.indexOf(l))continue;n[l]=e[l]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(l=0;l(0,z.jsx)("div",{className:(0,x.cn)("w-full box-border flex items-center justify-between bg-background-primary p-5 min-h-16",(0,x.HK)(t),n),...l,children:e});Y.displayName="Topbar";const y=({gap:e="sm",children:t,className:n})=>(0,z.jsx)("div",{className:(0,x.cn)("flex items-center",(0,x.HK)(e),n),children:t});y.displayName="Topbar.Left";const B=({gap:e="md",children:t,align:n="center",className:l})=>{const a={left:"justify-start",center:"justify-center",right:"justify-end"}[n];return(0,z.jsx)("div",{className:(0,x.cn)("flex items-center grow",(0,x.HK)(e),a,l),children:t})};B.displayName="Topbar.Middle";const j=({gap:e="sm",children:t,className:n})=>(0,z.jsx)("div",{className:(0,x.cn)("flex items-center",(0,x.HK)(e),n),children:t});j.displayName="Topbar.Right";const G=({children:e,className:t})=>(0,z.jsx)("div",{className:(0,x.cn)("flex items-center [&>svg]:block h-full",t),children:e});G.displayName="Topbar.Item",Y.Left=y,Y.Middle=B,Y.Right=j,Y.Item=G;var v=n(88029),D=n(94864);const g=(0,U.createContext)({}),X=g.Provider,w=()=>(0,U.useContext)(g),O=(e,t,n)=>{if(!e||!t)return{open:()=>({}),closed:()=>({})};const l=e?.getBoundingClientRect(),a=t?.getBoundingClientRect(),r=n?l?.x-a?.x+l?.width/2:a?.width-(a?.right-l?.x)+l?.width/2,d=l?.y-a?.y+l?.height/2;return{open:(e=1e3)=>({clipPath:`circle(${2*e+200}px at ${r}px ${d}px)`,background:"rgb(255, 255, 255, 1)",transition:{type:"spring",stiffness:20,restDelta:2,background:{duration:0}}}),closed:{clipPath:`circle(${l?.width/2}px at ${r}px ${d}px)`,background:"rgb(255, 255, 255, 0)",transition:{delay:.5,type:"spring",stiffness:400,damping:40,background:{duration:0,delay:1e3}}}}},f=e=>(0,z.jsx)(D.P.path,{className:"stroke-icon-primary",fill:"transparent",strokeWidth:"3",strokeLinecap:"round",...e}),H=({className:e})=>{const{toggleOpen:t,setTriggerRef:n}=w();return(0,z.jsx)(v.A,{ref:n,className:(0,x.cn)("relative z-[1] rounded-full hover:shadow-sm focus:[box-shadow:none] pointer-events-auto bg-background-primary",e),variant:"ghost",size:"xs",onClick:t,"aria-label":"Toggle menu",icon:(0,z.jsxs)(D.P.svg,{className:"shrink-0 stroke-icon-primary",width:"23",height:"23",variants:{open:{viewBox:"0 0 20 20"},closed:{viewBox:"0 0 23 18"}},children:[(0,z.jsx)(f,{variants:{closed:{d:"M 2 2.5 L 20 2.5"},open:{d:"M 3 16.5 L 17 2.5"}}}),(0,z.jsx)(f,{d:"M 2 9.423 L 20 9.423",variants:{closed:{opacity:1},open:{opacity:0}},transition:{duration:.1}}),(0,z.jsx)(f,{variants:{closed:{d:"M 2 16.346 L 20 16.346"},open:{d:"M 3 2.5 L 17 16.346"}}})]})})},I={open:{transition:{staggerChildren:.07,delayChildren:.2}},closed:{transition:{staggerChildren:.05,staggerDirection:-1}}},L=({tag:e="a",active:t,icon:n,iconPosition:l="left",className:a,children:r,...d})=>{let V=null,o=null;const c=n&&(0,U.isValidElement)(n)?(0,U.cloneElement)(n,{key:"left-icon",className:(0,x.cn)("size-5",t?"text-brand-800":"text-icon-secondary",n.props?.className??"")}):null;switch(l){case"left":V=c;break;case"right":o=c;break;default:V=null,o=null}return(0,z.jsx)(K,{children:(0,z.jsxs)(e,{className:(0,x.cn)("w-full no-underline hover:no-underline text-text-primary text-lg font-medium flex items-center gap-2 px-2.5 py-1.5 rounded-md hover:bg-background-secondary hover:text-text-primary focus:outline-none focus:shadow-none transition ease-in-out duration-150",t?"text-text-primary bg-background-secondary":"text-text-secondary",a),...d,children:[!!V&&V,(0,z.jsx)("span",{className:"contents",children:r}),!!o&&o]})})},C={open:{y:0,opacity:1,transition:{y:{stiffness:1e3,velocity:-100}}},closed:{y:50,opacity:0,transition:{y:{stiffness:1e3}}}},K=({children:e})=>(0,z.jsx)(D.P.li,{className:"m-0 p-0 flex items-center justify-start w-full",variants:C,whileHover:{scale:1.05},whileTap:{scale:.95},children:e}),P=({children:e,className:t})=>{const{triggerRef:n,triggerOnRight:l,triggerOnLeft:a}=w(),[r,d]=(0,U.useState)(null);return n?(0,z.jsxs)(D.P.div,{ref:d,className:(0,x.cn)("absolute top-0 bottom-0 w-80 h-screen",l?"right-0":"left-0",t),children:[r&&(0,z.jsx)(D.P.div,{className:(0,x.cn)("bg-background-primary shadow-lg absolute top-0 bottom-0 w-80 border-y-0 border-l-0 border-r border-solid border-border-subtle",l?"right-0":"left-0"),variants:O(n,r,a??!1)}),(0,z.jsx)(D.P.ul,{variants:I,className:(0,x.cn)("relative mt-14 mb-0 w-full px-5 pb-5 pt-2 flex flex-col items-start justify-start gap-0.5",t),children:e})]}):null},A=({className:e,children:t})=>{const[n,l]=function(...e){const t=(0,U.useRef)(0),[n,l]=(0,U.useState)(e[t.current]),a=(0,U.useCallback)((n=>{t.current="number"!=typeof n?((e,t,n)=>{const l=t-0;return((n-0)%l+l)%l+0})(0,e.length,t.current+1):n,l(e[t.current])}),[e.length,...e]);return[n,a]}(!1,!0),[a,r]=(0,U.useState)(null),d=(0,U.useRef)(null),{height:V}=(e=>{const t=(0,U.useRef)({width:0,height:0});return(0,U.useEffect)((()=>{e.current&&(t.current.width=e.current.offsetWidth,t.current.height=e.current.offsetHeight)}),[]),t.current})(d),{isRight:o=!1,isLeft:c=!0}=(e=>{if(!e)return{error:"Element not found."};const t=e.getBoundingClientRect(),n=window.innerWidth,l=n/2,a=t.rightl;return{isLeft:a,isRight:r,isCenter:!a&&!r,elementRect:{left:t.left,right:t.right,width:t.width},viewport:{width:n,center:l}}})(a);return(0,z.jsx)(X,{value:{isOpen:n,toggleOpen:l,setTriggerRef:e=>{(0,U.startTransition)((()=>{r(e)}))},triggerRef:a,triggerOnRight:o,triggerOnLeft:c},children:(0,z.jsx)("div",{className:(0,x.cn)("size-6 z-[1]",e),children:(0,z.jsx)(D.P.nav,{className:"h-full",initial:!1,animate:n?"open":"closed",custom:V,variants:{open:{pointerEvents:"auto"},closed:{pointerEvents:"none"}},ref:d,children:t})})})};A.displayName="HamburgerMenu",H.displayName="HamburgerMenu.Toggle",P.displayName="HamburgerMenu.Options",L.displayName="HamburgerMenu.Option",A.Options=P,A.Option=L,A.Toggle=H;var q=n(71087),_=n(87835),$=n(53906);const ee=(0,$.A)("Megaphone",[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]]),te=(0,$.A)("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]),ne=(0,$.A)("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);var le=n(67651);const ae=(0,$.A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var l,a,r,d,V=[],o=!0,U=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;o=!1}else for(;!(o=(l=r.call(n)).done)&&(V.push(l.value),V.length!==t);o=!0);}catch(e){U=!0,a=e}finally{try{if(!o&&null!=n.return&&(d=n.return(),Object(d)!==d))return}finally{if(U)throw a}}return V}}(e,t)||function(e,t){if(e){if("string"==typeof e)return de(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?de(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function de(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,l=Array(t);nspan]:p-0 underline underline-offset-2 font-normal",size:"xs",onClick:function(){var e,t;return window.open((0,a.XB)((null===(e=srfm_admin)||void 0===e?void 0:e.pricing_page_url)||(null===(t=srfm_admin)||void 0===t?void 0:t.sureforms_pricing_page),"dashboard-upgrade-notice-cta"),"_blank","noreferrer")}},(0,r.__)("Upgrade now","sureforms"))," ",React.createElement("span",{className:"font-normal text-xs"},(0,r.__)("and unlock the full power of SureForms!","sureforms"))),React.createElement(le.mc.Item,{className:"absolute right-2 inset-y-0 inline-flex items-center"},React.createElement(v.A,{variant:"ghost",size:"xs",className:"p-1 hover:bg-transparent",icon:React.createElement(ae,{className:"size-4"}),onClick:function(){V(!1),(0,a.TV)(Ve,"true",10),"function"==typeof t&&t()}}))):null};function Ue(){return Ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const n=Re[t]||Re.sm;return(0,z.jsx)(Ze.Provider,{value:{sizes:n},children:(0,z.jsx)("nav",{className:"flex m-0","aria-label":"Breadcrumb",children:(0,z.jsx)("ul",{className:"m-0 inline-flex items-center space-x-1 md:space-x-1",children:e})})})};Fe.displayName="Breadcrumb";const me=({children:e})=>(0,z.jsx)(z.Fragment,{children:e});me.displayName="Breadcrumb.List";const Te=({children:e})=>(0,z.jsx)("li",{className:"m-0 inline-flex items-center gap-2",children:e});Te.displayName="Breadcrumb.Item";const he=({href:e,children:t,className:n,as:l="a",...a})=>{const{sizes:r}=(0,U.useContext)(Ze);return(0,z.jsx)(l,{href:e,className:(0,x.cn)(r.text,"px-1 font-medium no-underline text-text-tertiary hover:text-text-primary hover:underline","focus:outline-none focus:ring-1 focus:ring-border-interactive focus:border-border-interactive focus:rounded-sm","transition-all duration-200",n),...a,children:t})};he.displayName="Breadcrumb.Link";const We=({type:e})=>{const{sizes:t}=(0,U.useContext)(Ze),n={slash:(0,z.jsx)("span",{className:(0,x.cn)("mx-1",t.separator),children:"/"}),arrow:(0,z.jsx)(se,{size:t.separatorIconSize})};return(0,z.jsx)("li",{role:"separator",className:"flex items-center text-text-tertiary mx-2 p-0 list-none","aria-hidden":"true",children:n[e]||n.arrow})};We.displayName="Breadcrumb.Separator";const pe=()=>{const{sizes:e}=(0,U.useContext)(Ze);return(0,z.jsx)(Ne,{className:"mt-[2px] cursor-pointer text-text-tertiary hover:text-text-primary",size:e.separatorIconSize+4})};pe.displayName="Breadcrumb.Ellipsis";const Me=({children:e})=>{const{sizes:t}=(0,U.useContext)(Ze);return(0,z.jsx)("span",{className:(0,x.cn)(t.text,"font-medium text-text-primary"),children:e})};Me.displayName="Breadcrumb.Page",Fe.List=me,Fe.Item=Te,Fe.Link=he,Fe.Separator=We,Fe.Ellipsis=pe,Fe.Page=Me;const Qe=function(e){var t=e.options;return React.createElement(Fe,null,React.createElement(Fe.List,null,t.map((function(e,t){switch(e.type){case"separator":return React.createElement(Fe.Separator,{key:t});case"ellipsis":return React.createElement(Fe.Item,{key:t},React.createElement(Fe.Ellipsis,null));case"page":return React.createElement(Fe.Item,{key:t},React.createElement(Fe.Page,null,e.text));default:return React.createElement(Fe.Item,{key:t},React.createElement(Fe.Link,null==e?void 0:e.linkProps,e.text))}}))))};var ue=n(28162);function ke(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var l,a,r,d,V=[],o=!0,U=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;o=!1}else for(;!(o=(l=r.call(n)).done)&&(V.push(l.value),V.length!==t);o=!0);}catch(e){U=!0,a=e}finally{try{if(!o&&null!=n.return&&(d=n.return(),Object(d)!==d))return}finally{if(U)throw a}}return V}}(e,t)||Ee(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ee(e,t){if(e){if("string"==typeof e)return Se(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Se(e,t):void 0}}function Se(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,l=Array(t);n