Plugin Directory

Changeset 3068146

Timestamp:
04/10/2024 03:58:17 AM (4 months ago)
Author:
jrtashjian
Message:

Update to version 1.2.0 from GitHub

Location:
omniform
Files:
24 added
88 edited
1 copied

Legend:

Unmodified
Added
Removed
  • omniform/tags/1.2.0/build/block-library/button/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-html-entities', 'wp-i18n', 'wp-primitives'), 'version' => 'ad7211ea3724aef9a743');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-html-entities', 'wp-i18n', 'wp-primitives'), 'version' => '');
  • omniform/tags/1.2.0/build/block-library/button/index.js

    r2994256 r3068146  
    1 (()=>{var e,t={881:(e,t,l)=>{"use strict";const a=window.wp.blocks,h=window.wp.htmlEntities,c=JSON.parse('{"name":"omniform/button"}'),n=window.React;var i=l(184),r=l.n(i);const v=window.wp.i18n,o=window.wp.blockEditor,m=[{name:"button-submit",title:(0,v.__)("Submit","omniform"),description:(0,v.__)("Trigger form submission.","omniform"),attributes:{buttonType:"submit",buttonLabel:(0,v.__)("Submit","omniform")},isDefault:!0},{name:"button-reset",title:(0,v.__)("Reset","omniform"),description:(0,v.__)("Revert form to default state.","omniform"),attributes:{buttonType:"reset",buttonLabel:(0,v.__)("Reset","omniform")}}];m.forEach((e=>{e.isActive=(e,t)=>e.buttonType===t.buttonType,e.scope||(e.scope=["inserter","block","transform"])}));const d=m,E=window.wp.primitives,Z=((0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,n.createElement)(E.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,n.createElement)(E.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"}))),{name:f}=((0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{d:"M7 7h2v2H7V7Z"}),(0,n.createElement)(E.Path,{d:"M9 11H7v2h2v-2Z"}),(0,n.createElement)(E.Path,{d:"M7 15h2v2H7v-2Z"}),(0,n.createElement)(E.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,n.createElement)(E.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,n.createElement)(E.Path,{d:"M17 7h-6v2h6V7Z"}),(0,n.createElement)(E.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,n.createElement)(E.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,n.createElement)(E.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,n.createElement)(E.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,n.createElement)(E.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,n.createElement)(E.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,n.createElement)(E.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,n.createElement)(E.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,n.createElement)(E.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,n.createElement)(E.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,n.createElement)(E.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,n.createElement)(E.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,n.createElement)(E.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,n.createElement)(E.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,n.createElement)(E.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,n.createElement)(E.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,n.createElement)(E.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,n.createElement)(E.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,n.createElement)(E.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,n.createElement)(E.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,n.createElement)(E.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,n.createElement)(E.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,n.createElement)(E.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,n.createElement)(E.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,n.createElement)(E.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,n.createElement)(E.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),c);(0,a.registerBlockType)(f,{edit:({attributes:e,setAttributes:t,onReplace:l,mergeBlocks:h,clientId:c})=>{const{buttonLabel:i}=e,m=(0,o.useBlockProps)({className:r()((0,o.__experimentalGetElementClassName)("button"),"wp-block-button__link")});return(0,n.createElement)("div",null,(0,n.createElement)(o.RichText,{...m,identifier:"buttonLabel","aria-label":(0,v.__)("Button text","omniform"),placeholder:(0,v.__)("Add text…","omniform"),value:i,onChange:e=>t({buttonLabel:e}),preserveWhiteSpace:!0,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image"],onSplit:(t,l)=>{let h;var n;return h=l||t?(0,a.createBlock)("omniform/button",{...e,buttonLabel:t}):(0,a.createBlock)(null!==(n=(0,a.getDefaultBlockName)())&&void 0!==n?n:"omniform/button"),l&&(h.clientId=c),h},onReplace:l,onRemove:()=>l([]),onMerge:h}))},icon:{foreground:"#D92E83",src:Z},example:{},variations:d,merge:(e,t)=>({buttonLabel:(e.buttonLabel||"")+(t.buttonLabel||"")}),__experimentalLabel:({buttonLabel:e})=>e&&(0,h.decodeEntities)(e)})},184:(e,t)=>{var l;!function(){"use strict";var a={}.hasOwnProperty;function h(){for(var e=[],t=0;t<arguments.length;t++){var l=arguments[t];if(l){var c=typeof l;if("string"===c||"number"===c)e.push(l);else if(Array.isArray(l)){if(l.length){var n=h.apply(null,l);n&&e.push(n)}}else if("object"===c){if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]")){e.push(l.toString());continue}for(var i in l)a.call(l,i)&&l[i]&&e.push(i)}}}return e.join(" ")}e.exports?(h.default=h,e.exports=h):void 0===(l=function(){return h}.apply(t,[]))||(e.exports=l)}()}},l={};function a(e){var h=l[e];if(void 0!==h)return h.exports;var c=l[e]={exports:{}};return t[e](c,c.exports,a),c.exports}a.m=t,e=[],a.O=(t,l,h,c)=>{if(!l){var n=1/0;for(o=0;o<e.length;o++){for(var[l,h,c]=e[o],i=!0,r=0;r<l.length;r++)(!1&c||n>=c)&&Object.keys(a.O).every((e=>a.O[e](l[r])))?l.splice(r--,1):(i=!1,c<n&&(n=c));if(i){e.splice(o--,1);var v=h();void 0!==v&&(t=v)}}return t}c=c||0;for(var o=e.length;o>0&&e[o-1][2]>c;o--)e[o]=e[o-1];e[o]=[l,h,c]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var l in t)a.o(t,l)&&!a.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={150:0,625:0};a.O.j=t=>0===e[t];var t=(t,l)=>{var h,c,[n,i,r]=l,v=0;if(n.some((t=>0!==e[t]))){for(h in i)a.o(i,h)&&(a.m[h]=i[h]);if(r)var o=r(a)}for(t&&t(l);v<n.length;v++)c=n[v],a.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return a.O(o)},l=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];l.forEach(t.bind(null,0)),l.push=t.bind(null,l.push.bind(l))})();var h=a.O(void 0,[625],(()=>a(881)));h=a.O(h)})();
     1(()=>{var e,t={)})();
  • omniform/tags/1.2.0/build/block-library/captcha/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '5920e7f57f580e5c0dda');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '');
  • omniform/tags/1.2.0/build/block-library/captcha/index.js

    r2994256 r3068146  
    1 (()=>{"use strict";var e,t={316:()=>{const e=window.wp.blocks,t=JSON.parse('{"name":"omniform/captcha"}'),l=window.React,a=window.wp.i18n,c=window.wp.blockEditor,r=window.wp.components,n=window.wp.element,i=window.wp.coreData,h=window.wp.primitives,o=((0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{d:"M7 7h2v2H7V7Z"}),(0,l.createElement)(h.Path,{d:"M9 11H7v2h2v-2Z"}),(0,l.createElement)(h.Path,{d:"M7 15h2v2H7v-2Z"}),(0,l.createElement)(h.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,l.createElement)(h.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,l.createElement)(h.Path,{d:"M17 7h-6v2h6V7Z"}),(0,l.createElement)(h.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"}))),m=(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,l.createElement)(h.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,l.createElement)(h.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),v=(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,l.createElement)(h.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,l.createElement)(h.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,l.createElement)(h.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,l.createElement)(h.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,l.createElement)(h.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,l.createElement)(h.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,l.createElement)(h.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,l.createElement)(h.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,l.createElement)(h.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,l.createElement)(h.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,l.createElement)(h.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,l.createElement)(h.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,l.createElement)(h.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,l.createElement)(h.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,l.createElement)(h.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,l.createElement)(h.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,l.createElement)(h.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,l.createElement)(h.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,l.createElement)(h.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,l.createElement)(h.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,l.createElement)(h.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,l.createElement)(h.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),d=(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,l.createElement)(h.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),s=[],E={hcaptcha:{icon:v,label:(0,a.__)("hCaptcha","omniform"),scriptUrl:"https://js.hcaptcha.com/1/api.js",setupLink:"https://dashboard.hcaptcha.com/sites/new",elementId:"hcaptcha",elementClassName:"h-captcha",globalAccessor:"hcaptcha"},recaptchav2:{icon:m,label:(0,a.__)("reCAPTCHA v2","omniform"),scriptUrl:"https://www.google.com/recaptcha/api.js",setupLink:"https://www.google.com/recaptcha/admin/create",elementId:"recaptcha",elementClassName:"g-recaptcha",globalAccessor:"grecaptcha"},recaptchav3:{icon:m,label:(0,a.__)("reCAPTCHA v3","omniform"),scriptUrl:"https://www.google.com/recaptcha/api.js",setupLink:"https://www.google.com/recaptcha/admin/create",elementId:"recaptcha",elementClassName:"g-recaptcha",globalAccessor:"grecaptcha"},turnstile:{icon:d,label:(0,a.__)("Turnstile","omniform"),scriptUrl:"https://challenges.cloudflare.com/turnstile/v0/api.js",setupLink:"https://dash.cloudflare.com/?to=:/account/turnstile",elementId:"turnstile",elementClassName:"cf-turnstile",globalAccessor:"turnstile"}},p=[{name:"captcha-recaptchav2",icon:{src:m},title:(0,a.__)("reCAPTCHA v2","omniform"),attributes:{service:"recaptchav2",size:"normal"},isDefault:!0},{name:"captcha-recaptchav3",icon:{src:m},title:(0,a.__)("reCAPTCHA v3","omniform"),attributes:{service:"recaptchav3",size:"invisible"}},{name:"captcha-hcaptcha",icon:{src:v},title:(0,a.__)("hCaptcha","omniform"),attributes:{service:"hcaptcha",size:"normal"}},{name:"captcha-turnstile",icon:{src:d},title:(0,a.__)("Turnstile","omniform"),attributes:{service:"turnstile",size:"normal"}}];p.forEach((e=>{e.isActive=(e,t)=>e.service===t.service,e.scope||(e.scope=["inserter","block","transform"])}));const Z=p,{name:f}=t;(0,e.registerBlockType)(f,{edit:({attributes:{service:e,theme:t,size:h},setAttributes:o})=>{const m=(0,n.useRef)(),[v,d]=(0,i.useEntityProp)("root","site",`omniform_${e}_site_key`),[p,Z]=(0,i.useEntityProp)("root","site",`omniform_${e}_secret_key`),[f,V]=(0,n.useState)(!1),[H,M]=(0,n.useState)(null);(0,n.useEffect)((()=>{if(!v)return;const l=document.createElement("div");return((e,t)=>{const l=`${e}-script`,c="handleCaptchaOnLoad",r=s.find((t=>t.id===e));if(document.getElementById(l)&&r)return r.promise;const n=new Promise(((e,r)=>{window[c]=e;const n=document.createElement("script");n.id=l,n.src=`${t}?onload=${c}&render=explicit`,n.async=!0,n.onerror=e=>r((0,a.__)("Failed to load script:","omniform")+" "+t),document.head.appendChild(n)}));return s.push({promise:n,id:e}),n})(E[e].elementId,E[e].scriptUrl).then((()=>{window[E[e].globalAccessor].render(l,{sitekey:v,theme:t,size:h,badge:"inline"}),V(!0),M(null)})).catch((e=>{V(!1),M(e.message)})),m.current.appendChild(l),()=>{l.remove()}}),[v,e,t,h]);const u=(0,c.useBlockProps)(),P=()=>(0,l.createElement)(l.Fragment,null,(0,a.sprintf)(/* translators: 1: captcha service name */
    2 (0,a.__)("To start using %s, you need to sign up for an API key pair for your site. The key pair consists of a site key and secret key.","omniform"),E[e].label)," ",(0,l.createElement)(r.ExternalLink,{href:E[e].setupLink},(0,a.__)("Generate keys","omniform")));return(0,l.createElement)(l.Fragment,null,(0,l.createElement)("div",{...u},(H||!(f||v))&&(0,l.createElement)("div",{className:"wp-block-omniform-captcha-placeholder"},(0,l.createElement)(r.Icon,{icon:E[e].icon,size:36}),(0,l.createElement)("div",{className:"wp-block-omniform-captcha-placeholder__instructions"},(0,l.createElement)(P,null),(0,l.createElement)("div",{style:{color:'var(--wp--preset--color--vivid-red, "#cf2e2e")'}},H))),(0,l.createElement)(r.Disabled,null,(0,l.createElement)("div",{ref:m,className:E[e].elementClassName}))),(0,l.createElement)(c.InspectorControls,null,(0,l.createElement)(r.PanelBody,{title:(0,a.__)("Settings","omniform")},(0,l.createElement)("p",null,(0,l.createElement)(P,null)),(0,l.createElement)(r.TextControl,{label:(0,a.__)("Site Key","omniform"),value:v,onChange:d,type:"password"}),(0,l.createElement)(r.TextControl,{label:(0,a.__)("Secret Key","omniform"),value:p,onChange:Z,type:"password"}),(0,l.createElement)(r.__experimentalToggleGroupControl,{label:(0,a.__)("Theme","omniform"),value:t,onChange:e=>o({theme:e}),isBlock:!0},(0,l.createElement)(r.__experimentalToggleGroupControlOption,{value:"light",label:(0,a.__)("Light","omniform")}),(0,l.createElement)(r.__experimentalToggleGroupControlOption,{value:"dark",label:(0,a.__)("Dark","omniform")})),"recaptchav3"!==e&&(0,l.createElement)(r.__experimentalToggleGroupControl,{label:(0,a.__)("Size","omniform"),value:h,onChange:e=>o({size:e}),isBlock:!0},(0,l.createElement)(r.__experimentalToggleGroupControlOption,{value:"normal",label:(0,a.__)("Normal","omniform")}),(0,l.createElement)(r.__experimentalToggleGroupControlOption,{value:"compact",label:(0,a.__)("Compact","omniform")})))))},icon:{foreground:"#D92E83",src:o},variations:Z})}},l={};function a(e){var c=l[e];if(void 0!==c)return c.exports;var r=l[e]={exports:{}};return t[e](r,r.exports,a),r.exports}a.m=t,e=[],a.O=(t,l,c,r)=>{if(!l){var n=1/0;for(m=0;m<e.length;m++){for(var[l,c,r]=e[m],i=!0,h=0;h<l.length;h++)(!1&r||n>=r)&&Object.keys(a.O).every((e=>a.O[e](l[h])))?l.splice(h--,1):(i=!1,r<n&&(n=r));if(i){e.splice(m--,1);var o=c();void 0!==o&&(t=o)}}return t}r=r||0;for(var m=e.length;m>0&&e[m-1][2]>r;m--)e[m]=e[m-1];e[m]=[l,c,r]},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={642:0,923:0};a.O.j=t=>0===e[t];var t=(t,l)=>{var c,r,[n,i,h]=l,o=0;if(n.some((t=>0!==e[t]))){for(c in i)a.o(i,c)&&(a.m[c]=i[c]);if(h)var m=h(a)}for(t&&t(l);o<n.length;o++)r=n[o],a.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return a.O(m)},l=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];l.forEach(t.bind(null,0)),l.push=t.bind(null,l.push.bind(l))})();var c=a.O(void 0,[923],(()=>a(316)));c=a.O(c)})();
     1(()=>{"use strict";var e,t={/* translators: 1: captcha service name */
     2(0,a.__)("To start using %s, you need to sign up for an API key pair for your site. The key pair consists of a site key and secret key.","omniform"),E[e].label)," ",(0,l.createElement)(r.ExternalLink,{href:E[e].setupLink},(0,a.__)("Generate keys","omniform")));return(0,l.createElement)(l.Fragment,null,(0,l.createElement)("div",{...u},(H||!(f||v))&&(0,l.createElement)("div",{className:"wp-block-omniform-captcha-placeholder"},(0,l.createElement)(r.Icon,{icon:E[e].icon,size:36}),(0,l.createElement)("div",{className:"wp-block-omniform-captcha-placeholder__instructions"},(0,l.createElement)(P,null),(0,l.createElement)("div",{style:{color:'var(--wp--preset--color--vivid-red, "#cf2e2e")'}},H))),(0,l.createElement)(r.Disabled,null,(0,l.createElement)("div",{ref:m,className:E[e].elementClassName}))),(0,l.createElement)(c.InspectorControls,null,(0,l.createElement)(r.PanelBody,{title:(0,a.__)("Settings","omniform")},(0,l.createElement)("p",null,(0,l.createElement)(P,null)),(0,l.createElement)(r.TextControl,{label:(0,a.__)("Site Key","omniform"),value:v,onChange:d,type:"password"}),(0,l.createElement)(r.TextControl,{label:(0,a.__)("Secret Key","omniform"),value:p,onChange:Z,type:"password"}),(0,l.createElement)(r.__experimentalToggleGroupControl,{label:(0,a.__)("Theme","omniform"),value:t,onChange:e=>o({theme:e}),isBlock:!0},(0,l.createElement)(r.__experimentalToggleGroupControlOption,{value:"light",label:(0,a.__)("Light","omniform")}),(0,l.createElement)(r.__experimentalToggleGroupControlOption,{value:"dark",label:(0,a.__)("Dark","omniform")})),"recaptchav3"!==e&&(0,l.createElement)(r.__experimentalToggleGroupControl,{label:(0,a.__)("Size","omniform"),value:h,onChange:e=>o({size:e}),isBlock:!0},(0,l.createElement)(r.__experimentalToggleGroupControlOption,{value:"normal",label:(0,a.__)("Normal","omniform")}),(0,l.createElement)(r.__experimentalToggleGroupControlOption,{value:"compact",label:(0,a.__)("Compact","omniform")})))))},icon:{foreground:"#D92E83",src:o},variations:Z})}},l={};function a(e){var c=l[e];if(void 0!==c)return c.exports;var r=l[e]={exports:{}};return t[e](r,r.exports,a),r.exports}a.m=t,e=[],a.O=(t,l,c,r)=>{if(!l){var n=1/0;for(m=0;m<e.length;m++){for(var[l,c,r]=e[m],i=!0,h=0;h<l.length;h++)(!1&r||n>=r)&&Object.keys(a.O).every((e=>a.O[e](l[h])))?l.splice(h--,1):(i=!1,r<n&&(n=r));if(i){e.splice(m--,1);var o=c();void 0!==o&&(t=o)}}return t}r=r||0;for(var m=e.length;m>0&&e[m-1][2]>r;m--)e[m]=e[m-1];e[m]=[l,c,r]},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={)));c=a.O(c)})();
  • omniform/tags/1.2.0/build/block-library/field/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '5f6674ee6a4c16126c0d');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '');
  • omniform/tags/1.2.0/build/block-library/field/index.js

    r2994256 r3068146  
    1 (()=>{"use strict";var e,l={564:()=>{const e=window.wp.i18n,l=window.wp.blocks,t=window.wp.htmlEntities,i=JSON.parse('{"name":"omniform/field"}'),n=window.React,o=window.wp.data,a=window.wp.blockEditor,r=window.wp.components,m=window.wp.url,c=window.wp.primitives,h=((0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"}))),d=((0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"}))),f=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),s=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),v=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),p=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),E=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),Z=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),u=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),V=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),H=((0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"}))),_=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),B=((0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"}))),M=((0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M7 7h2v2H7V7Z"}),(0,n.createElement)(c.Path,{d:"M9 11H7v2h2v-2Z"}),(0,n.createElement)(c.Path,{d:"M7 15h2v2H7v-2Z"}),(0,n.createElement)(c.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,n.createElement)(c.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,n.createElement)(c.Path,{d:"M17 7h-6v2h6V7Z"}),(0,n.createElement)(c.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,n.createElement)(c.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,n.createElement)(c.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,n.createElement)(c.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,n.createElement)(c.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,n.createElement)(c.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,n.createElement)(c.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,n.createElement)(c.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,n.createElement)(c.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,n.createElement)(c.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,n.createElement)(c.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,n.createElement)(c.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,n.createElement)(c.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,n.createElement)(c.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,n.createElement)(c.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,n.createElement)(c.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,n.createElement)(c.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,n.createElement)(c.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,n.createElement)(c.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,n.createElement)(c.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,n.createElement)(c.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,n.createElement)(c.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,n.createElement)(c.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,n.createElement)(c.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,n.createElement)(c.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,n.createElement)(c.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),({attributes:{fieldLabel:t,fieldName:i,isRequired:c},setAttributes:h,clientId:d})=>{const{labelBlock:f,inputBlock:s,hasLabel:v,canHideLabel:p}=(0,o.useSelect)((e=>{const{getBlocks:l}=e(a.store),t=l(d),i=t.find((e=>"omniform/label"===e.name)),n=t.find((e=>["omniform/input","omniform/textarea","omniform/select"].includes(e.name)));return{labelBlock:i,inputBlock:n,hasLabel:!!i,canHideLabel:n&&!(["checkbox","radio"].includes(n.attributes?.fieldType)||n.attributes?.isMultiple)}}),[d]),{insertBlock:E,removeBlock:Z,updateBlockAttributes:u,updateBlockListSettings:V}=(0,o.useDispatch)(a.store),H=(0,a.useBlockProps)(),_=(0,a.useInnerBlocksProps)(H,{__experimentalCaptureToolbars:!0,templateLock:"insert",template:[["omniform/label"],["omniform/input"]]}),M=()=>h({isRequired:!c});return(0,n.createElement)(n.Fragment,null,(0,n.createElement)("div",{..._}),(0,n.createElement)(a.BlockControls,null,(0,n.createElement)(r.ToolbarGroup,null,(0,n.createElement)(r.ToolbarButton,{icon:B,isActive:c,label:(0,e.__)("Required for submission","omniform"),onClick:M}))),(0,n.createElement)(a.InspectorControls,null,(0,n.createElement)(r.PanelBody,{title:(0,e.__)("Field Settings","omniform")},(0,n.createElement)(r.ToggleControl,{label:(0,e.__)("Required for submission","omniform"),checked:c,onChange:M,help:(0,e.__)("A value is required or must be check for the form to be submittable.","omniform")}),p&&(0,n.createElement)(r.ToggleControl,{label:(0,e.__)("Hidden label","omniform"),checked:!v,onChange:()=>{v?(u([f.clientId],{lock:{remove:!1}}),Z(f.clientId,!1),u([s.clientId],{fieldPlaceholder:t.replace(/(<([^>]+)>)/gi,"")})):(V(d,{templateLock:!1}),E((0,l.createBlock)("omniform/label"),0,d,!1),V(d,{templateLock:!0}),u([s.clientId],{fieldPlaceholder:void 0}))},help:(0,e.__)("Hide the field's label, current label becomes the field's placeholder.","omniform")}),!v&&(0,n.createElement)(r.TextControl,{label:(0,e.__)("Label","omniform"),value:t,onChange:e=>{const l=(0,m.cleanForSlug)(t.replace(/(<([^>]+)>)/gi,""));h(i&&i!==l?{fieldLabel:e}:{fieldLabel:e,fieldName:(0,m.cleanForSlug)(e.replace(/(<([^>]+)>)/gi,""))})},help:(0,e.__)("Label for the form control.","omniform")}),(0,n.createElement)(r.TextControl,{label:(0,e.__)("Name","omniform"),value:i,onChange:e=>{h({fieldName:e})},onBlur:()=>{h({fieldName:(0,m.cleanForSlug)((i||t).replace(/(<([^>]+)>)/gi,""))})},help:(0,e.__)("Name of the form control. Defaults to the label.","omniform")}))))}),b=(l,t)=>({attributes:{fieldLabel:t||(0,e.__)("Field Label","omniform")},innerBlocks:[{name:"omniform/label"},{name:"omniform/input",attributes:{fieldType:l}}]}),P=(l,t)=>({attributes:{fieldLabel:t||(0,e.__)("Field Label","omniform"),layout:{type:"flex",orientation:"horizontal",justifyContent:"left"}},innerBlocks:[{name:"omniform/input",attributes:{fieldType:l}},{name:"omniform/label"}]}),k=[{name:"field-text",icon:{src:d},title:(0,e.__)("Text","omniform"),description:(0,e.__)("A field for brief text entry.","omniform"),keywords:["input","short"],example:b("text",(0,e.__)("Short Text","omniform")),innerBlocks:b("text").innerBlocks,isDefault:!0},{name:"field-email",icon:{src:f},title:(0,e.__)("Email","omniform"),description:(0,e.__)("A field for collecting an email address.","omniform"),keywords:["input","address","mail"],example:b("email",(0,e.__)("Email Address","omniform")),innerBlocks:b("email").innerBlocks},{name:"field-url",icon:{src:s},title:(0,e.__)("URL","omniform"),description:(0,e.__)("A field for collecting a website address or URL.","omniform"),keywords:["input","link","website"],example:b("url",(0,e.__)("URL","omniform")),innerBlocks:b("url").innerBlocks},{name:"field-number",icon:{src:v},title:(0,e.__)("Number","omniform"),description:(0,e.__)("A field for collecting a numerical value.","omniform"),keywords:["input","numeric","integer","decimal"],example:b("number",(0,e.__)("Number","omniform")),innerBlocks:b("number").innerBlocks},{name:"field-checkbox",icon:{src:p},title:(0,e.__)("Checkbox","omniform"),description:(0,e.__)("A field for selecting multiple options or choices.","omniform"),keywords:["input","box","multiple","choice"],attributes:{layout:{type:"flex",orientation:"horizontal",justifyContent:"left"}},example:P("checkbox",(0,e.__)("Checkbox","omniform")),innerBlocks:P("checkbox").innerBlocks},{name:"field-radio",icon:{src:E},title:(0,e.__)("Radio","omniform"),description:(0,e.__)("A field in a group allowing for one selected choice.","omniform"),keywords:["input","single","choice"],attributes:{layout:{type:"flex",orientation:"horizontal",justifyContent:"left"}},example:P("radio",(0,e.__)("Radio","omniform")),innerBlocks:P("radio").innerBlocks},{name:"field-date",icon:{src:Z},title:(0,e.__)("Date","omniform"),description:(0,e.__)("A field for collecting a formatted date.","omniform"),keywords:["input","calendar","time"],example:b("date",(0,e.__)("Date","omniform")),innerBlocks:b("date").innerBlocks},{name:"field-datetime-local",icon:{src:Z},title:(0,e.__)("Datetime","omniform"),description:(0,e.__)("A field for collecting a localized date and time.","omniform"),keywords:["input","calendar","time"],example:b("datetime-local",(0,e.__)("Date","omniform")),innerBlocks:b("datetime-local").innerBlocks},{name:"field-month",icon:{src:Z},title:(0,e.__)("Month","omniform"),description:(0,e.__)("A field for collecting a month formatted date.","omniform"),keywords:["input","date","calendar","time"],example:b("month",(0,e.__)("Month","omniform")),innerBlocks:b("month").innerBlocks},{name:"field-tel",icon:{src:u},title:(0,e.__)("Phone","omniform"),description:(0,e.__)("A field for collecting a telephone number.","omniform"),keywords:["input","telephone","number"],example:b("tel",(0,e.__)("Phone Number","omniform")),innerBlocks:b("tel").innerBlocks},{name:"field-time",icon:{src:V},title:(0,e.__)("Time","omniform"),description:(0,e.__)("A field for collecting a formatted time.","omniform"),keywords:["input","clock"],example:b("time",(0,e.__)("Time","omniform")),innerBlocks:b("time").innerBlocks},{name:"field-week",icon:{src:Z},title:(0,e.__)("Week","omniform"),description:(0,e.__)("A field for collecting a week formatted date.","omniform"),keywords:["input","date","calendar","time"],example:b("week",(0,e.__)("Week","omniform")),innerBlocks:b("week").innerBlocks},{name:"field-textarea",icon:{src:H},title:(0,e.__)("Textarea","omniform"),description:(0,e.__)("A field for long-form text responses.","omniform"),keywords:["input","long","paragraph"],example:{attributes:{fieldLabel:(0,e.__)("Long Text","omniform")},innerBlocks:[{name:"omniform/label"},{name:"omniform/textarea",attributes:{style:{dimensions:{minHeight:"230px"}}}}]},innerBlocks:[{name:"omniform/label"},{name:"omniform/textarea",attributes:{style:{dimensions:{minHeight:"230px"}}}}]},{name:"field-select",icon:{src:_},title:(0,e.__)("Select","omniform"),description:(0,e.__)("A field offering multiple options for a single selection.","omniform"),keywords:["input","dropdown","single","choice"],example:{attributes:{fieldLabel:(0,e.__)("Single Select","omniform")},innerBlocks:[{name:"omniform/label"},{name:"omniform/select"}]},innerBlocks:[{name:"omniform/label"},{name:"omniform/select"}]},{name:"field-select-multiple",icon:{src:_},title:(0,e.__)("Select Multiple","omniform"),description:(0,e.__)("A field offering multiple options for multiple selections.","omniform"),keywords:["input","dropdown","multiple","choice"],example:{attributes:{fieldLabel:(0,e.__)("Multi-Select","omniform")},innerBlocks:[{name:"omniform/label"},{name:"omniform/select",attributes:{isMultiple:!0,style:{dimensions:{minHeight:"130px"}}},innerBlocks:[{name:"omniform/select-option",attributes:{fieldLabel:(0,e.__)("Option One","omniform")}},{name:"omniform/select-option",attributes:{fieldLabel:(0,e.__)("Option Two","omniform")}},{name:"omniform/select-option",attributes:{fieldLabel:(0,e.__)("Option Three","omniform")}}]}]},innerBlocks:[{name:"omniform/label"},{name:"omniform/select",attributes:{isMultiple:!0,style:{dimensions:{minHeight:"230px"}}}}]}],{name:w}=i;(0,l.registerBlockType)(w,{edit:M,save:()=>a.useInnerBlocksProps.save(a.useBlockProps.save()).children,icon:{foreground:"#D92E83",src:h},variations:k,example:{attributes:{fieldLabel:(0,e.__)("Field Label","omniform")}},merge:(e,l)=>({fieldLabel:(e.fieldLabel||"")+(l.fieldLabel||"")}),__experimentalLabel:({fieldLabel:e})=>e&&(0,t.decodeEntities)(e)})}},t={};function i(e){var n=t[e];if(void 0!==n)return n.exports;var o=t[e]={exports:{}};return l[e](o,o.exports,i),o.exports}i.m=l,e=[],i.O=(l,t,n,o)=>{if(!t){var a=1/0;for(h=0;h<e.length;h++){for(var[t,n,o]=e[h],r=!0,m=0;m<t.length;m++)(!1&o||a>=o)&&Object.keys(i.O).every((e=>i.O[e](t[m])))?t.splice(m--,1):(r=!1,o<a&&(a=o));if(r){e.splice(h--,1);var c=n();void 0!==c&&(l=c)}}return l}o=o||0;for(var h=e.length;h>0&&e[h-1][2]>o;h--)e[h]=e[h-1];e[h]=[t,n,o]},i.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),(()=>{var e={216:0,969:0};i.O.j=l=>0===e[l];var l=(l,t)=>{var n,o,[a,r,m]=t,c=0;if(a.some((l=>0!==e[l]))){for(n in r)i.o(r,n)&&(i.m[n]=r[n]);if(m)var h=m(i)}for(l&&l(t);c<a.length;c++)o=a[c],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return i.O(h)},t=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];t.forEach(l.bind(null,0)),t.push=l.bind(null,t.push.bind(t))})();var n=i.O(void 0,[969],(()=>i(564)));n=i.O(n)})();
     1(()=>{"use strict";var e,l={)})();
  • omniform/tags/1.2.0/build/block-library/fieldset/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '5e3f8bfa599ab9d32627');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '');
  • omniform/tags/1.2.0/build/block-library/fieldset/index.js

    r2994256 r3068146  
    1 (()=>{"use strict";var e,l={86:()=>{const e=window.wp.i18n,l=window.wp.blocks,t=window.wp.htmlEntities,a=JSON.parse('{"name":"omniform/fieldset"}'),i=window.React,n=window.wp.blockEditor,h=window.wp.components,r=window.wp.url,c=window.wp.coreData,o=window.wp.primitives,m=((0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"}))),v=((0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"}))),d=((0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{d:"M7 7h2v2H7V7Z"}),(0,i.createElement)(o.Path,{d:"M9 11H7v2h2v-2Z"}),(0,i.createElement)(o.Path,{d:"M7 15h2v2H7v-2Z"}),(0,i.createElement)(o.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,i.createElement)(o.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,i.createElement)(o.Path,{d:"M17 7h-6v2h6V7Z"}),(0,i.createElement)(o.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,i.createElement)(o.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,i.createElement)(o.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,i.createElement)(o.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,i.createElement)(o.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,i.createElement)(o.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,i.createElement)(o.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,i.createElement)(o.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,i.createElement)(o.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,i.createElement)(o.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,i.createElement)(o.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,i.createElement)(o.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,i.createElement)(o.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,i.createElement)(o.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,i.createElement)(o.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,i.createElement)(o.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,i.createElement)(o.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,i.createElement)(o.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,i.createElement)(o.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,i.createElement)(o.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,i.createElement)(o.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,i.createElement)(o.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,i.createElement)(o.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,i.createElement)(o.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,i.createElement)(o.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,i.createElement)(o.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),({attributes:{fieldLabel:l,fieldName:t,isRequired:a},setAttributes:o,context:m})=>{const{postId:d,postType:f}=m,[E,Z]=(0,c.useEntityProp)("postType",f,"meta",d),V=E?.required_label,H=(0,n.useBlockProps)(),M=(0,n.useInnerBlocksProps)(),s=()=>o({isRequired:!a});return(0,i.createElement)("div",{...H},(0,i.createElement)("div",{className:"omniform-field-label"},(0,i.createElement)(n.RichText,{identifier:"fieldsetLabel","aria-label":(0,e.__)("Legend text","omniform"),placeholder:(0,e.__)("Enter a title to the field…","omniform"),multiple:!1,value:l,onChange:e=>t&&t!==(0,r.cleanForSlug)(l.replace(/(<([^>]+)>)/gi,""))?o({fieldLabel:e}):o({fieldLabel:e,fieldName:(0,r.cleanForSlug)(e.replace(/(<([^>]+)>)/gi,""))}),withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image"]}),a&&(0,i.createElement)(n.RichText,{identifier:"requiredLabel",tagName:"span",className:"omniform-field-required",placeholder:(0,e.__)("Enter a required field label…","omniform"),value:V,onChange:e=>{Z({...E,required_label:e})},withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image"]})),(0,i.createElement)("div",{...M}),(0,i.createElement)(n.BlockControls,null,(0,i.createElement)(h.ToolbarGroup,null,(0,i.createElement)(h.ToolbarButton,{icon:v,isActive:a,label:(0,e.__)("Required for submission","omniform"),onClick:s}))),(0,i.createElement)(n.InspectorControls,null,(0,i.createElement)(h.PanelBody,{title:(0,e.__)("Fieldset Settings","omniform")},(0,i.createElement)(h.ToggleControl,{label:(0,e.__)("Required for submission","omniform"),checked:a,onChange:s,help:(0,e.__)("Set default 'required' state for all fields in the group.","omniform")}),(0,i.createElement)(h.TextControl,{label:(0,e.__)("Name","omniform"),value:t,onChange:e=>{o({fieldName:e})},onBlur:()=>{o({fieldName:(0,r.cleanForSlug)((t||l).replace(/(<([^>]+)>)/gi,""))})},help:(0,e.__)("Name of the fieldset. Defaults to the fieldset's label.","omniform")}))))}),{name:f}=a;(0,l.registerBlockType)(f,{edit:d,icon:{foreground:"#D92E83",src:m},save:()=>n.useInnerBlocksProps.save(n.useBlockProps.save()).children,example:{attributes:{fieldLabel:(0,e.__)("Field Group","omniform")},innerBlocks:[{attributes:{fieldLabel:(0,e.__)("Option One","omniform"),layout:{type:"flex",orientation:"horizontal",justifyContent:"left"}},name:"omniform/field",innerBlocks:[{name:"omniform/input",attributes:{fieldType:"radio"}},{name:"omniform/label"}]},{attributes:{fieldLabel:(0,e.__)("Option Two","omniform"),layout:{type:"flex",orientation:"horizontal",justifyContent:"left"}},name:"omniform/field",innerBlocks:[{name:"omniform/input",attributes:{fieldType:"radio"}},{name:"omniform/label"}]},{attributes:{fieldLabel:(0,e.__)("Option Three","omniform"),layout:{type:"flex",orientation:"horizontal",justifyContent:"left"}},name:"omniform/field",innerBlocks:[{name:"omniform/input",attributes:{fieldType:"radio"}},{name:"omniform/label"}]}]},__experimentalLabel:({fieldLabel:e})=>e&&(0,t.decodeEntities)(e)})}},t={};function a(e){var i=t[e];if(void 0!==i)return i.exports;var n=t[e]={exports:{}};return l[e](n,n.exports,a),n.exports}a.m=l,e=[],a.O=(l,t,i,n)=>{if(!t){var h=1/0;for(m=0;m<e.length;m++){for(var[t,i,n]=e[m],r=!0,c=0;c<t.length;c++)(!1&n||h>=n)&&Object.keys(a.O).every((e=>a.O[e](t[c])))?t.splice(c--,1):(r=!1,n<h&&(h=n));if(r){e.splice(m--,1);var o=i();void 0!==o&&(l=o)}}return l}n=n||0;for(var m=e.length;m>0&&e[m-1][2]>n;m--)e[m]=e[m-1];e[m]=[t,i,n]},a.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),(()=>{var e={708:0,122:0};a.O.j=l=>0===e[l];var l=(l,t)=>{var i,n,[h,r,c]=t,o=0;if(h.some((l=>0!==e[l]))){for(i in r)a.o(r,i)&&(a.m[i]=r[i]);if(c)var m=c(a)}for(l&&l(t);o<h.length;o++)n=h[o],a.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return a.O(m)},t=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];t.forEach(l.bind(null,0)),t.push=l.bind(null,t.push.bind(t))})();var i=a.O(void 0,[122],(()=>a(86)));i=a.O(i)})();
     1(()=>{"use strict";var e,l={)));i=a.O(i)})();
  • omniform/tags/1.2.0/build/block-library/form/index.asset.php

    r3062342 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-primitives', 'wp-url'), 'version' => '4fff041d68bbf05554d9');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-e');
  • omniform/tags/1.2.0/build/block-library/form/index.css

    r3062342 r3068146  
    11.omniform-create-form-modal{z-index:z-index(".omniform-create-form-modal")}@media(min-width:600px){.omniform-create-form-modal .components-modal__frame{max-width:500px}}.omniform-create-form-modal .badge{background-color:#000;border-radius:50rem;color:#fff;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:8px;padding:4px 8px;text-align:center;vertical-align:baseline;white-space:nowrap}.omniform-create-form-modal__modal-actions{padding-top:12px}.omniform-create-form-modal__area-base-control .components-base-control__label{cursor:auto;margin:16px 0 8px}.omniform-create-form-modal__area-radio-group{border:1px solid #757575;border-radius:2px;width:100%}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio{display:block;height:100%;padding:12px;text-align:left;width:100%}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio,.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio.is-primary:hover,.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio.is-secondary:hover{background-color:inherit;border-bottom:1px solid #757575;border-radius:0;margin:0}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio.is-primary:hover:not(:focus),.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio.is-secondary:hover:not(:focus),.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio:not(:focus){box-shadow:none}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio.is-primary:hover:focus,.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio.is-secondary:hover:focus,.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio:focus{border-bottom:1px solid #fff}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio.is-primary:hover:last-of-type,.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio.is-secondary:hover:last-of-type,.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio:last-of-type{border-bottom:none}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio:not(:hover),.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio[aria-checked=true]{color:#1e1e1e;cursor:auto}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio:not(:hover) .omniform-create-form-modal__option-label div,.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio[aria-checked=true] .omniform-create-form-modal__option-label div{color:#949494}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio .omniform-create-form-modal__option-label{padding-top:4px;white-space:normal}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio .omniform-create-form-modal__option-label div{font-size:12px;padding-top:4px}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio .omniform-create-form-modal__checkbox{margin-left:auto;min-width:24px}
    2 .components-panel__body.is-opened.omniform-view-responses__panel{height:48px;padding:0}.components-panel__body.is-opened.omniform-view-responses__panel .components-button{font-weight:600;height:100%;padding:16px;width:100%}.components-panel__body.is-opened.omniform-view-responses__panel .components-button:active,.components-panel__body.is-opened.omniform-view-responses__panel .components-button:hover{background:#f0f0f0}.components-panel__body.is-opened.omniform-view-responses__panel .components-button:focus{border-radius:0;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-form__selection-modal .block-library-form__selection-content{padding-top:16px}.block-editor-form__selection-modal .block-editor-block-patterns-list{-moz-column-count:2;column-count:2;-moz-column-gap:24px;column-gap:24px}@media(min-width:1280px){.block-editor-form__selection-modal .block-editor-block-patterns-list{-moz-column-count:3;column-count:3}}.block-editor-form__selection-modal .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item{-moz-column-break-inside:avoid;break-inside:avoid-column}
     2.components-panel__body.is-opened.omniform-view-responses__panel{height:48px;padding:0}.components-panel__body.is-opened.omniform-view-responses__panel .components-button{font-weight:600;height:100%;padding:16px;width:100%}.components-panel__body.is-opened.omniform-view-responses__panel .components-button:active,.components-panel__body.is-opened.omniform-view-responses__panel .components-button:hover{background:#f0f0f0}.components-panel__body.is-opened.omniform-view-responses__panel .components-button:focus{border-radius:0;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-form__selection-modal .block-library-form__selection-content{padding-top:16px}.block-editor-form__selection-modal .block-editor-block-patterns-list{-moz-column-count:2;column-count:2;-moz-column-gap:24px;column-gap:24px}@media(min-width:1280px){.block-editor-form__selection-modal .block-editor-block-patterns-list{-moz-column-count:3;column-count:3}}.block-editor-form__selection-modal .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item{-moz-column-break-inside:avoid;break-inside:avoid-column}
  • omniform/tags/1.2.0/build/block-library/form/index.js

    r3062342 r3068146  
    1 (()=>{"use strict";var e,t={12:()=>{const e=window.React;var t=function(){return t=Object.assign||function(e){for(var t,l=1,o=arguments.length;l<o;l++)for(var r in t=arguments[l])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},t.apply(this,arguments)};function l(e){return e.toLowerCase()}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var o=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],r=/[^A-Z0-9]+/gi;function a(e,t,l){return t instanceof RegExp?e.replace(t,l):t.reduce((function(e,t){return e.replace(t,l)}),e)}function n(e){return function(e){return e.charAt(0).toUpperCase()+e.substr(1)}(e.toLowerCase())}const i=window.wp.blocks,c=window.wp.data,m=window.wp.htmlEntities,s=window.wp.hooks,d=window.wp.compose,h=JSON.parse('{"name":"omniform/form"}'),v=window.wp.blockEditor,f=window.wp.components,E=window.wp.coreData,p=window.wp.element,u=window.wp.i18n,Z="omniform",V=["omniform/button","omniform/fieldset","omniform/field","omniform/label","omniform/input","omniform/textarea","omniform/select","omniform/select-group","omniform/select-option","omniform/captcha","core/audio","core/block","core/code","core/column","core/columns","core/cover","core/file","core/gallery","core/group","core/heading","core/image","core/list-item","core/list","core/missing","core/paragraph","core/pattern","core/preformatted","core/separator","core/site-logo","core/site-tagline","core/site-title","core/spacer","core/table","core/video"];function H({blockProps:t,formId:l,hasInnerBlocks:o}){const r=(0,p.useMemo)((()=>({postId:l,postType:Z})),[l]),[a,n,i]=(0,E.useEntityBlockEditor)("postType",Z,{id:l}),c=(0,v.useInnerBlocksProps)(t,{allowedBlocks:V,value:a,onInput:n,onChange:i,renderAppender:o?void 0:v.InnerBlocks.ButtonBlockAppender});return(0,e.createElement)(v.BlockContextProvider,{value:r},(0,e.createElement)("div",{...c}))}const M=window.wp.url,w=window.wp.primitives,_=(0,p.createElement)(w.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,p.createElement)(w.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6.68822 16.625L5.5 17.8145L5.5 5.5L18.5 5.5L18.5 16.625L6.68822 16.625ZM7.31 18.125L19 18.125C19.5523 18.125 20 17.6773 20 17.125L20 5C20 4.44772 19.5523 4 19 4H5C4.44772 4 4 4.44772 4 5V19.5247C4 19.8173 4.16123 20.086 4.41935 20.2237C4.72711 20.3878 5.10601 20.3313 5.35252 20.0845L7.31 18.125ZM16 9.99997H8V8.49997H16V9.99997ZM8 14H13V12.5H8V14Z"}));function P({formId:t,isEntityAvailable:l}){const[o,r]=(0,E.useEntityProp)("postType",Z,"title",t);return l&&(0,e.createElement)(v.InspectorControls,null,(0,e.createElement)(f.PanelBody,{className:"omniform-view-responses__panel"},(0,e.createElement)(f.Button,{icon:_,href:(0,M.addQueryArgs)("edit.php",{post_type:"omniform_response",omniform_id:t})},(0,u.__)("View responses","omniform"))),(0,e.createElement)(f.PanelBody,{title:(0,u.__)("Form Settings","omniform")},(0,e.createElement)(f.TextControl,{label:(0,u.__)("Name","omniform"),value:o,onChange:r,help:(0,u.__)("This name will not be visible to viewers and is only for identifying the form.","omniform")}),(0,e.createElement)(f.Button,{variant:"primary",href:(0,M.addQueryArgs)("post.php",{action:"edit",post:t})},(0,u.__)("View in Form Editor","omniform"))))}const g=window.wp.notices;function B(e){const{forms:t=[],isResolving:l}=(0,c.useSelect)((e=>{var t,l;const{getEntityRecords:o,isResolving:r}=e(E.store),a={per_page:-1,status:"publish"},n={per_page:-1,status:"draft"};return{forms:[...null!==(t=o("postType",Z,a))&&void 0!==t?t:[],...null!==(l=o("postType",Z,n))&&void 0!==l?l:[]],isLoading:r("getEntityRecords",["postType",Z,a])||r("getEntityRecords",["postType",Z,n])}}),[]);return{forms:(0,p.useMemo)((()=>t&&t.filter((t=>t.id!==e))||[]),[t,e]),isResolving:l}}const y=(0,p.createElement)(w.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,p.createElement)(w.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),b=(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),F=((0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,e.createElement)(w.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,e.createElement)(w.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{d:"M7 7h2v2H7V7Z"}),(0,e.createElement)(w.Path,{d:"M9 11H7v2h2v-2Z"}),(0,e.createElement)(w.Path,{d:"M7 15h2v2H7v-2Z"}),(0,e.createElement)(w.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,e.createElement)(w.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,e.createElement)(w.Path,{d:"M17 7h-6v2h6V7Z"}),(0,e.createElement)(w.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"}))),x=(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),k=(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"}));function C({closeModal:t,onCreate:l}){const[o,r]=(0,p.useState)(""),[a,n]=(0,p.useState)("uncategorized"),[i,c]=(0,p.useState)(!1),m=(0,d.useInstanceId)(C),s=[{type:"uncategorized",description:(0,u.__)("General forms are used to collect and organize information for processing or storage.","omniform"),icon:F,label:(0,u.__)("General","omniform")},{type:"search",description:(0,u.__)("A search form allows users to enter a search query and find relevant information on the website.","omniform"),icon:x,label:(0,e.createElement)(e.Fragment,null,(0,u.__)("Search","omniform"),(0,e.createElement)("span",{className:"badge"},(0,u.__)("coming soon","omniform"))),disabled:!0},{type:"login",description:(0,u.__)("A login form is used to authenticate a user's identity and grant them access to the website.","omniform"),icon:k,label:(0,e.createElement)(e.Fragment,null,(0,u.__)("Login","omniform"),(0,e.createElement)("span",{className:"badge"},(0,u.__)("coming soon","omniform"))),disabled:!0}];return(0,e.createElement)(f.Modal,{title:(0,u.__)("Create a form","omniform"),closeLabel:(0,u.__)("Close","omniform"),onRequestClose:t,overlayClassName:"omniform-create-form-modal"},(0,e.createElement)("form",{onSubmit:async e=>{e.preventDefault(),o&&(c(!0),await l({title:o,type:a}))}},(0,e.createElement)(f.TextControl,{label:(0,u.__)("Name","omniform"),value:o,onChange:r,required:!0}),(0,e.createElement)(f.BaseControl,{label:(0,u.__)("Type","omniform"),id:`omniform-create-form-modal__area-selection-${m}`,className:"omniform-create-form-modal__area-base-control"},(0,e.createElement)(f.__experimentalRadioGroup,{label:(0,u.__)("Type","omniform"),className:"omniform-create-form-modal__area-radio-group",id:`omniform-create-form-modal__area-selection-${m}`,onChange:n,checked:a},s.map((({icon:t,label:l,type:o,description:r,disabled:n})=>(0,e.createElement)(f.__experimentalRadio,{key:o,value:o,className:"omniform-create-form-modal__area-radio",disabled:n},(0,e.createElement)(f.Flex,{align:"start",justify:"start"},(0,e.createElement)(f.FlexItem,null,(0,e.createElement)(f.Icon,{icon:t})),(0,e.createElement)(f.FlexBlock,{className:"omniform-create-form-modal__option-label"},l,(0,e.createElement)("div",null,r)),(0,e.createElement)(f.FlexItem,{className:"omniform-create-form-modal__checkbox"},a===o&&(0,e.createElement)(f.Icon,{icon:y})))))))),(0,e.createElement)(f.Flex,{className:"omniform-create-form-modal__modal-actions",justify:"flex-end"},(0,e.createElement)(f.FlexItem,null,(0,e.createElement)(f.Button,{variant:"secondary",onClick:()=>{t()}},(0,u.__)("Cancel","omniform"))),(0,e.createElement)(f.FlexItem,null,(0,e.createElement)(f.Button,{variant:"primary",type:"submit",disabled:!o,isBusy:i},(0,u.__)("Create","omniform"))))))}function S({setAttributes:t,onOpenSelectionModal:l}){const{forms:o,isResolving:r}=B(),a=function(e){const{saveEntityRecord:t}=(0,c.useDispatch)(E.store);return async(l=[],o=(0,u.__)("Untitled Form","omniform"),r="uncategorized")=>{const a={title:o,content:(0,i.serialize)(l),status:"publish"},n=await t("postType",Z,a);e({ref:n.id})}}(t),[n,m]=(0,p.useState)(!1),{createSuccessNotice:s,createErrorNotice:d}=(0,c.useDispatch)(g.store);return(0,e.createElement)(f.Placeholder,{icon:null,label:(0,u.__)("OmniForm Form","omniform"),instructions:(0,u.__)("Choose an existing form or create a new one.","omniform")},r&&(0,e.createElement)(f.Spinner,null),!r&&!!o.length&&(0,e.createElement)(f.Button,{variant:"primary",onClick:l},(0,u.__)("Choose","omniform")),!r&&(0,e.createElement)(f.Button,{variant:"secondary",onClick:()=>m(!0)},(0,u.__)("Start blank","omniform")),n&&(0,e.createElement)(C,{closeModal:()=>m(!1),onCreate:async({title:e,type:t})=>{if(e)try{await a([],e,t),s((0,u.__)("Form created","omniform"),{type:"snackbar"}),m(!1)}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:(0,u.__)("An error occurred while creating the form.","omniform");d(t,{type:"snackbar"}),m(!1)}else d((0,u.__)("Title is not defined","omniform"),{type:"snackbar"})}}))}function D({formId:t=null,onClose:l,setAttributes:o}){const{forms:r}=B(t),a=(0,p.useMemo)((()=>r.map((e=>({name:e.slug,title:e.title.raw,blocks:(0,i.createBlock)("omniform/form",{ref:e.id}),viewportWidth:768,form:e})))),r),n=(0,d.useAsyncList)(a),c=!!r.length;return(0,e.createElement)("div",{className:"block-library-form__selection-content"},c&&(0,e.createElement)(v.__experimentalBlockPatternsList,{blockPatterns:a,shownPatterns:n,onClickPattern:e=>{var t;t=e.form,o({ref:t.id}),l()},orientation:"horizontal"}),!c&&(0,e.createElement)(f.__experimentalHStack,{alignment:"center"},(0,e.createElement)("p",null,(0,u.__)("No results found.","omniform"))))}(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,e.createElement)(w.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,e.createElement)(w.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,e.createElement)(w.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,e.createElement)(w.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,e.createElement)(w.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,e.createElement)(w.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,e.createElement)(w.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,e.createElement)(w.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,e.createElement)(w.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,e.createElement)(w.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,e.createElement)(w.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,e.createElement)(w.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,e.createElement)(w.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,e.createElement)(w.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,e.createElement)(w.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,e.createElement)(w.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,e.createElement)(w.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,e.createElement)(w.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,e.createElement)(w.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,e.createElement)(w.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,e.createElement)(w.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,e.createElement)(w.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,e.createElement)(w.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,e.createElement)(w.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,e.createElement)(w.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"}));const{name:R}=h;(0,i.registerBlockType)(R,{edit:function({context:t,attributes:l,setAttributes:o,clientId:r}){const{postId:a,postType:n}=t,{ref:i}=l,m=n===Z?a:i,s=(0,v.__experimentalUseHasRecursion)([m]),[d,h]=(0,p.useState)(!1),{isResolved:V,hasInnerBlocks:M,isMissing:w}=(0,c.useSelect)((e=>{const{getEditedEntityRecord:t,hasFinishedResolution:l}=e(E.store),{getBlockCount:o}=e(v.store),a=["postType",Z,m],n=m?t(...a):null,i=!!m&&l("getEditedEntityRecord",a);return{hasInnerBlocks:o(r)>0,isResolved:i,isMissing:i&&!n}}),[m,r]),_=(0,v.useBlockProps)({className:"block-library-block__reusable-block-container"}),g=!m,B=!g&&!w&&V;return M&&w?(0,e.createElement)("div",{..._},(0,e.createElement)(v.Warning,null,(0,u.__)("Form has been deleted or is unavailable.","omniform"))):B&&s?(0,e.createElement)("div",{..._},(0,e.createElement)(v.Warning,null,(0,u.__)("Form cannot be rendered inside itself.","omniform"))):(0,e.createElement)(e.Fragment,null,(0,e.createElement)(v.__experimentalRecursionProvider,{uniqueId:m},(0,e.createElement)(P,{formId:m,isEntityAvailable:B}),g&&(0,e.createElement)("div",{..._},(0,e.createElement)(S,{clientId:r,formId:m,setAttributes:o,onOpenSelectionModal:()=>h(!0)})),B&&(0,e.createElement)(H,{blockProps:_,formId:m,hasInnerBlocks:M}),!g&&!V&&(0,e.createElement)("div",{..._},(0,e.createElement)(f.Spinner,null))),d&&(0,e.createElement)(f.Modal,{overlayClassName:"block-editor-form__selection-modal",title:(0,u.__)("Choose a Form","omniform"),closeLabel:(0,u.__)("Cancel","omniform"),onRequestClose:()=>h(!1),isFullScreen:!0},(0,e.createElement)(D,{formId:m,setAttributes:o,onClose:()=>h(!1)})))},icon:{foreground:"#D92E83",src:b},__experimentalLabel:({ref:e})=>{if(!e)return;const i=(0,c.select)("core").getEntityRecord("postType",Z,e);return i?(0,m.decodeEntities)(i.title?.rendered)||(0,m.decodeEntities)(i.title?.raw)||(s=i.slug,void 0===d&&(d={}),function(e,t){void 0===t&&(t={});for(var n=t.splitRegexp,i=void 0===n?o:n,c=t.stripRegexp,m=void 0===c?r:c,s=t.transform,d=void 0===s?l:s,h=t.delimiter,v=void 0===h?" ":h,f=a(a(e,i,"$1\0$2"),m,"\0"),E=0,p=f.length;"\0"===f.charAt(E);)E++;for(;"\0"===f.charAt(p-1);)p--;return f.slice(E,p).split("\0").map(d).join(v)}(s,t({delimiter:" ",transform:n},d))):void 0;var s,d}}),(0,s.addFilter)("blockEditor.__unstableCanInsertBlockType","omniform/with-block-insertion-restrictions",((e,t)=>"omniform/form"!==t.name||"omniform"!==(0,c.select)("core/editor").getCurrentPostType()?e:(0,c.select)("core/edit-post").isEditingTemplate())),(0,s.addFilter)("editor.BlockEdit","omniform/with-child-block-restrictions",(0,d.createHigherOrderComponent)((t=>l=>(["core/group","core/cover","core/column"].includes(l.name)&&(0,c.select)("core/block-editor").getBlockParentsByBlockName(l.clientId,"omniform/form").length&&(l.attributes.allowedBlocks=["omniform/button","omniform/fieldset","omniform/field","omniform/label","omniform/input","omniform/textarea","omniform/select","omniform/select-group","omniform/select-option","omniform/captcha","core/audio","core/block","core/code","core/column","core/columns","core/cover","core/file","core/gallery","core/group","core/heading","core/image","core/list-item","core/list","core/missing","core/paragraph","core/pattern","core/preformatted","core/separator","core/site-logo","core/site-tagline","core/site-title","core/spacer","core/table","core/video"]),(0,e.createElement)(t,{...l}))),"omniformChildBlockRestrictions"))}},l={};function o(e){var r=l[e];if(void 0!==r)return r.exports;var a=l[e]={exports:{}};return t[e](a,a.exports,o),a.exports}o.m=t,e=[],o.O=(t,l,r,a)=>{if(!l){var n=1/0;for(s=0;s<e.length;s++){for(var[l,r,a]=e[s],i=!0,c=0;c<l.length;c++)(!1&a||n>=a)&&Object.keys(o.O).every((e=>o.O[e](l[c])))?l.splice(c--,1):(i=!1,a<n&&(n=a));if(i){e.splice(s--,1);var m=r();void 0!==m&&(t=m)}}return t}a=a||0;for(var s=e.length;s>0&&e[s-1][2]>a;s--)e[s]=e[s-1];e[s]=[l,r,a]},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={925:0,43:0};o.O.j=t=>0===e[t];var t=(t,l)=>{var r,a,[n,i,c]=l,m=0;if(n.some((t=>0!==e[t]))){for(r in i)o.o(i,r)&&(o.m[r]=i[r]);if(c)var s=c(o)}for(t&&t(l);m<n.length;m++)a=n[m],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return o.O(s)},l=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];l.forEach(t.bind(null,0)),l.push=t.bind(null,l.push.bind(l))})();var r=o.O(void 0,[43],(()=>o(12)));r=o.O(r)})();
     1(()=>{"use strict";var e,t={161:()=>{const e=window.React;var t=function(){return t=Object.assign||function(e){for(var t,l=1,o=arguments.length;l<o;l++)for(var r in t=arguments[l])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},t.apply(this,arguments)};function l(e){return e.toLowerCase()}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var o=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],r=/[^A-Z0-9]+/gi;function n(e,t,l){return t instanceof RegExp?e.replace(t,l):t.reduce((function(e,t){return e.replace(t,l)}),e)}function a(e){return function(e){return e.charAt(0).toUpperCase()+e.substr(1)}(e.toLowerCase())}const i=window.wp.blocks,c=window.wp.data,m=window.wp.htmlEntities,s=window.wp.hooks,d=window.wp.compose,h=JSON.parse('{"name":"omniform/form"}'),f=window.wp.blockEditor,v=window.wp.components,E=window.wp.coreData,p=window.wp.element,u=window.wp.i18n,Z="omniform",V="omniform_response",H=["omniform/button","omniform/fieldset","omniform/field","omniform/label","omniform/input","omniform/hidden","omniform/textarea","omniform/select","omniform/select-group","omniform/select-option","omniform/captcha","omniform/response-notification","core/audio","core/block","core/code","core/column","core/columns","core/cover","core/file","core/gallery","core/group","core/heading","core/image","core/list-item","core/list","core/missing","core/paragraph","core/pattern","core/preformatted","core/separator","core/site-logo","core/site-tagline","core/site-title","core/spacer","core/table","core/video"];function M({blockProps:t,formId:l,hasInnerBlocks:o}){const r=(0,p.useMemo)((()=>({postId:l,postType:Z})),[l]),[n,a,i]=(0,E.useEntityBlockEditor)("postType",Z,{id:l}),c=(0,f.useInnerBlocksProps)(t,{allowedBlocks:H,value:n,onInput:a,onChange:i,renderAppender:o?void 0:f.InnerBlocks.ButtonBlockAppender});return(0,e.createElement)(f.BlockContextProvider,{value:r},(0,e.createElement)("div",{...c}))}const _=window.wp.url,w=window.wp.editPost;function P({formId:t,isDocumentPanel:l}){const{siteTitle:o,siteEmail:r}=(0,c.useSelect)((e=>{const{getEntityRecord:t}=e(E.store),l=t("root","site")||{};return{siteTitle:l?.title,siteEmail:l?.email}}),[]),[n]=(0,E.useEntityProp)("postType",Z,"title",t),[a,i]=(0,E.useEntityProp)("postType",Z,"meta",t),m=a?.notify_email,s=a?.notify_email_subject,d=l?w.PluginDocumentSettingPanel:v.PanelBody;return(0,e.createElement)(d,{name:"omniform-email-notification",title:(0,u.__)("Email Notification","omniform")},(0,e.createElement)(v.FormTokenField,{label:(0,u.__)("Notify These Emails","omniform"),value:m,onChange:e=>{i({...a,notify_email:e})},placeholder:r}),(0,e.createElement)(v.TextControl,{label:(0,u.__)("Notification Subject","omniform"),value:s,onChange:e=>{i({...a,notify_email_subject:e})},placeholder:(0,u.sprintf)(
     2// translators: %1$s represents the blog name, %2$s represents the form title.
     3// translators: %1$s represents the blog name, %2$s represents the form title.
     4(0,u.__)("New Response: %1$s - %2$s","omniform"),o,n),help:(0,u.__)("Write a short headline for the notification.","omniform")}))}const g=window.wp.primitives,y=(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)(g.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6.68822 16.625L5.5 17.8145L5.5 5.5L18.5 5.5L18.5 16.625L6.68822 16.625ZM7.31 18.125L19 18.125C19.5523 18.125 20 17.6773 20 17.125L20 5C20 4.44772 19.5523 4 19 4H5C4.44772 4 4 4.44772 4 5V19.5247C4 19.8173 4.16123 20.086 4.41935 20.2237C4.72711 20.3878 5.10601 20.3313 5.35252 20.0845L7.31 18.125ZM16 9.99997H8V8.49997H16V9.99997ZM8 14H13V12.5H8V14Z"}));function B({formId:t,isDocumentPanel:l}){const o=l?w.PluginDocumentSettingPanel:v.PanelBody;return(0,e.createElement)(o,{className:"omniform-view-responses__panel"},(0,e.createElement)(v.Button,{icon:y,href:(0,_.addQueryArgs)("edit.php",{post_type:V,omniform_id:t})},(0,u.__)("View responses","omniform")))}function b({formId:t,isEntityAvailable:l}){const[o,r]=(0,E.useEntityProp)("postType",Z,"title",t);return l&&(0,e.createElement)(f.InspectorControls,null,(0,e.createElement)(B,{formId:t}),(0,e.createElement)(v.PanelBody,{title:(0,u.__)("Form Settings","omniform")},(0,e.createElement)(v.TextControl,{label:(0,u.__)("Name","omniform"),value:o,onChange:r,help:(0,u.__)("This name will not be visible to viewers and is only for identifying the form.","omniform")}),(0,e.createElement)(v.Button,{variant:"primary",href:(0,_.addQueryArgs)("post.php",{action:"edit",post:t})},(0,u.__)("View in Form Editor","omniform"))),(0,e.createElement)(P,{formId:t}))}const C=window.wp.notices;function F(e){const{forms:t=[],isResolving:l}=(0,c.useSelect)((e=>{var t,l;const{getEntityRecords:o,isResolving:r}=e(E.store),n={per_page:-1,status:"publish"},a={per_page:-1,status:"draft"};return{forms:[...null!==(t=o("postType",Z,n))&&void 0!==t?t:[],...null!==(l=o("postType",Z,a))&&void 0!==l?l:[]],isLoading:r("getEntityRecords",["postType",Z,n])||r("getEntityRecords",["postType",Z,a])}}),[]);return{forms:(0,p.useMemo)((()=>t&&t.filter((t=>t.id!==e))||[]),[t,e]),isResolving:l}}const x=(0,e.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),S=(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),k=((0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,e.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,e.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{d:"M7 7h2v2H7V7Z"}),(0,e.createElement)(g.Path,{d:"M9 11H7v2h2v-2Z"}),(0,e.createElement)(g.Path,{d:"M7 15h2v2H7v-2Z"}),(0,e.createElement)(g.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,e.createElement)(g.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,e.createElement)(g.Path,{d:"M17 7h-6v2h6V7Z"}),(0,e.createElement)(g.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"}))),D=(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),R=(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"}));function A({closeModal:t,onCreate:l}){const[o,r]=(0,p.useState)(""),[n,a]=(0,p.useState)("uncategorized"),[i,c]=(0,p.useState)(!1),m=(0,d.useInstanceId)(A),s=[{type:"uncategorized",description:(0,u.__)("General forms are used to collect and organize information for processing or storage.","omniform"),icon:k,label:(0,u.__)("General","omniform")},{type:"search",description:(0,u.__)("A search form allows users to enter a search query and find relevant information on the website.","omniform"),icon:D,label:(0,e.createElement)(e.Fragment,null,(0,u.__)("Search","omniform"),(0,e.createElement)("span",{className:"badge"},(0,u.__)("coming soon","omniform"))),disabled:!0},{type:"login",description:(0,u.__)("A login form is used to authenticate a user's identity and grant them access to the website.","omniform"),icon:R,label:(0,e.createElement)(e.Fragment,null,(0,u.__)("Login","omniform"),(0,e.createElement)("span",{className:"badge"},(0,u.__)("coming soon","omniform"))),disabled:!0}];return(0,e.createElement)(v.Modal,{title:(0,u.__)("Create a form","omniform"),closeLabel:(0,u.__)("Close","omniform"),onRequestClose:t,overlayClassName:"omniform-create-form-modal"},(0,e.createElement)("form",{onSubmit:async e=>{e.preventDefault(),o&&(c(!0),await l({title:o,type:n}))}},(0,e.createElement)(v.TextControl,{label:(0,u.__)("Name","omniform"),value:o,onChange:r,required:!0}),(0,e.createElement)(v.BaseControl,{label:(0,u.__)("Type","omniform"),id:`omniform-create-form-modal__area-selection-${m}`,className:"omniform-create-form-modal__area-base-control"},(0,e.createElement)(v.__experimentalRadioGroup,{label:(0,u.__)("Type","omniform"),className:"omniform-create-form-modal__area-radio-group",id:`omniform-create-form-modal__area-selection-${m}`,onChange:a,checked:n},s.map((({icon:t,label:l,type:o,description:r,disabled:a})=>(0,e.createElement)(v.__experimentalRadio,{key:o,value:o,className:"omniform-create-form-modal__area-radio",disabled:a},(0,e.createElement)(v.Flex,{align:"start",justify:"start"},(0,e.createElement)(v.FlexItem,null,(0,e.createElement)(v.Icon,{icon:t})),(0,e.createElement)(v.FlexBlock,{className:"omniform-create-form-modal__option-label"},l,(0,e.createElement)("div",null,r)),(0,e.createElement)(v.FlexItem,{className:"omniform-create-form-modal__checkbox"},n===o&&(0,e.createElement)(v.Icon,{icon:x})))))))),(0,e.createElement)(v.Flex,{className:"omniform-create-form-modal__modal-actions",justify:"flex-end"},(0,e.createElement)(v.FlexItem,null,(0,e.createElement)(v.Button,{variant:"secondary",onClick:()=>{t()}},(0,u.__)("Cancel","omniform"))),(0,e.createElement)(v.FlexItem,null,(0,e.createElement)(v.Button,{variant:"primary",type:"submit",disabled:!o,isBusy:i},(0,u.__)("Create","omniform"))))))}function I({setAttributes:t,onOpenSelectionModal:l}){const{forms:o,isResolving:r}=F(),n=function(e){const{saveEntityRecord:t}=(0,c.useDispatch)(E.store);return async(l=[],o=(0,u.__)("Untitled Form","omniform"),r="uncategorized")=>{const n={title:o,content:(0,i.serialize)(l),status:"publish"},a=await t("postType",Z,n);e({ref:a.id})}}(t),[a,m]=(0,p.useState)(!1),{createSuccessNotice:s,createErrorNotice:d}=(0,c.useDispatch)(C.store);return(0,e.createElement)(v.Placeholder,{icon:null,label:(0,u.__)("OmniForm Form","omniform"),instructions:(0,u.__)("Choose an existing form or create a new one.","omniform")},r&&(0,e.createElement)(v.Spinner,null),!r&&!!o.length&&(0,e.createElement)(v.Button,{variant:"primary",onClick:l},(0,u.__)("Choose","omniform")),!r&&(0,e.createElement)(v.Button,{variant:"secondary",onClick:()=>m(!0)},(0,u.__)("Start blank","omniform")),a&&(0,e.createElement)(A,{closeModal:()=>m(!1),onCreate:async({title:e,type:t})=>{if(e)try{await n([],e,t),s((0,u.__)("Form created","omniform"),{type:"snackbar"}),m(!1)}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:(0,u.__)("An error occurred while creating the form.","omniform");d(t,{type:"snackbar"}),m(!1)}else d((0,u.__)("Title is not defined","omniform"),{type:"snackbar"})}}))}function G({formId:t=null,onClose:l,setAttributes:o}){const{forms:r}=F(t),n=(0,p.useMemo)((()=>r.map((e=>({name:e.slug,title:e.title.raw,blocks:(0,i.createBlock)("omniform/form",{ref:e.id}),viewportWidth:768,form:e})))),r),a=(0,d.useAsyncList)(n),c=!!r.length;return(0,e.createElement)("div",{className:"block-library-form__selection-content"},c&&(0,e.createElement)(f.__experimentalBlockPatternsList,{blockPatterns:n,shownPatterns:a,onClickPattern:e=>{var t;t=e.form,o({ref:t.id}),l()},orientation:"horizontal"}),!c&&(0,e.createElement)(v.__experimentalHStack,{alignment:"center"},(0,e.createElement)("p",null,(0,u.__)("No results found.","omniform"))))}(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,e.createElement)(g.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,e.createElement)(g.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,e.createElement)(g.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,e.createElement)(g.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,e.createElement)(g.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,e.createElement)(g.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,e.createElement)(g.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,e.createElement)(g.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,e.createElement)(g.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,e.createElement)(g.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,e.createElement)(g.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,e.createElement)(g.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,e.createElement)(g.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,e.createElement)(g.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,e.createElement)(g.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,e.createElement)(g.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,e.createElement)(g.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,e.createElement)(g.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,e.createElement)(g.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,e.createElement)(g.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,e.createElement)(g.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,e.createElement)(g.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,e.createElement)(g.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,e.createElement)(g.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,e.createElement)(g.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"m9.55 18-5.7-5.7 1.425-1.425L9.55 15.15l9.175-9.175L20.15 7.4 9.55 18Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M12 17c.283 0 .52-.096.713-.288A.968.968 0 0 0 13 16a.968.968 0 0 0-.287-.713A.968.968 0 0 0 12 15a.968.968 0 0 0-.713.287A.968.968 0 0 0 11 16c0 .283.096.52.287.712.192.192.43.288.713.288Zm-1-4h2V7h-2v6Zm1 9a9.738 9.738 0 0 1-3.9-.788 10.099 10.099 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.738 9.738 0 0 1 2 12c0-1.383.263-2.683.788-3.9a10.099 10.099 0 0 1 2.137-3.175c.9-.9 1.958-1.612 3.175-2.137A9.738 9.738 0 0 1 12 2c1.383 0 2.683.263 3.9.788a10.098 10.098 0 0 1 3.175 2.137c.9.9 1.613 1.958 2.137 3.175A9.738 9.738 0 0 1 22 12a9.738 9.738 0 0 1-.788 3.9 10.098 10.098 0 0 1-2.137 3.175c-.9.9-1.958 1.613-3.175 2.137A9.738 9.738 0 0 1 12 22Zm0-2c2.233 0 4.125-.775 5.675-2.325C19.225 16.125 20 14.233 20 12c0-2.233-.775-4.125-2.325-5.675C16.125 4.775 14.233 4 12 4c-2.233 0-4.125.775-5.675 2.325C4.775 7.875 4 9.767 4 12c0 2.233.775 4.125 2.325 5.675C7.875 19.225 9.767 20 12 20Z"}));const L=window.wp.editor;(0,window.wp.plugins.registerPlugin)("omniform",{render:()=>{const{postType:t,postId:l}=(0,c.useSelect)((e=>({postType:e(L.store).getCurrentPostType(),postId:e(L.store).getCurrentPostId()})));return Z===t&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(B,{formId:l,isDocumentPanel:!0}),(0,e.createElement)(P,{formId:l,isDocumentPanel:!0}))}});const{name:T}=h;(0,i.registerBlockType)(T,{edit:function({context:t,attributes:l,setAttributes:o,clientId:r}){const{postId:n,postType:a}=t,{ref:i}=l,m=a===Z?n:i,s=(0,f.__experimentalUseHasRecursion)([m]),[d,h]=(0,p.useState)(!1),{isResolved:V,hasInnerBlocks:H,isMissing:_}=(0,c.useSelect)((e=>{const{getEditedEntityRecord:t,hasFinishedResolution:l}=e(E.store),{getBlockCount:o}=e(f.store),n=["postType",Z,m],a=m?t(...n):null,i=!!m&&l("getEditedEntityRecord",n);return{hasInnerBlocks:o(r)>0,isResolved:i,isMissing:i&&!a}}),[m,r]),w=(0,f.useBlockProps)({className:"block-library-block__reusable-block-container"}),P=!m,g=!P&&!_&&V;return H&&_?(0,e.createElement)("div",{...w},(0,e.createElement)(f.Warning,null,(0,u.__)("Form has been deleted or is unavailable.","omniform"))):g&&s?(0,e.createElement)("div",{...w},(0,e.createElement)(f.Warning,null,(0,u.__)("Form cannot be rendered inside itself.","omniform"))):(0,e.createElement)(e.Fragment,null,(0,e.createElement)(f.__experimentalRecursionProvider,{uniqueId:m},(0,e.createElement)(b,{formId:m,isEntityAvailable:g}),P&&(0,e.createElement)("div",{...w},(0,e.createElement)(I,{clientId:r,formId:m,setAttributes:o,onOpenSelectionModal:()=>h(!0)})),g&&(0,e.createElement)(M,{blockProps:w,formId:m,hasInnerBlocks:H}),!P&&!V&&(0,e.createElement)("div",{...w},(0,e.createElement)(v.Spinner,null))),d&&(0,e.createElement)(v.Modal,{overlayClassName:"block-editor-form__selection-modal",title:(0,u.__)("Choose a Form","omniform"),closeLabel:(0,u.__)("Cancel","omniform"),onRequestClose:()=>h(!1),isFullScreen:!0},(0,e.createElement)(G,{formId:m,setAttributes:o,onClose:()=>h(!1)})))},icon:{foreground:"#D92E83",src:S},__experimentalLabel:({ref:e})=>{if(!e)return;const i=(0,c.select)("core").getEntityRecord("postType",Z,e);return i?(0,m.decodeEntities)(i.title?.rendered)||(0,m.decodeEntities)(i.title?.raw)||(s=i.slug,void 0===d&&(d={}),function(e,t){void 0===t&&(t={});for(var a=t.splitRegexp,i=void 0===a?o:a,c=t.stripRegexp,m=void 0===c?r:c,s=t.transform,d=void 0===s?l:s,h=t.delimiter,f=void 0===h?" ":h,v=n(n(e,i,"$1\0$2"),m,"\0"),E=0,p=v.length;"\0"===v.charAt(E);)E++;for(;"\0"===v.charAt(p-1);)p--;return v.slice(E,p).split("\0").map(d).join(f)}(s,t({delimiter:" ",transform:a},d))):void 0;var s,d}}),(0,s.addFilter)("blockEditor.__unstableCanInsertBlockType","omniform/with-block-insertion-restrictions",((e,t)=>"omniform/form"!==t.name||"omniform"!==(0,c.select)("core/editor").getCurrentPostType()?e:(0,c.select)("core/edit-post").isEditingTemplate())),(0,s.addFilter)("editor.BlockEdit","omniform/with-child-block-restrictions",(0,d.createHigherOrderComponent)((t=>l=>(["core/group","core/cover","core/column"].includes(l.name)&&(0,c.select)("core/block-editor").getBlockParentsByBlockName(l.clientId,"omniform/form").length&&(l.attributes.allowedBlocks=["omniform/button","omniform/fieldset","omniform/field","omniform/label","omniform/input","omniform/textarea","omniform/select","omniform/select-group","omniform/select-option","omniform/captcha","core/audio","core/block","core/code","core/column","core/columns","core/cover","core/file","core/gallery","core/group","core/heading","core/image","core/list-item","core/list","core/missing","core/paragraph","core/pattern","core/preformatted","core/separator","core/site-logo","core/site-tagline","core/site-title","core/spacer","core/table","core/video"]),(0,e.createElement)(t,{...l}))),"omniformChildBlockRestrictions"))}},l={};function o(e){var r=l[e];if(void 0!==r)return r.exports;var n=l[e]={exports:{}};return t[e](n,n.exports,o),n.exports}o.m=t,e=[],o.O=(t,l,r,n)=>{if(!l){var a=1/0;for(s=0;s<e.length;s++){for(var[l,r,n]=e[s],i=!0,c=0;c<l.length;c++)(!1&n||a>=n)&&Object.keys(o.O).every((e=>o.O[e](l[c])))?l.splice(c--,1):(i=!1,n<a&&(a=n));if(i){e.splice(s--,1);var m=r();void 0!==m&&(t=m)}}return t}n=n||0;for(var s=e.length;s>0&&e[s-1][2]>n;s--)e[s]=e[s-1];e[s]=[l,r,n]},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={708:0,468:0};o.O.j=t=>0===e[t];var t=(t,l)=>{var r,n,[a,i,c]=l,m=0;if(a.some((t=>0!==e[t]))){for(r in i)o.o(i,r)&&(o.m[r]=i[r]);if(c)var s=c(o)}for(t&&t(l);m<a.length;m++)n=a[m],o.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return o.O(s)},l=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];l.forEach(t.bind(null,0)),l.push=t.bind(null,l.push.bind(l))})();var r=o.O(void 0,[468],(()=>o(161)));r=o.O(r)})();
  • omniform/tags/1.2.0/build/block-library/form/view.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('wp-api-fetch', 'wp-hooks', 'wp-i18n'), 'version' => 'd554ddd3d29ababb4607');
     1<?php return array('dependencies' => array('wp-api-fetch', 'wp-hooks'');
  • omniform/tags/1.2.0/build/block-library/form/view.js

    r2994256 r3068146  
    1 (()=>{"use strict";var e={n:t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},d:(t,o)=>{for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.i18n,o=window.wp.apiFetch;var n=e.n(o);const r=window.wp.hooks;document.addEventListener("DOMContentLoaded",(function(){const e=async e=>{e.preventDefault();const i=await(0,r.applyFilters)("omniform.prepareFormElementForSubmission",e.target),{action:s,method:l}=i,c=new FormData(i),d=e.target.querySelector(".omniform-response-container");await n()({url:s,method:l,body:c}).then((()=>{d.innerHTML="",d.append(o((0,t.__)("Success! Your submission has been completed.","omniform"))),d.style.display="block",d.style.borderLeftColor="var(--wp--preset--color--vivid-green-cyan,#00d084)",e.target.reset()})).catch((e=>{d.innerHTML="",d.append(o((0,t.__)("Unfortunately, your submission was not successful. Please ensure all fields are correctly filled out and try again.","omniform"))),e.invalid_fields&&d.append(a(Object.values(e.invalid_fields))),d.style.display="block",d.style.borderLeftColor="var(--wp--preset--color--vivid-red,#cf2e2e)"})),d.setAttribute("tabindex","-1"),d.focus(),d.removeAttribute("tabindex")},o=e=>{const t=document.createElement("p");return t.textContent=e,t},a=e=>{const t=document.createElement("ul");return e.forEach((e=>{const o=document.createElement("li");o.textContent=e,t.appendChild(o)})),t};document.querySelectorAll("form.wp-block-omniform-form").forEach((t=>t.addEventListener("submit",e)))}))})();
     1(()=>{"use strict";var e={n:t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},d:(t,o)=>{for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.))}))})();
  • omniform/tags/1.2.0/build/block-library/input/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-data', 'wp-i18n', 'wp-primitives'), 'version' => '42d100fa2501d9d79aec');
     1<?php return array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-data', 'wp-i18n', 'wp-primitives'), 'version' => '');
  • omniform/tags/1.2.0/build/block-library/input/index.js

    r2994256 r3068146  
    1 (()=>{"use strict";var e,t={159:()=>{const e=window.lodash,t=window.wp.blocks,l=JSON.parse('{"name":"omniform/input"}'),a=window.React,i=window.wp.i18n,c=window.wp.blockEditor,n=window.wp.data,r=window.wp.primitives,h=((0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"}))),o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),m=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),d=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),v=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),f=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),E=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),Z=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),V=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),s=((0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M7 7h2v2H7V7Z"}),(0,a.createElement)(r.Path,{d:"M9 11H7v2h2v-2Z"}),(0,a.createElement)(r.Path,{d:"M7 15h2v2H7v-2Z"}),(0,a.createElement)(r.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,a.createElement)(r.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,a.createElement)(r.Path,{d:"M17 7h-6v2h6V7Z"}),(0,a.createElement)(r.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,a.createElement)(r.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,a.createElement)(r.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,a.createElement)(r.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,a.createElement)(r.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,a.createElement)(r.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,a.createElement)(r.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,a.createElement)(r.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,a.createElement)(r.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,a.createElement)(r.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,a.createElement)(r.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,a.createElement)(r.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,a.createElement)(r.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,a.createElement)(r.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,a.createElement)(r.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,a.createElement)(r.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,a.createElement)(r.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,a.createElement)(r.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,a.createElement)(r.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,a.createElement)(r.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,a.createElement)(r.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,a.createElement)(r.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,a.createElement)(r.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,a.createElement)(r.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,a.createElement)(r.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,a.createElement)(r.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),[{name:"input-text",icon:{src:h},title:(0,i.__)("Text","omniform"),description:(0,i.__)("A field for brief text entry.","omniform"),attributes:{fieldType:"text"},scope:["transform"]},{name:"input-email",icon:{src:o},title:(0,i.__)("Email","omniform"),description:(0,i.__)("A field for collecting an email address.","omniform"),attributes:{fieldType:"email"}},{name:"input-url",icon:{src:m},title:(0,i.__)("URL","omniform"),description:(0,i.__)("A field for collecting a website address or URL.","omniform"),attributes:{fieldType:"url"}},{name:"input-number",icon:{src:d},title:(0,i.__)("Number","omniform"),description:(0,i.__)("A field for collecting a numerical value.","omniform"),attributes:{fieldType:"number"}},{name:"input-checkbox",icon:{src:v},title:(0,i.__)("Checkbox","omniform"),description:(0,i.__)("A field for selecting multiple options or choices.","omniform"),attributes:{fieldType:"checkbox"}},{name:"input-radio",icon:{src:f},title:(0,i.__)("Radio","omniform"),description:(0,i.__)("A field in a group allowing for one selected choice.","omniform"),attributes:{fieldType:"radio"}},{name:"input-date",icon:{src:E},title:(0,i.__)("Date","omniform"),description:(0,i.__)("A field for collecting a formatted date.","omniform"),attributes:{fieldType:"date"}},{name:"input-datetime-local",icon:{src:E},title:(0,i.__)("Datetime","omniform"),description:(0,i.__)("A field for collecting a localized date and time.","omniform"),attributes:{fieldType:"datetime-local"}},{name:"input-month",icon:{src:E},title:(0,i.__)("Month","omniform"),description:(0,i.__)("A field for collecting a month formatted date.","omniform"),attributes:{fieldType:"month"}},{name:"input-tel",icon:{src:Z},title:(0,i.__)("Phone","omniform"),description:(0,i.__)("A field for collecting a telephone number.","omniform"),attributes:{fieldType:"tel"}},{name:"input-time",icon:{src:V},title:(0,i.__)("Time","omniform"),description:(0,i.__)("A field for collecting a formatted time.","omniform"),attributes:{fieldType:"time"}}]);s.forEach((e=>{e.isActive=(e,t)=>e.fieldType===t.fieldType,e.scope||(e.scope=["inserter","block","transform"])}));const H=s,{name:p}=l;(0,t.registerBlockType)(p,{edit:({attributes:{fieldPlaceholder:e,fieldType:l},setAttributes:r,clientId:h,isSelected:o})=>{const{getBlock:m,getBlockRootClientId:d}=(0,n.useSelect)(c.store),{replaceBlocks:v,selectBlock:f}=(0,n.useDispatch)(c.store),E=["text","email","url","number","month","password","search","tel","week","hidden"].includes(l),Z=["checkbox","radio"].includes(l),V=(e,t=0)=>{const l=m(e).innerBlocks.filter((e=>"omniform/label"===e.name))[0];f(l.clientId,t)},s=(0,c.useBlockProps)();return E?(0,a.createElement)(c.RichText,{...s,identifier:"fieldControl","aria-label":(0,i.__)("Placeholder text for text input.","omniform"),placeholder:o||e?(0,i.__)("Enter a placeholder…","omniform"):void 0,value:e,onChange:e=>r({fieldPlaceholder:e}),withoutInteractiveFormatting:!0,allowedFormats:[],onSplit:(e,l)=>{let a;const i=d(h),c=m(i),n=e=>e.map((({name:e,attributes:l})=>"omniform/input"===e?(0,t.createBlock)(e,{...l,fieldPlaceholder:void 0,fieldValue:void 0}):(0,t.createBlock)(e,{style:l.style})));return a=l?(0,t.cloneBlock)(c,c.attributes,!l&&n(c.innerBlocks)):(0,t.createBlock)("omniform/field",{...c.attributes,fieldLabel:"",fieldName:""},n(c.innerBlocks)),l&&(a.clientId=i),a},onReplace:(e,t,l)=>{v([d(h)],e,t,l),V(e[t].clientId,-1)}}):Z?(0,a.createElement)("div",{type:l,...s}):(0,a.createElement)("input",{type:l,...s,readOnly:!0})},icon:{foreground:"#D92E83",src:h},variations:H,example:{},__experimentalLabel:({fieldType:t})=>(0,e.startCase)(p.replace("omniform",t))})}},l={};function a(e){var i=l[e];if(void 0!==i)return i.exports;var c=l[e]={exports:{}};return t[e](c,c.exports,a),c.exports}a.m=t,e=[],a.O=(t,l,i,c)=>{if(!l){var n=1/0;for(m=0;m<e.length;m++){for(var[l,i,c]=e[m],r=!0,h=0;h<l.length;h++)(!1&c||n>=c)&&Object.keys(a.O).every((e=>a.O[e](l[h])))?l.splice(h--,1):(r=!1,c<n&&(n=c));if(r){e.splice(m--,1);var o=i();void 0!==o&&(t=o)}}return t}c=c||0;for(var m=e.length;m>0&&e[m-1][2]>c;m--)e[m]=e[m-1];e[m]=[l,i,c]},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={502:0,78:0};a.O.j=t=>0===e[t];var t=(t,l)=>{var i,c,[n,r,h]=l,o=0;if(n.some((t=>0!==e[t]))){for(i in r)a.o(r,i)&&(a.m[i]=r[i]);if(h)var m=h(a)}for(t&&t(l);o<n.length;o++)c=n[o],a.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return a.O(m)},l=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];l.forEach(t.bind(null,0)),l.push=t.bind(null,l.push.bind(l))})();var i=a.O(void 0,[78],(()=>a(159)));i=a.O(i)})();
     1(()=>{"use strict";var e,t={9)));i=a.O(i)})();
  • omniform/tags/1.2.0/build/block-library/input/style-index.css

    r2968968 r3068146  
    1 input[class=wp-block-omniform-input]:-moz-read-only,input[class=wp-block-omniform-input]:-moz-read-write{-moz-appearance:none;appearance:none;background-color:transparent;border:1px solid;border-radius:.25em;box-shadow:none;box-sizing:border-box;color:currentcolor;display:block;font-size:inherit;line-height:inherit;margin:0;max-width:none;min-height:auto;outline:0 solid transparent;outline-offset:-2px;padding:.5em .75em}.wp-block-omniform-input,input.wp-block-omniform-input.readonly,input.wp-block-omniform-input[readonly],input[class=wp-block-omniform-input]:read-only,input[class=wp-block-omniform-input]:read-write,input[type=checkbox].wp-block-omniform-input,input[type=checkbox].wp-block-omniform-input:checked,input[type=color] .wp-block-omniform-input,input[type=date].wp-block-omniform-input,input[type=datetime-local].wp-block-omniform-input,input[type=datetime].wp-block-omniform-input,input[type=email].wp-block-omniform-input,input[type=month].wp-block-omniform-input,input[type=number].wp-block-omniform-input,input[type=password].wp-block-omniform-input,input[type=radio].wp-block-omniform-input:checked,input[type=search].wp-block-omniform-input,input[type=tel].wp-block-omniform-input,input[type=text].wp-block-omniform-input,input[type=time].wp-block-omniform-input,input[type=url].wp-block-omniform-input,input[type=week].wp-block-omniform-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:1px solid;border-radius:.25em;box-shadow:none;box-sizing:border-box;color:currentcolor;display:block;font-size:inherit;line-height:inherit;margin:0;max-width:none;min-height:auto;outline:0 solid transparent;outline-offset:-2px;padding:.5em .75em}input[class=wp-block-omniform-input]:-moz-read-only,input[class=wp-block-omniform-input]:-moz-read-only:before,input[class=wp-block-omniform-input]:-moz-read-write,input[class=wp-block-omniform-input]:-moz-read-write:before{transition-duration:.1s;-moz-transition-property:background-color,border-color,box-shadow,color,opacity,outline,outline-offset;transition-property:background-color,border-color,box-shadow,color,opacity,outline,outline-offset;transition-timing-function:ease-in-out}.wp-block-omniform-input,.wp-block-omniform-input:before,input.wp-block-omniform-input.readonly,input.wp-block-omniform-input.readonly:before,input.wp-block-omniform-input[readonly],input.wp-block-omniform-input[readonly]:before,input[class=wp-block-omniform-input]:read-only,input[class=wp-block-omniform-input]:read-only:before,input[class=wp-block-omniform-input]:read-write,input[class=wp-block-omniform-input]:read-write:before,input[type=checkbox].wp-block-omniform-input,input[type=checkbox].wp-block-omniform-input:before,input[type=checkbox].wp-block-omniform-input:checked,input[type=checkbox].wp-block-omniform-input:checked:before,input[type=color] .wp-block-omniform-input,input[type=color] .wp-block-omniform-input:before,input[type=date].wp-block-omniform-input,input[type=date].wp-block-omniform-input:before,input[type=datetime-local].wp-block-omniform-input,input[type=datetime-local].wp-block-omniform-input:before,input[type=datetime].wp-block-omniform-input,input[type=datetime].wp-block-omniform-input:before,input[type=email].wp-block-omniform-input,input[type=email].wp-block-omniform-input:before,input[type=month].wp-block-omniform-input,input[type=month].wp-block-omniform-input:before,input[type=number].wp-block-omniform-input,input[type=number].wp-block-omniform-input:before,input[type=password].wp-block-omniform-input,input[type=password].wp-block-omniform-input:before,input[type=radio].wp-block-omniform-input:checked,input[type=radio].wp-block-omniform-input:checked:before,input[type=search].wp-block-omniform-input,input[type=search].wp-block-omniform-input:before,input[type=tel].wp-block-omniform-input,input[type=tel].wp-block-omniform-input:before,input[type=text].wp-block-omniform-input,input[type=text].wp-block-omniform-input:before,input[type=time].wp-block-omniform-input,input[type=time].wp-block-omniform-input:before,input[type=url].wp-block-omniform-input,input[type=url].wp-block-omniform-input:before,input[type=week].wp-block-omniform-input,input[type=week].wp-block-omniform-input:before{transition-duration:.1s;transition-property:background-color,border-color,box-shadow,color,opacity,outline,outline-offset;transition-timing-function:ease-in-out}input[class=wp-block-omniform-input]:-moz-read-only:focus,input[class=wp-block-omniform-input]:-moz-read-write:focus{outline:2px solid currentcolor;outline-offset:2px}.wp-block-omniform-input:focus,input.wp-block-omniform-input.readonly:focus,input.wp-block-omniform-input[readonly]:focus,input[class=wp-block-omniform-input]:read-only:focus,input[class=wp-block-omniform-input]:read-write:focus,input[type=checkbox].wp-block-omniform-input:checked:focus,input[type=checkbox].wp-block-omniform-input:focus,input[type=color] .wp-block-omniform-input:focus,input[type=date].wp-block-omniform-input:focus,input[type=datetime-local].wp-block-omniform-input:focus,input[type=datetime].wp-block-omniform-input:focus,input[type=email].wp-block-omniform-input:focus,input[type=month].wp-block-omniform-input:focus,input[type=number].wp-block-omniform-input:focus,input[type=password].wp-block-omniform-input:focus,input[type=radio].wp-block-omniform-input:checked:focus,input[type=search].wp-block-omniform-input:focus,input[type=tel].wp-block-omniform-input:focus,input[type=text].wp-block-omniform-input:focus,input[type=time].wp-block-omniform-input:focus,input[type=url].wp-block-omniform-input:focus,input[type=week].wp-block-omniform-input:focus{outline:2px solid currentcolor;outline-offset:2px}input[class=wp-block-omniform-input]:-moz-read-only:not(.has-custom-border):focus,input[class=wp-block-omniform-input]:-moz-read-write:not(.has-custom-border):focus{border-color:transparent}.wp-block-omniform-input:not(.has-custom-border):focus,input.wp-block-omniform-input.readonly:not(.has-custom-border):focus,input.wp-block-omniform-input[readonly]:not(.has-custom-border):focus,input[class=wp-block-omniform-input]:read-only:not(.has-custom-border):focus,input[class=wp-block-omniform-input]:read-write:not(.has-custom-border):focus,input[type=checkbox].wp-block-omniform-input:checked:not(.has-custom-border):focus,input[type=checkbox].wp-block-omniform-input:not(.has-custom-border):focus,input[type=color] .wp-block-omniform-input:not(.has-custom-border):focus,input[type=date].wp-block-omniform-input:not(.has-custom-border):focus,input[type=datetime-local].wp-block-omniform-input:not(.has-custom-border):focus,input[type=datetime].wp-block-omniform-input:not(.has-custom-border):focus,input[type=email].wp-block-omniform-input:not(.has-custom-border):focus,input[type=month].wp-block-omniform-input:not(.has-custom-border):focus,input[type=number].wp-block-omniform-input:not(.has-custom-border):focus,input[type=password].wp-block-omniform-input:not(.has-custom-border):focus,input[type=radio].wp-block-omniform-input:checked:not(.has-custom-border):focus,input[type=search].wp-block-omniform-input:not(.has-custom-border):focus,input[type=tel].wp-block-omniform-input:not(.has-custom-border):focus,input[type=text].wp-block-omniform-input:not(.has-custom-border):focus,input[type=time].wp-block-omniform-input:not(.has-custom-border):focus,input[type=url].wp-block-omniform-input:not(.has-custom-border):focus,input[type=week].wp-block-omniform-input:not(.has-custom-border):focus{border-color:transparent}.editor-styles-wrapper input[class=wp-block-omniform-input]:-moz-read-only:focus,.editor-styles-wrapper input[class=wp-block-omniform-input]:-moz-read-write:focus{border-color:unset;outline:unset;outline-offset:unset}.editor-styles-wrapper .wp-block-omniform-input:focus,.editor-styles-wrapper input.wp-block-omniform-input.readonly:focus,.editor-styles-wrapper input.wp-block-omniform-input[readonly]:focus,.editor-styles-wrapper input[class=wp-block-omniform-input]:read-only:focus,.editor-styles-wrapper input[class=wp-block-omniform-input]:read-write:focus,.editor-styles-wrapper input[type=checkbox].wp-block-omniform-input:checked:focus,.editor-styles-wrapper input[type=checkbox].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=color] .wp-block-omniform-input:focus,.editor-styles-wrapper input[type=date].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=datetime-local].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=datetime].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=email].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=month].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=number].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=password].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=radio].wp-block-omniform-input:checked:focus,.editor-styles-wrapper input[type=search].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=tel].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=text].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=time].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=url].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=week].wp-block-omniform-input:focus{border-color:unset;outline:unset;outline-offset:unset}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox],input[class=wp-block-omniform-input]:-moz-read-only[type=radio],input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox],input[class=wp-block-omniform-input]:-moz-read-write[type=radio]{flex-shrink:0;height:1em;margin:0;padding:0;position:relative;width:1em}.wp-block-omniform-input[type=checkbox],.wp-block-omniform-input[type=radio],input.wp-block-omniform-input.readonly[type=checkbox],input.wp-block-omniform-input.readonly[type=radio],input.wp-block-omniform-input[readonly][type=checkbox],input.wp-block-omniform-input[readonly][type=radio],input[class=wp-block-omniform-input]:read-only[type=checkbox],input[class=wp-block-omniform-input]:read-only[type=radio],input[class=wp-block-omniform-input]:read-write[type=checkbox],input[class=wp-block-omniform-input]:read-write[type=radio],input[type=checkbox].wp-block-omniform-input:checked[type=checkbox],input[type=checkbox].wp-block-omniform-input:checked[type=radio],input[type=checkbox].wp-block-omniform-input[type=checkbox],input[type=checkbox].wp-block-omniform-input[type=radio],input[type=color] .wp-block-omniform-input[type=checkbox],input[type=color] .wp-block-omniform-input[type=radio],input[type=date].wp-block-omniform-input[type=checkbox],input[type=date].wp-block-omniform-input[type=radio],input[type=datetime-local].wp-block-omniform-input[type=checkbox],input[type=datetime-local].wp-block-omniform-input[type=radio],input[type=datetime].wp-block-omniform-input[type=checkbox],input[type=datetime].wp-block-omniform-input[type=radio],input[type=email].wp-block-omniform-input[type=checkbox],input[type=email].wp-block-omniform-input[type=radio],input[type=month].wp-block-omniform-input[type=checkbox],input[type=month].wp-block-omniform-input[type=radio],input[type=number].wp-block-omniform-input[type=checkbox],input[type=number].wp-block-omniform-input[type=radio],input[type=password].wp-block-omniform-input[type=checkbox],input[type=password].wp-block-omniform-input[type=radio],input[type=radio].wp-block-omniform-input:checked[type=checkbox],input[type=radio].wp-block-omniform-input:checked[type=radio],input[type=search].wp-block-omniform-input[type=checkbox],input[type=search].wp-block-omniform-input[type=radio],input[type=tel].wp-block-omniform-input[type=checkbox],input[type=tel].wp-block-omniform-input[type=radio],input[type=text].wp-block-omniform-input[type=checkbox],input[type=text].wp-block-omniform-input[type=radio],input[type=time].wp-block-omniform-input[type=checkbox],input[type=time].wp-block-omniform-input[type=radio],input[type=url].wp-block-omniform-input[type=checkbox],input[type=url].wp-block-omniform-input[type=radio],input[type=week].wp-block-omniform-input[type=checkbox],input[type=week].wp-block-omniform-input[type=radio]{flex-shrink:0;height:1em;margin:0;padding:0;position:relative;width:1em}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox][type=radio],input[class=wp-block-omniform-input]:-moz-read-only[type=radio][type=radio],input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox][type=radio],input[class=wp-block-omniform-input]:-moz-read-write[type=radio][type=radio]{border-radius:100%}.wp-block-omniform-input[type=checkbox][type=radio],.wp-block-omniform-input[type=radio][type=radio],input.wp-block-omniform-input.readonly[type=checkbox][type=radio],input.wp-block-omniform-input.readonly[type=radio][type=radio],input.wp-block-omniform-input[readonly][type=checkbox][type=radio],input.wp-block-omniform-input[readonly][type=radio][type=radio],input[class=wp-block-omniform-input]:read-only[type=checkbox][type=radio],input[class=wp-block-omniform-input]:read-only[type=radio][type=radio],input[class=wp-block-omniform-input]:read-write[type=checkbox][type=radio],input[class=wp-block-omniform-input]:read-write[type=radio][type=radio],input[type=checkbox].wp-block-omniform-input:checked[type=checkbox][type=radio],input[type=checkbox].wp-block-omniform-input:checked[type=radio][type=radio],input[type=checkbox].wp-block-omniform-input[type=checkbox][type=radio],input[type=checkbox].wp-block-omniform-input[type=radio][type=radio],input[type=color] .wp-block-omniform-input[type=checkbox][type=radio],input[type=color] .wp-block-omniform-input[type=radio][type=radio],input[type=date].wp-block-omniform-input[type=checkbox][type=radio],input[type=date].wp-block-omniform-input[type=radio][type=radio],input[type=datetime-local].wp-block-omniform-input[type=checkbox][type=radio],input[type=datetime-local].wp-block-omniform-input[type=radio][type=radio],input[type=datetime].wp-block-omniform-input[type=checkbox][type=radio],input[type=datetime].wp-block-omniform-input[type=radio][type=radio],input[type=email].wp-block-omniform-input[type=checkbox][type=radio],input[type=email].wp-block-omniform-input[type=radio][type=radio],input[type=month].wp-block-omniform-input[type=checkbox][type=radio],input[type=month].wp-block-omniform-input[type=radio][type=radio],input[type=number].wp-block-omniform-input[type=checkbox][type=radio],input[type=number].wp-block-omniform-input[type=radio][type=radio],input[type=password].wp-block-omniform-input[type=checkbox][type=radio],input[type=password].wp-block-omniform-input[type=radio][type=radio],input[type=radio].wp-block-omniform-input:checked[type=checkbox][type=radio],input[type=radio].wp-block-omniform-input:checked[type=radio][type=radio],input[type=search].wp-block-omniform-input[type=checkbox][type=radio],input[type=search].wp-block-omniform-input[type=radio][type=radio],input[type=tel].wp-block-omniform-input[type=checkbox][type=radio],input[type=tel].wp-block-omniform-input[type=radio][type=radio],input[type=text].wp-block-omniform-input[type=checkbox][type=radio],input[type=text].wp-block-omniform-input[type=radio][type=radio],input[type=time].wp-block-omniform-input[type=checkbox][type=radio],input[type=time].wp-block-omniform-input[type=radio][type=radio],input[type=url].wp-block-omniform-input[type=checkbox][type=radio],input[type=url].wp-block-omniform-input[type=radio][type=radio],input[type=week].wp-block-omniform-input[type=checkbox][type=radio],input[type=week].wp-block-omniform-input[type=radio][type=radio]{border-radius:100%}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox]:after,input[class=wp-block-omniform-input]:-moz-read-only[type=radio]:after,input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox]:after,input[class=wp-block-omniform-input]:-moz-read-write[type=radio]:after{content:none}.wp-block-omniform-input[type=checkbox]:after,.wp-block-omniform-input[type=radio]:after,input.wp-block-omniform-input.readonly[type=checkbox]:after,input.wp-block-omniform-input.readonly[type=radio]:after,input.wp-block-omniform-input[readonly][type=checkbox]:after,input.wp-block-omniform-input[readonly][type=radio]:after,input[class=wp-block-omniform-input]:read-only[type=checkbox]:after,input[class=wp-block-omniform-input]:read-only[type=radio]:after,input[class=wp-block-omniform-input]:read-write[type=checkbox]:after,input[class=wp-block-omniform-input]:read-write[type=radio]:after,input[type=checkbox].wp-block-omniform-input:checked[type=checkbox]:after,input[type=checkbox].wp-block-omniform-input:checked[type=radio]:after,input[type=checkbox].wp-block-omniform-input[type=checkbox]:after,input[type=checkbox].wp-block-omniform-input[type=radio]:after,input[type=color] .wp-block-omniform-input[type=checkbox]:after,input[type=color] .wp-block-omniform-input[type=radio]:after,input[type=date].wp-block-omniform-input[type=checkbox]:after,input[type=date].wp-block-omniform-input[type=radio]:after,input[type=datetime-local].wp-block-omniform-input[type=checkbox]:after,input[type=datetime-local].wp-block-omniform-input[type=radio]:after,input[type=datetime].wp-block-omniform-input[type=checkbox]:after,input[type=datetime].wp-block-omniform-input[type=radio]:after,input[type=email].wp-block-omniform-input[type=checkbox]:after,input[type=email].wp-block-omniform-input[type=radio]:after,input[type=month].wp-block-omniform-input[type=checkbox]:after,input[type=month].wp-block-omniform-input[type=radio]:after,input[type=number].wp-block-omniform-input[type=checkbox]:after,input[type=number].wp-block-omniform-input[type=radio]:after,input[type=password].wp-block-omniform-input[type=checkbox]:after,input[type=password].wp-block-omniform-input[type=radio]:after,input[type=radio].wp-block-omniform-input:checked[type=checkbox]:after,input[type=radio].wp-block-omniform-input:checked[type=radio]:after,input[type=search].wp-block-omniform-input[type=checkbox]:after,input[type=search].wp-block-omniform-input[type=radio]:after,input[type=tel].wp-block-omniform-input[type=checkbox]:after,input[type=tel].wp-block-omniform-input[type=radio]:after,input[type=text].wp-block-omniform-input[type=checkbox]:after,input[type=text].wp-block-omniform-input[type=radio]:after,input[type=time].wp-block-omniform-input[type=checkbox]:after,input[type=time].wp-block-omniform-input[type=radio]:after,input[type=url].wp-block-omniform-input[type=checkbox]:after,input[type=url].wp-block-omniform-input[type=radio]:after,input[type=week].wp-block-omniform-input[type=checkbox]:after,input[type=week].wp-block-omniform-input[type=radio]:after{content:none}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-only[type=radio]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=radio]:before{background-color:currentcolor;bottom:-1px;content:"";display:block;height:auto;left:-1px;margin:0;opacity:0;position:absolute;right:-1px;top:-1px;width:auto}.wp-block-omniform-input[type=checkbox]:before,.wp-block-omniform-input[type=radio]:before,input.wp-block-omniform-input.readonly[type=checkbox]:before,input.wp-block-omniform-input.readonly[type=radio]:before,input.wp-block-omniform-input[readonly][type=checkbox]:before,input.wp-block-omniform-input[readonly][type=radio]:before,input[class=wp-block-omniform-input]:read-only[type=checkbox]:before,input[class=wp-block-omniform-input]:read-only[type=radio]:before,input[class=wp-block-omniform-input]:read-write[type=checkbox]:before,input[class=wp-block-omniform-input]:read-write[type=radio]:before,input[type=checkbox].wp-block-omniform-input:checked[type=checkbox]:before,input[type=checkbox].wp-block-omniform-input:checked[type=radio]:before,input[type=checkbox].wp-block-omniform-input[type=checkbox]:before,input[type=checkbox].wp-block-omniform-input[type=radio]:before,input[type=color] .wp-block-omniform-input[type=checkbox]:before,input[type=color] .wp-block-omniform-input[type=radio]:before,input[type=date].wp-block-omniform-input[type=checkbox]:before,input[type=date].wp-block-omniform-input[type=radio]:before,input[type=datetime-local].wp-block-omniform-input[type=checkbox]:before,input[type=datetime-local].wp-block-omniform-input[type=radio]:before,input[type=datetime].wp-block-omniform-input[type=checkbox]:before,input[type=datetime].wp-block-omniform-input[type=radio]:before,input[type=email].wp-block-omniform-input[type=checkbox]:before,input[type=email].wp-block-omniform-input[type=radio]:before,input[type=month].wp-block-omniform-input[type=checkbox]:before,input[type=month].wp-block-omniform-input[type=radio]:before,input[type=number].wp-block-omniform-input[type=checkbox]:before,input[type=number].wp-block-omniform-input[type=radio]:before,input[type=password].wp-block-omniform-input[type=checkbox]:before,input[type=password].wp-block-omniform-input[type=radio]:before,input[type=radio].wp-block-omniform-input:checked[type=checkbox]:before,input[type=radio].wp-block-omniform-input:checked[type=radio]:before,input[type=search].wp-block-omniform-input[type=checkbox]:before,input[type=search].wp-block-omniform-input[type=radio]:before,input[type=tel].wp-block-omniform-input[type=checkbox]:before,input[type=tel].wp-block-omniform-input[type=radio]:before,input[type=text].wp-block-omniform-input[type=checkbox]:before,input[type=text].wp-block-omniform-input[type=radio]:before,input[type=time].wp-block-omniform-input[type=checkbox]:before,input[type=time].wp-block-omniform-input[type=radio]:before,input[type=url].wp-block-omniform-input[type=checkbox]:before,input[type=url].wp-block-omniform-input[type=radio]:before,input[type=week].wp-block-omniform-input[type=checkbox]:before,input[type=week].wp-block-omniform-input[type=radio]:before{background-color:currentcolor;bottom:-1px;content:"";display:block;height:auto;left:-1px;margin:0;opacity:0;position:absolute;right:-1px;top:-1px;width:auto}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox]:checked:before,input[class=wp-block-omniform-input]:-moz-read-only[type=radio]:checked:before,input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox]:checked:before,input[class=wp-block-omniform-input]:-moz-read-write[type=radio]:checked:before{opacity:1}.wp-block-omniform-input[type=checkbox]:checked:before,.wp-block-omniform-input[type=radio]:checked:before,input.wp-block-omniform-input.readonly[type=checkbox]:checked:before,input.wp-block-omniform-input.readonly[type=radio]:checked:before,input.wp-block-omniform-input[readonly][type=checkbox]:checked:before,input.wp-block-omniform-input[readonly][type=radio]:checked:before,input[class=wp-block-omniform-input]:read-only[type=checkbox]:checked:before,input[class=wp-block-omniform-input]:read-only[type=radio]:checked:before,input[class=wp-block-omniform-input]:read-write[type=checkbox]:checked:before,input[class=wp-block-omniform-input]:read-write[type=radio]:checked:before,input[type=checkbox].wp-block-omniform-input:checked[type=checkbox]:checked:before,input[type=checkbox].wp-block-omniform-input:checked[type=radio]:checked:before,input[type=checkbox].wp-block-omniform-input[type=checkbox]:checked:before,input[type=checkbox].wp-block-omniform-input[type=radio]:checked:before,input[type=color] .wp-block-omniform-input[type=checkbox]:checked:before,input[type=color] .wp-block-omniform-input[type=radio]:checked:before,input[type=date].wp-block-omniform-input[type=checkbox]:checked:before,input[type=date].wp-block-omniform-input[type=radio]:checked:before,input[type=datetime-local].wp-block-omniform-input[type=checkbox]:checked:before,input[type=datetime-local].wp-block-omniform-input[type=radio]:checked:before,input[type=datetime].wp-block-omniform-input[type=checkbox]:checked:before,input[type=datetime].wp-block-omniform-input[type=radio]:checked:before,input[type=email].wp-block-omniform-input[type=checkbox]:checked:before,input[type=email].wp-block-omniform-input[type=radio]:checked:before,input[type=month].wp-block-omniform-input[type=checkbox]:checked:before,input[type=month].wp-block-omniform-input[type=radio]:checked:before,input[type=number].wp-block-omniform-input[type=checkbox]:checked:before,input[type=number].wp-block-omniform-input[type=radio]:checked:before,input[type=password].wp-block-omniform-input[type=checkbox]:checked:before,input[type=password].wp-block-omniform-input[type=radio]:checked:before,input[type=radio].wp-block-omniform-input:checked[type=checkbox]:checked:before,input[type=radio].wp-block-omniform-input:checked[type=radio]:checked:before,input[type=search].wp-block-omniform-input[type=checkbox]:checked:before,input[type=search].wp-block-omniform-input[type=radio]:checked:before,input[type=tel].wp-block-omniform-input[type=checkbox]:checked:before,input[type=tel].wp-block-omniform-input[type=radio]:checked:before,input[type=text].wp-block-omniform-input[type=checkbox]:checked:before,input[type=text].wp-block-omniform-input[type=radio]:checked:before,input[type=time].wp-block-omniform-input[type=checkbox]:checked:before,input[type=time].wp-block-omniform-input[type=radio]:checked:before,input[type=url].wp-block-omniform-input[type=checkbox]:checked:before,input[type=url].wp-block-omniform-input[type=radio]:checked:before,input[type=week].wp-block-omniform-input[type=checkbox]:checked:before,input[type=week].wp-block-omniform-input[type=radio]:checked:before{opacity:1}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox][type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-only[type=radio][type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox][type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=radio][type=checkbox]:before{border-radius:.25em;mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23000%27 fill-rule=%27evenodd%27 d=%27M20 0H0v20h20V0Zm-4.44 8.06a1.5 1.5 0 0 0-2.12-2.12L8.5 10.878l-1.94-1.94a1.5 1.5 0 1 0-2.12 2.122l3 3a1.5 1.5 0 0 0 2.12 0l6-6Z%27 clip-rule=%27evenodd%27/%3E%3C/svg%3E")}.wp-block-omniform-input[type=checkbox][type=checkbox]:before,.wp-block-omniform-input[type=radio][type=checkbox]:before,input.wp-block-omniform-input.readonly[type=checkbox][type=checkbox]:before,input.wp-block-omniform-input.readonly[type=radio][type=checkbox]:before,input.wp-block-omniform-input[readonly][type=checkbox][type=checkbox]:before,input.wp-block-omniform-input[readonly][type=radio][type=checkbox]:before,input[class=wp-block-omniform-input]:read-only[type=checkbox][type=checkbox]:before,input[class=wp-block-omniform-input]:read-only[type=radio][type=checkbox]:before,input[class=wp-block-omniform-input]:read-write[type=checkbox][type=checkbox]:before,input[class=wp-block-omniform-input]:read-write[type=radio][type=checkbox]:before,input[type=checkbox].wp-block-omniform-input:checked[type=checkbox][type=checkbox]:before,input[type=checkbox].wp-block-omniform-input:checked[type=radio][type=checkbox]:before,input[type=checkbox].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=checkbox].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=color] .wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=color] .wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=date].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=date].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=datetime-local].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=datetime-local].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=datetime].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=datetime].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=email].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=email].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=month].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=month].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=number].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=number].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=password].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=password].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=radio].wp-block-omniform-input:checked[type=checkbox][type=checkbox]:before,input[type=radio].wp-block-omniform-input:checked[type=radio][type=checkbox]:before,input[type=search].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=search].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=tel].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=tel].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=text].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=text].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=time].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=time].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=url].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=url].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=week].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=week].wp-block-omniform-input[type=radio][type=checkbox]:before{border-radius:.25em;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23000%27 fill-rule=%27evenodd%27 d=%27M20 0H0v20h20V0Zm-4.44 8.06a1.5 1.5 0 0 0-2.12-2.12L8.5 10.878l-1.94-1.94a1.5 1.5 0 1 0-2.12 2.122l3 3a1.5 1.5 0 0 0 2.12 0l6-6Z%27 clip-rule=%27evenodd%27/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23000%27 fill-rule=%27evenodd%27 d=%27M20 0H0v20h20V0Zm-4.44 8.06a1.5 1.5 0 0 0-2.12-2.12L8.5 10.878l-1.94-1.94a1.5 1.5 0 1 0-2.12 2.122l3 3a1.5 1.5 0 0 0 2.12 0l6-6Z%27 clip-rule=%27evenodd%27/%3E%3C/svg%3E")}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox][type=radio]:before,input[class=wp-block-omniform-input]:-moz-read-only[type=radio][type=radio]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox][type=radio]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=radio][type=radio]:before{border-radius:100%;mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23000%27 fill-rule=%27evenodd%27 d=%27M20 0H0v20h20V0Zm-8 10a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z%27 clip-rule=%27evenodd%27/%3E%3C/svg%3E")}.wp-block-omniform-input[type=checkbox][type=radio]:before,.wp-block-omniform-input[type=radio][type=radio]:before,input.wp-block-omniform-input.readonly[type=checkbox][type=radio]:before,input.wp-block-omniform-input.readonly[type=radio][type=radio]:before,input.wp-block-omniform-input[readonly][type=checkbox][type=radio]:before,input.wp-block-omniform-input[readonly][type=radio][type=radio]:before,input[class=wp-block-omniform-input]:read-only[type=checkbox][type=radio]:before,input[class=wp-block-omniform-input]:read-only[type=radio][type=radio]:before,input[class=wp-block-omniform-input]:read-write[type=checkbox][type=radio]:before,input[class=wp-block-omniform-input]:read-write[type=radio][type=radio]:before,input[type=checkbox].wp-block-omniform-input:checked[type=checkbox][type=radio]:before,input[type=checkbox].wp-block-omniform-input:checked[type=radio][type=radio]:before,input[type=checkbox].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=checkbox].wp-block-omniform-input[type=radio][type=radio]:before,input[type=color] .wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=color] .wp-block-omniform-input[type=radio][type=radio]:before,input[type=date].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=date].wp-block-omniform-input[type=radio][type=radio]:before,input[type=datetime-local].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=datetime-local].wp-block-omniform-input[type=radio][type=radio]:before,input[type=datetime].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=datetime].wp-block-omniform-input[type=radio][type=radio]:before,input[type=email].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=email].wp-block-omniform-input[type=radio][type=radio]:before,input[type=month].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=month].wp-block-omniform-input[type=radio][type=radio]:before,input[type=number].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=number].wp-block-omniform-input[type=radio][type=radio]:before,input[type=password].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=password].wp-block-omniform-input[type=radio][type=radio]:before,input[type=radio].wp-block-omniform-input:checked[type=checkbox][type=radio]:before,input[type=radio].wp-block-omniform-input:checked[type=radio][type=radio]:before,input[type=search].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=search].wp-block-omniform-input[type=radio][type=radio]:before,input[type=tel].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=tel].wp-block-omniform-input[type=radio][type=radio]:before,input[type=text].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=text].wp-block-omniform-input[type=radio][type=radio]:before,input[type=time].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=time].wp-block-omniform-input[type=radio][type=radio]:before,input[type=url].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=url].wp-block-omniform-input[type=radio][type=radio]:before,input[type=week].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=week].wp-block-omniform-input[type=radio][type=radio]:before{border-radius:100%;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23000%27 fill-rule=%27evenodd%27 d=%27M20 0H0v20h20V0Zm-8 10a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z%27 clip-rule=%27evenodd%27/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23000%27 fill-rule=%27evenodd%27 d=%27M20 0H0v20h20V0Zm-8 10a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z%27 clip-rule=%27evenodd%27/%3E%3C/svg%3E")}
     1input[class=wp-block-omniform-input]:-moz-read-only,input[class=wp-block-omniform-input]:-moz-read-write{-moz-appearance:none;appearance:none;background-color:transparent;border:1px solid;border-radius:.25em;box-shadow:none;box-sizing:border-box;color:currentcolor;display:block;font-size:inherit;line-height:inherit;margin:0;max-width:none;min-height:auto;outline:0 solid transparent;outline-offset:-2px;padding:.5em .75em}.wp-block-omniform-input,input.wp-block-omniform-input.readonly,input.wp-block-omniform-input[readonly],input[class=wp-block-omniform-input]:read-only,input[class=wp-block-omniform-input]:read-write,input[type=checkbox].wp-block-omniform-input,input[type=checkbox].wp-block-omniform-input:checked,input[type=color] .wp-block-omniform-input,input[type=date].wp-block-omniform-input,input[type=datetime-local].wp-block-omniform-input,input[type=datetime].wp-block-omniform-input,input[type=email].wp-block-omniform-input,input[type=month].wp-block-omniform-input,input[type=number].wp-block-omniform-input,input[type=password].wp-block-omniform-input,input[type=radio].wp-block-omniform-input:checked,input[type=search].wp-block-omniform-input,input[type=tel].wp-block-omniform-input,input[type=text].wp-block-omniform-input,input[type=time].wp-block-omniform-input,input[type=url].wp-block-omniform-input,input[type=week].wp-block-omniform-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:1px solid;border-radius:.25em;box-shadow:none;box-sizing:border-box;color:currentcolor;display:block;font-size:inherit;line-height:inherit;margin:0;max-width:none;min-height:auto;outline:0 solid transparent;outline-offset:-2px;padding:.5em .75em}input[class=wp-block-omniform-input]:-moz-read-only,input[class=wp-block-omniform-input]:-moz-read-only:before,input[class=wp-block-omniform-input]:-moz-read-write,input[class=wp-block-omniform-input]:-moz-read-write:before{transition-duration:.1s;-moz-transition-property:background-color,border-color,box-shadow,color,opacity,outline,outline-offset;transition-property:background-color,border-color,box-shadow,color,opacity,outline,outline-offset;transition-timing-function:ease-in-out}.wp-block-omniform-input,.wp-block-omniform-input:before,input.wp-block-omniform-input.readonly,input.wp-block-omniform-input.readonly:before,input.wp-block-omniform-input[readonly],input.wp-block-omniform-input[readonly]:before,input[class=wp-block-omniform-input]:read-only,input[class=wp-block-omniform-input]:read-only:before,input[class=wp-block-omniform-input]:read-write,input[class=wp-block-omniform-input]:read-write:before,input[type=checkbox].wp-block-omniform-input,input[type=checkbox].wp-block-omniform-input:before,input[type=checkbox].wp-block-omniform-input:checked,input[type=checkbox].wp-block-omniform-input:checked:before,input[type=color] .wp-block-omniform-input,input[type=color] .wp-block-omniform-input:before,input[type=date].wp-block-omniform-input,input[type=date].wp-block-omniform-input:before,input[type=datetime-local].wp-block-omniform-input,input[type=datetime-local].wp-block-omniform-input:before,input[type=datetime].wp-block-omniform-input,input[type=datetime].wp-block-omniform-input:before,input[type=email].wp-block-omniform-input,input[type=email].wp-block-omniform-input:before,input[type=month].wp-block-omniform-input,input[type=month].wp-block-omniform-input:before,input[type=number].wp-block-omniform-input,input[type=number].wp-block-omniform-input:before,input[type=password].wp-block-omniform-input,input[type=password].wp-block-omniform-input:before,input[type=radio].wp-block-omniform-input:checked,input[type=radio].wp-block-omniform-input:checked:before,input[type=search].wp-block-omniform-input,input[type=search].wp-block-omniform-input:before,input[type=tel].wp-block-omniform-input,input[type=tel].wp-block-omniform-input:before,input[type=text].wp-block-omniform-input,input[type=text].wp-block-omniform-input:before,input[type=time].wp-block-omniform-input,input[type=time].wp-block-omniform-input:before,input[type=url].wp-block-omniform-input,input[type=url].wp-block-omniform-input:before,input[type=week].wp-block-omniform-input,input[type=week].wp-block-omniform-input:before{transition-duration:.1s;transition-property:background-color,border-color,box-shadow,color,opacity,outline,outline-offset;transition-timing-function:ease-in-out}input[class=wp-block-omniform-input]:-moz-read-only:focus,input[class=wp-block-omniform-input]:-moz-read-write:focus{outline:2px solid currentcolor;outline-offset:2px}.wp-block-omniform-input:focus,input.wp-block-omniform-input.readonly:focus,input.wp-block-omniform-input[readonly]:focus,input[class=wp-block-omniform-input]:read-only:focus,input[class=wp-block-omniform-input]:read-write:focus,input[type=checkbox].wp-block-omniform-input:checked:focus,input[type=checkbox].wp-block-omniform-input:focus,input[type=color] .wp-block-omniform-input:focus,input[type=date].wp-block-omniform-input:focus,input[type=datetime-local].wp-block-omniform-input:focus,input[type=datetime].wp-block-omniform-input:focus,input[type=email].wp-block-omniform-input:focus,input[type=month].wp-block-omniform-input:focus,input[type=number].wp-block-omniform-input:focus,input[type=password].wp-block-omniform-input:focus,input[type=radio].wp-block-omniform-input:checked:focus,input[type=search].wp-block-omniform-input:focus,input[type=tel].wp-block-omniform-input:focus,input[type=text].wp-block-omniform-input:focus,input[type=time].wp-block-omniform-input:focus,input[type=url].wp-block-omniform-input:focus,input[type=week].wp-block-omniform-input:focus{outline:2px solid currentcolor;outline-offset:2px}input[class=wp-block-omniform-input]:-moz-read-only:not(.has-custom-border):focus,input[class=wp-block-omniform-input]:-moz-read-write:not(.has-custom-border):focus{border-color:transparent}.wp-block-omniform-input:not(.has-custom-border):focus,input.wp-block-omniform-input.readonly:not(.has-custom-border):focus,input.wp-block-omniform-input[readonly]:not(.has-custom-border):focus,input[class=wp-block-omniform-input]:read-only:not(.has-custom-border):focus,input[class=wp-block-omniform-input]:read-write:not(.has-custom-border):focus,input[type=checkbox].wp-block-omniform-input:checked:not(.has-custom-border):focus,input[type=checkbox].wp-block-omniform-input:not(.has-custom-border):focus,input[type=color] .wp-block-omniform-input:not(.has-custom-border):focus,input[type=date].wp-block-omniform-input:not(.has-custom-border):focus,input[type=datetime-local].wp-block-omniform-input:not(.has-custom-border):focus,input[type=datetime].wp-block-omniform-input:not(.has-custom-border):focus,input[type=email].wp-block-omniform-input:not(.has-custom-border):focus,input[type=month].wp-block-omniform-input:not(.has-custom-border):focus,input[type=number].wp-block-omniform-input:not(.has-custom-border):focus,input[type=password].wp-block-omniform-input:not(.has-custom-border):focus,input[type=radio].wp-block-omniform-input:checked:not(.has-custom-border):focus,input[type=search].wp-block-omniform-input:not(.has-custom-border):focus,input[type=tel].wp-block-omniform-input:not(.has-custom-border):focus,input[type=text].wp-block-omniform-input:not(.has-custom-border):focus,input[type=time].wp-block-omniform-input:not(.has-custom-border):focus,input[type=url].wp-block-omniform-input:not(.has-custom-border):focus,input[type=week].wp-block-omniform-input:not(.has-custom-border):focus{border-color:transparent}.editor-styles-wrapper input[class=wp-block-omniform-input]:-moz-read-only:focus,.editor-styles-wrapper input[class=wp-block-omniform-input]:-moz-read-write:focus{border-color:unset;outline:unset;outline-offset:unset}.editor-styles-wrapper .wp-block-omniform-input:focus,.editor-styles-wrapper input.wp-block-omniform-input.readonly:focus,.editor-styles-wrapper input.wp-block-omniform-input[readonly]:focus,.editor-styles-wrapper input[class=wp-block-omniform-input]:read-only:focus,.editor-styles-wrapper input[class=wp-block-omniform-input]:read-write:focus,.editor-styles-wrapper input[type=checkbox].wp-block-omniform-input:checked:focus,.editor-styles-wrapper input[type=checkbox].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=color] .wp-block-omniform-input:focus,.editor-styles-wrapper input[type=date].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=datetime-local].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=datetime].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=email].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=month].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=number].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=password].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=radio].wp-block-omniform-input:checked:focus,.editor-styles-wrapper input[type=search].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=tel].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=text].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=time].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=url].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=week].wp-block-omniform-input:focus{border-color:unset;outline:unset;outline-offset:unset}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox],input[class=wp-block-omniform-input]:-moz-read-only[type=radio],input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox],input[class=wp-block-omniform-input]:-moz-read-write[type=radio]{flex-shrink:0;height:1em;margin:0;padding:0;position:relative;width:1em}.wp-block-omniform-input[type=checkbox],.wp-block-omniform-input[type=radio],input.wp-block-omniform-input.readonly[type=checkbox],input.wp-block-omniform-input.readonly[type=radio],input.wp-block-omniform-input[readonly][type=checkbox],input.wp-block-omniform-input[readonly][type=radio],input[class=wp-block-omniform-input]:read-only[type=checkbox],input[class=wp-block-omniform-input]:read-only[type=radio],input[class=wp-block-omniform-input]:read-write[type=checkbox],input[class=wp-block-omniform-input]:read-write[type=radio],input[type=checkbox].wp-block-omniform-input:checked[type=checkbox],input[type=checkbox].wp-block-omniform-input:checked[type=radio],input[type=checkbox].wp-block-omniform-input[type=checkbox],input[type=checkbox].wp-block-omniform-input[type=radio],input[type=color] .wp-block-omniform-input[type=checkbox],input[type=color] .wp-block-omniform-input[type=radio],input[type=date].wp-block-omniform-input[type=checkbox],input[type=date].wp-block-omniform-input[type=radio],input[type=datetime-local].wp-block-omniform-input[type=checkbox],input[type=datetime-local].wp-block-omniform-input[type=radio],input[type=datetime].wp-block-omniform-input[type=checkbox],input[type=datetime].wp-block-omniform-input[type=radio],input[type=email].wp-block-omniform-input[type=checkbox],input[type=email].wp-block-omniform-input[type=radio],input[type=month].wp-block-omniform-input[type=checkbox],input[type=month].wp-block-omniform-input[type=radio],input[type=number].wp-block-omniform-input[type=checkbox],input[type=number].wp-block-omniform-input[type=radio],input[type=password].wp-block-omniform-input[type=checkbox],input[type=password].wp-block-omniform-input[type=radio],input[type=radio].wp-block-omniform-input:checked[type=checkbox],input[type=radio].wp-block-omniform-input:checked[type=radio],input[type=search].wp-block-omniform-input[type=checkbox],input[type=search].wp-block-omniform-input[type=radio],input[type=tel].wp-block-omniform-input[type=checkbox],input[type=tel].wp-block-omniform-input[type=radio],input[type=text].wp-block-omniform-input[type=checkbox],input[type=text].wp-block-omniform-input[type=radio],input[type=time].wp-block-omniform-input[type=checkbox],input[type=time].wp-block-omniform-input[type=radio],input[type=url].wp-block-omniform-input[type=checkbox],input[type=url].wp-block-omniform-input[type=radio],input[type=week].wp-block-omniform-input[type=checkbox],input[type=week].wp-block-omniform-input[type=radio]{flex-shrink:0;height:1em;margin:0;padding:0;position:relative;width:1em}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox][type=radio],input[class=wp-block-omniform-input]:-moz-read-only[type=radio][type=radio],input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox][type=radio],input[class=wp-block-omniform-input]:-moz-read-write[type=radio][type=radio]{border-radius:100%}.wp-block-omniform-input[type=checkbox][type=radio],.wp-block-omniform-input[type=radio][type=radio],input.wp-block-omniform-input.readonly[type=checkbox][type=radio],input.wp-block-omniform-input.readonly[type=radio][type=radio],input.wp-block-omniform-input[readonly][type=checkbox][type=radio],input.wp-block-omniform-input[readonly][type=radio][type=radio],input[class=wp-block-omniform-input]:read-only[type=checkbox][type=radio],input[class=wp-block-omniform-input]:read-only[type=radio][type=radio],input[class=wp-block-omniform-input]:read-write[type=checkbox][type=radio],input[class=wp-block-omniform-input]:read-write[type=radio][type=radio],input[type=checkbox].wp-block-omniform-input:checked[type=checkbox][type=radio],input[type=checkbox].wp-block-omniform-input:checked[type=radio][type=radio],input[type=checkbox].wp-block-omniform-input[type=checkbox][type=radio],input[type=checkbox].wp-block-omniform-input[type=radio][type=radio],input[type=color] .wp-block-omniform-input[type=checkbox][type=radio],input[type=color] .wp-block-omniform-input[type=radio][type=radio],input[type=date].wp-block-omniform-input[type=checkbox][type=radio],input[type=date].wp-block-omniform-input[type=radio][type=radio],input[type=datetime-local].wp-block-omniform-input[type=checkbox][type=radio],input[type=datetime-local].wp-block-omniform-input[type=radio][type=radio],input[type=datetime].wp-block-omniform-input[type=checkbox][type=radio],input[type=datetime].wp-block-omniform-input[type=radio][type=radio],input[type=email].wp-block-omniform-input[type=checkbox][type=radio],input[type=email].wp-block-omniform-input[type=radio][type=radio],input[type=month].wp-block-omniform-input[type=checkbox][type=radio],input[type=month].wp-block-omniform-input[type=radio][type=radio],input[type=number].wp-block-omniform-input[type=checkbox][type=radio],input[type=number].wp-block-omniform-input[type=radio][type=radio],input[type=password].wp-block-omniform-input[type=checkbox][type=radio],input[type=password].wp-block-omniform-input[type=radio][type=radio],input[type=radio].wp-block-omniform-input:checked[type=checkbox][type=radio],input[type=radio].wp-block-omniform-input:checked[type=radio][type=radio],input[type=search].wp-block-omniform-input[type=checkbox][type=radio],input[type=search].wp-block-omniform-input[type=radio][type=radio],input[type=tel].wp-block-omniform-input[type=checkbox][type=radio],input[type=tel].wp-block-omniform-input[type=radio][type=radio],input[type=text].wp-block-omniform-input[type=checkbox][type=radio],input[type=text].wp-block-omniform-input[type=radio][type=radio],input[type=time].wp-block-omniform-input[type=checkbox][type=radio],input[type=time].wp-block-omniform-input[type=radio][type=radio],input[type=url].wp-block-omniform-input[type=checkbox][type=radio],input[type=url].wp-block-omniform-input[type=radio][type=radio],input[type=week].wp-block-omniform-input[type=checkbox][type=radio],input[type=week].wp-block-omniform-input[type=radio][type=radio]{border-radius:100%}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox]:after,input[class=wp-block-omniform-input]:-moz-read-only[type=radio]:after,input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox]:after,input[class=wp-block-omniform-input]:-moz-read-write[type=radio]:after{content:none}.wp-block-omniform-input[type=checkbox]:after,.wp-block-omniform-input[type=radio]:after,input.wp-block-omniform-input.readonly[type=checkbox]:after,input.wp-block-omniform-input.readonly[type=radio]:after,input.wp-block-omniform-input[readonly][type=checkbox]:after,input.wp-block-omniform-input[readonly][type=radio]:after,input[class=wp-block-omniform-input]:read-only[type=checkbox]:after,input[class=wp-block-omniform-input]:read-only[type=radio]:after,input[class=wp-block-omniform-input]:read-write[type=checkbox]:after,input[class=wp-block-omniform-input]:read-write[type=radio]:after,input[type=checkbox].wp-block-omniform-input:checked[type=checkbox]:after,input[type=checkbox].wp-block-omniform-input:checked[type=radio]:after,input[type=checkbox].wp-block-omniform-input[type=checkbox]:after,input[type=checkbox].wp-block-omniform-input[type=radio]:after,input[type=color] .wp-block-omniform-input[type=checkbox]:after,input[type=color] .wp-block-omniform-input[type=radio]:after,input[type=date].wp-block-omniform-input[type=checkbox]:after,input[type=date].wp-block-omniform-input[type=radio]:after,input[type=datetime-local].wp-block-omniform-input[type=checkbox]:after,input[type=datetime-local].wp-block-omniform-input[type=radio]:after,input[type=datetime].wp-block-omniform-input[type=checkbox]:after,input[type=datetime].wp-block-omniform-input[type=radio]:after,input[type=email].wp-block-omniform-input[type=checkbox]:after,input[type=email].wp-block-omniform-input[type=radio]:after,input[type=month].wp-block-omniform-input[type=checkbox]:after,input[type=month].wp-block-omniform-input[type=radio]:after,input[type=number].wp-block-omniform-input[type=checkbox]:after,input[type=number].wp-block-omniform-input[type=radio]:after,input[type=password].wp-block-omniform-input[type=checkbox]:after,input[type=password].wp-block-omniform-input[type=radio]:after,input[type=radio].wp-block-omniform-input:checked[type=checkbox]:after,input[type=radio].wp-block-omniform-input:checked[type=radio]:after,input[type=search].wp-block-omniform-input[type=checkbox]:after,input[type=search].wp-block-omniform-input[type=radio]:after,input[type=tel].wp-block-omniform-input[type=checkbox]:after,input[type=tel].wp-block-omniform-input[type=radio]:after,input[type=text].wp-block-omniform-input[type=checkbox]:after,input[type=text].wp-block-omniform-input[type=radio]:after,input[type=time].wp-block-omniform-input[type=checkbox]:after,input[type=time].wp-block-omniform-input[type=radio]:after,input[type=url].wp-block-omniform-input[type=checkbox]:after,input[type=url].wp-block-omniform-input[type=radio]:after,input[type=week].wp-block-omniform-input[type=checkbox]:after,input[type=week].wp-block-omniform-input[type=radio]:after{content:none}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-only[type=radio]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=radio]:before{background-color:currentcolor;bottom:-1px;content:"";display:block;height:auto;left:-1px;margin:0;opacity:0;position:absolute;right:-1px;top:-1px;width:auto}.wp-block-omniform-input[type=checkbox]:before,.wp-block-omniform-input[type=radio]:before,input.wp-block-omniform-input.readonly[type=checkbox]:before,input.wp-block-omniform-input.readonly[type=radio]:before,input.wp-block-omniform-input[readonly][type=checkbox]:before,input.wp-block-omniform-input[readonly][type=radio]:before,input[class=wp-block-omniform-input]:read-only[type=checkbox]:before,input[class=wp-block-omniform-input]:read-only[type=radio]:before,input[class=wp-block-omniform-input]:read-write[type=checkbox]:before,input[class=wp-block-omniform-input]:read-write[type=radio]:before,input[type=checkbox].wp-block-omniform-input:checked[type=checkbox]:before,input[type=checkbox].wp-block-omniform-input:checked[type=radio]:before,input[type=checkbox].wp-block-omniform-input[type=checkbox]:before,input[type=checkbox].wp-block-omniform-input[type=radio]:before,input[type=color] .wp-block-omniform-input[type=checkbox]:before,input[type=color] .wp-block-omniform-input[type=radio]:before,input[type=date].wp-block-omniform-input[type=checkbox]:before,input[type=date].wp-block-omniform-input[type=radio]:before,input[type=datetime-local].wp-block-omniform-input[type=checkbox]:before,input[type=datetime-local].wp-block-omniform-input[type=radio]:before,input[type=datetime].wp-block-omniform-input[type=checkbox]:before,input[type=datetime].wp-block-omniform-input[type=radio]:before,input[type=email].wp-block-omniform-input[type=checkbox]:before,input[type=email].wp-block-omniform-input[type=radio]:before,input[type=month].wp-block-omniform-input[type=checkbox]:before,input[type=month].wp-block-omniform-input[type=radio]:before,input[type=number].wp-block-omniform-input[type=checkbox]:before,input[type=number].wp-block-omniform-input[type=radio]:before,input[type=password].wp-block-omniform-input[type=checkbox]:before,input[type=password].wp-block-omniform-input[type=radio]:before,input[type=radio].wp-block-omniform-input:checked[type=checkbox]:before,input[type=radio].wp-block-omniform-input:checked[type=radio]:before,input[type=search].wp-block-omniform-input[type=checkbox]:before,input[type=search].wp-block-omniform-input[type=radio]:before,input[type=tel].wp-block-omniform-input[type=checkbox]:before,input[type=tel].wp-block-omniform-input[type=radio]:before,input[type=text].wp-block-omniform-input[type=checkbox]:before,input[type=text].wp-block-omniform-input[type=radio]:before,input[type=time].wp-block-omniform-input[type=checkbox]:before,input[type=time].wp-block-omniform-input[type=radio]:before,input[type=url].wp-block-omniform-input[type=checkbox]:before,input[type=url].wp-block-omniform-input[type=radio]:before,input[type=week].wp-block-omniform-input[type=checkbox]:before,input[type=week].wp-block-omniform-input[type=radio]:before{background-color:currentcolor;bottom:-1px;content:"";display:block;height:auto;left:-1px;margin:0;opacity:0;position:absolute;right:-1px;top:-1px;width:auto}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox]:checked:before,input[class=wp-block-omniform-input]:-moz-read-only[type=radio]:checked:before,input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox]:checked:before,input[class=wp-block-omniform-input]:-moz-read-write[type=radio]:checked:before{opacity:1}.wp-block-omniform-input[type=checkbox]:checked:before,.wp-block-omniform-input[type=radio]:checked:before,input.wp-block-omniform-input.readonly[type=checkbox]:checked:before,input.wp-block-omniform-input.readonly[type=radio]:checked:before,input.wp-block-omniform-input[readonly][type=checkbox]:checked:before,input.wp-block-omniform-input[readonly][type=radio]:checked:before,input[class=wp-block-omniform-input]:read-only[type=checkbox]:checked:before,input[class=wp-block-omniform-input]:read-only[type=radio]:checked:before,input[class=wp-block-omniform-input]:read-write[type=checkbox]:checked:before,input[class=wp-block-omniform-input]:read-write[type=radio]:checked:before,input[type=checkbox].wp-block-omniform-input:checked[type=checkbox]:checked:before,input[type=checkbox].wp-block-omniform-input:checked[type=radio]:checked:before,input[type=checkbox].wp-block-omniform-input[type=checkbox]:checked:before,input[type=checkbox].wp-block-omniform-input[type=radio]:checked:before,input[type=color] .wp-block-omniform-input[type=checkbox]:checked:before,input[type=color] .wp-block-omniform-input[type=radio]:checked:before,input[type=date].wp-block-omniform-input[type=checkbox]:checked:before,input[type=date].wp-block-omniform-input[type=radio]:checked:before,input[type=datetime-local].wp-block-omniform-input[type=checkbox]:checked:before,input[type=datetime-local].wp-block-omniform-input[type=radio]:checked:before,input[type=datetime].wp-block-omniform-input[type=checkbox]:checked:before,input[type=datetime].wp-block-omniform-input[type=radio]:checked:before,input[type=email].wp-block-omniform-input[type=checkbox]:checked:before,input[type=email].wp-block-omniform-input[type=radio]:checked:before,input[type=month].wp-block-omniform-input[type=checkbox]:checked:before,input[type=month].wp-block-omniform-input[type=radio]:checked:before,input[type=number].wp-block-omniform-input[type=checkbox]:checked:before,input[type=number].wp-block-omniform-input[type=radio]:checked:before,input[type=password].wp-block-omniform-input[type=checkbox]:checked:before,input[type=password].wp-block-omniform-input[type=radio]:checked:before,input[type=radio].wp-block-omniform-input:checked[type=checkbox]:checked:before,input[type=radio].wp-block-omniform-input:checked[type=radio]:checked:before,input[type=search].wp-block-omniform-input[type=checkbox]:checked:before,input[type=search].wp-block-omniform-input[type=radio]:checked:before,input[type=tel].wp-block-omniform-input[type=checkbox]:checked:before,input[type=tel].wp-block-omniform-input[type=radio]:checked:before,input[type=text].wp-block-omniform-input[type=checkbox]:checked:before,input[type=text].wp-block-omniform-input[type=radio]:checked:before,input[type=time].wp-block-omniform-input[type=checkbox]:checked:before,input[type=time].wp-block-omniform-input[type=radio]:checked:before,input[type=url].wp-block-omniform-input[type=checkbox]:checked:before,input[type=url].wp-block-omniform-input[type=radio]:checked:before,input[type=week].wp-block-omniform-input[type=checkbox]:checked:before,input[type=week].wp-block-omniform-input[type=radio]:checked:before{opacity:1}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox][type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-only[type=radio][type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox][type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=radio][type=checkbox]:before{border-radius:.25em;mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23000%27 fill-rule=%27evenodd%27 d=%27M20 0H0v20h20}
  • omniform/tags/1.2.0/build/block-library/label/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-core-data', 'wp-data', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '0414c5ae79301c57388b');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-core-data', 'wp-data', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '');
  • omniform/tags/1.2.0/build/block-library/label/index.js

    r2994256 r3068146  
    1 (()=>{"use strict";var e,l={538:()=>{const e=window.wp.i18n,l=window.wp.blocks,t=JSON.parse('{"name":"omniform/label"}'),a=window.React,c=window.wp.blockEditor,h=window.wp.coreData,i=window.wp.data,r=window.wp.url,n=window.wp.primitives,v=((0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"}))),{name:o}=((0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,a.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,a.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{d:"M7 7h2v2H7V7Z"}),(0,a.createElement)(n.Path,{d:"M9 11H7v2h2v-2Z"}),(0,a.createElement)(n.Path,{d:"M7 15h2v2H7v-2Z"}),(0,a.createElement)(n.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,a.createElement)(n.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,a.createElement)(n.Path,{d:"M17 7h-6v2h6V7Z"}),(0,a.createElement)(n.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,a.createElement)(n.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,a.createElement)(n.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,a.createElement)(n.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,a.createElement)(n.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,a.createElement)(n.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,a.createElement)(n.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,a.createElement)(n.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,a.createElement)(n.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,a.createElement)(n.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,a.createElement)(n.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,a.createElement)(n.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,a.createElement)(n.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,a.createElement)(n.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,a.createElement)(n.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,a.createElement)(n.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,a.createElement)(n.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,a.createElement)(n.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,a.createElement)(n.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,a.createElement)(n.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,a.createElement)(n.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,a.createElement)(n.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,a.createElement)(n.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,a.createElement)(n.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,a.createElement)(n.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,a.createElement)(n.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),t);(0,l.registerBlockType)(o,{edit:({attributes:{fieldLabel:t},clientId:n,context:v})=>{const{getBlock:o,getBlockRootClientId:m,getPreviousBlockClientId:d,getNextBlockClientId:E}=(0,i.useSelect)(c.store),{mergeBlocks:Z,replaceBlocks:f,selectBlock:V,removeBlock:H,updateBlockAttributes:M}=(0,i.useDispatch)(c.store),P=v["omniform/fieldName"]||"",B=v["omniform/fieldLabel"]||"",{postId:p,postType:s}=v,[w,u]=(0,h.useEntityProp)("postType",s,"meta",p),F=w?.required_label,D=(e,l=0)=>{const t=o(e).innerBlocks.filter((e=>"omniform/label"===e.name))[0];V(t.clientId,l)},S=(0,c.useBlockProps)();return(0,a.createElement)("div",{...S},(0,a.createElement)(c.RichText,{identifier:"fieldLabel",placeholder:(0,e.__)("Enter a label for the field…","omniform"),value:t||B,onChange:e=>{const l=(0,r.cleanForSlug)(B.replace(/(<([^>]+)>)/gi,""));M(m(n),P&&P!==l?{fieldLabel:e}:{fieldLabel:e,fieldName:(0,r.cleanForSlug)(e.replace(/(<([^>]+)>)/gi,""))})},withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image"],onSplit:(e,t)=>{let a;const c=m(n),h=o(c),i=e=>e.map((({name:e,attributes:t})=>"omniform/input"===e?(0,l.createBlock)(e,{...t,fieldPlaceholder:void 0,fieldValue:void 0}):(0,l.createBlock)(e,{style:t.style})));return a=t||e?(0,l.cloneBlock)(h,{fieldLabel:e,fieldName:(0,r.cleanForSlug)(e.replace(/(<([^>]+)>)/gi,""))},!t&&i(h.innerBlocks)):(0,l.createBlock)("omniform/field",{...h.attributes,fieldLabel:"",fieldName:""},i(h.innerBlocks)),t&&(a.clientId=c),a},onReplace:(e,l,t)=>{f([m(n)],e,l,t),D(e[l].clientId,-1)},onRemove:()=>{H(m(n))},onMerge:e=>{const t=m(n);if(e){const e=E(t);e&&(Z(t,e),D(t))}else{const e=d(t);e&&(B?(Z(e,t),D(e,-1)):f([e],[(0,l.cloneBlock)(o(e)),(0,l.createBlock)("core/paragraph")],1))}}}),v["omniform/fieldIsRequired"]&&(0,a.createElement)(c.RichText,{identifier:"requiredLabel",className:"omniform-field-required",placeholder:(0,e.__)("Enter a required field label…","omniform"),value:F,onChange:e=>{u({...w,required_label:e})},withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image"],disableLineBreaks:!0}))},icon:{foreground:"#D92E83",src:v},example:{attributes:{fieldLabel:(0,e.__)("Field Label","omniform")}}})}},t={};function a(e){var c=t[e];if(void 0!==c)return c.exports;var h=t[e]={exports:{}};return l[e](h,h.exports,a),h.exports}a.m=l,e=[],a.O=(l,t,c,h)=>{if(!t){var i=1/0;for(o=0;o<e.length;o++){for(var[t,c,h]=e[o],r=!0,n=0;n<t.length;n++)(!1&h||i>=h)&&Object.keys(a.O).every((e=>a.O[e](t[n])))?t.splice(n--,1):(r=!1,h<i&&(i=h));if(r){e.splice(o--,1);var v=c();void 0!==v&&(l=v)}}return l}h=h||0;for(var o=e.length;o>0&&e[o-1][2]>h;o--)e[o]=e[o-1];e[o]=[t,c,h]},a.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),(()=>{var e={788:0,855:0};a.O.j=l=>0===e[l];var l=(l,t)=>{var c,h,[i,r,n]=t,v=0;if(i.some((l=>0!==e[l]))){for(c in r)a.o(r,c)&&(a.m[c]=r[c]);if(n)var o=n(a)}for(l&&l(t);v<i.length;v++)h=i[v],a.o(e,h)&&e[h]&&e[h][0](),e[h]=0;return a.O(o)},t=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];t.forEach(l.bind(null,0)),t.push=l.bind(null,t.push.bind(t))})();var c=a.O(void 0,[855],(()=>a(538)));c=a.O(c)})();
     1(()=>{"use strict";var e,l={)));c=a.O(c)})();
  • omniform/tags/1.2.0/build/block-library/select-group/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-primitives'), 'version' => '1cf1ea65916c74376a12');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-');
  • omniform/tags/1.2.0/build/block-library/select-group/index.js

    r2994256 r3068146  
    1 (()=>{"use strict";const e=window.wp.blocks,l=window.wp.htmlEntities,t=JSON.parse('{"name":"omniform/select-group"}'),a=window.React,c=window.wp.blockEditor,h=window.wp.components,i=window.wp.i18n,n=window.wp.element,v=window.wp.primitives,m=(0,n.createElement)(v.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(v.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})),r=(0,n.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(v.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})),o=window.wp.data,d=((0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,a.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"}))),{name:E}=((0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{d:"M7 7h2v2H7V7Z"}),(0,a.createElement)(v.Path,{d:"M9 11H7v2h2v-2Z"}),(0,a.createElement)(v.Path,{d:"M7 15h2v2H7v-2Z"}),(0,a.createElement)(v.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,a.createElement)(v.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,a.createElement)(v.Path,{d:"M17 7h-6v2h6V7Z"}),(0,a.createElement)(v.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,a.createElement)(v.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,a.createElement)(v.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,a.createElement)(v.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,a.createElement)(v.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,a.createElement)(v.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),t);(0,e.registerBlockType)(E,{edit:l=>{const{attributes:t,clientId:n,isSelected:v,mergeBlocks:d,onRemove:E,onReplace:Z,setAttributes:V}=l,{fieldLabel:H}=t,M=(0,o.useSelect)((e=>e(c.store).hasSelectedInnerBlock(n)),[n]),f=(0,c.useBlockProps)({className:"omniform-select-group"}),P=(0,c.useInnerBlocksProps)({className:"omniform-select-options-container"},{allowedBlocks:["omniform/select-option"],template:[["omniform/select-option"]]}),B=(0,o.useRegistry)(),{getBlock:s,getBlockIndex:p,getBlockListSettings:w,getBlockOrder:D,getBlockRootClientId:S}=(0,o.useSelect)(c.store),{moveBlocksToPosition:u,replaceBlock:F,updateBlockListSettings:x}=(0,o.useDispatch)(c.store);return(0,a.createElement)("div",{...f},(0,a.createElement)(h.__experimentalHStack,{alignment:"left"},(0,a.createElement)(h.Icon,{icon:v||M?m:r}),(0,a.createElement)(c.RichText,{identifier:"fieldLabel","aria-label":(0,i.__)("Help text","omniform"),placeholder:(0,i.__)("Write the option text…","omniform"),value:H,onChange:e=>V({fieldLabel:e}),withoutInteractiveFormatting:!0,allowedFormats:[],onSplit:(t,a)=>{let c;return c=a||t?(0,e.cloneBlock)(s(n),{fieldLabel:t.trim()}):(0,e.createBlock)(l.name,{fieldLabel:t.trim()}),a&&(c.clientId=n),c},onMerge:l=>{if(l)return d(l);const a=S(n),c=p(n)+1;B.batch((()=>{u(D(n),n,a,c),F(n,(0,e.createBlock)("omniform/select-option",t)),x(n,w(a))}),[])},onReplace:Z,onRemove:E})),(v||M)&&(0,a.createElement)("div",{...P}))},save:()=>c.useInnerBlocksProps.save(c.useBlockProps.save()).children,icon:{foreground:"#D92E83",src:d},merge:(e,l)=>({fieldLabel:(e.fieldLabel||"")+(l.fieldLabel||"")}),__experimentalLabel:({fieldLabel:e})=>e&&(0,l.decodeEntities)(e)})})();
     1(()=>{"use strict";const e=window.wp.blocks,l=window.wp.htmlEntities,t=JSON.parse('{"name":"omniform/select-group"}'),a=window.React,c=window.wp.blockEditor,h=window.wp.components,i=window.wp.i18n,n=window.wp.},merge:(e,l)=>({fieldLabel:(e.fieldLabel||"")+(l.fieldLabel||"")}),__experimentalLabel:({fieldLabel:e})=>e&&(0,l.decodeEntities)(e)})})();
  • omniform/tags/1.2.0/build/block-library/select-option/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-html-entities', 'wp-i18n', 'wp-primitives'), 'version' => 'fb2263120e7f9734ce27');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-html-entities', 'wp-i18n', 'wp-primitives'), 'version' => '');
  • omniform/tags/1.2.0/build/block-library/select-option/index.js

    r2994256 r3068146  
    1 (()=>{"use strict";const e=window.wp.blocks,l=window.wp.htmlEntities,t=JSON.parse('{"name":"omniform/select-option"}'),a=window.React,h=window.wp.i18n,c=window.wp.blockEditor,i={from:[{type:"prefix",prefix:">",transform:l=>(0,e.createBlock)("omniform/select-group",{fieldLabel:l})}]},v=window.wp.primitives,n=((0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,a.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"}))),{name:m}=((0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{d:"M7 7h2v2H7V7Z"}),(0,a.createElement)(v.Path,{d:"M9 11H7v2h2v-2Z"}),(0,a.createElement)(v.Path,{d:"M7 15h2v2H7v-2Z"}),(0,a.createElement)(v.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,a.createElement)(v.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,a.createElement)(v.Path,{d:"M17 7h-6v2h6V7Z"}),(0,a.createElement)(v.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,a.createElement)(v.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,a.createElement)(v.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,a.createElement)(v.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,a.createElement)(v.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,a.createElement)(v.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),t);(0,e.registerBlockType)(m,{edit:l=>{const{attributes:t,setAttributes:i,mergeBlocks:v,onReplace:n,onRemove:m,clientId:r}=l,{fieldLabel:d}=t,E=(0,c.useBlockProps)({className:"omniform-field-select-option"});return(0,a.createElement)("div",{...E},(0,a.createElement)(c.RichText,{identifier:"fieldLabel","aria-label":(0,h.__)("Help text","omniform"),placeholder:(0,h.__)("Write the option text…","omniform"),value:d,onChange:e=>i({fieldLabel:e}),withoutInteractiveFormatting:!0,allowedFormats:[],onSplit:(a,h)=>{let c;(h||a)&&(c={...t,fieldLabel:a.trim()});const i=(0,e.createBlock)(l.name,c);return h&&(i.clientId=r),i},onMerge:v,onReplace:n,onRemove:m,__unstableAllowPrefixTransformations:!0}))},icon:{foreground:"#D92E83",src:n},transforms:i,merge:(e,l)=>({fieldLabel:(e.fieldLabel||"")+(l.fieldLabel||"")}),__experimentalLabel:({fieldLabel:e})=>e&&(0,l.decodeEntities)(e)})})();
     1(()=>{"use strict";const e=window.wp.blocks,l=window.wp.htmlEntities,t=JSON.parse('{"name":"omniform/select-option"}'),a=window.React,h=window.wp.i18n,c=window.wp.blockEditor,i={from:[{type:"prefix",prefix:">",transform:l=>(0,e.createBlock)("omniform/select-group",{fieldLabel:l})}]},v=window.wp.primitives,},transforms:i,merge:(e,l)=>({fieldLabel:(e.fieldLabel||"")+(l.fieldLabel||"")}),__experimentalLabel:({fieldLabel:e})=>e&&(0,l.decodeEntities)(e)})})();
  • omniform/tags/1.2.0/build/block-library/select/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-data', 'wp-i18n', 'wp-primitives'), 'version' => 'c36914b2de26b3d12ea6');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-data', 'wp-i18n', 'wp-primitives'), 'version' => '');
  • omniform/tags/1.2.0/build/block-library/select/index.js

    r2994256 r3068146  
    1 (()=>{var e,l={390:(e,l,t)=>{"use strict";const a=window.wp.blocks,i=JSON.parse('{"name":"omniform/select"}'),h=window.React;var c=t(184),n=t.n(c);const r=window.wp.i18n,v=window.wp.data,o=window.wp.blockEditor,m=[{name:"select-single",title:(0,r.__)("Select","omniform"),description:(0,r.__)("A field offering multiple options for a single selection.","omniform"),attributes:{isMultiple:!1},scope:["transform"]},{name:"select-multiple",title:(0,r.__)("Select Multiple","omniform"),description:(0,r.__)("A field offering multiple options for multiple selections.","omniform"),attributes:{isMultiple:!0,fieldPlaceholder:void 0}}];m.forEach((e=>{e.isActive=(e,l)=>e.isMultiple===l.isMultiple,e.scope||(e.scope=["inserter","block","transform"])}));const d=m,E=window.wp.primitives,f=((0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,h.createElement)(E.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,h.createElement)(E.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"}))),{name:Z}=((0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{d:"M7 7h2v2H7V7Z"}),(0,h.createElement)(E.Path,{d:"M9 11H7v2h2v-2Z"}),(0,h.createElement)(E.Path,{d:"M7 15h2v2H7v-2Z"}),(0,h.createElement)(E.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,h.createElement)(E.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,h.createElement)(E.Path,{d:"M17 7h-6v2h6V7Z"}),(0,h.createElement)(E.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,h.createElement)(E.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,h.createElement)(E.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,h.createElement)(E.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,h.createElement)(E.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,h.createElement)(E.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,h.createElement)(E.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,h.createElement)(E.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,h.createElement)(E.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,h.createElement)(E.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,h.createElement)(E.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,h.createElement)(E.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,h.createElement)(E.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,h.createElement)(E.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,h.createElement)(E.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,h.createElement)(E.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,h.createElement)(E.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,h.createElement)(E.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,h.createElement)(E.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,h.createElement)(E.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,h.createElement)(E.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,h.createElement)(E.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,h.createElement)(E.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,h.createElement)(E.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,h.createElement)(E.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,h.createElement)(E.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),i);(0,a.registerBlockType)(Z,{edit:({attributes:{fieldPlaceholder:e,isMultiple:l},setAttributes:t,isSelected:a,clientId:i})=>{const c=(0,v.useSelect)((e=>e(o.store).hasSelectedInnerBlock(i,!0)),[i]),m=(0,v.useSelect)((e=>!!e(o.store).getBlocks(i).filter((e=>"omniform/select-group"===e.name)).length)),d=(0,o.useBlockProps)({className:n()({"type-multiple":l,"options-nested":m})}),E=(0,o.useInnerBlocksProps)({className:"omniform-select-options-container"},{templateLock:!1,allowedBlocks:["omniform/select-option","omniform/select-group"],template:[["omniform/select-option"]]});if(l){const e=a||c?void 0:d.style.minHeight||"230px";return(0,h.createElement)("div",{...d,style:{...d.style,height:e}},(0,h.createElement)("div",{...E}))}return(0,h.createElement)("div",{...d,style:{...d.style,minHeight:void 0}},!l&&(0,h.createElement)(o.RichText,{identifier:"fieldControl","aria-label":(0,r.__)("Placeholder text for text input.","omniform"),placeholder:!e&&a||c?(0,r.__)("Enter a placeholder…","omniform"):void 0,value:e,onChange:e=>t({fieldPlaceholder:e}),withoutInteractiveFormatting:!0,allowedFormats:[]}),(a||c||l)&&(0,h.createElement)("div",{...E}))},save:()=>o.useInnerBlocksProps.save(o.useBlockProps.save()).children,icon:{foreground:"#D92E83",src:f},variations:d,example:{}})},184:(e,l)=>{var t;!function(){"use strict";var a={}.hasOwnProperty;function i(){for(var e=[],l=0;l<arguments.length;l++){var t=arguments[l];if(t){var h=typeof t;if("string"===h||"number"===h)e.push(t);else if(Array.isArray(t)){if(t.length){var c=i.apply(null,t);c&&e.push(c)}}else if("object"===h){if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]")){e.push(t.toString());continue}for(var n in t)a.call(t,n)&&t[n]&&e.push(n)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(t=function(){return i}.apply(l,[]))||(e.exports=t)}()}},t={};function a(e){var i=t[e];if(void 0!==i)return i.exports;var h=t[e]={exports:{}};return l[e](h,h.exports,a),h.exports}a.m=l,e=[],a.O=(l,t,i,h)=>{if(!t){var c=1/0;for(o=0;o<e.length;o++){for(var[t,i,h]=e[o],n=!0,r=0;r<t.length;r++)(!1&h||c>=h)&&Object.keys(a.O).every((e=>a.O[e](t[r])))?t.splice(r--,1):(n=!1,h<c&&(c=h));if(n){e.splice(o--,1);var v=i();void 0!==v&&(l=v)}}return l}h=h||0;for(var o=e.length;o>0&&e[o-1][2]>h;o--)e[o]=e[o-1];e[o]=[t,i,h]},a.n=e=>{var l=e&&e.__esModule?()=>e.default:()=>e;return a.d(l,{a:l}),l},a.d=(e,l)=>{for(var t in l)a.o(l,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:l[t]})},a.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),(()=>{var e={544:0,8:0};a.O.j=l=>0===e[l];var l=(l,t)=>{var i,h,[c,n,r]=t,v=0;if(c.some((l=>0!==e[l]))){for(i in n)a.o(n,i)&&(a.m[i]=n[i]);if(r)var o=r(a)}for(l&&l(t);v<c.length;v++)h=c[v],a.o(e,h)&&e[h]&&e[h][0](),e[h]=0;return a.O(o)},t=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];t.forEach(l.bind(null,0)),t.push=l.bind(null,t.push.bind(t))})();var i=a.O(void 0,[8],(()=>a(390)));i=a.O(i)})();
     1(()=>{var e,)})();
  • omniform/tags/1.2.0/build/block-library/textarea/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-i18n', 'wp-primitives'), 'version' => '42e423a16db349958bab');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-i18n', 'wp-primitives'), 'version' => '');
  • omniform/tags/1.2.0/build/block-library/textarea/index.js

    r2994256 r3068146  
    1 (()=>{"use strict";var e,l={618:()=>{const e=window.wp.blocks,l=JSON.parse('{"name":"omniform/textarea"}'),t=window.React,a=window.wp.i18n,h=window.wp.blockEditor,c=window.wp.primitives,v=((0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,t.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,t.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"}))),{name:i}=((0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{d:"M7 7h2v2H7V7Z"}),(0,t.createElement)(c.Path,{d:"M9 11H7v2h2v-2Z"}),(0,t.createElement)(c.Path,{d:"M7 15h2v2H7v-2Z"}),(0,t.createElement)(c.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,t.createElement)(c.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,t.createElement)(c.Path,{d:"M17 7h-6v2h6V7Z"}),(0,t.createElement)(c.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,t.createElement)(c.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,t.createElement)(c.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,t.createElement)(c.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,t.createElement)(c.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,t.createElement)(c.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,t.createElement)(c.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,t.createElement)(c.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,t.createElement)(c.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,t.createElement)(c.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,t.createElement)(c.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,t.createElement)(c.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,t.createElement)(c.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,t.createElement)(c.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,t.createElement)(c.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,t.createElement)(c.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,t.createElement)(c.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,t.createElement)(c.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,t.createElement)(c.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,t.createElement)(c.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,t.createElement)(c.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,t.createElement)(c.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,t.createElement)(c.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,t.createElement)(c.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,t.createElement)(c.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,t.createElement)(c.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),l);(0,e.registerBlockType)(i,{edit:({attributes:{fieldPlaceholder:e},setAttributes:l,isSelected:c})=>{const v=(0,h.useBlockProps)();return(0,t.createElement)(h.RichText,{...v,identifier:"fieldControl","aria-label":(0,a.__)("Placeholder text for text input.","omniform"),placeholder:e||!c?void 0:(0,a.__)("Enter a placeholder…","omniform"),value:e,onChange:e=>l({fieldPlaceholder:e}),withoutInteractiveFormatting:!0,allowedFormats:[]})},icon:{foreground:"#D92E83",src:v},example:{}})}},t={};function a(e){var h=t[e];if(void 0!==h)return h.exports;var c=t[e]={exports:{}};return l[e](c,c.exports,a),c.exports}a.m=l,e=[],a.O=(l,t,h,c)=>{if(!t){var v=1/0;for(m=0;m<e.length;m++){for(var[t,h,c]=e[m],i=!0,n=0;n<t.length;n++)(!1&c||v>=c)&&Object.keys(a.O).every((e=>a.O[e](t[n])))?t.splice(n--,1):(i=!1,c<v&&(v=c));if(i){e.splice(m--,1);var r=h();void 0!==r&&(l=r)}}return l}c=c||0;for(var m=e.length;m>0&&e[m-1][2]>c;m--)e[m]=e[m-1];e[m]=[t,h,c]},a.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),(()=>{var e={941:0,921:0};a.O.j=l=>0===e[l];var l=(l,t)=>{var h,c,[v,i,n]=t,r=0;if(v.some((l=>0!==e[l]))){for(h in i)a.o(i,h)&&(a.m[h]=i[h]);if(n)var m=n(a)}for(l&&l(t);r<v.length;r++)c=v[r],a.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return a.O(m)},t=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];t.forEach(l.bind(null,0)),t.push=l.bind(null,t.push.bind(t))})();var h=a.O(void 0,[921],(()=>a(618)));h=a.O(h)})();
     1(()=>{"use strict";var e,l={6)));h=a.O(h)})();
  • omniform/tags/1.2.0/changelog.txt

    r3062342 r3068146  
     1
     2
     3
     4
     5
     6
     7
     8
     9
     10
     11
     12
    113
    2141.1.0 / 2024-04-01
  • omniform/tags/1.2.0/includes/Application.php

    r3062342 r3068146  
    2727     * @var string
    2828     */
    29     const VERSION = '1.1.0';
     29    const VERSION = '1..0';
    3030
    3131    /**
  • omniform/tags/1.2.0/includes/BlockLibrary/BlockLibraryServiceProvider.php

    r3062342 r3068146  
    106106            Blocks\Label::class,
    107107            Blocks\Input::class,
     108
    108109            Blocks\Textarea::class,
    109110            Blocks\Select::class,
     
    113114            Blocks\SelectOption::class,
    114115            Blocks\Captcha::class,
     116
    115117        );
    116118
  • omniform/tags/1.2.0/includes/BlockLibrary/BlockPatterns/appointment.php

    r3062342 r3068146  
    1010    'content' => '
    1111        <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"5em","bottom":"5em","left":"5em","right":"5em"}}},"layout":{"type":"constrained"}} -->
    12         <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:paragraph -->
     12        <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:omniform/response-notification {"messageContent":"' . esc_html__( 'Success! Your submission has been completed.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-green-cyan,#00d084)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     13
     14        <!-- wp:omniform/response-notification {"messageType":"error","messageContent":"' . esc_html__( 'Unfortunately, your submission was not successful. Please ensure all fields are correctly filled out and try again.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-red,#cf2e2e)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     15
     16        <!-- wp:paragraph -->
    1317        <p>' . esc_html__( 'Please fill out the form below to make an appointment.', 'omniform' ) . '</p>
    1418        <!-- /wp:paragraph -->
  • omniform/tags/1.2.0/includes/BlockLibrary/BlockPatterns/contact.php

    r3062342 r3068146  
    1010    'content' => '
    1111        <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"5em","bottom":"5em","left":"5em","right":"5em"}}},"layout":{"type":"constrained"}} -->
    12         <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:paragraph -->
     12        <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:omniform/response-notification {"messageContent":"' . esc_html__( 'Success! Your submission has been completed.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-green-cyan,#00d084)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     13
     14        <!-- wp:omniform/response-notification {"messageType":"error","messageContent":"' . esc_html__( 'Unfortunately, your submission was not successful. Please ensure all fields are correctly filled out and try again.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-red,#cf2e2e)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     15
     16        <!-- wp:paragraph -->
    1317        <p>' . esc_html__( 'If you have any questions or comments, or if you\'d like to work with me or collaborate on a project, please don\'t hesitate to get in touch. I look forward to hearing from you!', 'omniform' ) . '</p>
    1418        <!-- /wp:paragraph -->
  • omniform/tags/1.2.0/includes/BlockLibrary/BlockPatterns/feedback.php

    r3062342 r3068146  
    1010    'content' => '
    1111        <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"5em","bottom":"5em","left":"5em","right":"5em"}}},"layout":{"type":"constrained"}} -->
    12         <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:paragraph -->
     12        <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:omniform/response-notification {"messageContent":"' . esc_html__( 'Success! Your submission has been completed.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-green-cyan,#00d084)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     13
     14        <!-- wp:omniform/response-notification {"messageType":"error","messageContent":"' . esc_html__( 'Unfortunately, your submission was not successful. Please ensure all fields are correctly filled out and try again.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-red,#cf2e2e)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     15
     16        <!-- wp:paragraph -->
    1317        <p>' . esc_html__( 'We value your feedback! Please take a moment to fill out our website feedback form to let us know how we can improve your experience. Your input is important to us and we appreciate your time. Thank you for visiting our website.', 'omniform' ) . '</p>
    1418        <!-- /wp:paragraph -->
  • omniform/tags/1.2.0/includes/BlockLibrary/BlockPatterns/newsletter.php

    r3062342 r3068146  
    3333
    3434        <!-- wp:omniform/button {"buttonType":"submit","buttonLabel":"' . esc_html__( 'Join', 'omniform' ) . '","className":"is-style-fill"} /--></div>
    35         <!-- /wp:group --></div>
     35        <!-- /wp:group -->
     36
     37        <!-- wp:omniform/response-notification {"messageContent":"' . esc_html__( 'Success! Your submission has been completed.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-green-cyan,#00d084)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     38
     39        <!-- wp:omniform/response-notification {"messageType":"error","messageContent":"' . esc_html__( 'Unfortunately, your submission was not successful. Please ensure all fields are correctly filled out and try again.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-red,#cf2e2e)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /--></div>
    3640        <!-- /wp:group --></div>
    3741        <!-- /wp:group -->
  • omniform/tags/1.2.0/includes/BlockLibrary/BlockPatterns/registration.php

    r3062342 r3068146  
    1010    'content' => '
    1111        <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"5em","bottom":"5em","left":"5em","right":"5em"}}},"layout":{"type":"constrained"}} -->
    12         <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:paragraph -->
     12        <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:omniform/response-notification {"messageContent":"' . esc_html__( 'Success! Your submission has been completed.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-green-cyan,#00d084)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     13
     14        <!-- wp:omniform/response-notification {"messageType":"error","messageContent":"' . esc_html__( 'Unfortunately, your submission was not successful. Please ensure all fields are correctly filled out and try again.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-red,#cf2e2e)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     15
     16        <!-- wp:paragraph -->
    1317        <p>' . esc_html__( 'Join our community and take advantage of our member perks! Sign up for a membership and unlock access to special features and discounts.', 'omniform' ) . '</p>
    1418        <!-- /wp:paragraph -->
  • omniform/tags/1.2.0/includes/BlockLibrary/BlockPatterns/rsvp.php

    r3062342 r3068146  
    1010    'content' => '
    1111        <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"5em","bottom":"5em","left":"5em","right":"5em"}}},"layout":{"type":"constrained"}} -->
    12         <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:omniform/field {"fieldLabel":"' . esc_html__( 'Name', 'omniform' ) . '","fieldName":"' . esc_html__( 'name', 'omniform' ) . '"} -->
     12        <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:omniform/response-notification {"messageContent":"' . esc_html__( 'Success! Your submission has been completed.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-green-cyan,#00d084)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     13
     14        <!-- wp:omniform/response-notification {"messageType":"error","messageContent":"' . esc_html__( 'Unfortunately, your submission was not successful. Please ensure all fields are correctly filled out and try again.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-red,#cf2e2e)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     15
     16        <!-- wp:omniform/field {"fieldLabel":"' . esc_html__( 'Name', 'omniform' ) . '","fieldName":"' . esc_html__( 'name', 'omniform' ) . '"} -->
    1317        <!-- wp:omniform/label /-->
    1418
  • omniform/tags/1.2.0/includes/BlockLibrary/Blocks/Captcha.php

    r2963371 r3068146  
    1212use OmniForm\ReCaptchaV2Rule;
    1313use OmniForm\ReCaptchaV3Rule;
     14
    1415
    1516/**
     
    152153                $rule = new ReCaptchaV3Rule();
    153154                break;
     155
     156
     157
    154158        }
    155159
  • omniform/tags/1.2.0/includes/BlockLibrary/Blocks/Form.php

    r3062342 r3068146  
    4949        }
    5050
    51         if ( ! $form->is_published() ) {
     51        if ( ! $form->is_published() ) {
    5252            // Display notice for logged in editors, render nothing for visitors.
    5353            return current_user_can( 'edit_post', $form->get_id() )
     
    6262        }
    6363
    64         $content     = do_blocks( $form->get_content() );
    65         $nonce_field = wp_nonce_field( 'omniform', 'wp_rest', true, false );
     64        $content = array(
     65            do_blocks( $form->get_content() ),
     66            wp_nonce_field( 'omniform', 'wp_rest', true, false ),
     67        );
    6668
    67         // Add a container for the response message.
    68         $response_container = '<div class="omniform-response-container wp-block-group is-layout-flow" style="display:none;border-left-width:6px;padding-top:0.5em;padding-right:1.5em;padding-bottom:0.5em;padding-left:1.5em"></div>';
     69        // Add a default success response notification block if one is not present.
     70        if ( false === preg_match( '/success-response-notification[^"]+?wp-block-omniform-response-notification/', $content[0] ) ) {
     71            array_unshift(
     72                $content,
     73                render_block(
     74                    array(
     75                        'blockName' => 'omniform/response-notification',
     76                        'attrs'     => array(
     77                            'messageType'    => 'success',
     78                            'messageContent' => __( 'Success! Your submission has been completed.', 'omniform' ),
     79                            'style'          => array(
     80                                'border'  => array(
     81                                    'left' => array(
     82                                        'color' => 'var(--wp--preset--color--vivid-green-cyan,#00d084)',
     83                                        'width' => '6px',
     84                                    ),
     85                                ),
     86                                'spacing' => array(
     87                                    'padding' => array(
     88                                        'top'    => '0.5em',
     89                                        'bottom' => '0.5em',
     90                                        'left'   => '1.5em',
     91                                        'right'  => '1.5em',
     92                                    ),
     93                                ),
     94                            ),
     95                        ),
     96                    )
     97                )
     98            );
     99        }
     100
     101        // Add a default error response notification block if one is not present.
     102        if ( false === preg_match( '/error-response-notification[^"]+?wp-block-omniform-response-notification/', $content[0] ) ) {
     103            array_unshift(
     104                $content,
     105                render_block(
     106                    array(
     107                        'blockName' => 'omniform/response-notification',
     108                        'attrs'     => array(
     109                            'messageType'    => 'error',
     110                            'messageContent' => __( 'Unfortunately, your submission was not successful. Please ensure all fields are correctly filled out and try again.', 'omniform' ),
     111                            'style'          => array(
     112                                'border'  => array(
     113                                    'left' => array(
     114                                        'color' => 'var(--wp--preset--color--vivid-red,#cf2e2e)',
     115                                        'width' => '6px',
     116                                    ),
     117                                ),
     118                                'spacing' => array(
     119                                    'padding' => array(
     120                                        'top'    => '0.5em',
     121                                        'bottom' => '0.5em',
     122                                        'left'   => '1.5em',
     123                                        'right'  => '1.5em',
     124                                    ),
     125                                ),
     126                            ),
     127                        ),
     128                    )
     129                )
     130            );
     131        }
    69132
    70133        /**
     
    79142            esc_url( rest_url( 'omniform/v1/forms/' . $form->get_id() . '/responses' ) ),
    80143            get_block_wrapper_attributes(),
    81             $response_container . $content . $nonce_field
     144           
    82145        );
    83146    }
  • omniform/tags/1.2.0/includes/Plugin/PluginServiceProvider.php

    r2968968 r3068146  
    5858            'omniform_response_created',
    5959            function ( $response_id, $form ) {
     60
     61
     62
    6063                wp_mail(
    61                     get_option( 'admin_email' ),
    62                     /* translators: %s: Form title */
    63                     esc_attr( sprintf( __( '%s Response', 'omniform' ), $form->get_title() ) ),
     64                    empty( $notify_email )
     65                        ? esc_attr( get_option( 'admin_email' ) )
     66                        : esc_attr( $notify_email ),
     67                    empty( $notify_email_subject )
     68                        // translators: %1$s represents the blog name, %2$s represents the form title.
     69                        ? esc_attr( sprintf( __( 'New Response: %1$s - %2$s', 'omniform' ), get_option( 'blogname' ), $form->get_title() ) )
     70                        : esc_attr( $notify_email_subject ),
    6471                    wp_kses( $form->response_email_message( $response_id ), array() )
    6572                );
     
    348355                        'omniform/label',
    349356                        'omniform/input',
     357
    350358                        'omniform/textarea',
    351359                        'omniform/select',
     
    353361                        'omniform/select-option',
    354362                        'omniform/captcha',
     363
    355364                        'core/audio',
    356365                        'core/block',
     
    488497        );
    489498
     499
     500
     501
     502
     503
    490504        register_post_meta(
    491505            'omniform',
     
    496510                'type'         => 'string',
    497511                'default'      => '*',
     512
     513
     514
     515
     516
     517
     518
     519
     520
     521
     522
     523
     524
     525
     526
     527
     528
     529
     530
     531
     532
     533
     534
     535
     536
     537
     538
     539
     540
     541
    498542            )
    499543        );
     
    547591     */
    548592    public function register_settings() {
     593
     594
     595
     596
     597
    549598        $options = array(
    550599            'hcaptcha'    => 'hCaptcha',
  • omniform/tags/1.2.0/omniform.php

    r3062342 r3068146  
    44 * Plugin URI: https://omniform.io
    55 * Description: Easily create and manage custom forms with the block editor, customizable fields, and form submission management for your website.
    6  * Version: 1.1.0
     6 * Version: 1..0
    77 * Requires at least: 6.3
    88 * Requires PHP: 7.4
  • omniform/tags/1.2.0/readme.txt

    r3063030 r3068146  
    55Tested up to: 6.5
    66Requires PHP: 7.4
    7 Stable tag: 1.1.0
     7Stable tag: 1..0
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    8383== Changelog ==
    8484
     85
     86
     87
     88
     89
     90
     91
     92
     93
     94
    8595= 1.1.0 / 2024-04-01 =
    8696
  • omniform/tags/1.2.0/vendor/autoload.php

    r2994256 r3068146  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit1b1598efd15a2697cef83e4176f939dd::getLoader();
     25return ComposerAutoloaderInit::getLoader();
  • omniform/tags/1.2.0/vendor/composer/autoload_classmap.php

    r3062342 r3068146  
    1818    'OmniForm\\BlockLibrary\\Blocks\\Form' => $baseDir . '/includes/BlockLibrary/Blocks/Form.php',
    1919    'OmniForm\\BlockLibrary\\Blocks\\FormBlockInterface' => $baseDir . '/includes/BlockLibrary/Blocks/FormBlockInterface.php',
     20
    2021    'OmniForm\\BlockLibrary\\Blocks\\Input' => $baseDir . '/includes/BlockLibrary/Blocks/Input.php',
    2122    'OmniForm\\BlockLibrary\\Blocks\\Label' => $baseDir . '/includes/BlockLibrary/Blocks/Label.php',
     23
    2224    'OmniForm\\BlockLibrary\\Blocks\\Select' => $baseDir . '/includes/BlockLibrary/Blocks/Select.php',
    2325    'OmniForm\\BlockLibrary\\Blocks\\SelectGroup' => $baseDir . '/includes/BlockLibrary/Blocks/SelectGroup.php',
  • omniform/tags/1.2.0/vendor/composer/autoload_real.php

    r2994256 r3068146  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit1b1598efd15a2697cef83e4176f939dd
     5class ComposerAutoloaderInit
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit1b1598efd15a2697cef83e4176f939dd', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit1b1598efd15a2697cef83e4176f939dd', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Composer\Autoload\ComposerStaticInit1b1598efd15a2697cef83e4176f939dd::getInitializer($loader));
     30        call_user_func(\Composer\Autoload\ComposerStaticInit::getInitializer($loader));
    3131
    3232        $loader->register(true);
    3333
    34         $filesToLoad = \Composer\Autoload\ComposerStaticInit1b1598efd15a2697cef83e4176f939dd::$files;
     34        $filesToLoad = \Composer\Autoload\ComposerStaticInit::$files;
    3535        $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
    3636            if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • omniform/tags/1.2.0/vendor/composer/autoload_static.php

    r3062342 r3068146  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit1b1598efd15a2697cef83e4176f939dd
     7class ComposerStaticInit
    88{
    99    public static $files = array (
     
    3737        'OmniForm\\BlockLibrary\\Blocks\\Form' => __DIR__ . '/../..' . '/includes/BlockLibrary/Blocks/Form.php',
    3838        'OmniForm\\BlockLibrary\\Blocks\\FormBlockInterface' => __DIR__ . '/../..' . '/includes/BlockLibrary/Blocks/FormBlockInterface.php',
     39
    3940        'OmniForm\\BlockLibrary\\Blocks\\Input' => __DIR__ . '/../..' . '/includes/BlockLibrary/Blocks/Input.php',
    4041        'OmniForm\\BlockLibrary\\Blocks\\Label' => __DIR__ . '/../..' . '/includes/BlockLibrary/Blocks/Label.php',
     42
    4143        'OmniForm\\BlockLibrary\\Blocks\\Select' => __DIR__ . '/../..' . '/includes/BlockLibrary/Blocks/Select.php',
    4244        'OmniForm\\BlockLibrary\\Blocks\\SelectGroup' => __DIR__ . '/../..' . '/includes/BlockLibrary/Blocks/SelectGroup.php',
     
    454456    {
    455457        return \Closure::bind(function () use ($loader) {
    456             $loader->prefixLengthsPsr4 = ComposerStaticInit1b1598efd15a2697cef83e4176f939dd::$prefixLengthsPsr4;
    457             $loader->prefixDirsPsr4 = ComposerStaticInit1b1598efd15a2697cef83e4176f939dd::$prefixDirsPsr4;
    458             $loader->classMap = ComposerStaticInit1b1598efd15a2697cef83e4176f939dd::$classMap;
     458            $loader->prefixLengthsPsr4 = ComposerStaticInit::$prefixLengthsPsr4;
     459            $loader->prefixDirsPsr4 = ComposerStaticInit::$prefixDirsPsr4;
     460            $loader->classMap = ComposerStaticInit::$classMap;
    459461
    460462        }, null, ClassLoader::class);
  • omniform/trunk/build/block-library/button/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-html-entities', 'wp-i18n', 'wp-primitives'), 'version' => 'ad7211ea3724aef9a743');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-html-entities', 'wp-i18n', 'wp-primitives'), 'version' => '');
  • omniform/trunk/build/block-library/button/index.js

    r2994256 r3068146  
    1 (()=>{var e,t={881:(e,t,l)=>{"use strict";const a=window.wp.blocks,h=window.wp.htmlEntities,c=JSON.parse('{"name":"omniform/button"}'),n=window.React;var i=l(184),r=l.n(i);const v=window.wp.i18n,o=window.wp.blockEditor,m=[{name:"button-submit",title:(0,v.__)("Submit","omniform"),description:(0,v.__)("Trigger form submission.","omniform"),attributes:{buttonType:"submit",buttonLabel:(0,v.__)("Submit","omniform")},isDefault:!0},{name:"button-reset",title:(0,v.__)("Reset","omniform"),description:(0,v.__)("Revert form to default state.","omniform"),attributes:{buttonType:"reset",buttonLabel:(0,v.__)("Reset","omniform")}}];m.forEach((e=>{e.isActive=(e,t)=>e.buttonType===t.buttonType,e.scope||(e.scope=["inserter","block","transform"])}));const d=m,E=window.wp.primitives,Z=((0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,n.createElement)(E.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,n.createElement)(E.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,n.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"}))),{name:f}=((0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{d:"M7 7h2v2H7V7Z"}),(0,n.createElement)(E.Path,{d:"M9 11H7v2h2v-2Z"}),(0,n.createElement)(E.Path,{d:"M7 15h2v2H7v-2Z"}),(0,n.createElement)(E.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,n.createElement)(E.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,n.createElement)(E.Path,{d:"M17 7h-6v2h6V7Z"}),(0,n.createElement)(E.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,n.createElement)(E.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,n.createElement)(E.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,n.createElement)(E.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,n.createElement)(E.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,n.createElement)(E.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,n.createElement)(E.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,n.createElement)(E.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,n.createElement)(E.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,n.createElement)(E.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,n.createElement)(E.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,n.createElement)(E.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,n.createElement)(E.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,n.createElement)(E.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,n.createElement)(E.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,n.createElement)(E.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,n.createElement)(E.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,n.createElement)(E.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,n.createElement)(E.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,n.createElement)(E.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,n.createElement)(E.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,n.createElement)(E.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,n.createElement)(E.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,n.createElement)(E.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,n.createElement)(E.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,n.createElement)(E.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,n.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(E.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,n.createElement)(E.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),c);(0,a.registerBlockType)(f,{edit:({attributes:e,setAttributes:t,onReplace:l,mergeBlocks:h,clientId:c})=>{const{buttonLabel:i}=e,m=(0,o.useBlockProps)({className:r()((0,o.__experimentalGetElementClassName)("button"),"wp-block-button__link")});return(0,n.createElement)("div",null,(0,n.createElement)(o.RichText,{...m,identifier:"buttonLabel","aria-label":(0,v.__)("Button text","omniform"),placeholder:(0,v.__)("Add text…","omniform"),value:i,onChange:e=>t({buttonLabel:e}),preserveWhiteSpace:!0,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image"],onSplit:(t,l)=>{let h;var n;return h=l||t?(0,a.createBlock)("omniform/button",{...e,buttonLabel:t}):(0,a.createBlock)(null!==(n=(0,a.getDefaultBlockName)())&&void 0!==n?n:"omniform/button"),l&&(h.clientId=c),h},onReplace:l,onRemove:()=>l([]),onMerge:h}))},icon:{foreground:"#D92E83",src:Z},example:{},variations:d,merge:(e,t)=>({buttonLabel:(e.buttonLabel||"")+(t.buttonLabel||"")}),__experimentalLabel:({buttonLabel:e})=>e&&(0,h.decodeEntities)(e)})},184:(e,t)=>{var l;!function(){"use strict";var a={}.hasOwnProperty;function h(){for(var e=[],t=0;t<arguments.length;t++){var l=arguments[t];if(l){var c=typeof l;if("string"===c||"number"===c)e.push(l);else if(Array.isArray(l)){if(l.length){var n=h.apply(null,l);n&&e.push(n)}}else if("object"===c){if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]")){e.push(l.toString());continue}for(var i in l)a.call(l,i)&&l[i]&&e.push(i)}}}return e.join(" ")}e.exports?(h.default=h,e.exports=h):void 0===(l=function(){return h}.apply(t,[]))||(e.exports=l)}()}},l={};function a(e){var h=l[e];if(void 0!==h)return h.exports;var c=l[e]={exports:{}};return t[e](c,c.exports,a),c.exports}a.m=t,e=[],a.O=(t,l,h,c)=>{if(!l){var n=1/0;for(o=0;o<e.length;o++){for(var[l,h,c]=e[o],i=!0,r=0;r<l.length;r++)(!1&c||n>=c)&&Object.keys(a.O).every((e=>a.O[e](l[r])))?l.splice(r--,1):(i=!1,c<n&&(n=c));if(i){e.splice(o--,1);var v=h();void 0!==v&&(t=v)}}return t}c=c||0;for(var o=e.length;o>0&&e[o-1][2]>c;o--)e[o]=e[o-1];e[o]=[l,h,c]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var l in t)a.o(t,l)&&!a.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={150:0,625:0};a.O.j=t=>0===e[t];var t=(t,l)=>{var h,c,[n,i,r]=l,v=0;if(n.some((t=>0!==e[t]))){for(h in i)a.o(i,h)&&(a.m[h]=i[h]);if(r)var o=r(a)}for(t&&t(l);v<n.length;v++)c=n[v],a.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return a.O(o)},l=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];l.forEach(t.bind(null,0)),l.push=t.bind(null,l.push.bind(l))})();var h=a.O(void 0,[625],(()=>a(881)));h=a.O(h)})();
     1(()=>{var e,t={)})();
  • omniform/trunk/build/block-library/captcha/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '5920e7f57f580e5c0dda');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '');
  • omniform/trunk/build/block-library/captcha/index.js

    r2994256 r3068146  
    1 (()=>{"use strict";var e,t={316:()=>{const e=window.wp.blocks,t=JSON.parse('{"name":"omniform/captcha"}'),l=window.React,a=window.wp.i18n,c=window.wp.blockEditor,r=window.wp.components,n=window.wp.element,i=window.wp.coreData,h=window.wp.primitives,o=((0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,l.createElement)(h.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{d:"M7 7h2v2H7V7Z"}),(0,l.createElement)(h.Path,{d:"M9 11H7v2h2v-2Z"}),(0,l.createElement)(h.Path,{d:"M7 15h2v2H7v-2Z"}),(0,l.createElement)(h.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,l.createElement)(h.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,l.createElement)(h.Path,{d:"M17 7h-6v2h6V7Z"}),(0,l.createElement)(h.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"}))),m=(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,l.createElement)(h.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,l.createElement)(h.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),v=(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,l.createElement)(h.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,l.createElement)(h.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,l.createElement)(h.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,l.createElement)(h.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,l.createElement)(h.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,l.createElement)(h.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,l.createElement)(h.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,l.createElement)(h.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,l.createElement)(h.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,l.createElement)(h.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,l.createElement)(h.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,l.createElement)(h.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,l.createElement)(h.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,l.createElement)(h.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,l.createElement)(h.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,l.createElement)(h.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,l.createElement)(h.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,l.createElement)(h.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,l.createElement)(h.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,l.createElement)(h.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,l.createElement)(h.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,l.createElement)(h.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,l.createElement)(h.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),d=(0,l.createElement)(h.SVG,{viewBox:"0 0 24 24"},(0,l.createElement)(h.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,l.createElement)(h.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),s=[],E={hcaptcha:{icon:v,label:(0,a.__)("hCaptcha","omniform"),scriptUrl:"https://js.hcaptcha.com/1/api.js",setupLink:"https://dashboard.hcaptcha.com/sites/new",elementId:"hcaptcha",elementClassName:"h-captcha",globalAccessor:"hcaptcha"},recaptchav2:{icon:m,label:(0,a.__)("reCAPTCHA v2","omniform"),scriptUrl:"https://www.google.com/recaptcha/api.js",setupLink:"https://www.google.com/recaptcha/admin/create",elementId:"recaptcha",elementClassName:"g-recaptcha",globalAccessor:"grecaptcha"},recaptchav3:{icon:m,label:(0,a.__)("reCAPTCHA v3","omniform"),scriptUrl:"https://www.google.com/recaptcha/api.js",setupLink:"https://www.google.com/recaptcha/admin/create",elementId:"recaptcha",elementClassName:"g-recaptcha",globalAccessor:"grecaptcha"},turnstile:{icon:d,label:(0,a.__)("Turnstile","omniform"),scriptUrl:"https://challenges.cloudflare.com/turnstile/v0/api.js",setupLink:"https://dash.cloudflare.com/?to=:/account/turnstile",elementId:"turnstile",elementClassName:"cf-turnstile",globalAccessor:"turnstile"}},p=[{name:"captcha-recaptchav2",icon:{src:m},title:(0,a.__)("reCAPTCHA v2","omniform"),attributes:{service:"recaptchav2",size:"normal"},isDefault:!0},{name:"captcha-recaptchav3",icon:{src:m},title:(0,a.__)("reCAPTCHA v3","omniform"),attributes:{service:"recaptchav3",size:"invisible"}},{name:"captcha-hcaptcha",icon:{src:v},title:(0,a.__)("hCaptcha","omniform"),attributes:{service:"hcaptcha",size:"normal"}},{name:"captcha-turnstile",icon:{src:d},title:(0,a.__)("Turnstile","omniform"),attributes:{service:"turnstile",size:"normal"}}];p.forEach((e=>{e.isActive=(e,t)=>e.service===t.service,e.scope||(e.scope=["inserter","block","transform"])}));const Z=p,{name:f}=t;(0,e.registerBlockType)(f,{edit:({attributes:{service:e,theme:t,size:h},setAttributes:o})=>{const m=(0,n.useRef)(),[v,d]=(0,i.useEntityProp)("root","site",`omniform_${e}_site_key`),[p,Z]=(0,i.useEntityProp)("root","site",`omniform_${e}_secret_key`),[f,V]=(0,n.useState)(!1),[H,M]=(0,n.useState)(null);(0,n.useEffect)((()=>{if(!v)return;const l=document.createElement("div");return((e,t)=>{const l=`${e}-script`,c="handleCaptchaOnLoad",r=s.find((t=>t.id===e));if(document.getElementById(l)&&r)return r.promise;const n=new Promise(((e,r)=>{window[c]=e;const n=document.createElement("script");n.id=l,n.src=`${t}?onload=${c}&render=explicit`,n.async=!0,n.onerror=e=>r((0,a.__)("Failed to load script:","omniform")+" "+t),document.head.appendChild(n)}));return s.push({promise:n,id:e}),n})(E[e].elementId,E[e].scriptUrl).then((()=>{window[E[e].globalAccessor].render(l,{sitekey:v,theme:t,size:h,badge:"inline"}),V(!0),M(null)})).catch((e=>{V(!1),M(e.message)})),m.current.appendChild(l),()=>{l.remove()}}),[v,e,t,h]);const u=(0,c.useBlockProps)(),P=()=>(0,l.createElement)(l.Fragment,null,(0,a.sprintf)(/* translators: 1: captcha service name */
    2 (0,a.__)("To start using %s, you need to sign up for an API key pair for your site. The key pair consists of a site key and secret key.","omniform"),E[e].label)," ",(0,l.createElement)(r.ExternalLink,{href:E[e].setupLink},(0,a.__)("Generate keys","omniform")));return(0,l.createElement)(l.Fragment,null,(0,l.createElement)("div",{...u},(H||!(f||v))&&(0,l.createElement)("div",{className:"wp-block-omniform-captcha-placeholder"},(0,l.createElement)(r.Icon,{icon:E[e].icon,size:36}),(0,l.createElement)("div",{className:"wp-block-omniform-captcha-placeholder__instructions"},(0,l.createElement)(P,null),(0,l.createElement)("div",{style:{color:'var(--wp--preset--color--vivid-red, "#cf2e2e")'}},H))),(0,l.createElement)(r.Disabled,null,(0,l.createElement)("div",{ref:m,className:E[e].elementClassName}))),(0,l.createElement)(c.InspectorControls,null,(0,l.createElement)(r.PanelBody,{title:(0,a.__)("Settings","omniform")},(0,l.createElement)("p",null,(0,l.createElement)(P,null)),(0,l.createElement)(r.TextControl,{label:(0,a.__)("Site Key","omniform"),value:v,onChange:d,type:"password"}),(0,l.createElement)(r.TextControl,{label:(0,a.__)("Secret Key","omniform"),value:p,onChange:Z,type:"password"}),(0,l.createElement)(r.__experimentalToggleGroupControl,{label:(0,a.__)("Theme","omniform"),value:t,onChange:e=>o({theme:e}),isBlock:!0},(0,l.createElement)(r.__experimentalToggleGroupControlOption,{value:"light",label:(0,a.__)("Light","omniform")}),(0,l.createElement)(r.__experimentalToggleGroupControlOption,{value:"dark",label:(0,a.__)("Dark","omniform")})),"recaptchav3"!==e&&(0,l.createElement)(r.__experimentalToggleGroupControl,{label:(0,a.__)("Size","omniform"),value:h,onChange:e=>o({size:e}),isBlock:!0},(0,l.createElement)(r.__experimentalToggleGroupControlOption,{value:"normal",label:(0,a.__)("Normal","omniform")}),(0,l.createElement)(r.__experimentalToggleGroupControlOption,{value:"compact",label:(0,a.__)("Compact","omniform")})))))},icon:{foreground:"#D92E83",src:o},variations:Z})}},l={};function a(e){var c=l[e];if(void 0!==c)return c.exports;var r=l[e]={exports:{}};return t[e](r,r.exports,a),r.exports}a.m=t,e=[],a.O=(t,l,c,r)=>{if(!l){var n=1/0;for(m=0;m<e.length;m++){for(var[l,c,r]=e[m],i=!0,h=0;h<l.length;h++)(!1&r||n>=r)&&Object.keys(a.O).every((e=>a.O[e](l[h])))?l.splice(h--,1):(i=!1,r<n&&(n=r));if(i){e.splice(m--,1);var o=c();void 0!==o&&(t=o)}}return t}r=r||0;for(var m=e.length;m>0&&e[m-1][2]>r;m--)e[m]=e[m-1];e[m]=[l,c,r]},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={642:0,923:0};a.O.j=t=>0===e[t];var t=(t,l)=>{var c,r,[n,i,h]=l,o=0;if(n.some((t=>0!==e[t]))){for(c in i)a.o(i,c)&&(a.m[c]=i[c]);if(h)var m=h(a)}for(t&&t(l);o<n.length;o++)r=n[o],a.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return a.O(m)},l=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];l.forEach(t.bind(null,0)),l.push=t.bind(null,l.push.bind(l))})();var c=a.O(void 0,[923],(()=>a(316)));c=a.O(c)})();
     1(()=>{"use strict";var e,t={/* translators: 1: captcha service name */
     2(0,a.__)("To start using %s, you need to sign up for an API key pair for your site. The key pair consists of a site key and secret key.","omniform"),E[e].label)," ",(0,l.createElement)(r.ExternalLink,{href:E[e].setupLink},(0,a.__)("Generate keys","omniform")));return(0,l.createElement)(l.Fragment,null,(0,l.createElement)("div",{...u},(H||!(f||v))&&(0,l.createElement)("div",{className:"wp-block-omniform-captcha-placeholder"},(0,l.createElement)(r.Icon,{icon:E[e].icon,size:36}),(0,l.createElement)("div",{className:"wp-block-omniform-captcha-placeholder__instructions"},(0,l.createElement)(P,null),(0,l.createElement)("div",{style:{color:'var(--wp--preset--color--vivid-red, "#cf2e2e")'}},H))),(0,l.createElement)(r.Disabled,null,(0,l.createElement)("div",{ref:m,className:E[e].elementClassName}))),(0,l.createElement)(c.InspectorControls,null,(0,l.createElement)(r.PanelBody,{title:(0,a.__)("Settings","omniform")},(0,l.createElement)("p",null,(0,l.createElement)(P,null)),(0,l.createElement)(r.TextControl,{label:(0,a.__)("Site Key","omniform"),value:v,onChange:d,type:"password"}),(0,l.createElement)(r.TextControl,{label:(0,a.__)("Secret Key","omniform"),value:p,onChange:Z,type:"password"}),(0,l.createElement)(r.__experimentalToggleGroupControl,{label:(0,a.__)("Theme","omniform"),value:t,onChange:e=>o({theme:e}),isBlock:!0},(0,l.createElement)(r.__experimentalToggleGroupControlOption,{value:"light",label:(0,a.__)("Light","omniform")}),(0,l.createElement)(r.__experimentalToggleGroupControlOption,{value:"dark",label:(0,a.__)("Dark","omniform")})),"recaptchav3"!==e&&(0,l.createElement)(r.__experimentalToggleGroupControl,{label:(0,a.__)("Size","omniform"),value:h,onChange:e=>o({size:e}),isBlock:!0},(0,l.createElement)(r.__experimentalToggleGroupControlOption,{value:"normal",label:(0,a.__)("Normal","omniform")}),(0,l.createElement)(r.__experimentalToggleGroupControlOption,{value:"compact",label:(0,a.__)("Compact","omniform")})))))},icon:{foreground:"#D92E83",src:o},variations:Z})}},l={};function a(e){var c=l[e];if(void 0!==c)return c.exports;var r=l[e]={exports:{}};return t[e](r,r.exports,a),r.exports}a.m=t,e=[],a.O=(t,l,c,r)=>{if(!l){var n=1/0;for(m=0;m<e.length;m++){for(var[l,c,r]=e[m],i=!0,h=0;h<l.length;h++)(!1&r||n>=r)&&Object.keys(a.O).every((e=>a.O[e](l[h])))?l.splice(h--,1):(i=!1,r<n&&(n=r));if(i){e.splice(m--,1);var o=c();void 0!==o&&(t=o)}}return t}r=r||0;for(var m=e.length;m>0&&e[m-1][2]>r;m--)e[m]=e[m-1];e[m]=[l,c,r]},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={)));c=a.O(c)})();
  • omniform/trunk/build/block-library/field/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '5f6674ee6a4c16126c0d');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '');
  • omniform/trunk/build/block-library/field/index.js

    r2994256 r3068146  
    1 (()=>{"use strict";var e,l={564:()=>{const e=window.wp.i18n,l=window.wp.blocks,t=window.wp.htmlEntities,i=JSON.parse('{"name":"omniform/field"}'),n=window.React,o=window.wp.data,a=window.wp.blockEditor,r=window.wp.components,m=window.wp.url,c=window.wp.primitives,h=((0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"}))),d=((0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"}))),f=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),s=(0,n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),v=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),p=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),E=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),Z=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),u=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),V=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),H=((0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"}))),_=(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),B=((0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,n.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"}))),M=((0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M7 7h2v2H7V7Z"}),(0,n.createElement)(c.Path,{d:"M9 11H7v2h2v-2Z"}),(0,n.createElement)(c.Path,{d:"M7 15h2v2H7v-2Z"}),(0,n.createElement)(c.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,n.createElement)(c.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,n.createElement)(c.Path,{d:"M17 7h-6v2h6V7Z"}),(0,n.createElement)(c.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,n.createElement)(c.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,n.createElement)(c.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,n.createElement)(c.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,n.createElement)(c.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,n.createElement)(c.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,n.createElement)(c.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,n.createElement)(c.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,n.createElement)(c.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,n.createElement)(c.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,n.createElement)(c.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,n.createElement)(c.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,n.createElement)(c.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,n.createElement)(c.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,n.createElement)(c.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,n.createElement)(c.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,n.createElement)(c.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,n.createElement)(c.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,n.createElement)(c.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,n.createElement)(c.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,n.createElement)(c.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,n.createElement)(c.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,n.createElement)(c.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,n.createElement)(c.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,n.createElement)(c.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,n.createElement)(c.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,n.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,n.createElement)(c.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,n.createElement)(c.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),({attributes:{fieldLabel:t,fieldName:i,isRequired:c},setAttributes:h,clientId:d})=>{const{labelBlock:f,inputBlock:s,hasLabel:v,canHideLabel:p}=(0,o.useSelect)((e=>{const{getBlocks:l}=e(a.store),t=l(d),i=t.find((e=>"omniform/label"===e.name)),n=t.find((e=>["omniform/input","omniform/textarea","omniform/select"].includes(e.name)));return{labelBlock:i,inputBlock:n,hasLabel:!!i,canHideLabel:n&&!(["checkbox","radio"].includes(n.attributes?.fieldType)||n.attributes?.isMultiple)}}),[d]),{insertBlock:E,removeBlock:Z,updateBlockAttributes:u,updateBlockListSettings:V}=(0,o.useDispatch)(a.store),H=(0,a.useBlockProps)(),_=(0,a.useInnerBlocksProps)(H,{__experimentalCaptureToolbars:!0,templateLock:"insert",template:[["omniform/label"],["omniform/input"]]}),M=()=>h({isRequired:!c});return(0,n.createElement)(n.Fragment,null,(0,n.createElement)("div",{..._}),(0,n.createElement)(a.BlockControls,null,(0,n.createElement)(r.ToolbarGroup,null,(0,n.createElement)(r.ToolbarButton,{icon:B,isActive:c,label:(0,e.__)("Required for submission","omniform"),onClick:M}))),(0,n.createElement)(a.InspectorControls,null,(0,n.createElement)(r.PanelBody,{title:(0,e.__)("Field Settings","omniform")},(0,n.createElement)(r.ToggleControl,{label:(0,e.__)("Required for submission","omniform"),checked:c,onChange:M,help:(0,e.__)("A value is required or must be check for the form to be submittable.","omniform")}),p&&(0,n.createElement)(r.ToggleControl,{label:(0,e.__)("Hidden label","omniform"),checked:!v,onChange:()=>{v?(u([f.clientId],{lock:{remove:!1}}),Z(f.clientId,!1),u([s.clientId],{fieldPlaceholder:t.replace(/(<([^>]+)>)/gi,"")})):(V(d,{templateLock:!1}),E((0,l.createBlock)("omniform/label"),0,d,!1),V(d,{templateLock:!0}),u([s.clientId],{fieldPlaceholder:void 0}))},help:(0,e.__)("Hide the field's label, current label becomes the field's placeholder.","omniform")}),!v&&(0,n.createElement)(r.TextControl,{label:(0,e.__)("Label","omniform"),value:t,onChange:e=>{const l=(0,m.cleanForSlug)(t.replace(/(<([^>]+)>)/gi,""));h(i&&i!==l?{fieldLabel:e}:{fieldLabel:e,fieldName:(0,m.cleanForSlug)(e.replace(/(<([^>]+)>)/gi,""))})},help:(0,e.__)("Label for the form control.","omniform")}),(0,n.createElement)(r.TextControl,{label:(0,e.__)("Name","omniform"),value:i,onChange:e=>{h({fieldName:e})},onBlur:()=>{h({fieldName:(0,m.cleanForSlug)((i||t).replace(/(<([^>]+)>)/gi,""))})},help:(0,e.__)("Name of the form control. Defaults to the label.","omniform")}))))}),b=(l,t)=>({attributes:{fieldLabel:t||(0,e.__)("Field Label","omniform")},innerBlocks:[{name:"omniform/label"},{name:"omniform/input",attributes:{fieldType:l}}]}),P=(l,t)=>({attributes:{fieldLabel:t||(0,e.__)("Field Label","omniform"),layout:{type:"flex",orientation:"horizontal",justifyContent:"left"}},innerBlocks:[{name:"omniform/input",attributes:{fieldType:l}},{name:"omniform/label"}]}),k=[{name:"field-text",icon:{src:d},title:(0,e.__)("Text","omniform"),description:(0,e.__)("A field for brief text entry.","omniform"),keywords:["input","short"],example:b("text",(0,e.__)("Short Text","omniform")),innerBlocks:b("text").innerBlocks,isDefault:!0},{name:"field-email",icon:{src:f},title:(0,e.__)("Email","omniform"),description:(0,e.__)("A field for collecting an email address.","omniform"),keywords:["input","address","mail"],example:b("email",(0,e.__)("Email Address","omniform")),innerBlocks:b("email").innerBlocks},{name:"field-url",icon:{src:s},title:(0,e.__)("URL","omniform"),description:(0,e.__)("A field for collecting a website address or URL.","omniform"),keywords:["input","link","website"],example:b("url",(0,e.__)("URL","omniform")),innerBlocks:b("url").innerBlocks},{name:"field-number",icon:{src:v},title:(0,e.__)("Number","omniform"),description:(0,e.__)("A field for collecting a numerical value.","omniform"),keywords:["input","numeric","integer","decimal"],example:b("number",(0,e.__)("Number","omniform")),innerBlocks:b("number").innerBlocks},{name:"field-checkbox",icon:{src:p},title:(0,e.__)("Checkbox","omniform"),description:(0,e.__)("A field for selecting multiple options or choices.","omniform"),keywords:["input","box","multiple","choice"],attributes:{layout:{type:"flex",orientation:"horizontal",justifyContent:"left"}},example:P("checkbox",(0,e.__)("Checkbox","omniform")),innerBlocks:P("checkbox").innerBlocks},{name:"field-radio",icon:{src:E},title:(0,e.__)("Radio","omniform"),description:(0,e.__)("A field in a group allowing for one selected choice.","omniform"),keywords:["input","single","choice"],attributes:{layout:{type:"flex",orientation:"horizontal",justifyContent:"left"}},example:P("radio",(0,e.__)("Radio","omniform")),innerBlocks:P("radio").innerBlocks},{name:"field-date",icon:{src:Z},title:(0,e.__)("Date","omniform"),description:(0,e.__)("A field for collecting a formatted date.","omniform"),keywords:["input","calendar","time"],example:b("date",(0,e.__)("Date","omniform")),innerBlocks:b("date").innerBlocks},{name:"field-datetime-local",icon:{src:Z},title:(0,e.__)("Datetime","omniform"),description:(0,e.__)("A field for collecting a localized date and time.","omniform"),keywords:["input","calendar","time"],example:b("datetime-local",(0,e.__)("Date","omniform")),innerBlocks:b("datetime-local").innerBlocks},{name:"field-month",icon:{src:Z},title:(0,e.__)("Month","omniform"),description:(0,e.__)("A field for collecting a month formatted date.","omniform"),keywords:["input","date","calendar","time"],example:b("month",(0,e.__)("Month","omniform")),innerBlocks:b("month").innerBlocks},{name:"field-tel",icon:{src:u},title:(0,e.__)("Phone","omniform"),description:(0,e.__)("A field for collecting a telephone number.","omniform"),keywords:["input","telephone","number"],example:b("tel",(0,e.__)("Phone Number","omniform")),innerBlocks:b("tel").innerBlocks},{name:"field-time",icon:{src:V},title:(0,e.__)("Time","omniform"),description:(0,e.__)("A field for collecting a formatted time.","omniform"),keywords:["input","clock"],example:b("time",(0,e.__)("Time","omniform")),innerBlocks:b("time").innerBlocks},{name:"field-week",icon:{src:Z},title:(0,e.__)("Week","omniform"),description:(0,e.__)("A field for collecting a week formatted date.","omniform"),keywords:["input","date","calendar","time"],example:b("week",(0,e.__)("Week","omniform")),innerBlocks:b("week").innerBlocks},{name:"field-textarea",icon:{src:H},title:(0,e.__)("Textarea","omniform"),description:(0,e.__)("A field for long-form text responses.","omniform"),keywords:["input","long","paragraph"],example:{attributes:{fieldLabel:(0,e.__)("Long Text","omniform")},innerBlocks:[{name:"omniform/label"},{name:"omniform/textarea",attributes:{style:{dimensions:{minHeight:"230px"}}}}]},innerBlocks:[{name:"omniform/label"},{name:"omniform/textarea",attributes:{style:{dimensions:{minHeight:"230px"}}}}]},{name:"field-select",icon:{src:_},title:(0,e.__)("Select","omniform"),description:(0,e.__)("A field offering multiple options for a single selection.","omniform"),keywords:["input","dropdown","single","choice"],example:{attributes:{fieldLabel:(0,e.__)("Single Select","omniform")},innerBlocks:[{name:"omniform/label"},{name:"omniform/select"}]},innerBlocks:[{name:"omniform/label"},{name:"omniform/select"}]},{name:"field-select-multiple",icon:{src:_},title:(0,e.__)("Select Multiple","omniform"),description:(0,e.__)("A field offering multiple options for multiple selections.","omniform"),keywords:["input","dropdown","multiple","choice"],example:{attributes:{fieldLabel:(0,e.__)("Multi-Select","omniform")},innerBlocks:[{name:"omniform/label"},{name:"omniform/select",attributes:{isMultiple:!0,style:{dimensions:{minHeight:"130px"}}},innerBlocks:[{name:"omniform/select-option",attributes:{fieldLabel:(0,e.__)("Option One","omniform")}},{name:"omniform/select-option",attributes:{fieldLabel:(0,e.__)("Option Two","omniform")}},{name:"omniform/select-option",attributes:{fieldLabel:(0,e.__)("Option Three","omniform")}}]}]},innerBlocks:[{name:"omniform/label"},{name:"omniform/select",attributes:{isMultiple:!0,style:{dimensions:{minHeight:"230px"}}}}]}],{name:w}=i;(0,l.registerBlockType)(w,{edit:M,save:()=>a.useInnerBlocksProps.save(a.useBlockProps.save()).children,icon:{foreground:"#D92E83",src:h},variations:k,example:{attributes:{fieldLabel:(0,e.__)("Field Label","omniform")}},merge:(e,l)=>({fieldLabel:(e.fieldLabel||"")+(l.fieldLabel||"")}),__experimentalLabel:({fieldLabel:e})=>e&&(0,t.decodeEntities)(e)})}},t={};function i(e){var n=t[e];if(void 0!==n)return n.exports;var o=t[e]={exports:{}};return l[e](o,o.exports,i),o.exports}i.m=l,e=[],i.O=(l,t,n,o)=>{if(!t){var a=1/0;for(h=0;h<e.length;h++){for(var[t,n,o]=e[h],r=!0,m=0;m<t.length;m++)(!1&o||a>=o)&&Object.keys(i.O).every((e=>i.O[e](t[m])))?t.splice(m--,1):(r=!1,o<a&&(a=o));if(r){e.splice(h--,1);var c=n();void 0!==c&&(l=c)}}return l}o=o||0;for(var h=e.length;h>0&&e[h-1][2]>o;h--)e[h]=e[h-1];e[h]=[t,n,o]},i.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),(()=>{var e={216:0,969:0};i.O.j=l=>0===e[l];var l=(l,t)=>{var n,o,[a,r,m]=t,c=0;if(a.some((l=>0!==e[l]))){for(n in r)i.o(r,n)&&(i.m[n]=r[n]);if(m)var h=m(i)}for(l&&l(t);c<a.length;c++)o=a[c],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return i.O(h)},t=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];t.forEach(l.bind(null,0)),t.push=l.bind(null,t.push.bind(t))})();var n=i.O(void 0,[969],(()=>i(564)));n=i.O(n)})();
     1(()=>{"use strict";var e,l={)})();
  • omniform/trunk/build/block-library/fieldset/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '5e3f8bfa599ab9d32627');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '');
  • omniform/trunk/build/block-library/fieldset/index.js

    r2994256 r3068146  
    1 (()=>{"use strict";var e,l={86:()=>{const e=window.wp.i18n,l=window.wp.blocks,t=window.wp.htmlEntities,a=JSON.parse('{"name":"omniform/fieldset"}'),i=window.React,n=window.wp.blockEditor,h=window.wp.components,r=window.wp.url,c=window.wp.coreData,o=window.wp.primitives,m=((0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"}))),v=((0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,i.createElement)(o.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"}))),d=((0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{d:"M7 7h2v2H7V7Z"}),(0,i.createElement)(o.Path,{d:"M9 11H7v2h2v-2Z"}),(0,i.createElement)(o.Path,{d:"M7 15h2v2H7v-2Z"}),(0,i.createElement)(o.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,i.createElement)(o.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,i.createElement)(o.Path,{d:"M17 7h-6v2h6V7Z"}),(0,i.createElement)(o.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,i.createElement)(o.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,i.createElement)(o.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,i.createElement)(o.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,i.createElement)(o.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,i.createElement)(o.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,i.createElement)(o.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,i.createElement)(o.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,i.createElement)(o.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,i.createElement)(o.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,i.createElement)(o.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,i.createElement)(o.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,i.createElement)(o.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,i.createElement)(o.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,i.createElement)(o.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,i.createElement)(o.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,i.createElement)(o.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,i.createElement)(o.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,i.createElement)(o.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,i.createElement)(o.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,i.createElement)(o.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,i.createElement)(o.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,i.createElement)(o.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,i.createElement)(o.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,i.createElement)(o.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,i.createElement)(o.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,i.createElement)(o.SVG,{viewBox:"0 0 24 24"},(0,i.createElement)(o.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,i.createElement)(o.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),({attributes:{fieldLabel:l,fieldName:t,isRequired:a},setAttributes:o,context:m})=>{const{postId:d,postType:f}=m,[E,Z]=(0,c.useEntityProp)("postType",f,"meta",d),V=E?.required_label,H=(0,n.useBlockProps)(),M=(0,n.useInnerBlocksProps)(),s=()=>o({isRequired:!a});return(0,i.createElement)("div",{...H},(0,i.createElement)("div",{className:"omniform-field-label"},(0,i.createElement)(n.RichText,{identifier:"fieldsetLabel","aria-label":(0,e.__)("Legend text","omniform"),placeholder:(0,e.__)("Enter a title to the field…","omniform"),multiple:!1,value:l,onChange:e=>t&&t!==(0,r.cleanForSlug)(l.replace(/(<([^>]+)>)/gi,""))?o({fieldLabel:e}):o({fieldLabel:e,fieldName:(0,r.cleanForSlug)(e.replace(/(<([^>]+)>)/gi,""))}),withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image"]}),a&&(0,i.createElement)(n.RichText,{identifier:"requiredLabel",tagName:"span",className:"omniform-field-required",placeholder:(0,e.__)("Enter a required field label…","omniform"),value:V,onChange:e=>{Z({...E,required_label:e})},withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image"]})),(0,i.createElement)("div",{...M}),(0,i.createElement)(n.BlockControls,null,(0,i.createElement)(h.ToolbarGroup,null,(0,i.createElement)(h.ToolbarButton,{icon:v,isActive:a,label:(0,e.__)("Required for submission","omniform"),onClick:s}))),(0,i.createElement)(n.InspectorControls,null,(0,i.createElement)(h.PanelBody,{title:(0,e.__)("Fieldset Settings","omniform")},(0,i.createElement)(h.ToggleControl,{label:(0,e.__)("Required for submission","omniform"),checked:a,onChange:s,help:(0,e.__)("Set default 'required' state for all fields in the group.","omniform")}),(0,i.createElement)(h.TextControl,{label:(0,e.__)("Name","omniform"),value:t,onChange:e=>{o({fieldName:e})},onBlur:()=>{o({fieldName:(0,r.cleanForSlug)((t||l).replace(/(<([^>]+)>)/gi,""))})},help:(0,e.__)("Name of the fieldset. Defaults to the fieldset's label.","omniform")}))))}),{name:f}=a;(0,l.registerBlockType)(f,{edit:d,icon:{foreground:"#D92E83",src:m},save:()=>n.useInnerBlocksProps.save(n.useBlockProps.save()).children,example:{attributes:{fieldLabel:(0,e.__)("Field Group","omniform")},innerBlocks:[{attributes:{fieldLabel:(0,e.__)("Option One","omniform"),layout:{type:"flex",orientation:"horizontal",justifyContent:"left"}},name:"omniform/field",innerBlocks:[{name:"omniform/input",attributes:{fieldType:"radio"}},{name:"omniform/label"}]},{attributes:{fieldLabel:(0,e.__)("Option Two","omniform"),layout:{type:"flex",orientation:"horizontal",justifyContent:"left"}},name:"omniform/field",innerBlocks:[{name:"omniform/input",attributes:{fieldType:"radio"}},{name:"omniform/label"}]},{attributes:{fieldLabel:(0,e.__)("Option Three","omniform"),layout:{type:"flex",orientation:"horizontal",justifyContent:"left"}},name:"omniform/field",innerBlocks:[{name:"omniform/input",attributes:{fieldType:"radio"}},{name:"omniform/label"}]}]},__experimentalLabel:({fieldLabel:e})=>e&&(0,t.decodeEntities)(e)})}},t={};function a(e){var i=t[e];if(void 0!==i)return i.exports;var n=t[e]={exports:{}};return l[e](n,n.exports,a),n.exports}a.m=l,e=[],a.O=(l,t,i,n)=>{if(!t){var h=1/0;for(m=0;m<e.length;m++){for(var[t,i,n]=e[m],r=!0,c=0;c<t.length;c++)(!1&n||h>=n)&&Object.keys(a.O).every((e=>a.O[e](t[c])))?t.splice(c--,1):(r=!1,n<h&&(h=n));if(r){e.splice(m--,1);var o=i();void 0!==o&&(l=o)}}return l}n=n||0;for(var m=e.length;m>0&&e[m-1][2]>n;m--)e[m]=e[m-1];e[m]=[t,i,n]},a.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),(()=>{var e={708:0,122:0};a.O.j=l=>0===e[l];var l=(l,t)=>{var i,n,[h,r,c]=t,o=0;if(h.some((l=>0!==e[l]))){for(i in r)a.o(r,i)&&(a.m[i]=r[i]);if(c)var m=c(a)}for(l&&l(t);o<h.length;o++)n=h[o],a.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return a.O(m)},t=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];t.forEach(l.bind(null,0)),t.push=l.bind(null,t.push.bind(t))})();var i=a.O(void 0,[122],(()=>a(86)));i=a.O(i)})();
     1(()=>{"use strict";var e,l={)));i=a.O(i)})();
  • omniform/trunk/build/block-library/form/index.asset.php

    r3062342 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-primitives', 'wp-url'), 'version' => '4fff041d68bbf05554d9');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-e');
  • omniform/trunk/build/block-library/form/index.css

    r3062342 r3068146  
    11.omniform-create-form-modal{z-index:z-index(".omniform-create-form-modal")}@media(min-width:600px){.omniform-create-form-modal .components-modal__frame{max-width:500px}}.omniform-create-form-modal .badge{background-color:#000;border-radius:50rem;color:#fff;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:8px;padding:4px 8px;text-align:center;vertical-align:baseline;white-space:nowrap}.omniform-create-form-modal__modal-actions{padding-top:12px}.omniform-create-form-modal__area-base-control .components-base-control__label{cursor:auto;margin:16px 0 8px}.omniform-create-form-modal__area-radio-group{border:1px solid #757575;border-radius:2px;width:100%}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio{display:block;height:100%;padding:12px;text-align:left;width:100%}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio,.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio.is-primary:hover,.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio.is-secondary:hover{background-color:inherit;border-bottom:1px solid #757575;border-radius:0;margin:0}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio.is-primary:hover:not(:focus),.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio.is-secondary:hover:not(:focus),.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio:not(:focus){box-shadow:none}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio.is-primary:hover:focus,.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio.is-secondary:hover:focus,.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio:focus{border-bottom:1px solid #fff}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio.is-primary:hover:last-of-type,.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio.is-secondary:hover:last-of-type,.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio:last-of-type{border-bottom:none}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio:not(:hover),.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio[aria-checked=true]{color:#1e1e1e;cursor:auto}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio:not(:hover) .omniform-create-form-modal__option-label div,.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio[aria-checked=true] .omniform-create-form-modal__option-label div{color:#949494}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio .omniform-create-form-modal__option-label{padding-top:4px;white-space:normal}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio .omniform-create-form-modal__option-label div{font-size:12px;padding-top:4px}.omniform-create-form-modal__area-radio-group .components-button.omniform-create-form-modal__area-radio .omniform-create-form-modal__checkbox{margin-left:auto;min-width:24px}
    2 .components-panel__body.is-opened.omniform-view-responses__panel{height:48px;padding:0}.components-panel__body.is-opened.omniform-view-responses__panel .components-button{font-weight:600;height:100%;padding:16px;width:100%}.components-panel__body.is-opened.omniform-view-responses__panel .components-button:active,.components-panel__body.is-opened.omniform-view-responses__panel .components-button:hover{background:#f0f0f0}.components-panel__body.is-opened.omniform-view-responses__panel .components-button:focus{border-radius:0;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-form__selection-modal .block-library-form__selection-content{padding-top:16px}.block-editor-form__selection-modal .block-editor-block-patterns-list{-moz-column-count:2;column-count:2;-moz-column-gap:24px;column-gap:24px}@media(min-width:1280px){.block-editor-form__selection-modal .block-editor-block-patterns-list{-moz-column-count:3;column-count:3}}.block-editor-form__selection-modal .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item{-moz-column-break-inside:avoid;break-inside:avoid-column}
     2.components-panel__body.is-opened.omniform-view-responses__panel{height:48px;padding:0}.components-panel__body.is-opened.omniform-view-responses__panel .components-button{font-weight:600;height:100%;padding:16px;width:100%}.components-panel__body.is-opened.omniform-view-responses__panel .components-button:active,.components-panel__body.is-opened.omniform-view-responses__panel .components-button:hover{background:#f0f0f0}.components-panel__body.is-opened.omniform-view-responses__panel .components-button:focus{border-radius:0;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.block-editor-form__selection-modal .block-library-form__selection-content{padding-top:16px}.block-editor-form__selection-modal .block-editor-block-patterns-list{-moz-column-count:2;column-count:2;-moz-column-gap:24px;column-gap:24px}@media(min-width:1280px){.block-editor-form__selection-modal .block-editor-block-patterns-list{-moz-column-count:3;column-count:3}}.block-editor-form__selection-modal .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item{-moz-column-break-inside:avoid;break-inside:avoid-column}
  • omniform/trunk/build/block-library/form/index.js

    r3062342 r3068146  
    1 (()=>{"use strict";var e,t={12:()=>{const e=window.React;var t=function(){return t=Object.assign||function(e){for(var t,l=1,o=arguments.length;l<o;l++)for(var r in t=arguments[l])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},t.apply(this,arguments)};function l(e){return e.toLowerCase()}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var o=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],r=/[^A-Z0-9]+/gi;function a(e,t,l){return t instanceof RegExp?e.replace(t,l):t.reduce((function(e,t){return e.replace(t,l)}),e)}function n(e){return function(e){return e.charAt(0).toUpperCase()+e.substr(1)}(e.toLowerCase())}const i=window.wp.blocks,c=window.wp.data,m=window.wp.htmlEntities,s=window.wp.hooks,d=window.wp.compose,h=JSON.parse('{"name":"omniform/form"}'),v=window.wp.blockEditor,f=window.wp.components,E=window.wp.coreData,p=window.wp.element,u=window.wp.i18n,Z="omniform",V=["omniform/button","omniform/fieldset","omniform/field","omniform/label","omniform/input","omniform/textarea","omniform/select","omniform/select-group","omniform/select-option","omniform/captcha","core/audio","core/block","core/code","core/column","core/columns","core/cover","core/file","core/gallery","core/group","core/heading","core/image","core/list-item","core/list","core/missing","core/paragraph","core/pattern","core/preformatted","core/separator","core/site-logo","core/site-tagline","core/site-title","core/spacer","core/table","core/video"];function H({blockProps:t,formId:l,hasInnerBlocks:o}){const r=(0,p.useMemo)((()=>({postId:l,postType:Z})),[l]),[a,n,i]=(0,E.useEntityBlockEditor)("postType",Z,{id:l}),c=(0,v.useInnerBlocksProps)(t,{allowedBlocks:V,value:a,onInput:n,onChange:i,renderAppender:o?void 0:v.InnerBlocks.ButtonBlockAppender});return(0,e.createElement)(v.BlockContextProvider,{value:r},(0,e.createElement)("div",{...c}))}const M=window.wp.url,w=window.wp.primitives,_=(0,p.createElement)(w.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,p.createElement)(w.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6.68822 16.625L5.5 17.8145L5.5 5.5L18.5 5.5L18.5 16.625L6.68822 16.625ZM7.31 18.125L19 18.125C19.5523 18.125 20 17.6773 20 17.125L20 5C20 4.44772 19.5523 4 19 4H5C4.44772 4 4 4.44772 4 5V19.5247C4 19.8173 4.16123 20.086 4.41935 20.2237C4.72711 20.3878 5.10601 20.3313 5.35252 20.0845L7.31 18.125ZM16 9.99997H8V8.49997H16V9.99997ZM8 14H13V12.5H8V14Z"}));function P({formId:t,isEntityAvailable:l}){const[o,r]=(0,E.useEntityProp)("postType",Z,"title",t);return l&&(0,e.createElement)(v.InspectorControls,null,(0,e.createElement)(f.PanelBody,{className:"omniform-view-responses__panel"},(0,e.createElement)(f.Button,{icon:_,href:(0,M.addQueryArgs)("edit.php",{post_type:"omniform_response",omniform_id:t})},(0,u.__)("View responses","omniform"))),(0,e.createElement)(f.PanelBody,{title:(0,u.__)("Form Settings","omniform")},(0,e.createElement)(f.TextControl,{label:(0,u.__)("Name","omniform"),value:o,onChange:r,help:(0,u.__)("This name will not be visible to viewers and is only for identifying the form.","omniform")}),(0,e.createElement)(f.Button,{variant:"primary",href:(0,M.addQueryArgs)("post.php",{action:"edit",post:t})},(0,u.__)("View in Form Editor","omniform"))))}const g=window.wp.notices;function B(e){const{forms:t=[],isResolving:l}=(0,c.useSelect)((e=>{var t,l;const{getEntityRecords:o,isResolving:r}=e(E.store),a={per_page:-1,status:"publish"},n={per_page:-1,status:"draft"};return{forms:[...null!==(t=o("postType",Z,a))&&void 0!==t?t:[],...null!==(l=o("postType",Z,n))&&void 0!==l?l:[]],isLoading:r("getEntityRecords",["postType",Z,a])||r("getEntityRecords",["postType",Z,n])}}),[]);return{forms:(0,p.useMemo)((()=>t&&t.filter((t=>t.id!==e))||[]),[t,e]),isResolving:l}}const y=(0,p.createElement)(w.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,p.createElement)(w.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),b=(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),F=((0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,e.createElement)(w.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,e.createElement)(w.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,e.createElement)(w.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{d:"M7 7h2v2H7V7Z"}),(0,e.createElement)(w.Path,{d:"M9 11H7v2h2v-2Z"}),(0,e.createElement)(w.Path,{d:"M7 15h2v2H7v-2Z"}),(0,e.createElement)(w.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,e.createElement)(w.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,e.createElement)(w.Path,{d:"M17 7h-6v2h6V7Z"}),(0,e.createElement)(w.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"}))),x=(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),k=(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"}));function C({closeModal:t,onCreate:l}){const[o,r]=(0,p.useState)(""),[a,n]=(0,p.useState)("uncategorized"),[i,c]=(0,p.useState)(!1),m=(0,d.useInstanceId)(C),s=[{type:"uncategorized",description:(0,u.__)("General forms are used to collect and organize information for processing or storage.","omniform"),icon:F,label:(0,u.__)("General","omniform")},{type:"search",description:(0,u.__)("A search form allows users to enter a search query and find relevant information on the website.","omniform"),icon:x,label:(0,e.createElement)(e.Fragment,null,(0,u.__)("Search","omniform"),(0,e.createElement)("span",{className:"badge"},(0,u.__)("coming soon","omniform"))),disabled:!0},{type:"login",description:(0,u.__)("A login form is used to authenticate a user's identity and grant them access to the website.","omniform"),icon:k,label:(0,e.createElement)(e.Fragment,null,(0,u.__)("Login","omniform"),(0,e.createElement)("span",{className:"badge"},(0,u.__)("coming soon","omniform"))),disabled:!0}];return(0,e.createElement)(f.Modal,{title:(0,u.__)("Create a form","omniform"),closeLabel:(0,u.__)("Close","omniform"),onRequestClose:t,overlayClassName:"omniform-create-form-modal"},(0,e.createElement)("form",{onSubmit:async e=>{e.preventDefault(),o&&(c(!0),await l({title:o,type:a}))}},(0,e.createElement)(f.TextControl,{label:(0,u.__)("Name","omniform"),value:o,onChange:r,required:!0}),(0,e.createElement)(f.BaseControl,{label:(0,u.__)("Type","omniform"),id:`omniform-create-form-modal__area-selection-${m}`,className:"omniform-create-form-modal__area-base-control"},(0,e.createElement)(f.__experimentalRadioGroup,{label:(0,u.__)("Type","omniform"),className:"omniform-create-form-modal__area-radio-group",id:`omniform-create-form-modal__area-selection-${m}`,onChange:n,checked:a},s.map((({icon:t,label:l,type:o,description:r,disabled:n})=>(0,e.createElement)(f.__experimentalRadio,{key:o,value:o,className:"omniform-create-form-modal__area-radio",disabled:n},(0,e.createElement)(f.Flex,{align:"start",justify:"start"},(0,e.createElement)(f.FlexItem,null,(0,e.createElement)(f.Icon,{icon:t})),(0,e.createElement)(f.FlexBlock,{className:"omniform-create-form-modal__option-label"},l,(0,e.createElement)("div",null,r)),(0,e.createElement)(f.FlexItem,{className:"omniform-create-form-modal__checkbox"},a===o&&(0,e.createElement)(f.Icon,{icon:y})))))))),(0,e.createElement)(f.Flex,{className:"omniform-create-form-modal__modal-actions",justify:"flex-end"},(0,e.createElement)(f.FlexItem,null,(0,e.createElement)(f.Button,{variant:"secondary",onClick:()=>{t()}},(0,u.__)("Cancel","omniform"))),(0,e.createElement)(f.FlexItem,null,(0,e.createElement)(f.Button,{variant:"primary",type:"submit",disabled:!o,isBusy:i},(0,u.__)("Create","omniform"))))))}function S({setAttributes:t,onOpenSelectionModal:l}){const{forms:o,isResolving:r}=B(),a=function(e){const{saveEntityRecord:t}=(0,c.useDispatch)(E.store);return async(l=[],o=(0,u.__)("Untitled Form","omniform"),r="uncategorized")=>{const a={title:o,content:(0,i.serialize)(l),status:"publish"},n=await t("postType",Z,a);e({ref:n.id})}}(t),[n,m]=(0,p.useState)(!1),{createSuccessNotice:s,createErrorNotice:d}=(0,c.useDispatch)(g.store);return(0,e.createElement)(f.Placeholder,{icon:null,label:(0,u.__)("OmniForm Form","omniform"),instructions:(0,u.__)("Choose an existing form or create a new one.","omniform")},r&&(0,e.createElement)(f.Spinner,null),!r&&!!o.length&&(0,e.createElement)(f.Button,{variant:"primary",onClick:l},(0,u.__)("Choose","omniform")),!r&&(0,e.createElement)(f.Button,{variant:"secondary",onClick:()=>m(!0)},(0,u.__)("Start blank","omniform")),n&&(0,e.createElement)(C,{closeModal:()=>m(!1),onCreate:async({title:e,type:t})=>{if(e)try{await a([],e,t),s((0,u.__)("Form created","omniform"),{type:"snackbar"}),m(!1)}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:(0,u.__)("An error occurred while creating the form.","omniform");d(t,{type:"snackbar"}),m(!1)}else d((0,u.__)("Title is not defined","omniform"),{type:"snackbar"})}}))}function D({formId:t=null,onClose:l,setAttributes:o}){const{forms:r}=B(t),a=(0,p.useMemo)((()=>r.map((e=>({name:e.slug,title:e.title.raw,blocks:(0,i.createBlock)("omniform/form",{ref:e.id}),viewportWidth:768,form:e})))),r),n=(0,d.useAsyncList)(a),c=!!r.length;return(0,e.createElement)("div",{className:"block-library-form__selection-content"},c&&(0,e.createElement)(v.__experimentalBlockPatternsList,{blockPatterns:a,shownPatterns:n,onClickPattern:e=>{var t;t=e.form,o({ref:t.id}),l()},orientation:"horizontal"}),!c&&(0,e.createElement)(f.__experimentalHStack,{alignment:"center"},(0,e.createElement)("p",null,(0,u.__)("No results found.","omniform"))))}(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,e.createElement)(w.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,e.createElement)(w.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,e.createElement)(w.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,e.createElement)(w.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,e.createElement)(w.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,e.createElement)(w.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,e.createElement)(w.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,e.createElement)(w.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,e.createElement)(w.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,e.createElement)(w.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,e.createElement)(w.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,e.createElement)(w.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,e.createElement)(w.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,e.createElement)(w.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,e.createElement)(w.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,e.createElement)(w.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,e.createElement)(w.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,e.createElement)(w.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,e.createElement)(w.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,e.createElement)(w.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,e.createElement)(w.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,e.createElement)(w.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,e.createElement)(w.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,e.createElement)(w.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,e.createElement)(w.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,e.createElement)(w.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(w.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,e.createElement)(w.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"}));const{name:R}=h;(0,i.registerBlockType)(R,{edit:function({context:t,attributes:l,setAttributes:o,clientId:r}){const{postId:a,postType:n}=t,{ref:i}=l,m=n===Z?a:i,s=(0,v.__experimentalUseHasRecursion)([m]),[d,h]=(0,p.useState)(!1),{isResolved:V,hasInnerBlocks:M,isMissing:w}=(0,c.useSelect)((e=>{const{getEditedEntityRecord:t,hasFinishedResolution:l}=e(E.store),{getBlockCount:o}=e(v.store),a=["postType",Z,m],n=m?t(...a):null,i=!!m&&l("getEditedEntityRecord",a);return{hasInnerBlocks:o(r)>0,isResolved:i,isMissing:i&&!n}}),[m,r]),_=(0,v.useBlockProps)({className:"block-library-block__reusable-block-container"}),g=!m,B=!g&&!w&&V;return M&&w?(0,e.createElement)("div",{..._},(0,e.createElement)(v.Warning,null,(0,u.__)("Form has been deleted or is unavailable.","omniform"))):B&&s?(0,e.createElement)("div",{..._},(0,e.createElement)(v.Warning,null,(0,u.__)("Form cannot be rendered inside itself.","omniform"))):(0,e.createElement)(e.Fragment,null,(0,e.createElement)(v.__experimentalRecursionProvider,{uniqueId:m},(0,e.createElement)(P,{formId:m,isEntityAvailable:B}),g&&(0,e.createElement)("div",{..._},(0,e.createElement)(S,{clientId:r,formId:m,setAttributes:o,onOpenSelectionModal:()=>h(!0)})),B&&(0,e.createElement)(H,{blockProps:_,formId:m,hasInnerBlocks:M}),!g&&!V&&(0,e.createElement)("div",{..._},(0,e.createElement)(f.Spinner,null))),d&&(0,e.createElement)(f.Modal,{overlayClassName:"block-editor-form__selection-modal",title:(0,u.__)("Choose a Form","omniform"),closeLabel:(0,u.__)("Cancel","omniform"),onRequestClose:()=>h(!1),isFullScreen:!0},(0,e.createElement)(D,{formId:m,setAttributes:o,onClose:()=>h(!1)})))},icon:{foreground:"#D92E83",src:b},__experimentalLabel:({ref:e})=>{if(!e)return;const i=(0,c.select)("core").getEntityRecord("postType",Z,e);return i?(0,m.decodeEntities)(i.title?.rendered)||(0,m.decodeEntities)(i.title?.raw)||(s=i.slug,void 0===d&&(d={}),function(e,t){void 0===t&&(t={});for(var n=t.splitRegexp,i=void 0===n?o:n,c=t.stripRegexp,m=void 0===c?r:c,s=t.transform,d=void 0===s?l:s,h=t.delimiter,v=void 0===h?" ":h,f=a(a(e,i,"$1\0$2"),m,"\0"),E=0,p=f.length;"\0"===f.charAt(E);)E++;for(;"\0"===f.charAt(p-1);)p--;return f.slice(E,p).split("\0").map(d).join(v)}(s,t({delimiter:" ",transform:n},d))):void 0;var s,d}}),(0,s.addFilter)("blockEditor.__unstableCanInsertBlockType","omniform/with-block-insertion-restrictions",((e,t)=>"omniform/form"!==t.name||"omniform"!==(0,c.select)("core/editor").getCurrentPostType()?e:(0,c.select)("core/edit-post").isEditingTemplate())),(0,s.addFilter)("editor.BlockEdit","omniform/with-child-block-restrictions",(0,d.createHigherOrderComponent)((t=>l=>(["core/group","core/cover","core/column"].includes(l.name)&&(0,c.select)("core/block-editor").getBlockParentsByBlockName(l.clientId,"omniform/form").length&&(l.attributes.allowedBlocks=["omniform/button","omniform/fieldset","omniform/field","omniform/label","omniform/input","omniform/textarea","omniform/select","omniform/select-group","omniform/select-option","omniform/captcha","core/audio","core/block","core/code","core/column","core/columns","core/cover","core/file","core/gallery","core/group","core/heading","core/image","core/list-item","core/list","core/missing","core/paragraph","core/pattern","core/preformatted","core/separator","core/site-logo","core/site-tagline","core/site-title","core/spacer","core/table","core/video"]),(0,e.createElement)(t,{...l}))),"omniformChildBlockRestrictions"))}},l={};function o(e){var r=l[e];if(void 0!==r)return r.exports;var a=l[e]={exports:{}};return t[e](a,a.exports,o),a.exports}o.m=t,e=[],o.O=(t,l,r,a)=>{if(!l){var n=1/0;for(s=0;s<e.length;s++){for(var[l,r,a]=e[s],i=!0,c=0;c<l.length;c++)(!1&a||n>=a)&&Object.keys(o.O).every((e=>o.O[e](l[c])))?l.splice(c--,1):(i=!1,a<n&&(n=a));if(i){e.splice(s--,1);var m=r();void 0!==m&&(t=m)}}return t}a=a||0;for(var s=e.length;s>0&&e[s-1][2]>a;s--)e[s]=e[s-1];e[s]=[l,r,a]},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={925:0,43:0};o.O.j=t=>0===e[t];var t=(t,l)=>{var r,a,[n,i,c]=l,m=0;if(n.some((t=>0!==e[t]))){for(r in i)o.o(i,r)&&(o.m[r]=i[r]);if(c)var s=c(o)}for(t&&t(l);m<n.length;m++)a=n[m],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return o.O(s)},l=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];l.forEach(t.bind(null,0)),l.push=t.bind(null,l.push.bind(l))})();var r=o.O(void 0,[43],(()=>o(12)));r=o.O(r)})();
     1(()=>{"use strict";var e,t={161:()=>{const e=window.React;var t=function(){return t=Object.assign||function(e){for(var t,l=1,o=arguments.length;l<o;l++)for(var r in t=arguments[l])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},t.apply(this,arguments)};function l(e){return e.toLowerCase()}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var o=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],r=/[^A-Z0-9]+/gi;function n(e,t,l){return t instanceof RegExp?e.replace(t,l):t.reduce((function(e,t){return e.replace(t,l)}),e)}function a(e){return function(e){return e.charAt(0).toUpperCase()+e.substr(1)}(e.toLowerCase())}const i=window.wp.blocks,c=window.wp.data,m=window.wp.htmlEntities,s=window.wp.hooks,d=window.wp.compose,h=JSON.parse('{"name":"omniform/form"}'),f=window.wp.blockEditor,v=window.wp.components,E=window.wp.coreData,p=window.wp.element,u=window.wp.i18n,Z="omniform",V="omniform_response",H=["omniform/button","omniform/fieldset","omniform/field","omniform/label","omniform/input","omniform/hidden","omniform/textarea","omniform/select","omniform/select-group","omniform/select-option","omniform/captcha","omniform/response-notification","core/audio","core/block","core/code","core/column","core/columns","core/cover","core/file","core/gallery","core/group","core/heading","core/image","core/list-item","core/list","core/missing","core/paragraph","core/pattern","core/preformatted","core/separator","core/site-logo","core/site-tagline","core/site-title","core/spacer","core/table","core/video"];function M({blockProps:t,formId:l,hasInnerBlocks:o}){const r=(0,p.useMemo)((()=>({postId:l,postType:Z})),[l]),[n,a,i]=(0,E.useEntityBlockEditor)("postType",Z,{id:l}),c=(0,f.useInnerBlocksProps)(t,{allowedBlocks:H,value:n,onInput:a,onChange:i,renderAppender:o?void 0:f.InnerBlocks.ButtonBlockAppender});return(0,e.createElement)(f.BlockContextProvider,{value:r},(0,e.createElement)("div",{...c}))}const _=window.wp.url,w=window.wp.editPost;function P({formId:t,isDocumentPanel:l}){const{siteTitle:o,siteEmail:r}=(0,c.useSelect)((e=>{const{getEntityRecord:t}=e(E.store),l=t("root","site")||{};return{siteTitle:l?.title,siteEmail:l?.email}}),[]),[n]=(0,E.useEntityProp)("postType",Z,"title",t),[a,i]=(0,E.useEntityProp)("postType",Z,"meta",t),m=a?.notify_email,s=a?.notify_email_subject,d=l?w.PluginDocumentSettingPanel:v.PanelBody;return(0,e.createElement)(d,{name:"omniform-email-notification",title:(0,u.__)("Email Notification","omniform")},(0,e.createElement)(v.FormTokenField,{label:(0,u.__)("Notify These Emails","omniform"),value:m,onChange:e=>{i({...a,notify_email:e})},placeholder:r}),(0,e.createElement)(v.TextControl,{label:(0,u.__)("Notification Subject","omniform"),value:s,onChange:e=>{i({...a,notify_email_subject:e})},placeholder:(0,u.sprintf)(
     2// translators: %1$s represents the blog name, %2$s represents the form title.
     3// translators: %1$s represents the blog name, %2$s represents the form title.
     4(0,u.__)("New Response: %1$s - %2$s","omniform"),o,n),help:(0,u.__)("Write a short headline for the notification.","omniform")}))}const g=window.wp.primitives,y=(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)(g.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6.68822 16.625L5.5 17.8145L5.5 5.5L18.5 5.5L18.5 16.625L6.68822 16.625ZM7.31 18.125L19 18.125C19.5523 18.125 20 17.6773 20 17.125L20 5C20 4.44772 19.5523 4 19 4H5C4.44772 4 4 4.44772 4 5V19.5247C4 19.8173 4.16123 20.086 4.41935 20.2237C4.72711 20.3878 5.10601 20.3313 5.35252 20.0845L7.31 18.125ZM16 9.99997H8V8.49997H16V9.99997ZM8 14H13V12.5H8V14Z"}));function B({formId:t,isDocumentPanel:l}){const o=l?w.PluginDocumentSettingPanel:v.PanelBody;return(0,e.createElement)(o,{className:"omniform-view-responses__panel"},(0,e.createElement)(v.Button,{icon:y,href:(0,_.addQueryArgs)("edit.php",{post_type:V,omniform_id:t})},(0,u.__)("View responses","omniform")))}function b({formId:t,isEntityAvailable:l}){const[o,r]=(0,E.useEntityProp)("postType",Z,"title",t);return l&&(0,e.createElement)(f.InspectorControls,null,(0,e.createElement)(B,{formId:t}),(0,e.createElement)(v.PanelBody,{title:(0,u.__)("Form Settings","omniform")},(0,e.createElement)(v.TextControl,{label:(0,u.__)("Name","omniform"),value:o,onChange:r,help:(0,u.__)("This name will not be visible to viewers and is only for identifying the form.","omniform")}),(0,e.createElement)(v.Button,{variant:"primary",href:(0,_.addQueryArgs)("post.php",{action:"edit",post:t})},(0,u.__)("View in Form Editor","omniform"))),(0,e.createElement)(P,{formId:t}))}const C=window.wp.notices;function F(e){const{forms:t=[],isResolving:l}=(0,c.useSelect)((e=>{var t,l;const{getEntityRecords:o,isResolving:r}=e(E.store),n={per_page:-1,status:"publish"},a={per_page:-1,status:"draft"};return{forms:[...null!==(t=o("postType",Z,n))&&void 0!==t?t:[],...null!==(l=o("postType",Z,a))&&void 0!==l?l:[]],isLoading:r("getEntityRecords",["postType",Z,n])||r("getEntityRecords",["postType",Z,a])}}),[]);return{forms:(0,p.useMemo)((()=>t&&t.filter((t=>t.id!==e))||[]),[t,e]),isResolving:l}}const x=(0,e.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),S=(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),k=((0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,e.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,e.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,e.createElement)(g.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{d:"M7 7h2v2H7V7Z"}),(0,e.createElement)(g.Path,{d:"M9 11H7v2h2v-2Z"}),(0,e.createElement)(g.Path,{d:"M7 15h2v2H7v-2Z"}),(0,e.createElement)(g.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,e.createElement)(g.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,e.createElement)(g.Path,{d:"M17 7h-6v2h6V7Z"}),(0,e.createElement)(g.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"}))),D=(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),R=(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"}));function A({closeModal:t,onCreate:l}){const[o,r]=(0,p.useState)(""),[n,a]=(0,p.useState)("uncategorized"),[i,c]=(0,p.useState)(!1),m=(0,d.useInstanceId)(A),s=[{type:"uncategorized",description:(0,u.__)("General forms are used to collect and organize information for processing or storage.","omniform"),icon:k,label:(0,u.__)("General","omniform")},{type:"search",description:(0,u.__)("A search form allows users to enter a search query and find relevant information on the website.","omniform"),icon:D,label:(0,e.createElement)(e.Fragment,null,(0,u.__)("Search","omniform"),(0,e.createElement)("span",{className:"badge"},(0,u.__)("coming soon","omniform"))),disabled:!0},{type:"login",description:(0,u.__)("A login form is used to authenticate a user's identity and grant them access to the website.","omniform"),icon:R,label:(0,e.createElement)(e.Fragment,null,(0,u.__)("Login","omniform"),(0,e.createElement)("span",{className:"badge"},(0,u.__)("coming soon","omniform"))),disabled:!0}];return(0,e.createElement)(v.Modal,{title:(0,u.__)("Create a form","omniform"),closeLabel:(0,u.__)("Close","omniform"),onRequestClose:t,overlayClassName:"omniform-create-form-modal"},(0,e.createElement)("form",{onSubmit:async e=>{e.preventDefault(),o&&(c(!0),await l({title:o,type:n}))}},(0,e.createElement)(v.TextControl,{label:(0,u.__)("Name","omniform"),value:o,onChange:r,required:!0}),(0,e.createElement)(v.BaseControl,{label:(0,u.__)("Type","omniform"),id:`omniform-create-form-modal__area-selection-${m}`,className:"omniform-create-form-modal__area-base-control"},(0,e.createElement)(v.__experimentalRadioGroup,{label:(0,u.__)("Type","omniform"),className:"omniform-create-form-modal__area-radio-group",id:`omniform-create-form-modal__area-selection-${m}`,onChange:a,checked:n},s.map((({icon:t,label:l,type:o,description:r,disabled:a})=>(0,e.createElement)(v.__experimentalRadio,{key:o,value:o,className:"omniform-create-form-modal__area-radio",disabled:a},(0,e.createElement)(v.Flex,{align:"start",justify:"start"},(0,e.createElement)(v.FlexItem,null,(0,e.createElement)(v.Icon,{icon:t})),(0,e.createElement)(v.FlexBlock,{className:"omniform-create-form-modal__option-label"},l,(0,e.createElement)("div",null,r)),(0,e.createElement)(v.FlexItem,{className:"omniform-create-form-modal__checkbox"},n===o&&(0,e.createElement)(v.Icon,{icon:x})))))))),(0,e.createElement)(v.Flex,{className:"omniform-create-form-modal__modal-actions",justify:"flex-end"},(0,e.createElement)(v.FlexItem,null,(0,e.createElement)(v.Button,{variant:"secondary",onClick:()=>{t()}},(0,u.__)("Cancel","omniform"))),(0,e.createElement)(v.FlexItem,null,(0,e.createElement)(v.Button,{variant:"primary",type:"submit",disabled:!o,isBusy:i},(0,u.__)("Create","omniform"))))))}function I({setAttributes:t,onOpenSelectionModal:l}){const{forms:o,isResolving:r}=F(),n=function(e){const{saveEntityRecord:t}=(0,c.useDispatch)(E.store);return async(l=[],o=(0,u.__)("Untitled Form","omniform"),r="uncategorized")=>{const n={title:o,content:(0,i.serialize)(l),status:"publish"},a=await t("postType",Z,n);e({ref:a.id})}}(t),[a,m]=(0,p.useState)(!1),{createSuccessNotice:s,createErrorNotice:d}=(0,c.useDispatch)(C.store);return(0,e.createElement)(v.Placeholder,{icon:null,label:(0,u.__)("OmniForm Form","omniform"),instructions:(0,u.__)("Choose an existing form or create a new one.","omniform")},r&&(0,e.createElement)(v.Spinner,null),!r&&!!o.length&&(0,e.createElement)(v.Button,{variant:"primary",onClick:l},(0,u.__)("Choose","omniform")),!r&&(0,e.createElement)(v.Button,{variant:"secondary",onClick:()=>m(!0)},(0,u.__)("Start blank","omniform")),a&&(0,e.createElement)(A,{closeModal:()=>m(!1),onCreate:async({title:e,type:t})=>{if(e)try{await n([],e,t),s((0,u.__)("Form created","omniform"),{type:"snackbar"}),m(!1)}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:(0,u.__)("An error occurred while creating the form.","omniform");d(t,{type:"snackbar"}),m(!1)}else d((0,u.__)("Title is not defined","omniform"),{type:"snackbar"})}}))}function G({formId:t=null,onClose:l,setAttributes:o}){const{forms:r}=F(t),n=(0,p.useMemo)((()=>r.map((e=>({name:e.slug,title:e.title.raw,blocks:(0,i.createBlock)("omniform/form",{ref:e.id}),viewportWidth:768,form:e})))),r),a=(0,d.useAsyncList)(n),c=!!r.length;return(0,e.createElement)("div",{className:"block-library-form__selection-content"},c&&(0,e.createElement)(f.__experimentalBlockPatternsList,{blockPatterns:n,shownPatterns:a,onClickPattern:e=>{var t;t=e.form,o({ref:t.id}),l()},orientation:"horizontal"}),!c&&(0,e.createElement)(v.__experimentalHStack,{alignment:"center"},(0,e.createElement)("p",null,(0,u.__)("No results found.","omniform"))))}(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,e.createElement)(g.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,e.createElement)(g.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,e.createElement)(g.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,e.createElement)(g.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,e.createElement)(g.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,e.createElement)(g.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,e.createElement)(g.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,e.createElement)(g.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,e.createElement)(g.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,e.createElement)(g.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,e.createElement)(g.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,e.createElement)(g.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,e.createElement)(g.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,e.createElement)(g.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,e.createElement)(g.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,e.createElement)(g.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,e.createElement)(g.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,e.createElement)(g.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,e.createElement)(g.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,e.createElement)(g.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,e.createElement)(g.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,e.createElement)(g.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,e.createElement)(g.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,e.createElement)(g.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,e.createElement)(g.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,e.createElement)(g.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"m9.55 18-5.7-5.7 1.425-1.425L9.55 15.15l9.175-9.175L20.15 7.4 9.55 18Z"})),(0,e.createElement)(g.SVG,{viewBox:"0 0 24 24"},(0,e.createElement)(g.Path,{fill:"#D92E83",d:"M12 17c.283 0 .52-.096.713-.288A.968.968 0 0 0 13 16a.968.968 0 0 0-.287-.713A.968.968 0 0 0 12 15a.968.968 0 0 0-.713.287A.968.968 0 0 0 11 16c0 .283.096.52.287.712.192.192.43.288.713.288Zm-1-4h2V7h-2v6Zm1 9a9.738 9.738 0 0 1-3.9-.788 10.099 10.099 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.738 9.738 0 0 1 2 12c0-1.383.263-2.683.788-3.9a10.099 10.099 0 0 1 2.137-3.175c.9-.9 1.958-1.612 3.175-2.137A9.738 9.738 0 0 1 12 2c1.383 0 2.683.263 3.9.788a10.098 10.098 0 0 1 3.175 2.137c.9.9 1.613 1.958 2.137 3.175A9.738 9.738 0 0 1 22 12a9.738 9.738 0 0 1-.788 3.9 10.098 10.098 0 0 1-2.137 3.175c-.9.9-1.958 1.613-3.175 2.137A9.738 9.738 0 0 1 12 22Zm0-2c2.233 0 4.125-.775 5.675-2.325C19.225 16.125 20 14.233 20 12c0-2.233-.775-4.125-2.325-5.675C16.125 4.775 14.233 4 12 4c-2.233 0-4.125.775-5.675 2.325C4.775 7.875 4 9.767 4 12c0 2.233.775 4.125 2.325 5.675C7.875 19.225 9.767 20 12 20Z"}));const L=window.wp.editor;(0,window.wp.plugins.registerPlugin)("omniform",{render:()=>{const{postType:t,postId:l}=(0,c.useSelect)((e=>({postType:e(L.store).getCurrentPostType(),postId:e(L.store).getCurrentPostId()})));return Z===t&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(B,{formId:l,isDocumentPanel:!0}),(0,e.createElement)(P,{formId:l,isDocumentPanel:!0}))}});const{name:T}=h;(0,i.registerBlockType)(T,{edit:function({context:t,attributes:l,setAttributes:o,clientId:r}){const{postId:n,postType:a}=t,{ref:i}=l,m=a===Z?n:i,s=(0,f.__experimentalUseHasRecursion)([m]),[d,h]=(0,p.useState)(!1),{isResolved:V,hasInnerBlocks:H,isMissing:_}=(0,c.useSelect)((e=>{const{getEditedEntityRecord:t,hasFinishedResolution:l}=e(E.store),{getBlockCount:o}=e(f.store),n=["postType",Z,m],a=m?t(...n):null,i=!!m&&l("getEditedEntityRecord",n);return{hasInnerBlocks:o(r)>0,isResolved:i,isMissing:i&&!a}}),[m,r]),w=(0,f.useBlockProps)({className:"block-library-block__reusable-block-container"}),P=!m,g=!P&&!_&&V;return H&&_?(0,e.createElement)("div",{...w},(0,e.createElement)(f.Warning,null,(0,u.__)("Form has been deleted or is unavailable.","omniform"))):g&&s?(0,e.createElement)("div",{...w},(0,e.createElement)(f.Warning,null,(0,u.__)("Form cannot be rendered inside itself.","omniform"))):(0,e.createElement)(e.Fragment,null,(0,e.createElement)(f.__experimentalRecursionProvider,{uniqueId:m},(0,e.createElement)(b,{formId:m,isEntityAvailable:g}),P&&(0,e.createElement)("div",{...w},(0,e.createElement)(I,{clientId:r,formId:m,setAttributes:o,onOpenSelectionModal:()=>h(!0)})),g&&(0,e.createElement)(M,{blockProps:w,formId:m,hasInnerBlocks:H}),!P&&!V&&(0,e.createElement)("div",{...w},(0,e.createElement)(v.Spinner,null))),d&&(0,e.createElement)(v.Modal,{overlayClassName:"block-editor-form__selection-modal",title:(0,u.__)("Choose a Form","omniform"),closeLabel:(0,u.__)("Cancel","omniform"),onRequestClose:()=>h(!1),isFullScreen:!0},(0,e.createElement)(G,{formId:m,setAttributes:o,onClose:()=>h(!1)})))},icon:{foreground:"#D92E83",src:S},__experimentalLabel:({ref:e})=>{if(!e)return;const i=(0,c.select)("core").getEntityRecord("postType",Z,e);return i?(0,m.decodeEntities)(i.title?.rendered)||(0,m.decodeEntities)(i.title?.raw)||(s=i.slug,void 0===d&&(d={}),function(e,t){void 0===t&&(t={});for(var a=t.splitRegexp,i=void 0===a?o:a,c=t.stripRegexp,m=void 0===c?r:c,s=t.transform,d=void 0===s?l:s,h=t.delimiter,f=void 0===h?" ":h,v=n(n(e,i,"$1\0$2"),m,"\0"),E=0,p=v.length;"\0"===v.charAt(E);)E++;for(;"\0"===v.charAt(p-1);)p--;return v.slice(E,p).split("\0").map(d).join(f)}(s,t({delimiter:" ",transform:a},d))):void 0;var s,d}}),(0,s.addFilter)("blockEditor.__unstableCanInsertBlockType","omniform/with-block-insertion-restrictions",((e,t)=>"omniform/form"!==t.name||"omniform"!==(0,c.select)("core/editor").getCurrentPostType()?e:(0,c.select)("core/edit-post").isEditingTemplate())),(0,s.addFilter)("editor.BlockEdit","omniform/with-child-block-restrictions",(0,d.createHigherOrderComponent)((t=>l=>(["core/group","core/cover","core/column"].includes(l.name)&&(0,c.select)("core/block-editor").getBlockParentsByBlockName(l.clientId,"omniform/form").length&&(l.attributes.allowedBlocks=["omniform/button","omniform/fieldset","omniform/field","omniform/label","omniform/input","omniform/textarea","omniform/select","omniform/select-group","omniform/select-option","omniform/captcha","core/audio","core/block","core/code","core/column","core/columns","core/cover","core/file","core/gallery","core/group","core/heading","core/image","core/list-item","core/list","core/missing","core/paragraph","core/pattern","core/preformatted","core/separator","core/site-logo","core/site-tagline","core/site-title","core/spacer","core/table","core/video"]),(0,e.createElement)(t,{...l}))),"omniformChildBlockRestrictions"))}},l={};function o(e){var r=l[e];if(void 0!==r)return r.exports;var n=l[e]={exports:{}};return t[e](n,n.exports,o),n.exports}o.m=t,e=[],o.O=(t,l,r,n)=>{if(!l){var a=1/0;for(s=0;s<e.length;s++){for(var[l,r,n]=e[s],i=!0,c=0;c<l.length;c++)(!1&n||a>=n)&&Object.keys(o.O).every((e=>o.O[e](l[c])))?l.splice(c--,1):(i=!1,n<a&&(a=n));if(i){e.splice(s--,1);var m=r();void 0!==m&&(t=m)}}return t}n=n||0;for(var s=e.length;s>0&&e[s-1][2]>n;s--)e[s]=e[s-1];e[s]=[l,r,n]},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={708:0,468:0};o.O.j=t=>0===e[t];var t=(t,l)=>{var r,n,[a,i,c]=l,m=0;if(a.some((t=>0!==e[t]))){for(r in i)o.o(i,r)&&(o.m[r]=i[r]);if(c)var s=c(o)}for(t&&t(l);m<a.length;m++)n=a[m],o.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return o.O(s)},l=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];l.forEach(t.bind(null,0)),l.push=t.bind(null,l.push.bind(l))})();var r=o.O(void 0,[468],(()=>o(161)));r=o.O(r)})();
  • omniform/trunk/build/block-library/form/view.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('wp-api-fetch', 'wp-hooks', 'wp-i18n'), 'version' => 'd554ddd3d29ababb4607');
     1<?php return array('dependencies' => array('wp-api-fetch', 'wp-hooks'');
  • omniform/trunk/build/block-library/form/view.js

    r2994256 r3068146  
    1 (()=>{"use strict";var e={n:t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},d:(t,o)=>{for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.i18n,o=window.wp.apiFetch;var n=e.n(o);const r=window.wp.hooks;document.addEventListener("DOMContentLoaded",(function(){const e=async e=>{e.preventDefault();const i=await(0,r.applyFilters)("omniform.prepareFormElementForSubmission",e.target),{action:s,method:l}=i,c=new FormData(i),d=e.target.querySelector(".omniform-response-container");await n()({url:s,method:l,body:c}).then((()=>{d.innerHTML="",d.append(o((0,t.__)("Success! Your submission has been completed.","omniform"))),d.style.display="block",d.style.borderLeftColor="var(--wp--preset--color--vivid-green-cyan,#00d084)",e.target.reset()})).catch((e=>{d.innerHTML="",d.append(o((0,t.__)("Unfortunately, your submission was not successful. Please ensure all fields are correctly filled out and try again.","omniform"))),e.invalid_fields&&d.append(a(Object.values(e.invalid_fields))),d.style.display="block",d.style.borderLeftColor="var(--wp--preset--color--vivid-red,#cf2e2e)"})),d.setAttribute("tabindex","-1"),d.focus(),d.removeAttribute("tabindex")},o=e=>{const t=document.createElement("p");return t.textContent=e,t},a=e=>{const t=document.createElement("ul");return e.forEach((e=>{const o=document.createElement("li");o.textContent=e,t.appendChild(o)})),t};document.querySelectorAll("form.wp-block-omniform-form").forEach((t=>t.addEventListener("submit",e)))}))})();
     1(()=>{"use strict";var e={n:t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},d:(t,o)=>{for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.))}))})();
  • omniform/trunk/build/block-library/input/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-data', 'wp-i18n', 'wp-primitives'), 'version' => '42d100fa2501d9d79aec');
     1<?php return array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-data', 'wp-i18n', 'wp-primitives'), 'version' => '');
  • omniform/trunk/build/block-library/input/index.js

    r2994256 r3068146  
    1 (()=>{"use strict";var e,t={159:()=>{const e=window.lodash,t=window.wp.blocks,l=JSON.parse('{"name":"omniform/input"}'),a=window.React,i=window.wp.i18n,c=window.wp.blockEditor,n=window.wp.data,r=window.wp.primitives,h=((0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"}))),o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),m=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),d=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),v=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),f=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),E=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),Z=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),V=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),s=((0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,a.createElement)(r.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M7 7h2v2H7V7Z"}),(0,a.createElement)(r.Path,{d:"M9 11H7v2h2v-2Z"}),(0,a.createElement)(r.Path,{d:"M7 15h2v2H7v-2Z"}),(0,a.createElement)(r.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,a.createElement)(r.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,a.createElement)(r.Path,{d:"M17 7h-6v2h6V7Z"}),(0,a.createElement)(r.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,a.createElement)(r.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,a.createElement)(r.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,a.createElement)(r.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,a.createElement)(r.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,a.createElement)(r.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,a.createElement)(r.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,a.createElement)(r.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,a.createElement)(r.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,a.createElement)(r.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,a.createElement)(r.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,a.createElement)(r.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,a.createElement)(r.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,a.createElement)(r.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,a.createElement)(r.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,a.createElement)(r.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,a.createElement)(r.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,a.createElement)(r.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,a.createElement)(r.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,a.createElement)(r.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,a.createElement)(r.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,a.createElement)(r.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,a.createElement)(r.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,a.createElement)(r.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,a.createElement)(r.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,a.createElement)(r.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,a.createElement)(r.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),[{name:"input-text",icon:{src:h},title:(0,i.__)("Text","omniform"),description:(0,i.__)("A field for brief text entry.","omniform"),attributes:{fieldType:"text"},scope:["transform"]},{name:"input-email",icon:{src:o},title:(0,i.__)("Email","omniform"),description:(0,i.__)("A field for collecting an email address.","omniform"),attributes:{fieldType:"email"}},{name:"input-url",icon:{src:m},title:(0,i.__)("URL","omniform"),description:(0,i.__)("A field for collecting a website address or URL.","omniform"),attributes:{fieldType:"url"}},{name:"input-number",icon:{src:d},title:(0,i.__)("Number","omniform"),description:(0,i.__)("A field for collecting a numerical value.","omniform"),attributes:{fieldType:"number"}},{name:"input-checkbox",icon:{src:v},title:(0,i.__)("Checkbox","omniform"),description:(0,i.__)("A field for selecting multiple options or choices.","omniform"),attributes:{fieldType:"checkbox"}},{name:"input-radio",icon:{src:f},title:(0,i.__)("Radio","omniform"),description:(0,i.__)("A field in a group allowing for one selected choice.","omniform"),attributes:{fieldType:"radio"}},{name:"input-date",icon:{src:E},title:(0,i.__)("Date","omniform"),description:(0,i.__)("A field for collecting a formatted date.","omniform"),attributes:{fieldType:"date"}},{name:"input-datetime-local",icon:{src:E},title:(0,i.__)("Datetime","omniform"),description:(0,i.__)("A field for collecting a localized date and time.","omniform"),attributes:{fieldType:"datetime-local"}},{name:"input-month",icon:{src:E},title:(0,i.__)("Month","omniform"),description:(0,i.__)("A field for collecting a month formatted date.","omniform"),attributes:{fieldType:"month"}},{name:"input-tel",icon:{src:Z},title:(0,i.__)("Phone","omniform"),description:(0,i.__)("A field for collecting a telephone number.","omniform"),attributes:{fieldType:"tel"}},{name:"input-time",icon:{src:V},title:(0,i.__)("Time","omniform"),description:(0,i.__)("A field for collecting a formatted time.","omniform"),attributes:{fieldType:"time"}}]);s.forEach((e=>{e.isActive=(e,t)=>e.fieldType===t.fieldType,e.scope||(e.scope=["inserter","block","transform"])}));const H=s,{name:p}=l;(0,t.registerBlockType)(p,{edit:({attributes:{fieldPlaceholder:e,fieldType:l},setAttributes:r,clientId:h,isSelected:o})=>{const{getBlock:m,getBlockRootClientId:d}=(0,n.useSelect)(c.store),{replaceBlocks:v,selectBlock:f}=(0,n.useDispatch)(c.store),E=["text","email","url","number","month","password","search","tel","week","hidden"].includes(l),Z=["checkbox","radio"].includes(l),V=(e,t=0)=>{const l=m(e).innerBlocks.filter((e=>"omniform/label"===e.name))[0];f(l.clientId,t)},s=(0,c.useBlockProps)();return E?(0,a.createElement)(c.RichText,{...s,identifier:"fieldControl","aria-label":(0,i.__)("Placeholder text for text input.","omniform"),placeholder:o||e?(0,i.__)("Enter a placeholder…","omniform"):void 0,value:e,onChange:e=>r({fieldPlaceholder:e}),withoutInteractiveFormatting:!0,allowedFormats:[],onSplit:(e,l)=>{let a;const i=d(h),c=m(i),n=e=>e.map((({name:e,attributes:l})=>"omniform/input"===e?(0,t.createBlock)(e,{...l,fieldPlaceholder:void 0,fieldValue:void 0}):(0,t.createBlock)(e,{style:l.style})));return a=l?(0,t.cloneBlock)(c,c.attributes,!l&&n(c.innerBlocks)):(0,t.createBlock)("omniform/field",{...c.attributes,fieldLabel:"",fieldName:""},n(c.innerBlocks)),l&&(a.clientId=i),a},onReplace:(e,t,l)=>{v([d(h)],e,t,l),V(e[t].clientId,-1)}}):Z?(0,a.createElement)("div",{type:l,...s}):(0,a.createElement)("input",{type:l,...s,readOnly:!0})},icon:{foreground:"#D92E83",src:h},variations:H,example:{},__experimentalLabel:({fieldType:t})=>(0,e.startCase)(p.replace("omniform",t))})}},l={};function a(e){var i=l[e];if(void 0!==i)return i.exports;var c=l[e]={exports:{}};return t[e](c,c.exports,a),c.exports}a.m=t,e=[],a.O=(t,l,i,c)=>{if(!l){var n=1/0;for(m=0;m<e.length;m++){for(var[l,i,c]=e[m],r=!0,h=0;h<l.length;h++)(!1&c||n>=c)&&Object.keys(a.O).every((e=>a.O[e](l[h])))?l.splice(h--,1):(r=!1,c<n&&(n=c));if(r){e.splice(m--,1);var o=i();void 0!==o&&(t=o)}}return t}c=c||0;for(var m=e.length;m>0&&e[m-1][2]>c;m--)e[m]=e[m-1];e[m]=[l,i,c]},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={502:0,78:0};a.O.j=t=>0===e[t];var t=(t,l)=>{var i,c,[n,r,h]=l,o=0;if(n.some((t=>0!==e[t]))){for(i in r)a.o(r,i)&&(a.m[i]=r[i]);if(h)var m=h(a)}for(t&&t(l);o<n.length;o++)c=n[o],a.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return a.O(m)},l=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];l.forEach(t.bind(null,0)),l.push=t.bind(null,l.push.bind(l))})();var i=a.O(void 0,[78],(()=>a(159)));i=a.O(i)})();
     1(()=>{"use strict";var e,t={9)));i=a.O(i)})();
  • omniform/trunk/build/block-library/input/style-index.css

    r2968968 r3068146  
    1 input[class=wp-block-omniform-input]:-moz-read-only,input[class=wp-block-omniform-input]:-moz-read-write{-moz-appearance:none;appearance:none;background-color:transparent;border:1px solid;border-radius:.25em;box-shadow:none;box-sizing:border-box;color:currentcolor;display:block;font-size:inherit;line-height:inherit;margin:0;max-width:none;min-height:auto;outline:0 solid transparent;outline-offset:-2px;padding:.5em .75em}.wp-block-omniform-input,input.wp-block-omniform-input.readonly,input.wp-block-omniform-input[readonly],input[class=wp-block-omniform-input]:read-only,input[class=wp-block-omniform-input]:read-write,input[type=checkbox].wp-block-omniform-input,input[type=checkbox].wp-block-omniform-input:checked,input[type=color] .wp-block-omniform-input,input[type=date].wp-block-omniform-input,input[type=datetime-local].wp-block-omniform-input,input[type=datetime].wp-block-omniform-input,input[type=email].wp-block-omniform-input,input[type=month].wp-block-omniform-input,input[type=number].wp-block-omniform-input,input[type=password].wp-block-omniform-input,input[type=radio].wp-block-omniform-input:checked,input[type=search].wp-block-omniform-input,input[type=tel].wp-block-omniform-input,input[type=text].wp-block-omniform-input,input[type=time].wp-block-omniform-input,input[type=url].wp-block-omniform-input,input[type=week].wp-block-omniform-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:1px solid;border-radius:.25em;box-shadow:none;box-sizing:border-box;color:currentcolor;display:block;font-size:inherit;line-height:inherit;margin:0;max-width:none;min-height:auto;outline:0 solid transparent;outline-offset:-2px;padding:.5em .75em}input[class=wp-block-omniform-input]:-moz-read-only,input[class=wp-block-omniform-input]:-moz-read-only:before,input[class=wp-block-omniform-input]:-moz-read-write,input[class=wp-block-omniform-input]:-moz-read-write:before{transition-duration:.1s;-moz-transition-property:background-color,border-color,box-shadow,color,opacity,outline,outline-offset;transition-property:background-color,border-color,box-shadow,color,opacity,outline,outline-offset;transition-timing-function:ease-in-out}.wp-block-omniform-input,.wp-block-omniform-input:before,input.wp-block-omniform-input.readonly,input.wp-block-omniform-input.readonly:before,input.wp-block-omniform-input[readonly],input.wp-block-omniform-input[readonly]:before,input[class=wp-block-omniform-input]:read-only,input[class=wp-block-omniform-input]:read-only:before,input[class=wp-block-omniform-input]:read-write,input[class=wp-block-omniform-input]:read-write:before,input[type=checkbox].wp-block-omniform-input,input[type=checkbox].wp-block-omniform-input:before,input[type=checkbox].wp-block-omniform-input:checked,input[type=checkbox].wp-block-omniform-input:checked:before,input[type=color] .wp-block-omniform-input,input[type=color] .wp-block-omniform-input:before,input[type=date].wp-block-omniform-input,input[type=date].wp-block-omniform-input:before,input[type=datetime-local].wp-block-omniform-input,input[type=datetime-local].wp-block-omniform-input:before,input[type=datetime].wp-block-omniform-input,input[type=datetime].wp-block-omniform-input:before,input[type=email].wp-block-omniform-input,input[type=email].wp-block-omniform-input:before,input[type=month].wp-block-omniform-input,input[type=month].wp-block-omniform-input:before,input[type=number].wp-block-omniform-input,input[type=number].wp-block-omniform-input:before,input[type=password].wp-block-omniform-input,input[type=password].wp-block-omniform-input:before,input[type=radio].wp-block-omniform-input:checked,input[type=radio].wp-block-omniform-input:checked:before,input[type=search].wp-block-omniform-input,input[type=search].wp-block-omniform-input:before,input[type=tel].wp-block-omniform-input,input[type=tel].wp-block-omniform-input:before,input[type=text].wp-block-omniform-input,input[type=text].wp-block-omniform-input:before,input[type=time].wp-block-omniform-input,input[type=time].wp-block-omniform-input:before,input[type=url].wp-block-omniform-input,input[type=url].wp-block-omniform-input:before,input[type=week].wp-block-omniform-input,input[type=week].wp-block-omniform-input:before{transition-duration:.1s;transition-property:background-color,border-color,box-shadow,color,opacity,outline,outline-offset;transition-timing-function:ease-in-out}input[class=wp-block-omniform-input]:-moz-read-only:focus,input[class=wp-block-omniform-input]:-moz-read-write:focus{outline:2px solid currentcolor;outline-offset:2px}.wp-block-omniform-input:focus,input.wp-block-omniform-input.readonly:focus,input.wp-block-omniform-input[readonly]:focus,input[class=wp-block-omniform-input]:read-only:focus,input[class=wp-block-omniform-input]:read-write:focus,input[type=checkbox].wp-block-omniform-input:checked:focus,input[type=checkbox].wp-block-omniform-input:focus,input[type=color] .wp-block-omniform-input:focus,input[type=date].wp-block-omniform-input:focus,input[type=datetime-local].wp-block-omniform-input:focus,input[type=datetime].wp-block-omniform-input:focus,input[type=email].wp-block-omniform-input:focus,input[type=month].wp-block-omniform-input:focus,input[type=number].wp-block-omniform-input:focus,input[type=password].wp-block-omniform-input:focus,input[type=radio].wp-block-omniform-input:checked:focus,input[type=search].wp-block-omniform-input:focus,input[type=tel].wp-block-omniform-input:focus,input[type=text].wp-block-omniform-input:focus,input[type=time].wp-block-omniform-input:focus,input[type=url].wp-block-omniform-input:focus,input[type=week].wp-block-omniform-input:focus{outline:2px solid currentcolor;outline-offset:2px}input[class=wp-block-omniform-input]:-moz-read-only:not(.has-custom-border):focus,input[class=wp-block-omniform-input]:-moz-read-write:not(.has-custom-border):focus{border-color:transparent}.wp-block-omniform-input:not(.has-custom-border):focus,input.wp-block-omniform-input.readonly:not(.has-custom-border):focus,input.wp-block-omniform-input[readonly]:not(.has-custom-border):focus,input[class=wp-block-omniform-input]:read-only:not(.has-custom-border):focus,input[class=wp-block-omniform-input]:read-write:not(.has-custom-border):focus,input[type=checkbox].wp-block-omniform-input:checked:not(.has-custom-border):focus,input[type=checkbox].wp-block-omniform-input:not(.has-custom-border):focus,input[type=color] .wp-block-omniform-input:not(.has-custom-border):focus,input[type=date].wp-block-omniform-input:not(.has-custom-border):focus,input[type=datetime-local].wp-block-omniform-input:not(.has-custom-border):focus,input[type=datetime].wp-block-omniform-input:not(.has-custom-border):focus,input[type=email].wp-block-omniform-input:not(.has-custom-border):focus,input[type=month].wp-block-omniform-input:not(.has-custom-border):focus,input[type=number].wp-block-omniform-input:not(.has-custom-border):focus,input[type=password].wp-block-omniform-input:not(.has-custom-border):focus,input[type=radio].wp-block-omniform-input:checked:not(.has-custom-border):focus,input[type=search].wp-block-omniform-input:not(.has-custom-border):focus,input[type=tel].wp-block-omniform-input:not(.has-custom-border):focus,input[type=text].wp-block-omniform-input:not(.has-custom-border):focus,input[type=time].wp-block-omniform-input:not(.has-custom-border):focus,input[type=url].wp-block-omniform-input:not(.has-custom-border):focus,input[type=week].wp-block-omniform-input:not(.has-custom-border):focus{border-color:transparent}.editor-styles-wrapper input[class=wp-block-omniform-input]:-moz-read-only:focus,.editor-styles-wrapper input[class=wp-block-omniform-input]:-moz-read-write:focus{border-color:unset;outline:unset;outline-offset:unset}.editor-styles-wrapper .wp-block-omniform-input:focus,.editor-styles-wrapper input.wp-block-omniform-input.readonly:focus,.editor-styles-wrapper input.wp-block-omniform-input[readonly]:focus,.editor-styles-wrapper input[class=wp-block-omniform-input]:read-only:focus,.editor-styles-wrapper input[class=wp-block-omniform-input]:read-write:focus,.editor-styles-wrapper input[type=checkbox].wp-block-omniform-input:checked:focus,.editor-styles-wrapper input[type=checkbox].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=color] .wp-block-omniform-input:focus,.editor-styles-wrapper input[type=date].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=datetime-local].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=datetime].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=email].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=month].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=number].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=password].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=radio].wp-block-omniform-input:checked:focus,.editor-styles-wrapper input[type=search].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=tel].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=text].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=time].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=url].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=week].wp-block-omniform-input:focus{border-color:unset;outline:unset;outline-offset:unset}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox],input[class=wp-block-omniform-input]:-moz-read-only[type=radio],input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox],input[class=wp-block-omniform-input]:-moz-read-write[type=radio]{flex-shrink:0;height:1em;margin:0;padding:0;position:relative;width:1em}.wp-block-omniform-input[type=checkbox],.wp-block-omniform-input[type=radio],input.wp-block-omniform-input.readonly[type=checkbox],input.wp-block-omniform-input.readonly[type=radio],input.wp-block-omniform-input[readonly][type=checkbox],input.wp-block-omniform-input[readonly][type=radio],input[class=wp-block-omniform-input]:read-only[type=checkbox],input[class=wp-block-omniform-input]:read-only[type=radio],input[class=wp-block-omniform-input]:read-write[type=checkbox],input[class=wp-block-omniform-input]:read-write[type=radio],input[type=checkbox].wp-block-omniform-input:checked[type=checkbox],input[type=checkbox].wp-block-omniform-input:checked[type=radio],input[type=checkbox].wp-block-omniform-input[type=checkbox],input[type=checkbox].wp-block-omniform-input[type=radio],input[type=color] .wp-block-omniform-input[type=checkbox],input[type=color] .wp-block-omniform-input[type=radio],input[type=date].wp-block-omniform-input[type=checkbox],input[type=date].wp-block-omniform-input[type=radio],input[type=datetime-local].wp-block-omniform-input[type=checkbox],input[type=datetime-local].wp-block-omniform-input[type=radio],input[type=datetime].wp-block-omniform-input[type=checkbox],input[type=datetime].wp-block-omniform-input[type=radio],input[type=email].wp-block-omniform-input[type=checkbox],input[type=email].wp-block-omniform-input[type=radio],input[type=month].wp-block-omniform-input[type=checkbox],input[type=month].wp-block-omniform-input[type=radio],input[type=number].wp-block-omniform-input[type=checkbox],input[type=number].wp-block-omniform-input[type=radio],input[type=password].wp-block-omniform-input[type=checkbox],input[type=password].wp-block-omniform-input[type=radio],input[type=radio].wp-block-omniform-input:checked[type=checkbox],input[type=radio].wp-block-omniform-input:checked[type=radio],input[type=search].wp-block-omniform-input[type=checkbox],input[type=search].wp-block-omniform-input[type=radio],input[type=tel].wp-block-omniform-input[type=checkbox],input[type=tel].wp-block-omniform-input[type=radio],input[type=text].wp-block-omniform-input[type=checkbox],input[type=text].wp-block-omniform-input[type=radio],input[type=time].wp-block-omniform-input[type=checkbox],input[type=time].wp-block-omniform-input[type=radio],input[type=url].wp-block-omniform-input[type=checkbox],input[type=url].wp-block-omniform-input[type=radio],input[type=week].wp-block-omniform-input[type=checkbox],input[type=week].wp-block-omniform-input[type=radio]{flex-shrink:0;height:1em;margin:0;padding:0;position:relative;width:1em}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox][type=radio],input[class=wp-block-omniform-input]:-moz-read-only[type=radio][type=radio],input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox][type=radio],input[class=wp-block-omniform-input]:-moz-read-write[type=radio][type=radio]{border-radius:100%}.wp-block-omniform-input[type=checkbox][type=radio],.wp-block-omniform-input[type=radio][type=radio],input.wp-block-omniform-input.readonly[type=checkbox][type=radio],input.wp-block-omniform-input.readonly[type=radio][type=radio],input.wp-block-omniform-input[readonly][type=checkbox][type=radio],input.wp-block-omniform-input[readonly][type=radio][type=radio],input[class=wp-block-omniform-input]:read-only[type=checkbox][type=radio],input[class=wp-block-omniform-input]:read-only[type=radio][type=radio],input[class=wp-block-omniform-input]:read-write[type=checkbox][type=radio],input[class=wp-block-omniform-input]:read-write[type=radio][type=radio],input[type=checkbox].wp-block-omniform-input:checked[type=checkbox][type=radio],input[type=checkbox].wp-block-omniform-input:checked[type=radio][type=radio],input[type=checkbox].wp-block-omniform-input[type=checkbox][type=radio],input[type=checkbox].wp-block-omniform-input[type=radio][type=radio],input[type=color] .wp-block-omniform-input[type=checkbox][type=radio],input[type=color] .wp-block-omniform-input[type=radio][type=radio],input[type=date].wp-block-omniform-input[type=checkbox][type=radio],input[type=date].wp-block-omniform-input[type=radio][type=radio],input[type=datetime-local].wp-block-omniform-input[type=checkbox][type=radio],input[type=datetime-local].wp-block-omniform-input[type=radio][type=radio],input[type=datetime].wp-block-omniform-input[type=checkbox][type=radio],input[type=datetime].wp-block-omniform-input[type=radio][type=radio],input[type=email].wp-block-omniform-input[type=checkbox][type=radio],input[type=email].wp-block-omniform-input[type=radio][type=radio],input[type=month].wp-block-omniform-input[type=checkbox][type=radio],input[type=month].wp-block-omniform-input[type=radio][type=radio],input[type=number].wp-block-omniform-input[type=checkbox][type=radio],input[type=number].wp-block-omniform-input[type=radio][type=radio],input[type=password].wp-block-omniform-input[type=checkbox][type=radio],input[type=password].wp-block-omniform-input[type=radio][type=radio],input[type=radio].wp-block-omniform-input:checked[type=checkbox][type=radio],input[type=radio].wp-block-omniform-input:checked[type=radio][type=radio],input[type=search].wp-block-omniform-input[type=checkbox][type=radio],input[type=search].wp-block-omniform-input[type=radio][type=radio],input[type=tel].wp-block-omniform-input[type=checkbox][type=radio],input[type=tel].wp-block-omniform-input[type=radio][type=radio],input[type=text].wp-block-omniform-input[type=checkbox][type=radio],input[type=text].wp-block-omniform-input[type=radio][type=radio],input[type=time].wp-block-omniform-input[type=checkbox][type=radio],input[type=time].wp-block-omniform-input[type=radio][type=radio],input[type=url].wp-block-omniform-input[type=checkbox][type=radio],input[type=url].wp-block-omniform-input[type=radio][type=radio],input[type=week].wp-block-omniform-input[type=checkbox][type=radio],input[type=week].wp-block-omniform-input[type=radio][type=radio]{border-radius:100%}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox]:after,input[class=wp-block-omniform-input]:-moz-read-only[type=radio]:after,input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox]:after,input[class=wp-block-omniform-input]:-moz-read-write[type=radio]:after{content:none}.wp-block-omniform-input[type=checkbox]:after,.wp-block-omniform-input[type=radio]:after,input.wp-block-omniform-input.readonly[type=checkbox]:after,input.wp-block-omniform-input.readonly[type=radio]:after,input.wp-block-omniform-input[readonly][type=checkbox]:after,input.wp-block-omniform-input[readonly][type=radio]:after,input[class=wp-block-omniform-input]:read-only[type=checkbox]:after,input[class=wp-block-omniform-input]:read-only[type=radio]:after,input[class=wp-block-omniform-input]:read-write[type=checkbox]:after,input[class=wp-block-omniform-input]:read-write[type=radio]:after,input[type=checkbox].wp-block-omniform-input:checked[type=checkbox]:after,input[type=checkbox].wp-block-omniform-input:checked[type=radio]:after,input[type=checkbox].wp-block-omniform-input[type=checkbox]:after,input[type=checkbox].wp-block-omniform-input[type=radio]:after,input[type=color] .wp-block-omniform-input[type=checkbox]:after,input[type=color] .wp-block-omniform-input[type=radio]:after,input[type=date].wp-block-omniform-input[type=checkbox]:after,input[type=date].wp-block-omniform-input[type=radio]:after,input[type=datetime-local].wp-block-omniform-input[type=checkbox]:after,input[type=datetime-local].wp-block-omniform-input[type=radio]:after,input[type=datetime].wp-block-omniform-input[type=checkbox]:after,input[type=datetime].wp-block-omniform-input[type=radio]:after,input[type=email].wp-block-omniform-input[type=checkbox]:after,input[type=email].wp-block-omniform-input[type=radio]:after,input[type=month].wp-block-omniform-input[type=checkbox]:after,input[type=month].wp-block-omniform-input[type=radio]:after,input[type=number].wp-block-omniform-input[type=checkbox]:after,input[type=number].wp-block-omniform-input[type=radio]:after,input[type=password].wp-block-omniform-input[type=checkbox]:after,input[type=password].wp-block-omniform-input[type=radio]:after,input[type=radio].wp-block-omniform-input:checked[type=checkbox]:after,input[type=radio].wp-block-omniform-input:checked[type=radio]:after,input[type=search].wp-block-omniform-input[type=checkbox]:after,input[type=search].wp-block-omniform-input[type=radio]:after,input[type=tel].wp-block-omniform-input[type=checkbox]:after,input[type=tel].wp-block-omniform-input[type=radio]:after,input[type=text].wp-block-omniform-input[type=checkbox]:after,input[type=text].wp-block-omniform-input[type=radio]:after,input[type=time].wp-block-omniform-input[type=checkbox]:after,input[type=time].wp-block-omniform-input[type=radio]:after,input[type=url].wp-block-omniform-input[type=checkbox]:after,input[type=url].wp-block-omniform-input[type=radio]:after,input[type=week].wp-block-omniform-input[type=checkbox]:after,input[type=week].wp-block-omniform-input[type=radio]:after{content:none}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-only[type=radio]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=radio]:before{background-color:currentcolor;bottom:-1px;content:"";display:block;height:auto;left:-1px;margin:0;opacity:0;position:absolute;right:-1px;top:-1px;width:auto}.wp-block-omniform-input[type=checkbox]:before,.wp-block-omniform-input[type=radio]:before,input.wp-block-omniform-input.readonly[type=checkbox]:before,input.wp-block-omniform-input.readonly[type=radio]:before,input.wp-block-omniform-input[readonly][type=checkbox]:before,input.wp-block-omniform-input[readonly][type=radio]:before,input[class=wp-block-omniform-input]:read-only[type=checkbox]:before,input[class=wp-block-omniform-input]:read-only[type=radio]:before,input[class=wp-block-omniform-input]:read-write[type=checkbox]:before,input[class=wp-block-omniform-input]:read-write[type=radio]:before,input[type=checkbox].wp-block-omniform-input:checked[type=checkbox]:before,input[type=checkbox].wp-block-omniform-input:checked[type=radio]:before,input[type=checkbox].wp-block-omniform-input[type=checkbox]:before,input[type=checkbox].wp-block-omniform-input[type=radio]:before,input[type=color] .wp-block-omniform-input[type=checkbox]:before,input[type=color] .wp-block-omniform-input[type=radio]:before,input[type=date].wp-block-omniform-input[type=checkbox]:before,input[type=date].wp-block-omniform-input[type=radio]:before,input[type=datetime-local].wp-block-omniform-input[type=checkbox]:before,input[type=datetime-local].wp-block-omniform-input[type=radio]:before,input[type=datetime].wp-block-omniform-input[type=checkbox]:before,input[type=datetime].wp-block-omniform-input[type=radio]:before,input[type=email].wp-block-omniform-input[type=checkbox]:before,input[type=email].wp-block-omniform-input[type=radio]:before,input[type=month].wp-block-omniform-input[type=checkbox]:before,input[type=month].wp-block-omniform-input[type=radio]:before,input[type=number].wp-block-omniform-input[type=checkbox]:before,input[type=number].wp-block-omniform-input[type=radio]:before,input[type=password].wp-block-omniform-input[type=checkbox]:before,input[type=password].wp-block-omniform-input[type=radio]:before,input[type=radio].wp-block-omniform-input:checked[type=checkbox]:before,input[type=radio].wp-block-omniform-input:checked[type=radio]:before,input[type=search].wp-block-omniform-input[type=checkbox]:before,input[type=search].wp-block-omniform-input[type=radio]:before,input[type=tel].wp-block-omniform-input[type=checkbox]:before,input[type=tel].wp-block-omniform-input[type=radio]:before,input[type=text].wp-block-omniform-input[type=checkbox]:before,input[type=text].wp-block-omniform-input[type=radio]:before,input[type=time].wp-block-omniform-input[type=checkbox]:before,input[type=time].wp-block-omniform-input[type=radio]:before,input[type=url].wp-block-omniform-input[type=checkbox]:before,input[type=url].wp-block-omniform-input[type=radio]:before,input[type=week].wp-block-omniform-input[type=checkbox]:before,input[type=week].wp-block-omniform-input[type=radio]:before{background-color:currentcolor;bottom:-1px;content:"";display:block;height:auto;left:-1px;margin:0;opacity:0;position:absolute;right:-1px;top:-1px;width:auto}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox]:checked:before,input[class=wp-block-omniform-input]:-moz-read-only[type=radio]:checked:before,input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox]:checked:before,input[class=wp-block-omniform-input]:-moz-read-write[type=radio]:checked:before{opacity:1}.wp-block-omniform-input[type=checkbox]:checked:before,.wp-block-omniform-input[type=radio]:checked:before,input.wp-block-omniform-input.readonly[type=checkbox]:checked:before,input.wp-block-omniform-input.readonly[type=radio]:checked:before,input.wp-block-omniform-input[readonly][type=checkbox]:checked:before,input.wp-block-omniform-input[readonly][type=radio]:checked:before,input[class=wp-block-omniform-input]:read-only[type=checkbox]:checked:before,input[class=wp-block-omniform-input]:read-only[type=radio]:checked:before,input[class=wp-block-omniform-input]:read-write[type=checkbox]:checked:before,input[class=wp-block-omniform-input]:read-write[type=radio]:checked:before,input[type=checkbox].wp-block-omniform-input:checked[type=checkbox]:checked:before,input[type=checkbox].wp-block-omniform-input:checked[type=radio]:checked:before,input[type=checkbox].wp-block-omniform-input[type=checkbox]:checked:before,input[type=checkbox].wp-block-omniform-input[type=radio]:checked:before,input[type=color] .wp-block-omniform-input[type=checkbox]:checked:before,input[type=color] .wp-block-omniform-input[type=radio]:checked:before,input[type=date].wp-block-omniform-input[type=checkbox]:checked:before,input[type=date].wp-block-omniform-input[type=radio]:checked:before,input[type=datetime-local].wp-block-omniform-input[type=checkbox]:checked:before,input[type=datetime-local].wp-block-omniform-input[type=radio]:checked:before,input[type=datetime].wp-block-omniform-input[type=checkbox]:checked:before,input[type=datetime].wp-block-omniform-input[type=radio]:checked:before,input[type=email].wp-block-omniform-input[type=checkbox]:checked:before,input[type=email].wp-block-omniform-input[type=radio]:checked:before,input[type=month].wp-block-omniform-input[type=checkbox]:checked:before,input[type=month].wp-block-omniform-input[type=radio]:checked:before,input[type=number].wp-block-omniform-input[type=checkbox]:checked:before,input[type=number].wp-block-omniform-input[type=radio]:checked:before,input[type=password].wp-block-omniform-input[type=checkbox]:checked:before,input[type=password].wp-block-omniform-input[type=radio]:checked:before,input[type=radio].wp-block-omniform-input:checked[type=checkbox]:checked:before,input[type=radio].wp-block-omniform-input:checked[type=radio]:checked:before,input[type=search].wp-block-omniform-input[type=checkbox]:checked:before,input[type=search].wp-block-omniform-input[type=radio]:checked:before,input[type=tel].wp-block-omniform-input[type=checkbox]:checked:before,input[type=tel].wp-block-omniform-input[type=radio]:checked:before,input[type=text].wp-block-omniform-input[type=checkbox]:checked:before,input[type=text].wp-block-omniform-input[type=radio]:checked:before,input[type=time].wp-block-omniform-input[type=checkbox]:checked:before,input[type=time].wp-block-omniform-input[type=radio]:checked:before,input[type=url].wp-block-omniform-input[type=checkbox]:checked:before,input[type=url].wp-block-omniform-input[type=radio]:checked:before,input[type=week].wp-block-omniform-input[type=checkbox]:checked:before,input[type=week].wp-block-omniform-input[type=radio]:checked:before{opacity:1}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox][type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-only[type=radio][type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox][type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=radio][type=checkbox]:before{border-radius:.25em;mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23000%27 fill-rule=%27evenodd%27 d=%27M20 0H0v20h20V0Zm-4.44 8.06a1.5 1.5 0 0 0-2.12-2.12L8.5 10.878l-1.94-1.94a1.5 1.5 0 1 0-2.12 2.122l3 3a1.5 1.5 0 0 0 2.12 0l6-6Z%27 clip-rule=%27evenodd%27/%3E%3C/svg%3E")}.wp-block-omniform-input[type=checkbox][type=checkbox]:before,.wp-block-omniform-input[type=radio][type=checkbox]:before,input.wp-block-omniform-input.readonly[type=checkbox][type=checkbox]:before,input.wp-block-omniform-input.readonly[type=radio][type=checkbox]:before,input.wp-block-omniform-input[readonly][type=checkbox][type=checkbox]:before,input.wp-block-omniform-input[readonly][type=radio][type=checkbox]:before,input[class=wp-block-omniform-input]:read-only[type=checkbox][type=checkbox]:before,input[class=wp-block-omniform-input]:read-only[type=radio][type=checkbox]:before,input[class=wp-block-omniform-input]:read-write[type=checkbox][type=checkbox]:before,input[class=wp-block-omniform-input]:read-write[type=radio][type=checkbox]:before,input[type=checkbox].wp-block-omniform-input:checked[type=checkbox][type=checkbox]:before,input[type=checkbox].wp-block-omniform-input:checked[type=radio][type=checkbox]:before,input[type=checkbox].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=checkbox].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=color] .wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=color] .wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=date].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=date].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=datetime-local].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=datetime-local].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=datetime].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=datetime].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=email].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=email].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=month].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=month].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=number].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=number].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=password].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=password].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=radio].wp-block-omniform-input:checked[type=checkbox][type=checkbox]:before,input[type=radio].wp-block-omniform-input:checked[type=radio][type=checkbox]:before,input[type=search].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=search].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=tel].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=tel].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=text].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=text].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=time].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=time].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=url].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=url].wp-block-omniform-input[type=radio][type=checkbox]:before,input[type=week].wp-block-omniform-input[type=checkbox][type=checkbox]:before,input[type=week].wp-block-omniform-input[type=radio][type=checkbox]:before{border-radius:.25em;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23000%27 fill-rule=%27evenodd%27 d=%27M20 0H0v20h20V0Zm-4.44 8.06a1.5 1.5 0 0 0-2.12-2.12L8.5 10.878l-1.94-1.94a1.5 1.5 0 1 0-2.12 2.122l3 3a1.5 1.5 0 0 0 2.12 0l6-6Z%27 clip-rule=%27evenodd%27/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23000%27 fill-rule=%27evenodd%27 d=%27M20 0H0v20h20V0Zm-4.44 8.06a1.5 1.5 0 0 0-2.12-2.12L8.5 10.878l-1.94-1.94a1.5 1.5 0 1 0-2.12 2.122l3 3a1.5 1.5 0 0 0 2.12 0l6-6Z%27 clip-rule=%27evenodd%27/%3E%3C/svg%3E")}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox][type=radio]:before,input[class=wp-block-omniform-input]:-moz-read-only[type=radio][type=radio]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox][type=radio]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=radio][type=radio]:before{border-radius:100%;mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23000%27 fill-rule=%27evenodd%27 d=%27M20 0H0v20h20V0Zm-8 10a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z%27 clip-rule=%27evenodd%27/%3E%3C/svg%3E")}.wp-block-omniform-input[type=checkbox][type=radio]:before,.wp-block-omniform-input[type=radio][type=radio]:before,input.wp-block-omniform-input.readonly[type=checkbox][type=radio]:before,input.wp-block-omniform-input.readonly[type=radio][type=radio]:before,input.wp-block-omniform-input[readonly][type=checkbox][type=radio]:before,input.wp-block-omniform-input[readonly][type=radio][type=radio]:before,input[class=wp-block-omniform-input]:read-only[type=checkbox][type=radio]:before,input[class=wp-block-omniform-input]:read-only[type=radio][type=radio]:before,input[class=wp-block-omniform-input]:read-write[type=checkbox][type=radio]:before,input[class=wp-block-omniform-input]:read-write[type=radio][type=radio]:before,input[type=checkbox].wp-block-omniform-input:checked[type=checkbox][type=radio]:before,input[type=checkbox].wp-block-omniform-input:checked[type=radio][type=radio]:before,input[type=checkbox].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=checkbox].wp-block-omniform-input[type=radio][type=radio]:before,input[type=color] .wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=color] .wp-block-omniform-input[type=radio][type=radio]:before,input[type=date].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=date].wp-block-omniform-input[type=radio][type=radio]:before,input[type=datetime-local].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=datetime-local].wp-block-omniform-input[type=radio][type=radio]:before,input[type=datetime].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=datetime].wp-block-omniform-input[type=radio][type=radio]:before,input[type=email].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=email].wp-block-omniform-input[type=radio][type=radio]:before,input[type=month].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=month].wp-block-omniform-input[type=radio][type=radio]:before,input[type=number].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=number].wp-block-omniform-input[type=radio][type=radio]:before,input[type=password].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=password].wp-block-omniform-input[type=radio][type=radio]:before,input[type=radio].wp-block-omniform-input:checked[type=checkbox][type=radio]:before,input[type=radio].wp-block-omniform-input:checked[type=radio][type=radio]:before,input[type=search].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=search].wp-block-omniform-input[type=radio][type=radio]:before,input[type=tel].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=tel].wp-block-omniform-input[type=radio][type=radio]:before,input[type=text].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=text].wp-block-omniform-input[type=radio][type=radio]:before,input[type=time].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=time].wp-block-omniform-input[type=radio][type=radio]:before,input[type=url].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=url].wp-block-omniform-input[type=radio][type=radio]:before,input[type=week].wp-block-omniform-input[type=checkbox][type=radio]:before,input[type=week].wp-block-omniform-input[type=radio][type=radio]:before{border-radius:100%;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23000%27 fill-rule=%27evenodd%27 d=%27M20 0H0v20h20V0Zm-8 10a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z%27 clip-rule=%27evenodd%27/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23000%27 fill-rule=%27evenodd%27 d=%27M20 0H0v20h20V0Zm-8 10a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z%27 clip-rule=%27evenodd%27/%3E%3C/svg%3E")}
     1input[class=wp-block-omniform-input]:-moz-read-only,input[class=wp-block-omniform-input]:-moz-read-write{-moz-appearance:none;appearance:none;background-color:transparent;border:1px solid;border-radius:.25em;box-shadow:none;box-sizing:border-box;color:currentcolor;display:block;font-size:inherit;line-height:inherit;margin:0;max-width:none;min-height:auto;outline:0 solid transparent;outline-offset:-2px;padding:.5em .75em}.wp-block-omniform-input,input.wp-block-omniform-input.readonly,input.wp-block-omniform-input[readonly],input[class=wp-block-omniform-input]:read-only,input[class=wp-block-omniform-input]:read-write,input[type=checkbox].wp-block-omniform-input,input[type=checkbox].wp-block-omniform-input:checked,input[type=color] .wp-block-omniform-input,input[type=date].wp-block-omniform-input,input[type=datetime-local].wp-block-omniform-input,input[type=datetime].wp-block-omniform-input,input[type=email].wp-block-omniform-input,input[type=month].wp-block-omniform-input,input[type=number].wp-block-omniform-input,input[type=password].wp-block-omniform-input,input[type=radio].wp-block-omniform-input:checked,input[type=search].wp-block-omniform-input,input[type=tel].wp-block-omniform-input,input[type=text].wp-block-omniform-input,input[type=time].wp-block-omniform-input,input[type=url].wp-block-omniform-input,input[type=week].wp-block-omniform-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:1px solid;border-radius:.25em;box-shadow:none;box-sizing:border-box;color:currentcolor;display:block;font-size:inherit;line-height:inherit;margin:0;max-width:none;min-height:auto;outline:0 solid transparent;outline-offset:-2px;padding:.5em .75em}input[class=wp-block-omniform-input]:-moz-read-only,input[class=wp-block-omniform-input]:-moz-read-only:before,input[class=wp-block-omniform-input]:-moz-read-write,input[class=wp-block-omniform-input]:-moz-read-write:before{transition-duration:.1s;-moz-transition-property:background-color,border-color,box-shadow,color,opacity,outline,outline-offset;transition-property:background-color,border-color,box-shadow,color,opacity,outline,outline-offset;transition-timing-function:ease-in-out}.wp-block-omniform-input,.wp-block-omniform-input:before,input.wp-block-omniform-input.readonly,input.wp-block-omniform-input.readonly:before,input.wp-block-omniform-input[readonly],input.wp-block-omniform-input[readonly]:before,input[class=wp-block-omniform-input]:read-only,input[class=wp-block-omniform-input]:read-only:before,input[class=wp-block-omniform-input]:read-write,input[class=wp-block-omniform-input]:read-write:before,input[type=checkbox].wp-block-omniform-input,input[type=checkbox].wp-block-omniform-input:before,input[type=checkbox].wp-block-omniform-input:checked,input[type=checkbox].wp-block-omniform-input:checked:before,input[type=color] .wp-block-omniform-input,input[type=color] .wp-block-omniform-input:before,input[type=date].wp-block-omniform-input,input[type=date].wp-block-omniform-input:before,input[type=datetime-local].wp-block-omniform-input,input[type=datetime-local].wp-block-omniform-input:before,input[type=datetime].wp-block-omniform-input,input[type=datetime].wp-block-omniform-input:before,input[type=email].wp-block-omniform-input,input[type=email].wp-block-omniform-input:before,input[type=month].wp-block-omniform-input,input[type=month].wp-block-omniform-input:before,input[type=number].wp-block-omniform-input,input[type=number].wp-block-omniform-input:before,input[type=password].wp-block-omniform-input,input[type=password].wp-block-omniform-input:before,input[type=radio].wp-block-omniform-input:checked,input[type=radio].wp-block-omniform-input:checked:before,input[type=search].wp-block-omniform-input,input[type=search].wp-block-omniform-input:before,input[type=tel].wp-block-omniform-input,input[type=tel].wp-block-omniform-input:before,input[type=text].wp-block-omniform-input,input[type=text].wp-block-omniform-input:before,input[type=time].wp-block-omniform-input,input[type=time].wp-block-omniform-input:before,input[type=url].wp-block-omniform-input,input[type=url].wp-block-omniform-input:before,input[type=week].wp-block-omniform-input,input[type=week].wp-block-omniform-input:before{transition-duration:.1s;transition-property:background-color,border-color,box-shadow,color,opacity,outline,outline-offset;transition-timing-function:ease-in-out}input[class=wp-block-omniform-input]:-moz-read-only:focus,input[class=wp-block-omniform-input]:-moz-read-write:focus{outline:2px solid currentcolor;outline-offset:2px}.wp-block-omniform-input:focus,input.wp-block-omniform-input.readonly:focus,input.wp-block-omniform-input[readonly]:focus,input[class=wp-block-omniform-input]:read-only:focus,input[class=wp-block-omniform-input]:read-write:focus,input[type=checkbox].wp-block-omniform-input:checked:focus,input[type=checkbox].wp-block-omniform-input:focus,input[type=color] .wp-block-omniform-input:focus,input[type=date].wp-block-omniform-input:focus,input[type=datetime-local].wp-block-omniform-input:focus,input[type=datetime].wp-block-omniform-input:focus,input[type=email].wp-block-omniform-input:focus,input[type=month].wp-block-omniform-input:focus,input[type=number].wp-block-omniform-input:focus,input[type=password].wp-block-omniform-input:focus,input[type=radio].wp-block-omniform-input:checked:focus,input[type=search].wp-block-omniform-input:focus,input[type=tel].wp-block-omniform-input:focus,input[type=text].wp-block-omniform-input:focus,input[type=time].wp-block-omniform-input:focus,input[type=url].wp-block-omniform-input:focus,input[type=week].wp-block-omniform-input:focus{outline:2px solid currentcolor;outline-offset:2px}input[class=wp-block-omniform-input]:-moz-read-only:not(.has-custom-border):focus,input[class=wp-block-omniform-input]:-moz-read-write:not(.has-custom-border):focus{border-color:transparent}.wp-block-omniform-input:not(.has-custom-border):focus,input.wp-block-omniform-input.readonly:not(.has-custom-border):focus,input.wp-block-omniform-input[readonly]:not(.has-custom-border):focus,input[class=wp-block-omniform-input]:read-only:not(.has-custom-border):focus,input[class=wp-block-omniform-input]:read-write:not(.has-custom-border):focus,input[type=checkbox].wp-block-omniform-input:checked:not(.has-custom-border):focus,input[type=checkbox].wp-block-omniform-input:not(.has-custom-border):focus,input[type=color] .wp-block-omniform-input:not(.has-custom-border):focus,input[type=date].wp-block-omniform-input:not(.has-custom-border):focus,input[type=datetime-local].wp-block-omniform-input:not(.has-custom-border):focus,input[type=datetime].wp-block-omniform-input:not(.has-custom-border):focus,input[type=email].wp-block-omniform-input:not(.has-custom-border):focus,input[type=month].wp-block-omniform-input:not(.has-custom-border):focus,input[type=number].wp-block-omniform-input:not(.has-custom-border):focus,input[type=password].wp-block-omniform-input:not(.has-custom-border):focus,input[type=radio].wp-block-omniform-input:checked:not(.has-custom-border):focus,input[type=search].wp-block-omniform-input:not(.has-custom-border):focus,input[type=tel].wp-block-omniform-input:not(.has-custom-border):focus,input[type=text].wp-block-omniform-input:not(.has-custom-border):focus,input[type=time].wp-block-omniform-input:not(.has-custom-border):focus,input[type=url].wp-block-omniform-input:not(.has-custom-border):focus,input[type=week].wp-block-omniform-input:not(.has-custom-border):focus{border-color:transparent}.editor-styles-wrapper input[class=wp-block-omniform-input]:-moz-read-only:focus,.editor-styles-wrapper input[class=wp-block-omniform-input]:-moz-read-write:focus{border-color:unset;outline:unset;outline-offset:unset}.editor-styles-wrapper .wp-block-omniform-input:focus,.editor-styles-wrapper input.wp-block-omniform-input.readonly:focus,.editor-styles-wrapper input.wp-block-omniform-input[readonly]:focus,.editor-styles-wrapper input[class=wp-block-omniform-input]:read-only:focus,.editor-styles-wrapper input[class=wp-block-omniform-input]:read-write:focus,.editor-styles-wrapper input[type=checkbox].wp-block-omniform-input:checked:focus,.editor-styles-wrapper input[type=checkbox].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=color] .wp-block-omniform-input:focus,.editor-styles-wrapper input[type=date].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=datetime-local].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=datetime].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=email].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=month].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=number].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=password].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=radio].wp-block-omniform-input:checked:focus,.editor-styles-wrapper input[type=search].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=tel].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=text].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=time].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=url].wp-block-omniform-input:focus,.editor-styles-wrapper input[type=week].wp-block-omniform-input:focus{border-color:unset;outline:unset;outline-offset:unset}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox],input[class=wp-block-omniform-input]:-moz-read-only[type=radio],input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox],input[class=wp-block-omniform-input]:-moz-read-write[type=radio]{flex-shrink:0;height:1em;margin:0;padding:0;position:relative;width:1em}.wp-block-omniform-input[type=checkbox],.wp-block-omniform-input[type=radio],input.wp-block-omniform-input.readonly[type=checkbox],input.wp-block-omniform-input.readonly[type=radio],input.wp-block-omniform-input[readonly][type=checkbox],input.wp-block-omniform-input[readonly][type=radio],input[class=wp-block-omniform-input]:read-only[type=checkbox],input[class=wp-block-omniform-input]:read-only[type=radio],input[class=wp-block-omniform-input]:read-write[type=checkbox],input[class=wp-block-omniform-input]:read-write[type=radio],input[type=checkbox].wp-block-omniform-input:checked[type=checkbox],input[type=checkbox].wp-block-omniform-input:checked[type=radio],input[type=checkbox].wp-block-omniform-input[type=checkbox],input[type=checkbox].wp-block-omniform-input[type=radio],input[type=color] .wp-block-omniform-input[type=checkbox],input[type=color] .wp-block-omniform-input[type=radio],input[type=date].wp-block-omniform-input[type=checkbox],input[type=date].wp-block-omniform-input[type=radio],input[type=datetime-local].wp-block-omniform-input[type=checkbox],input[type=datetime-local].wp-block-omniform-input[type=radio],input[type=datetime].wp-block-omniform-input[type=checkbox],input[type=datetime].wp-block-omniform-input[type=radio],input[type=email].wp-block-omniform-input[type=checkbox],input[type=email].wp-block-omniform-input[type=radio],input[type=month].wp-block-omniform-input[type=checkbox],input[type=month].wp-block-omniform-input[type=radio],input[type=number].wp-block-omniform-input[type=checkbox],input[type=number].wp-block-omniform-input[type=radio],input[type=password].wp-block-omniform-input[type=checkbox],input[type=password].wp-block-omniform-input[type=radio],input[type=radio].wp-block-omniform-input:checked[type=checkbox],input[type=radio].wp-block-omniform-input:checked[type=radio],input[type=search].wp-block-omniform-input[type=checkbox],input[type=search].wp-block-omniform-input[type=radio],input[type=tel].wp-block-omniform-input[type=checkbox],input[type=tel].wp-block-omniform-input[type=radio],input[type=text].wp-block-omniform-input[type=checkbox],input[type=text].wp-block-omniform-input[type=radio],input[type=time].wp-block-omniform-input[type=checkbox],input[type=time].wp-block-omniform-input[type=radio],input[type=url].wp-block-omniform-input[type=checkbox],input[type=url].wp-block-omniform-input[type=radio],input[type=week].wp-block-omniform-input[type=checkbox],input[type=week].wp-block-omniform-input[type=radio]{flex-shrink:0;height:1em;margin:0;padding:0;position:relative;width:1em}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox][type=radio],input[class=wp-block-omniform-input]:-moz-read-only[type=radio][type=radio],input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox][type=radio],input[class=wp-block-omniform-input]:-moz-read-write[type=radio][type=radio]{border-radius:100%}.wp-block-omniform-input[type=checkbox][type=radio],.wp-block-omniform-input[type=radio][type=radio],input.wp-block-omniform-input.readonly[type=checkbox][type=radio],input.wp-block-omniform-input.readonly[type=radio][type=radio],input.wp-block-omniform-input[readonly][type=checkbox][type=radio],input.wp-block-omniform-input[readonly][type=radio][type=radio],input[class=wp-block-omniform-input]:read-only[type=checkbox][type=radio],input[class=wp-block-omniform-input]:read-only[type=radio][type=radio],input[class=wp-block-omniform-input]:read-write[type=checkbox][type=radio],input[class=wp-block-omniform-input]:read-write[type=radio][type=radio],input[type=checkbox].wp-block-omniform-input:checked[type=checkbox][type=radio],input[type=checkbox].wp-block-omniform-input:checked[type=radio][type=radio],input[type=checkbox].wp-block-omniform-input[type=checkbox][type=radio],input[type=checkbox].wp-block-omniform-input[type=radio][type=radio],input[type=color] .wp-block-omniform-input[type=checkbox][type=radio],input[type=color] .wp-block-omniform-input[type=radio][type=radio],input[type=date].wp-block-omniform-input[type=checkbox][type=radio],input[type=date].wp-block-omniform-input[type=radio][type=radio],input[type=datetime-local].wp-block-omniform-input[type=checkbox][type=radio],input[type=datetime-local].wp-block-omniform-input[type=radio][type=radio],input[type=datetime].wp-block-omniform-input[type=checkbox][type=radio],input[type=datetime].wp-block-omniform-input[type=radio][type=radio],input[type=email].wp-block-omniform-input[type=checkbox][type=radio],input[type=email].wp-block-omniform-input[type=radio][type=radio],input[type=month].wp-block-omniform-input[type=checkbox][type=radio],input[type=month].wp-block-omniform-input[type=radio][type=radio],input[type=number].wp-block-omniform-input[type=checkbox][type=radio],input[type=number].wp-block-omniform-input[type=radio][type=radio],input[type=password].wp-block-omniform-input[type=checkbox][type=radio],input[type=password].wp-block-omniform-input[type=radio][type=radio],input[type=radio].wp-block-omniform-input:checked[type=checkbox][type=radio],input[type=radio].wp-block-omniform-input:checked[type=radio][type=radio],input[type=search].wp-block-omniform-input[type=checkbox][type=radio],input[type=search].wp-block-omniform-input[type=radio][type=radio],input[type=tel].wp-block-omniform-input[type=checkbox][type=radio],input[type=tel].wp-block-omniform-input[type=radio][type=radio],input[type=text].wp-block-omniform-input[type=checkbox][type=radio],input[type=text].wp-block-omniform-input[type=radio][type=radio],input[type=time].wp-block-omniform-input[type=checkbox][type=radio],input[type=time].wp-block-omniform-input[type=radio][type=radio],input[type=url].wp-block-omniform-input[type=checkbox][type=radio],input[type=url].wp-block-omniform-input[type=radio][type=radio],input[type=week].wp-block-omniform-input[type=checkbox][type=radio],input[type=week].wp-block-omniform-input[type=radio][type=radio]{border-radius:100%}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox]:after,input[class=wp-block-omniform-input]:-moz-read-only[type=radio]:after,input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox]:after,input[class=wp-block-omniform-input]:-moz-read-write[type=radio]:after{content:none}.wp-block-omniform-input[type=checkbox]:after,.wp-block-omniform-input[type=radio]:after,input.wp-block-omniform-input.readonly[type=checkbox]:after,input.wp-block-omniform-input.readonly[type=radio]:after,input.wp-block-omniform-input[readonly][type=checkbox]:after,input.wp-block-omniform-input[readonly][type=radio]:after,input[class=wp-block-omniform-input]:read-only[type=checkbox]:after,input[class=wp-block-omniform-input]:read-only[type=radio]:after,input[class=wp-block-omniform-input]:read-write[type=checkbox]:after,input[class=wp-block-omniform-input]:read-write[type=radio]:after,input[type=checkbox].wp-block-omniform-input:checked[type=checkbox]:after,input[type=checkbox].wp-block-omniform-input:checked[type=radio]:after,input[type=checkbox].wp-block-omniform-input[type=checkbox]:after,input[type=checkbox].wp-block-omniform-input[type=radio]:after,input[type=color] .wp-block-omniform-input[type=checkbox]:after,input[type=color] .wp-block-omniform-input[type=radio]:after,input[type=date].wp-block-omniform-input[type=checkbox]:after,input[type=date].wp-block-omniform-input[type=radio]:after,input[type=datetime-local].wp-block-omniform-input[type=checkbox]:after,input[type=datetime-local].wp-block-omniform-input[type=radio]:after,input[type=datetime].wp-block-omniform-input[type=checkbox]:after,input[type=datetime].wp-block-omniform-input[type=radio]:after,input[type=email].wp-block-omniform-input[type=checkbox]:after,input[type=email].wp-block-omniform-input[type=radio]:after,input[type=month].wp-block-omniform-input[type=checkbox]:after,input[type=month].wp-block-omniform-input[type=radio]:after,input[type=number].wp-block-omniform-input[type=checkbox]:after,input[type=number].wp-block-omniform-input[type=radio]:after,input[type=password].wp-block-omniform-input[type=checkbox]:after,input[type=password].wp-block-omniform-input[type=radio]:after,input[type=radio].wp-block-omniform-input:checked[type=checkbox]:after,input[type=radio].wp-block-omniform-input:checked[type=radio]:after,input[type=search].wp-block-omniform-input[type=checkbox]:after,input[type=search].wp-block-omniform-input[type=radio]:after,input[type=tel].wp-block-omniform-input[type=checkbox]:after,input[type=tel].wp-block-omniform-input[type=radio]:after,input[type=text].wp-block-omniform-input[type=checkbox]:after,input[type=text].wp-block-omniform-input[type=radio]:after,input[type=time].wp-block-omniform-input[type=checkbox]:after,input[type=time].wp-block-omniform-input[type=radio]:after,input[type=url].wp-block-omniform-input[type=checkbox]:after,input[type=url].wp-block-omniform-input[type=radio]:after,input[type=week].wp-block-omniform-input[type=checkbox]:after,input[type=week].wp-block-omniform-input[type=radio]:after{content:none}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-only[type=radio]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=radio]:before{background-color:currentcolor;bottom:-1px;content:"";display:block;height:auto;left:-1px;margin:0;opacity:0;position:absolute;right:-1px;top:-1px;width:auto}.wp-block-omniform-input[type=checkbox]:before,.wp-block-omniform-input[type=radio]:before,input.wp-block-omniform-input.readonly[type=checkbox]:before,input.wp-block-omniform-input.readonly[type=radio]:before,input.wp-block-omniform-input[readonly][type=checkbox]:before,input.wp-block-omniform-input[readonly][type=radio]:before,input[class=wp-block-omniform-input]:read-only[type=checkbox]:before,input[class=wp-block-omniform-input]:read-only[type=radio]:before,input[class=wp-block-omniform-input]:read-write[type=checkbox]:before,input[class=wp-block-omniform-input]:read-write[type=radio]:before,input[type=checkbox].wp-block-omniform-input:checked[type=checkbox]:before,input[type=checkbox].wp-block-omniform-input:checked[type=radio]:before,input[type=checkbox].wp-block-omniform-input[type=checkbox]:before,input[type=checkbox].wp-block-omniform-input[type=radio]:before,input[type=color] .wp-block-omniform-input[type=checkbox]:before,input[type=color] .wp-block-omniform-input[type=radio]:before,input[type=date].wp-block-omniform-input[type=checkbox]:before,input[type=date].wp-block-omniform-input[type=radio]:before,input[type=datetime-local].wp-block-omniform-input[type=checkbox]:before,input[type=datetime-local].wp-block-omniform-input[type=radio]:before,input[type=datetime].wp-block-omniform-input[type=checkbox]:before,input[type=datetime].wp-block-omniform-input[type=radio]:before,input[type=email].wp-block-omniform-input[type=checkbox]:before,input[type=email].wp-block-omniform-input[type=radio]:before,input[type=month].wp-block-omniform-input[type=checkbox]:before,input[type=month].wp-block-omniform-input[type=radio]:before,input[type=number].wp-block-omniform-input[type=checkbox]:before,input[type=number].wp-block-omniform-input[type=radio]:before,input[type=password].wp-block-omniform-input[type=checkbox]:before,input[type=password].wp-block-omniform-input[type=radio]:before,input[type=radio].wp-block-omniform-input:checked[type=checkbox]:before,input[type=radio].wp-block-omniform-input:checked[type=radio]:before,input[type=search].wp-block-omniform-input[type=checkbox]:before,input[type=search].wp-block-omniform-input[type=radio]:before,input[type=tel].wp-block-omniform-input[type=checkbox]:before,input[type=tel].wp-block-omniform-input[type=radio]:before,input[type=text].wp-block-omniform-input[type=checkbox]:before,input[type=text].wp-block-omniform-input[type=radio]:before,input[type=time].wp-block-omniform-input[type=checkbox]:before,input[type=time].wp-block-omniform-input[type=radio]:before,input[type=url].wp-block-omniform-input[type=checkbox]:before,input[type=url].wp-block-omniform-input[type=radio]:before,input[type=week].wp-block-omniform-input[type=checkbox]:before,input[type=week].wp-block-omniform-input[type=radio]:before{background-color:currentcolor;bottom:-1px;content:"";display:block;height:auto;left:-1px;margin:0;opacity:0;position:absolute;right:-1px;top:-1px;width:auto}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox]:checked:before,input[class=wp-block-omniform-input]:-moz-read-only[type=radio]:checked:before,input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox]:checked:before,input[class=wp-block-omniform-input]:-moz-read-write[type=radio]:checked:before{opacity:1}.wp-block-omniform-input[type=checkbox]:checked:before,.wp-block-omniform-input[type=radio]:checked:before,input.wp-block-omniform-input.readonly[type=checkbox]:checked:before,input.wp-block-omniform-input.readonly[type=radio]:checked:before,input.wp-block-omniform-input[readonly][type=checkbox]:checked:before,input.wp-block-omniform-input[readonly][type=radio]:checked:before,input[class=wp-block-omniform-input]:read-only[type=checkbox]:checked:before,input[class=wp-block-omniform-input]:read-only[type=radio]:checked:before,input[class=wp-block-omniform-input]:read-write[type=checkbox]:checked:before,input[class=wp-block-omniform-input]:read-write[type=radio]:checked:before,input[type=checkbox].wp-block-omniform-input:checked[type=checkbox]:checked:before,input[type=checkbox].wp-block-omniform-input:checked[type=radio]:checked:before,input[type=checkbox].wp-block-omniform-input[type=checkbox]:checked:before,input[type=checkbox].wp-block-omniform-input[type=radio]:checked:before,input[type=color] .wp-block-omniform-input[type=checkbox]:checked:before,input[type=color] .wp-block-omniform-input[type=radio]:checked:before,input[type=date].wp-block-omniform-input[type=checkbox]:checked:before,input[type=date].wp-block-omniform-input[type=radio]:checked:before,input[type=datetime-local].wp-block-omniform-input[type=checkbox]:checked:before,input[type=datetime-local].wp-block-omniform-input[type=radio]:checked:before,input[type=datetime].wp-block-omniform-input[type=checkbox]:checked:before,input[type=datetime].wp-block-omniform-input[type=radio]:checked:before,input[type=email].wp-block-omniform-input[type=checkbox]:checked:before,input[type=email].wp-block-omniform-input[type=radio]:checked:before,input[type=month].wp-block-omniform-input[type=checkbox]:checked:before,input[type=month].wp-block-omniform-input[type=radio]:checked:before,input[type=number].wp-block-omniform-input[type=checkbox]:checked:before,input[type=number].wp-block-omniform-input[type=radio]:checked:before,input[type=password].wp-block-omniform-input[type=checkbox]:checked:before,input[type=password].wp-block-omniform-input[type=radio]:checked:before,input[type=radio].wp-block-omniform-input:checked[type=checkbox]:checked:before,input[type=radio].wp-block-omniform-input:checked[type=radio]:checked:before,input[type=search].wp-block-omniform-input[type=checkbox]:checked:before,input[type=search].wp-block-omniform-input[type=radio]:checked:before,input[type=tel].wp-block-omniform-input[type=checkbox]:checked:before,input[type=tel].wp-block-omniform-input[type=radio]:checked:before,input[type=text].wp-block-omniform-input[type=checkbox]:checked:before,input[type=text].wp-block-omniform-input[type=radio]:checked:before,input[type=time].wp-block-omniform-input[type=checkbox]:checked:before,input[type=time].wp-block-omniform-input[type=radio]:checked:before,input[type=url].wp-block-omniform-input[type=checkbox]:checked:before,input[type=url].wp-block-omniform-input[type=radio]:checked:before,input[type=week].wp-block-omniform-input[type=checkbox]:checked:before,input[type=week].wp-block-omniform-input[type=radio]:checked:before{opacity:1}input[class=wp-block-omniform-input]:-moz-read-only[type=checkbox][type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-only[type=radio][type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=checkbox][type=checkbox]:before,input[class=wp-block-omniform-input]:-moz-read-write[type=radio][type=checkbox]:before{border-radius:.25em;mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3E%3Cpath fill=%27%23000%27 fill-rule=%27evenodd%27 d=%27M20 0H0v20h20}
  • omniform/trunk/build/block-library/label/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-core-data', 'wp-data', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '0414c5ae79301c57388b');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-core-data', 'wp-data', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '');
  • omniform/trunk/build/block-library/label/index.js

    r2994256 r3068146  
    1 (()=>{"use strict";var e,l={538:()=>{const e=window.wp.i18n,l=window.wp.blocks,t=JSON.parse('{"name":"omniform/label"}'),a=window.React,c=window.wp.blockEditor,h=window.wp.coreData,i=window.wp.data,r=window.wp.url,n=window.wp.primitives,v=((0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"}))),{name:o}=((0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,a.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,a.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,a.createElement)(n.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{d:"M7 7h2v2H7V7Z"}),(0,a.createElement)(n.Path,{d:"M9 11H7v2h2v-2Z"}),(0,a.createElement)(n.Path,{d:"M7 15h2v2H7v-2Z"}),(0,a.createElement)(n.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,a.createElement)(n.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,a.createElement)(n.Path,{d:"M17 7h-6v2h6V7Z"}),(0,a.createElement)(n.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,a.createElement)(n.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,a.createElement)(n.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,a.createElement)(n.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,a.createElement)(n.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,a.createElement)(n.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,a.createElement)(n.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,a.createElement)(n.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,a.createElement)(n.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,a.createElement)(n.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,a.createElement)(n.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,a.createElement)(n.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,a.createElement)(n.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,a.createElement)(n.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,a.createElement)(n.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,a.createElement)(n.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,a.createElement)(n.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,a.createElement)(n.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,a.createElement)(n.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,a.createElement)(n.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,a.createElement)(n.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,a.createElement)(n.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,a.createElement)(n.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,a.createElement)(n.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,a.createElement)(n.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,a.createElement)(n.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,a.createElement)(n.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(n.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,a.createElement)(n.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),t);(0,l.registerBlockType)(o,{edit:({attributes:{fieldLabel:t},clientId:n,context:v})=>{const{getBlock:o,getBlockRootClientId:m,getPreviousBlockClientId:d,getNextBlockClientId:E}=(0,i.useSelect)(c.store),{mergeBlocks:Z,replaceBlocks:f,selectBlock:V,removeBlock:H,updateBlockAttributes:M}=(0,i.useDispatch)(c.store),P=v["omniform/fieldName"]||"",B=v["omniform/fieldLabel"]||"",{postId:p,postType:s}=v,[w,u]=(0,h.useEntityProp)("postType",s,"meta",p),F=w?.required_label,D=(e,l=0)=>{const t=o(e).innerBlocks.filter((e=>"omniform/label"===e.name))[0];V(t.clientId,l)},S=(0,c.useBlockProps)();return(0,a.createElement)("div",{...S},(0,a.createElement)(c.RichText,{identifier:"fieldLabel",placeholder:(0,e.__)("Enter a label for the field…","omniform"),value:t||B,onChange:e=>{const l=(0,r.cleanForSlug)(B.replace(/(<([^>]+)>)/gi,""));M(m(n),P&&P!==l?{fieldLabel:e}:{fieldLabel:e,fieldName:(0,r.cleanForSlug)(e.replace(/(<([^>]+)>)/gi,""))})},withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image"],onSplit:(e,t)=>{let a;const c=m(n),h=o(c),i=e=>e.map((({name:e,attributes:t})=>"omniform/input"===e?(0,l.createBlock)(e,{...t,fieldPlaceholder:void 0,fieldValue:void 0}):(0,l.createBlock)(e,{style:t.style})));return a=t||e?(0,l.cloneBlock)(h,{fieldLabel:e,fieldName:(0,r.cleanForSlug)(e.replace(/(<([^>]+)>)/gi,""))},!t&&i(h.innerBlocks)):(0,l.createBlock)("omniform/field",{...h.attributes,fieldLabel:"",fieldName:""},i(h.innerBlocks)),t&&(a.clientId=c),a},onReplace:(e,l,t)=>{f([m(n)],e,l,t),D(e[l].clientId,-1)},onRemove:()=>{H(m(n))},onMerge:e=>{const t=m(n);if(e){const e=E(t);e&&(Z(t,e),D(t))}else{const e=d(t);e&&(B?(Z(e,t),D(e,-1)):f([e],[(0,l.cloneBlock)(o(e)),(0,l.createBlock)("core/paragraph")],1))}}}),v["omniform/fieldIsRequired"]&&(0,a.createElement)(c.RichText,{identifier:"requiredLabel",className:"omniform-field-required",placeholder:(0,e.__)("Enter a required field label…","omniform"),value:F,onChange:e=>{u({...w,required_label:e})},withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image"],disableLineBreaks:!0}))},icon:{foreground:"#D92E83",src:v},example:{attributes:{fieldLabel:(0,e.__)("Field Label","omniform")}}})}},t={};function a(e){var c=t[e];if(void 0!==c)return c.exports;var h=t[e]={exports:{}};return l[e](h,h.exports,a),h.exports}a.m=l,e=[],a.O=(l,t,c,h)=>{if(!t){var i=1/0;for(o=0;o<e.length;o++){for(var[t,c,h]=e[o],r=!0,n=0;n<t.length;n++)(!1&h||i>=h)&&Object.keys(a.O).every((e=>a.O[e](t[n])))?t.splice(n--,1):(r=!1,h<i&&(i=h));if(r){e.splice(o--,1);var v=c();void 0!==v&&(l=v)}}return l}h=h||0;for(var o=e.length;o>0&&e[o-1][2]>h;o--)e[o]=e[o-1];e[o]=[t,c,h]},a.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),(()=>{var e={788:0,855:0};a.O.j=l=>0===e[l];var l=(l,t)=>{var c,h,[i,r,n]=t,v=0;if(i.some((l=>0!==e[l]))){for(c in r)a.o(r,c)&&(a.m[c]=r[c]);if(n)var o=n(a)}for(l&&l(t);v<i.length;v++)h=i[v],a.o(e,h)&&e[h]&&e[h][0](),e[h]=0;return a.O(o)},t=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];t.forEach(l.bind(null,0)),t.push=l.bind(null,t.push.bind(t))})();var c=a.O(void 0,[855],(()=>a(538)));c=a.O(c)})();
     1(()=>{"use strict";var e,l={)));c=a.O(c)})();
  • omniform/trunk/build/block-library/select-group/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-primitives'), 'version' => '1cf1ea65916c74376a12');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-');
  • omniform/trunk/build/block-library/select-group/index.js

    r2994256 r3068146  
    1 (()=>{"use strict";const e=window.wp.blocks,l=window.wp.htmlEntities,t=JSON.parse('{"name":"omniform/select-group"}'),a=window.React,c=window.wp.blockEditor,h=window.wp.components,i=window.wp.i18n,n=window.wp.element,v=window.wp.primitives,m=(0,n.createElement)(v.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(v.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})),r=(0,n.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(v.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})),o=window.wp.data,d=((0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,a.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"}))),{name:E}=((0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{d:"M7 7h2v2H7V7Z"}),(0,a.createElement)(v.Path,{d:"M9 11H7v2h2v-2Z"}),(0,a.createElement)(v.Path,{d:"M7 15h2v2H7v-2Z"}),(0,a.createElement)(v.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,a.createElement)(v.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,a.createElement)(v.Path,{d:"M17 7h-6v2h6V7Z"}),(0,a.createElement)(v.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,a.createElement)(v.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,a.createElement)(v.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,a.createElement)(v.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,a.createElement)(v.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,a.createElement)(v.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),t);(0,e.registerBlockType)(E,{edit:l=>{const{attributes:t,clientId:n,isSelected:v,mergeBlocks:d,onRemove:E,onReplace:Z,setAttributes:V}=l,{fieldLabel:H}=t,M=(0,o.useSelect)((e=>e(c.store).hasSelectedInnerBlock(n)),[n]),f=(0,c.useBlockProps)({className:"omniform-select-group"}),P=(0,c.useInnerBlocksProps)({className:"omniform-select-options-container"},{allowedBlocks:["omniform/select-option"],template:[["omniform/select-option"]]}),B=(0,o.useRegistry)(),{getBlock:s,getBlockIndex:p,getBlockListSettings:w,getBlockOrder:D,getBlockRootClientId:S}=(0,o.useSelect)(c.store),{moveBlocksToPosition:u,replaceBlock:F,updateBlockListSettings:x}=(0,o.useDispatch)(c.store);return(0,a.createElement)("div",{...f},(0,a.createElement)(h.__experimentalHStack,{alignment:"left"},(0,a.createElement)(h.Icon,{icon:v||M?m:r}),(0,a.createElement)(c.RichText,{identifier:"fieldLabel","aria-label":(0,i.__)("Help text","omniform"),placeholder:(0,i.__)("Write the option text…","omniform"),value:H,onChange:e=>V({fieldLabel:e}),withoutInteractiveFormatting:!0,allowedFormats:[],onSplit:(t,a)=>{let c;return c=a||t?(0,e.cloneBlock)(s(n),{fieldLabel:t.trim()}):(0,e.createBlock)(l.name,{fieldLabel:t.trim()}),a&&(c.clientId=n),c},onMerge:l=>{if(l)return d(l);const a=S(n),c=p(n)+1;B.batch((()=>{u(D(n),n,a,c),F(n,(0,e.createBlock)("omniform/select-option",t)),x(n,w(a))}),[])},onReplace:Z,onRemove:E})),(v||M)&&(0,a.createElement)("div",{...P}))},save:()=>c.useInnerBlocksProps.save(c.useBlockProps.save()).children,icon:{foreground:"#D92E83",src:d},merge:(e,l)=>({fieldLabel:(e.fieldLabel||"")+(l.fieldLabel||"")}),__experimentalLabel:({fieldLabel:e})=>e&&(0,l.decodeEntities)(e)})})();
     1(()=>{"use strict";const e=window.wp.blocks,l=window.wp.htmlEntities,t=JSON.parse('{"name":"omniform/select-group"}'),a=window.React,c=window.wp.blockEditor,h=window.wp.components,i=window.wp.i18n,n=window.wp.},merge:(e,l)=>({fieldLabel:(e.fieldLabel||"")+(l.fieldLabel||"")}),__experimentalLabel:({fieldLabel:e})=>e&&(0,l.decodeEntities)(e)})})();
  • omniform/trunk/build/block-library/select-option/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-html-entities', 'wp-i18n', 'wp-primitives'), 'version' => 'fb2263120e7f9734ce27');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-html-entities', 'wp-i18n', 'wp-primitives'), 'version' => '');
  • omniform/trunk/build/block-library/select-option/index.js

    r2994256 r3068146  
    1 (()=>{"use strict";const e=window.wp.blocks,l=window.wp.htmlEntities,t=JSON.parse('{"name":"omniform/select-option"}'),a=window.React,h=window.wp.i18n,c=window.wp.blockEditor,i={from:[{type:"prefix",prefix:">",transform:l=>(0,e.createBlock)("omniform/select-group",{fieldLabel:l})}]},v=window.wp.primitives,n=((0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,a.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"}))),{name:m}=((0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,a.createElement)(v.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{d:"M7 7h2v2H7V7Z"}),(0,a.createElement)(v.Path,{d:"M9 11H7v2h2v-2Z"}),(0,a.createElement)(v.Path,{d:"M7 15h2v2H7v-2Z"}),(0,a.createElement)(v.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,a.createElement)(v.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,a.createElement)(v.Path,{d:"M17 7h-6v2h6V7Z"}),(0,a.createElement)(v.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,a.createElement)(v.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,a.createElement)(v.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,a.createElement)(v.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,a.createElement)(v.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,a.createElement)(v.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,a.createElement)(v.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,a.createElement)(v.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,a.createElement)(v.SVG,{viewBox:"0 0 24 24"},(0,a.createElement)(v.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,a.createElement)(v.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),t);(0,e.registerBlockType)(m,{edit:l=>{const{attributes:t,setAttributes:i,mergeBlocks:v,onReplace:n,onRemove:m,clientId:r}=l,{fieldLabel:d}=t,E=(0,c.useBlockProps)({className:"omniform-field-select-option"});return(0,a.createElement)("div",{...E},(0,a.createElement)(c.RichText,{identifier:"fieldLabel","aria-label":(0,h.__)("Help text","omniform"),placeholder:(0,h.__)("Write the option text…","omniform"),value:d,onChange:e=>i({fieldLabel:e}),withoutInteractiveFormatting:!0,allowedFormats:[],onSplit:(a,h)=>{let c;(h||a)&&(c={...t,fieldLabel:a.trim()});const i=(0,e.createBlock)(l.name,c);return h&&(i.clientId=r),i},onMerge:v,onReplace:n,onRemove:m,__unstableAllowPrefixTransformations:!0}))},icon:{foreground:"#D92E83",src:n},transforms:i,merge:(e,l)=>({fieldLabel:(e.fieldLabel||"")+(l.fieldLabel||"")}),__experimentalLabel:({fieldLabel:e})=>e&&(0,l.decodeEntities)(e)})})();
     1(()=>{"use strict";const e=window.wp.blocks,l=window.wp.htmlEntities,t=JSON.parse('{"name":"omniform/select-option"}'),a=window.React,h=window.wp.i18n,c=window.wp.blockEditor,i={from:[{type:"prefix",prefix:">",transform:l=>(0,e.createBlock)("omniform/select-group",{fieldLabel:l})}]},v=window.wp.primitives,},transforms:i,merge:(e,l)=>({fieldLabel:(e.fieldLabel||"")+(l.fieldLabel||"")}),__experimentalLabel:({fieldLabel:e})=>e&&(0,l.decodeEntities)(e)})})();
  • omniform/trunk/build/block-library/select/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-data', 'wp-i18n', 'wp-primitives'), 'version' => 'c36914b2de26b3d12ea6');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-data', 'wp-i18n', 'wp-primitives'), 'version' => '');
  • omniform/trunk/build/block-library/select/index.js

    r2994256 r3068146  
    1 (()=>{var e,l={390:(e,l,t)=>{"use strict";const a=window.wp.blocks,i=JSON.parse('{"name":"omniform/select"}'),h=window.React;var c=t(184),n=t.n(c);const r=window.wp.i18n,v=window.wp.data,o=window.wp.blockEditor,m=[{name:"select-single",title:(0,r.__)("Select","omniform"),description:(0,r.__)("A field offering multiple options for a single selection.","omniform"),attributes:{isMultiple:!1},scope:["transform"]},{name:"select-multiple",title:(0,r.__)("Select Multiple","omniform"),description:(0,r.__)("A field offering multiple options for multiple selections.","omniform"),attributes:{isMultiple:!0,fieldPlaceholder:void 0}}];m.forEach((e=>{e.isActive=(e,l)=>e.isMultiple===l.isMultiple,e.scope||(e.scope=["inserter","block","transform"])}));const d=m,E=window.wp.primitives,f=((0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,h.createElement)(E.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,h.createElement)(E.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"}))),{name:Z}=((0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,h.createElement)(E.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{d:"M7 7h2v2H7V7Z"}),(0,h.createElement)(E.Path,{d:"M9 11H7v2h2v-2Z"}),(0,h.createElement)(E.Path,{d:"M7 15h2v2H7v-2Z"}),(0,h.createElement)(E.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,h.createElement)(E.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,h.createElement)(E.Path,{d:"M17 7h-6v2h6V7Z"}),(0,h.createElement)(E.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,h.createElement)(E.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,h.createElement)(E.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,h.createElement)(E.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,h.createElement)(E.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,h.createElement)(E.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,h.createElement)(E.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,h.createElement)(E.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,h.createElement)(E.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,h.createElement)(E.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,h.createElement)(E.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,h.createElement)(E.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,h.createElement)(E.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,h.createElement)(E.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,h.createElement)(E.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,h.createElement)(E.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,h.createElement)(E.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,h.createElement)(E.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,h.createElement)(E.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,h.createElement)(E.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,h.createElement)(E.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,h.createElement)(E.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,h.createElement)(E.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,h.createElement)(E.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,h.createElement)(E.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,h.createElement)(E.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,h.createElement)(E.SVG,{viewBox:"0 0 24 24"},(0,h.createElement)(E.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,h.createElement)(E.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),i);(0,a.registerBlockType)(Z,{edit:({attributes:{fieldPlaceholder:e,isMultiple:l},setAttributes:t,isSelected:a,clientId:i})=>{const c=(0,v.useSelect)((e=>e(o.store).hasSelectedInnerBlock(i,!0)),[i]),m=(0,v.useSelect)((e=>!!e(o.store).getBlocks(i).filter((e=>"omniform/select-group"===e.name)).length)),d=(0,o.useBlockProps)({className:n()({"type-multiple":l,"options-nested":m})}),E=(0,o.useInnerBlocksProps)({className:"omniform-select-options-container"},{templateLock:!1,allowedBlocks:["omniform/select-option","omniform/select-group"],template:[["omniform/select-option"]]});if(l){const e=a||c?void 0:d.style.minHeight||"230px";return(0,h.createElement)("div",{...d,style:{...d.style,height:e}},(0,h.createElement)("div",{...E}))}return(0,h.createElement)("div",{...d,style:{...d.style,minHeight:void 0}},!l&&(0,h.createElement)(o.RichText,{identifier:"fieldControl","aria-label":(0,r.__)("Placeholder text for text input.","omniform"),placeholder:!e&&a||c?(0,r.__)("Enter a placeholder…","omniform"):void 0,value:e,onChange:e=>t({fieldPlaceholder:e}),withoutInteractiveFormatting:!0,allowedFormats:[]}),(a||c||l)&&(0,h.createElement)("div",{...E}))},save:()=>o.useInnerBlocksProps.save(o.useBlockProps.save()).children,icon:{foreground:"#D92E83",src:f},variations:d,example:{}})},184:(e,l)=>{var t;!function(){"use strict";var a={}.hasOwnProperty;function i(){for(var e=[],l=0;l<arguments.length;l++){var t=arguments[l];if(t){var h=typeof t;if("string"===h||"number"===h)e.push(t);else if(Array.isArray(t)){if(t.length){var c=i.apply(null,t);c&&e.push(c)}}else if("object"===h){if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]")){e.push(t.toString());continue}for(var n in t)a.call(t,n)&&t[n]&&e.push(n)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(t=function(){return i}.apply(l,[]))||(e.exports=t)}()}},t={};function a(e){var i=t[e];if(void 0!==i)return i.exports;var h=t[e]={exports:{}};return l[e](h,h.exports,a),h.exports}a.m=l,e=[],a.O=(l,t,i,h)=>{if(!t){var c=1/0;for(o=0;o<e.length;o++){for(var[t,i,h]=e[o],n=!0,r=0;r<t.length;r++)(!1&h||c>=h)&&Object.keys(a.O).every((e=>a.O[e](t[r])))?t.splice(r--,1):(n=!1,h<c&&(c=h));if(n){e.splice(o--,1);var v=i();void 0!==v&&(l=v)}}return l}h=h||0;for(var o=e.length;o>0&&e[o-1][2]>h;o--)e[o]=e[o-1];e[o]=[t,i,h]},a.n=e=>{var l=e&&e.__esModule?()=>e.default:()=>e;return a.d(l,{a:l}),l},a.d=(e,l)=>{for(var t in l)a.o(l,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:l[t]})},a.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),(()=>{var e={544:0,8:0};a.O.j=l=>0===e[l];var l=(l,t)=>{var i,h,[c,n,r]=t,v=0;if(c.some((l=>0!==e[l]))){for(i in n)a.o(n,i)&&(a.m[i]=n[i]);if(r)var o=r(a)}for(l&&l(t);v<c.length;v++)h=c[v],a.o(e,h)&&e[h]&&e[h][0](),e[h]=0;return a.O(o)},t=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];t.forEach(l.bind(null,0)),t.push=l.bind(null,t.push.bind(t))})();var i=a.O(void 0,[8],(()=>a(390)));i=a.O(i)})();
     1(()=>{var e,)})();
  • omniform/trunk/build/block-library/textarea/index.asset.php

    r2994256 r3068146  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-i18n', 'wp-primitives'), 'version' => '42e423a16db349958bab');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-i18n', 'wp-primitives'), 'version' => '');
  • omniform/trunk/build/block-library/textarea/index.js

    r2994256 r3068146  
    1 (()=>{"use strict";var e,l={618:()=>{const e=window.wp.blocks,l=JSON.parse('{"name":"omniform/textarea"}'),t=window.React,a=window.wp.i18n,h=window.wp.blockEditor,c=window.wp.primitives,v=((0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M3.33 15.424a4.842 4.842 0 0 1 0-6.848l.207-.208v-2.42a2.421 2.421 0 0 1 2.421-2.422H8.38l.086-.086a4.842 4.842 0 0 1 6.848 0l.086.086h2.665a2.421 2.421 0 0 1 2.421 2.421v2.665a4.842 4.842 0 0 1 0 6.776v2.665a2.421 2.421 0 0 1-2.421 2.42h-2.665l-.086.087a4.842 4.842 0 0 1-6.848 0l-.086-.086H5.96a2.421 2.421 0 0 1-2.422-2.421v-2.421l-.207-.208ZM12 5a7 7 0 0 1 7 7h-1.604A5.396 5.396 0 0 0 12 6.604V5Zm0 12.396V19a7 7 0 0 1-7-7h1.604A5.396 5.396 0 0 0 12 17.396ZM15.5 12A3.5 3.5 0 0 0 12 8.5v1.896c.886 0 1.604.718 1.604 1.604H15.5Zm-5.104 0c0 .886.718 1.604 1.604 1.604V15.5A3.5 3.5 0 0 1 8.5 12h1.896Z",clipRule:"evenodd"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H4Zm16 2H4v2h16v-2Z",clipRule:"evenodd"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M2 7h8v2H2V7Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16ZM16 17H5V7h11l3.55 5L16 17Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 9a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9Zm2 0h16v6H4V9Z",clipRule:"evenodd"})),(0,t.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M12 1.95c-5.52 0-10 4.48-10 10s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8 8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.43c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47.65.89 1.77 1.47 2.96 1.47 1.97 0 3.5-1.6 3.5-3.57v-1.43c0-5.52-4.48-10-10-10Zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"})),(0,t.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5Zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2Zm-3-4h8v2H8v-2Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4h4Zm-7 4h-4l1-4h4l-1 4Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14ZM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99 8-8Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12Zm2 0c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8-8 3.58-8 8Z",clipRule:"evenodd"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2Zm0 16H5V10h14v10Zm0-12H5V6h14v2ZM9 14H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Zm-8 4H7v-2h2v2Zm4 0h-2v-2h2v2Zm4 0h-2v-2h2v2Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57a.84.84 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.149 15.149 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2ZM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4.273 3 3 4.273 5.727 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h11.727l4.003 4.003 1.273-1.273L4.273 3ZM4 9h3.727l2 2H6v2h5.727l2 2H4V9Z",clipRule:"evenodd"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M18.819 15H20V9h-7.181l-2-2H20a2 2 0 0 1 2 2v6a2 2 0 0 1-1.305 1.876L18.819 15Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"m13.62 8 1.8-3-1.8-3h-3.58l-1.8 3 1.8 3h3.58Zm-3.58 1-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Zm6.24 2.51h3.59l1.79-3-1.79-3h-3.59l-1.8 3 1.8 3Zm3.59 1h-3.59l-1.8 3 1.8 3h3.59l1.79-3-1.79-3Zm-12.49-1 1.8-3-1.8-3H3.79L2 8.51l1.79 3h3.59Zm0 1H3.79l-1.79 3 1.79 3h3.59l1.8-3-1.8-3ZM10.04 16l-1.8 3 1.8 3h3.58l1.8-3-1.8-3h-3.58Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M18 9H6v2h12V9Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M6 13h8v2H6v-2Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H4Zm16 2H4v10h16V7Z",clipRule:"evenodd"}))),{name:i}=((0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M6 7h8v2H6V7Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M14 11H6v2h8v-2Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M6 15h8v2H6v-2Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M18 7h-2v2h2V7Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M4 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12.5a1.5 1.5 0 0 0 1.5-1.5V13h2.5a1.5 1.5 0 0 0 1.5-1.5V5a2 2 0 0 0-2-2H4Zm16 8V5H4v14h12v-6.5a1.5 1.5 0 0 1 1.5-1.5H20Z",clipRule:"evenodd"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7Zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M14 10H3v2h11v-2Zm0-4H3v2h11V6Zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4ZM3 16h7v-2H3v2Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M7 7h2v2H7V7Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M9 11H7v2h2v-2Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M7 15h2v2H7v-2Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M17 11h-6v2h6v-2Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M11 15h6v2h-6v-2Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M17 7h-6v2h6V7Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M17 11H7v2h10v-2Z"}),(0,t.createElement)(c.Path,{fill:"#D92E83",fillRule:"evenodd",d:"M2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm2 0h16v8H4V8Z",clipRule:"evenodd"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{d:"M7 7h2v2H7V7Z"}),(0,t.createElement)(c.Path,{d:"M9 11H7v2h2v-2Z"}),(0,t.createElement)(c.Path,{d:"M7 15h2v2H7v-2Z"}),(0,t.createElement)(c.Path,{d:"M17 11h-6v2h6v-2Z"}),(0,t.createElement)(c.Path,{d:"M11 15h6v2h-6v-2Z"}),(0,t.createElement)(c.Path,{d:"M17 7h-6v2h6V7Z"}),(0,t.createElement)(c.Path,{fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm14 2H5v14h14V5Z",clipRule:"evenodd"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5Zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm0 12H6V10h12v10Zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#D92E83",d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3Zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25v4.7Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#1C3AA9",d:"M22 11.986c0-.143-.004-.286-.01-.43V3.44l-2.237 2.244A9.956 9.956 0 0 0 12.015 2 9.958 9.958 0 0 0 4.06 5.962l3.667 3.717a4.868 4.868 0 0 1 1.486-1.672c.64-.501 1.547-.91 2.802-.91a1 1 0 0 1 .355.05 4.833 4.833 0 0 1 3.696 2.233l-2.596 2.604c3.288-.013 7.003-.02 8.53.002Z"}),(0,t.createElement)(c.Path,{fill:"#4285F4",d:"M11.957 2c-.143 0-.286.004-.428.01H3.436l2.237 2.244A10.007 10.007 0 0 0 2 12.014c0 3.257 1.55 6.15 3.95 7.979l3.706-3.678a4.864 4.864 0 0 1-1.667-1.49c-.5-.642-.908-1.552-.908-2.81 0-.153.018-.27.051-.356A4.851 4.851 0 0 1 9.36 7.952l2.596 2.603c-.013-3.298-.02-7.023.002-8.555Z"}),(0,t.createElement)(c.Path,{fill:"#ABABAB",d:"M2 12.014c0 .144.004.287.01.43v8.116l2.238-2.244A9.956 9.956 0 0 0 11.985 22a9.959 9.959 0 0 0 7.956-3.962l-3.668-3.717a4.869 4.869 0 0 1-1.485 1.672c-.64.501-1.548.911-2.803.911a.998.998 0 0 1-.354-.051 4.833 4.833 0 0 1-3.696-2.233l2.596-2.604c-3.289.013-7.004.02-8.531-.002Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#0074BF",d:"M17 19.5h-2.5V22H17v-2.5Z",opacity:".5"}),(0,t.createElement)(c.Path,{fill:"#0074BF",d:"M14.5 19.5H12V22h2.5v-2.5ZM12 19.5H9.5V22H12v-2.5Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#0074BF",d:"M9.5 19.5H7V22h2.5v-2.5Z",opacity:".5"}),(0,t.createElement)(c.Path,{fill:"#0082BF",d:"M19.5 17H17v2.5h2.5V17Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#0082BF",d:"M17 17h-2.5v2.5H17V17Z",opacity:".8"}),(0,t.createElement)(c.Path,{fill:"#0082BF",d:"M14.5 17H12v2.5h2.5V17ZM12 17H9.5v2.5H12V17Z"}),(0,t.createElement)(c.Path,{fill:"#0082BF",d:"M9.5 17H7v2.5h2.5V17Z",opacity:".8"}),(0,t.createElement)(c.Path,{fill:"#0082BF",d:"M7 17H4.5v2.5H7V17Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#008FBF",d:"M22 14.5h-2.5V17H22v-2.5Z",opacity:".5"}),(0,t.createElement)(c.Path,{fill:"#008FBF",d:"M19.5 14.5H17V17h2.5v-2.5Z",opacity:".8"}),(0,t.createElement)(c.Path,{fill:"#008FBF",d:"M17 14.5h-2.5V17H17v-2.5ZM14.5 14.5H12V17h2.5v-2.5ZM12 14.5H9.5V17H12v-2.5ZM9.5 14.5H7V17h2.5v-2.5Z"}),(0,t.createElement)(c.Path,{fill:"#008FBF",d:"M7 14.5H4.5V17H7v-2.5Z",opacity:".8"}),(0,t.createElement)(c.Path,{fill:"#008FBF",d:"M4.5 14.5H2V17h2.5v-2.5Z",opacity:".5"}),(0,t.createElement)(c.Path,{fill:"#009DBF",d:"M22 12h-2.5v2.5H22V12Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#009DBF",d:"M19.5 12H17v2.5h2.5V12ZM17 12h-2.5v2.5H17V12ZM14.5 12H12v2.5h2.5V12ZM12 12H9.5v2.5H12V12ZM9.5 12H7v2.5h2.5V12ZM7 12H4.5v2.5H7V12Z"}),(0,t.createElement)(c.Path,{fill:"#009DBF",d:"M4.5 12H2v2.5h2.5V12Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#00ABBF",d:"M22 9.5h-2.5V12H22V9.5Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#00ABBF",d:"M19.5 9.5H17V12h2.5V9.5ZM17 9.5h-2.5V12H17V9.5ZM14.5 9.5H12V12h2.5V9.5ZM12 9.5H9.5V12H12V9.5ZM9.5 9.5H7V12h2.5V9.5ZM7 9.5H4.5V12H7V9.5Z"}),(0,t.createElement)(c.Path,{fill:"#00ABBF",d:"M4.5 9.5H2V12h2.5V9.5Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#00B9BF",d:"M22 7h-2.5v2.5H22V7Z",opacity:".5"}),(0,t.createElement)(c.Path,{fill:"#00B9BF",d:"M19.5 7H17v2.5h2.5V7Z",opacity:".8"}),(0,t.createElement)(c.Path,{fill:"#00B9BF",d:"M17 7h-2.5v2.5H17V7ZM14.5 7H12v2.5h2.5V7ZM12 7H9.5v2.5H12V7ZM9.5 7H7v2.5h2.5V7Z"}),(0,t.createElement)(c.Path,{fill:"#00B9BF",d:"M7 7H4.5v2.5H7V7Z",opacity:".8"}),(0,t.createElement)(c.Path,{fill:"#00B9BF",d:"M4.5 7H2v2.5h2.5V7Z",opacity:".5"}),(0,t.createElement)(c.Path,{fill:"#00C6BF",d:"M19.5 4.5H17V7h2.5V4.5Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#00C6BF",d:"M17 4.5h-2.5V7H17V4.5Z",opacity:".8"}),(0,t.createElement)(c.Path,{fill:"#00C6BF",d:"M14.5 4.5H12V7h2.5V4.5ZM12 4.5H9.5V7H12V4.5Z"}),(0,t.createElement)(c.Path,{fill:"#00C6BF",d:"M9.5 4.5H7V7h2.5V4.5Z",opacity:".8"}),(0,t.createElement)(c.Path,{fill:"#00C6BF",d:"M7 4.5H4.5V7H7V4.5Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#00D4BF",d:"M17 2h-2.5v2.5H17V2Z",opacity:".5"}),(0,t.createElement)(c.Path,{fill:"#00D4BF",d:"M14.5 2H12v2.5h2.5V2ZM12 2H9.5v2.5H12V2Z",opacity:".7"}),(0,t.createElement)(c.Path,{fill:"#00D4BF",d:"M9.5 2H7v2.5h2.5V2Z",opacity:".5"}),(0,t.createElement)(c.Path,{fill:"#fff",d:"m8.582 11.211.697-1.559c.254-.4.22-.89-.058-1.167a.713.713 0 0 0-.435-.206.77.77 0 0 0-.33.033 1.05 1.05 0 0 0-.58.45s-.954 2.224-1.31 3.224c-.354 1-.212 2.834 1.156 4.206 1.451 1.45 3.553 1.783 4.893.777a.84.84 0 0 0 .157-.103l4.13-3.448c.2-.166.497-.508.23-.898-.26-.38-.752-.121-.953.007l-2.376 1.729a.107.107 0 0 1-.154-.018c-.06-.074-.071-.27.024-.349l3.643-3.092c.315-.284.359-.696.104-.978-.249-.277-.644-.268-.962.018l-3.28 2.564a.145.145 0 0 1-.21-.027c-.065-.072-.09-.197-.016-.27L16.667 8.5a.726.726 0 0 0 .036-1.026.693.693 0 0 0-.504-.216.74.74 0 0 0-.522.207l-3.796 3.566c-.09.09-.269 0-.29-.106a.114.114 0 0 1 .032-.106L14.53 7.51a.715.715 0 1 0-1.01-1.014l-4.407 4.872c-.158.158-.39.166-.501.074a.166.166 0 0 1-.029-.23Z"})),(0,t.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{fill:"#F38020",d:"M12.703 3.165a9.406 9.406 0 0 0-6.538 2.377l.595-3.26L5.216 2 4.17 7.724 9.896 8.77l.282-1.545-2.94-.536a7.822 7.822 0 1 1-2.41 3.9l-1.52-.399a9.42 9.42 0 1 0 9.395-7.024Z"}),(0,t.createElement)(c.Path,{fill:"#F38020",fillRule:"evenodd",d:"m18.28 10.253-1.412-1.411-5.538 5.538-2.202-2.201-1.414 1.413 3.62 3.62 1.413-1.415-.006-.005 5.539-5.539Z",clipRule:"evenodd"})),l);(0,e.registerBlockType)(i,{edit:({attributes:{fieldPlaceholder:e},setAttributes:l,isSelected:c})=>{const v=(0,h.useBlockProps)();return(0,t.createElement)(h.RichText,{...v,identifier:"fieldControl","aria-label":(0,a.__)("Placeholder text for text input.","omniform"),placeholder:e||!c?void 0:(0,a.__)("Enter a placeholder…","omniform"),value:e,onChange:e=>l({fieldPlaceholder:e}),withoutInteractiveFormatting:!0,allowedFormats:[]})},icon:{foreground:"#D92E83",src:v},example:{}})}},t={};function a(e){var h=t[e];if(void 0!==h)return h.exports;var c=t[e]={exports:{}};return l[e](c,c.exports,a),c.exports}a.m=l,e=[],a.O=(l,t,h,c)=>{if(!t){var v=1/0;for(m=0;m<e.length;m++){for(var[t,h,c]=e[m],i=!0,n=0;n<t.length;n++)(!1&c||v>=c)&&Object.keys(a.O).every((e=>a.O[e](t[n])))?t.splice(n--,1):(i=!1,c<v&&(v=c));if(i){e.splice(m--,1);var r=h();void 0!==r&&(l=r)}}return l}c=c||0;for(var m=e.length;m>0&&e[m-1][2]>c;m--)e[m]=e[m-1];e[m]=[t,h,c]},a.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),(()=>{var e={941:0,921:0};a.O.j=l=>0===e[l];var l=(l,t)=>{var h,c,[v,i,n]=t,r=0;if(v.some((l=>0!==e[l]))){for(h in i)a.o(i,h)&&(a.m[h]=i[h]);if(n)var m=n(a)}for(l&&l(t);r<v.length;r++)c=v[r],a.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return a.O(m)},t=globalThis.webpackChunkomniform=globalThis.webpackChunkomniform||[];t.forEach(l.bind(null,0)),t.push=l.bind(null,t.push.bind(t))})();var h=a.O(void 0,[921],(()=>a(618)));h=a.O(h)})();
     1(()=>{"use strict";var e,l={6)));h=a.O(h)})();
  • omniform/trunk/changelog.txt

    r3062342 r3068146  
     1
     2
     3
     4
     5
     6
     7
     8
     9
     10
     11
     12
    113
    2141.1.0 / 2024-04-01
  • omniform/trunk/includes/Application.php

    r3062342 r3068146  
    2727     * @var string
    2828     */
    29     const VERSION = '1.1.0';
     29    const VERSION = '1..0';
    3030
    3131    /**
  • omniform/trunk/includes/BlockLibrary/BlockLibraryServiceProvider.php

    r3062342 r3068146  
    106106            Blocks\Label::class,
    107107            Blocks\Input::class,
     108
    108109            Blocks\Textarea::class,
    109110            Blocks\Select::class,
     
    113114            Blocks\SelectOption::class,
    114115            Blocks\Captcha::class,
     116
    115117        );
    116118
  • omniform/trunk/includes/BlockLibrary/BlockPatterns/appointment.php

    r3062342 r3068146  
    1010    'content' => '
    1111        <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"5em","bottom":"5em","left":"5em","right":"5em"}}},"layout":{"type":"constrained"}} -->
    12         <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:paragraph -->
     12        <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:omniform/response-notification {"messageContent":"' . esc_html__( 'Success! Your submission has been completed.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-green-cyan,#00d084)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     13
     14        <!-- wp:omniform/response-notification {"messageType":"error","messageContent":"' . esc_html__( 'Unfortunately, your submission was not successful. Please ensure all fields are correctly filled out and try again.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-red,#cf2e2e)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     15
     16        <!-- wp:paragraph -->
    1317        <p>' . esc_html__( 'Please fill out the form below to make an appointment.', 'omniform' ) . '</p>
    1418        <!-- /wp:paragraph -->
  • omniform/trunk/includes/BlockLibrary/BlockPatterns/contact.php

    r3062342 r3068146  
    1010    'content' => '
    1111        <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"5em","bottom":"5em","left":"5em","right":"5em"}}},"layout":{"type":"constrained"}} -->
    12         <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:paragraph -->
     12        <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:omniform/response-notification {"messageContent":"' . esc_html__( 'Success! Your submission has been completed.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-green-cyan,#00d084)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     13
     14        <!-- wp:omniform/response-notification {"messageType":"error","messageContent":"' . esc_html__( 'Unfortunately, your submission was not successful. Please ensure all fields are correctly filled out and try again.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-red,#cf2e2e)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     15
     16        <!-- wp:paragraph -->
    1317        <p>' . esc_html__( 'If you have any questions or comments, or if you\'d like to work with me or collaborate on a project, please don\'t hesitate to get in touch. I look forward to hearing from you!', 'omniform' ) . '</p>
    1418        <!-- /wp:paragraph -->
  • omniform/trunk/includes/BlockLibrary/BlockPatterns/feedback.php

    r3062342 r3068146  
    1010    'content' => '
    1111        <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"5em","bottom":"5em","left":"5em","right":"5em"}}},"layout":{"type":"constrained"}} -->
    12         <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:paragraph -->
     12        <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:omniform/response-notification {"messageContent":"' . esc_html__( 'Success! Your submission has been completed.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-green-cyan,#00d084)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     13
     14        <!-- wp:omniform/response-notification {"messageType":"error","messageContent":"' . esc_html__( 'Unfortunately, your submission was not successful. Please ensure all fields are correctly filled out and try again.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-red,#cf2e2e)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     15
     16        <!-- wp:paragraph -->
    1317        <p>' . esc_html__( 'We value your feedback! Please take a moment to fill out our website feedback form to let us know how we can improve your experience. Your input is important to us and we appreciate your time. Thank you for visiting our website.', 'omniform' ) . '</p>
    1418        <!-- /wp:paragraph -->
  • omniform/trunk/includes/BlockLibrary/BlockPatterns/newsletter.php

    r3062342 r3068146  
    3333
    3434        <!-- wp:omniform/button {"buttonType":"submit","buttonLabel":"' . esc_html__( 'Join', 'omniform' ) . '","className":"is-style-fill"} /--></div>
    35         <!-- /wp:group --></div>
     35        <!-- /wp:group -->
     36
     37        <!-- wp:omniform/response-notification {"messageContent":"' . esc_html__( 'Success! Your submission has been completed.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-green-cyan,#00d084)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     38
     39        <!-- wp:omniform/response-notification {"messageType":"error","messageContent":"' . esc_html__( 'Unfortunately, your submission was not successful. Please ensure all fields are correctly filled out and try again.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-red,#cf2e2e)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /--></div>
    3640        <!-- /wp:group --></div>
    3741        <!-- /wp:group -->
  • omniform/trunk/includes/BlockLibrary/BlockPatterns/registration.php

    r3062342 r3068146  
    1010    'content' => '
    1111        <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"5em","bottom":"5em","left":"5em","right":"5em"}}},"layout":{"type":"constrained"}} -->
    12         <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:paragraph -->
     12        <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:omniform/response-notification {"messageContent":"' . esc_html__( 'Success! Your submission has been completed.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-green-cyan,#00d084)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     13
     14        <!-- wp:omniform/response-notification {"messageType":"error","messageContent":"' . esc_html__( 'Unfortunately, your submission was not successful. Please ensure all fields are correctly filled out and try again.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-red,#cf2e2e)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     15
     16        <!-- wp:paragraph -->
    1317        <p>' . esc_html__( 'Join our community and take advantage of our member perks! Sign up for a membership and unlock access to special features and discounts.', 'omniform' ) . '</p>
    1418        <!-- /wp:paragraph -->
  • omniform/trunk/includes/BlockLibrary/BlockPatterns/rsvp.php

    r3062342 r3068146  
    1010    'content' => '
    1111        <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"5em","bottom":"5em","left":"5em","right":"5em"}}},"layout":{"type":"constrained"}} -->
    12         <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:omniform/field {"fieldLabel":"' . esc_html__( 'Name', 'omniform' ) . '","fieldName":"' . esc_html__( 'name', 'omniform' ) . '"} -->
     12        <div class="wp-block-group alignfull" style="padding-top:5em;padding-right:5em;padding-bottom:5em;padding-left:5em"><!-- wp:omniform/response-notification {"messageContent":"' . esc_html__( 'Success! Your submission has been completed.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-green-cyan,#00d084)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     13
     14        <!-- wp:omniform/response-notification {"messageType":"error","messageContent":"' . esc_html__( 'Unfortunately, your submission was not successful. Please ensure all fields are correctly filled out and try again.', 'omniform' ) . '","style":{"border":{"left":{"color":"var(--wp--preset--color--vivid-red,#cf2e2e)","width":"6px"}},"spacing":{"padding":{"top":"0.5em","bottom":"0.5em","left":"1.5em","right":"1.5em"}}}} /-->
     15
     16        <!-- wp:omniform/field {"fieldLabel":"' . esc_html__( 'Name', 'omniform' ) . '","fieldName":"' . esc_html__( 'name', 'omniform' ) . '"} -->
    1317        <!-- wp:omniform/label /-->
    1418
  • omniform/trunk/includes/BlockLibrary/Blocks/Captcha.php

    r2963371 r3068146  
    1212use OmniForm\ReCaptchaV2Rule;
    1313use OmniForm\ReCaptchaV3Rule;
     14
    1415
    1516/**
     
    152153                $rule = new ReCaptchaV3Rule();
    153154                break;
     155
     156
     157
    154158        }
    155159
  • omniform/trunk/includes/BlockLibrary/Blocks/Form.php

    r3062342 r3068146  
    4949        }
    5050
    51         if ( ! $form->is_published() ) {
     51        if ( ! $form->is_published() ) {
    5252            // Display notice for logged in editors, render nothing for visitors.
    5353            return current_user_can( 'edit_post', $form->get_id() )
     
    6262        }
    6363
    64         $content     = do_blocks( $form->get_content() );
    65         $nonce_field = wp_nonce_field( 'omniform', 'wp_rest', true, false );
     64        $content = array(
     65            do_blocks( $form->get_content() ),
     66            wp_nonce_field( 'omniform', 'wp_rest', true, false ),
     67        );
    6668
    67         // Add a container for the response message.
    68         $response_container = '<div class="omniform-response-container wp-block-group is-layout-flow" style="display:none;border-left-width:6px;padding-top:0.5em;padding-right:1.5em;padding-bottom:0.5em;padding-left:1.5em"></div>';
     69        // Add a default success response notification block if one is not present.
     70        if ( false === preg_match( '/success-response-notification[^"]+?wp-block-omniform-response-notification/', $content[0] ) ) {
     71            array_unshift(
     72                $content,
     73                render_block(
     74                    array(
     75                        'blockName' => 'omniform/response-notification',
     76                        'attrs'     => array(
     77                            'messageType'    => 'success',
     78                            'messageContent' => __( 'Success! Your submission has been completed.', 'omniform' ),
     79                            'style'          => array(
     80                                'border'  => array(
     81                                    'left' => array(
     82                                        'color' => 'var(--wp--preset--color--vivid-green-cyan,#00d084)',
     83                                        'width' => '6px',
     84                                    ),
     85                                ),
     86                                'spacing' => array(
     87                                    'padding' => array(
     88                                        'top'    => '0.5em',
     89                                        'bottom' => '0.5em',
     90                                        'left'   => '1.5em',
     91                                        'right'  => '1.5em',
     92                                    ),
     93                                ),
     94                            ),
     95                        ),
     96                    )
     97                )
     98            );
     99        }
     100
     101        // Add a default error response notification block if one is not present.
     102        if ( false === preg_match( '/error-response-notification[^"]+?wp-block-omniform-response-notification/', $content[0] ) ) {
     103            array_unshift(
     104                $content,
     105                render_block(
     106                    array(
     107                        'blockName' => 'omniform/response-notification',
     108                        'attrs'     => array(
     109                            'messageType'    => 'error',
     110                            'messageContent' => __( 'Unfortunately, your submission was not successful. Please ensure all fields are correctly filled out and try again.', 'omniform' ),
     111                            'style'          => array(
     112                                'border'  => array(
     113                                    'left' => array(
     114                                        'color' => 'var(--wp--preset--color--vivid-red,#cf2e2e)',
     115                                        'width' => '6px',
     116                                    ),
     117                                ),
     118                                'spacing' => array(
     119                                    'padding' => array(
     120                                        'top'    => '0.5em',
     121                                        'bottom' => '0.5em',
     122                                        'left'   => '1.5em',
     123                                        'right'  => '1.5em',
     124                                    ),
     125                                ),
     126                            ),
     127                        ),
     128                    )
     129                )
     130            );
     131        }
    69132
    70133        /**
     
    79142            esc_url( rest_url( 'omniform/v1/forms/' . $form->get_id() . '/responses' ) ),
    80143            get_block_wrapper_attributes(),
    81             $response_container . $content . $nonce_field
     144           
    82145        );
    83146    }
  • omniform/trunk/includes/Plugin/PluginServiceProvider.php

    r2968968 r3068146  
    5858            'omniform_response_created',
    5959            function ( $response_id, $form ) {
     60
     61
     62
    6063                wp_mail(
    61                     get_option( 'admin_email' ),
    62                     /* translators: %s: Form title */
    63                     esc_attr( sprintf( __( '%s Response', 'omniform' ), $form->get_title() ) ),
     64                    empty( $notify_email )
     65                        ? esc_attr( get_option( 'admin_email' ) )
     66                        : esc_attr( $notify_email ),
     67                    empty( $notify_email_subject )
     68                        // translators: %1$s represents the blog name, %2$s represents the form title.
     69                        ? esc_attr( sprintf( __( 'New Response: %1$s - %2$s', 'omniform' ), get_option( 'blogname' ), $form->get_title() ) )
     70                        : esc_attr( $notify_email_subject ),
    6471                    wp_kses( $form->response_email_message( $response_id ), array() )
    6572                );
     
    348355                        'omniform/label',
    349356                        'omniform/input',
     357
    350358                        'omniform/textarea',
    351359                        'omniform/select',
     
    353361                        'omniform/select-option',
    354362                        'omniform/captcha',
     363
    355364                        'core/audio',
    356365                        'core/block',
     
    488497        );
    489498
     499
     500
     501
     502
     503
    490504        register_post_meta(
    491505            'omniform',
     
    496510                'type'         => 'string',
    497511                'default'      => '*',
     512
     513
     514
     515
     516
     517
     518
     519
     520
     521
     522
     523
     524
     525
     526
     527
     528
     529
     530
     531
     532
     533
     534
     535
     536
     537
     538
     539
     540
     541
    498542            )
    499543        );
     
    547591     */
    548592    public function register_settings() {
     593
     594
     595
     596
     597
    549598        $options = array(
    550599            'hcaptcha'    => 'hCaptcha',
  • omniform/trunk/omniform.php

    r3062342 r3068146  
    44 * Plugin URI: https://omniform.io
    55 * Description: Easily create and manage custom forms with the block editor, customizable fields, and form submission management for your website.
    6  * Version: 1.1.0
     6 * Version: 1..0
    77 * Requires at least: 6.3
    88 * Requires PHP: 7.4
  • omniform/trunk/readme.txt

    r3063030 r3068146  
    55Tested up to: 6.5
    66Requires PHP: 7.4
    7 Stable tag: 1.1.0
     7Stable tag: 1..0
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    8383== Changelog ==
    8484
     85
     86
     87
     88
     89
     90
     91
     92
     93
     94
    8595= 1.1.0 / 2024-04-01 =
    8696
  • omniform/trunk/vendor/autoload.php

    r2994256 r3068146  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit1b1598efd15a2697cef83e4176f939dd::getLoader();
     25return ComposerAutoloaderInit::getLoader();
  • omniform/trunk/vendor/composer/autoload_classmap.php

    r3062342 r3068146  
    1818    'OmniForm\\BlockLibrary\\Blocks\\Form' => $baseDir . '/includes/BlockLibrary/Blocks/Form.php',
    1919    'OmniForm\\BlockLibrary\\Blocks\\FormBlockInterface' => $baseDir . '/includes/BlockLibrary/Blocks/FormBlockInterface.php',
     20
    2021    'OmniForm\\BlockLibrary\\Blocks\\Input' => $baseDir . '/includes/BlockLibrary/Blocks/Input.php',
    2122    'OmniForm\\BlockLibrary\\Blocks\\Label' => $baseDir . '/includes/BlockLibrary/Blocks/Label.php',
     23
    2224    'OmniForm\\BlockLibrary\\Blocks\\Select' => $baseDir . '/includes/BlockLibrary/Blocks/Select.php',
    2325    'OmniForm\\BlockLibrary\\Blocks\\SelectGroup' => $baseDir . '/includes/BlockLibrary/Blocks/SelectGroup.php',
  • omniform/trunk/vendor/composer/autoload_real.php

    r2994256 r3068146  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit1b1598efd15a2697cef83e4176f939dd
     5class ComposerAutoloaderInit
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit1b1598efd15a2697cef83e4176f939dd', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit1b1598efd15a2697cef83e4176f939dd', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Composer\Autoload\ComposerStaticInit1b1598efd15a2697cef83e4176f939dd::getInitializer($loader));
     30        call_user_func(\Composer\Autoload\ComposerStaticInit::getInitializer($loader));
    3131
    3232        $loader->register(true);
    3333
    34         $filesToLoad = \Composer\Autoload\ComposerStaticInit1b1598efd15a2697cef83e4176f939dd::$files;
     34        $filesToLoad = \Composer\Autoload\ComposerStaticInit::$files;
    3535        $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
    3636            if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • omniform/trunk/vendor/composer/autoload_static.php

    r3062342 r3068146  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit1b1598efd15a2697cef83e4176f939dd
     7class ComposerStaticInit
    88{
    99    public static $files = array (
     
    3737        'OmniForm\\BlockLibrary\\Blocks\\Form' => __DIR__ . '/../..' . '/includes/BlockLibrary/Blocks/Form.php',
    3838        'OmniForm\\BlockLibrary\\Blocks\\FormBlockInterface' => __DIR__ . '/../..' . '/includes/BlockLibrary/Blocks/FormBlockInterface.php',
     39
    3940        'OmniForm\\BlockLibrary\\Blocks\\Input' => __DIR__ . '/../..' . '/includes/BlockLibrary/Blocks/Input.php',
    4041        'OmniForm\\BlockLibrary\\Blocks\\Label' => __DIR__ . '/../..' . '/includes/BlockLibrary/Blocks/Label.php',
     42
    4143        'OmniForm\\BlockLibrary\\Blocks\\Select' => __DIR__ . '/../..' . '/includes/BlockLibrary/Blocks/Select.php',
    4244        'OmniForm\\BlockLibrary\\Blocks\\SelectGroup' => __DIR__ . '/../..' . '/includes/BlockLibrary/Blocks/SelectGroup.php',
     
    454456    {
    455457        return \Closure::bind(function () use ($loader) {
    456             $loader->prefixLengthsPsr4 = ComposerStaticInit1b1598efd15a2697cef83e4176f939dd::$prefixLengthsPsr4;
    457             $loader->prefixDirsPsr4 = ComposerStaticInit1b1598efd15a2697cef83e4176f939dd::$prefixDirsPsr4;
    458             $loader->classMap = ComposerStaticInit1b1598efd15a2697cef83e4176f939dd::$classMap;
     458            $loader->prefixLengthsPsr4 = ComposerStaticInit::$prefixLengthsPsr4;
     459            $loader->prefixDirsPsr4 = ComposerStaticInit::$prefixDirsPsr4;
     460            $loader->classMap = ComposerStaticInit::$classMap;
    459461
    460462        }, null, ClassLoader::class);
Note: See TracChangeset for help on using the changeset viewer.