2 lines
166 KiB
JavaScript
2 lines
166 KiB
JavaScript
|
/*! For license information please see 138.js.LICENSE.txt */
|
||
|
(self.webpackChunk=self.webpackChunk||[]).push([[138],{3138:(e,t,n)=>{"use strict";var i={};n.r(i),n.d(i,{afterMain:()=>T,afterRead:()=>_,afterWrite:()=>A,applyStyles:()=>j,arrow:()=>Z,auto:()=>l,basePlacements:()=>c,beforeMain:()=>w,beforeRead:()=>y,beforeWrite:()=>C,bottom:()=>o,clippingParents:()=>d,computeStyles:()=>ie,createPopper:()=>je,createPopperBase:()=>Le,createPopperLite:()=>Pe,detectOverflow:()=>be,end:()=>f,eventListeners:()=>oe,flip:()=>_e,hide:()=>Te,left:()=>a,main:()=>x,modifierPhases:()=>k,offset:()=>Ce,placements:()=>v,popper:()=>p,popperGenerator:()=>Ne,popperOffsets:()=>Ee,preventOverflow:()=>Ae,read:()=>b,reference:()=>g,right:()=>s,start:()=>u,top:()=>r,variationPlacements:()=>m,viewport:()=>h,write:()=>E});var r="top",o="bottom",s="right",a="left",l="auto",c=[r,o,s,a],u="start",f="end",d="clippingParents",h="viewport",p="popper",g="reference",m=c.reduce((function(e,t){return e.concat([t+"-"+u,t+"-"+f])}),[]),v=[].concat(c,[l]).reduce((function(e,t){return e.concat([t,t+"-"+u,t+"-"+f])}),[]),y="beforeRead",b="read",_="afterRead",w="beforeMain",x="main",T="afterMain",C="beforeWrite",E="write",A="afterWrite",k=[y,b,_,w,x,T,C,E,A];function S(e){return e?(e.nodeName||"").toLowerCase():null}function D(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function O(e){return e instanceof D(e).Element||e instanceof Element}function N(e){return e instanceof D(e).HTMLElement||e instanceof HTMLElement}function L(e){return"undefined"!=typeof ShadowRoot&&(e instanceof D(e).ShadowRoot||e instanceof ShadowRoot)}const j={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},r=t.elements[e];N(r)&&S(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],r=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});N(i)&&S(i)&&(Object.assign(i.style,o),Object.keys(r).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function P(e){return e.split("-")[0]}var I=Math.max,$=Math.min,M=Math.round;function q(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function H(){return!/^((?!chrome|android).)*safari/i.test(q())}function R(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),r=1,o=1;t&&N(e)&&(r=e.offsetWidth>0&&M(i.width)/e.offsetWidth||1,o=e.offsetHeight>0&&M(i.height)/e.offsetHeight||1);var s=(O(e)?D(e):window).visualViewport,a=!H()&&n,l=(i.left+(a&&s?s.offsetLeft:0))/r,c=(i.top+(a&&s?s.offsetTop:0))/o,u=i.width/r,f=i.height/o;return{width:u,height:f,top:c,right:l+u,bottom:c+f,left:l,x:l,y:c}}function W(e){var t=R(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function F(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&L(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function B(e){return D(e).getComputedStyle(e)}function z(e){return["table","td","th"].indexOf(S(e))>=0}function V(e){return((O(e)?e.ownerDocument:e.document)||window.document).documentElement}function X(e){return"html"===S(e)?e:e.assignedSlot||e.parentNode||(L(e)?e.host:null)||V(e)}function U(e){return N(e)&&"fixed"!==B(e).position?e.offsetParent:null}function Y(e){for(var t=D(e),n=U(e);n&&z(n)&&"static"===B(n).position;)n=U(n);return n&&("html"===S(n)||
|