1(()=>{"use strict";var e,t,n={},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return n[e](a,a.exports,o),a.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 a=Object.create(null);o.r(a);var c={};e=e||[null,t({}),t([]),t(t)];for(var i=2&r&&n;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((e=>c[e]=()=>n[e]));return c.default=()=>n,o.d(a,c),a},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;const a=window.React;var c=o.t(a,2);const i=window.wp.domReady;var l=o.n(i);const u=window.wp.element,s=({configs:e,toogleModal:t,assetsDirectoryUrl:n})=>{const{typeSeal:r,unit:o,distance:c}=e,i=n+r.value+"/seal-mini.png",l=n+"words/text-title.svg",u=n+"words/"+r.value+".svg",s=[{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===r.value)).value,d=c+o;return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"wp-block-wrapper-seal-card",onClick:()=>{t(!0)},style:{top:d}},(0,a.createElement)("div",{className:"seal-card-title"},(0,a.createElement)("img",{src:l,alt:"TÃtulo"})),(0,a.createElement)("div",{className:"seal-card-content",style:{background:s}},(0,a.createElement)("img",{className:"seal-card-img",src:i,alt:"Selo de Transparência"}),(0,a.createElement)("div",{className:"seal-type-name"},(0,a.createElement)("img",{src:u,alt:"Selo",className:`seal-${r.value}`})))))};function d(){return d=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},d.apply(this,arguments)}function f(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function m(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}function p(...e){return(0,a.useCallback)(m(...e),e)}function v(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const r=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return(0,a.useMemo)((()=>({[`__scope${t.scopeName}`]:r})),[r])}};return n.scopeName=t.scopeName,n}const g=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?a.useLayoutEffect:()=>{},h=c["useId".toString()]||(()=>{});let E=0;function y(e){const[t,n]=a.useState(h());return g((()=>{e||n((e=>null!=e?e:String(E++)))}),[e]),e||(t?`radix-${t}`:"")}function b(e){const t=(0,a.useRef)(e);return(0,a.useEffect)((()=>{t.current=e})),(0,a.useMemo)((()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)}),[])}const w=window.ReactDOM,N=(0,a.forwardRef)(((e,t)=>{const{children:n,...r}=e,o=a.Children.toArray(n),c=o.find(O);if(c){const e=c.props.children,n=o.map((t=>t===c?a.Children.count(e)>1?a.Children.only(null):(0,a.isValidElement)(e)?e.props.children:null:t));return(0,a.createElement)(C,d({},r,{ref:t}),(0,a.isValidElement)(e)?(0,a.cloneElement)(e,void 0,n):null)}return(0,a.createElement)(C,d({},r,{ref:t}),n)}));N.displayName="Slot";const C=(0,a.forwardRef)(((e,t)=>{const{children:n,...r}=e;return(0,a.isValidElement)(n)?(0,a.cloneElement)(n,{...T(r,n.props),ref:t?m(t,n.ref):n.ref}):a.Children.count(n)>1?a.Children.only(null):null}));C.displayName="SlotClone";const S=({children:e})=>(0,a.createElement)(a.Fragment,null,e);function O(e){return(0,a.isValidElement)(e)&&e.type===S}function T(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...e)=>{a(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...a}
1:"className"===r&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}const D=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>{const n=(0,a.forwardRef)(((e,n)=>{const{asChild:r,...o}=e,c=r?N:t;return(0,a.useEffect)((()=>{window[Symbol.for("radix-ui")]=!0}),[]),(0,a.createElement)(c,d({},o,{ref:n}))}));return n.displayName=`Primitive.${t}`,{...e,[t]:n}}),{}),P="dismissableLayer.update";let M;const R=(0,a.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),k=(0,a.forwardRef)(((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:c,onFocusOutside:i,onInteractOutside:l,onDismiss:u,...s}=e,m=(0,a.useContext)(R),[v,g]=(0,a.useState)(null),h=null!==(n=null==v?void 0:v.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,E]=(0,a.useState)({}),y=p(t,(e=>g(e))),w=Array.from(m.layers),[N]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),C=w.indexOf(N),S=v?w.indexOf(v):-1,O=m.layersWithOutsidePointerEventsDisabled.size>0,T=S>=C,k=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=b(e),r=(0,a.useRef)(!1),o=(0,a.useRef)((()=>{}));return(0,a.useEffect)((()=>{const e=e=>{if(e.target&&!r.current){const a={originalEvent:e};function c(){L("dismissableLayer.pointerDownOutside",n,a,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}((e=>{const t=e.target,n=[...m.branches].some((e=>e.contains(t)));T&&!n&&(null==c||c(e),null==l||l(e),e.defaultPrevented||null==u||u())}),h),x=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=b(e),r=(0,a.useRef)(!1);return(0,a.useEffect)((()=>{const e=e=>{e.target&&!r.current&&L("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}((e=>{const t=e.target;[...m.branches].some((e=>e.contains(t)))||(null==i||i(e),null==l||l(e),e.defaultPrevented||null==u||u())}),h);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=b(e);(0,a.useEffect)((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)}),[n,t])}((e=>{S===m.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&u&&(e.preventDefault(),u()))}),h),(0,a.useEffect)((()=>{if(v)return r&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(M=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(v)),m.layers.add(v),A(),()=>{r&&1===m.layersWithOutsidePointerEventsDisabled.size&&(h.body.style.pointerEvents=M)}}),[v,h,r,m]),(0,a.useEffect)((()=>()=>{v&&(m.layers.delete(v),m.layersWithOutsidePointerEventsDisabled.delete(v),A())}),[v,m]),(0,a.useEffect)((()=>{const e=()=>E({});return document.addEventListener(P,e),()=>document.removeEventListener(P,e)}),[]),(0,a.createElement)(D.div,d({},s,{ref:y,style:{pointerEvents:O?T?"auto":"none":void 0,...e.style},onFocusCapture:f(e.onFocusCapture,x.onFocusCapture),onBlurCapture:f(e.onBlurCapture,x.onBlurCapture),onPointerDownCapture:f(e.onPointerDownCapture,k.onPointerDownCapture)}))}));function A(){const e=new CustomEvent(P);document.dispatchEvent(e)}function L(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?function(e,t){e&&(0,w.flushSync)((()=>e.dispatchEvent(t)))}(o,a):o.dispatchEvent(a)}const x="focusScope.autoFocusOnMount",F="focusScope.autoFocusOnUnmount",_={bubbles:!1,cancelable:!0},I=(0,a.forwardRef)(((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:c,...i}=e,[l,u]=(0,a.useState)(null),s=b(o),f=b(c),m=(0,a.useRef)(null),v=p(t,(e=>u(e))),g=(0,a.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,a.useEffect)((()=>
1{if(r){function e(e){if(g.paused||!l)return;const t=e.target;l.contains(t)?m.current=t:B(m.current,{select:!0})}function t(e){if(g.paused||!l)return;const t=e.relatedTarget;null!==t&&(l.contains(t)||B(m.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&B(l)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const o=new MutationObserver(n);return l&&o.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),o.disconnect()}}}),[r,l,g.paused]),(0,a.useEffect)((()=>{if(l){$.add(g);const e=document.activeElement;if(!l.contains(e)){const t=new CustomEvent(x,_);l.addEventListener(x,s),l.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(B(r,{select:t}),document.activeElement!==n)return}(j(l).filter((e=>"A"!==e.tagName)),{select:!0}),document.activeElement===e&&B(l))}return()=>{l.removeEventListener(x,s),setTimeout((()=>{const t=new CustomEvent(F,_);l.addEventListener(F,f),l.dispatchEvent(t),t.defaultPrevented||B(null!=e?e:document.body,{select:!0}),l.removeEventListener(F,f),$.remove(g)}),0)}}}),[l,s,f,g]);const h=(0,a.useCallback)((e=>{if(!n&&!r)return;if(g.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[r,a]=function(e){const t=j(e);return[W(t,e),W(t.reverse(),e)]}(t);r&&a?e.shiftKey||o!==a?e.shiftKey&&o===r&&(e.preventDefault(),n&&B(a,{select:!0})):(e.preventDefault(),n&&B(r,{select:!0})):o===t&&e.preventDefault()}}),[n,r,g.paused]);return(0,a.createElement)(D.div,d({tabIndex:-1},i,{ref:v,onKeyDown:h}))}));function j(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 W(e,t){for(const n of e)if(!U(n,{upTo:t}))return n}function U(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 B(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()}}const $=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=K(e,t),e.unshift(t)},remove(t){var n;e=K(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function K(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const X=(0,a.forwardRef)(((e,t)=>{var n;const{container:r=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...o}=e;return r?w.createPortal((0,a.createElement)(D.div,d({},o,{ref:t})),r):null})),z=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=(0,a.useState)(),r=(0,a.useRef)({}),o=(0,a.useRef)(e),c=(0,a.useRef)("none"),i=e?"mounted":"unmounted",[l,u]=function(e,t){return(0,a.useReducer)(((e,n)=>{const r=t[e][n];return null!=r?r:e}),e)}(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,a.useEffect)((()=>{const e=Y(r.current);c.current="mounted"===l?e:"none"}),[l]),g((()=>{const t=r.current,n=o.current;if(n!==e){const r=c.current,a=Y(t);e?u("MOUNT"):"none"===a||"none"===(null==t?void 0:t.display)?u("UNMOUNT"):u(n&&r!==a?"ANIMATION_OUT":"UNMOUNT"),o.current=e}}),[e,u]),g((()=>{if(t){const e=e=>{const n=Y(r.current).includes(e.animationName);e.target===t&&n&&(0,w.flushSync)((()=>u("ANIMATION_END")))},n=e=>{e.target===t&&(c.current=Y(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}u("ANIMATION_END")}),[t,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:(0,a.useCallback)((e=>{e&&(r.current=getComputedStyle(e)),n(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):a.Children.only(n),c=p(r.ref,o.ref);return"function"==typeof n||r.isPresent?(0,a.cloneElement)(o,{ref:c}):null};function Y(e){return(null==e?void 0:e.animationName)||"none"}z.displayName="Presence";let Z=0;function q(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var H=function(){return H=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},H.apply(this,arguments)};function V(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 G="right-scroll-bar-position",J="width-before-scroll-bar";function Q(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var ee="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,te=ne
vendor: 6,618 bytes, line 1
1w WeakMap;function ne(e){return e}var re=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=ne);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 a=function(){var n=t;t=[],n.forEach(e)},c=function(){return Promise.resolve().then(a)};c(),n={push:function(e){t.push(e),c()},filter:function(e){return t=t.filter(e),n}}}}}(null);return t.options=H({async:!0,ssr:!1},e),t}(),oe=function(){},ae=a.forwardRef((function(e,t){var n=a.useRef(null),r=a.useState({onScrollCapture:oe,onWheelCapture:oe,onTouchMoveCapture:oe}),o=r[0],c=r[1],i=e.forwardProps,l=e.children,u=e.className,s=e.removeScrollBar,d=e.enabled,f=e.shards,m=e.sideCar,p=e.noIsolation,v=e.inert,g=e.allowPinchZoom,h=e.as,E=void 0===h?"div":h,y=V(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=m,w=function(e,t){var n,r,o,c=(n=t||null,r=function(t){return e.forEach((function(e){return Q(e,t)}))},(o=(0,a.useState)((function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}}))[0]).callback=r,o.facade);return ee((function(){var t=te.get(c);if(t){var n=new Set(t),r=new Set(e),o=c.current;n.forEach((function(e){r.has(e)||Q(e,null)})),r.forEach((function(e){n.has(e)||Q(e,o)}))}te.set(c,e)}),[e]),c}([n,t]),N=H(H({},y),o);return a.createElement(a.Fragment,null,d&&a.createElement(b,{sideCar:re,removeScrollBar:s,shards:f,noIsolation:p,inert:v,setCallbacks:c,allowPinchZoom:!!g,lockRef:n}),i?a.cloneElement(a.Children.only(l),H(H({},N),{ref:w})):a.createElement(E,H({},N,{className:u,ref:w}),l))}));ae.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ae.classNames={fullWidth:J,zeroRight:G};var ce=function(e){var t=e.sideCar,n=V(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return a.createElement(r,H({},n))};ce.isSideCarExport=!0;var ie=function(){var e=0,t=null;return{add:function(n){var r,a;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}())&&(a=n,(r=t).styleSheet?r.styleSheet.cssText=a:r.appendChild(document.createTextNode(a)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},le=function(){var e,t=(e=ie(),function(t,n){a.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},ue={left:0,top:0,right:0,gap:0},se=function(e){return parseInt(e||"",10)||0},de=le(),fe="data-scroll-locked",me=function(e,t,n,r){var o=e.left,a=e.top,c=e.right,i=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(i,"px ").concat(r,";\n }\n body[").concat(fe,"] {\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(a,"px;\n padding-right: ").concat(c,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(i,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(i,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(G," {\n right: ").concat(i,"px ").concat(r,";\n }\n \n .").concat(J," {\n margin-right: ").concat(i,"px ").concat(r,";\n }\n \n .").concat(G," .").concat(G," {\n right: 0 ").concat(r,";\n }\n \n .").concat(J," .").concat(J," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(fe,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(i,"px;\n }\n")},pe=function(){var e=parseInt(document.body.getAttribute(fe)||"0",10);return isFinite(e)?e:0},ve=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;a.useEffect((function(){return document.body.setAttribute(fe,(pe()+1).toString()),function(){var e=pe()-1;e<=0?document.body.removeAttribute(fe):document.body.setAttribute(fe,e.toString())}}),[]);var c=a.useMemo((function(){return function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return ue;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[se(n),se(r),se(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])}}(o)}),[o]);return a.createElement(de,{styles:me(c,!t,o,n?"":"!important")})},ge=!1;if("undefined"!=typeof window)try{var he=Object.defineProperty({},"passive",{get:function(){return ge=!0,!0}});window.addEventListener("test",he,he),window.removeEventListener("test",he,he)}catch(e){ge=!1}var Ee=!!ge&&{passive:!1},ye=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},be=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),we(e,n)){var r=Ne(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},we=function(e,t){return"v"===e?function(e){return ye(e,"overflowY")}(t):function(e){return ye(e,"overflowX")}(t)},Ne=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},Ce=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Se=function(e){return[e.deltaX,e.deltaY]},Oe=function(e){return e&&"current"in e?e.current:e},Te=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},De=0,Pe=[];const Me=(Re=function(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(De++)[0],c=a.use
vendor: 4,435 bytes, line 1
1State((function(){return le()}))[0],i=a.useRef(e);a.useEffect((function(){i.current=e}),[e]),a.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;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))}([e.lockRef.current],(e.shards||[]).map(Oe),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var l=a.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!i.current.allowPinchZoom;var o,a=Ce(e),c=n.current,l="deltaX"in e?e.deltaX:c[0]-a[0],u="deltaY"in e?e.deltaY:c[1]-a[1],s=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=be(d,s);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=be(d,s)),!f)return!1;if(!r.current&&"changedTouches"in e&&(l||u)&&(r.current=o),!o)return!0;var m=r.current||o;return function(e,t,n,r,o){var a=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),c=a*r,i=n.target,l=t.contains(i),u=!1,s=c>0,d=0,f=0;do{var m=Ne(e,i),p=m[0],v=m[1]-m[2]-a*p;(p||v)&&we(e,i)&&(d+=v,f+=p),i=i.parentNode}while(!l&&i!==document.body||l&&(t.contains(i)||t===i));return(s&&(0===d||!1)||!s&&(0===f||!1))&&(u=!0),u}(m,t,e,"h"===m?l:u)}),[]),u=a.useCallback((function(e){var n=e;if(Pe.length&&Pe[Pe.length-1]===c){var r="deltaY"in n?Se(n):Ce(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o}))[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var a=(i.current.shards||[]).map(Oe).filter(Boolean).filter((function(e){return e.contains(n.target)}));(a.length>0?l(n,a[0]):!i.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),s=a.useCallback((function(e,n,r,o){var a={name:e,delta:n,target:r,should:o};t.current.push(a),setTimeout((function(){t.current=t.current.filter((function(e){return e!==a}))}),1)}),[]),d=a.useCallback((function(e){n.current=Ce(e),r.current=void 0}),[]),f=a.useCallback((function(t){s(t.type,Se(t),t.target,l(t,e.lockRef.current))}),[]),m=a.useCallback((function(t){s(t.type,Ce(t),t.target,l(t,e.lockRef.current))}),[]);a.useEffect((function(){return Pe.push(c),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener("wheel",u,Ee),document.addEventListener("touchmove",u,Ee),document.addEventListener("touchstart",d,Ee),function(){Pe=Pe.filter((function(e){return e!==c})),document.removeEventListener("wheel",u,Ee),document.removeEventListener("touchmove",u,Ee),document.removeEventListener("touchstart",d,Ee)}}),[]);var p=e.removeScrollBar,v=e.inert;return a.createElement(a.Fragment,null,v?a.createElement(c,{styles:Te(o)}):null,p?a.createElement(ve,{gapMode:"margin"}):null)},re.useMedium(Re),ce);var Re,ke=a.forwardRef((function(e,t){return a.createElement(ae,H({},e,{ref:t,sideCar:Me}))}));ke.classNames=ae.classNames;const Ae=ke;var Le=new WeakMap,xe=new WeakMap,Fe={},_e=0,Ie=function(e){return e&&(e.host||Ie(e.parentNode))},je=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]"))),function(e,t,n,r){var o=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=Ie(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]);Fe[n]||(Fe[n]=new WeakMap);var a=Fe[n],c=[],i=new Set,l=new Set(o),u=function(e){e&&!i.has(e)&&(i.add(e),u(e.parentNode))};o.forEach(u);var s=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(i.has(e))s(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(Le.get(e)||0)+1,u=(a.get(e)||0)+1;Le.set(e,l),a.set(e,u),c.push(e),1===l&&o&&xe.set(e,!0),1===u&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}}))};
1return s(t),i.clear(),_e++,function(){c.forEach((function(e){var t=Le.get(e)-1,o=a.get(e)-1;Le.set(e,t),a.set(e,o),t||(xe.has(e)||e.removeAttribute(r),xe.delete(e)),o||e.removeAttribute(n)})),--_e||(Le=new WeakMap,Le=new WeakMap,xe=new WeakMap,Fe={})}}(r,o,n,"aria-hidden")):function(){return null}};const We="Dialog",[Ue,Be]=function(e,t=[]){let n=[];const r=()=>{const t=n.map((e=>(0,a.createContext)(e)));return function(n){const r=(null==n?void 0:n[e])||t;return(0,a.useMemo)((()=>({[`__scope${e}`]:{...n,[e]:r}})),[n,r])}};return r.scopeName=e,[function(t,r){const o=(0,a.createContext)(r),c=n.length;function i(t){const{scope:n,children:r,...i}=t,l=(null==n?void 0:n[e][c])||o,u=(0,a.useMemo)((()=>i),Object.values(i));return(0,a.createElement)(l.Provider,{value:u},r)}return n=[...n,r],i.displayName=t+"Provider",[i,function(n,i){const l=(null==i?void 0:i[e][c])||o,u=(0,a.useContext)(l);if(u)return u;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},v(r,...t)]}(We),[$e,Ke]=Ue(We),Xe="DialogPortal",[ze,Ye]=Ue(Xe,{forceMount:void 0}),Ze="DialogOverlay",qe=(0,a.forwardRef)(((e,t)=>{const n=Ye(Ze,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,c=Ke(Ze,e.__scopeDialog);return c.modal?(0,a.createElement)(z,{present:r||c.open},(0,a.createElement)(He,d({},o,{ref:t}))):null})),He=(0,a.forwardRef)(((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ke(Ze,n);return(0,a.createElement)(Ae,{as:N,allowPinchZoom:!0,shards:[o.contentRef]},(0,a.createElement)(D.div,d({"data-state":tt(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))})),Ve="DialogContent",Ge=(0,a.forwardRef)(((e,t)=>{const n=Ye(Ve,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,c=Ke(Ve,e.__scopeDialog);return(0,a.createElement)(z,{present:r||c.open},c.modal?(0,a.createElement)(Je,d({},o,{ref:t})):(0,a.createElement)(Qe,d({},o,{ref:t})))})),Je=(0,a.forwardRef)(((e,t)=>{const n=Ke(Ve,e.__scopeDialog),r=(0,a.useRef)(null),o=p(t,n.contentRef,r);return(0,a.useEffect)((()=>{const e=r.current;if(e)return je(e)}),[]),(0,a.createElement)(et,d({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:f(e.onCloseAutoFocus,(e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()})),onPointerDownOutside:f(e.onPointerDownOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()})),onFocusOutside:f(e.onFocusOutside,(e=>e.preventDefault()))}))})),Qe=(0,a.forwardRef)(((e,t)=>{const n=Ke(Ve,e.__scopeDialog),r=(0,a.useRef)(!1),o=(0,a.useRef)(!1);return(0,a.createElement)(et,d({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var a,c;null===(a=e.onCloseAutoFocus)||void 0===a||a.call(e,t),t.defaultPrevented||(r.current||null===(c=n.triggerRef.current)||void 0===c||c.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{var a,c;null===(a=e.onInteractOutside)||void 0===a||a.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const i=t.target;(null===(c=n.triggerRef.current)||void 0===c?void 0:c.contains(i))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))})),et=(0,a.forwardRef)(((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:c,...i}=e,l=Ke(Ve,n),u=p(t,(0,a.useRef)(null));return(0,a.useEffect)((()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:q()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:q()),Z++,()=>{1===Z&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),Z--}}),[]),(0,a.createElement)(a.Fragment,null,(0,a.createElement)(I,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:c},(0,a.createElement)(k,d({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":tt(l.open)},i,{ref:u,onDismiss:()=>l.onOpenChange(!1)}))),!1)}));function tt(e){return e?"open":"closed"}const[nt,rt]=function(e,t){const n=(0,a.createContext)(t);function r(e){const{children:t,...r}=e,o=(0,a.useMemo)((()=>r),Object.values(r));return(0,a.createElement)(n.Provider,{value:o},t)}return r.displayName=e+"Provider",[r,function(r){const o=(0,a.useContext)(n);if(o)return o;if(void 0!==t)return t;throw new Error(`\`${r}\` must be used within \`${e}\``)}]}("DialogTitleWarning",{contentName:Ve,titleName:"DialogTitle",docsSlug:"dialog"}),ot=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,c=Ke(Xe,t);return(0,a.createElement)(ze,{scope:t,forceMount:n},a.Children.map(r,(e=>(0,a.createElement)(z,{present:n||c.open},(0,a.createElement)(X,{asChild:!0,container:o},e)))))},at=qe,ct=Ge,it=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:c,modal:i=!0}=e,l=(0,a.useRef)(null),u=(0,a.useRef)(null),[s=!1,d]=function({prop:e,defaultProp:t,onChange:n=(()=>{})}){const[r,o]=function({defaultProp:e,onChange:t}){const n=(0,a.useState)(e),[r]=n,o=(0,a.useRef)(r),c=b(t);return(0,a.useEffect)((()=>{o.current!==r&&(c(r),o.current=r)}),[r,o,c]),n}({defaultProp:t,onChange:n}),c=void 0!==e,i=c?e:r,l=b(n);return[i,(0,a.useCallback)((t=>{if(c){const n="function"==typeof t?t(e):t;n!==e&&l(n)}else o(t)}),[c,e,o,l])]}({prop:r,defaultProp:o,onChange:c});return(0,a.createElement)($e,{scope:t,triggerRef:l,contentRef:u,contentId:y(),titleId:y(),descriptionId:y(),open:s,onOpenChange:d,onOpenToggle:(0,a.useCallback)((()=>d((e=>!e))),[d]),modal:i},n)},lt=function({children:e}){return(0,a.createElement)(ot,null,(0,a.createElement)(at,{className:"plugin-selo-transparencia-modal-overlay"}),(0,a.createElement)(ct,{className:"plugin-selo-transparencia-modal-content"},e))},ut=({openModal:e,assetsDirectoryUrl:t,themeDomain:n,configs:r,toogleModal:o})=>{const c=(0,u.useRef)(null),[i,l]=(0,u.useState)("1rem");(0,u.useEffect)((()=>{function e(e){c.current&&!c.current.contains(e.target)&&o(!1)}return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[]);const{typeSeal:s,informativeText:d,knowMore:f}=r,m=[{theme:"default",fontTitle:"1.571rem",fontDescription:"1rem",fontLink:"1.143rem"},{theme:"baru",fontTitle:"1.375rem",fontDescription:".875rem",fontLink:"1rem"}],p=m.find((e=>e.theme===n))||m.find((e=>"default"===e.theme));return(0,a.createElement)(it,{open:e,className:e?"show":""},(0,a.createElement)(lt,null,(0,a.createElement)("div",{className:"wp-block-wrapper-seal-modal "+(e?"show":"")},(0,a.createElement)("div",{className:"seal-modal-content",ref:c},(0,a.createElement)("div",{className:"seal-modal-header"},(0,a.createElement)("img",{className:"seal-modal-close",src:t+"svg/close.svg",alt:"X",onClick:()=>{o(!1)}}),(0,a.createElement)("img",{className:"seal-modal-image-big",src:t+s.value+"/seal-big.jpg",alt:"Selo de Transparência"})),(0,a.createElement)("div",{className:"seal-modal-body"},(0,a.createElement)("div",{className:"seal-modal-body-content"},(0,a.createElement)("h2",{className:"seal-modal-title",style:{"--fontTitle":p.fontTitle}},"Somos Selo ",s.label," no Radar Nacional de Transparência Pública"),(0,a.createElement)("p",{className:"seal-modal-description",style:{"--fontDescription":p.fontDescription}},d)),(0,a.createElement)("div",{className:"seal-modal-button"},(0,a.createElement)("a",{href:f,target:"_blank",className:"seal-modal-button-link"},(0,a.createElement)("p",{className:"seal-modal-text-link",style:{"--fontLink":p.fontLink}}
1,"Saiba Mais"))))))))},{configs:st,assetsDirectoryUrl:dt,themeDomain:ft}=pluginSelosTransparenciaObject,mt=()=>{const[e,t]=(0,u.useState)(!1),n=e=>{t(e)};return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(s,{configs:st,assetsDirectoryUrl:dt,toogleModal:n}),(0,a.createElement)(ut,{openModal:e,assetsDirectoryUrl:dt,configs:st,themeDomain:ft,toogleModal:n}))},pt="undefined"!=typeof pluginSelosTransparenciaObject?pluginSelosTransparenciaObject:{},{configs:vt={},assetsDirectoryUrl:gt="",themeDomain:ht=""}=pt,Et={value:"short",label:"Curto"},yt=()=>{var e;if(!vt?.typeSeal||!vt?.knowMore)return null;const[t,n]=(0,u.useState)(!1),r=(e=>e?"string"==typeof e?"wide"===e?{value:"wide",label:"Amplo"}:Et:e:Et)(vt.size),o=(e=>{const t=parseFloat(e);return Number.isNaN(t)?12:t})(null!==(e=vt.borderRadius)&&void 0!==e?e:12),c=vt.typeSeal,i=(vt.knowMore,"wide"===r.value),l=`${gt}words/${i||"nucleoweb-2018"===ht?"text-title-wide.svg":"text-title.svg"}`,s=vt?.images?.image_mobile||`${gt}${c.value}/seal-mini-mobile.png`,d=ht||"";return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:`wp-block-nucleoweb-selos-transparencia-selo-transparencia model-${r.value} ${d}`,style:{"--border-radius-selos":`${o}px`},role:"button",tabIndex:0,"aria-label":"Abrir informações do Selo de Transparência",onClick:()=>{n(!0)},onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),n(!0))}},(0,a.createElement)("div",{className:"wrapper-selo-transparencia"},(0,a.createElement)("div",{className:"wrapper-texts"},(0,a.createElement)("img",{src:l,alt:"Radar Nacional de Transparência",className:"quality"})),(0,a.createElement)("div",{className:`seal-container ${c.value}`},(0,a.createElement)("img",{src:s,alt:"Selo de Transparência",className:"seal"})))),(0,a.createElement)(ut,{openModal:t,assetsDirectoryUrl:gt,themeDomain:ht,configs:vt,toogleModal:e=>{n(e)}}))};l()((()=>{const e=document.createElement("div");e.className="plugin-selo-transparencia",document.body.appendChild(e);const t=document.createElement("div");t.className="plugin-selo-transparencia-mobile",document.body.appendChild(t),(0,u.render)((0,a.createElement)(mt,null),e),(0,u.render)((0,a.createElement)(yt,null),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.