找回密码
 立即注册
搜索
热搜: 丝袜 魅魔 黑丝
查看: 6|回复: 0

25818988_柳紫云的奇妙入学

[复制链接]

13万

主题

343

回帖

22万

积分

管理员

站长

UID
1
积分
224400
余额
13 R
Moe币
84881
在线时间
279 小时
注册时间
2025-12-28
最后登录
2026-11-9
发表于 2026-9-3 23:00:59 | 显示全部楼层 |阅读模式
er.appendChild(this.popup));else{this.popup=document.createElement("div"),this.popup.style.position="absolute",this.popup.style.left=0,this.popup.style.top=0,this.popup.style.width="100%",this.popup.style.zIndex=1e3;var e="kd-popup",r=this.props.popupClassName;r&&(e+=" "+r),this.popup.className=e,this.container=document.body,this.props.getContainer&&(this.container=this.props.getContainer(),this.popup.style.right=0,this.popup.style.bottom=0),t&&this.popup.setAttribute("data-fullviewport","true"),this.container&&this.container.appendChild(this.popup)}return this.popup}},{key:"unmountPopUp",value:function(){this.popup&&(this.container&&this.container.removeChild(this.popup),this.popup=null)}},{key:"render",value:function(){var t=this.props,e=t.children,r=t.visible,i=t.destroyOnHide;if(!e||!r&&!this.popup)return!1;if(!r&&i)return!1;var l=this.getPopup();return l.style.display=r?"":"none",n.createElement(n.Fragment,null,o.createPortal(e,l))}}],r&&l(e.prototype,r),i&&l(e,i),Object.defineProperty(e,"prototype",{writable:!1}),f}(n.PureComponent);function p(t){return t&&"[object Function]"==={}.toString.call(t)}function s(t,e){if(1!==t.nodeType)return[];var r=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?r[e]:r}f.defaultProps={destroyOnHide:!0};const d="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator;var h=d&&!(!window.MSInputMethodContext||!document.documentMode),m=d&&/MSIE 10/.test(navigator.userAgent);function y(t){return 11===t?h:10===t?m:h||m}function b(t){if(!t)return document.documentElement;for(var e=y(10)?document.body:null,r=t.offsetParent||null;r===e&&t.nextElementSibling;)r=(t=t.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===s(r,"position")?b(r):r:t?t.ownerDocument.documentElement:document.documentElement}function v(t){return null!==t.parentNode?v(t.parentNode):t}function g(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var r=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?t:e,o=r?e:t,i=document.createRange();i.setStart(n,0),i.setEnd(o,0);var l,u,c=i.commonAncestorContainer;if(t!==c&&e!==c||n.contains(o))return"BODY"===(u=(l=c).nodeName)||"HTML"!==u&&b(l.firstElementChild)!==l?b(c):c;var a=v(t);return a.host?g(a.host,e):g(t,v(e).host)}function w(t,e){var r="x"===e?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(t["border".concat(r,"Width")])+parseFloat(t["border".concat(n,"Width")])}function O(t,e,r,n){return Math.max(e["offset".concat(t)],e["scroll".concat(t)],r["client".concat(t)],r["offset".concat(t)],r["scroll".concat(t)],y(10)?parseInt(r["offset".concat(t)])+parseInt(n["margin".concat("Height"===t?"Top":"Left")])+parseInt(n["margin".concat("Height"===t?"Bottom":"Right")]):0)}function E(t){var e=t.body,r=t.documentElement,n=y(10)&&getComputedStyle(r);return{height:O("Height",e,r,n),width:O("Width",e,r,n)}}function P(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var n=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||n)[e]}return t[e]}function j(t){return j="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},j(t)}function S(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?S(Object(r),!0).forEach((function(e){k(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function k(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==j(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==j(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===j(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function D(t){return C(C({},t),{},{right:t.left+t.width,bottom:t.top+t.height})}function T(t){var e={};try{if(y(10)){e=t.getBoundingClientRect();var r=P(t,"top"),n=P(t,"left");e.top+=r,e.left+=n,e.bottom+=r,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?E(t.ownerDocument):{},l=i.width||t.clientWidth||o.width,u=i.height||t.clientHeight||o.height,c=t.offsetWidth-l,a=t.offsetHeight-u;if(c||a){var f=s(t);c-=w(f,"x"),a-=w(f,"y"),o.width-=c,o.height-=a}return D(o)}function x(t,e){var r=T(t),n=T(e),o=s(e),i=parseFloat(o.borderTopWidth),l=parseFloat(o.borderLeftWidth),u=D({top:r.top-n.top-i,left:r.left-n.left-l,width:r.width,height:r.height});return u.marginTop=0,u.marginLeft=0,u}function L(t){return t&&t.referenceNode?t.referenceNode:t}function M(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return x(r,g(e,L(r)),n)}function R(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function A(t,e,r){r=r.split("-")[0];var n,o,i,l,u=(o=(n=t).ownerDocument.defaultView.getComputedStyle(n),i=parseFloat(o.marginTop||0)+parseFloat(o.marginBottom||0),l=parseFloat(o.marginLeft||0)+parseFloat(o.marginRight||0),{width:n.offsetWidth+l,height:n.offsetHeight+i}),c={width:u.width,height:u.height},a=-1!==["right","left"].indexOf(r),f=a?"top":"left",p=a?"left":"top",s=a?"height":"width",d=a?"width":"height";return c[f]=e[f]+e[s]/2-u[s]/2,c[p]=r===p?e[p]-u[d]:e[R(p)],c}function F(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function N(t,e,r){return(void 0===r?t:t.slice(0,function(t,e,r){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===r}));var n=F(t,(function(t){return t[e]===r}));return t.indexOf(n)}(t,"name",r))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=t.function||t.fn;t.enabled&&p(
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|M男之家

GMT+8, 2026-11-12 07:16 , Processed in 0.079880 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表