Файловый менеджер - Редактировать - /var/www/html/media/foundry/scripts/vendor/tippy.min.js
Ðазад
FD.module("vendor/tippy",function(t){var n=this;FD.require().script("vendor/popper").done(function(){var t,e;t=this,e=function(et){"use strict";function nt(t,e,n){if(Array.isArray(t)){var o=t[e];return null==o?Array.isArray(n)?n[e]:n:o}return t}function n(t,e){t={}.toString.call(t);return 0===t.indexOf("[object")&&-1<t.indexOf(e+"]")}function ot(t,e){return"function"==typeof t?t.apply(void 0,e):t}function it(e,n){return 0===n?e:function(t){clearTimeout(o),o=setTimeout(function(){e(t)},n)};var o}function g(t,e){var n=Object.assign({},t);return e.forEach(function(t){delete n[t]}),n}function rt(t){return[].concat(t)}function at(t,e){-1===t.indexOf(e)&&t.push(e)}function st(t){return t.split("-")[0]}function pt(t){return[].slice.call(t)}function ct(){return document.createElement("div")}function s(e){return["Element","Fragment"].some(function(t){return n(e,t)})}function ut(t){return n(t,"MouseEvent")}function i(t){return t&&t._tippy&&t._tippy.reference===t}function p(t){return s(t)?[t]:n(t,"NodeList")?pt(t):Array.isArray(t)?t:pt(document.querySelectorAll(t))}function lt(t,e){t.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function dt(t,e){t.forEach(function(t){t&&t.setAttribute("data-state",e)})}function ft(t){var e=rt(t)[0];return null!=e&&(null!=(t=e.ownerDocument)&&t.body)?e.ownerDocument:document}function mt(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[o](t,n)})}function c(){Tt.isTouch||(Tt.isTouch=!0,window.performance&&document.addEventListener("mousemove",e))}function e(){var t=performance.now();t-A<20&&(Tt.isTouch=!1,document.removeEventListener("mousemove",e)),A=t}function u(){var t,e=document.activeElement;i(e)&&(t=e._tippy,e.blur&&!t.state.isVisible&&e.blur())}function gt(t){return[t+"() was called on a"+("destroy"===t?"n already-":" ")+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function o(t){return t.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function r(t){return[o("\n %ctippy.js\n\n %c"+o(t)+"\n\n %c👷 This is a development-only message. It will be removed in production.\n "),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function ht(t,e){t&&!j.has(e)&&(j.add(e),(t=console).warn.apply(t,r(e)))}function vt(t,e){t&&!j.has(e)&&(j.add(e),(t=console).error.apply(t,r(e)))}function yt(o){var t=(o.plugins||[]).reduce(function(t,e){var n=e.name,e=e.defaultValue;return n&&(t[n]=void 0!==o[n]?o[n]:e),t},{});return Object.assign({},o,{},t)}function bt(t,e){var i,n,n=Object.assign({},e,{content:ot(e.content,[t])},e.ignoreAttributes?{}:(i=t,((n=e.plugins)?Object.keys(yt(Object.assign({},Ot,{plugins:n}))):k).reduce(function(e,n){var o=(i.getAttribute("data-tippy-"+n)||"").trim();if(!o)return e;if("content"===n)e[n]=o;else try{e[n]=JSON.parse(o)}catch(t){e[n]=o}return e},{})));return n.aria=Object.assign({},Ot.aria,{},n.aria),n.aria={expanded:"auto"===n.aria.expanded?e.interactive:n.aria.expanded,content:"auto"===n.aria.content?e.interactive?null:"describedby":n.aria.content},n}function l(t,n){void 0===t&&(t={}),void 0===n&&(n=[]),Object.keys(t).forEach(function(e){var t=g(Ot,Object.keys(D));ht(!{}.hasOwnProperty.call(t,e)&&0===n.filter(function(t){return t.name===e}).length,["`"+e+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.","\n\n","All props: https://atomiks.github.io/tippyjs/v6/all-props/\n","Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}function a(t,e){t[b()]=e}function d(t){var e=ct();return!0===t?e.className=O:(e.className=C,s(t)?e.appendChild(t):a(e,t)),e}function f(t,e){s(e.content)?(a(t,""),t.appendChild(e.content)):"function"!=typeof e.content&&(e.allowHTML?a(t,e.content):t.textContent=e.content)}function wt(t){var e=t.firstElementChild,t=pt(e.children);return{box:e,content:t.find(function(t){return t.classList.contains(E)}),arrow:t.find(function(t){return t.classList.contains(O)||t.classList.contains(C)}),backdrop:t.find(function(t){return t.classList.contains(T)})}}function t(r){function t(t,e){var n=wt(a),o=n.box,i=n.content,n=n.arrow;e.theme?o.setAttribute("data-theme",e.theme):o.removeAttribute("data-theme"),"string"==typeof e.animation?o.setAttribute("data-animation",e.animation):o.removeAttribute("data-animation"),e.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof e.maxWidth?e.maxWidth+"px":e.maxWidth,e.role?o.setAttribute("role",e.role):o.removeAttribute("role"),t.content===e.content&&t.allowHTML===e.allowHTML||f(i,r.props),e.arrow?n?t.arrow!==e.arrow&&(o.removeChild(n),o.appendChild(d(e.arrow))):o.appendChild(d(e.arrow)):n&&o.removeChild(n)}var a=ct(),e=ct();e.className="tippy-box",e.setAttribute("data-state","hidden"),e.setAttribute("tabindex","-1");var n=ct();return n.className=E,n.setAttribute("data-state","hidden"),f(n,r.props),a.appendChild(e),e.appendChild(n),t(r.props,r.props),{popper:a,onUpdate:t}}function m(a,t){function o(){var t=G.props.touch;return Array.isArray(t)?t:[t,0]}function e(){return"hold"===o()[0]}function s(){var t;return null!=(t=G.props.render)&&t.$$tippy}function c(){return U||a}function n(){var t=c().parentNode;return t?ft(t):document}function p(){return wt(K)}function i(t){return G.state.isMounted&&!G.state.isVisible||Tt.isTouch||N&&"focus"===N.type?0:nt(G.props.delay,t?0:1,Ot.delay)}function u(){K.style.pointerEvents=G.props.interactive&&G.state.isVisible?"":"none",K.style.zIndex=""+G.props.zIndex}function l(e,n,t){void 0===t&&(t=!0),Z.forEach(function(t){t[e]&&t[e].apply(void 0,n)}),t&&(t=G.props)[e].apply(t,n)}function d(){var n,o,t=G.props.aria;t.content&&(n="aria-"+t.content,o=K.id,rt(G.props.triggerTarget||a).forEach(function(t){var e=t.getAttribute(n);G.state.isVisible?t.setAttribute(n,e?e+" "+o:o):(e=e&&e.replace(o,"").trim())?t.setAttribute(n,e):t.removeAttribute(n)}))}function f(){!tt&&G.props.aria.expanded&&rt(G.props.triggerTarget||a).forEach(function(t){G.props.interactive?t.setAttribute("aria-expanded",G.state.isVisible&&t===c()?"true":"false"):t.removeAttribute("aria-expanded")})}function r(){n().removeEventListener("mousemove",$),At=At.filter(function(t){return t!==$})}function m(t){if(!(Tt.isTouch&&(z||"mousedown"===t.type)||G.props.interactive&&K.contains(t.target))){if(c().contains(t.target)){if(Tt.isTouch)return;if(G.state.isVisible&&0<=G.props.trigger.indexOf("click"))return}else l("onClickOutside",[G,t]);!0===G.props.hideOnClick&&(G.clearDelayTimeouts(),G.hide(),Y=!0,setTimeout(function(){Y=!1}),G.state.isMounted||y())}}function g(){z=!0}function h(){z=!1}function v(){var t=n();t.addEventListener("mousedown",m,!0),t.addEventListener("touchend",m,Et),t.addEventListener("touchstart",h,Et),t.addEventListener("touchmove",g,Et)}function y(){var t=n();t.removeEventListener("mousedown",m,!0),t.removeEventListener("touchend",m,Et),t.removeEventListener("touchstart",h,Et),t.removeEventListener("touchmove",g,Et)}function b(t,e){function n(t){t.target===o&&(mt(o,"remove",n),e())}var o=p().box;if(0===t)return e();mt(o,"remove",B),mt(o,"add",n),B=n}function w(e,n,o){void 0===o&&(o=!1),rt(G.props.triggerTarget||a).forEach(function(t){t.addEventListener(e,n,o),X.push({node:t,eventType:e,handler:n,options:o})})}function x(){e()&&(w("touchstart",T,{passive:!0}),w("touchend",C,{passive:!0})),G.props.trigger.split(/\s+/).filter(Boolean).forEach(function(t){if("manual"!==t)switch(w(t,T),t){case"mouseenter":w("mouseleave",C);break;case"focus":w(xt?"focusout":"blur",A);break;case"focusin":w("focusout",A)}})}function E(){X.forEach(function(t){var e=t.node,n=t.eventType,o=t.handler,t=t.options;e.removeEventListener(n,o,t)}),X=[]}function T(e){var t,n=!1;!G.state.isEnabled||j(e)||Y||(t="focus"===(null==N?void 0:N.type),U=(N=e).currentTarget,f(),!G.state.isVisible&&ut(e)&&At.forEach(function(t){return t(e)}),"click"===e.type&&(G.props.trigger.indexOf("mouseenter")<0||q)&&!1!==G.props.hideOnClick&&G.state.isVisible?n=!0:S(e),"click"===e.type&&(q=!n),n&&!t&&P(e))}function O(t){var s,p,e=t.target,e=c().contains(e)||K.contains(e);"mousemove"===t.type&&e||(e=L().concat(K).map(function(t){var e=null==(e=t._tippy.popperInstance)?void 0:e.state;return e?{popperRect:t.getBoundingClientRect(),popperState:e,props:_}:null}).filter(Boolean),s=t.clientX,p=t.clientY,e.every(function(t){var e=t.popperRect,n=t.popperState,o=t.props.interactiveBorder,i=st(n.placement),r=n.modifiersData.offset;if(!r)return!0;var a="bottom"===i?r.top.y:0,t="top"===i?r.bottom.y:0,n="right"===i?r.left.x:0,r="left"===i?r.right.x:0,a=e.top-p+a>o,t=p-e.bottom-t>o,n=e.left-s+n>o,o=s-e.right-r>o;return a||t||n||o})&&(r(),P(t)))}function C(t){j(t)||0<=G.props.trigger.indexOf("click")&&q||(G.props.interactive?G.hideWithInteractivity(t):P(t))}function A(t){G.props.trigger.indexOf("focusin")<0&&t.target!==c()||G.props.interactive&&t.relatedTarget&&K.contains(t.relatedTarget)||P(t)}function j(t){return!!Tt.isTouch&&e()!==0<=t.type.indexOf("touch")}function D(){k();var t=G.props,e=t.popperOptions,n=t.placement,o=t.offset,i=t.getReferenceClientRect,r=t.moveTransition,t=s()?wt(K).arrow:null,i=i?{getBoundingClientRect:i,contextElement:i.contextElement||c()}:a,r=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!r}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e,n=t.state;s()&&(e=p().box,["placement","reference-hidden","escaped"].forEach(function(t){"placement"===t?e.setAttribute("data-placement",n.placement):n.attributes.popper["data-popper-"+t]?e.setAttribute("data-"+t,""):e.removeAttribute("data-"+t)}),n.attributes.popper={})}}];s()&&t&&r.push({name:"arrow",options:{element:t,padding:3}}),r.push.apply(r,(null==e?void 0:e.modifiers)||[]),G.popperInstance=et.createPopper(i,K,Object.assign({},e,{placement:n,onFirstUpdate:H,modifiers:r}))}function k(){G.popperInstance&&(G.popperInstance.destroy(),G.popperInstance=null)}function L(){return pt(K.querySelectorAll("[data-tippy-root]"))}function S(t){G.clearDelayTimeouts(),t&&l("onTrigger",[G,t]),v();var e=i(!0),n=o(),t=n[0],n=n[1];(e=Tt.isTouch&&"hold"===t&&n?n:e)?R=setTimeout(function(){G.show()},e):G.show()}function P(t){G.clearDelayTimeouts(),l("onUntrigger",[G,t]),G.state.isVisible?0<=G.props.trigger.indexOf("mouseenter")&&0<=G.props.trigger.indexOf("click")&&0<=["mouseleave","mousemove"].indexOf(t.type)&&q||((t=i(!1))?I=setTimeout(function(){G.state.isVisible&&G.hide()},t):V=requestAnimationFrame(function(){G.hide()})):y()}var M,R,I,V,N,B,H,U,F,_=bt(a,Object.assign({},Ot,{},yt((M=t,Object.keys(M).reduce(function(t,e){return void 0!==M[e]&&(t[e]=M[e]),t},{}))))),q=!1,Y=!1,z=!1,W=!1,X=[],$=it(O,_.interactiveDebounce),J=Ct++,t=(F=_.plugins).filter(function(t,e){return F.indexOf(t)===e}),G={id:J,reference:a,popper:ct(),popperInstance:null,props:_,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:t,clearDelayTimeouts:function(){clearTimeout(R),clearTimeout(I),cancelAnimationFrame(V)},setProps:function(t){var e,n;ht(G.state.isDestroyed,gt("setProps")),G.state.isDestroyed||(l("onBeforeUpdate",[G,t]),E(),e=G.props,n=bt(a,Object.assign({},G.props,{},t,{ignoreAttributes:!0})),G.props=n,x(),e.interactiveDebounce!==n.interactiveDebounce&&(r(),$=it(O,n.interactiveDebounce)),e.triggerTarget&&!n.triggerTarget?rt(e.triggerTarget).forEach(function(t){t.removeAttribute("aria-expanded")}):n.triggerTarget&&a.removeAttribute("aria-expanded"),f(),u(),Q&&Q(e,n),G.popperInstance&&(D(),L().forEach(function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)})),l("onAfterUpdate",[G,t]))},setContent:function(t){G.setProps({content:t})},show:function(){ht(G.state.isDestroyed,gt("show"));var t,e=G.state.isVisible,n=G.state.isDestroyed,o=!G.state.isEnabled,i=Tt.isTouch&&!G.props.touch,r=nt(G.props.duration,0,Ot.duration);e||n||o||i||c().hasAttribute("disabled")||(l("onShow",[G],!1),!1!==G.props.onShow(G)&&(G.state.isVisible=!0,s()&&(K.style.visibility="visible"),u(),v(),G.state.isMounted||(K.style.transition="none"),s()&<([(t=p()).box,t.content],0),H=function(){var t,e;G.state.isVisible&&!W&&(W=!0,K.offsetHeight,K.style.transition=G.props.moveTransition,s()&&G.props.animation&&(lt([t=(e=p()).box,e=e.content],r),dt([t,e],"visible")),d(),f(),at(jt,G),null!=(e=G.popperInstance)&&e.forceUpdate(),G.state.isMounted=!0,l("onMount",[G]),G.props.animation&&s()&&b(r,function(){G.state.isShown=!0,l("onShown",[G])}))},o=G.props.appendTo,i=c(),(t=G.props.interactive&&o===Ot.appendTo||"parent"===o?i.parentNode:ot(o,[i])).contains(K)||t.appendChild(K),D(),ht(G.props.interactive&&o===Ot.appendTo&&i.nextElementSibling!==K,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.","\n\n","Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.","\n\n","Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.","\n\n","See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))))},hide:function(){ht(G.state.isDestroyed,gt("hide"));var t,e=!G.state.isVisible,n=G.state.isDestroyed,o=!G.state.isEnabled,i=nt(G.props.duration,1,Ot.duration);e||n||o||(l("onHide",[G],!1),!1!==G.props.onHide(G)&&(G.state.isVisible=!1,G.state.isShown=!1,q=W=!1,s()&&(K.style.visibility="hidden"),r(),y(),u(),s()&&(o=(n=p()).box,n=n.content,G.props.animation&&(lt([o,n],i),dt([o,n],"hidden"))),d(),f(),G.props.animation?s()&&(t=G.unmount,b(i,function(){!G.state.isVisible&&K.parentNode&&K.parentNode.contains(K)&&t()})):G.unmount()))},hideWithInteractivity:function(t){ht(G.state.isDestroyed,gt("hideWithInteractivity")),n().addEventListener("mousemove",$),at(At,$),$(t)},enable:function(){G.state.isEnabled=!0},disable:function(){G.hide(),G.state.isEnabled=!1},unmount:function(){ht(G.state.isDestroyed,gt("unmount")),G.state.isVisible&&G.hide(),G.state.isMounted&&(k(),L().forEach(function(t){t._tippy.unmount()}),K.parentNode&&K.parentNode.removeChild(K),jt=jt.filter(function(t){return t!==G}),G.state.isMounted=!1,l("onHidden",[G]))},destroy:function(){ht(G.state.isDestroyed,gt("destroy")),G.state.isDestroyed||(G.clearDelayTimeouts(),G.unmount(),E(),delete a._tippy,G.state.isDestroyed=!0,l("onDestroy",[G]))}};if(!_.render)return vt(!0,"render() function has not been supplied."),G;var J=_.render(G),K=J.popper,Q=J.onUpdate;K.setAttribute("data-tippy-root",""),K.id="tippy-"+G.id,G.popper=K,a._tippy=G,K._tippy=G;var Z=t.map(function(t){return t.fn(G)}),tt=a.hasAttribute("aria-expanded");return x(),f(),u(),l("onCreate",[G]),_.showOnCreate&&S(),K.addEventListener("mouseenter",function(){G.props.interactive&&G.state.isVisible&&G.clearDelayTimeouts()}),K.addEventListener("mouseleave",function(t){G.props.interactive&&0<=G.props.trigger.indexOf("mouseenter")&&(n().addEventListener("mousemove",$),$(t))}),G}function h(t,e){var n,o,i=Ot.plugins.concat((e=void 0===e?{}:e).plugins||[]);o=!(n=t),a="[object Object]"===Object.prototype.toString.call(n)&&!n.addEventListener,vt(o,["tippy() was passed","`"+String(n)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),vt(a,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" ")),l(e,i),document.addEventListener("touchstart",c,Et),window.addEventListener("blur",u);var r=Object.assign({},e,{plugins:i}),a=p(t),e=s(r.content),i=1<a.length;ht(e&&i,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.","\n\n","Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.","\n\n","1) content: element.innerHTML\n","2) content: () => element.cloneNode(true)"].join(" "));a=a.reduce(function(t,e){e=e&&m(e,r);return e&&t.push(e),t},[]);return s(t)?a[0]:a}function v(t){var e=t.clientX,t=t.clientY;M={clientX:e,clientY:t}}function y(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}function b(){return"innerHTML"}var w="undefined"!=typeof window&&"undefined"!=typeof document,x=w?navigator.userAgent:"",xt=/MSIE |Trident\//.test(x),E="tippy-content",T="tippy-backdrop",O="tippy-arrow",C="tippy-svg-arrow",Et={passive:!0,capture:!0},Tt={isTouch:!1},A=0,j=new Set,D={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ot=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},D,{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),k=Object.keys(Ot);t.$$tippy=!0;var Ct=1,At=[],jt=[];h.defaultProps=Ot,h.setDefaultProps=function(e){l(e,[]),Object.keys(e).forEach(function(t){Ot[t]=e[t]})},h.currentInput=Tt;var L=Object.assign({},et.applyStyles,{effect:function(t){var e=t.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow)}}),S={mouseover:"mouseenter",focusin:"focus",click:"click"},P={name:"animateFill",defaultValue:!1,fn:function(t){if(null==(e=t.props.render)||!e.$$tippy)return vt(t.props.animateFill,"The `animateFill` plugin requires the default render function."),{};var e=wt(t.popper),n=e.box,o=e.content,i=t.props.animateFill?((e=ct()).className=T,dt([e],"hidden"),e):null;return{onCreate:function(){i&&(n.insertBefore(i,n.firstElementChild),n.setAttribute("data-animatefill",""),n.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){var t,e;i&&(t=n.style.transitionDuration,e=Number(t.replace("ms","")),o.style.transitionDelay=Math.round(e/10)+"ms",i.style.transitionDuration=t,dt([i],"visible"))},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&dt([i],"hidden")}}}},M={clientX:0,clientY:0},R=[],I={name:"followCursor",defaultValue:!1,fn:function(n){function o(){return"initial"===n.props.followCursor&&n.state.isVisible}function i(){e.addEventListener("mousemove",t)}function r(){e.removeEventListener("mousemove",t)}function a(){c=!0,n.setProps({getReferenceClientRect:null}),c=!1}function t(t){var e=!t.target||u.contains(t.target),r=n.props.followCursor,a=t.clientX,s=t.clientY,t=u.getBoundingClientRect(),p=a-t.left,c=s-t.top;!e&&n.props.interactive||n.setProps({getReferenceClientRect:function(){var t=u.getBoundingClientRect(),e=a,n=s;"initial"===r&&(e=t.left+p,n=t.top+c);var o="horizontal"===r?t.top:n,i="vertical"===r?t.right:e,n="horizontal"===r?t.bottom:n,e="vertical"===r?t.left:e;return{width:i-e,height:n-o,top:o,right:i,bottom:n,left:e}}})}function s(){n.props.followCursor&&(R.push({instance:n,doc:e}),e.addEventListener("mousemove",v))}function p(){0===(R=R.filter(function(t){return t.instance!==n})).filter(function(t){return t.doc===e}).length&&e.removeEventListener("mousemove",v)}var u=n.reference,e=ft(n.props.triggerTarget||u),c=!1,l=!1,d=!0,f=n.props;return{onCreate:s,onDestroy:p,onBeforeUpdate:function(){f=n.props},onAfterUpdate:function(t,e){e=e.followCursor;c||void 0!==e&&f.followCursor!==e&&(p(),e?(s(),!n.state.isMounted||l||o()||i()):(r(),a()))},onMount:function(){n.props.followCursor&&!l&&(d&&(t(M),d=!1),o()||i())},onTrigger:function(t,e){ut(e)&&(M={clientX:e.clientX,clientY:e.clientY}),l="focus"===e.type},onHidden:function(){n.props.followCursor&&(a(),r(),d=!0)}}}},V={name:"inlinePositioning",defaultValue:!1,fn:function(i){function n(t){return function(e,t,n,o){if(n.length<2||null===e)return t;if(2===n.length&&0<=o&&n[0].left>n[1].right)return n[o]||t;switch(e){case"top":case"bottom":var i=n[0],r=n[n.length-1],a="top"===e,s=i.top,p=r.bottom,c=(a?i:r).left,r=(a?i:r).right;return{top:s,bottom:p,left:c,right:r,width:r-c,height:p-s};case"left":case"right":var u=Math.min.apply(Math,n.map(function(t){return t.left})),l=Math.max.apply(Math,n.map(function(t){return t.right})),p=n.filter(function(t){return"left"===e?t.left===u:t.right===l}),s=p[0].top,p=p[p.length-1].bottom;return{top:s,bottom:p,left:u,right:l,width:l-u,height:p-s};default:return t}}(st(t),e.getBoundingClientRect(),pt(e.getClientRects()),r)}function t(){var t,e;a||(t=i.props,e=s,t={popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat(((null==(t=t.popperOptions)?void 0:t.modifiers)||[]).filter(function(t){return t.name!==e.name}),[e])})},a=!0,i.setProps(t),a=!1)}var o,e=i.reference,r=-1,a=!1,s={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(t){var e=t.state;i.props.inlinePositioning&&(o!==e.placement&&i.setProps({getReferenceClientRect:function(){return n(e.placement)}}),o=e.placement)}};return{onCreate:t,onAfterUpdate:t,onTrigger:function(t,e){var n,o;ut(e)&&(o=(n=pt(i.reference.getClientRects())).find(function(t){return t.left-2<=e.clientX&&t.right+2>=e.clientX&&t.top-2<=e.clientY&&t.bottom+2>=e.clientY}),r=n.indexOf(o))},onUntrigger:function(){r=-1}}}},x={name:"sticky",defaultValue:!1,fn:function(n){function o(t){return!0===n.props.sticky||n.props.sticky===t}function i(){var t=o("reference")?(n.popperInstance?n.popperInstance.state.elements.reference:r).getBoundingClientRect():null,e=o("popper")?a.getBoundingClientRect():null;(t&&y(s,t)||e&&y(p,e))&&n.popperInstance&&n.popperInstance.update(),s=t,p=e,n.state.isMounted&&requestAnimationFrame(i)}var r=n.reference,a=n.popper,s=null,p=null;return{onMount:function(){n.props.sticky&&i()}}}};return w&&function(t){var e=document.createElement("style");e.textContent=t,e.setAttribute("data-tippy-stylesheet","");var n=document.head;(t=document.querySelector("head>style,head>link"))?n.insertBefore(e,t):n.appendChild(e)}('.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}'),h.setDefaultProps({plugins:[P,I,V,x],render:t}),h.createSingleton=function(t,e){function n(){p=s.map(function(t){return t.reference})}function o(e){s.forEach(function(t){e?t.enable():t.disable()})}function i(o){return s.map(function(e){var n=e.setProps;return e.setProps=function(t){n(t),e.reference===a&&o.setProps(t)},function(){e.setProps=n}})}function r(t,e){var n,o=p.indexOf(e);e!==a&&(a=e,n=(c||[]).concat("content").reduce(function(t,e){return t[e]=s[o].props[e],t},{}),t.setProps(Object.assign({},n,{getReferenceClientRect:"function"==typeof n.getReferenceClientRect?n.getReferenceClientRect:function(){return e.getBoundingClientRect()}})))}void 0===e&&(e={}),vt(!Array.isArray(t),["The first argument passed to createSingleton() must be an array of","tippy instances. The passed value was",String(t)].join(" "));var a,s=t,p=[],c=e.overrides,u=[],l=!1;o(!1),n();var t={fn:function(){return{onDestroy:function(){o(!0)},onHidden:function(){a=null},onClickOutside:function(t){t.props.showOnCreate&&!l&&(l=!0,a=null)},onShow:function(t){t.props.showOnCreate&&!l&&(l=!0,r(t,p[0]))},onTrigger:function(t,e){r(t,e.currentTarget)}}}},d=h(ct(),Object.assign({},g(e,["overrides"]),{plugins:[t].concat(e.plugins||[]),triggerTarget:p,popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat((null==(e=e.popperOptions)?void 0:e.modifiers)||[],[L])})})),f=d.show;d.show=function(t){if(f(),!a&&null==t)return r(d,p[0]);if(!a||null!=t){if("number"==typeof t)return p[t]&&r(d,p[t]);if(s.includes(t)){var e=t.reference;return r(d,e)}return p.includes(t)?r(d,t):void 0}},d.showNext=function(){var t=p[0];if(!a)return d.show(0);var e=p.indexOf(a);d.show(p[e+1]||t)},d.showPrevious=function(){var t=p[p.length-1];if(!a)return d.show(t);var e=p.indexOf(a),t=p[e-1]||t;d.show(t)};var m=d.setProps;return d.setProps=function(t){c=t.overrides||c,m(t)},d.setInstances=function(t){o(!0),u.forEach(function(t){return t()}),s=t,o(!1),n(),i(d),d.setProps({triggerTarget:p})},u=i(d),d},h.delegate=function(t,o){function i(t){var e,n;!t.target||p||(n=t.target.closest(c))&&(e=n.getAttribute("data-tippy-trigger")||o.trigger||Ot.trigger,n._tippy||"touchstart"===t.type&&"boolean"==typeof u.touch||"touchstart"!==t.type&&e.indexOf(S[t.type])<0||(n=h(n,u))&&(s=s.concat(n)))}function r(t,e,n,o){t.addEventListener(e,n,o=void 0===o?!1:o),a.push({node:t,eventType:e,handler:n,options:o})}vt(!(o&&o.target),["You must specity a `target` prop indicating a CSS selector string matching","the target elements that should receive a tippy."].join(" "));var a=[],s=[],p=!1,c=o.target,e=g(o,["target"]),n=Object.assign({},e,{trigger:"manual",touch:!1}),u=Object.assign({},e,{showOnCreate:!0});return rt(n=h(t,n)).forEach(function(t){var e=t.destroy,n=t.enable,o=t.disable;t.destroy=function(t){(t=void 0===t?!0:t)&&s.forEach(function(t){t.destroy()}),s=[],a.forEach(function(t){var e=t.node,n=t.eventType,o=t.handler,t=t.options;e.removeEventListener(n,o,t)}),a=[],e()},t.enable=function(){n(),s.forEach(function(t){return t.enable()}),p=!1},t.disable=function(){o(),s.forEach(function(t){return t.disable()}),p=!0},r(t=(t=t).reference,"touchstart",i,Et),r(t,"mouseover",i),r(t,"focusin",i),r(t,"click",i)}),n},h.hideAll=function(t){var t=void 0===t?{}:t,n=t.exclude,o=t.duration;jt.forEach(function(t){var e=!1;(e=n?i(n)?t.reference===n:t.popper===n.popper:e)||(e=t.props.duration,t.setProps({duration:o}),t.hide(),t.state.isDestroyed||t.setProps({duration:e}))})},h.roundArrow='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',h},"object"==typeof exports&&void 0!==n?n.exports=e(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],e):(t=t||self).tippy=e(t.Popper),window.debugFoundryTippy=(t,e={})=>{t=void 0===t?"[data-fd-tooltip]":t;const n={hideOnClick:"toggle",trigger:"click",...e};document.querySelectorAll(t).forEach(t=>{void 0!==t._tippy&&t._tippy.setProps(n)})},n.resolve()})});
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка