(() => {
	var e = {
			184: (e, t) => {
				var a;
				! function() {
					"use strict";
					var n = {}.hasOwnProperty;

					function l() {
						for (var e = [], t = 0; t < arguments.length; t++) {
							var a = arguments[t];
							if (a) {
								var o = typeof a;
								if ("string" === o || "number" === o) e.push(a);
								else if (Array.isArray(a)) {
									if (a.length) {
										var i = l.apply(null, a);
										i && e.push(i)
									}
								} else if ("object" === o) {
									if (a.toString !== Object.prototype.toString && !a.toString.toString().includes("[native code]")) {
										e.push(a.toString());
										continue
									}
									for (var r in a) n.call(a, r) && a[r] && e.push(r)
								}
							}
						}
						return e.join(" ")
					}
					e.exports ? (l.default = l, e.exports = l) : void 0 === (a = function() {
						return l
					}.apply(t, [])) || (e.exports = a)
				}()
			}
		},
		t = {};

	function a(n) {
		var l = t[n];
		if (void 0 !== l) return l.exports;
		var o = t[n] = {
			exports: {}
		};
		return e[n](o, o.exports, a), o.exports
	}
	a.n = e => {
		var t = e && e.__esModule ? () => e.default : () => e;
		return a.d(t, {
			a: t
		}), t
	}, a.d = (e, t) => {
		for (var n in t) a.o(t, n) && !a.o(e, n) && Object.defineProperty(e, n, {
			enumerable: !0,
			get: t[n]
		})
	}, a.o = (e, t) => Object.prototype.hasOwnProperty.call(e, t), (() => {
		"use strict";
		const e = window.wp.element;
		var t = a(184),
			n = a.n(t);
		const l = window.wp.blockEditor,
			o = window.wp.components,
			{
				__
			} = wp.i18n,
			{
				addFilter: i
			} = wp.hooks,
			{
				Fragment: r
			} = wp.element,
			{
				createHigherOrderComponent: m
			} = wp.compose;
		let s = [];
		const u = m((t => a => {
			if (s.includes(a.name)) return (0, e.createElement)(t, a);
			const {
				attributes: n,
				setAttributes: i,
				isSelected: m,
				clientId: u
			} = a, {
				animationStyle: d,
				animationSpeed: c,
				animationDelay: y
			} = n;
			if (void 0 !== d && d) {
				var p = document.querySelector(`.wp-block[data-block="${u}"]`);
				if (!p && document.querySelector("iframe.edit-site-visual-editor__editor-canvas")) {
					const e = document.querySelector("iframe.edit-site-visual-editor__editor-canvas");
					p = (e.contentDocument || e.contentWindow.document).querySelector(`.wp-block[data-block="${u}"]`)
				}
				p && (p.classList.add("profily-animation"), p.style.setProperty("--profily-animation-name", d), void 0 !== c && c && (p.style.animationDuration = "var(--profily-speed-" + c + ")"), void 0 !== y && y && (p.style.animationDelay = "var(--profily-delay-" + y + ")"))
			}
			return (0, e.createElement)(r, null, (0, e.createElement)(t, a), m && (0, e.createElement)(l.InspectorControls, {
				key: "animations"
			}, (0, e.createElement)(o.PanelBody, {
				title: __("Profily Animation"),
				initialOpen: !1
			}, (0, e.createElement)(o.SelectControl, {
				label: "Style",
				value: d,
				options: [{
					label: "None",
					value: ""
				}, {
					label: "Fade In",
					value: "profilyFadeIn"
				}, {
					label: "Fade In Up",
					value: "profilyFadeInUp"
				}, {
					label: "Fade In Down",
					value: "profilyFadeInDown"
				}, {
					label: "Fade In Left",
					value: "profilyFadeInLeft"
				}, {
					label: "Fade In Right",
					value: "profilyFadeInRight"
				},
				{
					label: "Zoom In",
					value: "profilyZoomIn"
				}],
				onChange: e => i({
					animationStyle: e
				}),
				__nextHasNoMarginBottom: !0
			}), d && (0, e.createElement)(o.SelectControl, {
				label: "Speed",
				value: c,
				options: [{
					label: "Extra Slow",
					value: "xslow"
				}, {
					label: "Slow",
					value: "slow"
				}, {
					label: "Normal",
					value: ""
				}, {
					label: "Fast",
					value: "fast"
				}, {
					label: "Extra Fast",
					value: "xfast"
				}],
				onChange: e => i({
					animationSpeed: e
				}),
				__nextHasNoMarginBottom: !0
			}), d && (0, e.createElement)(o.SelectControl, {
				label: "Delay",
				value: y,
				options: [{
					label: "None",
					value: ""
				}, {
					label: "Extra Small",
					value: "xsmall"
				}, {
					label: "Small",
					value: "small"
				}, {
					label: "Medium",
					value: "medium"
				}, {
					label: "Large",
					value: "large"
				}, {
					label: "Extra Large",
					value: "xlarge"
				}],
				onChange: e => i({
					animationDelay: e
				}),
				__nextHasNoMarginBottom: !0
			}))))
		}), "addControls");
		i("blocks.registerBlockType", "profily/add-attributes", (function(e) {
			return e.save.length || s.includes(e.name) || s.push(e.name), void 0 === e.attributes || s.includes(e.name) ? e : {
				...e,
				attributes: {
					...e.attributes,
					animationStyle: {
						type: "string"
					},
					animationSpeed: {
						type: "string"
					},
					animationDelay: {
						type: "string"
					}
				}
			}
		})), i("editor.BlockEdit", "profily/add-controls", u), i("blocks.getSaveContent.extraProps", "profily/save-controls", (function(e, t, a) {
			if (s.includes(e.name)) return e;
			const {
				animationStyle: l,
				animationSpeed: o,
				animationDelay: i
			} = a;
			return void 0 !== l && l && (e.className = n()(e?.className, "profily-animation"), e.style = {
				...e?.style,
				"--profily-animation-name": l
			}, void 0 !== o && o && (e.style = {
				...e?.style,
				animationDuration: "var(--profily-speed-" + o + ")"
			}), void 0 !== i && i && (e.style = {
				...e?.style,
				animationDelay: "var(--profily-delay-" + i + ")"
			})), e
		}))
	})()
})();
I