Loading
function(e,t,n){"use strict";n.d(t,{PP:()=>o,Px:()=>h,m5:()=>p});var r=n(181981),i=n(913132),s=n(685518),a=n(687567),o=new Map,l=/auto|scroll/,u=/^tb|vertical/,c=/msie|trident/i.test(a.S.navigator&&a.S.navigator.userAgent),d=function(e){return parseFloat(e||"0")},_=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),Object.freeze({inlineSize:(n?t:e)||0,blockSize:(n?e:t)||0})},f=Object.freeze({devicePixelContentBoxSize:_(),borderBoxSize:_(),contentBoxSize:_(),contentRect:new i.p(0,0,0,0)}),p=function(e){if(o.has(e))return o.get(e);if((0,s.dK)(e))return o.set(e,f),f;var t=getComputedStyle(e),n=(0,s.XJ)(e)&&e.ownerSVGElement&&e.getBBox(),r=!c&&"border-box"===t.boxSizing,a=u.test(t.writingMode||""),p=!n&&l.test(t.overflowY||""),h=!n&&l.test(t.overflowX||""),m=n?0:d(t.paddingTop),E=n?0:d(t.paddingRight),g=n?0:d(t.paddingBottom),A=n?0:d(t.paddingLeft),I=n?0:d(t.borderTopWidth),T=n?0:d(t.borderRightWidth),S=n?0:d(t.borderBottomWidth),y=n?0:d(t.borderLeftWidth),v=A+E,N=m+g,C=y+T,R=I+S,O=h?e.offsetHeight-R-e.clientHeight:0,b=p?e.offsetWidth-C-e.clientWidth:0,D=r?v+C:0,L=r?N+R:0,w=n?n.width:d(t.width)-D-b,M=n?n.height:d(t.height)-L-O,P=w+v+b+C,x=M+N+O+R,k=Object.freeze({devicePixelContentBoxSize:_(Math.round(w*devicePixelRatio),Math.round(M*devicePixelRatio),a),borderBoxSize:_(P,x,a),contentBoxSize:_(w,M,a),contentRect:new i.p(A,m,w,M)});return o.set(e,k),k},h=function(e,t){var n=p(e),i=n.borderBoxSize,s=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case r.U.DEVICE_PIXEL_CONTENT_BOX:return a;case r.U.BORDER_BOX:return i;default:return s}}}