43 lines
36 KiB
Plaintext
43 lines
36 KiB
Plaintext
;/*FB_PKG_DELIM*/
|
|
|
|
__d("AbstractContextualDialogArrowBehavior",["cx","CSS","DOM","Locale","Style","Vector","abstractMethod"],(function(t,n,r,o,a,i,l){var e={bottom:"_53ik",top:"_53il",right:"_53im",left:"_53in"},s={above:"bottom",below:"top",left:"right",right:"left"},u=(function(){"use strict";function t(e){this.__layer=this._layer=e}var r=t.prototype;return r.enable=function(){this._subscription=this._layer.subscribe(["adjust","reposition"],this._handle.bind(this))},r.disable=function(){this._subscription.unsubscribe(),this._subscription=null},r.__getArrow=function(){return n("abstractMethod")("AbstractContextualDialogArrowBehavior","__getArrow")},r._handle=function(t,n){t==="adjust"?this._repositionArrow(n):this._repositionRoot(n)},r._repositionRoot=function(t){var e=t.getAlignment();if(e!="center"){var r=this._layer.getRoot(),o=this._layer.getContext(),a=t.isVertical(),i=this._layer.getArrowDimensions(),l=i.offset,s=i.length,u=n("Vector").getElementDimensions(o),c=a?u.x:u.y;if(!(c>=s+l*2)){var d=s/2+l,m=c/2,p=parseInt(d-m,10);if(a){var _=null;e=="left"?_=n("Locale").isRTL()?"right":"left":_=n("Locale").isRTL()?"left":"right";var f=parseInt(n("Style").get(r,_),10);n("Style").set(r,_,f-p+"px")}else{var g=parseInt(n("Style").get(r,"top"),10);n("Style").set(r,"top",g-p+"px")}}}},r._repositionArrow=function(o){var r=this._layer.getContentRoot(),a=o.getPosition(),i=s[a];for(var l in e)n("CSS").conditionClass(r,e[l],i===l);if(a!="none"){this._arrow||(this._arrow=this.__getArrow()),n("DOM").contains(r,this._arrow)||n("DOM").appendContent(r,this._arrow),n("Style").set(this._arrow,"top",""),n("Style").set(this._arrow,"left",""),n("Style").set(this._arrow,"right",""),n("Style").set(this._arrow,"margin","");var u=t.getOffsetPercent(o),c=t.getOffset(o,u,this._layer),d=t.getOffsetSide(o);n("Style").set(this._arrow,d,u+"%"),n("Style").set(this._arrow,"margin-"+d,c+"px")}},t.getOffsetPercent=function(t){var e=t.getAlignment(),n=t.getPosition();if(n=="above"||n=="below"){if(e=="center")return 50;if(e=="right")return 100}return 0},t.getOffsetSide=function(t){var e=t.isVertical();return e?n("Locale").isRTL()?"right":"left":"top"},t.getOffset=function(t,n,r){var e=r.getArrowDimensions(),o=e.offset,a=e.length,i=t.getAlignment(),l=i=="center"?0:o;return l+=a*n/100,i!="left"&&(l*=-1),l},t})();a.exports=u}),null);
|
|
__d("compareDOMOrder",[],(function(t,n,r,o,a,i){"use strict";function e(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}i.default=e}),66);
|
|
__d("useRefEffect",["react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.useCallback,c=s.useRef;function d(e,t){var n=c(null);return u(function(t){n.current&&(n.current(),n.current=null),t!=null&&(n.current=e(t))},t)}l.default=d}),98);
|
|
__d("createLayoutContext",["compareDOMOrder","emptyFunction","react","react-compiler-runtime","useRefEffect","useUnsafeRef_DEPRECATED"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u=s||(s=o("react")),c=s,d=c.useContext,m=c.useImperativeHandle,p=c.useMemo,_=c.useReducer;function f(t){var n={getLayout:function(){return t},dispatch:r("emptyFunction"),nodes:new Map,values:[]},a=u.createContext(n);function i(e){var t=o("react-compiler-runtime").c(11),n=e.children,r=e.imperativeRef,i=e.value,l=y(),s=l[0],c=l[1],d=l[2],p,_;t[0]!==d?(p=function(){return{forceUpdate:function(){return d()}}},_=[d],t[0]=d,t[1]=p,t[2]=_):(p=t[1],_=t[2]),m(r,p,_);var f;t[3]!==d||t[4]!==s||t[5]!==i||t[6]!==c?(f={getLayout:i,dispatch:d,nodes:s,values:c},t[3]=d,t[4]=s,t[5]=i,t[6]=c,t[7]=f):f=t[7];var g=f,h;return t[8]!==n||t[9]!==g?(h=u.jsx(a.Provider,{value:g,children:n}),t[8]=n,t[9]=g,t[10]=h):h=t[10],h}function l(e){var t=o("react-compiler-runtime").c(2),r;return t[0]!==e?(r=u.jsx(a.Provider,babelHelpers.extends({value:n},e)),t[0]=e,t[1]=r):r=t[1],r}function s(n){var o=(e||(e=r("useUnsafeRef_DEPRECATED")))(null),i=d(a),l=i.dispatch,s=i.getLayout,u=i.nodes,c=i.values,m=p(function(){var e=o.current&&u.get(o.current),n=u.size;return e!=null?s({isFirst:e===0,isLast:e>=0&&e===n-1,index:e,total:n,values:c,nodes:u}):t},[s,u,c]),_=r("useRefEffect")(function(e){return o.current=e,l({add:e,value:n}),function(){o.current=null,l({remove:e})}},[l,n]);return[m,_]}function c(e){var t=o("react-compiler-runtime").c(4),n=s(e.value),r=n[0],a=n[1],i;return t[0]!==r||t[1]!==e.children||t[2]!==a?(i=e.children(r,a),t[0]=r,t[1]=e.children,t[2]=a,t[3]=i):i=t[3],i}return{Provider:i,Consumer:c,Resetter:l,useLayoutContext:s,_context:a}}function g(e,t){var n=e.node,o=t.node;return r("compareDOMOrder")(n,o)}function h(e,t){var n=Array.from(e);return t!=null&&(t.remove&&(n=e.filter(function(e){var n=e.node;return n!==t.remove})),t.add&&(n=n.filter(function(e){var n=e.node;return n!==t.add}).concat({node:t.add,value:t.value}))),n.sort(g)}function y(){var e=o("react-compiler-runtime").c(6),t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=[],e[0]=t):t=e[0];var n=_(h,t),r=n[0],a=n[1],i;if(e[1]!==r){var l=new Map,s=[];r.forEach(function(e,t){var n=e.node,r=e.value;l.set(n,t),s.push(r)}),i={nodes:l,values:s},e[1]=r,e[2]=i}else i=e[2];var u=i,c=u.nodes,d=u.values,m;return e[3]!==c||e[4]!==d?(m=[c,d,a],e[3]=c,e[4]=d,e[5]=m):m=e[5],m}l.default=f}),98);
|
|
__d("BUIPrivateButtonLayoutContext",["createLayoutContext"],(function(t,n,r,o,a,i,l){"use strict";var e=r("createLayoutContext")({}),s=e;l.default=s}),98);
|
|
__d("flattenArray",[],(function(t,n,r,o,a,i){function e(e){var t=[];return l(e,t),t}function l(e,t){for(var n=e.length,r=0;n--;){var o=e[r++];Array.isArray(o)?l(o,t):t.push(o)}}i.default=e}),66);
|
|
__d("JSXDOM",["FbtResultBase","cr:6114","flattenArray"],(function(t,n,r,o,a,i){var e=["a","blockquote","br","button","canvas","checkbox","dd","div","dl","dt","em","form","h1","h2","h3","h4","h5","h6","hr","i","iframe","img","input","label","li","option","p","pre","select","span","strong","table","tbody","thead","td","textarea","th","tr","ul","video"],l={};e.forEach(function(e){var t=function(r,o){return arguments.length>2&&(o=Array.prototype.slice.call(arguments,1)),!o&&r&&(o=r.children,delete r.children),o&&(o=Array.isArray(o)?o:[o],o=o.map(function(e){return e instanceof n("FbtResultBase")?e.flattenToArray():e}),o=n("flattenArray")(o)),n("cr:6114").create(e,r,o)};l[e]=t}),a.exports=l}),null);
|
|
__d("ContextualDialogArrow",["cx","AbstractContextualDialogArrowBehavior","CSS","JSXDOM"],(function(t,n,r,o,a,i,l,s){var e=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.__getArrow=function(){return r("JSXDOM").i({className:"_53io"})},n.enable=function(){e.prototype.enable.call(this);var t=this.__layer.getContentRoot();o("CSS").addClass(t,"_5v-0")},n.disable=function(){e.prototype.disable.call(this);var t=this.__layer.getContentRoot();o("CSS").removeClass(t,"_5v-0")},t})(r("AbstractContextualDialogArrowBehavior"));l.default=e}),98);
|
|
__d("DialogPosition",["Vector"],(function(t,n,r,o,a,i,l){var e=40,s;function u(t,n,o,a,i){o===void 0&&(o=null),a===void 0&&(a=!1),i===void 0&&(i=!1);var l=r("Vector").getViewportDimensions(),u=!1;if(a&&o!=null&&(u=o+n>l.y),o!=null&&!u)return o;if(s!=null)return s;var c=Math.floor(i?(l.y-n)/2:(l.x+t)*(l.y-n)/(4*l.x));return Math.max(c,e)}function c(e){s=e}l.calculateTopMargin=u,l.setFixedTopMargin=c}),98);
|
|
__d("LayerButtons",["csx","Button","Event","LayerHideSources","Parent"],(function(t,n,r,o,a,i,l){var e=(function(){"use strict";function e(e){this.$2=null,this.$1=e}var t=e.prototype;return t.enable=function(){this.$2=n("Event").listen(this.$1.getRoot(),"click",this.$3.bind(this))},t.disable=function(){this.$2.remove(),this.$2=null},t.$3=function(t){var e=t.getTarget(),r=n("Parent").byClass(e,"layerHide");if(r){this.$1.hide(n("LayerHideSources").LAYER_HIDE_BUTTON);return}var o=n("Parent").byClass(e,"layerConfirm");if(o){if(this.$4(o)&&!n("Button").isEnabled(o)||this.$5(o))return;this.$1.inform("confirm",o)===!1&&t.prevent();return}var a=n("Parent").byClass(e,"layerCancel");if(a){if(this.$4(a)&&!n("Button").isEnabled(a)||this.$5(a))return;this.$1.inform("cancel",a)!==!1&&this.$1.hide(n("LayerHideSources").LAYER_CANCEL_BUTTON),t.prevent();return}var i=n("Parent").byClass(e,"layerButton");if(i){if(this.$4(i)&&!n("Button").isEnabled(i)||this.$5(i))return;this.$1.inform("button",i)===!1&&t.prevent()}},t.$5=function(t){var e=n("Parent").byClass(t,"uiLayer"),r=this.$1.getRoot();return!!(e&&r!==e)},t.$4=function(t){return!!(n("Parent").byClass(t,"uiButton")||n("Parent").bySelector(t,"._42ft"))},e})();a.exports=e}),null);
|
|
__d("LayerFormHooks",["Event"],(function(t,n,r,o,a,i){var e=(function(){"use strict";function e(e){this.$2=null,this.$1=e}var t=e.prototype;return t.enable=function(){var e=this.$1.getRoot();this.$2=[n("Event").listen(e,"submit",this.$3.bind(this)),n("Event").listen(e,"success",this.$4.bind(this)),n("Event").listen(e,"error",this.$5.bind(this))]},t.disable=function(){this.$2.forEach(function(e){e.remove()}),this.$2=null},t.$3=function(t){this.$1.inform("submit",t)===!1&&t.kill()},t.$4=function(t){this.$1.inform("success",t)===!1&&t.kill()},t.$5=function(t){var e=t.getData();this.$1.inform("error",{response:e.response})===!1&&t.kill()},e})();a.exports=e}),null);
|
|
__d("LayerRefocusOnHide",["ContextualThing","DOM","DOMQuery","Focus","Parent","getActiveElement","nullthrows"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e){this._layer=e}var t=e.prototype;return t.enable=function(){var e=this;this._subscription=this._layer.subscribe("hide",function(){return e._handle()})},t.disable=function(){r("nullthrows")(this._subscription).unsubscribe(),this._subscription=null},t._handle=function(){var e=r("getActiveElement")();if(e===document.body||o("DOMQuery").contains(this._layer.getRoot(),e)){for(var t=this._layer.getCausalElement();t!=null&&t.offsetWidth===0;){var n=o("Parent").byClass(t,"uiToggle");if(n!=null&&n.offsetWidth!==0)t=r("DOM").scry(n,'[rel="toggle"]')[0];else{var a=o("ContextualThing").getContext(t);a?t=a:t=t.parentNode}}t&&(t=t,o("Focus").set(t))}},e})();Object.assign(e.prototype,{_subscription:null}),l.default=e}),98);
|
|
__d("LayerTogglerContext",["Toggler"],(function(t,n,r,o,a,i){var e=(function(){"use strict";function e(e){this._layer=e}var t=e.prototype;return t.enable=function(){this._root=this._layer.getRoot(),n("Toggler").createInstance(this._root).setSticky(!1)},t.disable=function(){n("Toggler").destroyInstance(this._root),this._root=null},e})();a.exports=e}),null);
|
|
__d("DialogX",["cx","fbt","Arbiter","CSS","DOMQuery","DialogPosition","Event","JSXDOM","Layer","LayerAutoFocus","LayerButtons","LayerFormHooks","LayerRefocusOnHide","LayerTabIsolation","LayerTogglerContext","ModalLayer","Style","Vector","debounce","getOrCreateDOMID","goURI","isTruthy","shield"],(function(t,n,r,o,a,i,l,s,u){var e=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n._configure=function(n,a){var t=this;e.prototype._configure.call(this,n,a);var i=this.getRoot();if(i!=null&&o("CSS").addClass(i,"_4-hy"),n.autohide!=null)var l=this.subscribe("show",function(){l.unsubscribe(),window.setTimeout(r("shield")(t.hide,t),n.autohide)});if(n.redirectURI!=null&&n.redirectURI!=="")var s=this.subscribe("hide",function(){s.unsubscribe();var e=n.redirectURI;e!=null&&r("goURI")(e)});this._fixedTopPosition=n.fixedTopPosition,this._ignoreFixedTopInShortViewport=n.ignoreFixedTopInShortViewport,this._isVerticallyCentered=n.isVerticallyCentered},n._getDefaultBehaviors=function(){return e.prototype._getDefaultBehaviors.call(this).concat([c,r("ModalLayer"),this._config.autofocus===!1?void 0:r("LayerAutoFocus"),r("LayerButtons"),r("LayerFormHooks"),r("LayerTabIsolation"),r("LayerTogglerContext"),r("LayerRefocusOnHide")].filter(r("isTruthy")))},n.hasWash=function(){var e;return(e=this._config.hasWash)!=null?e:!0},n._buildWrapper=function(t,n){var e=t.xui===!0?"_4t2a":"_t _9l18",a=t.xui===!0?"_59s7 _9l2g":"_1yv";this._innerContent=r("JSXDOM").div(null,n);var i={className:a,role:"dialog"};if(t.labelledBy!=null&&t.labelledBy!=="")i["aria-labelledby"]=t.labelledBy;else if(t.label!=null&&t.label!=="")i["aria-label"]=t.label;else if(t.titleID!=null&&t.titleID!=="")i["aria-labelledby"]=t.titleID;else if(t.titleClass!=null&&t.titleClass!==""){var l=o("DOMQuery").scry(this._innerContent,t.titleClass);if(l.length){var s=r("getOrCreateDOMID")(l[0]);i["aria-labelledby"]=s}else i["aria-label"]=this._getDefaultLabel()}else i["aria-label"]=this._getDefaultLabel();var u={className:e};return t["data-testid"]!=null&&t["data-testid"]!==""&&(u["data-testid"]=t["data-testid"]),this._wrapper=r("JSXDOM").div(i,r("JSXDOM").div(u,this._innerContent)),t.width!=null&&this.setWidth(t.width),t.height!=null&&this.setHeight(t.height),r("JSXDOM").div({className:"_10"},this._wrapper)},n._getDefaultLabel=function(){return u._(/*BTDS*/"P\u00e1rbesz\u00e9dpanel tartalma")},n.getContentRoot=function(){return this._wrapper},n.getInnerContent=function(){return this._innerContent},n.updatePosition=function(){var e,t,n=r("Vector").getElementDimensions(this._wrapper),a=o("DialogPosition").calculateTopMargin(n.x,n.y,this._fixedTopPosition,(e=this._ignoreFixedTopInShortViewport)!=null?e:!1,(t=this._isVerticallyCentered)!=null?t:!1);return r("Style").set(this._wrapper,"margin-top",a+"px"),this.inform("update_position",{type:"DialogX",top:a}),!0},n.setWidth=function(t){if(t==="100%")this._width=void 0,r("Style").set(this._wrapper,"width","");else{if(t=Math.floor(t),t===this._width)return;this._width=t,r("Style").set(this._wrapper,"width",t+"px")}},n.getWidth=function(){return this._width},n.setHeight=function(t){t=Math.floor(t),t!==this._height&&(this._height=t,r("Style").set(this._wrapper,"height",t+"px"))},n.getFixedTopPosition=function(){return this._fixedTopPosition},n.shouldIgnoreFixedTopInShortViewport=function(){return this._ignoreFixedTopInShortViewport},t})(r("Layer")),c=(function(){function e(e){this._subscription=null,this._resize=null,this._layer=e}var t=e.prototype;return t.enable=function(){var e=this;this._subscription=this._layer.subscribe(["show","hide"],function(t){t==="show"?(e._attach(),r("Arbiter").inform("layer_shown",{type:"DialogX"})):(e._detach(),r("Arbiter").inform("layer_hidden",{type:"DialogX"}))})},t.disable=function(){var e;(e=this._subscription)==null||e.unsubscribe(),this._subscription=null,this._resize&&this._detach()},t._attach=function(){this._layer.updatePosition(),this._resize=r("Event").listen(window,"resize",r("debounce")(this._layer.updatePosition.bind(this._layer)))},t._detach=function(){var e;(e=this._resize)==null||e.remove(),this._resize=null},e})();l.default=e}),226);
|
|
__d("LayerAutoFocusReact",["focusWithinLayer"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(){function e(e){this._layer=e,this._subscription=null}var t=e.prototype;return t.enable=function(){var e=this;this._layer.containsReactComponent&&(this._subscription=this._layer.subscribe("reactshow",function(){return e._focus()}))},t.disable=function(){this._subscription&&(this._subscription.unsubscribe(),this._subscription=null)},t._focus=function(){var e=this._layer.getRoot();e&&r("focusWithinLayer")(e)},e})();l.default=e}),98);
|
|
__d("LayerDestroyOnHide",["setTimeout"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e){this.$2=null,this.$1=e}var t=e.prototype;return t.enable=function(){var e=this.$1.destroy.bind(this.$1);this.$2=this.$1.subscribe("hide",function(){r("setTimeout")(e,0)})},t.disable=function(){this.$2&&(this.$2.unsubscribe(),this.$2=null)},e})();l.default=e}),98);
|
|
__d("LayerFadeOnHide",["invariant","CSSFade","Layer","SubscriptionsHandler","UserAgent_DEPRECATED","clearTimeout","setTimeoutAcrossTransitions"],(function(t,n,r,o,a,i,l,s){var e=(function(){function e(e){this.$1=e,this.$3=new(r("SubscriptionsHandler")),this.$2=null}var t=e.prototype;return t.enable=function(){o("UserAgent_DEPRECATED").ie()<9||(this.$2=this.$1.subscribe("starthide",this.$4.bind(this)))},t.disable=function(){this.$2&&(this.$2.unsubscribe(),this.$2=null),this.$3.release()},t.$5=function(){return 150},t.$4=function(){var e=this,t=!0,n=r("Layer").subscribe("show",function(){n.unsubscribe(),t=!1}),o=r("setTimeoutAcrossTransitions")(function(){n.unsubscribe(),n=null;var r=function(){e.$1.finishHide()};t?e.$6(r):r()},0);return this.$3.addSubscriptions({remove:function(){r("clearTimeout")(o)}}),!1},t.$6=function(t){var e=this.$1.getRoot();e!=null||s(0,70),r("CSSFade").hide(e,{callback:function(){t()},duration:this.$5()})},e.forDuration=function(n){return(function(e){function t(){return e.apply(this,arguments)||this}return babelHelpers.inheritsLoose(t,e),t})(e)},e})();l.default=e}),98);
|
|
__d("LayerFadeOnShow",["Bootloader","Run","emptyFunction","ifRequired"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e){this._layer=e,o("Run").onAfterLoad(function(){r("Bootloader").loadModules(["CSSFade"],r("emptyFunction"),"LayerFadeOnShow")})}var t=e.prototype;return t.enable=function(){var e=this;this._subscriptions=[this._layer.subscribe("show",function(){return e._animate()})]},t.disable=function(){if(this._subscriptions){for(;this._subscriptions.length;)this._subscriptions.pop().unsubscribe();this._subscriptions=null}},t._getDuration=function(){return 100},t._animate=function(){var e=this,t=this._layer.getRoot();r("ifRequired")("CSSFade",function(n){n.show(t,{duration:e._getDuration()})},function(){})},e.forDuration=function(n){var t=(function(e){function t(){return e.apply(this,arguments)||this}return babelHelpers.inheritsLoose(t,e),t})(e);return t.prototype._getDuration=r("emptyFunction").thatReturns(n),t},e})();Object.assign(e.prototype,{_subscriptions:null}),l.default=e}),98);
|
|
__d("LayerHideOnBlur",["LayerHideSources","requestAnimationFrame"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e){this.$2=null,this.$3=null,this.$1=e}var t=e.prototype;return t.enable=function(){var e=this;this.$3=[this.$1.subscribe("show",function(){return e.$4()}),this.$1.subscribe("hide",function(){return e.$5()})],this.$1.isShown()&&this.$4()},t.disable=function(){for(this.$5();this.$3&&this.$3.length;)this.$3.pop().unsubscribe();this.$3=null},t.$5=function(){this.$2&&this.$2.unsubscribe(),this.$2=null},t.$4=function(){var e=this;this.$2=this.$1.subscribe("blur",function(){return r("requestAnimationFrame")(function(){e.$1.hide(r("LayerHideSources").BLUR)}),!1})},e})();l.default=e}),98);
|
|
__d("RTLKeys",["Keys","Locale"],(function(t,n,r,o,a,i,l){var e=null;function s(){return e===null&&(e=o("Locale").isRTL()),e}var u=babelHelpers.objectWithoutPropertiesLoose(r("Keys"),["LEFT","RIGHT"]),c=babelHelpers.extends({},u,{REAL_RIGHT:r("Keys").RIGHT,REAL_LEFT:r("Keys").LEFT,getLeft:function(){return s()?c.REAL_RIGHT:c.REAL_LEFT},getRight:function(){return s()?c.REAL_LEFT:c.REAL_RIGHT}}),d=c;l.default=d}),98);
|
|
__d("XUIDialogBody.react",["cx","XUIText.react","joinClasses","react"],(function(t,n,r,o,a,i,l,s){var e,u=e||(e=o("react")),c=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.render=function(){var e="_4-i2"+(this.props.useCustomPadding?"":" _pig");return u.jsx(r("XUIText.react"),babelHelpers.extends({},this.props,{className:r("joinClasses")(this.props.className,e),display:"block",size:this.props.fontSize,children:this.props.children}))},t})(u.Component);c.defaultProps={fontSize:"medium"},l.default=c}),98);
|
|
__d("XUIButton.react",["cx","AbstractButton.react","XUISpinner.react","joinClasses","react"],(function(t,n,r,o,a,i,l,s){var e=["borderShade","buttonRef","loading","size","suppressed","use"],u,c=u||(u=o("react")),d="medium",m=(function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e=t.call.apply(t,[this].concat(r))||this,e.$1=c.createRef(),babelHelpers.assertThisInitialized(e)||babelHelpers.assertThisInitialized(e)}babelHelpers.inheritsLoose(n,t);var o=n.prototype;return o.focus=function(){this.$1.current!=null&&this.$1.current.focus()},o.render=function(){var t=this.props,n=t.borderShade,o=t.buttonRef,a=t.loading,i=t.size,l=t.suppressed,s=t.use,u=babelHelpers.objectWithoutPropertiesLoose(t,e),d="_4jy0"+(i==="small"?" _517i":"")+(i==="medium"?" _4jy3":"")+(i==="large"?" _4jy4":"")+(i==="xlarge"?" _4jy5":"")+(i==="xxlarge"?" _4jy6":"")+(s==="default"?" _517h":"")+(s==="confirm"?" _4jy1":"")+(s==="special"?" _4jy2":"")+(s==="caution"?" _9w8q":"")+(n==="light"?" _51sy":"")+(n==="dark"?" _9c6":"")+(l?" _59pe":"")+(s==="confirm"||s==="special"||s==="caution"?" selected":"");return c.jsx(r("AbstractButton.react"),babelHelpers.extends({},u,{label:a?c.jsx(r("XUISpinner.react"),{}):this.props.label,className:r("joinClasses")(this.props.className,d),ref:this.$1,buttonRef:o,disabled:!!this.props.disabled}))},n})(c.Component);m.defaultProps={use:"default",size:d,borderShade:"light",suppressed:!1},l.default=m}),98);
|
|
__d("XUIDialogButton.react",["cx","XUIButton.react","joinClasses","react"],(function(t,n,r,o,a,i,l,s){var e=["action"],u,c=u||(u=o("react")),d=(function(t){function n(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(n,t);var o=n.prototype;return o.render=function(){var t=this.props,n=t.action,o=babelHelpers.objectWithoutPropertiesLoose(t,e),a=(n==="confirm"?"layerConfirm":"")+(n==="cancel"?" layerCancel":"")+(n==="button"?" layerButton":""),i=this.props.href;return(n==="cancel"||n==="button"&&(i==null||i===""))&&(i="#"),c.jsx(r("XUIButton.react"),babelHelpers.extends({},o,{className:r("joinClasses")(this.props.className,a),href:i,role:"button"}))},n})(c.Component);l.default=d}),98);
|
|
__d("XUIDialogCancelButton.react",["fbt","XUIDialogButton.react","react"],(function(t,n,r,o,a,i,l,s){var e,u=e||(e=o("react")),c=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.render=function(){return u.jsx(r("XUIDialogButton.react"),babelHelpers.extends({},this.props,{action:"cancel",label:s._(/*BTDS*/"M\u00e9gsem")}))},t})(u.Component);l.default=c}),226);
|
|
__d("XUIOverlayFooter.react",["cx","joinClasses","react"],(function(t,n,r,o,a,i,l,s){var e,u=e||(e=o("react")),c=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.render=function(){return u.jsx("div",babelHelpers.extends({},this.props,{className:r("joinClasses")(this.props.className,"_5lnf uiOverlayFooter"),children:this.props.children}))},t})(u.Component);l.default=c}),98);
|
|
__d("XUIDialogFooter.react",["cx","LeftRight.react","XUIOverlayFooter.react","XUIText.react","joinClasses","react"],(function(t,n,r,o,a,i,l,s){var e=["children","leftContent"],u,c=u||(u=o("react")),d=(function(t){function n(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(n,t);var o=n.prototype;return o.render=function(){var t="_5a8u"+(this.props.fullBleedBorder?" _27qq":""),n=this.props,o=n.children,a=n.leftContent,i=babelHelpers.objectWithoutPropertiesLoose(n,e);return c.jsx(r("XUIOverlayFooter.react"),babelHelpers.extends({},i,{className:r("joinClasses")(this.props.className,t),children:c.jsx(r("XUIText.react"),{display:"block",fontSize:this.props.fontSize,children:c.jsxs(r("LeftRight.react"),{children:[c.jsx("div",{children:a}),c.jsx("div",{children:o})]})})}))},n})(c.Component);d.defaultProps={fontSize:"medium"},l.default=d}),98);
|
|
__d("XUIDialogOkayButton.react",["cx","fbt","XUIDialogButton.react","joinClasses","react"],(function(t,n,r,o,a,i,l,s,u){var e,c=e||(e=o("react")),d=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.render=function(){return c.jsx(r("XUIDialogButton.react"),babelHelpers.extends({},this.props,{className:r("joinClasses")(this.props.className,"_2z1w"),action:this.props.action,label:u._(/*BTDS*/"OK")}))},t})(c.Component);l.default=d}),226);
|
|
__d("XUIAbstractGlyphButton.react",["cx","AbstractButton.react","joinClasses","react"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react")),c=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.render=function(){return u.jsx(r("AbstractButton.react"),babelHelpers.extends({},this.props,{className:r("joinClasses")(this.props.className,"_5upp"),label:this.props.label}))},t})(u.Component);l.default=c}),98);
|
|
__d("XUICloseButton.react",["cx","fbt","XUIAbstractGlyphButton.react","joinClasses","react"],(function(t,n,r,o,a,i,l,s,u){var e,c=e||(e=o("react")),d=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.render=function(){var e=this.props.size,t=this.props.shade,n="_50zy"+(e==="small"?" _50zz":"")+(e==="medium"?" _50-0":"")+(e==="large"?" _50-1":"")+(t==="light"?" _50z_":"")+(t==="dark"?" _50z-":""),o=this.props.label,a=this.props.title;return this.props.title==null&&this.props.tooltip==null&&(a=o),c.jsx(r("XUIAbstractGlyphButton.react"),babelHelpers.extends({},this.props,{label:o,title:a,type:this.props.href!=null?void 0:this.props.type,"data-hover":this.props.tooltip!=null?"tooltip":void 0,"data-tooltip-alignh":this.props.tooltip!=null?"center":void 0,"data-tooltip-content":this.props.tooltip,className:r("joinClasses")(this.props.className,n)}))},t})(c.Component);d.defaultProps={label:u._(/*BTDS*/"Elt\u00e1vol\u00edt\u00e1s"),size:"medium",shade:"dark",type:"button"},l.default=d}),226);
|
|
__d("XUIDialogTitle.react",["cx","fbt","LeftRight.react","XUICloseButton.react","joinClasses","react"],(function(t,n,r,o,a,i,l,s,u){var e=["closeButtonClassName","closeButtonSize","closeButtonText","showCloseButton"],c,d=c||(c=o("react")),m=(function(t){function n(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(n,t);var o=n.prototype;return o.render=function(){var t=null,n=this.props,o=n.closeButtonClassName,a=n.closeButtonSize,i=n.closeButtonText,l=n.showCloseButton,s=babelHelpers.objectWithoutPropertiesLoose(n,e);l&&(t=d.jsx(r("XUICloseButton.react"),{size:a,"data-testid":void 0,label:i,className:r("joinClasses")(o,"layerCancel _51-t _9l15"),onClick:this.props.onCloseClick}));var u=d.Children.toArray(this.props.children);return d.jsx("div",babelHelpers.extends({},s,{className:r("joinClasses")(this.props.className,"_4-i0 _9l16"+(l?" _2gb3":"")),children:d.jsxs(r("LeftRight.react"),{children:[d.jsx("h3",{className:"_52c9 _9l17","data-hover":"tooltip","data-tooltip-display":"overflow",children:u[0]}),d.jsxs("div",{className:"_51-u",children:[u.slice(1),t]})]})}))},n})(d.Component);m.defaultProps={closeButtonText:u._(/*BTDS*/"Bez\u00e1r\u00e1s"),showCloseButton:!0,closeButtonSize:"medium"},l.default=m}),226);
|
|
__d("SimpleXUIDialog",["cx","DialogX","LayerAutoFocusReact","LayerDestroyOnHide","LayerFadeOnHide","LayerFadeOnShow","LayerHideOnBlur","LayerHideOnEscape","LayerRefocusOnHide","XUIDialogBody.react","XUIDialogButton.react","XUIDialogCancelButton.react","XUIDialogFooter.react","XUIDialogOkayButton.react","XUIDialogTitle.react","joinClasses","react","uniqueID"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=n("react")),u=445,c={show:function(t,r,o,a){var e=s.jsx(n("XUIDialogOkayButton.react"),{action:"cancel",use:"confirm"});return c.showEx(t,r,e,o,a)},showConfirm:function(t,r,o,a){var e=!1,i=s.jsx(n("XUIDialogOkayButton.react"),{action:"cancel",className:a&&a.autofocusConfirm?"autofocus":"",use:"confirm",onClick:function(){e=!0},"data-testid":void 0});a&&a.confirmBtnTxt&&(i=s.jsx(n("XUIDialogButton.react"),{className:n("joinClasses")(a&&a.autofocusConfirm?"autofocus":"","_2z1w"),action:"cancel",use:"confirm",label:a.confirmBtnTxt,onClick:function(){e=!0},"data-testid":void 0}));var l=s.jsxs("div",{children:[s.jsx(n("XUIDialogCancelButton.react"),{onClick:function(){e=!1},"data-testid":void 0}),i]});function u(){o&&o(e)}return c.showEx(t,r,l,u,a)},showEx:function(t,r,o,a,i){i=i||{};var e=[n("LayerDestroyOnHide"),n("LayerFadeOnShow"),n("LayerFadeOnHide"),n("LayerHideOnEscape"),n("LayerRefocusOnHide")];i.hideOnBlur!==!1&&e.push(n("LayerHideOnBlur")),i.useReactFocusBehavior&&e.push(n("LayerAutoFocusReact"));var l={width:i.width||u,xui:!0,addedBehaviors:e,causalElement:i.causalElement};if(r){var c=n("uniqueID")();l.titleID=c,r=s.jsx(n("XUIDialogTitle.react"),{showCloseButton:i.showCloseButton!==!1,id:c,children:r})}o&&(o=s.jsx(n("XUIDialogFooter.react"),{"data-testid":void 0,leftContent:i.leftContent,children:o}));var d=s.jsxs("div",{children:[r,s.jsx(n("XUIDialogBody.react"),{"data-testid":void 0,children:t}),o]}),m=new(n("DialogX"))(l,d);return a&&m.subscribe("hide",a),m.show(),m}};a.exports=c}),null);
|
|
__d("Spotlight",["csx","cx","Arbiter","ArbiterMixin","DOM","JSXDOM","Layer","LayerAutoFocus","LayerButtons","LayerTabIsolation","ModalLayer","Vector","classWithMixins","joinClasses","mixin","vulture"],(function(t,n,r,o,a,i,l,s){var e=(function(e){"use strict";function t(t,r){var o;return o=e.call(this,t,r)||this,o.stageMinSize=new(n("Vector"))(0,0),o.stagePadding=new(n("Vector"))(0,0),o}babelHelpers.inheritsLoose(t,e);var r=t.prototype;return r._buildWrapper=function(t,r){var e=n("joinClasses")("_n8"+(t.wash==="dark"||!t.wash?" _3qx":"")+(t.wash==="xui"?" _4-hy":"")+(t.wash==="blur"?" _99rc":""),t.rootClassName);return n("JSXDOM").div({className:e},n("JSXDOM").div({className:"_n9"},r))},r._getDefaultBehaviors=function(){return e.prototype._getDefaultBehaviors.call(this).concat([u,n("LayerAutoFocus"),n("LayerButtons"),n("LayerTabIsolation"),n("ModalLayer")])},r.getContentRoot=function(){return this._content||(this._content=n("DOM").find(this.getRoot(),"div._n3")),this._content},r.configure=function(t){n("vulture")("_TPBEtfWu_UCaHaEhxvEtPJHNr0="),t.stageMinSize&&(this.stageMinSize=t.stageMinSize),t.stagePadding&&(this.stagePadding=t.stagePadding)},r.onContentLoaded=function(){n("vulture")("nbzbYouv4D6iCGAO7DCF51IgARY="),this.inform("content-load")},r.updatePermalink=function(t){n("vulture")("3AxTQPmE-MVShMzLPnoIstwa7fE="),this.inform("permalinkchange",t)},t})(n("classWithMixins")(n("Layer"),n("mixin")(n("ArbiterMixin"))));Object.assign(e.prototype,{stageMinSize:null,stagePadding:null});var u=(function(){"use strict";function e(e){this._layer=e}var t=e.prototype;return t.enable=function(){this._subscription=this._layer.subscribe(["show","hide"],function(e,t){e==="show"?n("Arbiter").inform("layer_shown",{type:"Spotlight"}):n("Arbiter").inform("layer_hidden",{type:"Spotlight"})})},t.disable=function(){this._subscription.unsubscribe(),this._subscription=null},e})();Object.assign(u.prototype,{_subscription:null}),a.exports=e}),null);
|
|
__d("Spotlight.react",["LayerAutoFocusReact","LayerHideOnBlur","LayerHideOnEscape","LayerRefocusOnHide","ReactLayer","Spotlight","prop-types"],(function(t,n,r,o,a,i,l){var e,s=o("ReactLayer").createClass({propTypes:{causalElement:(e=r("prop-types")).instanceOf(HTMLElement),onHide:e.func,rootClassName:e.string,shown:e.bool,wash:e.oneOf(["light","xui","dark","blur"])},getDefaultEnabledBehaviors:function(){return{hideOnBlur:r("LayerHideOnBlur"),hideOnEscape:r("LayerHideOnEscape"),refocusOnHide:r("LayerRefocusOnHide"),autoFocus:r("LayerAutoFocusReact")}},createLayer:function(t){var e=this.enumerateBehaviors(this.props.behaviors),n={addedBehaviors:e,rootClassName:this.props.rootClassName,wash:this.props.wash},o=new(r("Spotlight"))(n,t);return o.setCausalElement(this.props.causalElement),o.conditionShow(this.props.shown),this.props.onBeforeHide&&o.subscribe("beforehide",this.props.onBeforeHide),this.props.onHide&&o.subscribe("hide",this.props.onHide),o},receiveProps:function(t){this.layer&&(this.layer.setCausalElement(t.causalElement),this.layer.conditionShow(t.shown))}}),u=s;l.default=u}),98);
|
|
__d("TextWithEntities.react",["BaseTextWithEntities.react","Link.react","TextWithEmoticons.react","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){return e.replace(/<3\b|♥/g,"\u2665")}var c=(function(e){function t(){for(var t,n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return t=e.call.apply(e,[this].concat(o))||this,t.$1=function(e){if(t.props.renderEmoticons||t.props.renderEmoji){var n=e.trim();return s.jsx(r("TextWithEmoticons.react"),{isWhitespace:n.length===0,text:e,renderEmoticons:t.props.renderEmoticons,renderEmoji:t.props.renderEmoji,size:t.props.showEmojisStandalone?32:16})}else return u(e)},t.$2=function(e,n){return t.props.interpolator?t.props.interpolator(e,n):n.entity&&n.entity.url!==void 0&&n.entity.url!==null?s.jsx(r("Link.react"),{href:n.entity,children:e}):n.entity&&n.entity.url===void 0?s.jsx(r("Link.react"),{href:n.entity,children:e}):e},babelHelpers.assertThisInitialized(t)||babelHelpers.assertThisInitialized(t)}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.render=function(){return s.jsx(r("BaseTextWithEntities.react"),babelHelpers.extends({},this.props,{textRenderer:this.$1,rangeRenderer:this.$2,ranges:this.props.ranges,imageRanges:this.props.imageRanges,aggregatedRanges:this.props.aggregatedRanges,metaRanges:this.props.metaRanges,textDelightRanges:this.props.textDelightRanges,text:this.props.text}))},t})(s.Component);l.default=c}),98);
|
|
__d("TooltipMixinClass.react",["DOM","ReactDOM","TooltipData","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react"));function u(e){var t=e.tooltip;return t!=null&&s.isValidElement(t)}var c=(function(e){function t(){for(var t,n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return t=e.call.apply(e,[this].concat(o))||this,t.state={tooltipContainer:u(t.props)?r("DOM").create("div"):null},t.refFromTooltipMixin=s.createRef(),babelHelpers.assertThisInitialized(t)||babelHelpers.assertThisInitialized(t)}babelHelpers.inheritsLoose(t,e),t.getDerivedStateFromProps=function(t,n){var e=u(t),a=n.tooltipContainer;if(a&&!e)return{tooltipContainer:null,root:void 0};if(!a&&e){var i=r("DOM").create("div"),l=o("ReactDOM").createRoot(i);return{tooltipContainer:i,root:l}}return null};var n=t.prototype;return n.componentDidMount=function(){this.$1()},n.componentDidUpdate=function(t,n){n.tooltipContainer&&!this.state.tooltipContainer&&this.$2(),this.$1()},n.$1=function(){var e=this.state.tooltipContainer,t=this.props.tooltip;if(t!=null&&s.isValidElement(t)&&e!=null){var n,r=function(){return t};(n=this.state.root)==null||n.render(s.jsx(r,{}))}else e=this.props.tooltip;e!=null&&this.refFromTooltipMixin.current!=null?o("TooltipData").set(this.refFromTooltipMixin.current,e,this.props.position,this.props.alignH):this.refFromTooltipMixin.current!=null&&o("TooltipData").remove(this.refFromTooltipMixin.current)},n.componentWillUnmount=function(){this.state.tooltipContainer&&this.$2(),this.refFromTooltipMixin.current!=null&&o("TooltipData").remove(this.refFromTooltipMixin.current)},n.$2=function(){var e;(e=this.state.root)==null||e.unmount()},t})(s.Component);l.default=c}),98);
|
|
__d("TooltipLink.react",["TooltipMixinClass.react","react"],(function(t,n,r,o,a,i,l){var e,s=e||(e=o("react")),u=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.render=function(){return s.jsx("a",babelHelpers.extends({},this.props,{ref:this.refFromTooltipMixin,children:this.props.children}))},t})(r("TooltipMixinClass.react"));l.default=u}),98);
|
|
__d("sortBy",[],(function(t,n,r,o,a,i){"use strict";function e(e,t){var n=e.map(function(e,n){return{index:n,sortValue:t(e),value:e}});return n.sort(function(e,t){var n=e.sortValue,r=t.sortValue;return n>r?1:n<r?-1:e.index-t.index}),n.map(function(e){return e.value})}i.default=e}),66);
|
|
__d("useContentRect",["react","react-compiler-runtime","useResizeObserver"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.useCallback,c=s.useState;function d(){var e=o("react-compiler-runtime").c(4),t=c(),n=t[0],a=t[1],i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i=function(t){return a(t)},e[0]=i):i=e[0];var l=i,s=r("useResizeObserver")(l),u;return e[1]!==n||e[2]!==s?(u=[n,s],e[1]=n,e[2]=s,e[3]=u):u=e[3],u}l.default=d}),98);
|
|
__d("useCustomEqualityMemo",["react","useUnsafeRef_DEPRECATED"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u=(s||(s=o("react"))).useEffect;function c(t,n){var o=(e||(e=r("useUnsafeRef_DEPRECATED")))(t),a=n(o.current,t)?o.current:t;return u(function(){o.current=a},[a]),a}l.default=c}),98);
|
|
__d("useShallowEqualMemo",["shallowEqual","useCustomEqualityMemo"],(function(t,n,r,o,a,i,l){"use strict";function e(e){return r("useCustomEqualityMemo")(e,r("shallowEqual"))}l.default=e}),98);
|
|
__d("useUniqueID",["uniqueID","useUnsafeRef_DEPRECATED"],(function(t,n,r,o,a,i,l){"use strict";var e;function s(){var t=(e||(e=r("useUnsafeRef_DEPRECATED")))(null);return t.current===null&&(t.current=r("uniqueID")()),t.current}l.default=s}),98); |