Socket
Socket
Sign inDemoInstall

richlagetest

Package Overview
Dependencies
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

richlagetest - npm Package Compare versions

Comparing version 0.0.0-a3535a7650e08ec0431ec032e46603c66e08fc05 to 0.0.0-af05dae1ca0a76135268a3003200e8ea77ee1a6f

dist/lib/getImagesData.cjs.js

2

dist/module.cjs.js

@@ -1,2 +0,2 @@

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _extends=require("@babel/runtime/helpers/extends"),_objectWithoutPropertiesLoose=require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),wixRichContentPluginCommons=require("wix-rich-content-plugin-commons"),React=require("react"),lodash=require("lodash"),_inheritsLoose=require("@babel/runtime/helpers/inheritsLoose"),wixRichContentCommon=require("wix-rich-content-common"),wixRichContentEditorCommon=require("wix-rich-content-editor-common"),Modal=require("react-modal"),classNames=require("classnames");function _interopDefaultLegacy(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _extends__default=_interopDefaultLegacy(_extends),_objectWithoutPropertiesLoose__default=_interopDefaultLegacy(_objectWithoutPropertiesLoose),React__default=_interopDefaultLegacy(React),_inheritsLoose__default=_interopDefaultLegacy(_inheritsLoose),Modal__default=_interopDefaultLegacy(Modal),classNames__default=_interopDefaultLegacy(classNames),LineSpacingIcon=function(props){return props.newFormattingToolbar?React__default.default.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"17",height:"15",viewBox:"0 0 17 15"},props),React__default.default.createElement("g",{fill:"none",fillRule:"evenodd"},React__default.default.createElement("g",{fill:"currentColor"},React__default.default.createElement("g",null,React__default.default.createElement("path",{d:"M4.5 3L7 6H5v9h2l-2.5 3L2 15h2V6H2l2.5-3zM18 16v1H9v-1h9zm0-4v1H9v-1h9zm0-4v1H9V8h9zm0-4v1H9V4h9z",transform:"translate(-605.000000, -80.000000) translate(603.500000, 77.000000)"}))))):React__default.default.createElement("svg",Object.assign({width:19,height:19,viewBox:"0 0 19 19"},props),React__default.default.createElement("path",{d:"M9.2 7h7.6c.11 0 .2.09.2.2v.6a.2.2 0 0 1-.2.2H9.2a.2.2 0 0 1-.2-.2v-.6c0-.11.09-.2.2-.2zm0 3h7.6c.11 0 .2.09.2.2v.6a.2.2 0 0 1-.2.2H9.2a.2.2 0 0 1-.2-.2v-.6c0-.11.09-.2.2-.2zm0 3h7.6c.11 0 .2.09.2.2v.6a.2.2 0 0 1-.2.2H9.2a.2.2 0 0 1-.2-.2v-.6c0-.11.09-.2.2-.2zm0-9h7.6c.11 0 .2.09.2.2v.6a.2.2 0 0 1-.2.2H9.2a.2.2 0 0 1-.2-.2v-.6c0-.11.09-.2.2-.2z"}),React__default.default.createElement("path",{d:"M5.854 4.707L7 5.853l.707-.707-2-2-.005-.003-.157-.104L5.354 3l-.191.039-.157.104L5 3.146l-2 2s.708.706.707.707l1.147-1.146v8.586l-1.146-1.146-.707.707 2 2 .162.108.189.038.193-.039.162-.107 2-2L7 12.147l-1.146 1.146V4.707z"}))},styles={lineHeightsPanel:"_22Yra",lineHeightsPanel_selectedLineHeight:"W4aQP",lineSpacingMobilePanel_selectedLineHeight:"BMbAI",lineSpacingMobilePanel:"_1ZEpf",lineSpacingMobilePanel_heights:"_1ZRz9",lineSpacingMobilePanel_buttons:"ak4LK",customSpacingPanel:"_2Jf9a",customSpacingPanel_mobile:"_1K2CE",customSpacingPanel_labeledInput:"_2l5vW",lineSpacing_separator:"_1ziH-",customSpacingPanel_buttons:"_2kls2",lineSpacingContainer:"_11bfQ",lineSpacingContainer_mobile:"_3nZp1",lineSpacingModal:"_3PNI9",lineSpacingModal_mobile:"_19sHr",lineSpacingModalOverlay:"_3O-Bu",lineSpacingPopup_button:"lRuWu",lineSpacingPopup:"_3a7Rh"},LineHeightsPanel=function(_ref){var selectedHeight=_ref.selectedHeight,onSave=_ref.onSave,showCustomPanel=_ref.showCustomPanel,styles=_ref.styles,t=_ref.t;return React__default.default.createElement("div",{className:styles.lineHeightsPanel},[1,1.5,2,2.5,3].map((function(height){return function(height,isSelected,_onClick){return React__default.default.createElement("button",{className:isSelected?styles.lineHeightsPanel_selectedLineHeight:"",key:height,onClick:function(){return _onClick(""+height)}},height)}(height,parseFloat(selectedHeight)===height,onSave)})),React__default.default.createElement("button",{onClick:showCustomPanel},t("LineSpacing_customSpacing")))},MobilePanel=function(_ref2){var selectedHeight=_ref2.selectedHeight,styles=_ref2.styles,t=_ref2.t,onChange=_ref2.onChange,onSave=_ref2.onSave,onCancel=_ref2.onCancel;return React__default.default.createElement("div",{className:styles.lineSpacingMobilePanel},React__default.default.createElement("div",null,t("LineSpacing_lineSpacing")),React__default.default.createElement("div",{className:styles.lineSpacingMobilePanel_heights},[1,1.5,2,2.5,3].map((function(height){return function(height,isSelected,_onClick2){return React__default.default.createElement("button",{className:isSelected?styles.lineSpacingMobilePanel_selectedLineHeight:"",key:height,onClick:function(){return _onClick2(""+height)}},height)}(height,parseFloat(selectedHeight)===height,onChange)}))),React__default.default.createElement(Separator,null),React__default.default.createElement("div",{className:styles.lineSpacingMobilePanel_buttons},React__default.default.createElement("button",{onClick:onCancel},t("LineSpacing_cancel")),React__default.default.createElement("button",{onClick:function(){return onSave()}},t("LineSpacing_save"))))},LabeledInput=function(_ref3){var label=_ref3.label,name=_ref3.name,_ref3$unit=_ref3.unit,unit=void 0===_ref3$unit?"":_ref3$unit,_ref3$defaultValue=_ref3.defaultValue,defaultValue=void 0===_ref3$defaultValue?0:_ref3$defaultValue,spacing=_ref3.spacing,_onChange2=_ref3.onChange,min=_ref3.min,max=_ref3.max,value=void 0===spacing[name]?defaultValue:parseFloat(spacing[name]);return React__default.default.createElement("label",{className:styles.customSpacingPanel_labeledInput},React__default.default.createElement("span",null,label),React__default.default.createElement("input",{type:"number",min:min,max:max,value:value,onChange:function(e){var _onChange;return _onChange2(((_onChange={})[name]=Number(e.target.value)+unit,_onChange))}}))},Separator=function(){return React__default.default.createElement("div",{className:styles.lineSpacing_separator})},CustomPanel=function(_ref4){var spacing=_ref4.spacing,onChange=_ref4.onChange,onSave=_ref4.onSave,onCancel=_ref4.onCancel,styles=_ref4.styles,t=_ref4.t;return React__default.default.createElement("div",{className:styles.customSpacingPanel},React__default.default.createElement(LabeledInput,{label:t("LineSpacing_lineSpacing"),name:"line-height",defaultValue:1.5,onChange:onChange,spacing:spacing,min:1,max:100}),React__default.default.createElement(Separator,null),React__default.default.createElement(LabeledInput,{label:t("LineSpacing_beforeParagraph"),name:"padding-top",unit:"px",onChange:onChange,spacing:spacing,min:0,max:250}),React__default.default.createElement(LabeledInput,{label:t("LineSpacing_afterParagraph"),name:"padding-bottom",unit:"px",onChange:onChange,spacing:spacing,min:0,max:250}),React__default.default.createElement("div",{className:styles.customSpacingPanel_buttons},React__default.default.createElement("button",{onClick:onCancel},t("LineSpacing_cancel")),React__default.default.createElement("button",{onClick:function(){return onSave()}},t("LineSpacing_save"))))},Panel=function(_Component){function Panel(props){var _this;return(_this=_Component.call(this,props)||this).showCustomPanel=function(){_this.setState({isCustomPanel:!0})},_this.onBlur=function(e){var target=e.target,relatedTarget=e.relatedTarget;e.currentTarget.contains(relatedTarget)||setTimeout((function(){return target.focus()}))},_this.onChange=function(spacing){var merged=_extends__default.default({},_this.state.spacing,spacing);_this.setState({spacing:merged}),_this.props.onChange(merged)},_this.onSave=function(spacing){_this.props.onSave(_extends__default.default({},_this.state.spacing,spacing))},_this.state={spacing:props.spacing},_this.styles=wixRichContentCommon.mergeStyles({styles:styles,theme:props.theme}),_this}return _inheritsLoose__default.default(Panel,_Component),Panel.prototype.render=function(){var _classNames,_this$props=this.props,onCancel=_this$props.onCancel,t=_this$props.t,isMobile=_this$props.isMobile,_this$state=this.state,isCustomPanel=_this$state.isCustomPanel,spacing=_this$state.spacing,styles=this.styles,showCustomPanel=this.showCustomPanel,onChange=this.onChange,onSave=this.onSave,selectedHeight=spacing["line-height"],panel=isMobile?React__default.default.createElement(MobilePanel,{styles:styles,selectedHeight:selectedHeight,t:t,onChange:function(height){return onChange({"line-height":height})},onSave:onSave,onCancel:onCancel}):isCustomPanel?React__default.default.createElement(CustomPanel,{spacing:spacing,onChange:onChange,onSave:onSave,onCancel:onCancel,styles:styles,t:t,isMobile:isMobile}):React__default.default.createElement(LineHeightsPanel,{styles:styles,selectedHeight:selectedHeight,showCustomPanel:showCustomPanel,t:t,onSave:function(height){return onSave({"line-height":height})}});return React__default.default.createElement("div",{onBlur:this.onBlur,className:classNames__default.default(styles.lineSpacingContainer,(_classNames={},_classNames[styles.lineSpacingContainer_mobile]=isMobile,_classNames))},panel)},Panel}(React.Component);Panel.defaultProps={spacing:{}};var LineSpacingButton=function(_Component){function LineSpacingButton(props){var _this;return(_this=_Component.call(this,props)||this).onOpenPanel=function(){_this.currentEditorState=_this.oldEditorState=_this.props.getEditorState(),_this.selection=_this.oldEditorState.getSelection();var spacing=LineSpacingButton.getBlockSpacing(_this.oldEditorState);_this.oldSpacing=spacing,_this.setState({isPanelOpen:!0,spacing:spacing})},_this.openPanel=function(){_this.onOpenPanel();var _this$buttonRef$getBo=_this.buttonRef.getBoundingClientRect(),bottom=_this$buttonRef$getBo.bottom,left=_this$buttonRef$getBo.left;_this.props.setKeepOpen(!0),_this.setState({panelLeft:left,panelTop:bottom})},_this.closePanel=function(){_this.setState({isPanelOpen:!1}),_this.props.setKeepOpen(!1)},_this.updateSpacing=function(spacing){var _helpers$onToolbarBut,dynamicStyles=spacing,_this$props=_this.props,setEditorState=_this$props.setEditorState,onUpdate=_this$props.onUpdate,helpers=_this$props.helpers,newEditorState=wixRichContentEditorCommon.mergeBlockData(_this.oldEditorState,{dynamicStyles:dynamicStyles});setEditorState(newEditorState),null==helpers||null===(_helpers$onToolbarBut=helpers.onToolbarButtonClick)||void 0===_helpers$onToolbarBut||_helpers$onToolbarBut.call(helpers,{buttonName:wixRichContentEditorCommon.FORMATTING_BUTTONS.LINE_SPACING,pluginId:"line-spacing",value:null==spacing?void 0:spacing["line-height"]}),_this.currentEditorState=newEditorState,onUpdate(dynamicStyles)},_this.save=function(spacing){_this.closePanel(),spacing?_this.updateSpacing(spacing):_this.setEditorState(_this.currentEditorState)},_this.cancel=function(){var onUpdate=_this.props.onUpdate;_this.setEditorState(_this.oldEditorState),onUpdate(_this.oldSpacing),_this.closePanel()},_this.setEditorState=function(editorState){return _this.props.setEditorState(_this.fixSelection(editorState,_this.selection))},_this.fixSelection=wixRichContentEditorCommon.EditorState.forceSelection,_this.state={showPanel:!1},_this.styles=wixRichContentCommon.mergeStyles({styles:styles,theme:props.theme}),_this.dataHookName="LineSpacingButton",_this}return _inheritsLoose__default.default(LineSpacingButton,_Component),LineSpacingButton.getBlockSpacing=function(editorState){var _getAnchorBlockData$d=wixRichContentEditorCommon.getAnchorBlockData(editorState).dynamicStyles,dynamicStyles=void 0===_getAnchorBlockData$d?{}:_getAnchorBlockData$d;return lodash.pick(dynamicStyles,["line-height","padding-top","padding-bottom"])},LineSpacingButton.getModalParent=function(){return document.querySelector(".DraftEditor-root").parentNode},LineSpacingButton.prototype.render=function(){var _toolbar$icons,_classNames,_classNames2,_this2=this,_this$props2=this.props,theme=_this$props2.theme,helpers=_this$props2.helpers,isMobile=_this$props2.isMobile,t=_this$props2.t,tabIndex=_this$props2.tabIndex,defaultSpacing=_this$props2.defaultSpacing,toolbar=_this$props2.toolbar,toolbarName=_this$props2.toolbarName,inlinePopups=_this$props2.inlinePopups,_this$state=this.state,isPanelOpen=_this$state.isPanelOpen,spacing=_this$state.spacing,panelTop=_this$state.panelTop,panelLeft=_this$state.panelLeft,styles=this.styles,icon=(null==toolbar||null===(_toolbar$icons=toolbar.icons)||void 0===_toolbar$icons?void 0:_toolbar$icons.InsertPluginButtonIcon)||LineSpacingIcon,modalStyle=isMobile?{left:0,bottom:0,right:0}:{top:panelTop,left:panelLeft};return isMobile||"StaticTextToolbar"!==toolbarName||!inlinePopups?React__default.default.createElement(wixRichContentEditorCommon.InlineToolbarButton,{onClick:this.openPanel,isActive:!!isPanelOpen,helpers:helpers,theme:theme,isMobile:isMobile,tooltipText:t("LineSpacingButton_Tooltip"),dataHook:this.dataHookName,formattingButtonName:wixRichContentEditorCommon.FORMATTING_BUTTONS.LINE_SPACING,tabIndex:tabIndex,icon:icon,pluginType:"line-spacing",ref:function(_ref){return _this2.buttonRef=_ref}},React__default.default.createElement(Modal__default.default,{isOpen:isPanelOpen,onRequestClose:function(){return _this2.save()},className:classNames__default.default(styles.lineSpacingModal,(_classNames={},_classNames[styles.lineSpacingModal_mobile]=isMobile,_classNames)),overlayClassName:classNames__default.default(styles.lineSpacingModalOverlay,(_classNames2={},_classNames2[styles.lineSpacingModalOverlay_mobile]=isMobile,_classNames2)),parentSelector:LineSpacingButton.getModalParent,style:{content:modalStyle},ariaHideApp:!1},React__default.default.createElement(Panel,{spacing:_extends__default.default({},defaultSpacing,spacing),onChange:this.updateSpacing,onSave:this.save,onCancel:this.cancel,styles:this.styles,t:t,isMobile:isMobile,theme:theme}))):React__default.default.createElement("div",{className:styles.lineSpacingPopup_button},React__default.default.createElement(wixRichContentEditorCommon.InlineToolbarButton,{onClick:this.openPanel,isActive:!!isPanelOpen,helpers:helpers,theme:theme,isMobile:isMobile,tooltipText:t("LineSpacingButton_Tooltip"),dataHook:this.dataHookName,formattingButtonName:wixRichContentEditorCommon.FORMATTING_BUTTONS.LINE_SPACING,tabIndex:tabIndex,icon:icon,pluginType:"line-spacing",ref:function(_ref2){return _this2.buttonRef=_ref2}},isPanelOpen&&React__default.default.createElement("div",{className:styles.lineSpacingPopup},React__default.default.createElement(wixRichContentEditorCommon.ClickOutside,{onClickOutside:function(){return _this2.save()}},React__default.default.createElement(Panel,{spacing:_extends__default.default({},defaultSpacing,spacing),onChange:this.updateSpacing,onSave:this.save,onCancel:this.cancel,styles:this.styles,t:t,isMobile:isMobile,theme:theme})))))},LineSpacingButton}(React.Component);LineSpacingButton.defaultProps={inlinePopups:!1,setKeepOpen:function(){},onUpdate:function(){}};var createToolbar=function(config){var oldEditorState,spacing,getEditorState=config.getEditorState,setEditorState=config.setEditorState,helpers=config.helpers,isMobile=config.isMobile,theme=config.theme,updateSpacing=function(spacing){var dynamicStyles=spacing,newEditorState=wixRichContentEditorCommon.mergeBlockData(oldEditorState||getEditorState(),{dynamicStyles:dynamicStyles});setEditorState(newEditorState)},LineSpacingPanel=function(_ref){var editorState,_getAnchorBlockData$d,dynamicStyles,closeCustomModal=_ref.closeCustomModal,onSelect=_ref.onSelect;return oldEditorState=getEditorState(),editorState=oldEditorState,_getAnchorBlockData$d=wixRichContentEditorCommon.getAnchorBlockData(editorState).dynamicStyles,dynamicStyles=void 0===_getAnchorBlockData$d?{}:_getAnchorBlockData$d,spacing=lodash.pick(dynamicStyles,["line-height","padding-top","padding-bottom"]),React__default.default.createElement(Panel,Object.assign({onChange:function(args){updateSpacing(args),onSelect&&onSelect(args)},onSave:function(args){!function(spacing){var _helpers$closeModal;null==helpers||null===(_helpers$closeModal=helpers.closeModal)||void 0===_helpers$closeModal||_helpers$closeModal.call(helpers),spacing?updateSpacing(spacing):setEditorState(oldEditorState)}(args),onSelect&&onSelect(args),closeCustomModal&&closeCustomModal()},onCancel:function(){var _helpers$closeModal2;null==helpers||null===(_helpers$closeModal2=helpers.closeModal)||void 0===_helpers$closeModal2||_helpers$closeModal2.call(helpers),setEditorState(oldEditorState),closeCustomModal&&closeCustomModal()},spacing:spacing},config))},modalStylesFn=function(ref){var _ref$getBoundingClien=ref.getBoundingClientRect(),bottom=_ref$getBoundingClien.bottom,left=_ref$getBoundingClien.left;return isMobile?{content:{position:"absolute",left:"0px",right:"0px",bottom:"0",border:"none",background:"white",overflow:"auto",outline:"none",padding:"0px",width:"100%",zIndex:6,top:"auto",transform:"translateY(0)",margin:0}}:{content:{display:"inline-table",transform:"translateY(0)",minHeight:"116px",height:"auto",position:"absolute",minWidth:"216px",maxWidth:"360px",width:"auto",top:bottom,left:left-15,borderRadius:"6px",border:"1px solid #ededed",margin:"0",background:"#fff"},overlay:{background:"transparent"}}};return{TextButtonMapper:function(){var _ref4;return(_ref4={})[wixRichContentEditorCommon.FORMATTING_BUTTONS.LINE_SPACING]={component:wixRichContentEditorCommon.decorateComponentWithProps(LineSpacingButton,config["line-spacing"]),externalizedButtonProps:{onClick:function(_ref3){return function(_ref2){var ref=_ref2.ref,render=_ref2.render;if(render)render(LineSpacingPanel);else{var _helpers$openModal,modalStyles=wixRichContentEditorCommon.getModalStyles({customStyles:modalStylesFn(ref),fullScreen:!1,isMobile:isMobile});null==helpers||null===(_helpers$openModal=helpers.openModal)||void 0===_helpers$openModal||_helpers$openModal.call(helpers,{modalStyles:modalStyles,helpers:helpers,isMobile:isMobile,modalElement:LineSpacingPanel,theme:theme})}}({ref:_ref3.ref,render:_ref3.render})},isActive:function(){return!1},isDisabled:function(){return wixRichContentEditorCommon.isAtomicBlockFocused(config.getEditorState())},getIcon:function(){var _config$LINE_SPACING_,_config$LINE_SPACING_2,_config$LINE_SPACING_3;return(null===(_config$LINE_SPACING_=config["line-spacing"])||void 0===_config$LINE_SPACING_||null===(_config$LINE_SPACING_2=_config$LINE_SPACING_.toolbar)||void 0===_config$LINE_SPACING_2||null===(_config$LINE_SPACING_3=_config$LINE_SPACING_2.icons)||void 0===_config$LINE_SPACING_3?void 0:_config$LINE_SPACING_3.InsertPluginButtonIcon)||function(){var _config$experiments,_config$experiments$n;return LineSpacingIcon({newFormattingToolbar:null==config||null===(_config$experiments=config.experiments)||void 0===_config$experiments||null===(_config$experiments$n=_config$experiments.newFormattingToolbar)||void 0===_config$experiments$n?void 0:_config$experiments$n.enabled})}},tooltip:config.t("LineSpacingButton_Tooltip"),getLabel:function(){return""},type:wixRichContentEditorCommon.BUTTON_TYPES.DROPDOWN,modal:LineSpacingPanel,onSelect:updateSpacing}},_ref4},name:"line-spacing"}},DEFAULTS=Object.freeze({type:"line-spacing",config:{}});function _toPropertyKey(arg){var key=function(input,hint){if("object"!=typeof input||null===input)return input;var prim=input[Symbol.toPrimitive];if(void 0!==prim){var res=prim.call(input,hint||"default");if("object"!=typeof res)return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===hint?String:Number)(input)}(arg,"string");return"symbol"==typeof key?key:String(key)}var _ModalsMap,createLineSpacingPlugin=function(config){var type="line-spacing",theme=config.theme,isMobile=config.isMobile,t=config.t,_config$type=config[type],settings=void 0===_config$type?{}:_config$type,rest=_objectWithoutPropertiesLoose__default.default(config,["theme","isMobile","t",type].map(_toPropertyKey)),toolbar=createToolbar(config);return wixRichContentPluginCommons.createBasePlugin(_extends__default.default({theme:theme,toolbar:toolbar,isMobile:isMobile,t:t,settings:settings,type:type,defaultPluginData:DEFAULTS},rest))};createLineSpacingPlugin.functionName="line-spacing";var Modals={LINE_SPACING:"LINE_SPACING"},ModalsMap=((_ModalsMap={})[Modals.LINE_SPACING]=Panel,_ModalsMap);exports.LINE_SPACING_TYPE="line-spacing",exports.Modals=Modals,exports.ModalsMap=ModalsMap,exports.createLineSpacingPlugin=createLineSpacingPlugin,exports.pluginLineSpacing=function(config){return{config:_extends__default.default({},DEFAULTS.config,config),type:"line-spacing",createPlugin:createLineSpacingPlugin,ModalsMap:ModalsMap}};
"use strict";var _objectWithoutPropertiesLoose=require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),React=require("react"),ReactDOM=require("react-dom"),PropTypes=require("prop-types"),_extends=require("@babel/runtime/helpers/extends"),_inheritsLoose=require("@babel/runtime/helpers/inheritsLoose"),imageClientAPI=require("image-client-api/dist/imageClientSDK"),wixRichContentCommon=require("wix-rich-content-common"),wixRichContentUiComponents=require("wix-rich-content-ui-components");function _interopDefaultLegacy(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _layoutData,GALLERY_LAYOUTS,_objectWithoutPropertiesLoose__default=_interopDefaultLegacy(_objectWithoutPropertiesLoose),React__default=_interopDefaultLegacy(React),ReactDOM__default=_interopDefaultLegacy(ReactDOM),PropTypes__default=_interopDefaultLegacy(PropTypes),_extends__default=_interopDefaultLegacy(_extends),_inheritsLoose__default=_interopDefaultLegacy(_inheritsLoose),imageClientAPI__default=_interopDefaultLegacy(imageClientAPI),CloseIcon=function(props){return React__default.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",viewBox:"0 0 60 60"},React__default.default.createElement("g",{fill:"none",fillRule:"evenodd"},React__default.default.createElement("path",{fill:props.backgroundColor,d:"M0 0H60V60H0z"}),React__default.default.createElement("path",{fill:props.foregroundColor,d:"M42.188 17l.812.813L30.812 30 43 42.188l-.813.812L30 30.812 17.812 43 17 42.187 29.187 30 17 17.812l.813-.812L30 29.187 42.188 17z"})))},ExpandIcon=function(props){return React__default.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",viewBox:"0 0 60 60"},React__default.default.createElement("g",{fill:"none",fillRule:"evenodd"},React__default.default.createElement("path",{fill:props.backgroundColor,d:"M0 0H60V60H0z"}),React__default.default.createElement("g",{fill:props.foregroundColor},React__default.default.createElement("path",{d:"M4.333 15.167H5.413V27.084H4.333z",transform:"translate(17 17) rotate(45 4.873 21.125)"}),React__default.default.createElement("path",{d:"M26 8h-1V1h-7V0h8v8z",transform:"translate(17 17)"}),React__default.default.createElement("path",{d:"M20.583 -1.083H21.665999999999997V10.834H20.583z",transform:"translate(17 17) rotate(45 21.125 4.875)"}),React__default.default.createElement("path",{d:"M0 26v-8h1v7h7v1H0z",transform:"translate(17 17)"}))))},ShrinkIcon=function(props){return React__default.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",viewBox:"0 0 60 60"},React__default.default.createElement("g",{fill:"none",fillRule:"evenodd"},React__default.default.createElement("path",{fill:props.backgroundColor,d:"M0 0H60V60H0z"}),React__default.default.createElement("g",{fill:props.foregroundColor},React__default.default.createElement("path",{d:"M4.055 16.447H5.135V28.363999999999997H4.055z",transform:"translate(17 16) rotate(-135 4.595 22.405)"}),React__default.default.createElement("g",null,React__default.default.createElement("path",{d:"M10 8.083H9v-7H2v-1h8v8z",transform:"translate(17 16) rotate(-180 13 5.458)"}),React__default.default.createElement("path",{d:"M4.583 -1H5.666V10.917H4.583z",transform:"translate(17 16) rotate(-180 13 5.458) rotate(45 5.125 4.958)"})),React__default.default.createElement("path",{d:"M9.468 17.53v8h-1v-7h-7v-1h8z",transform:"translate(17 16)"}))))},ArrowLeft=function(props){return React__default.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"61",viewBox:"0 0 60 61"},React__default.default.createElement("g",{fill:"none",fillRule:"evenodd"},React__default.default.createElement("path",{fill:props.backgroundColor,transform:"translate(0 .5)"}),React__default.default.createElement("path",{stroke:props.foregroundColor,strokeWidth:"1.5",d:"M24 21L42 21 42 39",transform:"translate(0 .5) scale(-1 1) rotate(45 0 -49.669)"})))},ArrowRight=function(props){return React__default.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"61",viewBox:"0 0 60 61"},React__default.default.createElement("g",{fill:"none",fillRule:"evenodd"},React__default.default.createElement("path",{fill:props.backgroundColor,transform:"translate(0 .5)"}),React__default.default.createElement("path",{stroke:props.foregroundColor,strokeWidth:"1.5",d:"M17 21L35 21 35 39",transform:"translate(0 .5) rotate(45 26 30)"})))},isAbsoluteUrl=function(url){return url.startsWith("http://")||url.startsWith("https://")},getAbsoluteUrl=function(url,type){return isAbsoluteUrl(url)?url:("image"===type?(baseUrl="https://static.wixstatic.com/",baseFolder="media/"):(baseUrl="https://video.wixstatic.com/",baseFolder="video/"),baseUrl+(url.startsWith(baseFolder)?url:baseFolder+url));var baseUrl,baseFolder};!function(GALLERY_LAYOUTS){GALLERY_LAYOUTS[GALLERY_LAYOUTS.EMPTY=-1]="EMPTY",GALLERY_LAYOUTS[GALLERY_LAYOUTS.COLLAGE=0]="COLLAGE",GALLERY_LAYOUTS[GALLERY_LAYOUTS.MASONRY=1]="MASONRY",GALLERY_LAYOUTS[GALLERY_LAYOUTS.GRID=2]="GRID",GALLERY_LAYOUTS[GALLERY_LAYOUTS.THUMBNAIL=3]="THUMBNAIL",GALLERY_LAYOUTS[GALLERY_LAYOUTS.SLIDER=4]="SLIDER",GALLERY_LAYOUTS[GALLERY_LAYOUTS.SLIDESHOW=5]="SLIDESHOW",GALLERY_LAYOUTS[GALLERY_LAYOUTS.PANORAMA=6]="PANORAMA",GALLERY_LAYOUTS[GALLERY_LAYOUTS.COLUMN=7]="COLUMN",GALLERY_LAYOUTS[GALLERY_LAYOUTS.MAGIC=8]="MAGIC",GALLERY_LAYOUTS[GALLERY_LAYOUTS.FULLSIZE=9]="FULLSIZE",GALLERY_LAYOUTS[GALLERY_LAYOUTS.BRICKS=10]="BRICKS",GALLERY_LAYOUTS[GALLERY_LAYOUTS.MIX=11]="MIX",GALLERY_LAYOUTS[GALLERY_LAYOUTS.ALTERNATE=12]="ALTERNATE"}(GALLERY_LAYOUTS||(GALLERY_LAYOUTS={}));var _LAYOUT_FIXED_STYLES,layoutData=((_layoutData={})[GALLERY_LAYOUTS.COLLAGE]={isVertical:!0,oneRow:!1,galleryType:"Columns",gallerySizePx:"300"},_layoutData[GALLERY_LAYOUTS.MASONRY]={numberOfImagesPerRow:0,isVertical:!1,gallerySizePx:"300"},_layoutData[GALLERY_LAYOUTS.GRID]={numberOfImagesPerRow:3,cubeType:"fill",cubeRatio:1,isVertical:!0,oneRow:!1},_layoutData[GALLERY_LAYOUTS.THUMBNAIL]={galleryThumbnailsAlignment:"bottom",thumbnailSpacings:5},_layoutData[GALLERY_LAYOUTS.SLIDER]={cubeType:"fit",cubeRatio:"16/9"},_layoutData[GALLERY_LAYOUTS.SLIDESHOW]={cubeType:"fit"},_layoutData[GALLERY_LAYOUTS.PANORAMA]={hasThumbnails:!1,galleryThumbnailsAlignment:"none"},_layoutData[GALLERY_LAYOUTS.COLUMN]={hasThumbnails:!1,galleryThumbnailsAlignment:"none"},_layoutData[GALLERY_LAYOUTS.FULLSIZE]={cubeType:"fill"},_layoutData),GALLERY_ITEMS_TYPES=Object.freeze({IMAGE:"image",VIDEO:"video"});Object.freeze([GALLERY_LAYOUTS.THUMBNAIL,GALLERY_LAYOUTS.SLIDER,GALLERY_LAYOUTS.SLIDESHOW,GALLERY_LAYOUTS.COLUMN,GALLERY_LAYOUTS.FULLSIZE]),Object.freeze({items:[],styles:_extends__default.default({galleryLayout:GALLERY_LAYOUTS.GRID},layoutData[GALLERY_LAYOUTS.GRID]),config:{alignment:"center",size:"content"}}),(_LAYOUT_FIXED_STYLES={})[GALLERY_LAYOUTS.COLLAGE]={galleryType:"Columns",imageMargin:5},_LAYOUT_FIXED_STYLES[GALLERY_LAYOUTS.MASONRY]={imageMargin:5,isVertical:!1,gridStyle:0},_LAYOUT_FIXED_STYLES[GALLERY_LAYOUTS.GRID]={imageResize:!1,gridStyle:1,galleryImageRatio:2,imageMargin:5},_LAYOUT_FIXED_STYLES[GALLERY_LAYOUTS.THUMBNAIL]={arrowsSize:23,thumbnailSize:120,floatingImages:0},_LAYOUT_FIXED_STYLES[GALLERY_LAYOUTS.SLIDER]={arrowsSize:23,imageMargin:5},_LAYOUT_FIXED_STYLES[GALLERY_LAYOUTS.SLIDESHOW]={arrowsSize:23,floatingImages:0,slideshowInfoSize:0},_LAYOUT_FIXED_STYLES[GALLERY_LAYOUTS.PANORAMA]={hasThumbnails:!1,imageMargin:5},_LAYOUT_FIXED_STYLES[GALLERY_LAYOUTS.COLUMN]={arrowsSize:23,hasThumbnails:!1,imageMargin:5},_LAYOUT_FIXED_STYLES[GALLERY_LAYOUTS.FULLSIZE]={arrowsSize:23,floatingImages:0,slideshowInfoSize:0};var fullscreenResizeMediaUrl=function(item,originalUrl,resizeMethod,requiredWidth,requiredHeight,sharpParams,faces,allowWatermark,focalPoint){return void 0===faces&&(faces=!1),void 0===allowWatermark&&(allowWatermark=!1),resizeMediaUrl(item,originalUrl,resizeMethod,2*requiredWidth,2*requiredHeight,sharpParams,faces,allowWatermark,focalPoint)},resizeMediaUrl=function(item,originalUrl,resizeMethod,requiredWidth,requiredHeight,sharpParams,faces,allowWatermark,focalPoint){if(sharpParams=sharpParams||{},-1!==(originalUrl=originalUrl||"").indexOf("base64"))return originalUrl;if(requiredWidth=Math.ceil(requiredWidth),requiredHeight=Math.ceil(requiredHeight),resizeMethod===GALLERY_ITEMS_TYPES.VIDEO)return getAbsoluteUrl(originalUrl,GALLERY_ITEMS_TYPES.VIDEO);if(requiredWidth>=item.maxWidth&&requiredHeight>=item.maxHeight){var url=item.dto.metaData.type===GALLERY_ITEMS_TYPES.VIDEO?originalUrl:item.url;return getAbsoluteUrl(url,GALLERY_ITEMS_TYPES.IMAGE)}return function(item,originalUrl,resizeMethod,requiredWidth,requiredHeight,sharpParams,faces,allowWatermark,focalPoint){originalUrl=originalUrl||"",(sharpParams=sharpParams||{}).quality>0&&(sharpParams.quality=Math.min(90,sharpParams.quality));var focalPointObj={x:50,y:50};focalPoint&&focalPoint[0]>=0&&focalPoint[1]>=0&&(focalPointObj.x=Math.round(100*focalPoint[0]),focalPointObj.y=Math.round(100*focalPoint[1])),!0===sharpParams.allowUsm&&sharpParams.usm?(sharpParams.usm.usm_a=Math.min(5,Math.max(0,sharpParams.usm.usm_a||0)),sharpParams.usm.usm_r=Math.min(128,Math.max(0,sharpParams.usm.usm_r||0)),sharpParams.usm.usm_t=Math.min(1,Math.max(0,sharpParams.usm.usm_t||0))):sharpParams.usm={usm_a:0,usm_r:0,usm_t:0};var resizer=function(){};resizer="fit"===resizeMethod?imageClientAPI__default.default.getScaleToFitImageURL:imageClientAPI__default.default.getScaleToFillImageURL;var options={};return sharpParams.quality>0&&(options.quality=sharpParams.quality),sharpParams.blur>0&&(options.filters={blur:sharpParams.blur}),focalPointObj&&(options.focalPoint=focalPointObj),sharpParams&&sharpParams.usm&&(options.unsharpMask={radius:parseFloat(sharpParams.usm.usm_r),amount:parseFloat(sharpParams.usm.usm_a),threshold:parseFloat(sharpParams.usm.usm_t)}),isAbsoluteUrl(originalUrl)?originalUrl:resizer(originalUrl.replace("https://static.wixstatic.com/",""),item.maxWidth,item.maxHeight,requiredWidth,requiredHeight,options)}(item,originalUrl,resizeMethod,requiredWidth,requiredHeight,sharpParams,0,0,focalPoint)};var styles_fullscreen_mode="_3mfOS",styles_expand_mode="_2yNq5",styles_nav_arrow_left="_29HfE",styles_nav_arrow_right="varlR",styles_close="_37-fF",styles_expand_button="WNTBk",styles_title="_1QMe2",styles_info_container="_2LkX8";!function(css,ref){void 0===ref&&(ref={});var insertAt=ref.insertAt;if(css&&"undefined"!=typeof document){var head=document.head||document.getElementsByTagName("head")[0],style=document.createElement("style");style.type="text/css","top"===insertAt&&head.firstChild?head.insertBefore(style,head.firstChild):head.appendChild(style),style.styleSheet?style.styleSheet.cssText=css:style.appendChild(document.createTextNode(css))}}('._2yNq5,._3mfOS{box-sizing:border-box;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:100001;background:#fff}._2yNq5 .pro-gallery .ltr,._2yNq5 .pro-gallery .rtl,._3mfOS .pro-gallery .ltr,._3mfOS .pro-gallery .rtl{direction:ltr!important}._2yNq5{padding-top:70px}@media only screen and (max-width:640px){._2yNq5{padding-top:40px}}._29HfE,.varlR{position:fixed}._29HfE>svg,.varlR>svg{filter:drop-shadow(0 0 0 black)!important}._29HfE{left:16px}.varlR{right:16px}._37-fF{box-sizing:border-box;z-index:1001;padding:10px;position:fixed;right:62px;top:0;background:transparent;border-radius:4px;width:25px;height:25px;color:#000;border:hidden;cursor:pointer}@media only screen and (max-width:640px){._37-fF{right:20px;top:5px}._37-fF>svg{width:20px;height:20px}}.WNTBk{box-sizing:border-box;z-index:1001;padding:10px;position:fixed;left:12px;top:0;background:transparent;border-radius:4px;width:25px;height:25px;color:#000;border:hidden;cursor:pointer}._1QMe2{font-size:14px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._2LkX8{box-sizing:border-box;display:flex;justify-content:center;width:100%;height:100%;margin-top:20px}@media only screen and (max-width:640px){._2LkX8{margin-top:0}}div.pro-gallery .gallery-item-container.zoom-in-on-hover:not(.hide-hover) .gallery-item-content{transition:transform 2.2s cubic-bezier(.14,.4,.09,.99)!important}div.pro-gallery .gallery-item-container.zoom-in-on-hover:not(.hide-hover).simulate-hover .gallery-item-content,div.pro-gallery .gallery-item-container.zoom-in-on-hover:not(.hide-hover):hover .gallery-item-content{transform:scale(1.1)}div.pro-gallery .gallery-item-container.blur-on-hover:not(.hide-hover) .gallery-item-content{transition:filter .4s linear!important}div.pro-gallery .gallery-item-container.blur-on-hover:not(.hide-hover).simulate-hover .gallery-item-content .gallery-item,div.pro-gallery .gallery-item-container.blur-on-hover:not(.hide-hover):hover .gallery-item-content .gallery-item{filter:blur(6px)}div.pro-gallery .gallery-item-container.grayscale-on-hover:not(.hide-hover) .gallery-item-content{transition:filter .6s ease!important}div.pro-gallery .gallery-item-container.grayscale-on-hover:not(.hide-hover).simulate-hover .gallery-item-content,div.pro-gallery .gallery-item-container.grayscale-on-hover:not(.hide-hover):hover .gallery-item-content{filter:grayscale(1)}div.pro-gallery .gallery-item-container.shrink-on-hover:not(.hide-hover){transition:background-color .4s ease!important}div.pro-gallery .gallery-item-container.shrink-on-hover:not(.hide-hover) .gallery-item-content,div.pro-gallery .gallery-item-container.shrink-on-hover:not(.hide-hover) .gallery-item-hover:not(.hide-hover){transition:transform .4s ease!important}div.pro-gallery .gallery-item-container.shrink-on-hover:not(.hide-hover).simulate-hover,div.pro-gallery .gallery-item-container.shrink-on-hover:not(.hide-hover):hover{background-color:transparent!important}div.pro-gallery .gallery-item-container.shrink-on-hover:not(.hide-hover).simulate-hover .gallery-item-content,div.pro-gallery .gallery-item-container.shrink-on-hover:not(.hide-hover).simulate-hover .gallery-item-hover:not(.hide-hover),div.pro-gallery .gallery-item-container.shrink-on-hover:not(.hide-hover):hover .gallery-item-content,div.pro-gallery .gallery-item-container.shrink-on-hover:not(.hide-hover):hover .gallery-item-hover:not(.hide-hover){transform:scale(.985)}div.pro-gallery .gallery-item-container.invert-on-hover:not(.hide-hover) .gallery-item-content{transition:filter .6s ease!important}div.pro-gallery .gallery-item-container.invert-on-hover:not(.hide-hover).simulate-hover .gallery-item-content,div.pro-gallery .gallery-item-container.invert-on-hover:not(.hide-hover):hover .gallery-item-content{filter:invert(1)}div.pro-gallery .gallery-item-container.color-in-on-hover .gallery-item-content{filter:grayscale(1);transition:filter .6s ease!important}div.pro-gallery .gallery-item-container.color-in-on-hover.simulate-hover:not(.hide-hover) .gallery-item-content,div.pro-gallery .gallery-item-container.color-in-on-hover:hover:not(.hide-hover) .gallery-item-content{filter:grayscale(0)}div.pro-gallery .gallery-item-container.darkened-on-hover .gallery-item-content{filter:brightness(1);transition:filter .6s ease!important}div.pro-gallery .gallery-item-container.darkened-on-hover.simulate-hover:not(.hide-hover) .gallery-item-content,div.pro-gallery .gallery-item-container.darkened-on-hover:hover:not(.hide-hover) .gallery-item-content{filter:brightness(.7)}div.pro-gallery .gallery-item-container:not(.invert-hover) .gallery-item-hover{transition:none}div.pro-gallery .gallery-item-container:not(.invert-hover) .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container:not(.invert-hover) .gallery-item-hover:before{opacity:0}div.pro-gallery .gallery-item-container:not(.invert-hover) .gallery-item-hover.force-hover,div.pro-gallery .gallery-item-container:not(.invert-hover):hover .gallery-item-hover:not(.hide-hover){transition:none}div.pro-gallery .gallery-item-container:not(.invert-hover) .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container:not(.invert-hover):hover .gallery-item-hover:not(.hide-hover):before{opacity:1;background:rgba(8,8,8,.75)}div.pro-gallery .gallery-item-container:not(.invert-hover) .gallery-item-hover.force-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container:not(.invert-hover) .gallery-item-hover.force-hover .info-member:not(.hidden),div.pro-gallery .gallery-item-container:not(.invert-hover):hover .gallery-item-hover:not(.hide-hover) .gallery-item-hover-inner,div.pro-gallery .gallery-item-container:not(.invert-hover):hover .gallery-item-hover:not(.hide-hover) .info-member:not(.hidden){opacity:1!important}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-fade-in .gallery-item-hover{transition:filter .4s ease,opacity .4s ease!important}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-fade-in .gallery-item-hover:before{transition:filter .4s ease,opacity .4s ease!important;filter:opacity(0)}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-fade-in .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-fade-in .gallery-item-hover .info-member:not(.hidden){transition:opacity .4s ease}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-fade-in .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-fade-in:hover .gallery-item-hover:not(.hide-hover):before{filter:opacity(1)}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-expand .gallery-item-hover{transition:transform .4s ease,filter .2s ease,opacity .2s ease!important}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-expand .gallery-item-hover:before{transition:transform .4s ease,filter .2s ease,opacity .2s ease!important;transform:scale(.9);filter:opacity(0)}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-expand .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-expand .gallery-item-hover .info-member:not(.hidden){transition:opacity .2s ease}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-expand .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-expand:hover .gallery-item-hover:not(.hide-hover):before{transform:scale(1);filter:opacity(1)}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-up .gallery-item-hover{transition:transform .4s cubic-bezier(.3,.13,.12,1),filter .5s ease,opacity .5s ease!important}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-up .gallery-item-hover:before{transition:transform .4s cubic-bezier(.3,.13,.12,1),filter .5s ease,opacity .5s ease!important;transform:translateY(100%);filter:opacity(0)}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-up .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-up .gallery-item-hover .info-member:not(.hidden){transition:opacity .4s ease}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-up .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-up:hover .gallery-item-hover:not(.hide-hover):before{transform:translateY(0);filter:opacity(1)}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-right .gallery-item-hover{transition:transform .4s cubic-bezier(.3,.13,.12,1),filter .5s ease,opacity .5s ease!important}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-right .gallery-item-hover:before{transition:transform .4s cubic-bezier(.3,.13,.12,1),filter .5s ease,opacity .5s ease!important;transform:translateX(-100%);filter:opacity(0)}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-right .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-right .gallery-item-hover .info-member:not(.hidden){transition:opacity .4s ease}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-right .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-right:hover .gallery-item-hover:not(.hide-hover):before{transform:translateX(0);filter:opacity(1)}div.pro-gallery .gallery-item-container.invert-hover .gallery-item-hover{transition:none}div.pro-gallery .gallery-item-container.invert-hover .gallery-item-hover:before{opacity:1;background:rgba(8,8,8,.75)}div.pro-gallery .gallery-item-container.invert-hover .gallery-item-hover .gallery-item-hover-inner{opacity:1}div.pro-gallery .gallery-item-container.invert-hover .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container.invert-hover .gallery-item-hover .info-member:not(.hidden){opacity:1!important}div.pro-gallery .gallery-item-container.invert-hover .gallery-item-hover.force-hover,div.pro-gallery .gallery-item-container.invert-hover:hover .gallery-item-hover:not(.hide-hover){transition:none}div.pro-gallery .gallery-item-container.invert-hover .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container.invert-hover:hover .gallery-item-hover:not(.hide-hover):before{opacity:0}div.pro-gallery .gallery-item-container.invert-hover .gallery-item-hover.force-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container.invert-hover .gallery-item-hover.force-hover .info-member:not(.hidden),div.pro-gallery .gallery-item-container.invert-hover:hover .gallery-item-hover:not(.hide-hover) .gallery-item-hover-inner,div.pro-gallery .gallery-item-container.invert-hover:hover .gallery-item-hover:not(.hide-hover) .info-member:not(.hidden){opacity:0!important}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-fade-in .gallery-item-hover{transition:filter .4s ease,opacity .4s ease!important}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-fade-in .gallery-item-hover:before{transition:filter .4s ease,opacity .4s ease!important;filter:opacity(1)}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-fade-in .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container.invert-hover.hover-animation-fade-in .gallery-item-hover .info-member:not(.hidden){transition:opacity .4s ease}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-fade-in .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container.invert-hover.hover-animation-fade-in:hover .gallery-item-hover:not(.hide-hover):before{filter:opacity(0)}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-expand .gallery-item-hover{transition:transform .4s ease,filter .2s ease,opacity .2s ease!important}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-expand .gallery-item-hover:before{transition:transform .4s ease,filter .2s ease,opacity .2s ease!important;transform:scale(1);filter:opacity(1)}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-expand .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container.invert-hover.hover-animation-expand .gallery-item-hover .info-member:not(.hidden){transition:opacity .2s ease}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-expand .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container.invert-hover.hover-animation-expand:hover .gallery-item-hover:not(.hide-hover):before{transform:scale(.9);filter:opacity(0)}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-up .gallery-item-hover{transition:transform .4s cubic-bezier(.3,.13,.12,1),filter .5s ease,opacity .5s ease!important}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-up .gallery-item-hover:before{transition:transform .4s cubic-bezier(.3,.13,.12,1),filter .5s ease,opacity .5s ease!important;transform:translateY(0);filter:opacity(1)}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-up .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-up .gallery-item-hover .info-member:not(.hidden){transition:opacity .4s ease}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-up .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-up:hover .gallery-item-hover:not(.hide-hover):before{transform:translateY(100%);filter:opacity(0)}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-right .gallery-item-hover{transition:transform .4s cubic-bezier(.3,.13,.12,1),filter .5s ease,opacity .5s ease!important}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-right .gallery-item-hover:before{transition:transform .4s cubic-bezier(.3,.13,.12,1),filter .5s ease,opacity .5s ease!important;transform:translateX(0);filter:opacity(1)}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-right .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-right .gallery-item-hover .info-member:not(.hidden){transition:opacity .4s ease}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-right .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-right:hover .gallery-item-hover:not(.hide-hover):before{transform:translateX(-100%);filter:opacity(0)}.animation-slide{transition:width .4s ease,height .4s ease,top .4s ease,left .4s ease}[data-collapsed=true] .pro-gallery-parent-container .gallery-item,[data-hidden=true] .pro-gallery-parent-container .gallery-item{background-image:none!important}html.pro-gallery{width:100%;height:auto}body.pro-gallery{transition:opacity 2s ease}#gallery-loader{position:fixed;top:50%}.show-more-container{text-align:center;line-height:138px}.show-more-container i.show-more{color:#5d5d61;font-size:40px;cursor:pointer;margin-top:-3px}.show-more-container button.show-more{display:inline-block;padding:11px 29px;border-radius:0;border:2px solid #5d5d61;font-family:HelveticaNeueW01-45Ligh,HelveticaNeueW02-45Ligh,HelveticaNeueW10-45Ligh,sans-serif;font-size:12px;color:#5d5d61;background:transparent;cursor:pointer}.show-more-container button.show-more:hover{background:rgba(0,0,0,.1)}.more-items-loader{display:block;width:100%;text-align:center;line-height:50px;font-size:30px;color:#3899ec}.version-header{color:#e03939;text-align:left;font-family:Consolas,monospace;font-size:13px;position:absolute;top:0;left:0;width:320px;height:100px;line-height:30px;background:hsla(0,0%,100%,.8);z-index:100}.auto-slideshow-button{margin-top:19px;padding:5px;height:28px;width:20px;cursor:pointer}.auto-slideshow-button,.auto-slideshow-counter{left:auto;z-index:1;position:absolute;display:flex;text-align:center;opacity:.9}.auto-slideshow-counter{margin-top:24px;font-size:15px;line-height:normal}.nav-arrows-container{left:auto;z-index:1;position:absolute;display:flex;text-align:center;cursor:pointer;opacity:.9;align-items:center;background:transparent;border:none;outline:none;justify-content:center}.nav-arrows-container:hover{opacity:1}.nav-arrows-container svg{filter:drop-shadow(0 1px .15px #B2B2B2)}div.gallery-slideshow .gallery-column,div.gallery-slideshow div.pro-gallery{box-sizing:content-box!important}div.gallery-slideshow .gallery-group,div.gallery-slideshow .gallery-item-container,div.gallery-slideshow .gallery-item-wrapper{overflow:visible!important}div.gallery-slideshow.streched .gallery-slideshow-info{padding-left:50px!important;padding-right:50px!important}@media (max-width:500px){div.gallery-slideshow div.pro-gallery .gallery-slideshow-info{padding-left:20px;padding-right:20px}}div.gallery-slideshow div.pro-gallery .gallery-item-container .gallery-slideshow-info{position:absolute;padding-top:0;bottom:-220px;height:220px;width:100%;box-sizing:border-box;display:flex;z-index:15}.gallery-thumbnails div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-hover{padding:50px 100px}.gallery-slider div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-hover{padding:30px 10px 50px}.gallery-columns div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-hover{padding:30px}div.pro-gallery{width:100%;height:100%}div.pro-gallery,div.pro-gallery .gallery-column{overflow:hidden;backface-visibility:hidden;position:relative}div.pro-gallery .gallery-column{float:left;transform-style:preserve-3d}div.pro-gallery .gallery-column .gallery-left-padding{display:inline-block;height:100%}div.pro-gallery .gallery-column .gallery-top-padding{display:block;width:100%}div.pro-gallery .gallery-group{float:left;overflow:hidden;position:relative;transform-style:preserve-3d;backface-visibility:hidden;box-sizing:border-box;padding:0;font-family:HelveticaNeueW01-45Ligh,HelveticaNeueW02-45Ligh,HelveticaNeueW10-45Ligh,sans-serif;font-size:11px}div.pro-gallery .gallery-group.debug.gallery-group-gone{background:#cdcdd0}div.pro-gallery .gallery-group.debug.gallery-group-visible{background:#c1f0c1}div.pro-gallery .gallery-group.debug.gallery-group-hidden{background:#f99}div.pro-gallery .gallery-item-container{position:absolute;display:inline-block;vertical-align:top;border:none;padding:0;border-radius:0;overflow:hidden;transform-style:preserve-3d;backface-visibility:hidden;outline:none;text-decoration:none;color:inherit;will-change:transform,top,left,width,height;box-sizing:border-box;font-family:HelveticaNeueW01-45Ligh,HelveticaNeueW02-45Ligh,HelveticaNeueW10-45Ligh,sans-serif;font-size:11px;cursor:default;scroll-snap-align:center}div.pro-gallery .gallery-item-container:hover .gallery-item-common-info{cursor:pointer}div.pro-gallery .gallery-item-container:hover .gallery-item-common-info button{text-decoration:underline;cursor:pointer}div.pro-gallery .gallery-item-container.highlight:before{content:"";z-index:999;display:block;height:100%;position:absolute;top:0;left:0;width:100%;background-color:hsla(0,0%,100%,.6)}div.pro-gallery .gallery-item-container.visible{transform:translateZ(0)}div.pro-gallery .gallery-item-container.clickable{cursor:pointer}div.pro-gallery .gallery-item-container .gallery-item-wrapper{position:relative;width:100%;height:100%;overflow:hidden}div.pro-gallery .gallery-item-container .gallery-item-wrapper.cube-type-fit,div.pro-gallery .gallery-item-container .gallery-item-wrapper.transparent{background:transparent}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-preload{display:none}div.pro-gallery .gallery-item-container .gallery-item-wrapper.cube-type-fit .gallery-item{background:transparent;object-fit:contain}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item{object-fit:cover;position:absolute;top:0;left:0;width:100%;height:100%;margin:0;overflow:hidden;border-radius:0}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item{box-sizing:border-box;\n /*! autoprefixer: ignore next */-webkit-font-smoothing:antialiased;white-space:normal}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item .te-pro-gallery-text-item{line-height:normal!important;letter-spacing:normal!important}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item>div{background:initial!important;box-sizing:border-box}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item div,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item h1,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item h2,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item h3,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item h4,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item h5,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item h6,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item i,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item p,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item span{margin:0;padding:0}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item .pro-circle-preloader{top:50%;left:50%;height:30px;width:15px;z-index:-1;opacity:.4}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item img.gallery--placeholder-item{width:100%!important;height:100%!important;object-fit:cover;object-position:center}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-loaded{background-color:transparent;opacity:1!important;animation:none!important}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-loaded.image-item:after{display:none!important}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-loaded~.pro-circle-preloader{display:none}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.error{opacity:0!important}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-preloaded{background-size:cover;background-repeat:no-repeat;background-position:50%}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-preloaded.grid-fit{background-size:contain}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video{overflow:hidden;text-align:center}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video iframe{left:0;top:0}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video.playing button,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video.playing i{display:none}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video.playedOnce~.image-item{pointer-events:none;opacity:0;transition:opacity .2s ease}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video button,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video i{display:inline-block;text-rendering:auto;\n /*! autoprefixer: ignore next */-webkit-font-smoothing:antialiased;position:absolute;z-index:11;top:50%;left:50%;height:60px;text-align:center;margin:-30px 0 0 -30px;background:#080808;color:#fff;border-radius:50px;opacity:.7}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video button.play-triangle,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video i.play-triangle{opacity:1}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video button.play-background,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video button.play-triangle,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video i.play-background,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video i.play-triangle{font-size:26px}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video button:hover,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video i:hover{opacity:.9}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video button:before,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video i:before{font-size:2.3em;opacity:1}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-info{position:absolute;bottom:-220px;height:220px;width:100%;box-sizing:border-box;display:flex;z-index:15}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-info>div{height:100%;width:100%}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-hover{white-space:normal;position:absolute;top:0;left:0;width:100%;height:100%;margin:0;box-sizing:border-box;border-radius:0;z-index:15;overflow:hidden}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-hover .gallery-item-hover-inner{height:100%}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-hover.no-hover-bg:before{opacity:0!important}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-hover:before{content:" ";position:absolute;top:0;left:0;width:100%;height:100%;margin:0;box-sizing:border-box;z-index:-1}div.pro-gallery .gallery-item-container .gallery-item-common-info{box-sizing:border-box;cursor:pointer}div.pro-gallery.one-row{white-space:nowrap;float:left}div.pro-gallery.one-row .gallery-column{width:100%;float:none;white-space:nowrap}div.pro-gallery.one-row .gallery-column .gallery-group{display:inline-block;float:none}div.pro-gallery.one-row.slider .gallery-column{overflow-x:scroll}div.pro-gallery.one-row.slider .gallery-column.scroll-snap{scroll-snap-type:x mandatory}div.pro-gallery.one-row .gallery-horizontal-scroll-inner{position:relative}div.pro-gallery.thumbnails-gallery{overflow:hidden;float:left}div.pro-gallery.thumbnails-gallery .galleryColumn{position:relative;overflow:visible}div.pro-gallery.thumbnails-gallery .thumbnailItem{position:absolute;background-color:#fff;background-size:cover;background-position:50%;overflow-y:inherit;border-radius:0;cursor:pointer}@media (max-width:500px){div.pro-gallery.thumbnails-gallery{overflow:visible}}div.pro-gallery :focus{box-shadow:none}div.pro-gallery.accessible button:focus,div.pro-gallery.accessible i:focus{box-shadow:0 0 0 1px #fff,0 0 1px 2px #3899ec}div.pro-gallery.accessible .has-custom-focus:focus{box-shadow:inset 0 0 0 1px #fff,inset 0 0 1px 4px #3899ec}div.pro-gallery.accessible .gallery-item-hover button:focus,div.pro-gallery.accessible .gallery-item-hover i:focus{box-shadow:none}div.pro-gallery.accessible .gallery-item-container.highlight:before,div.pro-gallery.accessible .gallery-item-container:focus:after{box-shadow:inset 0 0 1px 2px #3899ec,inset 0 0 7px 0 #fff,0 0 10px -5px #3899ec}div.pro-gallery.accessible .gallery-item-container:focus:after{content:" ";width:100%;height:100%;position:absolute;top:0;left:0;pointer-events:none;border-radius:inherit}div.pro-gallery.accessible .pro-gallery-thumbnails-highlighted:after,div.pro-gallery.accessible .pro-gallery-thumbnails-highlighted:before{box-shadow:inset 0 0 1px 2px #3899ec,inset 0 0 7px 0 #fff,0 0 10px -5px #3899ec}div.pro-gallery.accessible .pro-gallery-thumbnails-highlighted:after{content:" ";width:100%;height:100%;position:absolute;top:0;left:0;pointer-events:none;border-radius:inherit}div.pro-gallery .hide-scrollbars{-ms-overflow-style:none;overflow:-moz-scrollbars-none;scrollbar-width:none}div.pro-gallery .hide-scrollbars::-webkit-scrollbar,div.pro-gallery .hide-scrollbars ::-webkit-scrollbar{width:0!important;height:0!important}div.pro-gallery .rtl{direction:rtl}div.pro-gallery .ltr{direction:ltr}.sr-only.out-of-view-component{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:circle(0);border:0}.screen-logs{word-wrap:break-word;background:#fff;width:280px;font-size:10px}@keyframes _1pNeo{0%{background-color:hsla(0,0%,94.5%,.2)}50%{background-color:hsla(0,0%,94.5%,.8)}to{background-color:hsla(0,0%,94.5%,.2)}}');var key={fullscreenEnabled:0,fullscreenElement:1,requestFullscreen:2,exitFullscreen:3,fullscreenchange:4,fullscreenerror:5},webkit=["webkitFullscreenEnabled","webkitFullscreenElement","webkitRequestFullscreen","webkitExitFullscreen","webkitfullscreenchange","webkitfullscreenerror"],moz=["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror"],ms=["msFullscreenEnabled","msFullscreenElement","msRequestFullscreen","msExitFullscreen","MSFullscreenChange","MSFullscreenError"],document$1="undefined"!=typeof window&&void 0!==window.document?window.document:{},vendor="fullscreenEnabled"in document$1&&Object.keys(key)||webkit[0]in document$1&&webkit||moz[0]in document$1&&moz||ms[0]in document$1&&ms||[],_default={requestFullscreen:function(element){return element[vendor[key.requestFullscreen]]()},requestFullscreenFunction:function(element){return element[vendor[key.requestFullscreen]]},get exitFullscreen(){return document$1[vendor[key.exitFullscreen]].bind(document$1)},addEventListener:function(type,handler,options){return document$1.addEventListener(vendor[key[type]],handler,options)},removeEventListener:function(type,handler,options){return document$1.removeEventListener(vendor[key[type]],handler,options)},get fullscreenEnabled(){return Boolean(document$1[vendor[key.fullscreenEnabled]])},set fullscreenEnabled(val){},get fullscreenElement(){return document$1[vendor[key.fullscreenElement]]},set fullscreenElement(val){},get onfullscreenchange(){return document$1[("on"+vendor[key.fullscreenchange]).toLowerCase()]},set onfullscreenchange(handler){return document$1[("on"+vendor[key.fullscreenchange]).toLowerCase()]=handler},get onfullscreenerror(){return document$1[("on"+vendor[key.fullscreenerror]).toLowerCase()]},set onfullscreenerror(handler){return document$1[("on"+vendor[key.fullscreenerror]).toLowerCase()]=handler}},ProGallery=require("pro-gallery").ProGallery,InnerFullscreen=function(_Component){function InnerFullscreen(props){var _this;return(_this=_Component.call(this,props)||this).focusGalleryForA11y=function(){setTimeout((function(){document.getElementById("pro-gallery-ricos-fullscreen").querySelector("[data-hook=item-container]").focus()}))},_this.pauseChildNodesVideos=function(element){var _Array$from;return null===(_Array$from=Array.from(element.getElementsByTagName("video")))||void 0===_Array$from?void 0:_Array$from.forEach((function(video){return video.pause()}))},_this.addFullscreenChangeListener=function(){_default.fullscreenEnabled&&_default.addEventListener("fullscreenchange",_this.onFullscreenChange)},_this.removeFullscreenChangeListener=function(){_default.fullscreenEnabled&&_default.removeEventListener("fullscreenchange",_this.onFullscreenChange)},_this.onWindowResize=function(){return _this.setState({size:_this.getDimensions()})},_this.onFullscreenChange=function(){return _this.setState({isInFullscreen:!!_default.fullscreenElement})},_this.onEsc=function(event){"Escape"===event.key&&_this.onClose()},_this.toggleFullscreenMode=function(){var isInFullscreen=_this.state.isInFullscreen;_default.fullscreenEnabled&&(isInFullscreen?_default.exitFullscreen():_default.requestFullscreen(document.body))},_this.getStyleParams=function(isHorizontalView){var isInFullscreen=_this.state.isInFullscreen,arrowsPosition=0,slideshowInfoSize=0;return _this.props.isMobile?slideshowInfoSize=isHorizontalView?0:80:isInFullscreen||(arrowsPosition=1,slideshowInfoSize=142),{arrowsPosition:arrowsPosition,slideshowInfoSize:slideshowInfoSize}},_this.onClose=function(){_this.state.isInFullscreen&&_this.toggleFullscreenMode(),_this.props.onClose()},_this.applyOnEnterKeyPress=function(callback){return function(e){return 13===e.keyCode&&callback()}},_this.renderCloseButton=function(){var _this$props=_this.props,backgroundColor=_this$props.backgroundColor,foregroundColor=_this$props.foregroundColor;return React__default.default.createElement("div",{role:"button",tabIndex:0,className:styles_close,onClick:_this.onClose,onKeyDown:_this.applyOnEnterKeyPress(_this.onClose),"aria-label":"Close","data-hook":"fullscreen-close-button"},React__default.default.createElement(CloseIcon,{backgroundColor:backgroundColor,foregroundColor:foregroundColor}))},_this.renderFullscreenToggleButton=function(){var isInFullscreen=_this.state.isInFullscreen,_this$props2=_this.props,backgroundColor=_this$props2.backgroundColor,foregroundColor=_this$props2.foregroundColor,Icon=isInFullscreen?ShrinkIcon:ExpandIcon,ariaLabel=isInFullscreen?"Shrink":"Expand";return React__default.default.createElement("div",{role:"button",tabIndex:0,className:styles_expand_button,onClick:_this.toggleFullscreenMode,onKeyDown:_this.applyOnEnterKeyPress(_this.toggleFullscreenMode),"aria-label":ariaLabel,"data-hook":"fullscreen-toggle-button"},React__default.default.createElement(Icon,{backgroundColor:backgroundColor,foregroundColor:foregroundColor}))},_this.handleGalleryEvents=function(name,data){if("CURRENT_ITEM_CHANGED"===name){var _previousItem$metaDat,previousItem=_this.items[_this.currentIdx];"video"===(null==previousItem||null===(_previousItem$metaDat=previousItem.metaData)||void 0===_previousItem$metaDat?void 0:_previousItem$metaDat.type)&&_this.pauseChildNodesVideos(document.querySelector("[data-id='"+previousItem.itemId+"']")),_this.currentIdx=parseInt(data.itemId.split("_").pop())}},_this.infoElement=function(itemProps){return React__default.default.createElement("div",{className:styles_info_container},React__default.default.createElement("div",{style:{color:_this.props.foregroundColor},className:styles_title},itemProps.title))},_this.renderArrow=function(Icon,styles){var _this$props3=_this.props,backgroundColor=_this$props3.backgroundColor,foregroundColor=_this$props3.foregroundColor;return React__default.default.createElement("div",{className:styles},React__default.default.createElement(Icon,{backgroundColor:backgroundColor,foregroundColor:foregroundColor}))},_this.arrowRenderers={left:_this.renderArrow(ArrowLeft,styles_nav_arrow_left),right:_this.renderArrow(ArrowRight,styles_nav_arrow_right)},_this.customArrowRenderer=function(direction){return _this.arrowRenderers[direction]},_this.getDimensions=function(){var _this$containerRef$cu,_this$containerRef$cu2,container=null===(_this$containerRef$cu=_this.containerRef.current)||void 0===_this$containerRef$cu||null===(_this$containerRef$cu2=_this$containerRef$cu.getBoundingClientRect)||void 0===_this$containerRef$cu2?void 0:_this$containerRef$cu2.call(_this$containerRef$cu);return{width:container.width,height:container.height}},_this.handleContextMenu=function(e){return _this.items[_this.currentIdx].disableDownload&&e.preventDefault()},_this.state={isInFullscreen:!1},_this.getItems(),_this.containerRef=React__default.default.createRef(),_this.currentIdx=props.index,_this.pauseChildNodesVideos(document),_this}_inheritsLoose__default.default(InnerFullscreen,_Component);var _proto=InnerFullscreen.prototype;return _proto.componentDidMount=function(){document.addEventListener("keydown",this.onEsc),window.addEventListener("resize",this.onWindowResize),this.addFullscreenChangeListener(),this.setState({size:this.getDimensions()}),this.focusGalleryForA11y()},_proto.componentWillUnmount=function(){document.removeEventListener("keydown",this.onEsc),window.removeEventListener("resize",this.onWindowResize),this.removeFullscreenChangeListener()},_proto.getItems=function(){var _ref,items,anchorTarget,relValue,images=this.props.images;this.items=(items=(_ref={items:images}).items,anchorTarget=_ref.anchorTarget,relValue=_ref.relValue,items.map((function(item,index){var metadata=item.metadata;if(item.metaData)return item;var url,baseUrl,baseFolder,convertedData={metaData:{link:{type:"none",target:"_blank"}},directLink:{}};if(metadata){if(convertedData.metaData=_extends__default.default({},metadata,{link:{type:"none",target:"_blank"}}),"video"===item.metadata.type){convertedData.metaData.link={target:"_blank",rel:"noopener",url:wixRichContentCommon.normalizeUrl(item.url||"")};var _convertedData$metaDa=convertedData.metaData.poster,pathname=_convertedData$metaDa.pathname,_convertedData$metaDa2=_convertedData$metaDa.thumbnail,thumbPathname=(_convertedData$metaDa2=void 0===_convertedData$metaDa2?{}:_convertedData$metaDa2).pathname,width=_convertedData$metaDa2.width,height=_convertedData$metaDa2.height;pathname&&thumbPathname?convertedData.metaData.poster={url:(url=thumbPathname,function(url){return url.startsWith("http://")||url.startsWith("https://")}(url)?url:(baseUrl="https://static.wixstatic.com/",baseFolder="media/",baseUrl+(url.startsWith(baseFolder)?url:baseFolder+url))),width:width,height:height}:"string"==typeof convertedData.metaData.poster&&(convertedData.metaData.poster={url:convertedData.metaData.poster,width:convertedData.metaData.width,height:convertedData.metaData.height})}convertedData.metaData.alt=metadata.altText,item.metadata.link&&(convertedData.metaData.link={type:"wix",target:item.metadata.link.target||anchorTarget||"_self",data:{type:"ExternalLink",target:item.metadata.link.target||anchorTarget||"_self",rel:item.metadata.link.rel||relValue||"noopener",url:wixRichContentCommon.normalizeUrl(item.metadata.link.url||"")}},convertedData.directLink={url:wixRichContentCommon.normalizeUrl(item.metadata.link.url||""),target:item.metadata.link.target||anchorTarget||"_self",rel:item.metadata.link.rel||relValue||"noopener"})}return _extends__default.default({},item,{metadata:void 0},convertedData,{itemId:wixRichContentCommon.uuid()+"_"+index.toString()})})))},_proto.render=function(){var _this$props4=this.props,backgroundColor=_this$props4.backgroundColor,topMargin=_this$props4.topMargin,isMobile=_this$props4.isMobile,_this$state=this.state,isInFullscreen=_this$state.isInFullscreen,size=_this$state.size,isHorizontalView=(null==size?void 0:size.width)>(null==size?void 0:size.height),_this$getStyleParams=this.getStyleParams(isHorizontalView),arrowsPosition=_this$getStyleParams.arrowsPosition,slideshowInfoSize=_this$getStyleParams.slideshowInfoSize;return React__default.default.createElement(wixRichContentUiComponents.FocusManager,null,React__default.default.createElement("div",{style:_extends__default.default({background:backgroundColor},topMargin),dir:"ltr","data-hook":"fullscreen-root",className:isInFullscreen||isMobile&&isHorizontalView?styles_fullscreen_mode:styles_expand_mode,ref:this.containerRef,onContextMenu:this.handleContextMenu,role:"none"},this.renderCloseButton(),!isMobile&&this.renderFullscreenToggleButton(),size&&React__default.default.createElement(ProGallery,{domId:"ricos-fullscreen",items:this.items,currentIdx:this.currentIdx,eventsListener:this.handleGalleryEvents,resizeMediaUrl:fullscreenResizeMediaUrl,container:size,options:{galleryLayout:5,cubeType:"fit",scrollSnap:!0,videoPlay:"onClick",videoLoop:!1,videoSound:!0,hidePlay:!1,showVideoControls:!0,allowSocial:!1,loveButton:!1,allowTitle:!0,defaultShowInfoExpand:1,showArrows:!isMobile,floatingImages:0,arrowsPosition:arrowsPosition,slideshowInfoSize:slideshowInfoSize,allowContextMenu:!0},customSlideshowInfoRenderer:this.infoElement,customNavArrowsRenderer:this.customArrowRenderer})))},InnerFullscreen}(React.Component);InnerFullscreen.defaultProps={backgroundColor:"white",foregroundColor:"#2F2E2E"};var _excluded=["target","isOpen"];function Fullscreen(props){var target=props.target,isOpen=props.isOpen,rest=_objectWithoutPropertiesLoose__default.default(props,_excluded),fullscreen=React__default.default.createElement(InnerFullscreen,rest);return target&&(fullscreen=ReactDOM__default.default.createPortal(fullscreen,target)),isOpen?fullscreen:null}Fullscreen.propTypes={images:PropTypes__default.default.array.isRequired,isOpen:PropTypes__default.default.bool,isMobile:PropTypes__default.default.bool,index:PropTypes__default.default.number,topMargin:PropTypes__default.default.object,backgroundColor:PropTypes__default.default.string,foregroundColor:PropTypes__default.default.string,onClose:PropTypes__default.default.func,target:PropTypes__default.default.elementType},module.exports=Fullscreen;
//# sourceMappingURL=module.cjs.js.map

@@ -1,2 +0,2 @@

import _extends from"@babel/runtime/helpers/extends";import _objectWithoutPropertiesLoose from"@babel/runtime/helpers/objectWithoutPropertiesLoose";import{createBasePlugin}from"wix-rich-content-plugin-commons";import React,{Component}from"react";import{pick}from"lodash";import _inheritsLoose from"@babel/runtime/helpers/inheritsLoose";import{mergeStyles}from"wix-rich-content-common";import{mergeBlockData,FORMATTING_BUTTONS,EditorState,getAnchorBlockData,InlineToolbarButton,ClickOutside,decorateComponentWithProps,isAtomicBlockFocused,BUTTON_TYPES,getModalStyles}from"wix-rich-content-editor-common";import Modal from"react-modal";import classNames from"classnames";var LINE_SPACING_TYPE="line-spacing",LineSpacingIcon=function(props){return props.newFormattingToolbar?React.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"17",height:"15",viewBox:"0 0 17 15"},props),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("g",{fill:"currentColor"},React.createElement("g",null,React.createElement("path",{d:"M4.5 3L7 6H5v9h2l-2.5 3L2 15h2V6H2l2.5-3zM18 16v1H9v-1h9zm0-4v1H9v-1h9zm0-4v1H9V8h9zm0-4v1H9V4h9z",transform:"translate(-605.000000, -80.000000) translate(603.500000, 77.000000)"}))))):React.createElement("svg",Object.assign({width:19,height:19,viewBox:"0 0 19 19"},props),React.createElement("path",{d:"M9.2 7h7.6c.11 0 .2.09.2.2v.6a.2.2 0 0 1-.2.2H9.2a.2.2 0 0 1-.2-.2v-.6c0-.11.09-.2.2-.2zm0 3h7.6c.11 0 .2.09.2.2v.6a.2.2 0 0 1-.2.2H9.2a.2.2 0 0 1-.2-.2v-.6c0-.11.09-.2.2-.2zm0 3h7.6c.11 0 .2.09.2.2v.6a.2.2 0 0 1-.2.2H9.2a.2.2 0 0 1-.2-.2v-.6c0-.11.09-.2.2-.2zm0-9h7.6c.11 0 .2.09.2.2v.6a.2.2 0 0 1-.2.2H9.2a.2.2 0 0 1-.2-.2v-.6c0-.11.09-.2.2-.2z"}),React.createElement("path",{d:"M5.854 4.707L7 5.853l.707-.707-2-2-.005-.003-.157-.104L5.354 3l-.191.039-.157.104L5 3.146l-2 2s.708.706.707.707l1.147-1.146v8.586l-1.146-1.146-.707.707 2 2 .162.108.189.038.193-.039.162-.107 2-2L7 12.147l-1.146 1.146V4.707z"}))},styles={lineHeightsPanel:"_22Yra",lineHeightsPanel_selectedLineHeight:"W4aQP",lineSpacingMobilePanel_selectedLineHeight:"BMbAI",lineSpacingMobilePanel:"_1ZEpf",lineSpacingMobilePanel_heights:"_1ZRz9",lineSpacingMobilePanel_buttons:"ak4LK",customSpacingPanel:"_2Jf9a",customSpacingPanel_mobile:"_1K2CE",customSpacingPanel_labeledInput:"_2l5vW",lineSpacing_separator:"_1ziH-",customSpacingPanel_buttons:"_2kls2",lineSpacingContainer:"_11bfQ",lineSpacingContainer_mobile:"_3nZp1",lineSpacingModal:"_3PNI9",lineSpacingModal_mobile:"_19sHr",lineSpacingModalOverlay:"_3O-Bu",lineSpacingPopup_button:"lRuWu",lineSpacingPopup:"_3a7Rh"},LineHeightsPanel=function(_ref){var selectedHeight=_ref.selectedHeight,onSave=_ref.onSave,showCustomPanel=_ref.showCustomPanel,styles=_ref.styles,t=_ref.t;return React.createElement("div",{className:styles.lineHeightsPanel},[1,1.5,2,2.5,3].map((function(height){return function(height,isSelected,_onClick){return React.createElement("button",{className:isSelected?styles.lineHeightsPanel_selectedLineHeight:"",key:height,onClick:function(){return _onClick(""+height)}},height)}(height,parseFloat(selectedHeight)===height,onSave)})),React.createElement("button",{onClick:showCustomPanel},t("LineSpacing_customSpacing")))},MobilePanel=function(_ref2){var selectedHeight=_ref2.selectedHeight,styles=_ref2.styles,t=_ref2.t,onChange=_ref2.onChange,onSave=_ref2.onSave,onCancel=_ref2.onCancel;return React.createElement("div",{className:styles.lineSpacingMobilePanel},React.createElement("div",null,t("LineSpacing_lineSpacing")),React.createElement("div",{className:styles.lineSpacingMobilePanel_heights},[1,1.5,2,2.5,3].map((function(height){return function(height,isSelected,_onClick2){return React.createElement("button",{className:isSelected?styles.lineSpacingMobilePanel_selectedLineHeight:"",key:height,onClick:function(){return _onClick2(""+height)}},height)}(height,parseFloat(selectedHeight)===height,onChange)}))),React.createElement(Separator,null),React.createElement("div",{className:styles.lineSpacingMobilePanel_buttons},React.createElement("button",{onClick:onCancel},t("LineSpacing_cancel")),React.createElement("button",{onClick:function(){return onSave()}},t("LineSpacing_save"))))},LabeledInput=function(_ref3){var label=_ref3.label,name=_ref3.name,_ref3$unit=_ref3.unit,unit=void 0===_ref3$unit?"":_ref3$unit,_ref3$defaultValue=_ref3.defaultValue,defaultValue=void 0===_ref3$defaultValue?0:_ref3$defaultValue,spacing=_ref3.spacing,_onChange2=_ref3.onChange,min=_ref3.min,max=_ref3.max,value=void 0===spacing[name]?defaultValue:parseFloat(spacing[name]);return React.createElement("label",{className:styles.customSpacingPanel_labeledInput},React.createElement("span",null,label),React.createElement("input",{type:"number",min:min,max:max,value:value,onChange:function(e){var _onChange;return _onChange2(((_onChange={})[name]=Number(e.target.value)+unit,_onChange))}}))},Separator=function(){return React.createElement("div",{className:styles.lineSpacing_separator})},CustomPanel=function(_ref4){var spacing=_ref4.spacing,onChange=_ref4.onChange,onSave=_ref4.onSave,onCancel=_ref4.onCancel,styles=_ref4.styles,t=_ref4.t;return React.createElement("div",{className:styles.customSpacingPanel},React.createElement(LabeledInput,{label:t("LineSpacing_lineSpacing"),name:"line-height",defaultValue:1.5,onChange:onChange,spacing:spacing,min:1,max:100}),React.createElement(Separator,null),React.createElement(LabeledInput,{label:t("LineSpacing_beforeParagraph"),name:"padding-top",unit:"px",onChange:onChange,spacing:spacing,min:0,max:250}),React.createElement(LabeledInput,{label:t("LineSpacing_afterParagraph"),name:"padding-bottom",unit:"px",onChange:onChange,spacing:spacing,min:0,max:250}),React.createElement("div",{className:styles.customSpacingPanel_buttons},React.createElement("button",{onClick:onCancel},t("LineSpacing_cancel")),React.createElement("button",{onClick:function(){return onSave()}},t("LineSpacing_save"))))},Panel=function(_Component){function Panel(props){var _this;return(_this=_Component.call(this,props)||this).showCustomPanel=function(){_this.setState({isCustomPanel:!0})},_this.onBlur=function(e){var target=e.target,relatedTarget=e.relatedTarget;e.currentTarget.contains(relatedTarget)||setTimeout((function(){return target.focus()}))},_this.onChange=function(spacing){var merged=_extends({},_this.state.spacing,spacing);_this.setState({spacing:merged}),_this.props.onChange(merged)},_this.onSave=function(spacing){_this.props.onSave(_extends({},_this.state.spacing,spacing))},_this.state={spacing:props.spacing},_this.styles=mergeStyles({styles:styles,theme:props.theme}),_this}return _inheritsLoose(Panel,_Component),Panel.prototype.render=function(){var _classNames,_this$props=this.props,onCancel=_this$props.onCancel,t=_this$props.t,isMobile=_this$props.isMobile,_this$state=this.state,isCustomPanel=_this$state.isCustomPanel,spacing=_this$state.spacing,styles=this.styles,showCustomPanel=this.showCustomPanel,onChange=this.onChange,onSave=this.onSave,selectedHeight=spacing["line-height"],panel=isMobile?React.createElement(MobilePanel,{styles:styles,selectedHeight:selectedHeight,t:t,onChange:function(height){return onChange({"line-height":height})},onSave:onSave,onCancel:onCancel}):isCustomPanel?React.createElement(CustomPanel,{spacing:spacing,onChange:onChange,onSave:onSave,onCancel:onCancel,styles:styles,t:t,isMobile:isMobile}):React.createElement(LineHeightsPanel,{styles:styles,selectedHeight:selectedHeight,showCustomPanel:showCustomPanel,t:t,onSave:function(height){return onSave({"line-height":height})}});return React.createElement("div",{onBlur:this.onBlur,className:classNames(styles.lineSpacingContainer,(_classNames={},_classNames[styles.lineSpacingContainer_mobile]=isMobile,_classNames))},panel)},Panel}(Component);Panel.defaultProps={spacing:{}};var LineSpacingButton=function(_Component){function LineSpacingButton(props){var _this;return(_this=_Component.call(this,props)||this).onOpenPanel=function(){_this.currentEditorState=_this.oldEditorState=_this.props.getEditorState(),_this.selection=_this.oldEditorState.getSelection();var spacing=LineSpacingButton.getBlockSpacing(_this.oldEditorState);_this.oldSpacing=spacing,_this.setState({isPanelOpen:!0,spacing:spacing})},_this.openPanel=function(){_this.onOpenPanel();var _this$buttonRef$getBo=_this.buttonRef.getBoundingClientRect(),bottom=_this$buttonRef$getBo.bottom,left=_this$buttonRef$getBo.left;_this.props.setKeepOpen(!0),_this.setState({panelLeft:left,panelTop:bottom})},_this.closePanel=function(){_this.setState({isPanelOpen:!1}),_this.props.setKeepOpen(!1)},_this.updateSpacing=function(spacing){var _helpers$onToolbarBut,dynamicStyles=spacing,_this$props=_this.props,setEditorState=_this$props.setEditorState,onUpdate=_this$props.onUpdate,helpers=_this$props.helpers,newEditorState=mergeBlockData(_this.oldEditorState,{dynamicStyles:dynamicStyles});setEditorState(newEditorState),null==helpers||null===(_helpers$onToolbarBut=helpers.onToolbarButtonClick)||void 0===_helpers$onToolbarBut||_helpers$onToolbarBut.call(helpers,{buttonName:FORMATTING_BUTTONS.LINE_SPACING,pluginId:"line-spacing",value:null==spacing?void 0:spacing["line-height"]}),_this.currentEditorState=newEditorState,onUpdate(dynamicStyles)},_this.save=function(spacing){_this.closePanel(),spacing?_this.updateSpacing(spacing):_this.setEditorState(_this.currentEditorState)},_this.cancel=function(){var onUpdate=_this.props.onUpdate;_this.setEditorState(_this.oldEditorState),onUpdate(_this.oldSpacing),_this.closePanel()},_this.setEditorState=function(editorState){return _this.props.setEditorState(_this.fixSelection(editorState,_this.selection))},_this.fixSelection=EditorState.forceSelection,_this.state={showPanel:!1},_this.styles=mergeStyles({styles:styles,theme:props.theme}),_this.dataHookName="LineSpacingButton",_this}return _inheritsLoose(LineSpacingButton,_Component),LineSpacingButton.getBlockSpacing=function(editorState){var _getAnchorBlockData$d=getAnchorBlockData(editorState).dynamicStyles;return pick(void 0===_getAnchorBlockData$d?{}:_getAnchorBlockData$d,["line-height","padding-top","padding-bottom"])},LineSpacingButton.getModalParent=function(){return document.querySelector(".DraftEditor-root").parentNode},LineSpacingButton.prototype.render=function(){var _toolbar$icons,_classNames,_classNames2,_this2=this,_this$props2=this.props,theme=_this$props2.theme,helpers=_this$props2.helpers,isMobile=_this$props2.isMobile,t=_this$props2.t,tabIndex=_this$props2.tabIndex,defaultSpacing=_this$props2.defaultSpacing,toolbar=_this$props2.toolbar,toolbarName=_this$props2.toolbarName,inlinePopups=_this$props2.inlinePopups,_this$state=this.state,isPanelOpen=_this$state.isPanelOpen,spacing=_this$state.spacing,panelTop=_this$state.panelTop,panelLeft=_this$state.panelLeft,styles=this.styles,icon=(null==toolbar||null===(_toolbar$icons=toolbar.icons)||void 0===_toolbar$icons?void 0:_toolbar$icons.InsertPluginButtonIcon)||LineSpacingIcon,modalStyle=isMobile?{left:0,bottom:0,right:0}:{top:panelTop,left:panelLeft};return isMobile||"StaticTextToolbar"!==toolbarName||!inlinePopups?React.createElement(InlineToolbarButton,{onClick:this.openPanel,isActive:!!isPanelOpen,helpers:helpers,theme:theme,isMobile:isMobile,tooltipText:t("LineSpacingButton_Tooltip"),dataHook:this.dataHookName,formattingButtonName:FORMATTING_BUTTONS.LINE_SPACING,tabIndex:tabIndex,icon:icon,pluginType:"line-spacing",ref:function(_ref){return _this2.buttonRef=_ref}},React.createElement(Modal,{isOpen:isPanelOpen,onRequestClose:function(){return _this2.save()},className:classNames(styles.lineSpacingModal,(_classNames={},_classNames[styles.lineSpacingModal_mobile]=isMobile,_classNames)),overlayClassName:classNames(styles.lineSpacingModalOverlay,(_classNames2={},_classNames2[styles.lineSpacingModalOverlay_mobile]=isMobile,_classNames2)),parentSelector:LineSpacingButton.getModalParent,style:{content:modalStyle},ariaHideApp:!1},React.createElement(Panel,{spacing:_extends({},defaultSpacing,spacing),onChange:this.updateSpacing,onSave:this.save,onCancel:this.cancel,styles:this.styles,t:t,isMobile:isMobile,theme:theme}))):React.createElement("div",{className:styles.lineSpacingPopup_button},React.createElement(InlineToolbarButton,{onClick:this.openPanel,isActive:!!isPanelOpen,helpers:helpers,theme:theme,isMobile:isMobile,tooltipText:t("LineSpacingButton_Tooltip"),dataHook:this.dataHookName,formattingButtonName:FORMATTING_BUTTONS.LINE_SPACING,tabIndex:tabIndex,icon:icon,pluginType:"line-spacing",ref:function(_ref2){return _this2.buttonRef=_ref2}},isPanelOpen&&React.createElement("div",{className:styles.lineSpacingPopup},React.createElement(ClickOutside,{onClickOutside:function(){return _this2.save()}},React.createElement(Panel,{spacing:_extends({},defaultSpacing,spacing),onChange:this.updateSpacing,onSave:this.save,onCancel:this.cancel,styles:this.styles,t:t,isMobile:isMobile,theme:theme})))))},LineSpacingButton}(Component);LineSpacingButton.defaultProps={inlinePopups:!1,setKeepOpen:function(){},onUpdate:function(){}};var createToolbar=function(config){var oldEditorState,spacing,getEditorState=config.getEditorState,setEditorState=config.setEditorState,helpers=config.helpers,isMobile=config.isMobile,theme=config.theme,updateSpacing=function(spacing){var dynamicStyles=spacing,newEditorState=mergeBlockData(oldEditorState||getEditorState(),{dynamicStyles:dynamicStyles});setEditorState(newEditorState)},LineSpacingPanel=function(_ref){var _getAnchorBlockData$d,closeCustomModal=_ref.closeCustomModal,onSelect=_ref.onSelect;return oldEditorState=getEditorState(),_getAnchorBlockData$d=getAnchorBlockData(oldEditorState).dynamicStyles,spacing=pick(void 0===_getAnchorBlockData$d?{}:_getAnchorBlockData$d,["line-height","padding-top","padding-bottom"]),React.createElement(Panel,Object.assign({onChange:function(args){updateSpacing(args),onSelect&&onSelect(args)},onSave:function(args){!function(spacing){var _helpers$closeModal;null==helpers||null===(_helpers$closeModal=helpers.closeModal)||void 0===_helpers$closeModal||_helpers$closeModal.call(helpers),spacing?updateSpacing(spacing):setEditorState(oldEditorState)}(args),onSelect&&onSelect(args),closeCustomModal&&closeCustomModal()},onCancel:function(){var _helpers$closeModal2;null==helpers||null===(_helpers$closeModal2=helpers.closeModal)||void 0===_helpers$closeModal2||_helpers$closeModal2.call(helpers),setEditorState(oldEditorState),closeCustomModal&&closeCustomModal()},spacing:spacing},config))},modalStylesFn=function(ref){var _ref$getBoundingClien=ref.getBoundingClientRect(),bottom=_ref$getBoundingClien.bottom,left=_ref$getBoundingClien.left;return isMobile?{content:{position:"absolute",left:"0px",right:"0px",bottom:"0",border:"none",background:"white",overflow:"auto",outline:"none",padding:"0px",width:"100%",zIndex:6,top:"auto",transform:"translateY(0)",margin:0}}:{content:{display:"inline-table",transform:"translateY(0)",minHeight:"116px",height:"auto",position:"absolute",minWidth:"216px",maxWidth:"360px",width:"auto",top:bottom,left:left-15,borderRadius:"6px",border:"1px solid #ededed",margin:"0",background:"#fff"},overlay:{background:"transparent"}}};return{TextButtonMapper:function(){var _ref4;return(_ref4={})[FORMATTING_BUTTONS.LINE_SPACING]={component:decorateComponentWithProps(LineSpacingButton,config["line-spacing"]),externalizedButtonProps:{onClick:function(_ref3){return function(_ref2){var ref=_ref2.ref,render=_ref2.render;if(render)render(LineSpacingPanel);else{var _helpers$openModal,modalStyles=getModalStyles({customStyles:modalStylesFn(ref),fullScreen:!1,isMobile:isMobile});null==helpers||null===(_helpers$openModal=helpers.openModal)||void 0===_helpers$openModal||_helpers$openModal.call(helpers,{modalStyles:modalStyles,helpers:helpers,isMobile:isMobile,modalElement:LineSpacingPanel,theme:theme})}}({ref:_ref3.ref,render:_ref3.render})},isActive:function(){return!1},isDisabled:function(){return isAtomicBlockFocused(config.getEditorState())},getIcon:function(){var _config$LINE_SPACING_,_config$LINE_SPACING_2,_config$LINE_SPACING_3;return(null===(_config$LINE_SPACING_=config["line-spacing"])||void 0===_config$LINE_SPACING_||null===(_config$LINE_SPACING_2=_config$LINE_SPACING_.toolbar)||void 0===_config$LINE_SPACING_2||null===(_config$LINE_SPACING_3=_config$LINE_SPACING_2.icons)||void 0===_config$LINE_SPACING_3?void 0:_config$LINE_SPACING_3.InsertPluginButtonIcon)||function(){var _config$experiments,_config$experiments$n;return LineSpacingIcon({newFormattingToolbar:null==config||null===(_config$experiments=config.experiments)||void 0===_config$experiments||null===(_config$experiments$n=_config$experiments.newFormattingToolbar)||void 0===_config$experiments$n?void 0:_config$experiments$n.enabled})}},tooltip:config.t("LineSpacingButton_Tooltip"),getLabel:function(){return""},type:BUTTON_TYPES.DROPDOWN,modal:LineSpacingPanel,onSelect:updateSpacing}},_ref4},name:"line-spacing"}},DEFAULTS=Object.freeze({type:"line-spacing",config:{}});function _toPropertyKey(arg){var key=function(input,hint){if("object"!=typeof input||null===input)return input;var prim=input[Symbol.toPrimitive];if(void 0!==prim){var res=prim.call(input,hint||"default");if("object"!=typeof res)return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===hint?String:Number)(input)}(arg,"string");return"symbol"==typeof key?key:String(key)}var _ModalsMap,createLineSpacingPlugin=function(config){var type="line-spacing",theme=config.theme,isMobile=config.isMobile,t=config.t,_config$type=config[type],settings=void 0===_config$type?{}:_config$type,rest=_objectWithoutPropertiesLoose(config,["theme","isMobile","t",type].map(_toPropertyKey)),toolbar=createToolbar(config);return createBasePlugin(_extends({theme:theme,toolbar:toolbar,isMobile:isMobile,t:t,settings:settings,type:type,defaultPluginData:DEFAULTS},rest))};createLineSpacingPlugin.functionName="line-spacing";var Modals={LINE_SPACING:"LINE_SPACING"},ModalsMap=((_ModalsMap={})[Modals.LINE_SPACING]=Panel,_ModalsMap),pluginLineSpacing=function(config){return{config:_extends({},DEFAULTS.config,config),type:"line-spacing",createPlugin:createLineSpacingPlugin,ModalsMap:ModalsMap}};export{LINE_SPACING_TYPE,Modals,ModalsMap,createLineSpacingPlugin,pluginLineSpacing};
import _objectWithoutPropertiesLoose from"@babel/runtime/helpers/objectWithoutPropertiesLoose";import React,{Component}from"react";import ReactDOM from"react-dom";import PropTypes from"prop-types";import _extends from"@babel/runtime/helpers/extends";import _inheritsLoose from"@babel/runtime/helpers/inheritsLoose";import imageClientAPI from"image-client-api/dist/imageClientSDK";import{normalizeUrl,uuid}from"wix-rich-content-common";import{FocusManager}from"wix-rich-content-ui-components";var _layoutData,GALLERY_LAYOUTS,CloseIcon=function(props){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",viewBox:"0 0 60 60"},React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{fill:props.backgroundColor,d:"M0 0H60V60H0z"}),React.createElement("path",{fill:props.foregroundColor,d:"M42.188 17l.812.813L30.812 30 43 42.188l-.813.812L30 30.812 17.812 43 17 42.187 29.187 30 17 17.812l.813-.812L30 29.187 42.188 17z"})))},ExpandIcon=function(props){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",viewBox:"0 0 60 60"},React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{fill:props.backgroundColor,d:"M0 0H60V60H0z"}),React.createElement("g",{fill:props.foregroundColor},React.createElement("path",{d:"M4.333 15.167H5.413V27.084H4.333z",transform:"translate(17 17) rotate(45 4.873 21.125)"}),React.createElement("path",{d:"M26 8h-1V1h-7V0h8v8z",transform:"translate(17 17)"}),React.createElement("path",{d:"M20.583 -1.083H21.665999999999997V10.834H20.583z",transform:"translate(17 17) rotate(45 21.125 4.875)"}),React.createElement("path",{d:"M0 26v-8h1v7h7v1H0z",transform:"translate(17 17)"}))))},ShrinkIcon=function(props){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",viewBox:"0 0 60 60"},React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{fill:props.backgroundColor,d:"M0 0H60V60H0z"}),React.createElement("g",{fill:props.foregroundColor},React.createElement("path",{d:"M4.055 16.447H5.135V28.363999999999997H4.055z",transform:"translate(17 16) rotate(-135 4.595 22.405)"}),React.createElement("g",null,React.createElement("path",{d:"M10 8.083H9v-7H2v-1h8v8z",transform:"translate(17 16) rotate(-180 13 5.458)"}),React.createElement("path",{d:"M4.583 -1H5.666V10.917H4.583z",transform:"translate(17 16) rotate(-180 13 5.458) rotate(45 5.125 4.958)"})),React.createElement("path",{d:"M9.468 17.53v8h-1v-7h-7v-1h8z",transform:"translate(17 16)"}))))},ArrowLeft=function(props){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"61",viewBox:"0 0 60 61"},React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{fill:props.backgroundColor,transform:"translate(0 .5)"}),React.createElement("path",{stroke:props.foregroundColor,strokeWidth:"1.5",d:"M24 21L42 21 42 39",transform:"translate(0 .5) scale(-1 1) rotate(45 0 -49.669)"})))},ArrowRight=function(props){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"61",viewBox:"0 0 60 61"},React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("path",{fill:props.backgroundColor,transform:"translate(0 .5)"}),React.createElement("path",{stroke:props.foregroundColor,strokeWidth:"1.5",d:"M17 21L35 21 35 39",transform:"translate(0 .5) rotate(45 26 30)"})))},isAbsoluteUrl=function(url){return url.startsWith("http://")||url.startsWith("https://")},getAbsoluteUrl=function(url,type){return isAbsoluteUrl(url)?url:("image"===type?(baseUrl="https://static.wixstatic.com/",baseFolder="media/"):(baseUrl="https://video.wixstatic.com/",baseFolder="video/"),baseUrl+(url.startsWith(baseFolder)?url:baseFolder+url));var baseUrl,baseFolder};!function(GALLERY_LAYOUTS){GALLERY_LAYOUTS[GALLERY_LAYOUTS.EMPTY=-1]="EMPTY",GALLERY_LAYOUTS[GALLERY_LAYOUTS.COLLAGE=0]="COLLAGE",GALLERY_LAYOUTS[GALLERY_LAYOUTS.MASONRY=1]="MASONRY",GALLERY_LAYOUTS[GALLERY_LAYOUTS.GRID=2]="GRID",GALLERY_LAYOUTS[GALLERY_LAYOUTS.THUMBNAIL=3]="THUMBNAIL",GALLERY_LAYOUTS[GALLERY_LAYOUTS.SLIDER=4]="SLIDER",GALLERY_LAYOUTS[GALLERY_LAYOUTS.SLIDESHOW=5]="SLIDESHOW",GALLERY_LAYOUTS[GALLERY_LAYOUTS.PANORAMA=6]="PANORAMA",GALLERY_LAYOUTS[GALLERY_LAYOUTS.COLUMN=7]="COLUMN",GALLERY_LAYOUTS[GALLERY_LAYOUTS.MAGIC=8]="MAGIC",GALLERY_LAYOUTS[GALLERY_LAYOUTS.FULLSIZE=9]="FULLSIZE",GALLERY_LAYOUTS[GALLERY_LAYOUTS.BRICKS=10]="BRICKS",GALLERY_LAYOUTS[GALLERY_LAYOUTS.MIX=11]="MIX",GALLERY_LAYOUTS[GALLERY_LAYOUTS.ALTERNATE=12]="ALTERNATE"}(GALLERY_LAYOUTS||(GALLERY_LAYOUTS={}));var _LAYOUT_FIXED_STYLES,layoutData=((_layoutData={})[GALLERY_LAYOUTS.COLLAGE]={isVertical:!0,oneRow:!1,galleryType:"Columns",gallerySizePx:"300"},_layoutData[GALLERY_LAYOUTS.MASONRY]={numberOfImagesPerRow:0,isVertical:!1,gallerySizePx:"300"},_layoutData[GALLERY_LAYOUTS.GRID]={numberOfImagesPerRow:3,cubeType:"fill",cubeRatio:1,isVertical:!0,oneRow:!1},_layoutData[GALLERY_LAYOUTS.THUMBNAIL]={galleryThumbnailsAlignment:"bottom",thumbnailSpacings:5},_layoutData[GALLERY_LAYOUTS.SLIDER]={cubeType:"fit",cubeRatio:"16/9"},_layoutData[GALLERY_LAYOUTS.SLIDESHOW]={cubeType:"fit"},_layoutData[GALLERY_LAYOUTS.PANORAMA]={hasThumbnails:!1,galleryThumbnailsAlignment:"none"},_layoutData[GALLERY_LAYOUTS.COLUMN]={hasThumbnails:!1,galleryThumbnailsAlignment:"none"},_layoutData[GALLERY_LAYOUTS.FULLSIZE]={cubeType:"fill"},_layoutData),GALLERY_ITEMS_TYPES=Object.freeze({IMAGE:"image",VIDEO:"video"});Object.freeze([GALLERY_LAYOUTS.THUMBNAIL,GALLERY_LAYOUTS.SLIDER,GALLERY_LAYOUTS.SLIDESHOW,GALLERY_LAYOUTS.COLUMN,GALLERY_LAYOUTS.FULLSIZE]),Object.freeze({items:[],styles:_extends({galleryLayout:GALLERY_LAYOUTS.GRID},layoutData[GALLERY_LAYOUTS.GRID]),config:{alignment:"center",size:"content"}}),(_LAYOUT_FIXED_STYLES={})[GALLERY_LAYOUTS.COLLAGE]={galleryType:"Columns",imageMargin:5},_LAYOUT_FIXED_STYLES[GALLERY_LAYOUTS.MASONRY]={imageMargin:5,isVertical:!1,gridStyle:0},_LAYOUT_FIXED_STYLES[GALLERY_LAYOUTS.GRID]={imageResize:!1,gridStyle:1,galleryImageRatio:2,imageMargin:5},_LAYOUT_FIXED_STYLES[GALLERY_LAYOUTS.THUMBNAIL]={arrowsSize:23,thumbnailSize:120,floatingImages:0},_LAYOUT_FIXED_STYLES[GALLERY_LAYOUTS.SLIDER]={arrowsSize:23,imageMargin:5},_LAYOUT_FIXED_STYLES[GALLERY_LAYOUTS.SLIDESHOW]={arrowsSize:23,floatingImages:0,slideshowInfoSize:0},_LAYOUT_FIXED_STYLES[GALLERY_LAYOUTS.PANORAMA]={hasThumbnails:!1,imageMargin:5},_LAYOUT_FIXED_STYLES[GALLERY_LAYOUTS.COLUMN]={arrowsSize:23,hasThumbnails:!1,imageMargin:5},_LAYOUT_FIXED_STYLES[GALLERY_LAYOUTS.FULLSIZE]={arrowsSize:23,floatingImages:0,slideshowInfoSize:0};var fullscreenResizeMediaUrl=function(item,originalUrl,resizeMethod,requiredWidth,requiredHeight,sharpParams,faces,allowWatermark,focalPoint){return void 0===faces&&(faces=!1),void 0===allowWatermark&&(allowWatermark=!1),resizeMediaUrl(item,originalUrl,resizeMethod,2*requiredWidth,2*requiredHeight,sharpParams,faces,allowWatermark,focalPoint)},resizeMediaUrl=function(item,originalUrl,resizeMethod,requiredWidth,requiredHeight,sharpParams,faces,allowWatermark,focalPoint){if(sharpParams=sharpParams||{},-1!==(originalUrl=originalUrl||"").indexOf("base64"))return originalUrl;if(requiredWidth=Math.ceil(requiredWidth),requiredHeight=Math.ceil(requiredHeight),resizeMethod===GALLERY_ITEMS_TYPES.VIDEO)return getAbsoluteUrl(originalUrl,GALLERY_ITEMS_TYPES.VIDEO);if(requiredWidth>=item.maxWidth&&requiredHeight>=item.maxHeight){var url=item.dto.metaData.type===GALLERY_ITEMS_TYPES.VIDEO?originalUrl:item.url;return getAbsoluteUrl(url,GALLERY_ITEMS_TYPES.IMAGE)}return function(item,originalUrl,resizeMethod,requiredWidth,requiredHeight,sharpParams,faces,allowWatermark,focalPoint){originalUrl=originalUrl||"",(sharpParams=sharpParams||{}).quality>0&&(sharpParams.quality=Math.min(90,sharpParams.quality));var focalPointObj={x:50,y:50};focalPoint&&focalPoint[0]>=0&&focalPoint[1]>=0&&(focalPointObj.x=Math.round(100*focalPoint[0]),focalPointObj.y=Math.round(100*focalPoint[1])),!0===sharpParams.allowUsm&&sharpParams.usm?(sharpParams.usm.usm_a=Math.min(5,Math.max(0,sharpParams.usm.usm_a||0)),sharpParams.usm.usm_r=Math.min(128,Math.max(0,sharpParams.usm.usm_r||0)),sharpParams.usm.usm_t=Math.min(1,Math.max(0,sharpParams.usm.usm_t||0))):sharpParams.usm={usm_a:0,usm_r:0,usm_t:0};var resizer=function(){};resizer="fit"===resizeMethod?imageClientAPI.getScaleToFitImageURL:imageClientAPI.getScaleToFillImageURL;var options={};return sharpParams.quality>0&&(options.quality=sharpParams.quality),sharpParams.blur>0&&(options.filters={blur:sharpParams.blur}),focalPointObj&&(options.focalPoint=focalPointObj),sharpParams&&sharpParams.usm&&(options.unsharpMask={radius:parseFloat(sharpParams.usm.usm_r),amount:parseFloat(sharpParams.usm.usm_a),threshold:parseFloat(sharpParams.usm.usm_t)}),isAbsoluteUrl(originalUrl)?originalUrl:resizer(originalUrl.replace("https://static.wixstatic.com/",""),item.maxWidth,item.maxHeight,requiredWidth,requiredHeight,options)}(item,originalUrl,resizeMethod,requiredWidth,requiredHeight,sharpParams,0,0,focalPoint)};var styles_fullscreen_mode="_3mfOS",styles_expand_mode="_2yNq5",styles_nav_arrow_left="_29HfE",styles_nav_arrow_right="varlR",styles_close="_37-fF",styles_expand_button="WNTBk",styles_title="_1QMe2",styles_info_container="_2LkX8";!function(css,ref){void 0===ref&&(ref={});var insertAt=ref.insertAt;if(css&&"undefined"!=typeof document){var head=document.head||document.getElementsByTagName("head")[0],style=document.createElement("style");style.type="text/css","top"===insertAt&&head.firstChild?head.insertBefore(style,head.firstChild):head.appendChild(style),style.styleSheet?style.styleSheet.cssText=css:style.appendChild(document.createTextNode(css))}}('._2yNq5,._3mfOS{box-sizing:border-box;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:100001;background:#fff}._2yNq5 .pro-gallery .ltr,._2yNq5 .pro-gallery .rtl,._3mfOS .pro-gallery .ltr,._3mfOS .pro-gallery .rtl{direction:ltr!important}._2yNq5{padding-top:70px}@media only screen and (max-width:640px){._2yNq5{padding-top:40px}}._29HfE,.varlR{position:fixed}._29HfE>svg,.varlR>svg{filter:drop-shadow(0 0 0 black)!important}._29HfE{left:16px}.varlR{right:16px}._37-fF{box-sizing:border-box;z-index:1001;padding:10px;position:fixed;right:62px;top:0;background:transparent;border-radius:4px;width:25px;height:25px;color:#000;border:hidden;cursor:pointer}@media only screen and (max-width:640px){._37-fF{right:20px;top:5px}._37-fF>svg{width:20px;height:20px}}.WNTBk{box-sizing:border-box;z-index:1001;padding:10px;position:fixed;left:12px;top:0;background:transparent;border-radius:4px;width:25px;height:25px;color:#000;border:hidden;cursor:pointer}._1QMe2{font-size:14px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._2LkX8{box-sizing:border-box;display:flex;justify-content:center;width:100%;height:100%;margin-top:20px}@media only screen and (max-width:640px){._2LkX8{margin-top:0}}div.pro-gallery .gallery-item-container.zoom-in-on-hover:not(.hide-hover) .gallery-item-content{transition:transform 2.2s cubic-bezier(.14,.4,.09,.99)!important}div.pro-gallery .gallery-item-container.zoom-in-on-hover:not(.hide-hover).simulate-hover .gallery-item-content,div.pro-gallery .gallery-item-container.zoom-in-on-hover:not(.hide-hover):hover .gallery-item-content{transform:scale(1.1)}div.pro-gallery .gallery-item-container.blur-on-hover:not(.hide-hover) .gallery-item-content{transition:filter .4s linear!important}div.pro-gallery .gallery-item-container.blur-on-hover:not(.hide-hover).simulate-hover .gallery-item-content .gallery-item,div.pro-gallery .gallery-item-container.blur-on-hover:not(.hide-hover):hover .gallery-item-content .gallery-item{filter:blur(6px)}div.pro-gallery .gallery-item-container.grayscale-on-hover:not(.hide-hover) .gallery-item-content{transition:filter .6s ease!important}div.pro-gallery .gallery-item-container.grayscale-on-hover:not(.hide-hover).simulate-hover .gallery-item-content,div.pro-gallery .gallery-item-container.grayscale-on-hover:not(.hide-hover):hover .gallery-item-content{filter:grayscale(1)}div.pro-gallery .gallery-item-container.shrink-on-hover:not(.hide-hover){transition:background-color .4s ease!important}div.pro-gallery .gallery-item-container.shrink-on-hover:not(.hide-hover) .gallery-item-content,div.pro-gallery .gallery-item-container.shrink-on-hover:not(.hide-hover) .gallery-item-hover:not(.hide-hover){transition:transform .4s ease!important}div.pro-gallery .gallery-item-container.shrink-on-hover:not(.hide-hover).simulate-hover,div.pro-gallery .gallery-item-container.shrink-on-hover:not(.hide-hover):hover{background-color:transparent!important}div.pro-gallery .gallery-item-container.shrink-on-hover:not(.hide-hover).simulate-hover .gallery-item-content,div.pro-gallery .gallery-item-container.shrink-on-hover:not(.hide-hover).simulate-hover .gallery-item-hover:not(.hide-hover),div.pro-gallery .gallery-item-container.shrink-on-hover:not(.hide-hover):hover .gallery-item-content,div.pro-gallery .gallery-item-container.shrink-on-hover:not(.hide-hover):hover .gallery-item-hover:not(.hide-hover){transform:scale(.985)}div.pro-gallery .gallery-item-container.invert-on-hover:not(.hide-hover) .gallery-item-content{transition:filter .6s ease!important}div.pro-gallery .gallery-item-container.invert-on-hover:not(.hide-hover).simulate-hover .gallery-item-content,div.pro-gallery .gallery-item-container.invert-on-hover:not(.hide-hover):hover .gallery-item-content{filter:invert(1)}div.pro-gallery .gallery-item-container.color-in-on-hover .gallery-item-content{filter:grayscale(1);transition:filter .6s ease!important}div.pro-gallery .gallery-item-container.color-in-on-hover.simulate-hover:not(.hide-hover) .gallery-item-content,div.pro-gallery .gallery-item-container.color-in-on-hover:hover:not(.hide-hover) .gallery-item-content{filter:grayscale(0)}div.pro-gallery .gallery-item-container.darkened-on-hover .gallery-item-content{filter:brightness(1);transition:filter .6s ease!important}div.pro-gallery .gallery-item-container.darkened-on-hover.simulate-hover:not(.hide-hover) .gallery-item-content,div.pro-gallery .gallery-item-container.darkened-on-hover:hover:not(.hide-hover) .gallery-item-content{filter:brightness(.7)}div.pro-gallery .gallery-item-container:not(.invert-hover) .gallery-item-hover{transition:none}div.pro-gallery .gallery-item-container:not(.invert-hover) .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container:not(.invert-hover) .gallery-item-hover:before{opacity:0}div.pro-gallery .gallery-item-container:not(.invert-hover) .gallery-item-hover.force-hover,div.pro-gallery .gallery-item-container:not(.invert-hover):hover .gallery-item-hover:not(.hide-hover){transition:none}div.pro-gallery .gallery-item-container:not(.invert-hover) .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container:not(.invert-hover):hover .gallery-item-hover:not(.hide-hover):before{opacity:1;background:rgba(8,8,8,.75)}div.pro-gallery .gallery-item-container:not(.invert-hover) .gallery-item-hover.force-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container:not(.invert-hover) .gallery-item-hover.force-hover .info-member:not(.hidden),div.pro-gallery .gallery-item-container:not(.invert-hover):hover .gallery-item-hover:not(.hide-hover) .gallery-item-hover-inner,div.pro-gallery .gallery-item-container:not(.invert-hover):hover .gallery-item-hover:not(.hide-hover) .info-member:not(.hidden){opacity:1!important}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-fade-in .gallery-item-hover{transition:filter .4s ease,opacity .4s ease!important}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-fade-in .gallery-item-hover:before{transition:filter .4s ease,opacity .4s ease!important;filter:opacity(0)}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-fade-in .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-fade-in .gallery-item-hover .info-member:not(.hidden){transition:opacity .4s ease}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-fade-in .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-fade-in:hover .gallery-item-hover:not(.hide-hover):before{filter:opacity(1)}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-expand .gallery-item-hover{transition:transform .4s ease,filter .2s ease,opacity .2s ease!important}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-expand .gallery-item-hover:before{transition:transform .4s ease,filter .2s ease,opacity .2s ease!important;transform:scale(.9);filter:opacity(0)}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-expand .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-expand .gallery-item-hover .info-member:not(.hidden){transition:opacity .2s ease}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-expand .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-expand:hover .gallery-item-hover:not(.hide-hover):before{transform:scale(1);filter:opacity(1)}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-up .gallery-item-hover{transition:transform .4s cubic-bezier(.3,.13,.12,1),filter .5s ease,opacity .5s ease!important}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-up .gallery-item-hover:before{transition:transform .4s cubic-bezier(.3,.13,.12,1),filter .5s ease,opacity .5s ease!important;transform:translateY(100%);filter:opacity(0)}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-up .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-up .gallery-item-hover .info-member:not(.hidden){transition:opacity .4s ease}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-up .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-up:hover .gallery-item-hover:not(.hide-hover):before{transform:translateY(0);filter:opacity(1)}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-right .gallery-item-hover{transition:transform .4s cubic-bezier(.3,.13,.12,1),filter .5s ease,opacity .5s ease!important}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-right .gallery-item-hover:before{transition:transform .4s cubic-bezier(.3,.13,.12,1),filter .5s ease,opacity .5s ease!important;transform:translateX(-100%);filter:opacity(0)}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-right .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-right .gallery-item-hover .info-member:not(.hidden){transition:opacity .4s ease}div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-right .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container:not(.invert-hover).hover-animation-slide-right:hover .gallery-item-hover:not(.hide-hover):before{transform:translateX(0);filter:opacity(1)}div.pro-gallery .gallery-item-container.invert-hover .gallery-item-hover{transition:none}div.pro-gallery .gallery-item-container.invert-hover .gallery-item-hover:before{opacity:1;background:rgba(8,8,8,.75)}div.pro-gallery .gallery-item-container.invert-hover .gallery-item-hover .gallery-item-hover-inner{opacity:1}div.pro-gallery .gallery-item-container.invert-hover .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container.invert-hover .gallery-item-hover .info-member:not(.hidden){opacity:1!important}div.pro-gallery .gallery-item-container.invert-hover .gallery-item-hover.force-hover,div.pro-gallery .gallery-item-container.invert-hover:hover .gallery-item-hover:not(.hide-hover){transition:none}div.pro-gallery .gallery-item-container.invert-hover .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container.invert-hover:hover .gallery-item-hover:not(.hide-hover):before{opacity:0}div.pro-gallery .gallery-item-container.invert-hover .gallery-item-hover.force-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container.invert-hover .gallery-item-hover.force-hover .info-member:not(.hidden),div.pro-gallery .gallery-item-container.invert-hover:hover .gallery-item-hover:not(.hide-hover) .gallery-item-hover-inner,div.pro-gallery .gallery-item-container.invert-hover:hover .gallery-item-hover:not(.hide-hover) .info-member:not(.hidden){opacity:0!important}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-fade-in .gallery-item-hover{transition:filter .4s ease,opacity .4s ease!important}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-fade-in .gallery-item-hover:before{transition:filter .4s ease,opacity .4s ease!important;filter:opacity(1)}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-fade-in .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container.invert-hover.hover-animation-fade-in .gallery-item-hover .info-member:not(.hidden){transition:opacity .4s ease}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-fade-in .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container.invert-hover.hover-animation-fade-in:hover .gallery-item-hover:not(.hide-hover):before{filter:opacity(0)}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-expand .gallery-item-hover{transition:transform .4s ease,filter .2s ease,opacity .2s ease!important}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-expand .gallery-item-hover:before{transition:transform .4s ease,filter .2s ease,opacity .2s ease!important;transform:scale(1);filter:opacity(1)}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-expand .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container.invert-hover.hover-animation-expand .gallery-item-hover .info-member:not(.hidden){transition:opacity .2s ease}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-expand .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container.invert-hover.hover-animation-expand:hover .gallery-item-hover:not(.hide-hover):before{transform:scale(.9);filter:opacity(0)}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-up .gallery-item-hover{transition:transform .4s cubic-bezier(.3,.13,.12,1),filter .5s ease,opacity .5s ease!important}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-up .gallery-item-hover:before{transition:transform .4s cubic-bezier(.3,.13,.12,1),filter .5s ease,opacity .5s ease!important;transform:translateY(0);filter:opacity(1)}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-up .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-up .gallery-item-hover .info-member:not(.hidden){transition:opacity .4s ease}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-up .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-up:hover .gallery-item-hover:not(.hide-hover):before{transform:translateY(100%);filter:opacity(0)}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-right .gallery-item-hover{transition:transform .4s cubic-bezier(.3,.13,.12,1),filter .5s ease,opacity .5s ease!important}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-right .gallery-item-hover:before{transition:transform .4s cubic-bezier(.3,.13,.12,1),filter .5s ease,opacity .5s ease!important;transform:translateX(0);filter:opacity(1)}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-right .gallery-item-hover .gallery-item-hover-inner,div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-right .gallery-item-hover .info-member:not(.hidden){transition:opacity .4s ease}div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-right .gallery-item-hover.force-hover:before,div.pro-gallery .gallery-item-container.invert-hover.hover-animation-slide-right:hover .gallery-item-hover:not(.hide-hover):before{transform:translateX(-100%);filter:opacity(0)}.animation-slide{transition:width .4s ease,height .4s ease,top .4s ease,left .4s ease}[data-collapsed=true] .pro-gallery-parent-container .gallery-item,[data-hidden=true] .pro-gallery-parent-container .gallery-item{background-image:none!important}html.pro-gallery{width:100%;height:auto}body.pro-gallery{transition:opacity 2s ease}#gallery-loader{position:fixed;top:50%}.show-more-container{text-align:center;line-height:138px}.show-more-container i.show-more{color:#5d5d61;font-size:40px;cursor:pointer;margin-top:-3px}.show-more-container button.show-more{display:inline-block;padding:11px 29px;border-radius:0;border:2px solid #5d5d61;font-family:HelveticaNeueW01-45Ligh,HelveticaNeueW02-45Ligh,HelveticaNeueW10-45Ligh,sans-serif;font-size:12px;color:#5d5d61;background:transparent;cursor:pointer}.show-more-container button.show-more:hover{background:rgba(0,0,0,.1)}.more-items-loader{display:block;width:100%;text-align:center;line-height:50px;font-size:30px;color:#3899ec}.version-header{color:#e03939;text-align:left;font-family:Consolas,monospace;font-size:13px;position:absolute;top:0;left:0;width:320px;height:100px;line-height:30px;background:hsla(0,0%,100%,.8);z-index:100}.auto-slideshow-button{margin-top:19px;padding:5px;height:28px;width:20px;cursor:pointer}.auto-slideshow-button,.auto-slideshow-counter{left:auto;z-index:1;position:absolute;display:flex;text-align:center;opacity:.9}.auto-slideshow-counter{margin-top:24px;font-size:15px;line-height:normal}.nav-arrows-container{left:auto;z-index:1;position:absolute;display:flex;text-align:center;cursor:pointer;opacity:.9;align-items:center;background:transparent;border:none;outline:none;justify-content:center}.nav-arrows-container:hover{opacity:1}.nav-arrows-container svg{filter:drop-shadow(0 1px .15px #B2B2B2)}div.gallery-slideshow .gallery-column,div.gallery-slideshow div.pro-gallery{box-sizing:content-box!important}div.gallery-slideshow .gallery-group,div.gallery-slideshow .gallery-item-container,div.gallery-slideshow .gallery-item-wrapper{overflow:visible!important}div.gallery-slideshow.streched .gallery-slideshow-info{padding-left:50px!important;padding-right:50px!important}@media (max-width:500px){div.gallery-slideshow div.pro-gallery .gallery-slideshow-info{padding-left:20px;padding-right:20px}}div.gallery-slideshow div.pro-gallery .gallery-item-container .gallery-slideshow-info{position:absolute;padding-top:0;bottom:-220px;height:220px;width:100%;box-sizing:border-box;display:flex;z-index:15}.gallery-thumbnails div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-hover{padding:50px 100px}.gallery-slider div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-hover{padding:30px 10px 50px}.gallery-columns div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-hover{padding:30px}div.pro-gallery{width:100%;height:100%}div.pro-gallery,div.pro-gallery .gallery-column{overflow:hidden;backface-visibility:hidden;position:relative}div.pro-gallery .gallery-column{float:left;transform-style:preserve-3d}div.pro-gallery .gallery-column .gallery-left-padding{display:inline-block;height:100%}div.pro-gallery .gallery-column .gallery-top-padding{display:block;width:100%}div.pro-gallery .gallery-group{float:left;overflow:hidden;position:relative;transform-style:preserve-3d;backface-visibility:hidden;box-sizing:border-box;padding:0;font-family:HelveticaNeueW01-45Ligh,HelveticaNeueW02-45Ligh,HelveticaNeueW10-45Ligh,sans-serif;font-size:11px}div.pro-gallery .gallery-group.debug.gallery-group-gone{background:#cdcdd0}div.pro-gallery .gallery-group.debug.gallery-group-visible{background:#c1f0c1}div.pro-gallery .gallery-group.debug.gallery-group-hidden{background:#f99}div.pro-gallery .gallery-item-container{position:absolute;display:inline-block;vertical-align:top;border:none;padding:0;border-radius:0;overflow:hidden;transform-style:preserve-3d;backface-visibility:hidden;outline:none;text-decoration:none;color:inherit;will-change:transform,top,left,width,height;box-sizing:border-box;font-family:HelveticaNeueW01-45Ligh,HelveticaNeueW02-45Ligh,HelveticaNeueW10-45Ligh,sans-serif;font-size:11px;cursor:default;scroll-snap-align:center}div.pro-gallery .gallery-item-container:hover .gallery-item-common-info{cursor:pointer}div.pro-gallery .gallery-item-container:hover .gallery-item-common-info button{text-decoration:underline;cursor:pointer}div.pro-gallery .gallery-item-container.highlight:before{content:"";z-index:999;display:block;height:100%;position:absolute;top:0;left:0;width:100%;background-color:hsla(0,0%,100%,.6)}div.pro-gallery .gallery-item-container.visible{transform:translateZ(0)}div.pro-gallery .gallery-item-container.clickable{cursor:pointer}div.pro-gallery .gallery-item-container .gallery-item-wrapper{position:relative;width:100%;height:100%;overflow:hidden}div.pro-gallery .gallery-item-container .gallery-item-wrapper.cube-type-fit,div.pro-gallery .gallery-item-container .gallery-item-wrapper.transparent{background:transparent}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-preload{display:none}div.pro-gallery .gallery-item-container .gallery-item-wrapper.cube-type-fit .gallery-item{background:transparent;object-fit:contain}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item{object-fit:cover;position:absolute;top:0;left:0;width:100%;height:100%;margin:0;overflow:hidden;border-radius:0}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item{box-sizing:border-box;\n /*! autoprefixer: ignore next */-webkit-font-smoothing:antialiased;white-space:normal}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item .te-pro-gallery-text-item{line-height:normal!important;letter-spacing:normal!important}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item>div{background:initial!important;box-sizing:border-box}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item div,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item h1,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item h2,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item h3,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item h4,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item h5,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item h6,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item i,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item p,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.text-item span{margin:0;padding:0}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item .pro-circle-preloader{top:50%;left:50%;height:30px;width:15px;z-index:-1;opacity:.4}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item img.gallery--placeholder-item{width:100%!important;height:100%!important;object-fit:cover;object-position:center}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-loaded{background-color:transparent;opacity:1!important;animation:none!important}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-loaded.image-item:after{display:none!important}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-loaded~.pro-circle-preloader{display:none}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.error{opacity:0!important}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-preloaded{background-size:cover;background-repeat:no-repeat;background-position:50%}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-preloaded.grid-fit{background-size:contain}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video{overflow:hidden;text-align:center}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video iframe{left:0;top:0}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video.playing button,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video.playing i{display:none}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video.playedOnce~.image-item{pointer-events:none;opacity:0;transition:opacity .2s ease}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video button,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video i{display:inline-block;text-rendering:auto;\n /*! autoprefixer: ignore next */-webkit-font-smoothing:antialiased;position:absolute;z-index:11;top:50%;left:50%;height:60px;text-align:center;margin:-30px 0 0 -30px;background:#080808;color:#fff;border-radius:50px;opacity:.7}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video button.play-triangle,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video i.play-triangle{opacity:1}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video button.play-background,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video button.play-triangle,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video i.play-background,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video i.play-triangle{font-size:26px}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video button:hover,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video i:hover{opacity:.9}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video button:before,div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item.gallery-item-video i:before{font-size:2.3em;opacity:1}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-info{position:absolute;bottom:-220px;height:220px;width:100%;box-sizing:border-box;display:flex;z-index:15}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-info>div{height:100%;width:100%}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-hover{white-space:normal;position:absolute;top:0;left:0;width:100%;height:100%;margin:0;box-sizing:border-box;border-radius:0;z-index:15;overflow:hidden}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-hover .gallery-item-hover-inner{height:100%}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-hover.no-hover-bg:before{opacity:0!important}div.pro-gallery .gallery-item-container .gallery-item-wrapper .gallery-item-hover:before{content:" ";position:absolute;top:0;left:0;width:100%;height:100%;margin:0;box-sizing:border-box;z-index:-1}div.pro-gallery .gallery-item-container .gallery-item-common-info{box-sizing:border-box;cursor:pointer}div.pro-gallery.one-row{white-space:nowrap;float:left}div.pro-gallery.one-row .gallery-column{width:100%;float:none;white-space:nowrap}div.pro-gallery.one-row .gallery-column .gallery-group{display:inline-block;float:none}div.pro-gallery.one-row.slider .gallery-column{overflow-x:scroll}div.pro-gallery.one-row.slider .gallery-column.scroll-snap{scroll-snap-type:x mandatory}div.pro-gallery.one-row .gallery-horizontal-scroll-inner{position:relative}div.pro-gallery.thumbnails-gallery{overflow:hidden;float:left}div.pro-gallery.thumbnails-gallery .galleryColumn{position:relative;overflow:visible}div.pro-gallery.thumbnails-gallery .thumbnailItem{position:absolute;background-color:#fff;background-size:cover;background-position:50%;overflow-y:inherit;border-radius:0;cursor:pointer}@media (max-width:500px){div.pro-gallery.thumbnails-gallery{overflow:visible}}div.pro-gallery :focus{box-shadow:none}div.pro-gallery.accessible button:focus,div.pro-gallery.accessible i:focus{box-shadow:0 0 0 1px #fff,0 0 1px 2px #3899ec}div.pro-gallery.accessible .has-custom-focus:focus{box-shadow:inset 0 0 0 1px #fff,inset 0 0 1px 4px #3899ec}div.pro-gallery.accessible .gallery-item-hover button:focus,div.pro-gallery.accessible .gallery-item-hover i:focus{box-shadow:none}div.pro-gallery.accessible .gallery-item-container.highlight:before,div.pro-gallery.accessible .gallery-item-container:focus:after{box-shadow:inset 0 0 1px 2px #3899ec,inset 0 0 7px 0 #fff,0 0 10px -5px #3899ec}div.pro-gallery.accessible .gallery-item-container:focus:after{content:" ";width:100%;height:100%;position:absolute;top:0;left:0;pointer-events:none;border-radius:inherit}div.pro-gallery.accessible .pro-gallery-thumbnails-highlighted:after,div.pro-gallery.accessible .pro-gallery-thumbnails-highlighted:before{box-shadow:inset 0 0 1px 2px #3899ec,inset 0 0 7px 0 #fff,0 0 10px -5px #3899ec}div.pro-gallery.accessible .pro-gallery-thumbnails-highlighted:after{content:" ";width:100%;height:100%;position:absolute;top:0;left:0;pointer-events:none;border-radius:inherit}div.pro-gallery .hide-scrollbars{-ms-overflow-style:none;overflow:-moz-scrollbars-none;scrollbar-width:none}div.pro-gallery .hide-scrollbars::-webkit-scrollbar,div.pro-gallery .hide-scrollbars ::-webkit-scrollbar{width:0!important;height:0!important}div.pro-gallery .rtl{direction:rtl}div.pro-gallery .ltr{direction:ltr}.sr-only.out-of-view-component{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:circle(0);border:0}.screen-logs{word-wrap:break-word;background:#fff;width:280px;font-size:10px}@keyframes _1pNeo{0%{background-color:hsla(0,0%,94.5%,.2)}50%{background-color:hsla(0,0%,94.5%,.8)}to{background-color:hsla(0,0%,94.5%,.2)}}');var key={fullscreenEnabled:0,fullscreenElement:1,requestFullscreen:2,exitFullscreen:3,fullscreenchange:4,fullscreenerror:5},webkit=["webkitFullscreenEnabled","webkitFullscreenElement","webkitRequestFullscreen","webkitExitFullscreen","webkitfullscreenchange","webkitfullscreenerror"],moz=["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror"],ms=["msFullscreenEnabled","msFullscreenElement","msRequestFullscreen","msExitFullscreen","MSFullscreenChange","MSFullscreenError"],document$1="undefined"!=typeof window&&void 0!==window.document?window.document:{},vendor="fullscreenEnabled"in document$1&&Object.keys(key)||webkit[0]in document$1&&webkit||moz[0]in document$1&&moz||ms[0]in document$1&&ms||[],_default={requestFullscreen:function(element){return element[vendor[key.requestFullscreen]]()},requestFullscreenFunction:function(element){return element[vendor[key.requestFullscreen]]},get exitFullscreen(){return document$1[vendor[key.exitFullscreen]].bind(document$1)},addEventListener:function(type,handler,options){return document$1.addEventListener(vendor[key[type]],handler,options)},removeEventListener:function(type,handler,options){return document$1.removeEventListener(vendor[key[type]],handler,options)},get fullscreenEnabled(){return Boolean(document$1[vendor[key.fullscreenEnabled]])},set fullscreenEnabled(val){},get fullscreenElement(){return document$1[vendor[key.fullscreenElement]]},set fullscreenElement(val){},get onfullscreenchange(){return document$1[("on"+vendor[key.fullscreenchange]).toLowerCase()]},set onfullscreenchange(handler){return document$1[("on"+vendor[key.fullscreenchange]).toLowerCase()]=handler},get onfullscreenerror(){return document$1[("on"+vendor[key.fullscreenerror]).toLowerCase()]},set onfullscreenerror(handler){return document$1[("on"+vendor[key.fullscreenerror]).toLowerCase()]=handler}},ProGallery=require("pro-gallery").ProGallery,InnerFullscreen=function(_Component){function InnerFullscreen(props){var _this;return(_this=_Component.call(this,props)||this).focusGalleryForA11y=function(){setTimeout((function(){document.getElementById("pro-gallery-ricos-fullscreen").querySelector("[data-hook=item-container]").focus()}))},_this.pauseChildNodesVideos=function(element){var _Array$from;return null===(_Array$from=Array.from(element.getElementsByTagName("video")))||void 0===_Array$from?void 0:_Array$from.forEach((function(video){return video.pause()}))},_this.addFullscreenChangeListener=function(){_default.fullscreenEnabled&&_default.addEventListener("fullscreenchange",_this.onFullscreenChange)},_this.removeFullscreenChangeListener=function(){_default.fullscreenEnabled&&_default.removeEventListener("fullscreenchange",_this.onFullscreenChange)},_this.onWindowResize=function(){return _this.setState({size:_this.getDimensions()})},_this.onFullscreenChange=function(){return _this.setState({isInFullscreen:!!_default.fullscreenElement})},_this.onEsc=function(event){"Escape"===event.key&&_this.onClose()},_this.toggleFullscreenMode=function(){var isInFullscreen=_this.state.isInFullscreen;_default.fullscreenEnabled&&(isInFullscreen?_default.exitFullscreen():_default.requestFullscreen(document.body))},_this.getStyleParams=function(isHorizontalView){var isInFullscreen=_this.state.isInFullscreen,arrowsPosition=0,slideshowInfoSize=0;return _this.props.isMobile?slideshowInfoSize=isHorizontalView?0:80:isInFullscreen||(arrowsPosition=1,slideshowInfoSize=142),{arrowsPosition:arrowsPosition,slideshowInfoSize:slideshowInfoSize}},_this.onClose=function(){_this.state.isInFullscreen&&_this.toggleFullscreenMode(),_this.props.onClose()},_this.applyOnEnterKeyPress=function(callback){return function(e){return 13===e.keyCode&&callback()}},_this.renderCloseButton=function(){var _this$props=_this.props,backgroundColor=_this$props.backgroundColor,foregroundColor=_this$props.foregroundColor;return React.createElement("div",{role:"button",tabIndex:0,className:styles_close,onClick:_this.onClose,onKeyDown:_this.applyOnEnterKeyPress(_this.onClose),"aria-label":"Close","data-hook":"fullscreen-close-button"},React.createElement(CloseIcon,{backgroundColor:backgroundColor,foregroundColor:foregroundColor}))},_this.renderFullscreenToggleButton=function(){var isInFullscreen=_this.state.isInFullscreen,_this$props2=_this.props,backgroundColor=_this$props2.backgroundColor,foregroundColor=_this$props2.foregroundColor,Icon=isInFullscreen?ShrinkIcon:ExpandIcon,ariaLabel=isInFullscreen?"Shrink":"Expand";return React.createElement("div",{role:"button",tabIndex:0,className:styles_expand_button,onClick:_this.toggleFullscreenMode,onKeyDown:_this.applyOnEnterKeyPress(_this.toggleFullscreenMode),"aria-label":ariaLabel,"data-hook":"fullscreen-toggle-button"},React.createElement(Icon,{backgroundColor:backgroundColor,foregroundColor:foregroundColor}))},_this.handleGalleryEvents=function(name,data){if("CURRENT_ITEM_CHANGED"===name){var _previousItem$metaDat,previousItem=_this.items[_this.currentIdx];"video"===(null==previousItem||null===(_previousItem$metaDat=previousItem.metaData)||void 0===_previousItem$metaDat?void 0:_previousItem$metaDat.type)&&_this.pauseChildNodesVideos(document.querySelector("[data-id='"+previousItem.itemId+"']")),_this.currentIdx=parseInt(data.itemId.split("_").pop())}},_this.infoElement=function(itemProps){return React.createElement("div",{className:styles_info_container},React.createElement("div",{style:{color:_this.props.foregroundColor},className:styles_title},itemProps.title))},_this.renderArrow=function(Icon,styles){var _this$props3=_this.props,backgroundColor=_this$props3.backgroundColor,foregroundColor=_this$props3.foregroundColor;return React.createElement("div",{className:styles},React.createElement(Icon,{backgroundColor:backgroundColor,foregroundColor:foregroundColor}))},_this.arrowRenderers={left:_this.renderArrow(ArrowLeft,styles_nav_arrow_left),right:_this.renderArrow(ArrowRight,styles_nav_arrow_right)},_this.customArrowRenderer=function(direction){return _this.arrowRenderers[direction]},_this.getDimensions=function(){var _this$containerRef$cu,_this$containerRef$cu2,container=null===(_this$containerRef$cu=_this.containerRef.current)||void 0===_this$containerRef$cu||null===(_this$containerRef$cu2=_this$containerRef$cu.getBoundingClientRect)||void 0===_this$containerRef$cu2?void 0:_this$containerRef$cu2.call(_this$containerRef$cu);return{width:container.width,height:container.height}},_this.handleContextMenu=function(e){return _this.items[_this.currentIdx].disableDownload&&e.preventDefault()},_this.state={isInFullscreen:!1},_this.getItems(),_this.containerRef=React.createRef(),_this.currentIdx=props.index,_this.pauseChildNodesVideos(document),_this}_inheritsLoose(InnerFullscreen,_Component);var _proto=InnerFullscreen.prototype;return _proto.componentDidMount=function(){document.addEventListener("keydown",this.onEsc),window.addEventListener("resize",this.onWindowResize),this.addFullscreenChangeListener(),this.setState({size:this.getDimensions()}),this.focusGalleryForA11y()},_proto.componentWillUnmount=function(){document.removeEventListener("keydown",this.onEsc),window.removeEventListener("resize",this.onWindowResize),this.removeFullscreenChangeListener()},_proto.getItems=function(){var _ref,items,anchorTarget,relValue,images=this.props.images;this.items=(items=(_ref={items:images}).items,anchorTarget=_ref.anchorTarget,relValue=_ref.relValue,items.map((function(item,index){var metadata=item.metadata;if(item.metaData)return item;var url,baseUrl,baseFolder,convertedData={metaData:{link:{type:"none",target:"_blank"}},directLink:{}};if(metadata){if(convertedData.metaData=_extends({},metadata,{link:{type:"none",target:"_blank"}}),"video"===item.metadata.type){convertedData.metaData.link={target:"_blank",rel:"noopener",url:normalizeUrl(item.url||"")};var _convertedData$metaDa=convertedData.metaData.poster,pathname=_convertedData$metaDa.pathname,_convertedData$metaDa2=_convertedData$metaDa.thumbnail,thumbPathname=(_convertedData$metaDa2=void 0===_convertedData$metaDa2?{}:_convertedData$metaDa2).pathname,width=_convertedData$metaDa2.width,height=_convertedData$metaDa2.height;pathname&&thumbPathname?convertedData.metaData.poster={url:(url=thumbPathname,function(url){return url.startsWith("http://")||url.startsWith("https://")}(url)?url:(baseUrl="https://static.wixstatic.com/",baseFolder="media/",baseUrl+(url.startsWith(baseFolder)?url:baseFolder+url))),width:width,height:height}:"string"==typeof convertedData.metaData.poster&&(convertedData.metaData.poster={url:convertedData.metaData.poster,width:convertedData.metaData.width,height:convertedData.metaData.height})}convertedData.metaData.alt=metadata.altText,item.metadata.link&&(convertedData.metaData.link={type:"wix",target:item.metadata.link.target||anchorTarget||"_self",data:{type:"ExternalLink",target:item.metadata.link.target||anchorTarget||"_self",rel:item.metadata.link.rel||relValue||"noopener",url:normalizeUrl(item.metadata.link.url||"")}},convertedData.directLink={url:normalizeUrl(item.metadata.link.url||""),target:item.metadata.link.target||anchorTarget||"_self",rel:item.metadata.link.rel||relValue||"noopener"})}return _extends({},item,{metadata:void 0},convertedData,{itemId:uuid()+"_"+index.toString()})})))},_proto.render=function(){var _this$props4=this.props,backgroundColor=_this$props4.backgroundColor,topMargin=_this$props4.topMargin,isMobile=_this$props4.isMobile,_this$state=this.state,isInFullscreen=_this$state.isInFullscreen,size=_this$state.size,isHorizontalView=(null==size?void 0:size.width)>(null==size?void 0:size.height),_this$getStyleParams=this.getStyleParams(isHorizontalView),arrowsPosition=_this$getStyleParams.arrowsPosition,slideshowInfoSize=_this$getStyleParams.slideshowInfoSize;return React.createElement(FocusManager,null,React.createElement("div",{style:_extends({background:backgroundColor},topMargin),dir:"ltr","data-hook":"fullscreen-root",className:isInFullscreen||isMobile&&isHorizontalView?styles_fullscreen_mode:styles_expand_mode,ref:this.containerRef,onContextMenu:this.handleContextMenu,role:"none"},this.renderCloseButton(),!isMobile&&this.renderFullscreenToggleButton(),size&&React.createElement(ProGallery,{domId:"ricos-fullscreen",items:this.items,currentIdx:this.currentIdx,eventsListener:this.handleGalleryEvents,resizeMediaUrl:fullscreenResizeMediaUrl,container:size,options:{galleryLayout:5,cubeType:"fit",scrollSnap:!0,videoPlay:"onClick",videoLoop:!1,videoSound:!0,hidePlay:!1,showVideoControls:!0,allowSocial:!1,loveButton:!1,allowTitle:!0,defaultShowInfoExpand:1,showArrows:!isMobile,floatingImages:0,arrowsPosition:arrowsPosition,slideshowInfoSize:slideshowInfoSize,allowContextMenu:!0},customSlideshowInfoRenderer:this.infoElement,customNavArrowsRenderer:this.customArrowRenderer})))},InnerFullscreen}(Component);InnerFullscreen.defaultProps={backgroundColor:"white",foregroundColor:"#2F2E2E"};var _excluded=["target","isOpen"];function Fullscreen(props){var target=props.target,isOpen=props.isOpen,rest=_objectWithoutPropertiesLoose(props,_excluded),fullscreen=React.createElement(InnerFullscreen,rest);return target&&(fullscreen=ReactDOM.createPortal(fullscreen,target)),isOpen?fullscreen:null}Fullscreen.propTypes={images:PropTypes.array.isRequired,isOpen:PropTypes.bool,isMobile:PropTypes.bool,index:PropTypes.number,topMargin:PropTypes.object,backgroundColor:PropTypes.string,foregroundColor:PropTypes.string,onClose:PropTypes.func,target:PropTypes.elementType};export{Fullscreen as default};
//# sourceMappingURL=module.js.map

@@ -1,5 +0,3 @@

export { createLineSpacingPlugin } from './createLineSpacingPlugin';
export { LINE_SPACING_TYPE } from './types';
export { Modals, ModalsMap } from './modals';
export { pluginLineSpacing } from './editor';
import Fullscreen from './FullScreen.jsx';
export default Fullscreen;
//# sourceMappingURL=index.d.ts.map

@@ -1,1 +0,1 @@

{"name":"richlagetest","version":"0.0.0-a3535a7650e08ec0431ec032e46603c66e08fc05"}
{"name":"richlagetest","version":"0.0.0-af05dae1ca0a76135268a3003200e8ea77ee1a6f"}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc