PageSourceSearch

https://ceres.go.gov.br/wp-content/plugins/nucleoweb-selos-transparencia/bundle/public.js?ver=1.3.50

js ceres.go.gov.br collected 2026-10-02 20:42:05 UTC 74,994 bytes, 1 lines download raw bytes

vendor: 4,683 bytes, line 1
1(()=>{var e,t,n={20(e,t,n){"use strict";var r=n(609),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var r,i={},s=null,u=null;for(r in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:s,ref:u,props:i,_owner:c.current}}t.Fragment=i,t.jsx=s,t.jsxs=s},609(e){"use strict";e.exports=window.React},848(e,t,n){"use strict";e.exports=n(20)},921(e,t,n){(()=>{var t={296:(e,t,n)=>{var r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,a=/^0o[0-7]+$/i,c=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,s="object"==typeof self&&self&&self.Object===Object&&self,u=l||s||Function("return this")(),f=Object.prototype.toString,d=Math.max,p=Math.min,m=function(){return u.Date.now()};function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==f.call(e)}(e))return NaN;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=i.test(e);return n||a.test(e)?c(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,i,a,c,l,s=0,u=!1,f=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=r,i=o;return r=o=void 0,s=t,a=e.apply(i,n)}function g(e){var n=e-l;return void 0===l||n>=t||n<0||f&&e-s>=i}function w(){var e=m();if(g(e))return E(e);c=setTimeout(w,function(e){var n=t-(e-l);return f?p(n,i-(e-s)):n}(e))}function E(e){return c=void 0,h&&r?b(e):(r=o=void 0,a)}function O(){var e=m(),n=g(e);if(r=arguments,o=this,l=e,n){if(void 0===c)return function(e){return s=e,c=setTimeout(w,t),u?b(e):a}(l);if(f)return c=setTimeout(w,t),b(l)}return void 0===c&&(c=setTimeout(w,t)),a}return t=v(t)||0,y(n)&&(u=!!n.leading,i=(f="maxWait"in n)?d(v(n.maxWait)||0,t):i,h="trailing"in n?!!n.trailing:h),O.cancel=function(){void 0!==c&&clearTimeout(c),s=0,r=l=o=c=void 0},O.flush=function(){return void 0===c?a:E(m())},O}},96:(e,t,n)=>{var r="Expected a function",o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,u="object"==typeof self&&self&&self.Object===Object&&self,f=s||u||Function("return this")(),d=Object.prototype.toString,p=Math.max,m=Math.min,y=function(){return f.Date.now()};function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function h(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(v(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=v(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=a.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError(r);return v(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),function(e,t,n){var o,i,a,c,l,s,u=0,f=!1,d=!1,b=!0;if("function"!=typeof e)throw new TypeError(r);function g(t){var n=o,r=i;return o=i=void 0,u=t,c=e.apply(r,n)}function w(e){var n=e-s;return void 0===s||n>=t||n<0||d&&e-u>=a}function E(){var e=y();if(w(e))return O(e);l=setTimeout(E,function(e){var n=t-(e-s);return d?m(n,a-(e-u)):n}(e))}function O(e){return l=void 0,b&&o?g(e):(o=i=void 0,c)}function P(){var e=y(),n=w(e);if(o=arguments,i=this,s=e,n){if(void 0===l)return function(e){return u=e,l=setTimeout(E,t),f?g(e):c}(s);if(d)return l=setTimeout(E,t),g(s)}return void 0===l&&(l=setTimeout(E,t)),c}return t=h(t)||0,v(n)&&(f=!!n.leading,a=(d="maxWait"in n)?p(h(n.maxWait)||0,t):a,b="trailing"in n?!!n.trailing:b),P.cancel=function(){void 0!==l&&clearTimeout(l),u=0,o=s=i=l=void 0},P.flush=function(){return void 0===l?c:O(y())},P}(e,t,{leading:o,maxWait:t,trailing:i})}},703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
1:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";o.r(i),o.d(i,{LazyLoadComponent:()=>z,LazyLoadImage:()=>te,trackWindowScroll:()=>L});const e=n(609);var t=o.n(e),r=o(697);function a(){return"undefined"!=typeof window&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e,t,n){return(t=f(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,f(r.key),r)}}function f(e){var t=function(e){if("object"!==c(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===c(t)?t:String(t)}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var m=function(e){e.forEach(function(e){e.isIntersecting&&e.target.onVisible()})},y={},v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(v,e);var n,r,o,i,f=(o=v,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=p(o);if(i){var n=p(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function v(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),(t=f.call(this,e)).supportsObserver=!e.scrollPosition&&e.useIntersectionObserver&&a(),t.supportsObserver){var n=e.threshold;t.observer=function(e){return y[e]=y[e]||new IntersectionObserver(m,{rootMargin:e+"px"}),y[e]}(n)}return t}return n=v,r=[{key:"componentDidMount",value:function(){this.placeholder&&this.observer&&(this.placeholder.onVisible=this.props.onVisible,this.observer.observe(this.placeholder)),this.supportsObserver||this.updateVisibility()}},{key:"componentWillUnmount",value:function(){this.observer&&this.placeholder&&this.observer.unobserve(this.placeholder)}},{key:"componentDidUpdate",value:function(){this.supportsObserver||this.updateVisibility()}},{key:"getPlaceholderBoundingBox",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.scrollPosition,t=this.placeholder.getBoundingClientRect(),n=this.placeholder.style,r=parseInt(n.getPropertyValue("margin-left"),10)||0,o=parseInt(n.getPropertyValue("margin-top"),10)||0;return{bottom:e.y+t.bottom+o,left:e.x+t.left+r,right:e.x+t.right+r,top:e.y+t.to
1p+o}}},{key:"isPlaceholderInViewport",value:function(){if("undefined"==typeof window||!this.placeholder)return!1;var e=this.props,t=e.scrollPosition,n=e.threshold,r=this.getPlaceholderBoundingBox(t),o=t.y+window.innerHeight,i=t.x,a=t.x+window.innerWidth,c=t.y;return Boolean(c-n<=r.bottom&&o+n>=r.top&&i-n<=r.right&&a+n>=r.left)}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var e=this,n=this.props,r=n.className,o=n.height,i=n.placeholder,a=n.style,c=n.width;if(i&&"function"!=typeof i.type)return t().cloneElement(i,{ref:function(t){return e.placeholder=t}});var u=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({display:"inline-block"},a);return void 0!==c&&(u.width=c),void 0!==o&&(u.height=o),t().createElement("span",{className:r,ref:function(t){return e.placeholder=t},style:u},i)}}],r&&u(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),v}(t().Component);v.propTypes={onVisible:r.PropTypes.func.isRequired,className:r.PropTypes.string,height:r.PropTypes.oneOfType([r.PropTypes.number,r.PropTypes.string]),placeholder:r.PropTypes.element,threshold:r.PropTypes.number,useIntersectionObserver:r.PropTypes.bool,scrollPosition:r.PropTypes.shape({x:r.PropTypes.number.isRequired,y:r.PropTypes.number.isRequired}),width:r.PropTypes.oneOfType([r.PropTypes.number,r.PropTypes.string])},v.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};const h=v;var b=o(296),g=o.n(b),w=o(96),E=o.n(w),O=function(e){var t=getComputedStyle(e,null);return t.getPropertyValue("overflow")+t.getPropertyValue("overflow-y")+t.getPropertyValue("overflow-x")};const P=function(e){if(!(e instanceof HTMLElement))return window;for(var t=e;t&&t instanceof HTMLElement;){if(/(scroll|auto)/.test(O(t)))return t;t=t.parentNode}return window};function j(e){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}var S=["delayMethod","delayTime"];function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T.apply(this,arguments)}function N(e,t){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},N(e,t)}function R(e,t){if(t&&("object"===j(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return x(e)}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}var _=function(){return"undefined"==typeof window?0:window.scrollX||window.pageXOffset},D=function(){return"undefined"==typeof window?0:window.scrollY||window.pageYOffset};const L=function(e){var n=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&N(e,t)}(s,n);var r,o,i,c,l=(i=s,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=C(i);if(c){var n=C(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return R(this,e)});function s(e){var n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(n=l.call(this,e)).useIntersectionObserver=e.useIntersectionObserver&&a(),n.useIntersectionObserver)return R(n);var r=n.onChangeScroll.bind(x(n));return"debounce"===e.delayMethod?n.delayedScroll=g()(r,e.delayTime):"throttle"===e.delayMethod&&(n.delayedScroll=E()(r,e.delayTime)),n.state={scrollPosition:{x:_(),y:D()}},n.baseComponentRef=t().createRef(),n}return r=s,(o=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){"undefined"==typeof window||this.useIntersectionObserver||P(this.baseComponentRef.current)!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){"undefined"==typeof window||this.useIntersectionObserver||(this.scrollElement=P(this.baseComponentRef.current),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){"undefined"==typeof window||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:_(),y:D()}})}},{key:"render",value:function(){var n=this.props,r=(n.delayMethod,n.delayTime,function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(n,S)),o=this.useIntersectionObserver?null:this.state.scrollPosition;return t().createElement(e,T({forwardRef:this.baseComponentRef,scrollPosition:o},r))}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=function(e){if("object"!==j(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==j(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===j(o)?o:String(o)),r)}var o}(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),s}(t().Component);return n.propTypes={delayMethod:r.PropTypes.oneOf(["debounce","throttle"]),delayTime:r.PropTypes.number,useIntersectionObserver:r.PropTypes.bool},n.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},n};function k(e){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k(e)}
1function I(e,t){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},I(e,t)}function M(e){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},M(e)}var A=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&I(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=M(o);if(i){var n=M(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===k(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,e)}return n=c,(r=[{key:"render",value:function(){return t().createElement(h,this.props)}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=function(e){if("object"!==k(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==k(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===k(o)?o:String(o)),r)}var o}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(t().Component);const F=L(A);function W(e){return W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},W(e)}function B(e,t){return B=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},B(e,t)}function $(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},V(e)}var U=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&B(e,t)}(l,e);var n,r,o,i,c=(o=l,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=V(o);if(i){var n=V(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===W(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return $(e)}(this,e)});function l(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),t=c.call(this,e);var n=e.afterLoad,r=e.beforeLoad,o=e.scrollPosition,i=e.visibleByDefault;return t.state={visible:i},i&&(r(),n()),t.onVisible=t.onVisible.bind($(t)),t.isScrollTracked=Boolean(o&&Number.isFinite(o.x)&&o.x>=0&&Number.isFinite(o.y)&&o.y>=0),t}return n=l,(r=[{key:"componentDidUpdate",value:function(e,t){t.visible!==this.state.visible&&this.props.afterLoad()}},{key:"onVisible",value:function(){this.props.beforeLoad(),this.setState({visible:!0})}},{key:"render",value:function(){if(this.state.visible)return this.props.children;var e=this.props,n=e.className,r=e.delayMethod,o=e.delayTime,i=e.height,c=e.placeholder,l=e.scrollPosition,s=e.style,u=e.threshold,f=e.useIntersectionObserver,d=e.width;return this.isScrollTracked||f&&a()?t().createElement(h,{className:n,height:i,onVisible:this.onVisible,placeholder:c,scrollPosition:l,style:s,threshold:u,useIntersectionObserver:f,width:d}):t().createElement(F,{className:n,delayMethod:r,delayTime:o,height:i,onVisible:this.onVisible,placeholder:c,style:s,threshold:u,width:d})}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=function(e){if("object"!==W(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==W(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===W(o)?o:String(o)),r)}var o}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),l}(t().Component);U.propTypes={afterLoad:r.PropTypes.func,beforeLoad:r.PropTypes.func,useIntersectionObserver:r.PropTypes.bool,visibleByDefault:r.PropTypes.bool},U.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const z=U;function K(e){return K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},K(e)}var Y=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?X(Object(n),!0).forEach(function(t){H(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function H(e,t,n){return(t=G(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Z(){return Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Z.apply(this,arguments)}function G(e){var t=function(e){if("object"!==K(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==K(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===K(t)?t:String(t)}function J(e,t){return J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},J(e,t)}function Q(e){return Q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Q(e)}var ee=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&J(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=Q(o);if(i){var n=Q(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===K(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this,e)).state={loaded:!1},t}return n=c,(r=[{key:"onImageLoad",value:function(){var e=this;return this.state.loaded?null:function(t){e.props.onLoad(t),e.props.afterLoad(),e.setState({loaded:!0})}}},{key:"getImg",value:function(){var e=this.props,n=(e.afterLoad,e.beforeLoad,e.delayMethod,e.delayTime,e.effect,e.placeholder,e.placeholderSrc,e.scrollPosition,e.threshold,e.useIntersectionObserver,e.visibleByDefault,e.wrapperClassName,e.wrapperProps,function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Y));return t().createElement("img",Z({},n,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var e=this.props,n=e.beforeLoad,r=e.className,o=e.delayMethod,i=e.delayTime,a=e.height,c=e.placeholder,l=e.scrollPosition,s=e.style,u=e.threshold,f=e.useIntersectionObserver,d=e.visibleByDefault,p=e.width;return t().createElement(z,{beforeLoad:n,className:r,delayMethod:o,delayTime:i,height:a,placeholder:c,scrollPosition:l,style:s,threshold:u,useIntersectionObserver:f,visibleByDefault:d,width:p},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(e){var n=this.props,r=n.effect,o=n.height,i=n.placeholderSrc,a=n.width,c=n.wrapperClassName,l=n.wrapperProps,s=this.state.loaded,u=s?" lazy-load-image-loaded":"",f=s||!i?{}:{backgroundImage:"url(".concat(i,")"),backgroundSize:"100% 100%"};return t().createElement("span",Z({className:c+" lazy-load-image-background "+r+u,style:q(q({},f),{},{color:"transparent",display:"inline-block",height:o,width:a})},l),e)}},{key:"render",value:function(){var e=this.props,t=e.effect,n=e.placeholderSrc,r
1=e.visibleByDefault,o=e.wrapperClassName,i=e.wrapperProps,a=this.getLazyLoadImage();return(t||n)&&!r||o||i?this.getWrappedLazyLoadImage(a):a}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,G(r.key),r)}}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(t().Component);ee.propTypes={onLoad:r.PropTypes.func,afterLoad:r.PropTypes.func,beforeLoad:r.PropTypes.func,delayMethod:r.PropTypes.string,delayTime:r.PropTypes.number,effect:r.PropTypes.string,placeholderSrc:r.PropTypes.string,threshold:r.PropTypes.number,useIntersectionObserver:r.PropTypes.bool,visibleByDefault:r.PropTypes.bool,wrapperClassName:r.PropTypes.string,wrapperProps:r.PropTypes.object},ee.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const te=ee})(),e.exports=i})()}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return n[e](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&n;("object"==typeof c||"function"==typeof c)&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach(e=>a[e]=()=>n[e]);return a.default=()=>n,o.d(i,a),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0,(()=>{"use strict";var e=o(609),t=o.t(e,2);const n=window.wp.domReady;var r=o.n(n);const i=window.wp.element;var a=o(921);const c=({configs:t,toogleModal:n,assetsDirectoryUrl:r})=>{const{typeSeal:o,unit:i,distance:c,images:l,defaultImages:s,zIndexDesktop:u}=t,f=r+"words/text-title.svg",d=r+"words/"+o.value+".svg",p=[{name:"dimond",value:"linear-gradient(199deg, #ACC4D1 0%, #E5F5FE 45.42%, #D6E6F0 87.34%)"},{name:"gold",value:"linear-gradient(199deg, #DBBE72 0%, #EFE9AD 45.42%, #FDDDA0 87.34%)"},{name:"silver",value:"linear-gradient(199deg, #ABABAB 0%, #F8F8F8 45.42%, #D7D7D7 87.34%)"}].find(e=>e.name===o.value).value,m=l?.image_side_floating?l?.image_side_floating:s?.sealMini?.url,y=c+i;return console.log(u),(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"wp-block-wrapper-seal-card",onClick:()=>{n(!0)},style:{top:y,zIndex:null!=u?u:9999}},(0,e.createElement)("div",{className:"seal-card-title"},(0,e.createElement)("img",{src:f,alt:"Título"})),(0,e.createElement)("div",{className:"seal-card-content",style:{background:p}},(0,e.createElement)(a.LazyLoadImage,{wrapperClassName:"seal-modal-image-big",alt:"Selo de Transparência",effect:"blur",width:44,height:44,placeholderSrc:s?.sealMini?.url,src:m}),(0,e.createElement)("div",{className:"seal-type-name"},(0,e.createElement)("img",{src:d,alt:"Selo",className:`seal-${o.value}`})))))};function l(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function s(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function u(...e){return t=>{let n=!1;const r=e.map(e=>{const r=s(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():s(e[t],null)}}}}function f(...t){return e.useCallback(u(...t),t)}"undefined"==typeof window||!window.document||window.document.createElement;var d=o(848);function p(...t){const n=t[0];if(1===t.length)return n;const r=()=>{const r=t.map(e=>({useScope:e(),scopeName:e.scopeName}));
vendor: 17,802 bytes, line 1
1return function(t){const o=r.reduce((e,{useScope:n,scopeName:r})=>({...e,...n(t)[`__scope${r}`]}),{});return e.useMemo(()=>({[`__scope${n.scopeName}`]:o}),[o])}};return r.scopeName=n.scopeName,r}var m=globalThis?.document?e.useLayoutEffect:()=>{},y=t[" useId ".trim().toString()]||(()=>{}),v=0;function h(t){const[n,r]=e.useState(y());return m(()=>{t||r(e=>e??String(v++))},[t]),t||(n?`radix-${n}`:"")}var b=t[" useInsertionEffect ".trim().toString()]||m;function g(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}Symbol("RADIX:SYNC_STATE"),"undefined"==typeof window||!window.document||window.document.createElement;const w=window.ReactDOM;function E(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function O(...e){return t=>{let n=!1;const r=e.map(e=>{const r=E(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():E(e[t],null)}}}}function P(...t){return e.useCallback(O(...t),t)}function j(t){const n=e.forwardRef((t,n)=>{const{children:r,...o}=t;if(e.isValidElement(r)){const t=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(r),i=function(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{const t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(o,r.props);return r.type!==e.Fragment&&(i.ref=n?O(n,t):t),e.cloneElement(r,i)}return e.Children.count(r)>1?e.Children.only(null):null});return n.displayName=`${t}.SlotClone`,n}var S=Symbol("radix.slottable");function T(t){return e.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===S}var N=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((t,n)=>{const r=function(t){const n=j(t),r=e.forwardRef((t,r)=>{const{children:o,...i}=t,a=e.Children.toArray(o),c=a.find(T);if(c){const t=c.props.children,o=a.map(n=>n===c?e.Children.count(t)>1?e.Children.only(null):e.isValidElement(t)?t.props.children:null:n);return(0,d.jsx)(n,{...i,ref:r,children:e.isValidElement(t)?e.cloneElement(t,void 0,o):null})}return(0,d.jsx)(n,{...i,ref:r,children:o})});return r.displayName=`${t}.Slot`,r}(`Primitive.${n}`),o=e.forwardRef((e,t)=>{const{asChild:o,...i}=e,a=o?r:n;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,d.jsx)(a,{...i,ref:t})});return o.displayName=`Primitive.${n}`,{...t,[n]:o}},{});function R(t){const n=e.useRef(t);return e.useEffect(()=>{n.current=t}),e.useMemo(()=>(...e)=>n.current?.(...e),[])}var x,C="dismissableLayer.update",_=e.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),D=e.forwardRef((t,n)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:c,onDismiss:l,...s}=t,u=e.useContext(_),[f,p]=e.useState(null),m=f?.ownerDocument??globalThis?.document,[,y]=e.useState({}),v=P(n,e=>p(e)),h=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),w=h.indexOf(b),E=f?h.indexOf(f):-1,O=u.layersWithOutsidePointerEventsDisabled.size>0,j=E>=w,S=function(t,n=globalThis?.document){const r=R(t),o=e.useRef(!1),i=e.useRef(()=>{});return e.useEffect(()=>{const e=e=>{if(e.target&&!o.current){let t=function(){k("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})};const o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=t,n.addEventListener("click",i.current,{once:!0})):t()}else n.removeEventListener("click",i.current);o.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{const t=e.target,n=[...u.branches].some(e=>e.contains(t));j&&!n&&(i?.(e),c?.(e),e.defaultPrevented||l?.())},m),T=function(t,n=globalThis?.document){const r=R(t),o=e.useRef(!1);return e.useEffect(()=>{const e=e=>{e.target&&!o.current&&k("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{const t=e.target;[...u.branches].some(e=>e.contains(t))||(a?.(e),c?.(e),e.defaultPrevented||l?.())},m);return function(t,n=globalThis?.document){const r=function(t){const n=e.useRef(t);return e.useEffect(()=>{n.current=t}),e.useMemo(()=>(...e)=>n.current?.(...e),[])}(t);e.useEffect(()=>{const e=e=>{"Escape"===e.key&&r(e)};return n.addEventListener("keydown",e,{capture:!0}),()=>n.removeEventListener("keydown",e,{capture:!0})},[r,n])}(e=>{E===u.layers.size-1&&(o?.(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))},m),e.useEffect(()=>{if(f)return r&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(x=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),L(),()=>{r&&1===u.layersWithOutsidePointerEventsDisabled.size&&(m.body.style.pointerEvents=x)}},[f,m,r,u]),e.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),L())},[f,u]),e.useEffect(()=>{const e=()=>y({});return document.addEventListener(C,e),()=>document.removeEventListener(C,e)},[]),(0,d.jsx)(N.div,{...s,ref:v,style:{pointerEvents:O?j?"auto":"none":void 0,...t.style},onFocusCapture:g(t.onFocusCapture,T.onFocusCapture),onBlurCapture:g(t.onBlurCapture,T.onBlurCapture),onPointerDownCapture:g(t.onPointerDownCapture,S.onPointerDownCapture)})});function L(){const e=new CustomEvent(C);document.dispatchEvent(e)}function k(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?function(e,t){e&&w.flushSync(()=>e.dispatchEvent(t))}(o,i):o.dispatchEvent(i)}function I(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function M(...e){return t=>{let n=!1;const r=e.map(e=>{const r=I(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():I(e[t],null)}}}}function A(t){const n=e.forwardRef((t,n)=>{const{children:r,...o}=t;if(e.isValidElement(r)){const t=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(r),i=function(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{const t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(o,r.props);return r.type!==e.Fragment&&(i.ref=n?M(n,t):t),e.cloneElement(r,i)}return e.Children.count(r)>1?e.Children.only(null):null});return n.displayName=`${t}.SlotClone`,n}D.displayName="DismissableLayer",e.forwardRef((t,n)=>{const r=e.useContext(_),o=e.useRef(null),i=P(n,o);return e.useEffect(()=>{const e=o.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,d.jsx)(N.div,{...t,ref:i})}).displayName="DismissableLayerBranch";var F=Symbol("radix.slottable");function W(t){return e.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===F}var B=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((t,n)=>{const r=function(t){const n=A(t),r=e.forwardRef((t,r)=>{const{children:o,...i}=t,a=e.Children.toArray(o),c=a.find(W);if(c){const t=c.props.children,o=a.map(n=>n===c?e.Children.count(t)>1?e.Children.only(null):e.isValidElement(t)?t.props.children:null:n);return(0,d.jsx)(n,{...i,ref:r,children:e.isValidElement(t)?e.cloneElement(t,void 0,o):null})}return(0,d.jsx)(n,{...i,ref:r,children:o})});return r.displayName=`${t}.Slot`,r}(`Primitive.${n}`),o=e.forwardRef((e,t)=>{const{asChild:o,...i}=e,a=o?r:n;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,d.jsx)(a,{...i,ref:t})});return o.displayName=`Primitive.${n}`,{...t,[n]:o}},{});function $(t){const n=e.useRef(t);return e.useEffect(()=>{n.current=t}),e.useMemo(()=>(...e)=>n.current?.(...e),[])}var V="focusScope.autoFocusOnMount",U="focusScope.autoFocusOnUnmount",z={bubbles:!1,cancelable:!0},K=e.forwardRef((t,n)=>{const{loop:r=!1,trapped:o=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...c}=t,[l,s]=e.useState(null),u=$(i),f=$(a),p=e.useRef(null),m=function(...t){return e.useCallback(M(...t),t)}(n,e=>s(e)),y=e.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;e.useEffect(()=>{if(o){let e=function(e){if(y.paused||!l)return;const t=e.target;l.contains(t)?p.current=t:H(p.current,{select:!0})},t=function(e){if(y.paused||!l)return;const t=e.relatedTarget;null!==t&&(l.contains(t)||H(p.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&H(l)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return l&&r.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[o,l,y.paused]),e.useEffect(()=>{if(l){Z.add(y);const e=document.activeElement;if(!l.contains(e)){const t=new CustomEvent(V,z);l.addEventListener(V,u),l.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(H(r,{select:t}),document.activeElement!==n)return}(Y(l).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&H(l))}return()=>{l.removeEventListener(V,u),setTimeout(()=>{const t=new CustomEvent(U,z);l.addEventListener(U,f),l.dispatchEvent(t),t.defaultPrevented||H(e??document.body,{select:!0}),l.removeEventListener(U,f),Z.remove(y)},0)}}},[l,u,f,y]);const v=e.useCallback(e=>{if(!r&&!o)return;if(y.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){const t=e.currentTarget,[o,i]=function(e){const t=Y(e);return[X(t,e),X(t.reverse(),e)]}(t);o&&i?e.shiftKey||n!==i?e.shiftKey&&n===o&&(e.preventDefault(),r&&H(i,{select:!0})):(e.preventDefault(),r&&H(o,{select:!0})):n===t&&e.preventDefault()}},[r,o,y.paused]);return(0,d.jsx)(B.div,{tabIndex:-1,...c,ref:m,onKeyDown:v})});function Y(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function X(e,t){for(const n of e)if(!q(n,{upTo:t}))return n}function q(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function H(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}K.displayName="FocusScope";var Z=function(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=G(e,t),e.unshift(t)},remove(t){e=G(e,t),e[0]?.resume()}}}();function G(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}function J(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function Q(t){const n=e.forwardRef((t,n)=>{const{children:r,...o}=t;if(e.isValidElement(r)){const t=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(r),i=function(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{const t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(o,r.props);return r.type!==e.Fragment&&(i.ref=n?function(...e){return t=>{let n=!1;const r=e.map(e=>{const r=J(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():J(e[t],null)}}}}(n,t):t),e.cloneElement(r,i)}return e.Children.count(r)>1?e.Children.only(null):null});return n.displayName=`${t}.SlotClone`,n}var ee=Symbol("radix.slottable");function te(t){return e.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===ee}var ne=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((t,n)=>{const r=function(t){const n=Q(t),r=e.forwardRef((t,r)=>{const{children:o,...i}=t,a=e.Children.toArray(o),c=a.find(te);if(c){const t=c.props.children,o=a.map(n=>n===c?e.Children.count(t)>1?e.Children.only(null):e.isValidElement(t)?t.props.children:null:n);return(0,d.jsx)(n,{...i,ref:r,children:e.isValidElement(t)?e.cloneElement(t,void 0,o):null})}return(0,d.jsx)(n,{...i,ref:r,children:o})});return r.displayName=`${t}.Slot`,r}(`Primitive.${n}`),o=e.forwardRef((e,t)=>{const{asChild:o,...i}=e,a=o?r:n;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,d.jsx)(a,{...i,ref:t})});return o.displayName=`Primitive.${n}`,{...t,[n]:o}},{}),re=e.forwardRef((t,n)=>{const{container:r,...o}=t,[i,a]=e.useState(!1);m(()=>a(!0),[]);const c=r||i&&globalThis?.document?.body;return c?w.createPortal((0,d.jsx)(ne.div,{...o,ref:n}),c):null});function oe(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}re.displayName="Portal";var ie=t=>{const{present:n,children:r}=t,o=function(t){const[n,r]=e.useState(),o=e.useRef(null),i=e.useRef(t),a=e.useRef("none"),c=t?"mounted":"unmounted",[l,s]=function(t,n){return e.useReducer((e,t)=>n[e][t]??e,t)}(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return e.useEffect(()=>{const e=ae(o.current);a.current="mounted"===l?e:"none"},[l]),m(()=>{const e=o.current,n=i.current;if(n!==t){const r=a.current,o=ae(e);s(t?"MOUNT":"none"===o||"none"===e?.display?"UNMOUNT":n&&r!==o?"ANIMATION_OUT":"UNMOUNT"),i.current=t}},[t,s]),m(()=>{if(n){let e;const t=n.ownerDocument.defaultView??window,r=r=>{const a=ae(o.current).includes(CSS.escape(r.animationName));if(r.target===n&&a&&(s("ANIMATION_END"),!i.current)){const r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},c=e=>{e.target===n&&(a.current=ae(o.current))};return n.addEventListener("animationstart",c),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",c),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}s("ANIMATION_END")},[n,s]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:e.useCallback(e=>{o.current=e?getComputedStyle(e):null,r(e)},[])}}(n),i="function"==typeof r?r({present:o.isPresent}):e.Children.only(r),a=function(...t){return e.useCallback(function(...e){return t=>{let n=!1;const r=e.map(e=>{const r=oe(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():oe(e[t],null)}}}}(...t),t)}(o.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(i));return"function"==typeof r||o.isPresent?e.cloneElement(i,{ref:a}):null};function ae(e){return e?.animationName||"none"}function ce(t){const n=le(t),r=e.forwardRef((t,r)=>{const{children:o,...i}=t,a=e.Children.toArray(o),c=a.find(ue);if(c){const t=c.props.children,o=a.map(n=>n===c?e.Children.count(t)>1?e.Children.only(null):e.isValidElement(t)?t.props.children:null:n);return(0,d.jsx)(n,{...i,ref:r,children:e.isValidElement(t)?e.cloneElement(t,void 0,o):null})}return(0,d.jsx)(n,{...i,ref:r,children:o})});return r.displayName=`${t}.Slot`,r}function le(t){const n=e.forwardRef((t,n)=>{const{children:r,...o}=t;if(e.isValidElement(r)){const t=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(r),i=function(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{const t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(o,r.props);return r.type!==e.Fragment&&(i.ref=n?u(n,t):t),e.cloneElement(r,i)}return e.Children.count(r)>1?e.Children.only(null):null});return n.displayName=`${t}.SlotClone`,n}ie.displayName="Presence";var se=Symbol("radix.slottable");function ue(t){return e.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===se}var fe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((t,n)=>{const r=ce(`Primitive.${n}`),o=e.forwardRef((e,t)=>
vendor: 5,220 bytes, line 1
1{const{asChild:o,...i}=e,a=o?r:n;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,d.jsx)(a,{...i,ref:t})});return o.displayName=`Primitive.${n}`,{...t,[n]:o}},{}),de=0;function pe(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var me=function(){return me=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},me.apply(this,arguments)};function ye(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var ve="right-scroll-bar-position",he="width-before-scroll-bar";function be(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var ge="undefined"!=typeof window?e.useLayoutEffect:e.useEffect,we=new WeakMap;function Ee(e){return e}var Oe=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Ee);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}(null);return t.options=me({async:!0,ssr:!1},e),t}(),Pe=function(){},je=e.forwardRef(function(t,n){var r,o,i,a=e.useRef(null),c=e.useState({onScrollCapture:Pe,onWheelCapture:Pe,onTouchMoveCapture:Pe}),l=c[0],s=c[1],u=t.forwardProps,f=t.children,d=t.className,p=t.removeScrollBar,m=t.enabled,y=t.shards,v=t.sideCar,h=t.noRelative,b=t.noIsolation,g=t.inert,w=t.allowPinchZoom,E=t.as,O=void 0===E?"div":E,P=t.gapMode,j=ye(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=v,T=(r=[a,n],i=function(t,n){var r=(0,e.useState)(function(){return{value:t,callback:n,facade:{get current(){return r.value},set current(e){var t=r.value;t!==e&&(r.value=e,r.callback(e,t))}}}})[0];return r.callback=n,r.facade}(o||null,function(e){return r.forEach(function(t){return be(t,e)})}),ge(function(){var e=we.get(i);if(e){var t=new Set(e),n=new Set(r),o=i.current;t.forEach(function(e){n.has(e)||be(e,null)}),n.forEach(function(e){t.has(e)||be(e,o)})}we.set(i,r)},[r]),i),N=me(me({},j),l);return e.createElement(e.Fragment,null,m&&e.createElement(S,{sideCar:Oe,removeScrollBar:p,shards:y,noRelative:h,noIsolation:b,inert:g,setCallbacks:s,allowPinchZoom:!!w,lockRef:a,gapMode:P}),u?e.cloneElement(e.Children.only(f),me(me({},N),{ref:T})):e.createElement(O,me({},N,{className:d,ref:T}),f))});je.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},je.classNames={fullWidth:he,zeroRight:ve};var Se=function(t){var n=t.sideCar,r=ye(t,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=n.read();if(!o)throw new Error("Sidecar medium not found");return e.createElement(o,me({},r))};Se.isSideCarExport=!0;var Te=function(){var e=0,t=null;return{add:function(n){var r,i;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o.nc;return t&&e.setAttribute("nonce",t),e}())&&(i=n,(r=t).styleSheet?r.styleSheet.cssText=i:r.appendChild(document.createTextNode(i)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Ne=function(){var t,n=(t=Te(),function(n,r){e.useEffect(function(){return t.add(n),function(){t.remove()}},[n&&r])});return function(e){var t=e.styles,r=e.dynamic;return n(t,r),null}},Re={left:0,top:0,right:0,gap:0},xe=function(e){return parseInt(e||"",10)||0},Ce=Ne(),_e="data-scroll-locked",De=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(c,"px ").concat(r,";\n  }\n  body[").concat(_e,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(c,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";
1")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(ve," {\n    right: ").concat(c,"px ").concat(r,";\n  }\n  \n  .").concat(he," {\n    margin-right: ").concat(c,"px ").concat(r,";\n  }\n  \n  .").concat(ve," .").concat(ve," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(he," .").concat(he," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(_e,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n  }\n")},Le=function(){var e=parseInt(document.body.getAttribute(_e)||"0",10);return isFinite(e)?e:0},ke=function(t){var n=t.noRelative,r=t.noImportant,o=t.gapMode,i=void 0===o?"margin":o;e.useEffect(function(){return document.body.setAttribute(_e,(Le()+1).toString()),function(){var e=Le()-1;e<=0?document.body.removeAttribute(_e):document.body.setAttribute(_e,e.toString())}},[]);var a=e.useMemo(function(){return function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Re;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[xe(n),xe(r),xe(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}}(i)},[i]);return e.createElement(Ce,{styles:De(a,!n,i,r?"":"!important")})},Ie=!1;if("undefined"!=typeof window)try{var Me=Object.defineProperty({},"passive",{get:function(){return Ie=!0,!0}});window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch(e){Ie=!1}var Ae=!!Ie&&{passive:!1},Fe=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},We=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),Be(e,r)){var o=$e(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Be=function(e,t){return"v"===e?function(e){return Fe(e,"overflowY")}(t):function(e){return Fe(e,"overflowX")}(t)},$e=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},Ve=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ue=function(e){return[e.deltaX,e.deltaY]},ze=function(e){return e&&"current"in e?e.current:e},Ke=function(e){return"\n  .block-interactivity-".concat(e," {pointer-events: none;}\n  .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Ye=0,Xe=[];function qe(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const He=(Ze=function(t){var n=e.useRef([]),r=e.useRef([0,0]),o=e.useRef(),i=e.useState(Ye++)[0],a=e.useState(Ne)[0],c=e.useRef(t);e.useEffect(function(){c.current=t},[t]),e.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(i));var e=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([t.lockRef.current],(t.shards||[]).map(ze),!0).filter(Boolean);return e.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),e.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[t.inert,t.lockRef.current,t.shards]);var l=e.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!c.current.allowPinchZoom;var n,i=Ve(e),a=r.current,l="deltaX"in e?e.deltaX:a[0]-i[0],s="deltaY"in e?e.deltaY:a[1]-i[1],u=e.target,f=Math.abs(l)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===f&&"range"===u.type)return!1;var d=window.getSelection(),p=d&&d.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var m=We(f,u);if(!m)return!0;if(m?n=f:(n="v"===f?"h":"v",m=We(f,u)),!m)return!1;if(!o.current&&"changedTouches"in e&&(l||s)&&(o.current=n),!n)return!0;var y=o.current||n;return function(e,t,n,r){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=o*r,a=n.target,c=t.contains(a),l=!1,s=i>0,u=0,f=0;do{if(!a)break;var d=$e(e,a),p=d[0],m=d[1]-d[2]-o*p;(p||m)&&Be(e,a)&&(u+=m,f+=p);var y=a.parentNode;a=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!c&&a!==document.body||c&&(t.contains(a)||t===a));return(s&&(Math.abs(u)<1||!1)||!s&&(Math.abs(f)<1||!1))&&(l=!0),l}(y,t,e,"h"===y?l:s)},[]),s=e.useCallback(function(e){var t=e;if(Xe.length&&Xe[Xe.length-1]===a){var r="deltaY"in t?Ue(t):Ve(t),o=n.current.filter(function(e){return e.name===t.type&&(e.target===t.target||t.target===e.shadowParent)&&(n=e.delta,o=r,n[0]===o[0]&&n[1]===o[1]);var n,o})[0];if(o&&o.should)t.cancelable&&t.preventDefault();
vendor: 10,514 bytes, line 1
1else if(!o){var i=(c.current.shards||[]).map(ze).filter(Boolean).filter(function(e){return e.contains(t.target)});(i.length>0?l(t,i[0]):!c.current.noIsolation)&&t.cancelable&&t.preventDefault()}}},[]),u=e.useCallback(function(e,t,r,o){var i={name:e,delta:t,target:r,should:o,shadowParent:qe(r)};n.current.push(i),setTimeout(function(){n.current=n.current.filter(function(e){return e!==i})},1)},[]),f=e.useCallback(function(e){r.current=Ve(e),o.current=void 0},[]),d=e.useCallback(function(e){u(e.type,Ue(e),e.target,l(e,t.lockRef.current))},[]),p=e.useCallback(function(e){u(e.type,Ve(e),e.target,l(e,t.lockRef.current))},[]);e.useEffect(function(){return Xe.push(a),t.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",s,Ae),document.addEventListener("touchmove",s,Ae),document.addEventListener("touchstart",f,Ae),function(){Xe=Xe.filter(function(e){return e!==a}),document.removeEventListener("wheel",s,Ae),document.removeEventListener("touchmove",s,Ae),document.removeEventListener("touchstart",f,Ae)}},[]);var m=t.removeScrollBar,y=t.inert;return e.createElement(e.Fragment,null,y?e.createElement(a,{styles:Ke(i)}):null,m?e.createElement(ke,{noRelative:t.noRelative,gapMode:t.gapMode}):null)},Oe.useMedium(Ze),Se);var Ze,Ge=e.forwardRef(function(t,n){return e.createElement(je,me({},t,{ref:n,sideCar:He}))});Ge.classNames=je.classNames;const Je=Ge;var Qe=new WeakMap,et=new WeakMap,tt={},nt=0,rt=function(e){return e&&(e.host||rt(e.parentNode))},ot=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),function(e,t,n,r){var o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=rt(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return Boolean(e)})}(t,Array.isArray(e)?e:[e]);tt[n]||(tt[n]=new WeakMap);var i=tt[n],a=[],c=new Set,l=new Set(o),s=function(e){e&&!c.has(e)&&(c.add(e),s(e.parentNode))};o.forEach(s);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(c.has(e))u(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(Qe.get(e)||0)+1,s=(i.get(e)||0)+1;Qe.set(e,l),i.set(e,s),a.push(e),1===l&&o&&et.set(e,!0),1===s&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),c.clear(),nt++,function(){a.forEach(function(e){var t=Qe.get(e)-1,o=i.get(e)-1;Qe.set(e,t),i.set(e,o),t||(et.has(e)||e.removeAttribute(r),et.delete(e)),o||e.removeAttribute(n)}),--nt||(Qe=new WeakMap,Qe=new WeakMap,et=new WeakMap,tt={})}}(r,o,n,"aria-hidden")):function(){return null}},it="Dialog",[at,ct]=function(t,n=[]){let r=[];const o=()=>{const n=r.map(t=>e.createContext(t));return function(r){const o=r?.[t]||n;return e.useMemo(()=>({[`__scope${t}`]:{...r,[t]:o}}),[r,o])}};return o.scopeName=t,[function(n,o){const i=e.createContext(o),a=r.length;r=[...r,o];const c=n=>{const{scope:r,children:o,...c}=n,l=r?.[t]?.[a]||i,s=e.useMemo(()=>c,Object.values(c));return(0,d.jsx)(l.Provider,{value:s,children:o})};return c.displayName=n+"Provider",[c,function(r,c){const l=c?.[t]?.[a]||i,s=e.useContext(l);if(s)return s;if(void 0!==o)return o;throw new Error(`\`${r}\` must be used within \`${n}\``)}]},p(o,...n)]}(it),[lt,st]=at(it),ut=t=>{const{__scopeDialog:n,children:r,open:o,defaultOpen:i,onOpenChange:a,modal:c=!0}=t,l=e.useRef(null),s=e.useRef(null),[u,f]=function({prop:t,defaultProp:n,onChange:r=()=>{},caller:o}){const[i,a,c]=function({defaultProp:t,onChange:n}){const[r,o]=e.useState(t),i=e.useRef(r),a=e.useRef(n);return b(()=>{a.current=n},[n]),e.useEffect(()=>{i.current!==r&&(a.current?.(r),i.current=r)},[r,i]),[r,o,a]}({defaultProp:n,onChange:r}),l=void 0!==t,s=l?t:i;{const n=e.useRef(void 0!==t);e.useEffect(()=>{const e=n.current;if(e!==l){const t=e?"controlled":"uncontrolled",n=l?"controlled":"uncontrolled";console.warn(`${o} is changing from ${t} to ${n}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}n.current=l},[l,o])}const u=e.useCallback(e=>{if(l){const n=function(e){return"function"==typeof e}(e)?e(t):e;n!==t&&c.current?.(n)}else a(e)},[l,t,a,c]);return[s,u]}({prop:o,defaultProp:i??!1,onChange:a,caller:it});return(0,d.jsx)(lt,{scope:n,triggerRef:l,contentRef:s,contentId:h(),titleId:h(),descriptionId:h(),open:u,onOpenChange:f,onOpenToggle:e.useCallback(()=>f(e=>!e),[f]),modal:c,children:r})};ut.displayName=it;var ft="DialogTrigger";e.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=st(ft,n),i=f(t,o.triggerRef);return(0,d.jsx)(fe.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":xt(o.open),...r,ref:i,onClick:l(e.onClick,o.onOpenToggle)})}).displayName=ft;var dt="DialogPortal",[pt,mt]=at(dt,{forceMount:void 0}),yt=t=>{const{__scopeDialog:n,forceMount:r,children:o,container:i}=t,a=st(dt,n);return(0,d.jsx)(pt,{scope:n,forceMount:r,children:e.Children.map(o,e=>(0,d.jsx)(ie,{present:r||a.open,children:(0,d.jsx)(re,{asChild:!0,container:i,children:e})}))})};yt.displayName=dt;var vt="DialogOverlay",ht=e.forwardRef((e,t)=>{const n=mt(vt,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=st(vt,e.__scopeDialog);return i.modal?(0,d.jsx)(ie,{present:r||i.open,children:(0,d.jsx)(gt,{...o,ref:t})}):null});ht.displayName=vt;var bt=ce("DialogOverlay.RemoveScroll"),gt=e.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=st(vt,n);return(0,d.jsx)(Je,{as:bt,allowPinchZoom:!0,shards:[o.contentRef],children:(0,d.jsx)(fe.div,{"data-state":xt(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),wt="DialogContent",Et=e.forwardRef((e,t)=>{const n=mt(wt,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=st(wt,e.__scopeDialog);return(0,d.jsx)(ie,{present:r||i.open,children:i.modal?(0,d.jsx)(Ot,{...o,ref:t}):(0,d.jsx)(Pt,{...o,ref:t})})});Et.displayName=wt;var Ot=e.forwardRef((t,n)=>{const r=st(wt,t.__scopeDialog),o=e.useRef(null),i=f(n,r.contentRef,o);return e.useEffect(()=>{const e=o.current;if(e)return ot(e)},[]),(0,d.jsx)(jt,{...t,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:l(t.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:l(t.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:l(t.onFocusOutside,e=>e.preventDefault())})}),Pt=e.forwardRef((t,n)=>{const r=st(wt,t.__scopeDialog),o=e.useRef(!1),i=e.useRef(!1);return(0,d.jsx)(jt,{...t,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:e=>{t.onCloseAutoFocus?.(e),e.defaultPrevented||(o.current||r.triggerRef.current?.focus(),e.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:e=>{t.onInteractOutside?.(e),e.defaultPrevented||(o.current=!0,"pointerdown"===e.detail.originalEvent.type&&(i.current=!0));const n=e.target,a=r.triggerRef.current?.contains(n);a&&e.preventDefault(),"focusin"===e.detail.originalEvent.type&&i.current&&e.preventDefault()}})}),jt=e.forwardRef((t,n)=>{const{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,...c}=t,l=st(wt,r),s=e.useRef(null),u=f(n,s);return e.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??pe()),document.body.insertAdjacentElement("beforeend",e[1]??pe()),de++,()=>{1===de&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),de--}},[]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(K,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,d.jsx)(D,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":xt(l.open),...c,ref:u,onDismiss:()=>l.onOpenChange(!1)})}),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(Lt,{titleId:l.titleId}),(0,d.jsx)(kt,{contentRef:s,descriptionId:l.descriptionId})]})]})}),St="DialogTitle",Tt=e.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=st(St,n);return(0,d.jsx)(fe.h2,{id:o.titleId,...r,ref:t})});Tt.displayName=St;var Nt="DialogDescription";e.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=st(Nt,n);return(0,d.jsx)(fe.p,{id:o.descriptionId,...r,ref:t})}).displayName=Nt;var Rt="DialogClose";function xt(e){return e?"open":"closed"}e.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=st(Rt,n);return(0,d.jsx)(fe.button,{type:"button",...r,ref:t,onClick:l(e.onClick,()=>o.onOpenChange(!1))})}).displayName=Rt;var Ct="DialogTitleWarning",[_t,Dt]=function(t,n){const r=e.createContext(n),o=t=>{const{children:n,...o}=t,i=e.useMemo(()=>o,Object.values(o));return(0,d.jsx)(r.Provider,{value:i,children:n})};return o.displayName=t+"Provider",[o,function(o){const i=e.useContext(r);if(i)return i;if(void 0!==n)return n;throw new Error(`\`${o}\` must be used within \`${t}\``)}]}(Ct,{contentName:wt,titleName:St,docsSlug:"dialog"}),Lt=({titleId:t})=>{const n=Dt(Ct),r=`\`${n.contentName}\` requires a \`${n.titleName}\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \`${n.titleName}\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${n.docsSlug}`;return e.useEffect(()=>{t&&(document.getElementById(t)||console.error(r))},[r,t]),null},kt=({contentRef:t,descriptionId:n})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Dt("DialogDescriptionWarning").contentName}}.`;return e.useEffect(()=>{const e=t.current?.getAttribute("aria-describedby");n&&e&&(document.getElementById(n)||console.warn(r))},[r,t,n]),null},It=yt,Mt=ht,At=Et;const Ft=ut,Wt=function({children:t}){return(0,e.createElement)(It,null,(0,e.createElement)(Mt,{className:"plugin-selo-transparencia-modal-overlay"}),(0,e.createElement)(At,{className:"plugin-selo-transparencia-modal-content"},t))},Bt=Tt,$t=({openModal:t,assetsDirectoryUrl:n,themeDomain:r,configs:o,toogleModal:c})=>{const l=(0,i.useRef)(null),[s,u]=(0,i.useState)("1rem");(0,i.useEffect)(()=>{function e(e){l.current&&!l.current.contains(e.target)&&c(!1)}return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}},[]);
1const{typeSeal:f,informativeText:d,knowMore:p,images:m,defaultImages:y}=o,v=[{theme:"default",fontTitle:"1.571rem",fontDescription:"1rem",fontLink:"1.143rem"},{theme:"baru",fontTitle:"1.375rem",fontDescription:".875rem",fontLink:"1rem"}],h=v.find(e=>e.theme===r)||v.find(e=>"default"===e.theme),b=m?.image_popup?m?.image_popup:y?.sealBig?.url;return(0,e.createElement)(Ft,{open:t,className:t?"show":""},(0,e.createElement)(Bt,null),(0,e.createElement)(Wt,null,(0,e.createElement)("div",{className:"wp-block-wrapper-seal-modal "+(t?"show":"")},(0,e.createElement)("div",{className:"seal-modal-content",ref:l},(0,e.createElement)("div",{className:"seal-modal-header"},(0,e.createElement)("img",{className:"seal-modal-close",src:n+"svg/close.svg",alt:"X",onClick:()=>{c(!1)}}),(0,e.createElement)(a.LazyLoadImage,{wrapperClassName:"seal-modal-image-big",alt:"Selo de Transparência",effect:"blur",width:420,height:336,placeholderSrc:y?.sealBig?.url,src:b})),(0,e.createElement)("div",{className:"seal-modal-body"},(0,e.createElement)("div",{className:"seal-modal-body-content"},(0,e.createElement)("h2",{className:"seal-modal-title",style:{"--fontTitle":h.fontTitle}},"Somos Selo ",f.label," no Radar Nacional de Transparência Pública"),(0,e.createElement)("p",{className:"seal-modal-description",style:{"--fontDescription":h.fontDescription}},d)),(0,e.createElement)("div",{className:"seal-modal-button"},(0,e.createElement)("a",{href:p,target:"_blank",className:"seal-modal-button-link"},(0,e.createElement)("p",{className:"seal-modal-text-link",style:{"--fontLink":h.fontLink}}
1,"Saiba Mais"))))))))},{configs:Vt,assetsDirectoryUrl:Ut,themeDomain:zt}=pluginSelosTransparenciaObject,Kt=()=>{const[t,n]=(0,i.useState)(!1),r=e=>{n(e)};return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(c,{configs:Vt,assetsDirectoryUrl:Ut,toogleModal:r}),(0,e.createElement)($t,{openModal:t,assetsDirectoryUrl:Ut,configs:Vt,themeDomain:zt,toogleModal:r}))},Yt="undefined"!=typeof pluginSelosTransparenciaObject?pluginSelosTransparenciaObject:{},{configs:Xt={},assetsDirectoryUrl:qt="",themeDomain:Ht=""}=Yt,Zt={value:"short",label:"Curto"},Gt=e=>{const t=parseFloat(e);return Number.isNaN(t)?12:t},Jt=t=>{var n,r,o,c;const{containerRef:l}=t;if(!Xt?.typeSeal||!Xt?.knowMore||!Xt.mobileSettings)return null;const{mobileSettings:s,typeSeal:u,knoewMore:f}=Xt,[d,p]=(0,i.useState)(!1),m=(e=>e?"string"==typeof e?"wide"===e?{value:"wide",label:"Amplo"}:Zt:e:Zt)(s.size),y=Gt(null!==(n=s.border_radius)&&void 0!==n?n:12),v=Gt(null!==(r=s.distance_mobile)&&void 0!==r?r:16),h=null!==(o=s.unit_mobile)&&void 0!==o?o:"px",b=Gt(null!==(c=s.z_index_mobile)&&void 0!==c?c:99);(0,i.useEffect)(()=>{l&&(l.style.setProperty("--border-radius-selos",`${y}px`),l.style.setProperty("--distance-bottom-mobile",`${v}${h}`),l.style.setProperty("--z-index-mobile",`${b}`))},[l,y,v,h]);const g="wide"===m.value,w=`${qt}words/${g||"nucleoweb-2018"===Ht?"text-title-wide.svg":"text-title.svg"}`,E=Ht||"",O=Xt?.images?.image_mobile?Xt?.images?.image_mobile:Xt?.defaultImages?.sealMiniMobile?.url;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:`wp-block-nucleoweb-selos-transparencia-selo-transparencia model-${m.value} ${E}`,role:"button",tabIndex:0,"aria-label":"Abrir informações do Selo de Transparência",onClick:()=>{p(!0)},onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),p(!0))}},(0,e.createElement)("div",{className:"wrapper-selo-transparencia"},(0,e.createElement)("div",{className:"wrapper-texts"},(0,e.createElement)("img",{src:w,alt:"Radar Nacional de Transparência",className:"quality"})),(0,e.createElement)("div",{className:`seal-container ${u.value}`},(0,e.createElement)(a.LazyLoadImage,{wrapperClassName:"seal",alt:"Selo de Transparência",effect:"blur",width:44,height:44,placeholderSrc:Xt?.defaultImages?.sealMiniMobile?.url,src:O})))),(0,e.createElement)($t,{openModal:d,assetsDirectoryUrl:qt,themeDomain:Ht,configs:Xt,toogleModal:e=>{p(e)}}))},{configs:Qt,assetsDirectoryUrl:en,themeDomain:tn}=pluginSelosTransparenciaObject,nn=t=>{const{triggerElement:n}=t,[r,o]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(!n)return;const e=e=>{e.preventDefault(),o(!0)};return n.addEventListener("click",e),()=>{ref.removeEventListener("click",e)}},[n]),(0,e.createElement)(e.Fragment,null,(0,e.createElement)($t,{openModal:r,assetsDirectoryUrl:en,configs:Qt,themeDomain:tn,toogleModal:()=>o(!1)}))};r()(()=>{const t=document.createElement("div");t.className="plugin-selo-transparencia",document.body.appendChild(t);const n=document.createElement("div");n.className="plugin-selo-transparencia-mobile",document.body.appendChild(n),(0,i.render)((0,e.createElement)(Kt,null),t),
1(0,i.render)((0,e.createElement)(Jt,{containerRef:n}),n),(()=>{const t=document.querySelectorAll(".wp-block-nucleoweb-selos-transparencia-popup-selo-transparencia");t?.forEach((t,n)=>{if(!t)return;const r=document.createElement("div");r.className="popup-selo-transparencia-react-root popup-index-"+n,document.body.appendChild(r),(0,i.createRoot)(r).render((0,e.createElement)(nn,{triggerElement:t}))})})()})})()})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.