function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function(){return a};var a={},t=Object.prototype,u=t.hasOwnProperty,s=Object.defineProperty||function(t,e,n){t[e]=n.value},e="function"==typeof Symbol?Symbol:{},r=e.iterator||"@@iterator",n=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag";function i(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{i({},"")}catch(t){i=function(t,e,n){return t[e]=n}}function c(t,e,n,r){var o,i,a,c,e=e&&e.prototype instanceof d?e:d,e=Object.create(e.prototype),r=new E(r||[]);return s(e,"_invoke",{value:(o=t,i=n,a=r,c="suspendedStart",function(t,e){if("executing"===c)throw new Error("Generator is already running");if("completed"===c){if("throw"===t)throw e;return x()}for(a.method=t,a.arg=e;;){var n=a.delegate;if(n){n=function t(e,n){var r=n.method,o=e.iterator[r];if(void 0===o)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=void 0,t(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;r=l(o,e.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,f;o=r.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,f):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,f)}(n,a);if(n){if(n===f)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===c)throw c="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c="executing";n=l(o,i,a);if("normal"===n.type){if(c=a.done?"completed":"suspendedYield",n.arg===f)continue;return{value:n.arg,done:a.done}}"throw"===n.type&&(c="completed",a.method="throw",a.arg=n.arg)}})}),e}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}a.wrap=c;var f={};function d(){}function v(){}function p(){}var e={},h=(i(e,r,function(){return this}),Object.getPrototypeOf),h=h&&h(h(T([]))),m=(h&&h!==t&&u.call(h,r)&&(e=h),p.prototype=d.prototype=Object.create(e));function y(t){["next","throw","return"].forEach(function(e){i(t,e,function(t){return this._invoke(e,t)})})}function g(a,c){var e;s(this,"_invoke",{value:function(n,r){function t(){return new c(function(t,e){!function e(t,n,r,o){var i,t=l(a[t],a,n);if("throw"!==t.type)return(n=(i=t.arg).value)&&"object"==_typeof(n)&&u.call(n,"__await")?c.resolve(n.__await).then(function(t){e("next",t,r,o)},function(t){e("throw",t,r,o)}):c.resolve(n).then(function(t){i.value=t,r(i)},function(t){return e("throw",t,r,o)});o(t.arg)}(n,r,t,e)})}return e=e?e.then(t,t):t()}})}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function b(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function T(e){if(e){var n,t=e[r];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return n=-1,(t=function t(){for(;++nt.length)&&(e=t.length);for(var n=0,r=new Array(e);ni&&(clearInterval(n),e(null))},a)}));case 5:case"end":return t.stop()}},t)}))}var it=["lojasrede","drogariavenancio"];function at(){return n(this,void 0,void 0,_regeneratorRuntime().mark(function t(){var r;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e=void 0,e=f().accountName,n=(n=window.location.pathname).includes("/search")||n.includes("/pesquisa"),null!=e&&it.includes(e)&&n)return t.next=3,ot(function(){var t;return null==(t=document.querySelector("impulse-search"))?void 0:t.shadowRoot});t.next=6;break;case 3:t.t0=t.sent,t.next=9;break;case 6:return t.next=8,ot(function(){return document.body});case 8:t.t0=t.sent;case 9:return r=t.t0,t.abrupt("return",r);case 11:case"end":return t.stop()}var e,n},t)}))}function ct(i,a){var c=window.history[i];return function(){for(var t=arguments.length,e=new Array(t),n=0;nn.value&&(n.value=r,n.entries=o,e())}var e,n=E("CLS",0),r=0,o=[],i=T("layout-shift",t);i&&(e=x(a,n,It,c.reportAllChanges),_(function(){t(i.takeRecords()),e(!0)}),g(function(){n=E("CLS",r=0),e=x(a,n,It,c.reportAllChanges),I(function(){return e()})}),setTimeout(e,0))}))}function yt(t){t.forEach(function(t){t.interactionId&&(k=Math.min(k,t.interactionId),A=Math.max(A,t.interactionId),_t=A?(A-k)/7+1:0)})}function gt(i,a){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(a=a||{},j(function(){var t;St();function e(e){Nt(function(){e.forEach(At);var t=jt();t&&t.latency!==n.value&&(n.value=t.latency,n.entries=t.entries,o())})}var n=E("INP"),r=T("event",e,{durationThreshold:null!=(t=a.durationThreshold)?t:40}),o=x(i,n,Ct,a.reportAllChanges);r&&(r.observe({type:"first-input",buffered:!0}),_(function(){e(r.takeRecords()),o(!0)}),g(function(){Ot=Lt(),N.length=0,C.clear(),n=E("INP"),o=x(i,n,Ct,a.reportAllChanges)}))}))}function wt(a,c){c=c||{},j(function(){function t(t){(t=c.reportAllChanges?t:t.slice(-1)).forEach(function(t){t.startTimer[1]?"poor":t>r[0]?"needs-improvement":"good",e(n))}},I=function(t){requestAnimationFrame(function(){return requestAnimationFrame(function(){return t()})})},_=function(t){document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&t()})},L=function(t){var e=!1;return function(){e||(t(),e=!0)}},S=-1,O=function(t){"hidden"===document.visibilityState&&-1n.latency)&&(t?e.duration>t.latency?(t.entries=[e],t.latency=e.duration):e.duration===t.latency&&e.startTime===t.entries[0].startTime&&t.entries.push(e):(n={id:e.interactionId,latency:e.duration,entries:[e]},C.set(n.id,n),N.push(n)),N.sort(function(t,e){return e.latency-t.latency}),10