1import"./lib.E3TNULC6.js";var a=[];var G=function(){return a.some(function(e){return e.activeTargets.length>0})};var J=function(){return a.some(function(e){return e.skippedTargets.length>0})};var U="ResizeObserver loop completed with undelivered notifications.",Y=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:U}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=U),window.dispatchEvent(e)};var f;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(f||(f={}));var v=function(e){return Object.freeze(e)};var k=(function(){function e(r,t){this.inlineSize=r,this.blockSize=t,v(this)}return e})();var A=(function(){function e(r,t,i,o){return this.x=r,this.y=t,this.width=i,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,v(this)}return e.prototype.toJSON=function(){var r=this,t=r.x,i=r.y,o=r.top,s=r.right,n=r.bottom,h=r.left,d=r.width,u=r.height;return{x:t,y:i,top:o,right:s,bottom:n,left:h,width:d,height:u}},e.fromRect=function(r){return new e(r.x,r.y,r.width,r.height)},e})();var m=function(e){return e instanceof SVGElement&&"getBBox"in e},O=function(e){if(m(e)){var r=e.getBBox(),t=r.width,i=r.height;return!t&&!i}var o=e,s=o.offsetWidth,n=o.offsetHeight;return!(s||n||e.getClientRects().length)},N=function(e){var r;if(e instanceof Element)return!0;var t=(r=e==null?void 0:e.ownerDocument)===null||r===void 0?void 0:r.defaultView;return!!(t&&e instanceof t.Element)},K=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1};var p=typeof window!="undefined"?window:{};var R=new WeakMap,Q=/auto|scroll/,be=/^tb|vertical/,me=/msie|trident/i.test(p.navigator&&p.navigator.userAgent),c=function(e){return parseFloat(e||"0")},l=function(e,r,t){return e===void 0&&(e=0),r===void 0&&(r=0),t===void 0&&(t=!1),new k((t?r:e)||0,(t?e:r)||0)},Z=v({devicePixelContentBoxSize:l(),borderBoxSize:l(),contentBoxSize:l(),contentRect:new A(0,0,0,0)}),M=function(e,r){if(r===void 0&&(r=!1),R.has(e)&&!r)return R.get(e);if(O(e))return R.set(e,Z),Z;var t=getComputedStyle(e),i=m(e)&&e.ownerSVGElement&&e.getBBox(),o=!me&&t.boxSizing==="border-box",s=be.test(t.writingMode||""),n=!i&&Q.test(t.overflowY||""),h=!i&&Q.test(t.overflowX||""),d=i?0:c(t.paddingTop),u=i?0:c(t.paddingRight),S=i?0:c(t.paddingBottom),b=i?0:c(t.paddingLeft),ve=i?0:c(t.borderTopWidth),ce=i?0:c(t.borderRightWidth),ue=i?0:c(t.borderBottomWidth),fe=i?0:c(t.borderLeftWidth),F=b+u,H=d+S,C=fe+ce,D=ve+ue,V=h?e.offsetHeight-D-e.clientHeight:0,X=n?e.offsetWidth-C-e.clientWidth:0,pe=o?F+C:0,he=o?H+D:0,x=i?i.width:c(t.width)-pe-X,z=i?i.height:c(t.height)-he-V,de=x+F+X+C,le=z+H+V+D,q=v({devicePixelContentBoxSize:l(Math.round(x*devicePixelRatio),Math.round(z*devicePixelRatio),s),borderBoxSize:l(de,le,s),contentBoxSize:l(x,z,s),contentRect:new A(b,d,x,z)});return R.set(e,q),q},E=function(e,r,t){var i=M(e,t),o=i.borderBoxSize,s=i.contentBoxSize,n=i.devicePixelContentBoxSize;switch(r){case f.DEVICE_PIXEL_CONTENT_BOX:return n;case f.BORDER_BOX:return o;default:return s}};var P=(function(){function e(r){var t=M(r);this.target=r,this.contentRect=t.contentRect,this.borderBoxSize=v([t.borderBoxSize]),this.contentBoxSize=v([t.contentBoxSize]),this.devicePixelContentBoxSize=v([t.devicePixelContentBoxSize])}return e})();var w=function(e){if(O(e))return 1/0;for(var r=0,t=e.parentNode;t;)r+=1,t=t.parentNode;return r};var $=function(){var e=1/0,r=[];a.forEach(function(n){if(n.activeTargets.length!==0){var h=[];n.activeTargets.forEach(function(u){var S=new P(u.target),b=w(u.target);h.push(S),u.lastReportedSize=E(u.target,u.observedBox),b<e&&(e=b)}),r.push(function(){n.callback.call(n.observer,h,n.observer)}),n.activeTargets.splice(0,n.activeTargets.length)}});for(var t=0,i=r;t<i.length;t++){var o=i[t];o()}return e};var I=function(e){a.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEac
1h(function(o){o.isActive()&&(w(o.target)>e?t.activeTargets.push(o):t.skippedTargets.push(o))})})};var j=function(){var e=0;for(I(e);G();)e=$(),I(e);return J()&&Y(),e>0};var _,ee=[],ge=function(){return ee.splice(0).forEach(function(e){return e()})},re=function(e){if(!_){var r=0,t=document.createTextNode(""),i={characterData:!0};new MutationObserver(function(){return ge()}).observe(t,i),_=function(){t.textContent="".concat(r?r--:r++)}}ee.push(e),_()};var te=function(e){re(function(){requestAnimationFrame(e)})};var y=0,xe=function(){return!!y},ze=250,Oe={attributes:!0,characterData:!0,childList:!0,subtree:!0},ie=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],oe=function(e){return e===void 0&&(e=0),Date.now()+e},L=!1,Re=(function(){function e(){var r=this;this.stopped=!0,this.listener=function(){return r.schedule()}}return e.prototype.run=function(r){var t=this;if(r===void 0&&(r=ze),!L){L=!0;var i=oe(r);te(function(){var o=!1;try{o=j()}finally{if(L=!1,r=i-oe(),!xe())return;o?t.run(1e3):r>0?t.run(r):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var r=this,t=function(){return r.observer&&r.observer.observe(document.body,Oe)};document.body?t():p.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var r=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ie.forEach(function(t){return p.addEventListener(t,r.listener,!0)}))},e.prototype.stop=function(){var r=this;this.stopped||(this.observer&&this.observer.disconnect(),ie.forEach(function(t){return p.removeEventListener(t,r.listener,!0)}),this.stopped=!0)},e})(),T=new Re,W=function(e){!y&&e>0&&T.start(),y+=e,!y&&T.stop()};var Ee=function(e){return!m(e)&&!K(e)&&getComputedStyle(e).display==="inline"},ne=(function(){function e(r,t){this.target=r,this.observedBox=t||f.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var r=E(this.target,this.observedBox,!0);return Ee(this.target)&&(this.lastReportedSize=r),this.lastReportedSize.inlineSize!==r.inlineSize||this.lastReportedSize.blockSize!==r.blockSize},e})();var se=(function(){function e(r,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=r,this.callback=t}return e})();var B=new WeakMap,ae=function(e,r){for(var t=0;t<e.length;t+=1)if(e[t].target===r)return t;return-1},g=(function(){function e(){}return e.connect=function(r,t){var i=new se(r,t);B.set(r,i)},e.observe=function(r,t,i){var o=B.get(r),s=o.observationTargets.length===0;ae(o.observationTargets,t)<0&&(s&&a.push(o),o.observationTargets.push(new ne(t,i&&i.box)),W(1),T.schedule())},e.unobserve=function(r,t){var i=B.get(r),o=ae(i.observationTargets,t),s=i.observationTargets.length===1;o>=0&&(s&&a.splice(a.indexOf(i),1),i.observationTargets.splice(o,1),W(-1))},e.disconnect=function(r){var t=this,i=B.get(r);i.observationTargets.slice().forEach(function(o){return t.unobserve(r,o.target)}),i.activeTargets.splice(0,i.activeTargets.length)},e})();var we=(function(){function e(r){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof r!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");g.connect(this,r)}return e.prototype.observe=function(r,t){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!N(r))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");g.observe(this,r,t)},e.prototype.unobserve=function(r){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!N(r))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");g.unobserve(this,r)},e.prototype.disconnect=function(){g.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e})();export{we as ResizeObserver,P as ResizeObserverEntry,k as ResizeObserverSize};
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.