Файловый менеджер - Редактировать - /var/www/html/media/foundry/scripts/vendor/popper.min.js
Ðазад
FD.module("vendor/popper",function(e){var t,n,r=this;t=this,n=function(e){"use strict";function g(e){if(null==e)return window;if("[object Window]"===e.toString())return e;e=e.ownerDocument;return e&&e.defaultView||window}function h(e){return e instanceof g(e).Element||e instanceof Element}function c(e){return e instanceof g(e).HTMLElement||e instanceof HTMLElement}function o(e){return"undefined"!=typeof ShadowRoot&&(e instanceof g(e).ShadowRoot||e instanceof ShadowRoot)}function l(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;return c(e)&&t&&(r=n.width/e.offsetWidth||1,o=n.height/e.offsetHeight||1),{width:U(n.width/r),height:U(n.height/o),top:U(n.top/o),right:U(n.right/r),bottom:U(n.bottom/o),left:U(n.left/r),x:U(n.left/r),y:U(n.top/o)}}function u(e){e=g(e);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function s(e){return e?(e.nodeName||"").toLowerCase():null}function b(e){return((h(e)?e.ownerDocument:e.document)||window.document).documentElement}function d(e){return l(b(e)).left+u(e).scrollLeft}function y(e){return g(e).getComputedStyle(e)}function f(e){var t=y(e),n=t.overflow,e=t.overflowX,t=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+t+e)}function v(e,t,n){void 0===n&&(n=!1);var r=c(t),o=c(t)&&(o=(a=t).getBoundingClientRect(),i=o.width/a.offsetWidth||1,a=o.height/a.offsetHeight||1,1!==i||1!==a),i=b(t),a=l(e,o),e={scrollLeft:0,scrollTop:0},o={x:0,y:0};return!r&&n||("body"===s(t)&&!f(i)||(e=(n=t)!==g(n)&&c(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:u(n)),c(t)?((o=l(t,!0)).x+=t.clientLeft,o.y+=t.clientTop):i&&(o.x=d(i))),{x:a.left+e.scrollLeft-o.x,y:a.top+e.scrollTop-o.y,width:a.width,height:a.height}}function E(e){var t=l(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function a(e){return"html"===s(e)?e:e.assignedSlot||e.parentNode||(o(e)?e.host:null)||b(e)}function w(e,t){void 0===t&&(t=[]);var n=function e(t){return 0<=["html","body","#document"].indexOf(s(t))?t.ownerDocument.body:c(t)&&f(t)?t:e(a(t))}(e),e=n===(null==(r=e.ownerDocument)?void 0:r.body),r=g(n),n=e?[r].concat(r.visualViewport||[],f(n)?n:[]):n,t=t.concat(n);return e?t:t.concat(w(a(n)))}function i(e){return c(e)&&"fixed"!==y(e).position?e.offsetParent:null}function S(e){for(var t,n=g(e),r=i(e);r&&(t=r,0<=["table","td","th"].indexOf(s(t)))&&"static"===y(r).position;)r=i(r);return(!r||"html"!==s(r)&&("body"!==s(r)||"static"!==y(r).position))&&(r||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&c(e)&&"fixed"===y(e).position)return null;for(var r=a(e);c(r)&&["html","body"].indexOf(s(r))<0;){var o=y(r);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return r;r=r.parentNode}return null}(e))||n}function x(e){var n=new Map,r=new Set,o=[];return e.forEach(function(e){n.set(e.name,e)}),e.forEach(function(e){r.has(e.name)||!function t(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){r.has(e)||(e=n.get(e))&&t(e)}),o.push(e)}(e)}),o}function O(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce(function(e,t){return e.replace(/%s/,t)},e)}function D(e){return e.split("-")[0]}function p(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&o(n)){var r=t;do{if(r&&e.isSameNode(r))return!0}while(r=r.parentNode||r.host)}return!1}function m(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function j(e,t){return t===$?m((i=g(o=e),a=b(o),s=i.visualViewport,f=a.clientWidth,p=a.clientHeight,a=i=0,s&&(f=s.width,p=s.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=s.offsetLeft,a=s.offsetTop)),{width:f,height:p,x:i+d(o),y:a})):c(t)?((r=l(n=t)).top=r.top+n.clientTop,r.left=r.left+n.clientLeft,r.bottom=r.top+n.clientHeight,r.right=r.left+n.clientWidth,r.width=n.clientWidth,r.height=n.clientHeight,r.x=r.left,r.y=r.top,r):m((o=b(e),a=b(o),t=u(o),r=null==(n=o.ownerDocument)?void 0:n.body,e=fe(a.scrollWidth,a.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),n=fe(a.scrollHeight,a.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),o=-t.scrollLeft+d(o),t=-t.scrollTop,"rtl"===y(r||a).direction&&(o+=fe(a.clientWidth,r?r.clientWidth:0)-e),{width:e,height:n,x:o,y:t}));var n,r,o,i,a,s,f,p}function P(n,e,t){var r,o,i,e="clippingParents"===e?(o=w(a(r=n)),h(i=0<=["absolute","fixed"].indexOf(y(r).position)&&c(r)?S(r):r)?o.filter(function(e){return h(e)&&p(e,i)&&"body"!==s(e)}):[]):[].concat(e),e=[].concat(e,[t]),t=e[0],t=e.reduce(function(e,t){t=j(n,t);return e.top=fe(t.top,e.top),e.right=pe(t.right,e.right),e.bottom=pe(t.bottom,e.bottom),e.left=fe(t.left,e.left),e},j(n,t));return t.width=t.right-t.left,t.height=t.bottom-t.top,t.x=t.left,t.y=t.top,t}function k(e){return e.split("-")[1]}function M(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}function L(e){var t,n=e.reference,r=e.element,o=e.placement,e=o?D(o):null,o=o?k(o):null,i=n.x+n.width/2-r.width/2,a=n.y+n.height/2-r.height/2;switch(e){case _:t={x:i,y:n.y-r.height};break;case z:t={x:i,y:n.y+n.height};break;case G:t={x:n.x+n.width,y:a};break;case X:t={x:n.x-r.width,y:a};break;default:t={x:n.x,y:n.y}}var s=e?M(e):null;if(null!=s){var f="y"===s?"height":"width";switch(o){case K:t[s]=t[s]-(n[f]/2-r[f]/2);break;case Q:t[s]=t[s]+(n[f]/2-r[f]/2)}}return t}function A(){return{top:0,right:0,bottom:0,left:0}}function T(e){return Object.assign({},A(),e)}function q(n,e){return e.reduce(function(e,t){return e[t]=n,e},{})}function W(e,t){var r,n=t=void 0===t?{}:t,o=n.placement,i=void 0===o?e.placement:o,a=n.boundary,s=void 0===a?Z:a,f=n.rootBoundary,p=void 0===f?$:f,t=n.elementContext,o=void 0===t?ee:t,a=n.altBoundary,f=void 0!==a&&a,t=n.padding,a=void 0===t?0:t,n=T("number"!=typeof a?a:q(a,J)),t=e.elements.reference,a=e.rects.popper,f=e.elements[f?o===ee?te:ee:o],s=P(h(f)?f:f.contextElement||b(e.elements.popper),s,p),p=l(t),t=L({reference:p,element:a,strategy:"absolute",placement:i}),t=m(Object.assign({},a,t)),p=o===ee?t:p,c={top:s.top-p.top+n.top,bottom:p.bottom-s.bottom+n.bottom,left:s.left-p.left+n.left,right:p.right-s.right+n.right},e=e.modifiersData.offset;return o===ee&&e&&(r=e[i],Object.keys(c).forEach(function(e){var t=0<=[G,z].indexOf(e)?1:-1,n=0<=[_,z].indexOf(e)?"y":"x";c[e]+=r[n]*t})),c}function B(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function t(e){var t=e=void 0===e?{}:e,e=t.defaultModifiers,d=void 0===e?[]:e,t=t.defaultOptions,m=void 0===t?ue:t;return function(a,s,t){function f(){c.forEach(function(e){return e()}),c=[]}void 0===t&&(t=m);var n,r,p={placement:"bottom",orderedModifiers:[],options:Object.assign({},ue,m),modifiersData:{},elements:{reference:a,popper:s},attributes:{},styles:{}},c=[],l=!1,u={state:p,setOptions:function(e){f(),p.options=Object.assign({},m,p.options,e),p.scrollParents={reference:h(a)?w(a):a.contextElement?w(a.contextElement):[],popper:w(s)};var n,t,e=(e=[].concat(d,p.options.modifiers),t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),e=Object.keys(t).map(function(e){return t[e]}),n=x(e),oe.reduce(function(e,t){return e.concat(n.filter(function(e){return e.phase===t}))},[]));p.orderedModifiers=e.filter(function(e){return e.enabled});e=[].concat(e,p.options.modifiers),o=function(e){return e.name},i=new Set,e=e.filter(function(e){e=o(e);if(!i.has(e))return i.add(e),!0});(r=e).forEach(function(n){Object.keys(n).forEach(function(e){switch(e){case"name":"string"!=typeof n.name&&console.error(O(ie,String(n.name),'"name"','"string"','"'+String(n.name)+'"'));break;case"enabled":"boolean"!=typeof n.enabled&&console.error(O(ie,n.name,'"enabled"','"boolean"','"'+String(n.enabled)+'"'));case"phase":oe.indexOf(n.phase)<0&&console.error(O(ie,n.name,'"phase"',"either "+oe.join(", "),'"'+String(n.phase)+'"'));break;case"fn":"function"!=typeof n.fn&&console.error(O(ie,n.name,'"fn"','"function"','"'+String(n.fn)+'"'));break;case"effect":"function"!=typeof n.effect&&console.error(O(ie,n.name,'"effect"','"function"','"'+String(n.fn)+'"'));break;case"requires":Array.isArray(n.requires)||console.error(O(ie,n.name,'"requires"','"array"','"'+String(n.requires)+'"'));break;case"requiresIfExists":Array.isArray(n.requiresIfExists)||console.error(O(ie,n.name,'"requiresIfExists"','"array"','"'+String(n.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+n.name+'" modifier, valid properties are '+se.map(function(e){return'"'+e+'"'}).join(", ")+'; but "'+e+'" was provided.')}n.requires&&n.requires.forEach(function(t){null==r.find(function(e){return e.name===t})&&console.error(O(ae,String(n.name),t,t))})})}),D(p.options.placement)===Y&&(p.orderedModifiers.find(function(e){return"flip"===e.name})||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" ")));var r,o,i,e=y(s);return[e.marginTop,e.marginRight,e.marginBottom,e.marginLeft].some(function(e){return parseFloat(e)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" ")),p.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,e=e.effect;"function"==typeof e&&(n=e({state:p,name:t,instance:u,options:void 0===n?{}:n}),c.push(n||function(){}))}),u.update()},forceUpdate:function(){if(!l){var e=p.elements,t=e.reference,e=e.popper;if(B(t,e)){p.rects={reference:v(t,S(e),"fixed"===p.options.strategy),popper:E(e)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(e){return p.modifiersData[e.name]=Object.assign({},e.data)});for(var n,r,o,i=0,a=0;a<p.orderedModifiers.length;a++){if(100<(i+=1)){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}!0!==p.reset?(n=(o=p.orderedModifiers[a]).fn,r=o.options,o=o.name,"function"==typeof n&&(p=n({state:p,options:void 0===r?{}:r,name:o,instance:u})||p)):(p.reset=!1,a=-1)}}else console.error(le)}},update:(n=function(){return new Promise(function(e){u.forceUpdate(),e(p)})},function(){return r=r||new Promise(function(e){Promise.resolve().then(function(){r=void 0,e(n())})})}),destroy:function(){f(),l=!0}};return B(a,s)?u.setOptions(t).then(function(e){!l&&t.onFirstUpdate&&t.onFirstUpdate(e)}):console.error(le),u}}function H(e){var t=e.popper,n=e.popperRect,r=e.placement,o=e.offsets,i=e.position,a=e.gpuAcceleration,s=e.adaptive,f=e.roundOffsets,p=!0===f?(d=(h=o).x,m=h.y,h=window.devicePixelRatio||1,{x:ce(ce(d*h)/h)||0,y:ce(ce(m*h)/h)||0}):"function"==typeof f?f(o):o,c=p.x,l=void 0===c?0:c,u=p.y,e=void 0===u?0:u,d=o.hasOwnProperty("x"),m=o.hasOwnProperty("y"),h=X,f=_,c=window;s&&(p="clientHeight",u="clientWidth",(o=S(t))===g(t)&&"static"!==y(o=b(t)).position&&(p="scrollHeight",u="scrollWidth"),r===_&&(f=z,e-=o[p]-n.height,e*=a?1:-1),r===X&&(h=G,l-=o[u]-n.width,l*=a?1:-1));var s=Object.assign({position:i},s&&me);return a?Object.assign({},s,((a={})[f]=m?"0":"",a[h]=d?"0":"",a.transform=(c.devicePixelRatio||1)<2?"translate("+l+"px, "+e+"px)":"translate3d("+l+"px, "+e+"px, 0)",a)):Object.assign({},s,((s={})[f]=m?e+"px":"",s[h]=d?l+"px":"",s.transform="",s))}function C(e){return e.replace(/left|right|bottom|top/g,function(e){return ye[e]})}function R(e){return e.replace(/start|end/g,function(e){return ve[e]})}function I(e,t,n){return fe(e,pe(t,n))}function V(e,t,n){return{top:e.top-t.height-(n=void 0===n?{x:0,y:0}:n).y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function N(t){return[_,G,z,X].some(function(e){return 0<=t[e]})}function F(e,t){return T("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:q(e,J))}var U=Math.round,_="top",z="bottom",G="right",X="left",Y="auto",J=[_,z,G,X],K="start",Q="end",Z="clippingParents",$="viewport",ee="popper",te="reference",ne=J.reduce(function(e,t){return e.concat([t+"-"+K,t+"-"+Q])},[]),re=[].concat(J,[Y]).reduce(function(e,t){return e.concat([t,t+"-"+K,t+"-"+Q])},[]),oe=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],ie='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',ae='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',se=["name","enabled","phase","fn","effect","requires","options"],fe=Math.max,pe=Math.min,ce=Math.round,le="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",ue={placement:"bottom",modifiers:[],strategy:"absolute"},de={passive:!0},n={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=void 0===(e=r.scroll)||e,i=void 0===(r=r.resize)||r,a=g(t.elements.popper),s=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&s.forEach(function(e){e.addEventListener("scroll",n.update,de)}),i&&a.addEventListener("resize",n.update,de),function(){o&&s.forEach(function(e){e.removeEventListener("scroll",n.update,de)}),i&&a.removeEventListener("resize",n.update,de)}},data:{}},r={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,e=e.name;t.modifiersData[e]=L({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},me={top:"auto",right:"auto",bottom:"auto",left:"auto"},he={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,e=void 0===(r=n.gpuAcceleration)||r,r=void 0===(r=n.adaptive)||r,n=void 0===(n=n.roundOffsets)||n,o=y(t.elements.popper).transitionProperty||"";r&&["transform","top","right","bottom","left"].some(function(e){return 0<=o.indexOf(e)})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" ")),e={placement:D(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:e},null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,H(Object.assign({},e,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:n})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,H(Object.assign({},e,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:n})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},ge={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var o=e.state;Object.keys(o.elements).forEach(function(e){var t=o.styles[e]||{},n=o.attributes[e]||{},r=o.elements[e];c(r)&&s(r)&&(Object.assign(r.style,t),Object.keys(n).forEach(function(e){var t=n[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var r=e.state,o={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,o.popper),r.styles=o,r.elements.arrow&&Object.assign(r.elements.arrow.style,o.arrow),function(){Object.keys(r.elements).forEach(function(e){var t=r.elements[e],n=r.attributes[e]||{},e=Object.keys((r.styles.hasOwnProperty(e)?r.styles:o)[e]).reduce(function(e,t){return e[t]="",e},{});c(t)&&s(t)&&(Object.assign(t.style,e),Object.keys(n).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]},be={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var a=e.state,t=e.options,n=e.name,s=void 0===(r=t.offset)?[0,0]:r,e=re.reduce(function(e,t){var n,r,o,i;return e[t]=(n=t,r=a.rects,o=s,i=D(n),t=0<=[X,_].indexOf(i)?-1:1,o=(o=(n="function"==typeof o?o(Object.assign({},r,{placement:n})):o)[0])||0,n=((n=n[1])||0)*t,0<=[X,G].indexOf(i)?{x:n,y:o}:{x:o,y:n}),e},{}),r=(t=e[a.placement]).x,t=t.y;null!=a.modifiersData.popperOffsets&&(a.modifiersData.popperOffsets.x+=r,a.modifiersData.popperOffsets.y+=t),a.modifiersData[n]=e}},ye={left:"right",right:"left",bottom:"top",top:"bottom"},ve={start:"end",end:"start"},we={name:"flip",enabled:!0,phase:"main",fn:function(e){var n=e.state,t=e.options,r=e.name;if(!n.modifiersData[r]._skip){for(var o=t.mainAxis,i=void 0===o||o,e=t.altAxis,a=void 0===e||e,o=t.fallbackPlacements,s=t.padding,f=t.boundary,p=t.rootBoundary,c=t.altBoundary,e=t.flipVariations,l=void 0===e||e,u=t.allowedAutoPlacements,e=n.options.placement,t=D(e),t=o||(t===e||!l?[C(e)]:function(e){if(D(e)===Y)return[];var t=C(e);return[R(e),t,R(t)]}(e)),d=[e].concat(t).reduce(function(e,t){return e.concat(D(t)===Y?function(n,e){var t=e=void 0===e?{}:e,r=t.placement,o=t.boundary,i=t.rootBoundary,a=t.padding,e=t.flipVariations,s=void 0===(t=t.allowedAutoPlacements)?re:t,f=k(r),r=f?e?ne:ne.filter(function(e){return k(e)===f}):J;0===(e=r.filter(function(e){return 0<=s.indexOf(e)})).length&&(e=r,console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var p=e.reduce(function(e,t){return e[t]=W(n,{placement:t,boundary:o,rootBoundary:i,padding:a})[D(t)],e},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}(n,{placement:t,boundary:f,rootBoundary:p,padding:s,flipVariations:l,allowedAutoPlacements:u}):t)},[]),m=n.rects.reference,h=n.rects.popper,g=new Map,b=!0,y=d[0],v=0;v<d.length;v++){var w=d[v],x=D(w),O=k(w)===K,j=0<=[_,z].indexOf(x),E=j?"width":"height",S=W(n,{placement:w,boundary:f,rootBoundary:p,altBoundary:c,padding:s}),j=j?O?G:X:O?z:_;m[E]>h[E]&&(j=C(j));O=C(j),E=[];if(i&&E.push(S[x]<=0),a&&E.push(S[j]<=0,S[O]<=0),E.every(function(e){return e})){y=w,b=!1;break}g.set(w,E)}if(b)for(var P=l?3:1;0<P;P--)if("break"===function(t){var e=d.find(function(e){e=g.get(e);if(e)return e.slice(0,t).every(function(e){return e})});if(e)return y=e,"break"}(P))break;n.placement!==y&&(n.modifiersData[r]._skip=!0,n.placement=y,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},xe={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=void 0===(O=n.mainAxis)||O,i=void 0!==(j=n.altAxis)&&j,a=n.boundary,s=n.rootBoundary,f=n.altBoundary,p=n.padding,c=n.tether,l=void 0===c||c,u=n.tetherOffset,d=void 0===u?0:u,m=W(t,{boundary:a,rootBoundary:s,padding:p,altBoundary:f}),h=D(t.placement),g=k(t.placement),b=!g,y=M(h),v="x"===y?"y":"x",w=t.modifiersData.popperOffsets,x=t.rects.reference,e=t.rects.popper,O="function"==typeof d?d(Object.assign({},t.rects,{placement:t.placement})):d,j={x:0,y:0};w&&((o||i)&&(c="y"===y?"height":"width",n=w[y],a=w[y]+m[u="y"===y?_:X],p=w[y]-m[s="y"===y?z:G],f=l?-e[c]/2:0,h=(g===K?x:e)[c],d=g===K?-e[c]:-x[c],g=t.elements.arrow,e=l&&g?E(g):{width:0,height:0},u=(g=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:A())[u],s=g[s],e=I(0,x[c],e[c]),u=b?x[c]/2-f-e-u-O:h-e-u-O,e=b?-x[c]/2+f+e+s+O:d+e+s+O,O=(s=t.elements.arrow&&S(t.elements.arrow))?"y"===y?s.clientTop||0:s.clientLeft||0:0,s=t.modifiersData.offset?t.modifiersData.offset[t.placement][y]:0,O=w[y]+u-s-O,s=w[y]+e-s,o&&(p=I(l?pe(a,O):a,n,l?fe(p,s):p),w[y]=p,j[y]=p-n),i&&(i=(n=w[v])+m["x"===y?_:X],y=n-m["x"===y?z:G],y=I(l?pe(i,O):i,n,l?fe(y,s):y),w[v]=y,j[v]=y-n)),t.modifiersData[r]=j)},requiresIfExists:["offset"]},Oe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,r=e.state,o=e.name,i=e.options,a=r.elements.arrow,s=r.modifiersData.popperOffsets,f=D(r.placement),p=M(f),c=0<=[X,G].indexOf(f)?"height":"width";a&&s&&(t=F(i.padding,r),n=E(a),e="y"===p?_:X,f="y"===p?z:G,i=r.rects.reference[c]+r.rects.reference[p]-s[p]-r.rects.popper[c],s=s[p]-r.rects.reference[p],a=(a=S(a))?"y"===p?a.clientHeight||0:a.clientWidth||0:0,e=t[e],f=a-n[c]-t[f],f=I(e,s=a/2-n[c]/2+(i/2-s/2),f),r.modifiersData[o]=((o={})[p]=f,o.centerOffset=f-s,o))},effect:function(e){var t=e.state;null!=(e=void 0===(e=e.options.element)?"[data-popper-arrow]":e)&&("string"==typeof e&&!(e=t.elements.popper.querySelector(e))||(c(e)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" ")),p(t.elements.popper,e)?t.elements.arrow=e:console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "))))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},je={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=W(t,{elementContext:"reference"}),e=W(t,{altBoundary:!0}),r=V(a,r),e=V(e,o,i),o=N(r),i=N(e);t.modifiersData[n]={referenceClippingOffsets:r,popperEscapeOffsets:e,isReferenceHidden:o,hasPopperEscaped:i},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":o,"data-popper-escaped":i})}},Ee=t({defaultModifiers:[n,r,he,ge]}),Se=[n,r,he,ge,be,we,xe,Oe,je],Pe=t({defaultModifiers:Se});e.applyStyles=ge,e.arrow=Oe,e.computeStyles=he,e.createPopper=Pe,e.createPopperLite=Ee,e.defaultModifiers=Se,e.detectOverflow=W,e.eventListeners=n,e.flip=we,e.hide=je,e.offset=be,e.popperGenerator=t,e.popperOffsets=r,e.preventOverflow=xe,Object.defineProperty(e,"__esModule",{value:!0})},"object"==typeof exports&&void 0!==r?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).Popper={}),r.resolve()});
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка