mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-05 19:14:42 +00:00
3 lines
No EOL
18 KiB
JavaScript
3 lines
No EOL
18 KiB
JavaScript
var _Mathfloor=Math.floor,_Mathmin=Math.min,_Mathround=Math.round,_Mathmax=Math.max;(function(c,d){'object'==typeof exports&&'undefined'!=typeof module?module.exports=d():'function'==typeof define&&define.amd?define(d):c.Popper=d()})(this,function(){'use strict';function e(wa){return''!==wa&&!isNaN(parseFloat(wa))&&isFinite(wa)}function f(wa,xa){Object.keys(xa).forEach(function(ya){var za='';-1!==['width','height','top','right','bottom','left'].indexOf(ya)&&e(xa[ya])&&(za='px'),wa.style[ya]=xa[ya]+za})}function g(wa){for(var xa=[!1,'ms','webkit','moz','o'],ya=wa.charAt(0).toUpperCase()+wa.slice(1),za=0;za<xa.length-1;za++){var Aa=xa[za],Ba=Aa?''+Aa+ya:wa;if('undefined'!=typeof window.document.body.style[Ba])return Ba}return null}function h(wa){var xa=wa.nodeName;return'BODY'!==xa&&('HTML'===xa||wa.firstElementChild.offsetParent===wa)}function j(wa){return null===wa.parentNode?wa:j(wa.parentNode)}function k(wa){var xa=wa&&wa.offsetParent,ya=xa&&xa.nodeName;return ya&&'BODY'!==ya&&'HTML'!==ya?xa:window.document.documentElement}function l(wa,xa){if(!wa||!wa.nodeType||!xa||!xa.nodeType)return window.document.documentElement;var ya=wa.compareDocumentPosition(xa)&Node.DOCUMENT_POSITION_FOLLOWING,za=ya?wa:xa,Aa=ya?xa:wa,Ba=document.createRange();Ba.setStart(za,0),Ba.setEnd(Aa,0);var Ca=Ba.commonAncestorContainer;if(wa!==Ca&&xa!==Ca)return h(Ca)?Ca:k(Ca);var Da=j(wa);return Da.host?l(Da.host,xa):l(wa,j(xa).host)}function m(wa,xa){if(1!==wa.nodeType)return[];var ya=window.getComputedStyle(wa,null);return xa?ya[xa]:ya}function o(wa){var xa=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',ya='top'===xa?'scrollTop':'scrollLeft',za=wa.nodeName;if('BODY'===za||'HTML'===za){var Aa=window.document.documentElement,Ba=window.document.scrollingElement||Aa;return Ba[ya]}return wa[ya]}function p(wa,xa){var ya=2<arguments.length&&void 0!==arguments[2]&&arguments[2],za=o(xa,'top'),Aa=o(xa,'left'),Ba=ya?-1:1;return wa.top+=za*Ba,wa.bottom+=za*Ba,wa.left+=Aa*Ba,wa.right+=Aa*Ba,wa}function q(wa){return'HTML'===wa.nodeName?wa:wa.parentNode||wa.host}function r(wa){if(!wa||-1!==['HTML','BODY','#document'].indexOf(wa.nodeName))return window.document.body;var xa=m(wa),ya=xa.overflow,za=xa.overflowX,Aa=xa.overflowY;return /(auto|scroll)/.test(ya+Aa+za)?wa:r(q(wa))}function s(wa,xa){var ya='x'===xa?'Left':'Top',za='Left'==ya?'Right':'Bottom';return+wa['border'+ya+'Width'].split('px')[0]+ +wa['border'+za+'Width'].split('px')[0]}function t(){var wa=window.document.body,xa=window.document.documentElement;return{height:_Mathmax(wa.scrollHeight,wa.offsetHeight,xa.clientHeight,xa.scrollHeight,xa.offsetHeight),width:_Mathmax(wa.scrollWidth,wa.offsetWidth,xa.clientWidth,xa.scrollWidth,xa.offsetWidth)}}function u(wa){return ma({},wa,{right:wa.left+wa.width,bottom:wa.top+wa.height})}function v(wa){var xa={};if(oa){try{xa=wa.getBoundingClientRect()}catch(Ha){}var ya=o(wa,'top'),za=o(wa,'left');xa.top+=ya,xa.left+=za}else xa=wa.getBoundingClientRect();var Aa={left:xa.left,top:xa.top,width:xa.right-xa.left,height:xa.bottom-xa.top},Ba='HTML'===wa.nodeName?t():{},Ca=Ba.width||wa.clientWidth||Aa.right-Aa.left,Da=Ba.height||wa.clientHeight||Aa.bottom-Aa.top,Ea=wa.offsetWidth-Ca,Fa=wa.offsetHeight-Da;if(Ea||Fa){var Ga=m(wa);Ea-=s(Ga,'x'),Fa-=s(Ga,'y'),Aa.width-=Ea,Aa.height-=Fa}return u(Aa)}function w(wa,xa){var ya='HTML'===xa.nodeName,za=v(wa),Aa=v(xa),Ba=r(wa),Ca=u({top:za.top-Aa.top,left:za.left-Aa.left,width:za.width,height:za.height});if(ya||'BODY'===xa.nodeName){var Da=m(xa),Ea=pa&&ya?0:+Da.borderTopWidth.split('px')[0],Fa=pa&&ya?0:+Da.borderLeftWidth.split('px')[0],Ga=pa&&ya?0:+Da.marginTop.split('px')[0],Ha=pa&&ya?0:+Da.marginLeft.split('px')[0];Ca.top-=Ea-Ga,Ca.bottom-=Ea-Ga,Ca.left-=Fa-Ha,Ca.right-=Fa-Ha,Ca.marginTop=Ga,Ca.marginLeft=Ha}return xa.contains(Ba)&&(pa||'BODY'!==Ba.nodeName)&&(Ca=p(Ca,xa)),Ca}function z(wa,xa,ya){var za=l(xa,ya);return w(ya,za)}function A(wa){var xa=window.getComputedStyle(wa),ya=parseFloat(xa.marginTop)+parseFloat(xa.marginBottom),za=parseFloat(xa.marginLeft)+parseFloat(xa.marginRight),Aa={width:wa.offsetWidth+za,height:wa.offsetHeight+ya};return Aa}function B(wa){var xa={left:'right',right:'left',bottom:'top',top:'bottom'};return wa.replace(/left|right|bottom|top/g,function(ya){return xa[ya]})}function C(wa,xa,ya,za){za=za.split('-')[0];var Aa=A(xa),Ba={position:wa,width:Aa.width,height:Aa.height},Ca=-1!==['right','left'].indexOf(za),Da=Ca?'top':'left',Ea=Ca?'left':'top',Fa=Ca?'height':'width',Ga=Ca?'width':'height';return Ba[Da]=ya[Da]+ya[Fa]/2-Aa[Fa]/2,Ba[Ea]=za===Ea?ya[Ea]-Aa[Ga]:ya[B(Ea)],Ba}function D(wa){return wa&&'[object Function]'==={}.toString.call(wa)}function E(wa,xa,ya,za){var Aa='BODY'===wa.nodeName,Ba=Aa?window:wa;Ba.addEventListener(xa,ya,{passive:!0}),Aa||E(r(Ba.parentNode),xa,ya,za),za.push(Ba)}function F(wa,xa,ya,za){ya.updateBound=za,window.addEventListener('resize',ya.updateBound,{passive:!0});var Aa=r(wa);return E(Aa,'scroll',ya.updateBound,ya.scrollParents),ya.scrollElement=Aa,ya.eventsEnabled=!0,ya}function G(wa,xa){return window.removeEventListener('resize',xa.updateBound),xa.scrollParents.forEach(function(ya){ya.removeEventListener('scroll',xa.updateBound)}),xa.updateBound=null,xa.scrollParents=[],xa.scrollElement=null,xa.eventsEnabled=!1,xa}function H(wa,xa){return Array.prototype.find?wa.find(xa):wa.filter(xa)[0]}function I(wa,xa,ya){if(Array.prototype.findIndex)return wa.findIndex(function(Aa){return Aa[xa]===ya});var za=H(wa,function(Aa){return Aa[xa]===ya});return wa.indexOf(za)}function J(wa,xa,ya){var za=void 0===ya?wa:wa.slice(0,I(wa,'name',ya));return za.forEach(function(Aa){Aa.enabled&&D(Aa.function)&&(xa=Aa.function(xa,Aa))}),xa}function K(wa,xa){return wa.some(function(ya){var za=ya.name,Aa=ya.enabled;return Aa&&za===xa})}function L(wa){var xa=window.document.documentElement,ya=w(wa,xa),za=_Mathmax(xa.clientWidth,window.innerWidth||0),Aa=_Mathmax(xa.clientHeight,window.innerHeight||0),Ba=o(xa),Ca=o(xa,'left'),Da={top:Ba-ya.top+ya.marginTop,left:Ca-ya.left+ya.marginLeft,width:za,height:Aa};return u(Da)}function M(wa){var xa=wa.nodeName;return'BODY'===xa||'HTML'===xa?!1:'fixed'===m(wa,'position')||M(q(wa))}function N(wa,xa,ya,za){var Aa={top:0,left:0},Ba=l(wa,xa);if('viewport'===za)Aa=L(Ba);else{var Ca;'scrollParent'===za?(Ca=r(q(wa)),'BODY'===Ca.nodeName&&(Ca=window.document.documentElement)):'window'===za?Ca=window.document.documentElement:Ca=za;var Da=w(Ca,Ba);if('HTML'===Ca.nodeName&&!M(Ba)){var Ea=t(),Fa=Ea.height,Ga=Ea.width;Aa.top+=Da.top-Da.marginTop,Aa.bottom=Fa+Da.top,Aa.left+=Da.left-Da.marginLeft,Aa.right=Ga+Da.left}else Aa=Da}return Aa.left+=ya,Aa.top+=ya,Aa.right-=ya,Aa.bottom-=ya,Aa}function O(wa,xa,ya,za){if(-1===wa.indexOf('auto'))return wa;var Aa=N(ya,za,0,'scrollParent'),Ba={top:xa.top-Aa.top,right:Aa.right-xa.right,bottom:Aa.bottom-xa.bottom,left:xa.left-Aa.left},Ca=Object.keys(Ba).sort(function(Ea,Fa){return Ba[Fa]-Ba[Ea]})[0],Da=wa.split('-')[1];return Ca+(Da?'-'+Da:'')}function P(wa,xa){Object.keys(xa).forEach(function(ya){var za=xa[ya];!1===za?wa.removeAttribute(ya):wa.setAttribute(ya,xa[ya])})}function S(wa,xa,ya){var za=H(wa,function(Aa){var Ba=Aa.name;return Ba===xa});return!!za&&wa.some(function(Aa){return Aa.name===ya&&Aa.enabled&&Aa.order<za.order})}function U(wa){return'end'===wa?'start':'start'===wa?'end':wa}function V(wa){var xa=1<arguments.length&&void 0!==arguments[1]&&arguments[1],ya=ra.indexOf(wa),za=ra.slice(ya+1).concat(ra.slice(0,ya));return xa?za.reverse():za}for(var ba=['native code','[object MutationObserverConstructor]'],ca=function(wa){return ba.some(function(xa){return-1<(wa||'').toString().indexOf(xa)})},da='undefined'!=typeof window,ea=['Edge','Trident','Firefox'],fa=0,ga=0;ga<ea.length;ga+=1)if(da&&0<=navigator.userAgent.indexOf(ea[ga])){fa=1;break}var ha=da&&ca(window.MutationObserver),ia=ha?function(wa){var xa=!1,ya=0,za=document.createElement('span'),Aa=new MutationObserver(function(){wa(),xa=!1});return Aa.observe(za,{attributes:!0}),function(){xa||(xa=!0,za.setAttribute('x-index',ya),++ya)}}:function(wa){var xa=!1;return function(){xa||(xa=!0,setTimeout(function(){xa=!1,wa()},fa))}},ja=function(wa,xa){if(!(wa instanceof xa))throw new TypeError('Cannot call a class as a function')},ka=function(){function wa(xa,ya){for(var Aa,za=0;za<ya.length;za++)Aa=ya[za],Aa.enumerable=Aa.enumerable||!1,Aa.configurable=!0,'value'in Aa&&(Aa.writable=!0),Object.defineProperty(xa,Aa.key,Aa)}return function(xa,ya,za){return ya&&wa(xa.prototype,ya),za&&wa(xa,za),xa}}(),la=function(wa,xa,ya){return xa in wa?Object.defineProperty(wa,xa,{value:ya,enumerable:!0,configurable:!0,writable:!0}):wa[xa]=ya,wa},ma=Object.assign||function(wa){for(var ya,xa=1;xa<arguments.length;xa++)for(var za in ya=arguments[xa],ya)Object.prototype.hasOwnProperty.call(ya,za)&&(wa[za]=ya[za]);return wa},na=function(){return-1!==navigator.appVersion.indexOf('MSIE 10')},oa=na(),pa=na(),qa=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],ra=qa.slice(3),sa={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},va=function(){function wa(xa,ya){var za=this,Aa=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};ja(this,wa),this.scheduleUpdate=function(){return requestAnimationFrame(za.update)},this.update=ia(this.update.bind(this)),this.options=ma({},wa.Defaults,Aa),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=xa.jquery?xa[0]:xa,this.popper=ya.jquery?ya[0]:ya,f(this.popper,{position:'absolute'}),this.modifiers=Object.keys(wa.Defaults.modifiers).map(function(Ca){return ma({name:Ca},wa.Defaults.modifiers[Ca])}),this.modifiers=this.modifiers.map(function(Ca){var Da=Aa.modifiers&&Aa.modifiers[Ca.name]||{};return ma({},Ca,Da)}),Aa.modifiers&&(this.options.modifiers=ma({},wa.Defaults.modifiers,Aa.modifiers),Object.keys(Aa.modifiers).forEach(function(Ca){if(void 0===wa.Defaults.modifiers[Ca]){var Da=Aa.modifiers[Ca];Da.name=Ca,za.modifiers.push(Da)}})),this.modifiers=this.modifiers.sort(function(Ca,Da){return Ca.order-Da.order}),this.modifiers.forEach(function(Ca){Ca.enabled&&D(Ca.onLoad)&&Ca.onLoad(za.reference,za.popper,za.options,Ca,za.state)}),this.update();var Ba=this.options.eventsEnabled;Ba&&this.enableEventListeners(),this.state.eventsEnabled=Ba}return ka(wa,[{key:'update',value:function(){if(!this.state.isDestroyed){var ya={instance:this,styles:{},attributes:{},flipped:!1,offsets:{}};ya.offsets.reference=z(this.state,this.popper,this.reference),ya.placement=O(this.options.placement,ya.offsets.reference,this.popper,this.reference),ya.originalPlacement=this.options.placement,ya.offsets.popper=C(this.state,this.popper,ya.offsets.reference,ya.placement),ya=J(this.modifiers,ya),this.state.isCreated?this.options.onUpdate(ya):(this.state.isCreated=!0,this.options.onCreate(ya))}}},{key:'destroy',value:function(){return this.state.isDestroyed=!0,K(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.left='',this.popper.style.position='',this.popper.style.top='',this.popper.style[g('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}},{key:'enableEventListeners',value:function(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}},{key:'disableEventListeners',value:function(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=G(this.reference,this.state))}}]),wa}();return va.Utils=window.PopperUtils,va.placements=qa,va.Defaults={placement:'bottom',eventsEnabled:!0,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,function:function(wa){var xa=wa.placement,ya=xa.split('-')[0],za=xa.split('-')[1];if(za){var Aa=wa.offsets.reference,Ba=u(wa.offsets.popper),Ca=-1!==['bottom','top'].indexOf(ya),Da=Ca?'left':'top',Ea=Ca?'width':'height',Fa={start:la({},Da,Aa[Da]),end:la({},Da,Aa[Da]+Aa[Ea]-Ba[Ea])};wa.offsets.popper=ma({},Ba,Fa[za])}return wa}},offset:{order:200,enabled:!0,function:function(wa,xa){var Aa,ya=wa.placement,za=wa.offsets.popper;return e(xa.offset)?Aa=[xa.offset,0]:(Aa=xa.offset.split(' '),Aa=Aa.map(function(Ba,Ca){var Da=Ba.match(/(\d*\.?\d*)(.*)/),Ea=+Da[1],Fa=Da[2],Ga=-1!==ya.indexOf('right')||-1!==ya.indexOf('left');1===Ca&&(Ga=!Ga);var Ha=Ga?'height':'width';if(0===Fa.indexOf('%')){var Ia;switch(Fa){case'%p':Ia=wa.offsets.popper;break;case'%':case'$r':default:Ia=wa.offsets.reference;}var Ja=u(Ia),Ka=Ja[Ha];return Ka/100*Ea}if('vh'===Fa||'vw'===Fa){var La;return La='vh'===Fa?_Mathmax(document.documentElement.clientHeight,window.innerHeight||0):_Mathmax(document.documentElement.clientWidth,window.innerWidth||0),La/100*Ea}return'px'===Fa?+Ea:+Ba})),-1===wa.placement.indexOf('left')?-1===wa.placement.indexOf('right')?-1===wa.placement.indexOf('top')?-1!==wa.placement.indexOf('bottom')&&(za.left+=Aa[0],za.top+=Aa[1]||0):(za.left+=Aa[0],za.top-=Aa[1]||0):(za.top+=Aa[0],za.left+=Aa[1]||0):(za.top+=Aa[0],za.left-=Aa[1]||0),wa},offset:0},preventOverflow:{order:300,enabled:!0,function:function(wa,xa){var ya=xa.boundariesElement||k(wa.instance.popper),za=N(wa.instance.popper,wa.instance.reference,xa.padding,ya);xa.boundaries=za;var Aa=xa.priority,Ba=u(wa.offsets.popper),Ca={primary:function(Ea){var Fa=Ba[Ea];return Ba[Ea]<za[Ea]&&!xa.escapeWithReference&&(Fa=_Mathmax(Ba[Ea],za[Ea])),la({},Ea,Fa)},secondary:function(Ea){var Fa='right'===Ea?'left':'top',Ga=Ba[Fa];return Ba[Ea]>za[Ea]&&!xa.escapeWithReference&&(Ga=_Mathmin(Ba[Fa],za[Ea]-('right'===Ea?Ba.width:Ba.height))),la({},Fa,Ga)}};return Aa.forEach(function(Da){var Ea=-1===['left','top'].indexOf(Da)?'secondary':'primary';Ba=ma({},Ba,Ca[Ea](Da))}),wa.offsets.popper=Ba,wa},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,function:function(wa){var xa=u(wa.offsets.popper),ya=wa.offsets.reference,za=wa.placement.split('-')[0],Aa=_Mathfloor,Ba=-1!==['top','bottom'].indexOf(za),Ca=Ba?'right':'bottom',Da=Ba?'left':'top',Ea=Ba?'width':'height';return xa[Ca]<Aa(ya[Da])&&(wa.offsets.popper[Da]=Aa(ya[Da])-xa[Ea]),xa[Da]>Aa(ya[Ca])&&(wa.offsets.popper[Da]=Aa(ya[Ca])),wa}},arrow:{order:500,enabled:!0,function:function(wa,xa){if(!S(wa.instance.modifiers,'arrow','keepTogether'))return console.warn('WARNING: `keepTogether` modifier is required by arrow modifier in order to work, be sure to include it before `arrow`!'),wa;var ya=xa.element;if('string'==typeof ya){if(ya=wa.instance.popper.querySelector(ya),!ya)return wa;}else if(!wa.instance.popper.contains(ya))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),wa;var za=wa.placement.split('-')[0],Aa=u(wa.offsets.popper),Ba=wa.offsets.reference,Ca=-1!==['left','right'].indexOf(za),Da=Ca?'height':'width',Ea=Ca?'top':'left',Fa=Ca?'left':'top',Ga=Ca?'bottom':'right',Ha=A(ya)[Da];Ba[Ga]-Ha<Aa[Ea]&&(wa.offsets.popper[Ea]-=Aa[Ea]-(Ba[Ga]-Ha)),Ba[Ea]+Ha>Aa[Ga]&&(wa.offsets.popper[Ea]+=Ba[Ea]+Ha-Aa[Ga]);var Ia=Ba[Ea]+Ba[Da]/2-Ha/2,Ja=Ia-u(wa.offsets.popper)[Ea];return Ja=_Mathmax(_Mathmin(Aa[Da]-Ha,Ja),0),wa.arrowElement=ya,wa.offsets.arrow={},wa.offsets.arrow[Ea]=Ja,wa.offsets.arrow[Fa]='',wa},element:'[x-arrow]'},flip:{order:600,enabled:!0,function:function(wa,xa){if(K(wa.instance.modifiers,'inner'))return wa;if(wa.flipped&&wa.placement===wa.originalPlacement)return wa;var ya=N(wa.instance.popper,wa.instance.reference,xa.padding,xa.boundariesElement),za=wa.placement.split('-')[0],Aa=B(za),Ba=wa.placement.split('-')[1]||'',Ca=[];switch(xa.behavior){case sa.FLIP:Ca=[za,Aa];break;case sa.CLOCKWISE:Ca=V(za);break;case sa.COUNTERCLOCKWISE:Ca=V(za,!0);break;default:Ca=xa.behavior;}return Ca.forEach(function(Da,Ea){if(za!==Da||Ca.length===Ea+1)return wa;za=wa.placement.split('-')[0],Aa=B(za);var Fa=u(wa.offsets.popper),Ga=wa.offsets.reference,Ha=_Mathfloor,Ia='left'===za&&Ha(Fa.right)>Ha(Ga.left)||'right'===za&&Ha(Fa.left)<Ha(Ga.right)||'top'===za&&Ha(Fa.bottom)>Ha(Ga.top)||'bottom'===za&&Ha(Fa.top)<Ha(Ga.bottom),Ja=Ha(Fa.left)<Ha(ya.left),Ka=Ha(Fa.right)>Ha(ya.right),La=Ha(Fa.top)<Ha(ya.top),Ma=Ha(Fa.bottom)>Ha(ya.bottom),Na='left'===za&&Ja||'right'===za&&Ka||'top'===za&&La||'bottom'===za&&Ma,Oa=-1!==['top','bottom'].indexOf(za),Pa=!!xa.flipVariations&&(Oa&&'start'===Ba&&Ja||Oa&&'end'===Ba&&Ka||!Oa&&'start'===Ba&&La||!Oa&&'end'===Ba&&Ma);(Ia||Na||Pa)&&(wa.flipped=!0,(Ia||Na)&&(za=Ca[Ea+1]),Pa&&(Ba=U(Ba)),wa.placement=za+(Ba?'-'+Ba:''),wa.offsets.popper=C(wa.instance.state.position,wa.instance.popper,wa.offsets.reference,wa.placement),wa=J(wa.instance.modifiers,wa,'flip'))}),wa},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,function:function(wa){var xa=wa.placement,ya=xa.split('-')[0],za=u(wa.offsets.popper),Aa=u(wa.offsets.reference),Ba=-1!==['left','right'].indexOf(ya),Ca=-1===['top','left'].indexOf(ya);return za[Ba?'left':'top']=Aa[xa]-(Ca?za[Ba?'width':'height']:0),wa.placement=B(xa),wa.offsets.popper=u(za),wa}},hide:{order:800,enabled:!0,function:function(wa){if(!S(wa.instance.modifiers,'hide','preventOverflow'))return console.warn('WARNING: preventOverflow modifier is required by hide modifier in order to work, be sure to include it before hide!'),wa;var xa=wa.offsets.reference,ya=H(wa.instance.modifiers,function(za){return'preventOverflow'===za.name}).boundaries;if(xa.bottom<ya.top||xa.left>ya.right||xa.top>ya.bottom||xa.right<ya.left){if(!0===wa.hide)return wa;wa.hide=!0,wa.attributes['x-out-of-boundaries']=''}else{if(!1===wa.hide)return wa;wa.hide=!1,wa.attributes['x-out-of-boundaries']=!1}return wa}},applyStyle:{order:900,enabled:!0,gpuAcceleration:!0,function:function(wa,xa){var ya={position:wa.offsets.popper.position},za={'x-placement':wa.placement},Aa=_Mathround(wa.offsets.popper.left),Ba=_Mathround(wa.offsets.popper.top),Ca=g('transform');return xa.gpuAcceleration&&Ca?(ya[Ca]='translate3d('+Aa+'px, '+Ba+'px, 0)',ya.top=0,ya.left=0,ya.willChange='transform'):(ya.left=Aa,ya.top=Ba,ya.willChange='top, left'),f(wa.instance.popper,ma({},ya,wa.styles)),P(wa.instance.popper,ma({},za,wa.attributes)),wa.offsets.arrow&&f(wa.arrowElement,wa.offsets.arrow),wa},onLoad:function(wa,xa,ya,za,Aa){var Ba=z(Aa,xa,wa);return ya.placement=O(ya.placement,Ba,xa,wa),xa.setAttribute('x-placement',ya.placement),ya}}}},va});
|
|
|
|
//# sourceMappingURL=popper.es5.min.js.map
|