Changeset 2744078
- Timestamp:
- 06/17/2022 11:28:25 AM (4 years ago)
- Location:
- nova-blocks/trunk
- Files:
-
- 118 edited
-
build/block-editor/index.asset.php (modified) (1 diff)
-
build/block-editor/index.js (modified) (1 diff)
-
build/block-library/blocks/announcement-bar/frontend.asset.php (modified) (1 diff)
-
build/block-library/blocks/announcement-bar/frontend.js (modified) (1 diff)
-
build/block-library/blocks/announcement-bar/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/announcement-bar/index.js (modified) (1 diff)
-
build/block-library/blocks/facetwp-facet/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/facetwp-facet/index.js (modified) (1 diff)
-
build/block-library/blocks/facetwp-title/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/facetwp-title/index.js (modified) (1 diff)
-
build/block-library/blocks/facetwp-toggle/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/facetwp-toggle/index.js (modified) (1 diff)
-
build/block-library/blocks/google-map/frontend.asset.php (modified) (1 diff)
-
build/block-library/blocks/google-map/frontend.js (modified) (1 diff)
-
build/block-library/blocks/google-map/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/google-map/index.js (modified) (1 diff)
-
build/block-library/blocks/header-row/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/header-row/index.js (modified) (1 diff)
-
build/block-library/blocks/header-row/style-rtl.css (modified) (1 diff)
-
build/block-library/blocks/header-row/style.css (modified) (1 diff)
-
build/block-library/blocks/header/frontend.asset.php (modified) (1 diff)
-
build/block-library/blocks/header/frontend.js (modified) (1 diff)
-
build/block-library/blocks/header/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/header/index.js (modified) (1 diff)
-
build/block-library/blocks/header/style-rtl.css (modified) (1 diff)
-
build/block-library/blocks/header/style.css (modified) (1 diff)
-
build/block-library/blocks/headline/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/headline/index.js (modified) (1 diff)
-
build/block-library/blocks/logo/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/logo/index.js (modified) (1 diff)
-
build/block-library/blocks/menu-food/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/menu-food/index.js (modified) (1 diff)
-
build/block-library/blocks/navigation/frontend.asset.php (modified) (1 diff)
-
build/block-library/blocks/navigation/frontend.js (modified) (1 diff)
-
build/block-library/blocks/navigation/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/navigation/index.js (modified) (1 diff)
-
build/block-library/blocks/navigation/style-rtl.css (modified) (1 diff)
-
build/block-library/blocks/navigation/style.css (modified) (1 diff)
-
build/block-library/blocks/openhours/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/openhours/index.js (modified) (1 diff)
-
build/block-library/blocks/opentable/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/opentable/index.js (modified) (1 diff)
-
build/block-library/blocks/post-comments/frontend.asset.php (modified) (1 diff)
-
build/block-library/blocks/post-comments/frontend.js (modified) (1 diff)
-
build/block-library/blocks/post-comments/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/post-comments/index.js (modified) (1 diff)
-
build/block-library/blocks/post-meta/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/post-meta/index.js (modified) (1 diff)
-
build/block-library/blocks/post-navigation/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/post-navigation/index.js (modified) (1 diff)
-
build/block-library/blocks/sharing-overlay/frontend.asset.php (modified) (1 diff)
-
build/block-library/blocks/sharing-overlay/frontend.js (modified) (1 diff)
-
build/block-library/blocks/sharing-overlay/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/sharing-overlay/index.js (modified) (1 diff)
-
build/block-library/blocks/sidecar-area/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/sidecar-area/index.js (modified) (1 diff)
-
build/block-library/blocks/sidecar/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/sidecar/index.js (modified) (1 diff)
-
build/block-library/blocks/supernova-item/attributes.json (modified) (1 diff)
-
build/block-library/blocks/supernova-item/block.json (modified) (1 diff)
-
build/block-library/blocks/supernova-item/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/supernova-item/index.js (modified) (1 diff)
-
build/block-library/blocks/supernova/attributes.json (modified) (1 diff)
-
build/block-library/blocks/supernova/block.json (modified) (1 diff)
-
build/block-library/blocks/supernova/frontend.asset.php (modified) (1 diff)
-
build/block-library/blocks/supernova/frontend.js (modified) (1 diff)
-
build/block-library/blocks/supernova/index.asset.php (modified) (1 diff)
-
build/block-library/blocks/supernova/index.js (modified) (1 diff)
-
build/block-library/blocks/supernova/init.php (modified) (2 diffs)
-
build/block-library/blocks/supernova/style-rtl.css (modified) (1 diff)
-
build/block-library/blocks/supernova/style.css (modified) (1 diff)
-
build/collection/frontend.asset.php (modified) (1 diff)
-
build/collection/frontend.js (modified) (1 diff)
-
build/collection/index.asset.php (modified) (1 diff)
-
build/collection/index.js (modified) (1 diff)
-
build/collection/style-rtl.css (modified) (1 diff)
-
build/collection/style.css (modified) (1 diff)
-
build/color-signal/frontend.asset.php (modified) (1 diff)
-
build/color-signal/frontend.js (modified) (1 diff)
-
build/color-signal/index.asset.php (modified) (1 diff)
-
build/color-signal/index.js (modified) (1 diff)
-
build/core/frontend.asset.php (modified) (1 diff)
-
build/core/frontend.js (modified) (1 diff)
-
build/core/index.asset.php (modified) (1 diff)
-
build/core/index.js (modified) (1 diff)
-
build/core/style-rtl.css (modified) (1 diff)
-
build/core/style.css (modified) (1 diff)
-
build/easings/index.asset.php (modified) (1 diff)
-
build/easings/index.js (modified) (1 diff)
-
build/icons/index.asset.php (modified) (1 diff)
-
build/icons/index.js (modified) (1 diff)
-
build/media-composition/frontend.asset.php (modified) (1 diff)
-
build/media-composition/frontend.js (modified) (1 diff)
-
build/media-composition/index.asset.php (modified) (1 diff)
-
build/media-composition/index.js (modified) (1 diff)
-
build/scrolling-effect/editor-styles-rtl.css (modified) (1 diff)
-
build/scrolling-effect/editor-styles.css (modified) (1 diff)
-
build/scrolling-effect/frontend.asset.php (modified) (1 diff)
-
build/scrolling-effect/frontend.js (modified) (1 diff)
-
build/scrolling-effect/index.asset.php (modified) (1 diff)
-
build/scrolling-effect/index.js (modified) (1 diff)
-
build/shape-modeling/frontend.asset.php (modified) (1 diff)
-
build/shape-modeling/frontend.js (modified) (1 diff)
-
build/shape-modeling/index.asset.php (modified) (1 diff)
-
build/shape-modeling/index.js (modified) (1 diff)
-
build/tools/index.asset.php (modified) (1 diff)
-
build/tools/index.js (modified) (1 diff)
-
build/utils/index.asset.php (modified) (1 diff)
-
build/utils/index.js (modified) (1 diff)
-
languages/nova-blocks.pot (modified) (5 diffs)
-
lib/block-rendering.php (modified) (5 diffs)
-
nova-blocks.php (modified) (2 diffs)
-
packages/block-library/src/blocks/supernova-item/attributes.json (modified) (1 diff)
-
packages/block-library/src/blocks/supernova-item/block.json (modified) (1 diff)
-
packages/block-library/src/blocks/supernova/attributes.json (modified) (1 diff)
-
packages/block-library/src/blocks/supernova/block.json (modified) (1 diff)
-
packages/block-library/src/blocks/supernova/init.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nova-blocks/trunk/build/block-editor/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('lodash', 'novablocks-icons', 'novablocks-utils', 'react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'wp-viewport'), 'version' => ' a3e7b6958a0f42b62ca11c5490fdf6f8');1 <?php return array('dependencies' => array('lodash', 'novablocks-icons', 'novablocks-utils', 'react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'wp-viewport'), 'version' => '52585fbdf88aac6062f691dfdeb1f621'); -
nova-blocks/trunk/build/block-editor/index.js
r2738702 r2744078 1 this.novablocks=this.novablocks||{},this.novablocks.blockEditor=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6 8)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.i18n},function(e,t,n){"use strict";n.d(t,"w",(function(){return o})),n.d(t,"a",(function(){return ve})),n.d(t,"b",(function(){return D})),n.d(t,"c",(function(){return ye})),n.d(t,"d",(function(){return Oe})),n.d(t,"e",(function(){return W})),n.d(t,"f",(function(){return de})),n.d(t,"g",(function(){return Re})),n.d(t,"h",(function(){return w})),n.d(t,"i",(function(){return ze})),n.d(t,"j",(function(){return De})),n.d(t,"k",(function(){return P})),n.d(t,"l",(function(){return S})),n.d(t,"m",(function(){return x})),n.d(t,"n",(function(){return A})),n.d(t,"o",(function(){return q})),n.d(t,"p",(function(){return he})),n.d(t,"q",(function(){return ge})),n.d(t,"r",(function(){return me})),n.d(t,"s",(function(){return k})),n.d(t,"t",(function(){return Le})),n.d(t,"u",(function(){return E})),n.d(t,"v",(function(){return _})),n.d(t,"x",(function(){return _e})),n.d(t,"y",(function(){return C})),n.d(t,"z",(function(){return He})),n.d(t,"A",(function(){return We})),n.d(t,"B",(function(){return Ge})),n.d(t,"C",(function(){return Ve})),n.d(t,"D",(function(){return $e}));let r=v();const o=e=>m(e,r);let a=v();o.write=e=>m(e,a);let i=v();o.onStart=e=>m(e,i);let c=v();o.onFrame=e=>m(e,c);let l=v();o.onFinish=e=>m(e,l);let s=[];o.setTimeout=(e,t)=>{let n=o.now()+t,r=()=>{let e=s.findIndex(e=>e.cancel==r);~e&&s.splice(e,1),p-=~e?1:0},a={time:n,handler:e,cancel:r};return s.splice(u(n),0,a),p+=1,g(),a};let u=e=>~(~s.findIndex(t=>t.time>e)||~s.length);o.cancel=e=>{i.delete(e),c.delete(e),r.delete(e),a.delete(e),l.delete(e)},o.sync=e=>{f=!0,o.batchedUpdates(e),f=!1},o.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,o.onStart(n)}return r.handler=e,r.cancel=()=>{i.delete(n),t=null},r};let d="undefined"!=typeof window?window.requestAnimationFrame:()=>{};o.use=e=>d=e,o.now="undefined"!=typeof performance?()=>performance.now():Date.now,o.batchedUpdates=e=>e(),o.catch=console.error,o.frameLoop="always",o.advance=()=>{"demand"!==o.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):O()};let b=-1,p=0,f=!1;function m(e,t){f?(t.delete(e),e(0)):(t.add(e),g())}function g(){b<0&&(b=0,"demand"!==o.frameLoop&&d(h))}function h(){~b&&(d(h),o.batchedUpdates(O))}function O(){let e=b;b=o.now();let t=u(b);t&&(j(s.splice(0,t),e=>e.handler()),p-=t),i.flush(),r.flush(e?Math.min(64,b-e):16.667),c.flush(),a.flush(),l.flush(),p||(b=-1)}function v(){let e=new Set,t=e;return{add(n){p+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(p-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,p-=t.size,j(t,t=>t(n)&&e.add(t)),p+=e.size,t=e)}}}function j(e,t){e.forEach(e=>{try{t(e)}catch(e){o.catch(e)}})}var y=n(15);function _(){}const w=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),k={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function E(e,t){if(k.arr(e)){if(!k.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}const P=(e,t)=>e.forEach(t);function S(e,t,n){if(k.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],""+r);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}const C=e=>k.und(e)?[]:k.arr(e)?e:[e];function x(e,t){if(e.size){const n=Array.from(e);e.clear(),P(n,t)}}const A=(e,...t)=>x(e,e=>e(...t)),I=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let T,R,B=null,M=!1,F=_;var D=Object.freeze({__proto__:null,get createStringInterpolator(){return T},get to(){return R},get colors(){return B},get skipAnimation(){return M},get willAdvance(){return F},assign:e=>{e.to&&(R=e.to),e.now&&(o.now=e.now),void 0!==e.colors&&(B=e.colors),null!=e.skipAnimation&&(M=e.skipAnimation),e.createStringInterpolator&&(T=e.createStringInterpolator),e.requestAnimationFrame&&o.use(e.requestAnimationFrame),e.batchedUpdates&&(o.batchedUpdates=e.batchedUpdates),e.willAdvance&&(F=e.willAdvance),e.frameLoop&&(o.frameLoop=e.frameLoop)}});const N=new Set;let z=[],L=[],V=0;const q={get idle(){return!N.size&&!z.length},start(e){V>e.priority?(N.add(e),o.onStart(H)):(U(e),o($))},advance:$,sort(e){if(V)o.onFrame(()=>q.sort(e));else{const t=z.indexOf(e);~t&&(z.splice(t,1),G(e))}},clear(){z=[],N.clear()}};function H(){N.forEach(U),N.clear(),o($)}function U(e){z.includes(e)||G(e)}function G(e){z.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(z,t=>t.priority>e.priority),0,e)}function $(e){const t=L;for(let n=0;n<z.length;n++){const r=z[n];V=r.priority,r.idle||(F(r),r.advance(e),r.idle||t.push(r))}return V=0,L=z,L.length=0,z=t,z.length>0}const W={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Q="[-+]?\\d*\\.?\\d+";function Z(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const K=new RegExp("rgb"+Z(Q,Q,Q)),J=new RegExp("rgba"+Z(Q,Q,Q,Q)),X=new RegExp("hsl"+Z(Q,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),Y=new RegExp("hsla"+Z(Q,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Q)),ee=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,te=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ne=/^#([0-9a-fA-F]{6})$/,re=/^#([0-9a-fA-F]{8})$/;function oe(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ae(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,a=oe(o,r,e+1/3),i=oe(o,r,e),c=oe(o,r,e-1/3);return Math.round(255*a)<<24|Math.round(255*i)<<16|Math.round(255*c)<<8}function ie(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function ce(e){return(parseFloat(e)%360+360)%360/360}function le(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function se(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function ue(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ne.exec(e))?parseInt(t[1]+"ff",16)>>>0:B&&void 0!==B[e]?B[e]:(t=K.exec(e))?(ie(t[1])<<24|ie(t[2])<<16|ie(t[3])<<8|255)>>>0:(t=J.exec(e))?(ie(t[1])<<24|ie(t[2])<<16|ie(t[3])<<8|le(t[4]))>>>0:(t=ee.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=re.exec(e))?parseInt(t[1],16)>>>0:(t=te.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=X.exec(e))?(255|ae(ce(t[1]),se(t[2]),se(t[3])))>>>0:(t=Y.exec(e))?(ae(ce(t[1]),se(t[2]),se(t[3]))|le(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}const de=(e,t,n)=>{if(k.fun(e))return e;if(k.arr(e))return de({range:e,output:t,extrapolate:n});if(k.str(e.output[0]))return T(e);const r=e,o=r.output,a=r.range||[0,1],i=r.extrapolateLeft||r.extrapolate||"extend",c=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,a);return function(e,t,n,r,o,a,i,c,l){let s=l?l(e):e;if(s<t){if("identity"===i)return s;"clamp"===i&&(s=t)}if(s>n){if("identity"===c)return s;"clamp"===c&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=a(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,a[t],a[t+1],o[t],o[t+1],l,i,c,r.map)}};function be(){return(be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const pe=Symbol.for("FluidValue.get"),fe=Symbol.for("FluidValue.observers"),me=e=>Boolean(e&&e[pe]),ge=e=>e&&e[pe]?e[pe]():e,he=e=>e[fe]||null;function Oe(e,t){let n=e[fe];n&&n.forEach(e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)})}class ve{constructor(e){if(this[pe]=void 0,this[fe]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");je(this,e)}}const je=(e,t)=>we(e,pe,t);function ye(e,t){if(e[pe]){let n=e[fe];n||we(e,fe,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function _e(e,t){let n=e[fe];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[fe]=null,e.observerRemoved&&e.observerRemoved(r,t)}}const we=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),ke=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Ee=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Pe=new RegExp(`(${ke.source})(%|[a-z]+)`,"i"),Se=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Ce=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,xe=e=>{const[t,n]=Ae(e);if(!t||I())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&Ce.test(n)?xe(n):n||e},Ae=e=>{const t=Ce.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]};let Ie;const Te=(e,t,n,r,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`,Re=e=>{Ie||(Ie=B?new RegExp(`(${Object.keys(B).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(e=>ge(e).replace(Ce,xe).replace(Ee,ue).replace(Ie,ue)),n=t.map(e=>e.match(ke).map(Number)),r=n[0].map((e,t)=>n.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})).map(t=>de(be({},e,{output:t})));return e=>{var n;const o=!Pe.test(t[0])&&(null==(n=t.find(e=>Pe.test(e)))?void 0:n.replace(ke,""));let a=0;return t[0].replace(ke,()=>`${r[a++](e)}${o||""}`).replace(Se,Te)}},Be="react-spring: ",Me=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(Be+"once requires a function parameter");return(...e)=>{n||(t(...e),n=!0)}},Fe=Me(console.warn);function De(){Fe(Be+'The "interpolate" function is deprecated in v9 (use "to" instead)')}const Ne=Me(console.warn);function ze(){Ne(Be+'Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions')}function Le(e){return k.str(e)&&("#"==e[0]||/\d/.test(e)||!I()&&Ce.test(e)||e in(B||{}))}const Ve=e=>Object(y.useEffect)(e,qe),qe=[];function He(){const e=Object(y.useState)()[1],t=Object(y.useState)(Ue)[0];return Ve(t.unmount),()=>{t.current&&e({})}}function Ue(){const e={current:!0,unmount:()=>()=>{e.current=!1}};return e}function Ge(e,t){const[n]=Object(y.useState)(()=>({inputs:t,result:e()})),r=Object(y.useRef)(),o=r.current;let a=o;if(a){Boolean(t&&a.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,a.inputs))||(a={inputs:t,result:e()})}else a=n;return Object(y.useEffect)(()=>{r.current=a,o==n&&(n.inputs=n.result=void 0)},[a]),a.result}function $e(e){const t=Object(y.useRef)();return Object(y.useEffect)(()=>{t.current=e}),t.current}const We="undefined"!=typeof window&&window.document&&window.document.createElement?y.useLayoutEffect:y.useEffect},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.novablocks.utils},,function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.wp.data},function(e,t,n){var r;1 this.novablocks=this.novablocks||{},this.novablocks.blockEditor=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=69)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.i18n},function(e,t,n){"use strict";n.d(t,"w",(function(){return o})),n.d(t,"a",(function(){return ve})),n.d(t,"b",(function(){return D})),n.d(t,"c",(function(){return ye})),n.d(t,"d",(function(){return Oe})),n.d(t,"e",(function(){return W})),n.d(t,"f",(function(){return de})),n.d(t,"g",(function(){return Re})),n.d(t,"h",(function(){return w})),n.d(t,"i",(function(){return ze})),n.d(t,"j",(function(){return De})),n.d(t,"k",(function(){return P})),n.d(t,"l",(function(){return S})),n.d(t,"m",(function(){return x})),n.d(t,"n",(function(){return A})),n.d(t,"o",(function(){return q})),n.d(t,"p",(function(){return he})),n.d(t,"q",(function(){return ge})),n.d(t,"r",(function(){return me})),n.d(t,"s",(function(){return k})),n.d(t,"t",(function(){return Le})),n.d(t,"u",(function(){return E})),n.d(t,"v",(function(){return _})),n.d(t,"x",(function(){return _e})),n.d(t,"y",(function(){return C})),n.d(t,"z",(function(){return He})),n.d(t,"A",(function(){return We})),n.d(t,"B",(function(){return Ge})),n.d(t,"C",(function(){return Ve})),n.d(t,"D",(function(){return $e}));let r=v();const o=e=>m(e,r);let a=v();o.write=e=>m(e,a);let i=v();o.onStart=e=>m(e,i);let c=v();o.onFrame=e=>m(e,c);let l=v();o.onFinish=e=>m(e,l);let s=[];o.setTimeout=(e,t)=>{let n=o.now()+t,r=()=>{let e=s.findIndex(e=>e.cancel==r);~e&&s.splice(e,1),p-=~e?1:0},a={time:n,handler:e,cancel:r};return s.splice(u(n),0,a),p+=1,g(),a};let u=e=>~(~s.findIndex(t=>t.time>e)||~s.length);o.cancel=e=>{i.delete(e),c.delete(e),r.delete(e),a.delete(e),l.delete(e)},o.sync=e=>{f=!0,o.batchedUpdates(e),f=!1},o.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,o.onStart(n)}return r.handler=e,r.cancel=()=>{i.delete(n),t=null},r};let d="undefined"!=typeof window?window.requestAnimationFrame:()=>{};o.use=e=>d=e,o.now="undefined"!=typeof performance?()=>performance.now():Date.now,o.batchedUpdates=e=>e(),o.catch=console.error,o.frameLoop="always",o.advance=()=>{"demand"!==o.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):O()};let b=-1,p=0,f=!1;function m(e,t){f?(t.delete(e),e(0)):(t.add(e),g())}function g(){b<0&&(b=0,"demand"!==o.frameLoop&&d(h))}function h(){~b&&(d(h),o.batchedUpdates(O))}function O(){let e=b;b=o.now();let t=u(b);t&&(j(s.splice(0,t),e=>e.handler()),p-=t),i.flush(),r.flush(e?Math.min(64,b-e):16.667),c.flush(),a.flush(),l.flush(),p||(b=-1)}function v(){let e=new Set,t=e;return{add(n){p+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(p-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,p-=t.size,j(t,t=>t(n)&&e.add(t)),p+=e.size,t=e)}}}function j(e,t){e.forEach(e=>{try{t(e)}catch(e){o.catch(e)}})}var y=n(15);function _(){}const w=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),k={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function E(e,t){if(k.arr(e)){if(!k.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}const P=(e,t)=>e.forEach(t);function S(e,t,n){if(k.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],""+r);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}const C=e=>k.und(e)?[]:k.arr(e)?e:[e];function x(e,t){if(e.size){const n=Array.from(e);e.clear(),P(n,t)}}const A=(e,...t)=>x(e,e=>e(...t)),I=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let T,R,B=null,M=!1,F=_;var D=Object.freeze({__proto__:null,get createStringInterpolator(){return T},get to(){return R},get colors(){return B},get skipAnimation(){return M},get willAdvance(){return F},assign:e=>{e.to&&(R=e.to),e.now&&(o.now=e.now),void 0!==e.colors&&(B=e.colors),null!=e.skipAnimation&&(M=e.skipAnimation),e.createStringInterpolator&&(T=e.createStringInterpolator),e.requestAnimationFrame&&o.use(e.requestAnimationFrame),e.batchedUpdates&&(o.batchedUpdates=e.batchedUpdates),e.willAdvance&&(F=e.willAdvance),e.frameLoop&&(o.frameLoop=e.frameLoop)}});const N=new Set;let z=[],L=[],V=0;const q={get idle(){return!N.size&&!z.length},start(e){V>e.priority?(N.add(e),o.onStart(H)):(U(e),o($))},advance:$,sort(e){if(V)o.onFrame(()=>q.sort(e));else{const t=z.indexOf(e);~t&&(z.splice(t,1),G(e))}},clear(){z=[],N.clear()}};function H(){N.forEach(U),N.clear(),o($)}function U(e){z.includes(e)||G(e)}function G(e){z.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(z,t=>t.priority>e.priority),0,e)}function $(e){const t=L;for(let n=0;n<z.length;n++){const r=z[n];V=r.priority,r.idle||(F(r),r.advance(e),r.idle||t.push(r))}return V=0,L=z,L.length=0,z=t,z.length>0}const W={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Q="[-+]?\\d*\\.?\\d+";function Z(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const K=new RegExp("rgb"+Z(Q,Q,Q)),J=new RegExp("rgba"+Z(Q,Q,Q,Q)),X=new RegExp("hsl"+Z(Q,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),Y=new RegExp("hsla"+Z(Q,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Q)),ee=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,te=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ne=/^#([0-9a-fA-F]{6})$/,re=/^#([0-9a-fA-F]{8})$/;function oe(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ae(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,a=oe(o,r,e+1/3),i=oe(o,r,e),c=oe(o,r,e-1/3);return Math.round(255*a)<<24|Math.round(255*i)<<16|Math.round(255*c)<<8}function ie(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function ce(e){return(parseFloat(e)%360+360)%360/360}function le(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function se(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function ue(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ne.exec(e))?parseInt(t[1]+"ff",16)>>>0:B&&void 0!==B[e]?B[e]:(t=K.exec(e))?(ie(t[1])<<24|ie(t[2])<<16|ie(t[3])<<8|255)>>>0:(t=J.exec(e))?(ie(t[1])<<24|ie(t[2])<<16|ie(t[3])<<8|le(t[4]))>>>0:(t=ee.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=re.exec(e))?parseInt(t[1],16)>>>0:(t=te.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=X.exec(e))?(255|ae(ce(t[1]),se(t[2]),se(t[3])))>>>0:(t=Y.exec(e))?(ae(ce(t[1]),se(t[2]),se(t[3]))|le(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}const de=(e,t,n)=>{if(k.fun(e))return e;if(k.arr(e))return de({range:e,output:t,extrapolate:n});if(k.str(e.output[0]))return T(e);const r=e,o=r.output,a=r.range||[0,1],i=r.extrapolateLeft||r.extrapolate||"extend",c=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,a);return function(e,t,n,r,o,a,i,c,l){let s=l?l(e):e;if(s<t){if("identity"===i)return s;"clamp"===i&&(s=t)}if(s>n){if("identity"===c)return s;"clamp"===c&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=a(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,a[t],a[t+1],o[t],o[t+1],l,i,c,r.map)}};function be(){return(be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const pe=Symbol.for("FluidValue.get"),fe=Symbol.for("FluidValue.observers"),me=e=>Boolean(e&&e[pe]),ge=e=>e&&e[pe]?e[pe]():e,he=e=>e[fe]||null;function Oe(e,t){let n=e[fe];n&&n.forEach(e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)})}class ve{constructor(e){if(this[pe]=void 0,this[fe]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");je(this,e)}}const je=(e,t)=>we(e,pe,t);function ye(e,t){if(e[pe]){let n=e[fe];n||we(e,fe,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function _e(e,t){let n=e[fe];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[fe]=null,e.observerRemoved&&e.observerRemoved(r,t)}}const we=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),ke=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Ee=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Pe=new RegExp(`(${ke.source})(%|[a-z]+)`,"i"),Se=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Ce=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,xe=e=>{const[t,n]=Ae(e);if(!t||I())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&Ce.test(n)?xe(n):n||e},Ae=e=>{const t=Ce.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]};let Ie;const Te=(e,t,n,r,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`,Re=e=>{Ie||(Ie=B?new RegExp(`(${Object.keys(B).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(e=>ge(e).replace(Ce,xe).replace(Ee,ue).replace(Ie,ue)),n=t.map(e=>e.match(ke).map(Number)),r=n[0].map((e,t)=>n.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})).map(t=>de(be({},e,{output:t})));return e=>{var n;const o=!Pe.test(t[0])&&(null==(n=t.find(e=>Pe.test(e)))?void 0:n.replace(ke,""));let a=0;return t[0].replace(ke,()=>`${r[a++](e)}${o||""}`).replace(Se,Te)}},Be="react-spring: ",Me=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(Be+"once requires a function parameter");return(...e)=>{n||(t(...e),n=!0)}},Fe=Me(console.warn);function De(){Fe(Be+'The "interpolate" function is deprecated in v9 (use "to" instead)')}const Ne=Me(console.warn);function ze(){Ne(Be+'Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions')}function Le(e){return k.str(e)&&("#"==e[0]||/\d/.test(e)||!I()&&Ce.test(e)||e in(B||{}))}const Ve=e=>Object(y.useEffect)(e,qe),qe=[];function He(){const e=Object(y.useState)()[1],t=Object(y.useState)(Ue)[0];return Ve(t.unmount),()=>{t.current&&e({})}}function Ue(){const e={current:!0,unmount:()=>()=>{e.current=!1}};return e}function Ge(e,t){const[n]=Object(y.useState)(()=>({inputs:t,result:e()})),r=Object(y.useRef)(),o=r.current;let a=o;if(a){Boolean(t&&a.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,a.inputs))||(a={inputs:t,result:e()})}else a=n;return Object(y.useEffect)(()=>{r.current=a,o==n&&(n.inputs=n.result=void 0)},[a]),a.result}function $e(e){const t=Object(y.useRef)();return Object(y.useEffect)(()=>{t.current=e}),t.current}const We="undefined"!=typeof window&&window.document&&window.document.createElement?y.useLayoutEffect:y.useEffect},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.novablocks.utils},,function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.wp.data},function(e,t,n){var r; 2 2 /*! 3 3 Copyright (c) 2017 Jed Watson. 4 4 Licensed under the MIT License (MIT), see 5 5 http://jedwatson.github.io/classnames 6 */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var i=o.apply(null,r);i&&e.push(i)}else if("object"===a)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(20);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,a=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){c=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw o}}return a}}(e,t)||Object(r.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},,,function(e,t){e.exports=window.React},function(e,t){e.exports=window.wp.blockEditor},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(17);var o=n(20);function a(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return y})),n.d(t,"e",(function(){return i})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return l})),n.d(t,"h",(function(){return c}));var r=n(2),o=n(15);const a=Symbol.for("Animated:node"),i=e=>e&&e[a],c=(e,t)=>Object(r.h)(e,a,t),l=e=>e&&e[a]&&e[a].getPayload();class s{constructor(){this.payload=void 0,c(this,this)}getPayload(){return this.payload||[]}}class u extends s{constructor(e){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=e,r.s.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new u(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return r.s.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,r.s.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}}class d extends u{constructor(e){super(0),this._string=null,this._toString=void 0,this._toString=Object(r.f)({output:[e,e]})}static create(e){return new d(e)}getValue(){let e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(r.s.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=Object(r.f)({output:[this.getValue(),e]})),this._value=0,super.reset()}}const b={dependencies:null};class p extends s{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return Object(r.l)(this.source,(n,o)=>{var i;(i=n)&&i[a]===i?t[o]=n.getValue(e):Object(r.r)(n)?t[o]=Object(r.q)(n):e||(t[o]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&Object(r.k)(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return Object(r.l)(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){b.dependencies&&Object(r.r)(e)&&b.dependencies.add(e);const t=l(e);t&&Object(r.k)(t,e=>this.add(e))}}class f extends p{constructor(e){super(e)}static create(e){return new f(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((t,n)=>t.setValue(e[n])).some(Boolean):(super.setValue(e.map(m)),!0)}}function m(e){return(Object(r.t)(e)?d:u).create(e)}function g(e){const t=i(e);return t?t.constructor:r.s.arr(e)?f:Object(r.t)(e)?d:u}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const O=(e,t)=>{const n=!r.s.fun(e)||e.prototype&&e.prototype.isReactComponent;return Object(o.forwardRef)((a,i)=>{const c=Object(o.useRef)(null),l=n&&Object(o.useCallback)(e=>{c.current=function(e,t){e&&(r.s.fun(e)?e(t):e.current=t);return t}(i,e)},[i]),[s,u]=function(e,t){const n=new Set;b.dependencies=n,e.style&&(e=h({},e,{style:t.createAnimatedStyle(e.style)}));return e=new p(e),b.dependencies=null,[e,n]}(a,t),d=Object(r.z)(),f=()=>{const e=c.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&d()},m=new v(f,u),g=Object(o.useRef)();Object(r.A)(()=>{const e=g.current;g.current=m,Object(r.k)(u,e=>Object(r.c)(e,m)),e&&(Object(r.k)(e.deps,t=>Object(r.x)(t,e)),r.w.cancel(e.update))}),Object(o.useEffect)(f,[]),Object(r.C)(()=>()=>{const e=g.current;Object(r.k)(e.deps,t=>Object(r.x)(t,e))});const O=t.getComponentProps(s.getValue());return o.createElement(e,h({},O,{ref:l}))})};class v{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&r.w.write(this.update)}}const j=Symbol.for("AnimatedComponent"),y=(e,{applyAnimatedValues:t=(()=>!1),createAnimatedStyle:n=(e=>new p(e)),getComponentProps:o=(e=>e)}={})=>{const a={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:o},i=e=>{const t=_(e)||"Anonymous";return(e=r.s.str(e)?i[e]||(i[e]=O(e,a)):e[j]||(e[j]=O(e,a))).displayName=`Animated(${t})`,e};return Object(r.l)(e,(t,n)=>{r.s.arr(e)&&(n=_(t)),i[n]=i(t)}),{animated:i}},_=e=>r.s.str(e)?e:e&&r.s.str(e.displayName)?e.displayName:r.s.fun(e)&&e.name||null},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(17);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return o}))},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.blocks},function(e,t){e.exports=window.wp.apiFetch},function(e,t){e.exports=window.novablocks.icons},,function(e,t){e.exports=window.regeneratorRuntime},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},function(e,t){e.exports=window.wp.coreData},function(e,t){e.exports=window.wp.url},,, function(e,t,n){"use strict";var r=n(41);n.o(r,"animated")&&n.d(t,"animated",(function(){return r.animated})),n.o(r,"useTransition")&&n.d(t,"useTransition",(function(){return r.useTransition}))},function(e,t,n){"use strict";n.d(t,"useTransition",(function(){return je}));var r=n(2);n.d(t,"Globals",(function(){return r.b}));var o=n(15),a=n(19);n(42),n(43);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,...t){return r.s.fun(e)?e(...t):e}const l=(e,t)=>!0===e||!!(t&&e&&(r.s.fun(e)?e(t):Object(r.y)(e).includes(t))),s=(e,t)=>r.s.obj(e)?t&&e[t]:e,u=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,d=e=>e,b=(e,t=d)=>{let n=p;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const o={};for(const a of n){const n=t(e[a],a);r.s.und(n)||(o[a]=n)}return o},p=["config","onProps","onStart","onChange","onPause","onResume","onRest"],f={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function m(e){const t=function(e){const t={};let n=0;if(Object(r.l)(e,(e,r)=>{f[r]||(t[r]=e,n++)}),n)return t}(e);if(t){const n={to:t};return Object(r.l)(e,(e,r)=>r in t||(n[r]=e)),n}return i({},e)}function g(e){return e=Object(r.q)(e),r.s.arr(e)?e.map(g):Object(r.t)(e)?r.b.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function h(e){for(const t in e)return!0;return!1}function O(e){return r.s.fun(e)||r.s.arr(e)&&r.s.obj(e[0])}function v(e,t){var n;null==(n=e.ref)||n.delete(e),null==t||t.delete(e)}function j(e,t){var n;t&&e.ref!==t&&(null==(n=e.ref)||n.delete(e),t.add(e),e.ref=t)}const y=1.70158,_=1.525*y,w=2*Math.PI/3,k=2*Math.PI/4.5,E=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},P=i({},{tension:170,friction:26},{mass:1,damping:1,easing:{linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>2.70158*e*e*e-y*e*e,easeOutBack:e=>1+2.70158*Math.pow(e-1,3)+y*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-_)/2:(Math.pow(2*e-2,2)*((_+1)*(2*e-2)+_)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*w),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*w)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*k)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*k)/2+1,easeInBounce:e=>1-E(1-e),easeOutBounce:E,easeInOutBounce:e=>e<.5?(1-E(1-2*e))/2:(1+E(2*e-1))/2}.linear,clamp:!1});class S{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,P)}}function C(e,t){if(r.s.und(t.decay)){const n=!r.s.und(t.tension)||!r.s.und(t.friction);!n&&r.s.und(t.frequency)&&r.s.und(t.damping)&&r.s.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}const x=[];class A{constructor(){this.changed=!1,this.values=x,this.toValues=null,this.fromValues=x,this.to=void 0,this.from=void 0,this.config=new S,this.immediate=!1}}function I(e,{key:t,props:n,defaultProps:o,state:a,actions:s}){return new Promise((u,d)=>{var b;let p,f,m=l(null!=(b=n.cancel)?b:null==o?void 0:o.cancel,t);if(m)O();else{r.s.und(n.pause)||(a.paused=l(n.pause,t));let e=null==o?void 0:o.pause;!0!==e&&(e=a.paused||l(e,t)),p=c(n.delay||0,t),e?(a.resumeQueue.add(h),s.pause()):(s.resume(),h())}function g(){a.resumeQueue.add(h),a.timeouts.delete(f),f.cancel(),p=f.time-r.w.now()}function h(){p>0&&!r.b.skipAnimation?(a.delayed=!0,f=r.w.setTimeout(O,p),a.pauseQueue.add(g),a.timeouts.add(f)):O()}function O(){a.delayed&&(a.delayed=!1),a.pauseQueue.delete(g),a.timeouts.delete(f),e<=(a.cancelId||0)&&(m=!0);try{s.start(i({},n,{callId:e,cancel:m}),u)}catch(e){d(e)}}})}const T=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?M(e.get()):t.every(e=>e.noop)?R(e.get()):B(e.get(),t.every(e=>e.finished)),R=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),B=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),M=e=>({value:e,cancelled:!0,finished:!1});function F(e,t,n,o){const{callId:a,parentId:c,onRest:l}=t,{asyncTo:s,promise:u}=n;return c||e!==s||t.reset?n.promise=(async()=>{n.asyncId=a,n.asyncTo=e;const d=b(t,(e,t)=>"onRest"===t?void 0:e);let p,f;const m=new Promise((e,t)=>(p=e,f=t)),g=e=>{const t=a<=(n.cancelId||0)&&M(o)||a!==n.asyncId&&B(o,!1);if(t)throw e.result=t,f(e),e},h=(e,t)=>{const c=new N,l=new z;return(async()=>{if(r.b.skipAnimation)throw D(n),l.result=B(o,!1),f(l),l;g(c);const s=r.s.obj(e)?i({},e):i({},t,{to:e});s.parentId=a,Object(r.l)(d,(e,t)=>{r.s.und(s[t])&&(s[t]=e)});const u=await o.start(s);return g(c),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),u})()};let O;if(r.b.skipAnimation)return D(n),B(o,!1);try{let t;t=r.s.arr(e)?(async e=>{for(const t of e)await h(t)})(e):Promise.resolve(e(h,o.stop.bind(o))),await Promise.all([t.then(p),m]),O=B(o.get(),!0,!1)}catch(e){if(e instanceof N)O=e.result;else{if(!(e instanceof z))throw e;O=e.result}}finally{a==n.asyncId&&(n.asyncId=c,n.asyncTo=c?s:void 0,n.promise=c?u:void 0)}return r.s.fun(l)&&r.w.batchedUpdates(()=>{l(O,o,o.item)}),O})():u}function D(e,t){Object(r.m)(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class N extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class z extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const L=e=>e instanceof q;let V=1;class q extends r.a{constructor(...e){super(...e),this.id=V++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Object(a.e)(this);return e&&e.getValue()}to(...e){return r.b.to(this,e)}interpolate(...e){return Object(r.j)(),r.b.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Object(r.d)(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||r.o.sort(this),Object(r.d)(this,{type:"priority",parent:this,priority:e})}}const H=Symbol.for("SpringPhase"),U=e=>(1&e[H])>0,G=e=>(2&e[H])>0,$=e=>(4&e[H])>0,W=(e,t)=>t?e[H]|=3:e[H]&=-3,Q=(e,t)=>t?e[H]|=4:e[H]&=-5;class Z extends q{constructor(e,t){if(super(),this.key=void 0,this.animation=new A,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!r.s.und(e)||!r.s.und(t)){const n=r.s.obj(e)?i({},e):i({},t,{from:e});r.s.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(G(this)||this._state.asyncTo)||$(this)}get goal(){return Object(r.q)(this.animation.to)}get velocity(){const e=Object(a.e)(this);return e instanceof a.c?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return U(this)}get isAnimating(){return G(this)}get isPaused(){return $(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const o=this.animation;let{config:i,toValues:c}=o;const l=Object(a.g)(o.to);!l&&Object(r.r)(o.to)&&(c=Object(r.y)(Object(r.q)(o.to))),o.values.forEach((s,u)=>{if(s.done)return;const d=s.constructor==a.b?1:l?l[u].lastPosition:c[u];let b=o.immediate,p=d;if(!b){if(p=s.lastPosition,i.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=o.fromValues[u],a=null!=s.v0?s.v0:s.v0=r.s.arr(i.velocity)?i.velocity[u]:i.velocity;let c;if(r.s.und(i.duration))if(i.decay){const e=!0===i.decay?.998:i.decay,r=Math.exp(-(1-e)*t);p=n+a/(1-e)*(1-r),b=Math.abs(s.lastPosition-p)<.1,c=a*r}else{c=null==s.lastVelocity?a:s.lastVelocity;const t=i.precision||(n==d?.005:Math.min(1,.001*Math.abs(d-n))),o=i.restVelocity||t/10,l=i.clamp?0:i.bounce,u=!r.s.und(l),f=n==d?s.v0>0:n<d;let m,g=!1;const h=1,O=Math.ceil(e/h);for(let e=0;e<O&&(m=Math.abs(c)>o,m||(b=Math.abs(d-p)<=t,!b));++e){u&&(g=p==d||p>d==f,g&&(c=-c*l,p=d));c+=(1e-6*-i.tension*(p-d)+.001*-i.friction*c)/i.mass*h,p+=c*h}}else{let r=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,s.durationProgress>0&&(s.elapsedTime=i.duration*s.durationProgress,t=s.elapsedTime+=e)),r=(i.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,s.durationProgress=r),p=n+i.easing(r)*(d-n),c=(p-s.lastPosition)/e,b=1==r}s.lastVelocity=c,Number.isNaN(p)&&(console.warn("Got NaN while animating:",this),b=!0)}l&&!l[u].done&&(b=!1),b?s.done=!0:t=!1,s.setValue(p,i.round)&&(n=!0)});const s=Object(a.e)(this),u=s.getValue();if(t){const e=Object(r.q)(o.to);u===e&&!n||i.decay?n&&i.decay&&this._onChange(u):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(u)}set(e){return r.w.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(G(this)){const{to:e,config:t}=this.animation;r.w.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return r.s.und(e)?(n=this.queue||[],this.queue=[]):n=[r.s.obj(e)?e:i({},t,{to:e})],Promise.all(n.map(e=>this._update(e))).then(e=>T(this,e))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),D(this._state,e&&this._lastCallId),r.w.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:o}=e;n=r.s.obj(n)?n[t]:n,(null==n||O(n))&&(n=void 0),o=r.s.obj(o)?o[t]:o,null==o&&(o=void 0);const i={to:n,from:o};return U(this)||(e.reverse&&([n,o]=[o,n]),o=Object(r.q)(o),r.s.und(o)?Object(a.e)(this)||this._set(n):this._set(o)),i}_update(e,t){let n=i({},e);const{key:o,defaultProps:a}=this;n.default&&Object.assign(a,b(n,(e,t)=>/^on/.test(t)?s(e,o):e)),te(this,n,"onProps"),ne(this,"onProps",n,this);const c=this._prepareNode(n);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const l=this._state;return I(++this._lastCallId,{key:o,props:n,defaultProps:a,state:l,actions:{pause:()=>{$(this)||(Q(this,!0),Object(r.n)(l.pauseQueue),ne(this,"onPause",B(this,K(this,this.animation.to)),this))},resume:()=>{$(this)&&(Q(this,!1),G(this)&&this._resume(),Object(r.n)(l.resumeQueue),ne(this,"onResume",B(this,K(this,this.animation.to)),this))},start:this._merge.bind(this,c)}}).then(e=>{if(n.loop&&e.finished&&(!t||!e.noop)){const e=J(n);if(e)return this._update(e,!0)}return e})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(M(this));const o=!r.s.und(e.to),s=!r.s.und(e.from);if(o||s){if(!(t.callId>this._lastToId))return n(M(this));this._lastToId=t.callId}const{key:u,defaultProps:d,animation:b}=this,{to:p,from:f}=b;let{to:m=p,from:h=f}=e;!s||o||t.default&&!r.s.und(m)||(m=h),t.reverse&&([m,h]=[h,m]);const v=!Object(r.u)(h,f);v&&(b.from=h),h=Object(r.q)(h);const j=!Object(r.u)(m,p);j&&this._focus(m);const y=O(t.to),{config:_}=b,{decay:w,velocity:k}=_;(o||s)&&(_.velocity=0),t.config&&!y&&function(e,t,n){n&&(C(n=i({},n),t),t=i({},n,t)),C(e,t),Object.assign(e,t);for(const t in P)null==e[t]&&(e[t]=P[t]);let{mass:o,frequency:a,damping:c}=e;r.s.und(a)||(a<.01&&(a=.01),c<0&&(c=0),e.tension=Math.pow(2*Math.PI/a,2)*o,e.friction=4*Math.PI*c*o/a)}(_,c(t.config,u),t.config!==d.config?c(d.config,u):void 0);let E=Object(a.e)(this);if(!E||r.s.und(m))return n(B(this,!0));const S=r.s.und(t.reset)?s&&!t.default:!r.s.und(h)&&l(t.reset,u),x=S?h:this.get(),A=g(m),I=r.s.num(A)||r.s.arr(A)||Object(r.t)(A),T=!y&&(!I||l(d.immediate||t.immediate,u));if(j){const e=Object(a.f)(m);if(e!==E.constructor){if(!T)throw Error(`Cannot animate between ${E.constructor.name} and ${e.name}, as the "to" prop suggests`);E=this._set(A)}}const D=E.constructor;let N=Object(r.r)(m),z=!1;if(!N){const e=S||!U(this)&&v;(j||e)&&(z=Object(r.u)(g(x),A),N=!z),(Object(r.u)(b.immediate,T)||T)&&Object(r.u)(_.decay,w)&&Object(r.u)(_.velocity,k)||(N=!0)}if(z&&G(this)&&(b.changed&&!S?N=!0:N||this._stop(p)),!y&&((N||Object(r.r)(p))&&(b.values=E.getPayload(),b.toValues=Object(r.r)(m)?null:D==a.b?[1]:Object(r.y)(A)),b.immediate!=T&&(b.immediate=T,T||S||this._set(p)),N)){const{onRest:e}=b;Object(r.k)(ee,e=>te(this,t,e));const o=B(this,K(this,p));Object(r.n)(this._pendingCalls,o),this._pendingCalls.add(n),b.changed&&r.w.batchedUpdates(()=>{b.changed=!S,null==e||e(o,this),S?c(d.onRest,o):null==b.onStart||b.onStart(o,this)})}S&&this._set(x),y?n(F(t.to,t,this._state,this)):N?this._start():G(this)&&!j?this._pendingCalls.add(n):n(R(x))}_focus(e){const t=this.animation;e!==t.to&&(Object(r.p)(this)&&this._detach(),t.to=e,Object(r.p)(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Object(r.r)(t)&&(Object(r.c)(t,this),L(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Object(r.r)(e)&&Object(r.x)(e,this)}_set(e,t=!0){const n=Object(r.q)(e);if(!r.s.und(n)){const e=Object(a.e)(this);if(!e||!Object(r.u)(n,e.getValue())){const o=Object(a.f)(n);e&&e.constructor==o?e.setValue(n):Object(a.h)(this,o.create(n)),e&&r.w.batchedUpdates(()=>{this._onChange(n,t)})}}return Object(a.e)(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,ne(this,"onStart",B(this,K(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),c(this.animation.onChange,e,this)),c(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Object(a.e)(this).reset(Object(r.q)(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),G(this)||(W(this,!0),$(this)||this._resume())}_resume(){r.b.skipAnimation?this.finish():r.o.start(this)}_stop(e,t){if(G(this)){W(this,!1);const n=this.animation;Object(r.k)(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Object(r.d)(this,{type:"idle",parent:this});const o=t?M(this.get()):B(this.get(),K(this,null!=e?e:n.to));Object(r.n)(this._pendingCalls,o),n.changed&&(n.changed=!1,ne(this,"onRest",o,this))}}}function K(e,t){const n=g(t),o=g(e.get());return Object(r.u)(o,n)}function J(e,t=e.loop,n=e.to){let r=c(t);if(r){const o=!0!==r&&m(r),a=(o||e).reverse,c=!o||o.reset;return X(i({},e,{loop:t,default:!1,pause:void 0,to:!a||O(n)?n:void 0,from:c?e.from:void 0,reset:c},o))}}function X(e){const{to:t,from:n}=e=m(e),o=new Set;return r.s.obj(t)&&Y(t,o),r.s.obj(n)&&Y(n,o),e.keys=o.size?Array.from(o):null,e}function Y(e,t){Object(r.l)(e,(e,n)=>null!=e&&t.add(n))}const ee=["onStart","onRest","onChange","onPause","onResume"];function te(e,t,n){e.animation[n]=t[n]!==u(t,n)?s(t[n],e.key):void 0}function ne(e,t,...n){var r,o,a,i;null==(r=(o=e.animation)[t])||r.call(o,...n),null==(a=(i=e.defaultProps)[t])||a.call(i,...n)}const re=["onStart","onChange","onRest"];let oe=1;class ae{constructor(e,t){this.id=oe++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start(i({default:!0},e))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];r.s.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(X(e)),this}start(e){let{queue:t}=this;return e?t=Object(r.y)(e).map(X):this.queue=[],this._flush?this._flush(this,t):(de(this,t),ie(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;Object(r.k)(Object(r.y)(t),t=>n[t].stop(!!e))}else D(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(r.s.und(e))this.start({pause:!0});else{const t=this.springs;Object(r.k)(Object(r.y)(e),e=>t[e].pause())}return this}resume(e){if(r.s.und(e))this.start({pause:!1});else{const t=this.springs;Object(r.k)(Object(r.y)(e),e=>t[e].resume())}return this}each(e){Object(r.l)(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,o=this._active.size>0,a=this._changed.size>0;(o&&!this._started||a&&!this._started)&&(this._started=!0,Object(r.m)(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));const i=!o&&this._started,c=a||i&&n.size?this.get():null;a&&t.size&&Object(r.m)(t,([e,t])=>{t.value=c,e(t,this,this._item)}),i&&(this._started=!1,Object(r.m)(n,([e,t])=>{t.value=c,e(t,this,this._item)}))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}r.w.onFrame(this._onFrame)}}function ie(e,t){return Promise.all(t.map(t=>async function e(t,n,o){const{keys:a,to:i,from:c,loop:l,onRest:s,onResolve:d}=n,b=r.s.obj(n.default)&&n.default;l&&(n.loop=!1);!1===i&&(n.to=null);!1===c&&(n.from=null);const p=r.s.arr(i)||r.s.fun(i)?i:void 0;p?(n.to=void 0,n.onRest=void 0,b&&(b.onRest=void 0)):Object(r.k)(re,e=>{const o=n[e];if(r.s.fun(o)){const r=t._events[e];n[e]=({finished:e,cancelled:t})=>{const n=r.get(o);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):r.set(o,{value:null,finished:e||!1,cancelled:t||!1})},b&&(b[e]=n[e])}});const f=t._state;n.pause===!f.paused?(f.paused=n.pause,Object(r.n)(n.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(n.pause=!0);const m=(a||Object.keys(t.springs)).map(e=>t.springs[e].start(n)),g=!0===n.cancel||!0===u(n,"cancel");(p||g&&f.asyncId)&&m.push(I(++t._lastAsyncId,{props:n,state:f,actions:{pause:r.v,resume:r.v,start(e,n){g?(D(f,t._lastAsyncId),n(M(t))):(e.onRest=s,n(F(p,e,f,t)))}}}));f.paused&&await new Promise(e=>{f.resumeQueue.add(e)});const h=T(t,await Promise.all(m));if(l&&h.finished&&(!o||!h.noop)){const r=J(n,l,i);if(r)return de(t,[r]),e(t,r,!0)}d&&r.w.batchedUpdates(()=>d(h,t,t.item));return h}(e,t))).then(t=>T(e,t))}function ce(e,t){const n=i({},e.springs);return t&&Object(r.k)(Object(r.y)(t),e=>{r.s.und(e.keys)&&(e=X(e)),r.s.obj(e.to)||(e=i({},e,{to:void 0})),ue(n,e,e=>se(e))}),le(e,n),n}function le(e,t){Object(r.l)(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,Object(r.c)(t,e))})}function se(e,t){const n=new Z;return n.key=e,t&&Object(r.c)(n,t),n}function ue(e,t,n){t.keys&&Object(r.k)(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function de(e,t){Object(r.k)(t,t=>{ue(e.springs,t,t=>se(t,e))})}function be(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}const pe=["children"],fe=e=>{let{children:t}=e,n=be(e,pe);const a=Object(o.useContext)(me),i=n.pause||!!a.pause,c=n.immediate||!!a.immediate;n=Object(r.B)(()=>({pause:i,immediate:c}),[i,c]);const{Provider:l}=me;return o.createElement(l,{value:n},t)},me=(ge=fe,he={},Object.assign(ge,o.createContext(he)),ge.Provider._context=ge,ge.Consumer._context=ge,ge);var ge,he;fe.Provider=me.Provider,fe.Consumer=me.Consumer;const Oe=()=>{const e=[],t=function(t){Object(r.i)();const o=[];return Object(r.k)(e,(e,a)=>{if(r.s.und(t))o.push(e.start());else{const r=n(t,e,a);r&&o.push(e.start(r))}}),o};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return Object(r.k)(e,e=>e.pause(...arguments)),this},t.resume=function(){return Object(r.k)(e,e=>e.resume(...arguments)),this},t.set=function(t){Object(r.k)(e,e=>e.set(t))},t.start=function(t){const n=[];return Object(r.k)(e,(e,o)=>{if(r.s.und(t))n.push(e.start());else{const r=this._getProps(t,e,o);r&&n.push(e.start(r))}}),n},t.stop=function(){return Object(r.k)(e,e=>e.stop(...arguments)),this},t.update=function(t){return Object(r.k)(e,(e,n)=>e.update(this._getProps(t,e,n))),this};const n=function(e,t,n){return r.s.fun(e)?e(n,t):e};return t._getProps=n,t};let ve;function je(e,t,n){const a=r.s.fun(t)&&t,{reset:l,sort:s,trail:u=0,expires:d=!0,exitBeforeEnter:p=!1,onDestroyed:f,ref:g,config:O}=a?a():t,y=Object(o.useMemo)(()=>a||3==arguments.length?Oe():void 0,[]),_=Object(r.y)(e),w=[],k=Object(o.useRef)(null),E=l?null:k.current;Object(r.A)(()=>{k.current=w}),Object(r.C)(()=>()=>{Object(r.k)(k.current,e=>{e.expired&&clearTimeout(e.expirationId),v(e.ctrl,y),e.ctrl.stop(!0)})});const P=_e(_,a?a():t,E),S=l&&k.current||[];Object(r.A)(()=>Object(r.k)(S,({ctrl:e,item:t,key:n})=>{v(e,y),c(f,t,n)}));const C=[];if(E&&Object(r.k)(E,(e,t)=>{e.expired?(clearTimeout(e.expirationId),S.push(e)):~(t=C[t]=P.indexOf(e.key))&&(w[t]=e)}),Object(r.k)(_,(e,t)=>{w[t]||(w[t]={key:P[t],item:e,phase:ve.MOUNT,ctrl:new ae},w[t].ctrl.item=e)}),C.length){let e=-1;const{leave:n}=a?a():t;Object(r.k)(C,(t,r)=>{const o=E[r];~t?(e=w.indexOf(o),w[e]=i({},o,{item:_[t]})):n&&w.splice(++e,0,o)})}r.s.fun(s)&&w.sort((e,t)=>s(e.item,t.item));let x=-u;const A=Object(r.z)(),I=b(t),T=new Map,R=Object(o.useRef)(new Map),B=Object(o.useRef)(!1);Object(r.k)(w,(e,n)=>{const o=e.key,l=e.phase,s=a?a():t;let b,f,h=c(s.delay||0,o);if(l==ve.MOUNT)b=s.enter,f=ve.ENTER;else{const e=P.indexOf(o)<0;if(l!=ve.LEAVE)if(e)b=s.leave,f=ve.LEAVE;else{if(!(b=s.update))return;f=ve.UPDATE}else{if(e)return;b=s.enter,f=ve.ENTER}}if(b=c(b,e.item,n),b=r.s.obj(b)?m(b):{to:b},!b.config){const t=O||I.config;b.config=c(t,e.item,n,f)}x+=u;const v=i({},I,{delay:h+x,ref:g,immediate:s.immediate,reset:!1},b);if(f==ve.ENTER&&r.s.und(v.from)){const o=a?a():t,i=r.s.und(o.initial)||E?o.from:o.initial;v.from=c(i,e.item,n)}const{onResolve:j}=v;v.onResolve=e=>{c(j,e);const t=k.current,n=t.find(e=>e.key===o);if(n&&(!e.cancelled||n.phase==ve.UPDATE)&&n.ctrl.idle){const e=t.every(e=>e.ctrl.idle);if(n.phase==ve.LEAVE){const t=c(d,n.item);if(!1!==t){const r=!0===t?0:t;if(n.expired=!0,!e&&r>0)return void(r<=2147483647&&(n.expirationId=setTimeout(A,r)))}}e&&t.some(e=>e.expired)&&(R.current.delete(n),p&&(B.current=!0),A())}};const y=ce(e.ctrl,v);f===ve.LEAVE&&p?R.current.set(e,{phase:f,springs:y,payload:v}):T.set(e,{phase:f,springs:y,payload:v})});const M=Object(o.useContext)(fe),F=Object(r.D)(M),D=M!==F&&h(M);Object(r.A)(()=>{D&&Object(r.k)(w,e=>{e.ctrl.start({default:M})})},[M]),Object(r.k)(T,(e,t)=>{if(R.current.size){const e=w.findIndex(e=>e.key===t.key);w.splice(e,1)}}),Object(r.A)(()=>{Object(r.k)(R.current.size?R.current:T,({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,null==y||y.add(r),D&&e==ve.ENTER&&r.start({default:M}),t&&(j(r,t.ref),r.ref&&!B.current?r.update(t):(r.start(t),B.current&&(B.current=!1)))})},l?void 0:n);const N=e=>o.createElement(o.Fragment,null,w.map((t,n)=>{const{springs:a}=T.get(t)||t.ctrl,c=e(i({},a),t.item,t,n);return c&&c.type?o.createElement(c.type,i({},c.props,{key:r.s.str(t.key)||r.s.num(t.key)?t.key:t.ctrl.id,ref:c.ref})):c}));return y?[N,y]:N}!function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"}(ve||(ve={}));let ye=1;function _e(e,{key:t,keys:n=t},o){if(null===n){const t=new Set;return e.map(e=>{const n=o&&o.find(n=>n.item===e&&n.phase!==ve.LEAVE&&!t.has(n));return n?(t.add(n),n.key):ye++})}return r.s.und(n)?e:r.s.fun(n)?e.map(n):Object(r.y)(n)}class we extends q{constructor(e,t){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=e,this.calc=Object(r.f)(...t);const n=this._get(),o=Object(a.f)(n);Object(a.h)(this,o.create(n))}advance(e){const t=this._get(),n=this.get();Object(r.u)(t,n)||(Object(a.e)(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Ee(this._active)&&Pe(this)}_get(){const e=r.s.arr(this.source)?this.source.map(r.q):Object(r.y)(Object(r.q)(this.source));return this.calc(...e)}_start(){this.idle&&!Ee(this._active)&&(this.idle=!1,Object(r.k)(Object(a.g)(this),e=>{e.done=!1}),r.b.skipAnimation?(r.w.batchedUpdates(()=>this.advance()),Pe(this)):r.o.start(this))}_attach(){let e=1;Object(r.k)(Object(r.y)(this.source),t=>{Object(r.r)(t)&&Object(r.c)(t,this),L(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){Object(r.k)(Object(r.y)(this.source),e=>{Object(r.r)(e)&&Object(r.x)(e,this)}),this._active.clear(),Pe(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=Object(r.y)(this.source).reduce((e,t)=>Math.max(e,(L(t)?t.priority:0)+1),0))}}function ke(e){return!1!==e.idle}function Ee(e){return!e.size||Array.from(e).every(ke)}function Pe(e){e.idle||(e.idle=!0,Object(r.k)(Object(a.g)(e),e=>{e.done=!0}),Object(r.d)(e,{type:"idle",parent:e}))}r.b.assign({createStringInterpolator:r.g,to:(e,t)=>new we(e,t)});r.o.advance},,function(e,t){e.exports=window.wp.dom},function(e,t){e.exports=window.wp.date},function(e,t,n){e.exports=function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}return function t(n,r){function o(t,o,a){if("undefined"!=typeof document){"number"==typeof(a=e({},r,a)).expires&&(a.expires=new Date(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var c in a)a[c]&&(i+="; "+c,!0!==a[c]&&(i+="="+a[c].split(";")[0]));return document.cookie=t+"="+n.write(o,t)+i}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],r={},o=0;o<t.length;o++){var a=t[o].split("="),i=a.slice(1).join("=");try{var c=decodeURIComponent(a[0]);if(r[c]=n.read(i,c),e===c)break}catch(e){}}return e?r[e]:r}},remove:function(t,n){o(t,"",e({},n,{expires:-1}))},withAttributes:function(n){return t(this.converter,e({},this.attributes,n))},withConverter:function(n){return t(e({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(n)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}()},,function(e,t,n){"use strict";n.d(t,"animated",(function(){return w}));var r=n(35);n.o(r,"useTransition")&&n.d(t,"useTransition",(function(){return r.useTransition}));var o=n(47),a=n(2),i=n(19);function c(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}const l=["style","children","scrollTop","scrollLeft"],s=/^--/;function u(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||s.test(e)||b.hasOwnProperty(e)&&b[e]?(""+t).trim():t+"px"}const d={};let b={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const p=["Webkit","Ms","Moz","O"];b=Object.keys(b).reduce((e,t)=>(p.forEach(n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t]),e),b);const f=["x","y","z"],m=/^(matrix|translate|scale|rotate|skew)/,g=/^(translate)/,h=/^(rotate|skew)/,O=(e,t)=>a.s.num(e)&&0!==e?e+t:e,v=(e,t)=>a.s.arr(e)?e.every(e=>v(e,t)):a.s.num(e)?e===t:parseFloat(e)===t;class j extends i.a{constructor(e){let{x:t,y:n,z:r}=e,o=c(e,f);const i=[],l=[];(t||n||r)&&(i.push([t||0,n||0,r||0]),l.push(e=>[`translate3d(${e.map(e=>O(e,"px")).join(",")})`,v(e,0)])),Object(a.l)(o,(e,t)=>{if("transform"===t)i.push([e||""]),l.push(e=>[e,""===e]);else if(m.test(t)){if(delete o[t],a.s.und(e))return;const n=g.test(t)?"px":h.test(t)?"deg":"";i.push(Object(a.y)(e)),l.push("rotate3d"===t?([e,t,r,o])=>[`rotate3d(${e},${t},${r},${O(o,n)})`,v(o,0)]:e=>[`${t}(${e.map(e=>O(e,n)).join(",")})`,v(e,t.startsWith("scale")?1:0)])}}),i.length&&(o.transform=new y(i,l)),super(o)}}class y extends a.a{constructor(e,t){super(),this._value=null,this.inputs=e,this.transforms=t}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return Object(a.k)(this.inputs,(n,r)=>{const o=Object(a.q)(n[0]),[i,c]=this.transforms[r](a.s.arr(o)?o:n.map(a.q));e+=" "+i,t=t&&c}),t?"none":e}observerAdded(e){1==e&&Object(a.k)(this.inputs,e=>Object(a.k)(e,e=>Object(a.r)(e)&&Object(a.c)(e,this)))}observerRemoved(e){0==e&&Object(a.k)(this.inputs,e=>Object(a.k)(e,e=>Object(a.r)(e)&&Object(a.x)(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),Object(a.d)(this,e)}}const _=["scrollTop","scrollLeft"];r.Globals.assign({batchedUpdates:o.unstable_batchedUpdates,createStringInterpolator:a.g,colors:a.e});const w=Object(i.d)(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,r=t,{style:o,children:a,scrollTop:i,scrollLeft:b}=r,p=c(r,l),f=Object.values(p),m=Object.keys(p).map(t=>n||e.hasAttribute(t)?t:d[t]||(d[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));void 0!==a&&(e.textContent=a);for(let t in o)if(o.hasOwnProperty(t)){const n=u(t,o[t]);s.test(t)?e.style.setProperty(t,n):e.style[t]=n}m.forEach((t,n)=>{e.setAttribute(t,f[n])}),void 0!==i&&(e.scrollTop=i),void 0!==b&&(e.scrollLeft=b)},createAnimatedStyle:e=>new j(e),getComponentProps:e=>c(e,_)}).animated},function(e,t){},function(e,t){},,function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.viewport},function(e,t){e.exports=window.ReactDOM},function(e,t,n){"use strict";6 */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var i=o.apply(null,r);i&&e.push(i)}else if("object"===a)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(20);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,a=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){c=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw o}}return a}}(e,t)||Object(r.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},,,function(e,t){e.exports=window.React},function(e,t){e.exports=window.wp.blockEditor},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(17);var o=n(20);function a(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return y})),n.d(t,"e",(function(){return i})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return l})),n.d(t,"h",(function(){return c}));var r=n(2),o=n(15);const a=Symbol.for("Animated:node"),i=e=>e&&e[a],c=(e,t)=>Object(r.h)(e,a,t),l=e=>e&&e[a]&&e[a].getPayload();class s{constructor(){this.payload=void 0,c(this,this)}getPayload(){return this.payload||[]}}class u extends s{constructor(e){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=e,r.s.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new u(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return r.s.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,r.s.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}}class d extends u{constructor(e){super(0),this._string=null,this._toString=void 0,this._toString=Object(r.f)({output:[e,e]})}static create(e){return new d(e)}getValue(){let e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(r.s.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=Object(r.f)({output:[this.getValue(),e]})),this._value=0,super.reset()}}const b={dependencies:null};class p extends s{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return Object(r.l)(this.source,(n,o)=>{var i;(i=n)&&i[a]===i?t[o]=n.getValue(e):Object(r.r)(n)?t[o]=Object(r.q)(n):e||(t[o]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&Object(r.k)(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return Object(r.l)(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){b.dependencies&&Object(r.r)(e)&&b.dependencies.add(e);const t=l(e);t&&Object(r.k)(t,e=>this.add(e))}}class f extends p{constructor(e){super(e)}static create(e){return new f(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((t,n)=>t.setValue(e[n])).some(Boolean):(super.setValue(e.map(m)),!0)}}function m(e){return(Object(r.t)(e)?d:u).create(e)}function g(e){const t=i(e);return t?t.constructor:r.s.arr(e)?f:Object(r.t)(e)?d:u}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const O=(e,t)=>{const n=!r.s.fun(e)||e.prototype&&e.prototype.isReactComponent;return Object(o.forwardRef)((a,i)=>{const c=Object(o.useRef)(null),l=n&&Object(o.useCallback)(e=>{c.current=function(e,t){e&&(r.s.fun(e)?e(t):e.current=t);return t}(i,e)},[i]),[s,u]=function(e,t){const n=new Set;b.dependencies=n,e.style&&(e=h({},e,{style:t.createAnimatedStyle(e.style)}));return e=new p(e),b.dependencies=null,[e,n]}(a,t),d=Object(r.z)(),f=()=>{const e=c.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&d()},m=new v(f,u),g=Object(o.useRef)();Object(r.A)(()=>{const e=g.current;g.current=m,Object(r.k)(u,e=>Object(r.c)(e,m)),e&&(Object(r.k)(e.deps,t=>Object(r.x)(t,e)),r.w.cancel(e.update))}),Object(o.useEffect)(f,[]),Object(r.C)(()=>()=>{const e=g.current;Object(r.k)(e.deps,t=>Object(r.x)(t,e))});const O=t.getComponentProps(s.getValue());return o.createElement(e,h({},O,{ref:l}))})};class v{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&r.w.write(this.update)}}const j=Symbol.for("AnimatedComponent"),y=(e,{applyAnimatedValues:t=(()=>!1),createAnimatedStyle:n=(e=>new p(e)),getComponentProps:o=(e=>e)}={})=>{const a={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:o},i=e=>{const t=_(e)||"Anonymous";return(e=r.s.str(e)?i[e]||(i[e]=O(e,a)):e[j]||(e[j]=O(e,a))).displayName=`Animated(${t})`,e};return Object(r.l)(e,(t,n)=>{r.s.arr(e)&&(n=_(t)),i[n]=i(t)}),{animated:i}},_=e=>r.s.str(e)?e:e&&r.s.str(e.displayName)?e.displayName:r.s.fun(e)&&e.name||null},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(17);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return o}))},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.blocks},function(e,t){e.exports=window.wp.apiFetch},function(e,t){e.exports=window.novablocks.icons},,function(e,t){e.exports=window.regeneratorRuntime},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},function(e,t){e.exports=window.wp.coreData},function(e,t){e.exports=window.wp.url},,,,function(e,t,n){"use strict";var r=n(42);n.o(r,"animated")&&n.d(t,"animated",(function(){return r.animated})),n.o(r,"useTransition")&&n.d(t,"useTransition",(function(){return r.useTransition}))},function(e,t,n){"use strict";n.d(t,"useTransition",(function(){return je}));var r=n(2);n.d(t,"Globals",(function(){return r.b}));var o=n(15),a=n(19);n(43),n(44);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,...t){return r.s.fun(e)?e(...t):e}const l=(e,t)=>!0===e||!!(t&&e&&(r.s.fun(e)?e(t):Object(r.y)(e).includes(t))),s=(e,t)=>r.s.obj(e)?t&&e[t]:e,u=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,d=e=>e,b=(e,t=d)=>{let n=p;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const o={};for(const a of n){const n=t(e[a],a);r.s.und(n)||(o[a]=n)}return o},p=["config","onProps","onStart","onChange","onPause","onResume","onRest"],f={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function m(e){const t=function(e){const t={};let n=0;if(Object(r.l)(e,(e,r)=>{f[r]||(t[r]=e,n++)}),n)return t}(e);if(t){const n={to:t};return Object(r.l)(e,(e,r)=>r in t||(n[r]=e)),n}return i({},e)}function g(e){return e=Object(r.q)(e),r.s.arr(e)?e.map(g):Object(r.t)(e)?r.b.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function h(e){for(const t in e)return!0;return!1}function O(e){return r.s.fun(e)||r.s.arr(e)&&r.s.obj(e[0])}function v(e,t){var n;null==(n=e.ref)||n.delete(e),null==t||t.delete(e)}function j(e,t){var n;t&&e.ref!==t&&(null==(n=e.ref)||n.delete(e),t.add(e),e.ref=t)}const y=1.70158,_=1.525*y,w=2*Math.PI/3,k=2*Math.PI/4.5,E=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},P=i({},{tension:170,friction:26},{mass:1,damping:1,easing:{linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>2.70158*e*e*e-y*e*e,easeOutBack:e=>1+2.70158*Math.pow(e-1,3)+y*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-_)/2:(Math.pow(2*e-2,2)*((_+1)*(2*e-2)+_)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*w),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*w)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*k)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*k)/2+1,easeInBounce:e=>1-E(1-e),easeOutBounce:E,easeInOutBounce:e=>e<.5?(1-E(1-2*e))/2:(1+E(2*e-1))/2}.linear,clamp:!1});class S{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,P)}}function C(e,t){if(r.s.und(t.decay)){const n=!r.s.und(t.tension)||!r.s.und(t.friction);!n&&r.s.und(t.frequency)&&r.s.und(t.damping)&&r.s.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}const x=[];class A{constructor(){this.changed=!1,this.values=x,this.toValues=null,this.fromValues=x,this.to=void 0,this.from=void 0,this.config=new S,this.immediate=!1}}function I(e,{key:t,props:n,defaultProps:o,state:a,actions:s}){return new Promise((u,d)=>{var b;let p,f,m=l(null!=(b=n.cancel)?b:null==o?void 0:o.cancel,t);if(m)O();else{r.s.und(n.pause)||(a.paused=l(n.pause,t));let e=null==o?void 0:o.pause;!0!==e&&(e=a.paused||l(e,t)),p=c(n.delay||0,t),e?(a.resumeQueue.add(h),s.pause()):(s.resume(),h())}function g(){a.resumeQueue.add(h),a.timeouts.delete(f),f.cancel(),p=f.time-r.w.now()}function h(){p>0&&!r.b.skipAnimation?(a.delayed=!0,f=r.w.setTimeout(O,p),a.pauseQueue.add(g),a.timeouts.add(f)):O()}function O(){a.delayed&&(a.delayed=!1),a.pauseQueue.delete(g),a.timeouts.delete(f),e<=(a.cancelId||0)&&(m=!0);try{s.start(i({},n,{callId:e,cancel:m}),u)}catch(e){d(e)}}})}const T=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?M(e.get()):t.every(e=>e.noop)?R(e.get()):B(e.get(),t.every(e=>e.finished)),R=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),B=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),M=e=>({value:e,cancelled:!0,finished:!1});function F(e,t,n,o){const{callId:a,parentId:c,onRest:l}=t,{asyncTo:s,promise:u}=n;return c||e!==s||t.reset?n.promise=(async()=>{n.asyncId=a,n.asyncTo=e;const d=b(t,(e,t)=>"onRest"===t?void 0:e);let p,f;const m=new Promise((e,t)=>(p=e,f=t)),g=e=>{const t=a<=(n.cancelId||0)&&M(o)||a!==n.asyncId&&B(o,!1);if(t)throw e.result=t,f(e),e},h=(e,t)=>{const c=new N,l=new z;return(async()=>{if(r.b.skipAnimation)throw D(n),l.result=B(o,!1),f(l),l;g(c);const s=r.s.obj(e)?i({},e):i({},t,{to:e});s.parentId=a,Object(r.l)(d,(e,t)=>{r.s.und(s[t])&&(s[t]=e)});const u=await o.start(s);return g(c),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),u})()};let O;if(r.b.skipAnimation)return D(n),B(o,!1);try{let t;t=r.s.arr(e)?(async e=>{for(const t of e)await h(t)})(e):Promise.resolve(e(h,o.stop.bind(o))),await Promise.all([t.then(p),m]),O=B(o.get(),!0,!1)}catch(e){if(e instanceof N)O=e.result;else{if(!(e instanceof z))throw e;O=e.result}}finally{a==n.asyncId&&(n.asyncId=c,n.asyncTo=c?s:void 0,n.promise=c?u:void 0)}return r.s.fun(l)&&r.w.batchedUpdates(()=>{l(O,o,o.item)}),O})():u}function D(e,t){Object(r.m)(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class N extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class z extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const L=e=>e instanceof q;let V=1;class q extends r.a{constructor(...e){super(...e),this.id=V++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Object(a.e)(this);return e&&e.getValue()}to(...e){return r.b.to(this,e)}interpolate(...e){return Object(r.j)(),r.b.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Object(r.d)(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||r.o.sort(this),Object(r.d)(this,{type:"priority",parent:this,priority:e})}}const H=Symbol.for("SpringPhase"),U=e=>(1&e[H])>0,G=e=>(2&e[H])>0,$=e=>(4&e[H])>0,W=(e,t)=>t?e[H]|=3:e[H]&=-3,Q=(e,t)=>t?e[H]|=4:e[H]&=-5;class Z extends q{constructor(e,t){if(super(),this.key=void 0,this.animation=new A,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!r.s.und(e)||!r.s.und(t)){const n=r.s.obj(e)?i({},e):i({},t,{from:e});r.s.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(G(this)||this._state.asyncTo)||$(this)}get goal(){return Object(r.q)(this.animation.to)}get velocity(){const e=Object(a.e)(this);return e instanceof a.c?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return U(this)}get isAnimating(){return G(this)}get isPaused(){return $(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const o=this.animation;let{config:i,toValues:c}=o;const l=Object(a.g)(o.to);!l&&Object(r.r)(o.to)&&(c=Object(r.y)(Object(r.q)(o.to))),o.values.forEach((s,u)=>{if(s.done)return;const d=s.constructor==a.b?1:l?l[u].lastPosition:c[u];let b=o.immediate,p=d;if(!b){if(p=s.lastPosition,i.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=o.fromValues[u],a=null!=s.v0?s.v0:s.v0=r.s.arr(i.velocity)?i.velocity[u]:i.velocity;let c;if(r.s.und(i.duration))if(i.decay){const e=!0===i.decay?.998:i.decay,r=Math.exp(-(1-e)*t);p=n+a/(1-e)*(1-r),b=Math.abs(s.lastPosition-p)<.1,c=a*r}else{c=null==s.lastVelocity?a:s.lastVelocity;const t=i.precision||(n==d?.005:Math.min(1,.001*Math.abs(d-n))),o=i.restVelocity||t/10,l=i.clamp?0:i.bounce,u=!r.s.und(l),f=n==d?s.v0>0:n<d;let m,g=!1;const h=1,O=Math.ceil(e/h);for(let e=0;e<O&&(m=Math.abs(c)>o,m||(b=Math.abs(d-p)<=t,!b));++e){u&&(g=p==d||p>d==f,g&&(c=-c*l,p=d));c+=(1e-6*-i.tension*(p-d)+.001*-i.friction*c)/i.mass*h,p+=c*h}}else{let r=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,s.durationProgress>0&&(s.elapsedTime=i.duration*s.durationProgress,t=s.elapsedTime+=e)),r=(i.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,s.durationProgress=r),p=n+i.easing(r)*(d-n),c=(p-s.lastPosition)/e,b=1==r}s.lastVelocity=c,Number.isNaN(p)&&(console.warn("Got NaN while animating:",this),b=!0)}l&&!l[u].done&&(b=!1),b?s.done=!0:t=!1,s.setValue(p,i.round)&&(n=!0)});const s=Object(a.e)(this),u=s.getValue();if(t){const e=Object(r.q)(o.to);u===e&&!n||i.decay?n&&i.decay&&this._onChange(u):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(u)}set(e){return r.w.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(G(this)){const{to:e,config:t}=this.animation;r.w.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return r.s.und(e)?(n=this.queue||[],this.queue=[]):n=[r.s.obj(e)?e:i({},t,{to:e})],Promise.all(n.map(e=>this._update(e))).then(e=>T(this,e))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),D(this._state,e&&this._lastCallId),r.w.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:o}=e;n=r.s.obj(n)?n[t]:n,(null==n||O(n))&&(n=void 0),o=r.s.obj(o)?o[t]:o,null==o&&(o=void 0);const i={to:n,from:o};return U(this)||(e.reverse&&([n,o]=[o,n]),o=Object(r.q)(o),r.s.und(o)?Object(a.e)(this)||this._set(n):this._set(o)),i}_update(e,t){let n=i({},e);const{key:o,defaultProps:a}=this;n.default&&Object.assign(a,b(n,(e,t)=>/^on/.test(t)?s(e,o):e)),te(this,n,"onProps"),ne(this,"onProps",n,this);const c=this._prepareNode(n);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const l=this._state;return I(++this._lastCallId,{key:o,props:n,defaultProps:a,state:l,actions:{pause:()=>{$(this)||(Q(this,!0),Object(r.n)(l.pauseQueue),ne(this,"onPause",B(this,K(this,this.animation.to)),this))},resume:()=>{$(this)&&(Q(this,!1),G(this)&&this._resume(),Object(r.n)(l.resumeQueue),ne(this,"onResume",B(this,K(this,this.animation.to)),this))},start:this._merge.bind(this,c)}}).then(e=>{if(n.loop&&e.finished&&(!t||!e.noop)){const e=J(n);if(e)return this._update(e,!0)}return e})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(M(this));const o=!r.s.und(e.to),s=!r.s.und(e.from);if(o||s){if(!(t.callId>this._lastToId))return n(M(this));this._lastToId=t.callId}const{key:u,defaultProps:d,animation:b}=this,{to:p,from:f}=b;let{to:m=p,from:h=f}=e;!s||o||t.default&&!r.s.und(m)||(m=h),t.reverse&&([m,h]=[h,m]);const v=!Object(r.u)(h,f);v&&(b.from=h),h=Object(r.q)(h);const j=!Object(r.u)(m,p);j&&this._focus(m);const y=O(t.to),{config:_}=b,{decay:w,velocity:k}=_;(o||s)&&(_.velocity=0),t.config&&!y&&function(e,t,n){n&&(C(n=i({},n),t),t=i({},n,t)),C(e,t),Object.assign(e,t);for(const t in P)null==e[t]&&(e[t]=P[t]);let{mass:o,frequency:a,damping:c}=e;r.s.und(a)||(a<.01&&(a=.01),c<0&&(c=0),e.tension=Math.pow(2*Math.PI/a,2)*o,e.friction=4*Math.PI*c*o/a)}(_,c(t.config,u),t.config!==d.config?c(d.config,u):void 0);let E=Object(a.e)(this);if(!E||r.s.und(m))return n(B(this,!0));const S=r.s.und(t.reset)?s&&!t.default:!r.s.und(h)&&l(t.reset,u),x=S?h:this.get(),A=g(m),I=r.s.num(A)||r.s.arr(A)||Object(r.t)(A),T=!y&&(!I||l(d.immediate||t.immediate,u));if(j){const e=Object(a.f)(m);if(e!==E.constructor){if(!T)throw Error(`Cannot animate between ${E.constructor.name} and ${e.name}, as the "to" prop suggests`);E=this._set(A)}}const D=E.constructor;let N=Object(r.r)(m),z=!1;if(!N){const e=S||!U(this)&&v;(j||e)&&(z=Object(r.u)(g(x),A),N=!z),(Object(r.u)(b.immediate,T)||T)&&Object(r.u)(_.decay,w)&&Object(r.u)(_.velocity,k)||(N=!0)}if(z&&G(this)&&(b.changed&&!S?N=!0:N||this._stop(p)),!y&&((N||Object(r.r)(p))&&(b.values=E.getPayload(),b.toValues=Object(r.r)(m)?null:D==a.b?[1]:Object(r.y)(A)),b.immediate!=T&&(b.immediate=T,T||S||this._set(p)),N)){const{onRest:e}=b;Object(r.k)(ee,e=>te(this,t,e));const o=B(this,K(this,p));Object(r.n)(this._pendingCalls,o),this._pendingCalls.add(n),b.changed&&r.w.batchedUpdates(()=>{b.changed=!S,null==e||e(o,this),S?c(d.onRest,o):null==b.onStart||b.onStart(o,this)})}S&&this._set(x),y?n(F(t.to,t,this._state,this)):N?this._start():G(this)&&!j?this._pendingCalls.add(n):n(R(x))}_focus(e){const t=this.animation;e!==t.to&&(Object(r.p)(this)&&this._detach(),t.to=e,Object(r.p)(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Object(r.r)(t)&&(Object(r.c)(t,this),L(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Object(r.r)(e)&&Object(r.x)(e,this)}_set(e,t=!0){const n=Object(r.q)(e);if(!r.s.und(n)){const e=Object(a.e)(this);if(!e||!Object(r.u)(n,e.getValue())){const o=Object(a.f)(n);e&&e.constructor==o?e.setValue(n):Object(a.h)(this,o.create(n)),e&&r.w.batchedUpdates(()=>{this._onChange(n,t)})}}return Object(a.e)(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,ne(this,"onStart",B(this,K(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),c(this.animation.onChange,e,this)),c(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Object(a.e)(this).reset(Object(r.q)(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),G(this)||(W(this,!0),$(this)||this._resume())}_resume(){r.b.skipAnimation?this.finish():r.o.start(this)}_stop(e,t){if(G(this)){W(this,!1);const n=this.animation;Object(r.k)(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Object(r.d)(this,{type:"idle",parent:this});const o=t?M(this.get()):B(this.get(),K(this,null!=e?e:n.to));Object(r.n)(this._pendingCalls,o),n.changed&&(n.changed=!1,ne(this,"onRest",o,this))}}}function K(e,t){const n=g(t),o=g(e.get());return Object(r.u)(o,n)}function J(e,t=e.loop,n=e.to){let r=c(t);if(r){const o=!0!==r&&m(r),a=(o||e).reverse,c=!o||o.reset;return X(i({},e,{loop:t,default:!1,pause:void 0,to:!a||O(n)?n:void 0,from:c?e.from:void 0,reset:c},o))}}function X(e){const{to:t,from:n}=e=m(e),o=new Set;return r.s.obj(t)&&Y(t,o),r.s.obj(n)&&Y(n,o),e.keys=o.size?Array.from(o):null,e}function Y(e,t){Object(r.l)(e,(e,n)=>null!=e&&t.add(n))}const ee=["onStart","onRest","onChange","onPause","onResume"];function te(e,t,n){e.animation[n]=t[n]!==u(t,n)?s(t[n],e.key):void 0}function ne(e,t,...n){var r,o,a,i;null==(r=(o=e.animation)[t])||r.call(o,...n),null==(a=(i=e.defaultProps)[t])||a.call(i,...n)}const re=["onStart","onChange","onRest"];let oe=1;class ae{constructor(e,t){this.id=oe++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start(i({default:!0},e))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];r.s.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(X(e)),this}start(e){let{queue:t}=this;return e?t=Object(r.y)(e).map(X):this.queue=[],this._flush?this._flush(this,t):(de(this,t),ie(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;Object(r.k)(Object(r.y)(t),t=>n[t].stop(!!e))}else D(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(r.s.und(e))this.start({pause:!0});else{const t=this.springs;Object(r.k)(Object(r.y)(e),e=>t[e].pause())}return this}resume(e){if(r.s.und(e))this.start({pause:!1});else{const t=this.springs;Object(r.k)(Object(r.y)(e),e=>t[e].resume())}return this}each(e){Object(r.l)(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,o=this._active.size>0,a=this._changed.size>0;(o&&!this._started||a&&!this._started)&&(this._started=!0,Object(r.m)(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));const i=!o&&this._started,c=a||i&&n.size?this.get():null;a&&t.size&&Object(r.m)(t,([e,t])=>{t.value=c,e(t,this,this._item)}),i&&(this._started=!1,Object(r.m)(n,([e,t])=>{t.value=c,e(t,this,this._item)}))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}r.w.onFrame(this._onFrame)}}function ie(e,t){return Promise.all(t.map(t=>async function e(t,n,o){const{keys:a,to:i,from:c,loop:l,onRest:s,onResolve:d}=n,b=r.s.obj(n.default)&&n.default;l&&(n.loop=!1);!1===i&&(n.to=null);!1===c&&(n.from=null);const p=r.s.arr(i)||r.s.fun(i)?i:void 0;p?(n.to=void 0,n.onRest=void 0,b&&(b.onRest=void 0)):Object(r.k)(re,e=>{const o=n[e];if(r.s.fun(o)){const r=t._events[e];n[e]=({finished:e,cancelled:t})=>{const n=r.get(o);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):r.set(o,{value:null,finished:e||!1,cancelled:t||!1})},b&&(b[e]=n[e])}});const f=t._state;n.pause===!f.paused?(f.paused=n.pause,Object(r.n)(n.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(n.pause=!0);const m=(a||Object.keys(t.springs)).map(e=>t.springs[e].start(n)),g=!0===n.cancel||!0===u(n,"cancel");(p||g&&f.asyncId)&&m.push(I(++t._lastAsyncId,{props:n,state:f,actions:{pause:r.v,resume:r.v,start(e,n){g?(D(f,t._lastAsyncId),n(M(t))):(e.onRest=s,n(F(p,e,f,t)))}}}));f.paused&&await new Promise(e=>{f.resumeQueue.add(e)});const h=T(t,await Promise.all(m));if(l&&h.finished&&(!o||!h.noop)){const r=J(n,l,i);if(r)return de(t,[r]),e(t,r,!0)}d&&r.w.batchedUpdates(()=>d(h,t,t.item));return h}(e,t))).then(t=>T(e,t))}function ce(e,t){const n=i({},e.springs);return t&&Object(r.k)(Object(r.y)(t),e=>{r.s.und(e.keys)&&(e=X(e)),r.s.obj(e.to)||(e=i({},e,{to:void 0})),ue(n,e,e=>se(e))}),le(e,n),n}function le(e,t){Object(r.l)(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,Object(r.c)(t,e))})}function se(e,t){const n=new Z;return n.key=e,t&&Object(r.c)(n,t),n}function ue(e,t,n){t.keys&&Object(r.k)(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function de(e,t){Object(r.k)(t,t=>{ue(e.springs,t,t=>se(t,e))})}function be(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}const pe=["children"],fe=e=>{let{children:t}=e,n=be(e,pe);const a=Object(o.useContext)(me),i=n.pause||!!a.pause,c=n.immediate||!!a.immediate;n=Object(r.B)(()=>({pause:i,immediate:c}),[i,c]);const{Provider:l}=me;return o.createElement(l,{value:n},t)},me=(ge=fe,he={},Object.assign(ge,o.createContext(he)),ge.Provider._context=ge,ge.Consumer._context=ge,ge);var ge,he;fe.Provider=me.Provider,fe.Consumer=me.Consumer;const Oe=()=>{const e=[],t=function(t){Object(r.i)();const o=[];return Object(r.k)(e,(e,a)=>{if(r.s.und(t))o.push(e.start());else{const r=n(t,e,a);r&&o.push(e.start(r))}}),o};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return Object(r.k)(e,e=>e.pause(...arguments)),this},t.resume=function(){return Object(r.k)(e,e=>e.resume(...arguments)),this},t.set=function(t){Object(r.k)(e,e=>e.set(t))},t.start=function(t){const n=[];return Object(r.k)(e,(e,o)=>{if(r.s.und(t))n.push(e.start());else{const r=this._getProps(t,e,o);r&&n.push(e.start(r))}}),n},t.stop=function(){return Object(r.k)(e,e=>e.stop(...arguments)),this},t.update=function(t){return Object(r.k)(e,(e,n)=>e.update(this._getProps(t,e,n))),this};const n=function(e,t,n){return r.s.fun(e)?e(n,t):e};return t._getProps=n,t};let ve;function je(e,t,n){const a=r.s.fun(t)&&t,{reset:l,sort:s,trail:u=0,expires:d=!0,exitBeforeEnter:p=!1,onDestroyed:f,ref:g,config:O}=a?a():t,y=Object(o.useMemo)(()=>a||3==arguments.length?Oe():void 0,[]),_=Object(r.y)(e),w=[],k=Object(o.useRef)(null),E=l?null:k.current;Object(r.A)(()=>{k.current=w}),Object(r.C)(()=>()=>{Object(r.k)(k.current,e=>{e.expired&&clearTimeout(e.expirationId),v(e.ctrl,y),e.ctrl.stop(!0)})});const P=_e(_,a?a():t,E),S=l&&k.current||[];Object(r.A)(()=>Object(r.k)(S,({ctrl:e,item:t,key:n})=>{v(e,y),c(f,t,n)}));const C=[];if(E&&Object(r.k)(E,(e,t)=>{e.expired?(clearTimeout(e.expirationId),S.push(e)):~(t=C[t]=P.indexOf(e.key))&&(w[t]=e)}),Object(r.k)(_,(e,t)=>{w[t]||(w[t]={key:P[t],item:e,phase:ve.MOUNT,ctrl:new ae},w[t].ctrl.item=e)}),C.length){let e=-1;const{leave:n}=a?a():t;Object(r.k)(C,(t,r)=>{const o=E[r];~t?(e=w.indexOf(o),w[e]=i({},o,{item:_[t]})):n&&w.splice(++e,0,o)})}r.s.fun(s)&&w.sort((e,t)=>s(e.item,t.item));let x=-u;const A=Object(r.z)(),I=b(t),T=new Map,R=Object(o.useRef)(new Map),B=Object(o.useRef)(!1);Object(r.k)(w,(e,n)=>{const o=e.key,l=e.phase,s=a?a():t;let b,f,h=c(s.delay||0,o);if(l==ve.MOUNT)b=s.enter,f=ve.ENTER;else{const e=P.indexOf(o)<0;if(l!=ve.LEAVE)if(e)b=s.leave,f=ve.LEAVE;else{if(!(b=s.update))return;f=ve.UPDATE}else{if(e)return;b=s.enter,f=ve.ENTER}}if(b=c(b,e.item,n),b=r.s.obj(b)?m(b):{to:b},!b.config){const t=O||I.config;b.config=c(t,e.item,n,f)}x+=u;const v=i({},I,{delay:h+x,ref:g,immediate:s.immediate,reset:!1},b);if(f==ve.ENTER&&r.s.und(v.from)){const o=a?a():t,i=r.s.und(o.initial)||E?o.from:o.initial;v.from=c(i,e.item,n)}const{onResolve:j}=v;v.onResolve=e=>{c(j,e);const t=k.current,n=t.find(e=>e.key===o);if(n&&(!e.cancelled||n.phase==ve.UPDATE)&&n.ctrl.idle){const e=t.every(e=>e.ctrl.idle);if(n.phase==ve.LEAVE){const t=c(d,n.item);if(!1!==t){const r=!0===t?0:t;if(n.expired=!0,!e&&r>0)return void(r<=2147483647&&(n.expirationId=setTimeout(A,r)))}}e&&t.some(e=>e.expired)&&(R.current.delete(n),p&&(B.current=!0),A())}};const y=ce(e.ctrl,v);f===ve.LEAVE&&p?R.current.set(e,{phase:f,springs:y,payload:v}):T.set(e,{phase:f,springs:y,payload:v})});const M=Object(o.useContext)(fe),F=Object(r.D)(M),D=M!==F&&h(M);Object(r.A)(()=>{D&&Object(r.k)(w,e=>{e.ctrl.start({default:M})})},[M]),Object(r.k)(T,(e,t)=>{if(R.current.size){const e=w.findIndex(e=>e.key===t.key);w.splice(e,1)}}),Object(r.A)(()=>{Object(r.k)(R.current.size?R.current:T,({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,null==y||y.add(r),D&&e==ve.ENTER&&r.start({default:M}),t&&(j(r,t.ref),r.ref&&!B.current?r.update(t):(r.start(t),B.current&&(B.current=!1)))})},l?void 0:n);const N=e=>o.createElement(o.Fragment,null,w.map((t,n)=>{const{springs:a}=T.get(t)||t.ctrl,c=e(i({},a),t.item,t,n);return c&&c.type?o.createElement(c.type,i({},c.props,{key:r.s.str(t.key)||r.s.num(t.key)?t.key:t.ctrl.id,ref:c.ref})):c}));return y?[N,y]:N}!function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"}(ve||(ve={}));let ye=1;function _e(e,{key:t,keys:n=t},o){if(null===n){const t=new Set;return e.map(e=>{const n=o&&o.find(n=>n.item===e&&n.phase!==ve.LEAVE&&!t.has(n));return n?(t.add(n),n.key):ye++})}return r.s.und(n)?e:r.s.fun(n)?e.map(n):Object(r.y)(n)}class we extends q{constructor(e,t){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=e,this.calc=Object(r.f)(...t);const n=this._get(),o=Object(a.f)(n);Object(a.h)(this,o.create(n))}advance(e){const t=this._get(),n=this.get();Object(r.u)(t,n)||(Object(a.e)(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Ee(this._active)&&Pe(this)}_get(){const e=r.s.arr(this.source)?this.source.map(r.q):Object(r.y)(Object(r.q)(this.source));return this.calc(...e)}_start(){this.idle&&!Ee(this._active)&&(this.idle=!1,Object(r.k)(Object(a.g)(this),e=>{e.done=!1}),r.b.skipAnimation?(r.w.batchedUpdates(()=>this.advance()),Pe(this)):r.o.start(this))}_attach(){let e=1;Object(r.k)(Object(r.y)(this.source),t=>{Object(r.r)(t)&&Object(r.c)(t,this),L(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){Object(r.k)(Object(r.y)(this.source),e=>{Object(r.r)(e)&&Object(r.x)(e,this)}),this._active.clear(),Pe(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=Object(r.y)(this.source).reduce((e,t)=>Math.max(e,(L(t)?t.priority:0)+1),0))}}function ke(e){return!1!==e.idle}function Ee(e){return!e.size||Array.from(e).every(ke)}function Pe(e){e.idle||(e.idle=!0,Object(r.k)(Object(a.g)(e),e=>{e.done=!0}),Object(r.d)(e,{type:"idle",parent:e}))}r.b.assign({createStringInterpolator:r.g,to:(e,t)=>new we(e,t)});r.o.advance},,function(e,t){e.exports=window.wp.dom},function(e,t){e.exports=window.wp.date},function(e,t,n){e.exports=function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}return function t(n,r){function o(t,o,a){if("undefined"!=typeof document){"number"==typeof(a=e({},r,a)).expires&&(a.expires=new Date(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var c in a)a[c]&&(i+="; "+c,!0!==a[c]&&(i+="="+a[c].split(";")[0]));return document.cookie=t+"="+n.write(o,t)+i}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],r={},o=0;o<t.length;o++){var a=t[o].split("="),i=a.slice(1).join("=");try{var c=decodeURIComponent(a[0]);if(r[c]=n.read(i,c),e===c)break}catch(e){}}return e?r[e]:r}},remove:function(t,n){o(t,"",e({},n,{expires:-1}))},withAttributes:function(n){return t(this.converter,e({},this.attributes,n))},withConverter:function(n){return t(e({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(n)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}()},,function(e,t,n){"use strict";n.d(t,"animated",(function(){return w}));var r=n(36);n.o(r,"useTransition")&&n.d(t,"useTransition",(function(){return r.useTransition}));var o=n(48),a=n(2),i=n(19);function c(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}const l=["style","children","scrollTop","scrollLeft"],s=/^--/;function u(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||s.test(e)||b.hasOwnProperty(e)&&b[e]?(""+t).trim():t+"px"}const d={};let b={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const p=["Webkit","Ms","Moz","O"];b=Object.keys(b).reduce((e,t)=>(p.forEach(n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t]),e),b);const f=["x","y","z"],m=/^(matrix|translate|scale|rotate|skew)/,g=/^(translate)/,h=/^(rotate|skew)/,O=(e,t)=>a.s.num(e)&&0!==e?e+t:e,v=(e,t)=>a.s.arr(e)?e.every(e=>v(e,t)):a.s.num(e)?e===t:parseFloat(e)===t;class j extends i.a{constructor(e){let{x:t,y:n,z:r}=e,o=c(e,f);const i=[],l=[];(t||n||r)&&(i.push([t||0,n||0,r||0]),l.push(e=>[`translate3d(${e.map(e=>O(e,"px")).join(",")})`,v(e,0)])),Object(a.l)(o,(e,t)=>{if("transform"===t)i.push([e||""]),l.push(e=>[e,""===e]);else if(m.test(t)){if(delete o[t],a.s.und(e))return;const n=g.test(t)?"px":h.test(t)?"deg":"";i.push(Object(a.y)(e)),l.push("rotate3d"===t?([e,t,r,o])=>[`rotate3d(${e},${t},${r},${O(o,n)})`,v(o,0)]:e=>[`${t}(${e.map(e=>O(e,n)).join(",")})`,v(e,t.startsWith("scale")?1:0)])}}),i.length&&(o.transform=new y(i,l)),super(o)}}class y extends a.a{constructor(e,t){super(),this._value=null,this.inputs=e,this.transforms=t}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return Object(a.k)(this.inputs,(n,r)=>{const o=Object(a.q)(n[0]),[i,c]=this.transforms[r](a.s.arr(o)?o:n.map(a.q));e+=" "+i,t=t&&c}),t?"none":e}observerAdded(e){1==e&&Object(a.k)(this.inputs,e=>Object(a.k)(e,e=>Object(a.r)(e)&&Object(a.c)(e,this)))}observerRemoved(e){0==e&&Object(a.k)(this.inputs,e=>Object(a.k)(e,e=>Object(a.r)(e)&&Object(a.x)(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),Object(a.d)(this,e)}}const _=["scrollTop","scrollLeft"];r.Globals.assign({batchedUpdates:o.unstable_batchedUpdates,createStringInterpolator:a.g,colors:a.e});const w=Object(i.d)(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,r=t,{style:o,children:a,scrollTop:i,scrollLeft:b}=r,p=c(r,l),f=Object.values(p),m=Object.keys(p).map(t=>n||e.hasAttribute(t)?t:d[t]||(d[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));void 0!==a&&(e.textContent=a);for(let t in o)if(o.hasOwnProperty(t)){const n=u(t,o[t]);s.test(t)?e.style.setProperty(t,n):e.style[t]=n}m.forEach((t,n)=>{e.setAttribute(t,f[n])}),void 0!==i&&(e.scrollTop=i),void 0!==b&&(e.scrollLeft=b)},createAnimatedStyle:e=>new j(e),getComponentProps:e=>c(e,_)}).animated},function(e,t){},function(e,t){},,function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.viewport},function(e,t){e.exports=window.ReactDOM},function(e,t,n){"use strict"; 7 7 /*! 8 8 * content-type 9 9 * Copyright(c) 2015 Douglas Christopher Wilson 10 10 * MIT Licensed 11 */var r=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,o=/^[\u000b\u0020-\u007e\u0080-\u00ff]+$/,a=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,i=/\\([\u000b\u0020-\u00ff])/g,c=/([\\"])/g,l=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;function s(e){var t=String(e);if(a.test(t))return t;if(t.length>0&&!o.test(t))throw new TypeError("invalid parameter value");return'"'+t.replace(c,"\\$1")+'"'}function u(e){this.parameters=Object.create(null),this.type=e}t.format=function(e){if(!e||"object"!=typeof e)throw new TypeError("argument obj is required");var t=e.parameters,n=e.type;if(!n||!l.test(n))throw new TypeError("invalid type");var r=n;if(t&&"object"==typeof t)for(var o,i=Object.keys(t).sort(),c=0;c<i.length;c++){if(o=i[c],!a.test(o))throw new TypeError("invalid parameter name");r+="; "+o+"="+s(t[o])}return r},t.parse=function(e){if(!e)throw new TypeError("argument string is required");var t="object"==typeof e?function(e){var t;"function"==typeof e.getHeader?t=e.getHeader("content-type"):"object"==typeof e.headers&&(t=e.headers&&e.headers["content-type"]);if("string"!=typeof t)throw new TypeError("content-type header is missing from object");return t}(e):e;if("string"!=typeof t)throw new TypeError("argument string is required to be a string");var n=t.indexOf(";"),o=-1!==n?t.substr(0,n).trim():t.trim();if(!l.test(o))throw new TypeError("invalid media type");var a=new u(o.toLowerCase());if(-1!==n){var c,s,d;for(r.lastIndex=n;s=r.exec(t);){if(s.index!==n)throw new TypeError("invalid parameter format");n+=s[0].length,c=s[1].toLowerCase(),'"'===(d=s[2])[0]&&(d=d.substr(1,d.length-2).replace(i,"$1")),a.parameters[c]=d}if(n!==t.length)throw new TypeError("invalid parameter format")}return a}},,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"AutocompleteTokenField",(function(){return g})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return R})),n.d(t,"CardFieldsPreview",(function(){return M})),n.d(t,"ControlsGroup",(function(){return F})),n.d(t,"ColorPicker",(function(){return W})),n.d(t,"DuotonePicker",(function(){return Q})),n.d(t,"FontSizePicker",(function(){return J})),n.d(t,"HeadingLevelIcon",(function(){return X})),n.d(t,"HeadingToolbar",(function(){return ee})),n.d(t,"ImageSelectControl",(function(){return ne})),n.d(t,"InnerBlocksPreview",(function(){return oe})),n.d(t,"Notice",(function(){return ce})),n.d(t,"ParametricGrid",(function(){return se})),n.d(t,"PresetControl",(function(){return be})),n.d(t,"SignalControl",(function(){return et})),n.d(t,"TextPlaceholder",(function(){return tt})),n.d(t,"ToggleGroup",(function(){return rt})),n.d(t,"VariationPicker",(function(){return at})),n.d(t,"withVisibility",(function(){return it})),n.d(t,"insertTemplate",(function(){return ct})),n.d(t,"getPlaceholderImages",(function(){return rn})),n.d(t,"normalizeImages",(function(){return cn})),n.d(t,"PostCardMedia",(function(){return On})),n.d(t,"PostCardLetter",(function(){return vn})),n.d(t,"PostCard",(function(){return jn})),n.d(t,"CardButton",(function(){return yn})),n.d(t,"CardTitle",(function(){return wn})),n.d(t,"CardSubtitle",(function(){return kn})),n.d(t,"CardMeta",(function(){return En})),n.d(t,"CardDescription",(function(){return Pn})),n.d(t,"CardFooter",(function(){return Sn})),n.d(t,"Card",(function(){return Cn})),n.d(t,"CardContentWrapper",(function(){return xn})),n.d(t,"CardMediaWrapper",(function(){return An})),n.d(t,"getSvg",(function(){return j})),n.d(t,"getIconSvg",(function(){return y})),n.d(t,"ControlsDrawerContent",(function(){return Qn})),n.d(t,"ControlsSection",(function(){return Wn})),n.d(t,"ControlsSections",(function(){return Gn})),n.d(t,"ControlsTab",(function(){return $n})),n.d(t,"Drawer",(function(){return rr})),n.d(t,"Drawers",(function(){return Zn})),n.d(t,"DrawerList",(function(){return Yn})),n.d(t,"DrawerPanel",(function(){return er})),n.d(t,"DrawerListBefore",(function(){return tr})),n.d(t,"DrawerListAfter",(function(){return nr})),n.d(t,"GalleryPreview",(function(){return cr})),n.d(t,"GalleryPlaceholder",(function(){return ir})),n.d(t,"useApiFetch",(function(){return ve})),n.d(t,"useAnimationFrame",(function(){return je})),n.d(t,"useBlockTopSpacingIsDisabled",(function(){return ye})),n.d(t,"useEffectDebugger",(function(){return Ee})),n.d(t,"useDidUpdateEffect",(function(){return Se})),n.d(t,"useInnerBlocks",(function(){return Ce})),n.d(t,"useInnerBlocksCount",(function(){return xe})),n.d(t,"useInnerBlocksLock",(function(){return Ae})),n.d(t,"useMemoryState",(function(){return Te})),n.d(t,"useMeta",(function(){return Fe})),n.d(t,"useOnScroll",(function(){return De})),n.d(t,"useResizeObserver",(function(){return Ne})),n.d(t,"useSupports",(function(){return ze})),n.d(t,"useSettings",(function(){return Le})),n.d(t,"useScrollContainer",(function(){return Ue})),n.d(t,"useScrollContainerBox",(function(){return Ge})),n.d(t,"useSelectParent",(function(){return $e})),n.d(t,"useTraceUpdate",(function(){return We})),n.d(t,"useVisibility",(function(){return Ze})),n.d(t,"useCustomDefaults",(function(){return Xe})),n.d(t,"setAttributesToInnerBlocks",(function(){return Ve})),n.d(t,"getEditorScrollContainer",(function(){return qe})),n.d(t,"getSupports",(function(){return He}));var r=n(18),o=n(21),a=n(22);function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}var l=n(4 5),s=n.n(l);function u(e,t){return!t||"object"!==s()(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=n(0),p=n(23),f=n(3);function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}var g=function(e){c(n,e);var t=m(n);function n(e){var r;return Object(o.a)(this,n),(r=t.call(this,e)).state={suggestions:[],validValues:{},loading:r.isFetchingInfoOnLoad()},r.debouncedUpdateSuggestions=Object(p.debounce)(r.updateSuggestions,500),r}return Object(a.a)(n,[{key:"isFetchingInfoOnLoad",value:function(){var e=this.props,t=e.tokens,n=e.fetchSavedInfo;return Boolean(t.length&&n)}},{key:"componentDidMount",value:function(){var e=this;if(this.isFetchingInfoOnLoad()){var t=this.props,n=t.tokens;(0,t.fetchSavedInfo)(n).then((function(t){var n=e.state.validValues;t.forEach((function(e){n[e.value]=e.label})),e.setState({validValues:n,loading:!1})}))}}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest,this.debouncedUpdateSuggestions.cancel()}},{key:"getLabelsForValues",value:function(e){var t=this.state.validValues;return e.reduce((function(e,n){return t[n]?[].concat(Object(r.a)(e),[t[n]]):e}),[])}},{key:"getValuesForLabels",value:function(e){var t=this.state.validValues;return e.map((function(e){return Object.keys(t).find((function(n){return t[n]===e}))}))}},{key:"updateSuggestions",value:function(e){var t=this,n=this.props.fetchSuggestions;n&&this.setState({loading:!0},(function(){var r=n(e);r.then((function(e){if(t.suggestionsRequest===r){var n=t.state.validValues,o=[];e.forEach((function(e){o.push(e.label),n[e.value]=e.label})),t.setState({suggestions:o,validValues:n,loading:!1})}})).catch((function(){t.suggestionsRequest===r&&t.setState({loading:!1})})),t.suggestionsRequest=r}))}},{key:"handleOnChange",value:function(e){(0,this.props.onChange)(this.getValuesForLabels(e))}},{key:"getTokens",value:function(){var e=this.props.tokens;return this.getLabelsForValues(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.help,r=t.label,o=void 0===r?"":r,a=this.state,i=a.suggestions,c=a.loading;return Object(b.createElement)("div",{className:"autocomplete-tokenfield"},Object(b.createElement)(f.FormTokenField,{value:this.getTokens(),suggestions:i,onChange:function(t){return e.handleOnChange(t)},onInputChange:function(t){return e.debouncedUpdateSuggestions(t)},label:o}),c&&Object(b.createElement)(f.Spinner,null),n&&Object(b.createElement)("p",{className:"autocomplete-tokenfield__help"},n))}}]),n}(b.Component),h=n(7),O=n(6),v=n(26),j=function(e){return null!=e&&e.viewBox&&null!=e&&e.id?Object(b.createElement)("svg",{className:"novablocks-icon",viewBox:e.viewBox},Object(b.createElement)("use",{className:"novablocks-icon-symbol",xlinkHref:"#".concat(e.id)})):""},y=function(e){var t=v.library[e];return j(t)},_=n(1),w=n(46),k=n(10),E=n(9);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var C=Object(b.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:function(){},clientId:null}).Consumer,x={top:{icon:y("alignTop"),title:Object(_.__)("Align Top","nova-blocks")},center:{icon:y("alignCenter"),title:Object(_.__)("Align Center","nova-blocks")},bottom:{icon:y("alignBottom"),title:Object(_.__)("Align Bottom","nova-blocks")}},A=["top","center","bottom"];var I,T,R=Object(E.compose)((I=function(e){return{clientId:e.clientId}},Object(E.createHigherOrderComponent)((function(e){return function(t){return Object(b.createElement)(C,null,(function(n){return Object(b.createElement)(e,Object(h.a)({},t,I(n,t)))}))}}),"withBlockEditContext")),Object(w.withViewportMatch)({isLargeViewport:"medium"}),Object(k.withSelect)((function(e,t){var n=t.clientId,r=t.isLargeViewport,o=t.isCollapsed,a=e("core/block-editor"),i=a.getBlockRootClientId,c=a.getSettings;return{isCollapsed:o||!r||!c().hasFixedToolbar&&i(n)}})))((function(e){var t=e.isCollapsed,n=e.value,r=e.onChange,o=e.controls,a=void 0===o?A:o,i=x[n],c=x.top;return Object(b.createElement)(f.ToolbarGroup,{label:Object(_.__)("Vertical Alignment","nova-blocks"),iscollapsed:t,icon:i?i.icon:c.icon,controls:a.map((function(e){return S(S({},x[e]),{},{isActive:n===e,onClick:(t=e,function(){return r(n===t?void 0:t)})});var t}))})})),B=n(37),M=function(e){var t=e.attributes,n=t.metaAboveTitle,r=t.title,o=t.subtitle,a=t.metaBelowTitle,i=t.description,c=t.showMeta,l=t.showTitle,s=t.showSubtitle,u=t.showDescription,d=t.buttonText,p=t.showButtons;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(En,Object(h.a)({},e,{show:c}),n),Object(b.createElement)(wn,Object(h.a)({},e,{show:l}),r),Object(b.createElement)(kn,Object(h.a)({},e,{show:s}),o),Object(b.createElement)(En,Object(h.a)({},e,{show:c}),a),Object(b.createElement)(Pn,Object(h.a)({},e,{show:u}),Object(B.__unstableStripHTML)(i)),Object(b.createElement)(Sn,Object(h.a)({},e,{show:p&&!!d}),Object(b.createElement)(yn,e,d)))},F=function(e){var t="novablocks-controls-group",n=b.Children.toArray(e.children);return e.className&&(t="".concat(t," ").concat(e.className)),n.length?Object(b.createElement)("div",{className:t},!!e.title&&Object(b.createElement)("div",{className:"novablocks-controls-group__title"},e.title),e.children):null},D=n(11),N=n.n(D),z=new Uint8Array(16);function L(){if(!T&&!(T="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return T(z)}var V=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var q=function(e){return"string"==typeof e&&V.test(e)},H=[],U=0;U<256;++U)H.push((U+256).toString(16).substr(1));var G=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(H[e[t+0]]+H[e[t+1]]+H[e[t+2]]+H[e[t+3]]+"-"+H[e[t+4]]+H[e[t+5]]+"-"+H[e[t+6]]+H[e[t+7]]+"-"+H[e[t+8]]+H[e[t+9]]+"-"+H[e[t+10]]+H[e[t+11]]+H[e[t+12]]+H[e[t+13]]+H[e[t+14]]+H[e[t+15]]).toLowerCase();if(!q(n))throw TypeError("Stringified UUID is invalid");return n};var $=function(e,t,n){var r=(e=e||{}).random||(e.rng||L)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return G(r)},W=function(e){var t=e.onChange,n=e.options,r=e.selected,o=e.favorite,a=o?"star":"tick";return Object(b.createElement)("div",{className:"components-base-control color-palette-picker"},Object(b.createElement)("div",{className:"color-palette-picker__palettes"},n.map((function(e,n){var i=e.value,c=(e.data,e.colors),l=$(),s="".concat(r)==="".concat(i),u=N()("color-palette-picker__color",{"color-palette-picker__color--favorite":s&&o});return Object(b.createElement)("button",{key:"color_palette_picker_palette_"+n,className:u,style:{color:c[0]},onClick:function(){t(i)}},Object(b.createElement)("svg",{className:"color-palette-picker__color-svg",width:"48",height:"48",viewBox:"0 0 48 48"},Object(b.createElement)("defs",null,Object(b.createElement)("linearGradient",{id:l,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},c.map((function(e,t,n){var r={stopColor:e,stopOpacity:1};return Object(b.createElement)(b.Fragment,{key:"color_palette_picker_palette_color_"+t},Object(b.createElement)("stop",{offset:"".concat(100*t/n.length,"%"),style:r}),Object(b.createElement)("stop",{offset:"".concat(100*(t+1)/n.length,"%"),style:r}))})))),Object(b.createElement)("circle",{className:"color-palette-picker__color-dash",stroke:"none",fill:"none",r:"20",cx:"24",cy:"24"}),Object(b.createElement)("circle",{className:"color-palette-picker__color-fill",fill:"url(#".concat(l,")"),r:"17",cx:"24",cy:"24"})),s&&Object(b.createElement)("div",{className:"color-palette-picker__tick",dangerouslySetInnerHTML:{__html:Object(v.getIcon)(a)}}))}))))},Q=function(e){var t=e.options;return Object(b.createElement)(W,Object(h.a)({label:"Duotones",options:t,onChange:function(e){},selected:1},e))},Z=[{value:"smallest",label:Object(_.__)("Smallest","nova-blocks")},{value:"smaller",label:Object(_.__)("Smaller","nova-blocks")},{value:"normal",label:Object(_.__)("Normal","nova-blocks")},{value:"larger",label:Object(_.__)("Larger","nova-blocks")},{value:"largest",label:Object(_.__)("Largest","nova-blocks")}],K=function(e){return Object(b.createElement)(f.SelectControl,Object(h.a)({label:Object(_.__)("Font Size","nova-blocks"),options:Z},e))};K.DEFAULT_FONT_SIZE="normal",K.FONT_SIZE_OPTIONS=Z;var J=K;function X(e){var t=e.level,n=e.isPressed,r=void 0!==n&&n,o={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return o.hasOwnProperty(t)?Object(b.createElement)(f.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:r},Object(b.createElement)(f.Path,{d:o[t]})):null}function Y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}var ee=function(e){c(n,e);var t=Y(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n,[{key:"createLevelControl",value:function(e,t,n){var r=e===t;return{icon:Object(b.createElement)(X,{level:e,isPressed:r}),title:Object(_.sprintf)(Object(_.__)("Heading %d"),e),isActive:r,onClick:function(){return n(e)}}}},{key:"render",value:function(){var e=this,t=this.props,n=t.minLevel,r=t.maxLevel,o=t.selectedLevel,a=t.onChange;return Object(b.createElement)(f.ToolbarGroup,{icon:Object(b.createElement)(X,{level:o}),controls:Object(p.range)(n,r).map((function(t){return e.createLevelControl(t,o,a)}))})}}]),n}(b.Component),te=n(12),ne=function(e){var t=Object(b.useState)(a),n=Object(te.a)(t,2),r=(n[0],n[1]),o=e.options,a=e.selected,i="function"==typeof e.onChange?e.onChange:function(){};return Object(b.createElement)("div",{className:"components-base-control components-image-select-control"},o.map((function(e){return Object(b.createElement)("div",{key:e.slug,role:"button","aria-label":e.label,onClick:function(){r(e.slug),i(e.slug)},className:N()("components-image-select-control__option",{"components-image-select-control__option--selected":e.slug===a})},Object(b.createElement)("div",{className:"components-image-select-control__image"},Object(b.createElement)("img",{src:e.src,alt:e.label})),Object(b.createElement)("div",{className:"components-image-select-control__label"},e.label))})))},re=n(24),oe=function(e){var t=e.clientId;return Ce(t).map((function(e){return Object(re.getSaveElement)(e.name,e.attributes,e.innerBlocks)}))},ae=n(39),ie=n.n(ae),ce=function(e){var t=e.id,n=e.content,r=e.dismissLabel,o=Object(b.useState)(ie.a.get(t)),a=Object(te.a)(o,2),i=a[0],c=a[1];return i?null:Object(b.createElement)("div",{className:"novablocks-notice"},n,void 0!==r&&Object(b.createElement)(f.Button,{isPrimary:!0,onClick:function(){ie.a.set(t,!0,{expires:365}),c(!0)}},r))},le=n(4),se=function(e){var t=e.attributes,n=e.getContent,r=e.cardsCount,o=e.className,a=Object(le.applyLayoutEngine)(t),i=0;return Object(le.redistributeCardsInAreas)(a,r,t),Object(b.createElement)("div",{className:o,style:Object(le.getGridStyle)(t),key:"parametric_grid"},!!a&&a.map((function(r,o){var a=r.areas,c=r.row,l=r.col,s={gridColumnStart:l,gridColumnEnd:l+r.width,gridRowStart:c,gridRowEnd:c+r.height};return Object(b.createElement)("div",{className:"nb-grid__column",style:s,key:"parametric_grid_column_"+o},a.map((function(r,a){return i+=r.postsCount,!!r.postsCount&&Object(b.createElement)("div",{className:Object(le.getParametricLayoutAreaClassName)(r,t),key:"parametric_grid_column_"+o+"_area_"+a},Array.from(Array(r.postsCount).keys()).map((function(o){var a=Object(le.isLandscape)(r,t);return n(i-r.postsCount+o,e,a)})))})))})))},ue=function(e,t){var n={},r=t.find((function(t){return e===t.value}));return r&&r.preset&&(n=Object.assign(r.preset,n)),n},de=function(e,t){var n=e.filter((function(e){var n=e.preset;return Object.keys(n).every((function(e){return n[e]===t[e]}))}));return n.length?n[0].value:null},be=function(e){var t=e.label,n=e.options,r=e.randomize,o=e.attributes,a=e.setAttributes,i=Object(b.useCallback)((function(){return"function"==typeof r?r():{}}),[r]),c=Object(b.useMemo)((function(){var e=Array.isArray(n)?n.slice():[];return void 0!==r&&e.push({label:"Just My Style™",value:"just-my-style",preset:{}}),e}),[n,r]),l=Object(b.useMemo)((function(){return de(c,o)}),[c,o]),s=Object(b.useCallback)((function(e){if("just-my-style"!==e){var t=ue(e,c);a(t)}else a(Object.assign({},i()))}),[c]);return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(f.RadioControl,{label:t,options:c.map((function(e){return{label:e.label,value:e.value}})),selected:l,onChange:s}),"just-my-style"===l&&Object(b.createElement)("div",{key:"advanced-gallery-surprise-control"},Object(b.createElement)(f.Button,{isPrimary:!0,onClick:function(){a(i())}},Object(_.__)("💡 Surprise me!","nova-blocks"))))};function pe(e,t,n,r,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function fe(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){pe(a,r,o,i,c,"next",e)}function c(e){pe(a,r,o,i,c,"throw",e)}i(void 0)}))}}var me=n(28),ge=n.n(me),he=wp.apiFetch,Oe={},ve=function(e){var t=Object(b.useState)([]),n=Object(te.a)(t,2),r=n[0],o=n[1];return Object(b.useEffect)((function(){e&&function(){var t=fe(ge.a.mark((function t(){return ge.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Oe[e]){t.next=4;break}return t.next=3,he({path:e});case 3:Oe[e]=t.sent;case 4:o(Oe[e]);case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()()}),[e]),{data:r}},je=function(e){var t=Object(b.useRef)(),n=Object(b.useRef)(),r=function r(o){if(n.current){var a=o-n.current;e(a)}n.current=o,t.current=requestAnimationFrame(r)};Object(b.useEffect)((function(){return t.current=requestAnimationFrame(r),function(){return cancelAnimationFrame(t.current)}}),[])},ye=function(e){var t=Object(k.useSelect)("core/block-editor"),n=t.getBlockParents,r=t.getBlock,o=t.getClientIdsWithDescendants,a=n(e).slice(),i=o();return Object(b.useMemo)((function(){if(a.length){var t=r(a[a.length-1]).innerBlocks;if(t.length&&t[0].clientId===e)return!0}return e===i[0]}),[e,i])};function _e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function we(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ke=function(e,t){var n=Object(b.useRef)(t);return Object(b.useEffect)((function(){n.current=e})),n.current},Ee=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=ke(t,[]),o=t.reduce((function(e,t,o){if(t!==r[o]){var a=n[o]||o;return we(we({},e),{},Object(O.a)({},a,{before:r[o],after:t}))}return e}),{});Object.keys(o).length&&console.log("[use-effect-debugger] ",o),Object(b.useEffect)(e,t)},Pe=n(15),Se=function(e,t){var n=Object(Pe.useRef)(!1);Object(Pe.useEffect)((function(){n.current?e():n.current=!0}),t)},Ce=function(e){return Object(k.useSelect)((function(t){var n;return(null===(n=t("core/block-editor").getBlock(e))||void 0===n?void 0:n.innerBlocks)||[]}),[e])},xe=function(e,t,n,r){var o=Object(k.useSelect)((function(t){return t("core/block-editor").getBlockCount(e)}),[e]),a=Object(k.useDispatch)("core/block-editor").replaceInnerBlocks,i=Ce(e);return Object(b.useEffect)((function(){var c=i.slice(0,t);if(t>o)for(var l=0;l<t-o;l++)c.push(Object(re.createBlock)(n,r));a(e,c)}),[t])},Ae=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Object(k.useDispatch)("core/block-editor"),a=o.updateBlockAttributes,i=Ce(e);return Object(b.useEffect)((function(){i.forEach((function(e){r&&e.name!==r||a(e.clientId,{lock:t})}))}),[n])},Ie={},Te=function(e,t){var n=Object(b.useState)((function(){return Object.prototype.hasOwnProperty.call(Ie,e)?Ie[e]:"function"==typeof t?t():t})),r=Object(te.a)(n,2),o=r[0],a=r[1];return[o,function(t){Ie[e]=t,a(t)}]},Re=n(30);function Be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Fe=function(e){var t=function(){},n=Object(k.useSelect)((function(e){var t;return null===(t=e("core/editor"))||void 0===t?void 0:t.getCurrentPostType()}),[]);if(!n)return[null,t];var r=Object(Re.useEntityProp)("postType",n,"meta"),o=Object(te.a)(r,2),a=o[0],i=o[1];return a?[a[e],Object(b.useCallback)((function(t){i(Me(Me({},a),{},Object(O.a)({},e,t)))}),[a])]:[null,t]},De=function(e,t){Object(b.useEffect)((function(){return e&&e.addEventListener("scroll",t),function(){e&&e.removeEventListener("scroll",t)}}),[e])},Ne=function(){var e=Object(b.useState)({}),t=Object(te.a)(e,2),n=t[0],r=t[1],o=Object(b.useState)(null),a=Object(te.a)(o,2),i=a[0],c=a[1],l=Object(b.useRef)(null),s=Object(b.useCallback)((function(){var e=l.current;e&&e.disconnect()}),[]),u=Object(b.useCallback)((function(){l.current=new window.ResizeObserver((function(e){var t=Object(te.a)(e,1)[0];return r(t)})),i&&l.current.observe(i)}),[i]);return Object(b.useLayoutEffect)((function(){return u(),function(){return s()}}),[s,u]),[c,n]},ze=function(e){return Object(k.useSelect)((function(t){return t("core/blocks").getBlockType(e).supports}),[e])},Le=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"novablocks",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object(k.useSelect)((function(t){return t(e).getSettings()}),t)},Ve=function(e,t){var n=Object(k.select)("core/block-editor").getBlock,r=Object(k.dispatch)("core/block-editor").updateBlockAttributes;n(e).innerBlocks.forEach((function(e){r(e.clientId,t)}))},qe=function(){return document.querySelector(".edit-post-layout__content")||document.querySelector(".edit-post-editor-regions__content")||document.querySelector(".block-editor-editor-skeleton__content")||document.querySelector(".interface-interface-skeleton__content")},He=function(e){return Object(k.select)("core/blocks").getBlockType(e).supports},Ue=function(){var e=Object(b.useState)(null),t=Object(te.a)(e,2),n=t[0],r=t[1];return Object(b.useEffect)((function(){r(qe())}),[]),n},Ge=function(e){var t=Object(b.useState)(null),n=Object(te.a)(t,2),r=n[0],o=n[1],a=Ne(),i=Object(te.a)(a,2),c=i[0],l=i[1],s=Object(b.useCallback)((function(){o(e.getBoundingClientRect())}),[e]);return Object(b.useEffect)((function(){e&&c(e)}),[e]),Object(b.useEffect)((function(){e&&o(e.getBoundingClientRect())}),[l]),Object(b.useEffect)((function(){return e&&e.addEventListener("scroll",s),function(){e&&e.removeEventListener("scroll",s)}}),[]),r},$e=function(e,t){var n=e.clientId,r=e.isSelected,o=Object(k.useDispatch)("core/block-editor"),a=o.selectBlock,i=o.clearSelectedBlock,c=Object(k.useSelect)((function(e){return e("core/block-editor").getBlockParents(n).slice()}),[n]);return Object(b.useEffect)((function(){r&&c.length&&(void 0===t||t)&&i().then((function(){a(c[c.length-1])}))}),[r,t])},We=function(e){var t=Object(b.useRef)(e);Object(b.useEffect)((function(){var n=Object.entries(e).reduce((function(e,n){var r=Object(te.a)(n,2),o=r[0],a=r[1];return t.current[o]!==a&&(e[o]=[t.current[o],a]),e}),{});Object.keys(n).length>0&&console.log("Changed props:",n),t.current=e}))},Qe=Object(b.createContext)("ControlsVisibility"),Ze=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Object(b.useContext)(Qe),r=n[e],o=void 0===r&&t;return!(!o&&!0!==r)};function Ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Xe=function(e,t,n){var r=t.defaultsGenerated,o=Object(k.useDispatch)("core/block-editor").updateBlockAttributes;return Object(b.useEffect)((function(){r||n(t).then((function(t){o(e,Je(Je({},t),{},{defaultsGenerated:!0}))}))}),[e,r])},Ye=["None","Low","Medium","High"],et=function(e){var t,n,r,o,a,i,c,l,s,u=e.label,d=e.signal,p=e.onChange||function(){},m=e.labels||Ye,g=ze(e.name),h=Math.min(null!==(t=null==g||null===(n=g.novaBlocks)||void 0===n||null===(r=n.colorSignal)||void 0===r?void 0:r.maxColorSignal)&&void 0!==t?t:3,null!==(o=null==e?void 0:e.max)&&void 0!==o?o:3),v=Math.max(null!==(a=null==g||null===(i=g.novaBlocks)||void 0===i||null===(c=i.colorSignal)||void 0===c?void 0:c.minColorSignal)&&void 0!==a?a:0,null!==(l=null==e?void 0:e.min)&&void 0!==l?l:0),j=m[d],y=N()("nb-signal-icon",(s={},Object(O.a)(s,"nb-signal-icon--none",0===d),Object(O.a)(s,"nb-signal-icon--low",1===d),Object(O.a)(s,"nb-signal-icon--medium",2===d),Object(O.a)(s,"nb-signal-icon--high",3===d),s));return Object(b.createElement)("div",{className:"components-base-control components-nb-signal-control"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("div",{className:"components-base-control__label"},u),Object(b.createElement)("div",{className:"components-nb-signal-control__root"},Object(b.createElement)("div",{className:"nb-signal"},Object(b.createElement)("div",{className:y},Object(b.createElement)("div",{className:"nb-signal-icon__bar"}),Object(b.createElement)("div",{className:"nb-signal-icon__bar"}),Object(b.createElement)("div",{className:"nb-signal-icon__bar"})),Object(b.createElement)("div",{className:"nb-signal__text"},Object(b.createElement)("div",{className:"nb-signal-icon-label"},"Level"),Object(b.createElement)("div",{className:"nb-signal__value-label"},j)),Object(b.createElement)("div",{className:"nb-signal__controls"},Object(b.createElement)(f.Button,{isSecondary:!0,disabled:d<=v,onClick:function(){p(d-1)}},Object(b.createElement)(f.Icon,{icon:"minus"})),Object(b.createElement)(f.Button,{isSecondary:!0,disabled:d>=h,onClick:function(){p(d+1)}},Object(b.createElement)(f.Icon,{icon:"plus"})))))))},tt=function(e){var t=e.rows||2,n=Array.from(Array(t).keys());return Object(b.createElement)("div",{className:"novablocks-text-placeholder"},n.map((function(e,t){var r=t===n.length-1?Object(le.getRandomBetween)(6,12):Object(le.getRandomBetween)(17,20),o={width:"".concat(5*r,"%")};return Object(b.createElement)("div",{key:"text_placeholder_"+t,className:"novablocks-text-placeholder__row",style:o})})))},nt=n(34),rt=function(e){var t=e.toggles,n="function"==typeof e.onChange?e.onChange:function(){},r=Object(b.useState)((function(){return new WeakMap})),o=Object(te.a)(r,1)[0],a=t.filter((function(e){return!!e.value})),i=t.filter((function(e){return!e.value})),c={initial:{left:0},from:{opacity:0,height:0,left:40},enter:function(e){return function(){var t=fe(ge.a.mark((function t(n){var r;return ge.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=o.get(e),t.next=3,n({opacity:1,left:0,height:r.offsetHeight});case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},leave:function(e){return function(){var e=fe(ge.a.mark((function e(t,n){return ge.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({opacity:0,height:0,left:40});case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()},keys:function(e){return e.attribute}},l=Object(nt.useTransition)(a,c),s=Object(nt.useTransition)(i,c),u=Object(b.useCallback)((function(e){return function(t){"function"==typeof e.onChange&&e.onChange(t),n(Object(O.a)({},e.attribute,t))}}),[]);return Object(b.createElement)("div",{className:"components-toggle-group__panel",key:"toggle-group-controls"},Object(b.createElement)("div",{className:"components-toggle-group"},!!a.length&&Object(b.createElement)("div",{className:"components-toggle-group__toggle-list components-toggle-group__toggle-list--enabled"},l((function(e,t,n){var r=n.key;return Object(b.createElement)(nt.animated.div,{key:r,style:e,className:"components-toggle-group__toggle-list-animated"},Object(b.createElement)("div",{ref:function(e){return e&&o.set(t,e)}},Object(b.createElement)("div",{className:"components-toggle-group__toggle-list-item"},Object(b.createElement)(f.ToggleControl,{label:t.label,checked:!!t.value,onChange:u(t)}))))}))),!!i.length&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)("label",{className:"components-toggle-group__toggle-list-label"},"Elements you aren't using"),Object(b.createElement)("div",{className:"components-toggle-group__toggle-list components-toggle-group__toggle-list--disabled"},s((function(e,t,n){var r=n.key;return Object(b.createElement)(nt.animated.div,{key:r,style:e,className:"components-toggle-group__toggle-list-animated"},Object(b.createElement)("div",{ref:function(e){return e&&o.set(t,e)}},Object(b.createElement)("div",{className:"components-toggle-group__toggle-list-item"},Object(b.createElement)(f.ToggleControl,{label:t.label,checked:!!t.value,onChange:u(t)}))))}))))))},ot=n(16),at=function(e){var t,n=e.setAttributes,r=e.clientId,o=e.name,a=Object(k.useSelect)((function(e){var t=e("core/blocks"),n=t.getBlockType,r=t.getBlockVariations,a=t.getDefaultBlockVariation;return{blockType:n(o),variations:r(o),defaultVariation:a(o)}}),[o]),i=a.blockType,c=a.variations,l=a.defaultVariation,s=Object(k.useDispatch)("core/block-editor").replaceInnerBlocks,u=Object(b.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l;n(e.attributes),e.innerBlocks&&s(r,Object(re.createBlocksFromInnerBlocksTemplate)(e.innerBlocks))}),[l]);return Object(b.createElement)(ot.__experimentalBlockVariationPicker,{icon:null==i||null===(t=i.icon)||void 0===t?void 0:t.src,label:null==i?void 0:i.title,instructions:Object(_.__)("Select a variation to start with.","nova-blocks"),variations:c,onSelect:u,allowSkip:!0})},it=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(n){return function(r){var o=Object(b.useContext)(Qe)[e];return void 0===o&&t||!0===o?Object(b.createElement)(n,r):null}}},ct=function(e,t){var n=Object(k.select)("core/block-editor"),r=n.getBlocksByClientId,o=n.getClientIdsWithDescendants,a=Object(k.dispatch)("core/block-editor"),i=a.replaceInnerBlocks,c=a.updateBlockAttributes,l=o(),s=!1;return Object(k.subscribe)((function(){var n=o(),a=n.filter((function(e){return!l.includes(e)}));n!==l&&a.length&&(s?(l=n,r(a).map((function(n){var r;n.name!==e||n.attributes.templateInserted||null!==(r=n.innerBlocks)&&void 0!==r&&r.length||(i(n.clientId,Object(re.createBlocksFromInnerBlocksTemplate)(t)),c(n.clientId,{templateInserted:!0}))}))):s=!0)}))},lt=n(48);function st(){return(st=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ut(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var dt=pt((function(e){return"string"==typeof e?e:null})),bt=function(e){return null!=e};function pt(e){return function(t){return bt(e(t))}}var ft=function(e){return Object.keys(e).reduce((function(t,n){var r,o=e[n];return st({},t,bt(o)?((r={})[n]=o,r):{})}),{})};function mt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.length-1;return function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];for(var a=t[0].apply(this,n),i=1;i<=r;i++)a=t[i].call(this,a);return a}}var gt,ht,Ot=pt((function(e){return bt(e)&&"object"==typeof e&&!Array.isArray(e)?e:null})),vt=pt((function(e){return Array.isArray(e)&&e.every(dt)&&e.length>0?e:null})),jt=pt((function(e){return Ot(e)&&"errors"in e&&vt(e.errors)?{errors:e.errors}:null})),yt=function(e){this.message=e},_t=function(e){if(function(e){var t=e.headers.get("content-type");return bt(t)&&"application/json"===Object(lt.parse)(t).type}(e))return e.json().catch((function(e){throw new yt("unable to parse JSON response.")}));throw new yt("expected JSON response from server.")},wt=function(e){return function(t){return(t.ok?e({response:t}).then((function(e){return{type:"success",status:t.status,response:e,originalResponse:t}})):_t(t).then((function(e){return st({type:"error",status:t.status},function(e){return jt(e)?{errors:e.errors,source:"api"}:{errors:["Responded with a status code outside the 2xx range, and the response body is not recognisable."],source:"decoding"}}(e),{originalResponse:t})}))).catch((function(e){if(e instanceof yt)return{type:"error",source:"decoding",status:t.status,originalResponse:t,errors:[e.message]};throw e}))}},kt=function(){return function(e){var t=e.response;return _t(t)}},Et=function(e){var t=e.pathname,n=e.query;return function(e){var r=new URL(e);return function(e){return function(t){"/"===t.pathname?t.pathname=e:t.pathname+=e}}(t)(r),function(e){return function(t){Object.keys(e).forEach((function(n){return t.searchParams.set(n,e[n].toString())}))}}(n)(r),r.toString()}},Pt=function(e){return function(t,n){void 0===n&&(n={});var r=e(t),o=r.headers,a=r.query;return st({},ut(r,["headers","query"]),n,{query:a,headers:st({},o,n.headers)})}},St=function(e){return e},Ct=function(e){var t=e.accessKey,n=e.apiVersion,r=void 0===n?"v1":n,o=e.apiUrl,a=void 0===o?"https://api.unsplash.com":o,i=e.headers,c=e.fetch,l=ut(e,["accessKey","apiVersion","apiUrl","headers","fetch"]);return function(e){var n=e.handleResponse;return mt(e.handleRequest,(function(e){var o=e.pathname,s=e.query,u=e.method,d=void 0===u?"GET":u,b=e.headers,p=e.body,f=e.signal,m=Et({pathname:o,query:s})(a),g=st({method:d,headers:st({},i,b,{"Accept-Version":r},bt(t)?{Authorization:"Client-ID "+t}:{}),body:p,signal:f},l);return(null!=c?c:fetch)(m,g).then(wt(n))}))}},xt=function(e){var t=e.headers.get("x-total");if(bt(t)){var n=parseInt(t);if(Number.isInteger(n))return n;throw new yt("expected x-total header to be valid integer.")}throw new yt("expected x-total header to exist.")},At=function(){return function(e){var t=e.response;return kt()({response:t}).then((function(e){return{results:e,total:xt(t)}}))}},It=function(e){return bt(e)?{collections:e.join()}:{}},Tt=function(e){return bt(e)?{topics:e.join()}:{}},Rt=function(e){var t=e.page,n=e.perPage,r=e.orderBy;return ft({per_page:n,order_by:r,page:t})},Bt=function(){var e=function(e){return"/collections/"+e.collectionId+"/photos"};return{getPathname:e,handleRequest:Pt((function(t){var n=t.collectionId,r=t.orientation,o=ut(t,["collectionId","orientation"]);return{pathname:e({collectionId:n}),query:ft(st({},Rt(o),{orientation:r}))}})),handleResponse:At()}}(),Mt=function(){var e=function(e){return"/collections/"+e.collectionId};return{getPathname:e,handleRequest:Pt((function(t){var n=t.collectionId;return{pathname:e({collectionId:n}),query:{}}})),handleResponse:kt()}}(),Ft=function(){var e=function(){return"/collections"};return{getPathname:e,handleRequest:Pt((function(e){return void 0===e&&(e={}),{pathname:"/collections",query:Rt(e)}})),handleResponse:At()}}(),Dt=function(){var e=function(e){return"/collections/"+e.collectionId+"/related"};return{getPathname:e,handleRequest:Pt((function(t){var n=t.collectionId;return{pathname:e({collectionId:n}),query:{}}})),handleResponse:kt()}}(),Nt=function(){return{getPathname:function(e){return"/photos"},handleRequest:Pt((function(e){return void 0===e&&(e={}),{pathname:"/photos",query:ft(Rt(e))}})),handleResponse:At()}}(),zt=function(){var e=function(e){return"/photos/"+e.photoId};return{getPathname:e,handleRequest:Pt((function(t){var n=t.photoId;return{pathname:e({photoId:n}),query:{}}})),handleResponse:kt()}}(),Lt=function(){var e=function(e){return"/photos/"+e.photoId+"/statistics"};return{getPathname:e,handleRequest:Pt((function(t){var n=t.photoId;return{pathname:e({photoId:n}),query:{}}})),handleResponse:kt()}}(),Vt=function(){var e=function(){return"/photos/random"};return{getPathname:e,handleRequest:Pt((function(e){var t=void 0===e?{}:e,n=t.collectionIds,r=t.contentFilter,o=t.topicIds,a=ut(t,["collectionIds","contentFilter","topicIds"]);return{pathname:"/photos/random",query:ft(st({},a,{content_filter:r},It(n),Tt(o))),headers:{"cache-control":"no-cache"}}})),handleResponse:kt()}}(),qt={handleRequest:Pt((function(e){var t=function(e){var t=new URL(e),n=t.pathname;return{query:function(e){var t={};return e.forEach((function(e,n){t[n]=e})),t}(t.searchParams),pathname:"/"===n?void 0:n}}(e.downloadLocation),n=t.pathname,r=t.query;if(!bt(n))throw new Error("Could not parse pathname from url.");return{pathname:n,query:ft(r)}})),handleResponse:kt()},Ht=function(){return{getPathname:function(e){return"/search/photos"},handleRequest:Pt((function(e){var t=e.query,n=e.page,r=e.perPage,o=e.orderBy,a=e.collectionIds,i=e.lang,c=e.contentFilter,l=ut(e,["query","page","perPage","orderBy","collectionIds","lang","contentFilter"]);return{pathname:"/search/photos",query:ft(st({query:t,content_filter:c,lang:i,order_by:o},Rt({page:n,perPage:r}),It(a),l))}})),handleResponse:kt()}}(),Ut=function(){return{getPathname:function(e){return"/search/collections"},handleRequest:Pt((function(e){var t=e.query,n=ut(e,["query"]);return{pathname:"/search/collections",query:st({query:t},Rt(n))}})),handleResponse:kt()}}(),Gt=function(){return{getPathname:function(e){return"/search/users"},handleRequest:Pt((function(e){var t=e.query,n=ut(e,["query"]);return{pathname:"/search/users",query:st({query:t},Rt(n))}})),handleResponse:kt()}}(),$t=function(){var e=function(e){return"/users/"+e.username};return{getPathname:e,handleRequest:Pt((function(t){var n=t.username;return{pathname:e({username:n}),query:{}}})),handleResponse:kt()}}(),Wt=function(){var e=function(e){return"/users/"+e.username+"/photos"};return{getPathname:e,handleRequest:Pt((function(t){var n=t.username,r=t.stats,o=t.orientation,a=ut(t,["username","stats","orientation"]);return{pathname:e({username:n}),query:ft(st({},Rt(a),{orientation:o,stats:r}))}})),handleResponse:At()}}(),Qt=function(){var e=function(e){return"/users/"+e.username+"/likes"};return{getPathname:e,handleRequest:Pt((function(t){var n=t.username,r=t.orientation,o=ut(t,["username","orientation"]);return{pathname:e({username:n}),query:ft(st({},Rt(o),{orientation:r}))}})),handleResponse:At()}}(),Zt=function(){var e=function(e){return"/users/"+e.username+"/collections"};return{getPathname:e,handleRequest:Pt((function(t){var n=t.username,r=ut(t,["username"]);return{pathname:e({username:n}),query:Rt(r)}})),handleResponse:At()}}(),Kt=function(e){return"/topics/"+e.topicIdOrSlug},Jt=St({getPathname:Kt,handleRequest:function(e){var t=e.page,n=e.perPage,r=e.orderBy,o=e.topicIdsOrSlugs;return{pathname:"/topics",query:ft(st({},Rt({page:t,perPage:n}),{ids:null==o?void 0:o.join(","),order_by:r}))}},handleResponse:At()}),Xt=St({getPathname:Kt,handleRequest:function(e){var t=e.topicIdOrSlug;return{pathname:Kt({topicIdOrSlug:t}),query:{}}},handleResponse:kt()}),Yt=function(){var e=mt(Kt,(function(e){return e+"/photos"}));return{getPathname:e,handleRequest:function(t){var n=t.topicIdOrSlug,r=t.orientation,o=ut(t,["topicIdOrSlug","orientation"]);return{pathname:e({topicIdOrSlug:n}),query:ft(st({},Rt(o),{orientation:r}))}},handleResponse:At()}}();!function(e){e.Afrikaans="af",e.Amharic="am",e.Arabic="ar",e.Azerbaijani="az",e.Belarusian="be",e.Bulgarian="bg",e.Bengali="bn",e.Bosnian="bs",e.Catalan="ca",e.Cebuano="ceb",e.Corsican="co",e.Czech="cs",e.Welsh="cy",e.Danish="da",e.German="de",e.Greek="el",e.English="en",e.Esperanto="eo",e.Spanish="es",e.Estonian="et",e.Basque="eu",e.Persian="fa",e.Finnish="fi",e.French="fr",e.Frisian="fy",e.Irish="ga",e.ScotsGaelic="gd",e.Galician="gl",e.Gujarati="gu",e.Hausa="ha",e.Hawaiian="haw",e.Hindi="hi",e.Hmong="hmn",e.Croatian="hr",e.HaitianCreole="ht",e.Hungarian="hu",e.Armenian="hy",e.Indonesian="id",e.Igbo="ig",e.Icelandic="is",e.Italian="it",e.Hebrew="iw",e.Japanese="ja",e.Javanese="jw",e.Georgian="ka",e.Kazakh="kk",e.Khmer="km",e.Kannada="kn",e.Korean="ko",e.Kurdish="ku",e.Kyrgyz="ky",e.Latin="la",e.Luxembourgish="lb",e.Lao="lo",e.Lithuanian="lt",e.Latvian="lv",e.Malagasy="mg",e.Maori="mi",e.Macedonian="mk",e.Malayalam="ml",e.Mongolian="mn",e.Marathi="mr",e.Malay="ms",e.Maltese="mt",e.Myanmar="my",e.Nepali="ne",e.Dutch="nl",e.Norwegian="no",e.Nyanja="ny",e.Oriya="or",e.Punjabi="pa",e.Polish="pl",e.Pashto="ps",e.Portuguese="pt",e.Romanian="ro",e.Russian="ru",e.Kinyarwanda="rw",e.Sindhi="sd",e.Sinhala="si",e.Slovak="sk",e.Slovenian="sl",e.Samoan="sm",e.Shona="sn",e.Somali="so",e.Albanian="sq",e.Serbian="sr",e.Sesotho="st",e.Sundanese="su",e.Swedish="sv",e.Swahili="sw",e.Tamil="ta",e.Telugu="te",e.Tajik="tg",e.Thai="th",e.Turkmen="tk",e.Filipino="tl",e.Turkish="tr",e.Tatar="tt",e.Uighur="ug",e.Ukrainian="uk",e.Urdu="ur",e.Uzbek="uz",e.Vietnamese="vi",e.Xhosa="xh",e.Yiddish="yi",e.Yoruba="yo",e.ChineseSimplified="zh",e.ChineseTraditional="zh-TW",e.Zulu="zu"}(gt||(gt={})),function(e){e.LATEST="latest",e.POPULAR="popular",e.VIEWS="views",e.DOWNLOADS="downloads",e.OLDEST="oldest"}(ht||(ht={}));var en=mt(Ct,(function(e){return{photos:{get:e(zt),list:e(Nt),getStats:e(Lt),getRandom:e(Vt),trackDownload:e(qt)},users:{getPhotos:e(Wt),getCollections:e(Zt),getLikes:e(Qt),get:e($t)},search:{getCollections:e(Ut),getPhotos:e(Ht),getUsers:e(Gt)},collections:{getPhotos:e(Bt),get:e(Mt),list:e(Ft),getRelated:e(Dt)},topics:{list:e(Jt),get:e(Xt),getPhotos:e(Yt)}}})),tn=encodeURI("utm_source=".concat("Nova Blocks","&utm_medium=referral")),nn=new(function(){function e(){Object(o.a)(this,e),this.fetchedImages=!1,this.images=[]}return Object(a.a)(e,[{key:"fetch",value:function(){var e,t,n,r=this,o=this.normalize.bind(this),a=null===(e=window)||void 0===e||null===(t=e.pixcare)||void 0===t||null===(n=t.themeConfig)||void 0===n?void 0:n.unsplashApiKey;return a?(this.api=en({accessKey:a}),this.api.collections.getPhotos({collectionId:"10606015"}).then((function(e){if(!e.errors){var t=e.response,n=t.results;t.total;return r.images=n.map(o),r.images}console.log("error occurred: ",e.errors[0])})).finally((function(){r.fetchedImages=!0}))):(this.fetchedImages=!0,[])}},{key:"get",value:function(){return this.fetchedImages?this.images:this.fetch()}},{key:"normalize",value:function(e){var t=this;return{id:e.id,url:e.urls.regular,type:"image",width:e.width,height:e.height,sizes:{full:{url:e.urls.full,width:e.width,height:e.height},large:{url:e.urls.regular},medium:{url:e.urls.small},thumbnail:{url:e.urls.thumb},novablocks_huge:{url:e.urls.regular},novablocks_large:{url:e.urls.regular},novablocks_medium:{url:e.urls.small},novablocks_tiny:{url:e.urls.thumb}},title:e.description,caption:'<p class="credits">Photo by <a target="_blank" href="'.concat(e.user.links.html,"?").concat(tn,'">').concat(e.user.name,'</a> on <a target="_blank" href="https://unsplash.com?').concat(tn,'">Unsplash</a></p>'),download:function(){t.api.photos.trackDownload({downloadLocation:e.links.download_location})}}}}]),e}()),rn=nn.get.bind(nn),on=n(25),an=n.n(on),cn=function(e){var t=e.map((function(e){return an()({path:"/wp/v2/media/".concat(e.id)}).then((function(t){var n;return Object.assign({},e,{description:null==t||null===(n=t.description)||void 0===n?void 0:n.raw})}))}));return Promise.all(t)},ln=n(38),sn=function(e){var t=e.userId,n=Object(b.useState)(),r=Object(te.a)(n,2),o=r[0],a=r[1];return Object(b.useEffect)((function(){if(t){var n=t;an()({path:"/wp/v2/users/".concat(e.id)}).then((function(e){n===t&&a(e)}))}}),[t]),t&&void 0!==o&&(null==o?void 0:o.name)||""},un=function(e){var t=e.termId,n=e.postType,r=Object(b.useState)(),o=Object(te.a)(r,2),a=o[0],i=o[1];return Object(b.useEffect)((function(){if(t){var e=t,r="/wp/v2/categories/".concat(t);switch(n){case"product":r="/wp/v2/product_cat/".concat(t);break;case"portfolio":r="/wp/v2/portfolio_type/".concat(t);break;case"gallery":r="/wp/v2/gallery_type/".concat(t)}an()({path:r}).then((function(n){e===t&&i(n)}))}}),[t]),t&&void 0!==a&&(null==a?void 0:a.name)||""},dn=n(31),bn=function(e){var t=e.postId,n=Object(b.useState)(),r=Object(te.a)(n,2),o=r[0],a=r[1];return Object(b.useEffect)((function(){if(t){var e=t;an()({path:Object(dn.addQueryArgs)("/wp/v2/comments",{post:t}),parse:!1}).then((function(n){e===t&&a(n.headers.get("X-WP-Total"))}))}}),[t]),t&&void 0!==o?o?"".concat(o," Comment").concat(o>1?"s":""):Object(_.__)("No Comments","nova-blocks"):""},pn=function(e){var t=e.termIds,n=e.postType,r=Object(b.useState)(),o=Object(te.a)(r,2),a=o[0],i=o[1];return Object(b.useEffect)((function(){if(t){var e=t.join(","),r="/wp/v2/tags";switch(n){case"product":r="/wp/v2/product_tag";break;case"portfolio":r="/wp/v2/portfolio_tag";break;case"gallery":r="/wp/v2/gallery_tag"}an()({path:Object(dn.addQueryArgs)(r,{page:1,per_page:10,include:t})}).then((function(n){e===t.join(",")&&i(n)}))}}),[t]),t&&void 0!==a&&a.length&&a.map((function(e){return e.name})).join(", ")||""},fn=function(e){var t,n=12,r=0,o=0,a=null===(t=e.post)||void 0===t?void 0:t.content.rendered,i=a.replace(/(<([^>]+)>)/gi,"").split(" ").filter((function(e){return""!=e})).length,c=Math.floor(i/(250/60)),l=a.match(/<img\s[^>]+>/g),s=a.match(/<iframe\s[^>]+>/g);if(null!==l)for(var u=l.length,d=0;d<u;d++)r+=n,n>3&&n--;null!==s&&(o=60*s.length);var b=Math.ceil((c+r+o)/60);return b<1&&(b=1),Object(_.sprintf)(Object(_.__)("%s min read","nova-blocks"),b)},mn=function(e,t){var n,r,o,a,i,c,l,s;switch(t){case"author":return(null==e?void 0:e.author)&&Object(b.createElement)(sn,{userId:e.author});case"category":var u=0;switch(e.type){case"product":null!=e&&null!==(n=e.product_cat)&&void 0!==n&&n.length&&(u=e.product_cat[0]);break;case"portfolio":null!=e&&null!==(r=e.portfolio_type)&&void 0!==r&&r.length&&(u=e.portfolio_type[0]);break;case"gallery":null!=e&&null!==(o=e.gallery_type)&&void 0!==o&&o.length&&(u=e.gallery_type[0]);break;case"testimonial":break;default:null!=e&&null!==(a=e.categories)&&void 0!==a&&a.length&&(u=e.categories[0])}return!!u&&Object(b.createElement)(un,{termId:u,postType:e.type});case"comments":return!(null==e||!e.id)&&Object(b.createElement)(bn,{postId:e.id});case"date":var d=Object(ln.__experimentalGetSettings)().formats.date;return!(null==e||!e.date_gmt)&&Object(b.createElement)("time",{dateTime:Object(ln.format)("c",e.date_gmt)},Object(ln.dateI18n)(d,e.date_gmt));case"tags":var p=[];switch(e.type){case"product":null!=e&&null!==(i=e.product_tag)&&void 0!==i&&i.length&&(p=e.product_tag);break;case"portfolio":null!=e&&null!==(c=e.portfolio_tag)&&void 0!==c&&c.length&&(p=e.portfolio_tag);break;case"gallery":null!=e&&null!==(l=e.gallery_tag)&&void 0!==l&&l.length&&(p=e.gallery_tag);break;case"testimonial":break;default:null!=e&&null!==(s=e.tags)&&void 0!==s&&s.length&&(p=e.tags)}return!!p&&Object(b.createElement)(pn,{termIds:p,postType:e.type});case"reading-time":return Object(b.createElement)(fn,{post:e});default:return null}},gn=function(e){var t,n,r,o,a,i,c,l,s,u,d,b;return{type:null==e?void 0:e.media_type,width:(null==e||null===(t=e.media_details)||void 0===t||null===(n=t.sizes)||void 0===n||null===(r=n.novablocks_large)||void 0===r?void 0:r.width)||(null==e||null===(o=e.media_details)||void 0===o?void 0:o.width),height:(null==e||null===(a=e.media_details)||void 0===a||null===(i=a.sizes)||void 0===i||null===(c=i.novablocks_large)||void 0===c?void 0:c.height)||(null==e||null===(l=e.media_details)||void 0===l?void 0:l.height),url:(null==e||null===(s=e.media_details)||void 0===s||null===(u=s.sizes)||void 0===u||null===(d=u.novablocks_large)||void 0===d?void 0:d.source_url)||(null==e?void 0:e.source_url),alt:(null==e||null===(b=e.media_details)||void 0===b?void 0:b.alt)||(null==e?void 0:e.alt)||""}},hn=Object(k.withSelect)((function(e,t){var n=e("core").getMedia,r=t.post,o=t.attributes.showMedia,a=r.featured_media;if(!a||!o)return null;var i=n(a);return i?{media:gn(i)}:null})),On=function(e){var t=e.media;return t?Object(b.createElement)("img",{className:"nb-supernova-item__media",src:t.url,width:t.width,height:t.height,alt:null==t?void 0:t.alt}):null},vn=function(e){var t,n=e.post,r=(null==n||null===(t=n.title)||void 0===t?void 0:t.raw)||"",o=Object(b.useRef)(null);return r?(Object(b.useEffect)((function(){o.current&&Object(le.resizeDropcap)(o.current)}),[o]),Object(b.createElement)("div",{className:"nb-supernova-item__dropcap-wrapper sm-variation-11"},Object(b.createElement)("span",{className:"nb-supernova-item__dropcap",ref:o},r.substring(0,1)))):null},jn=hn((function(e){var t,n,r=e.attributes,o=e.post,a=r.showMeta,i=r.showTitle,c=r.showDescription,l=r.showButtons,s=r.showMedia,u=function(e){var t,n,r,o=e.attributes,a=o.metadataPosition,i=o.primaryMetadata,c=o.secondaryMetadata,l=e.post,s=mn(l,i),u=mn(l,c);switch(t=s&&u?Object(b.createElement)(b.Fragment,null,Object(b.createElement)("span",{className:"nb-card__meta--primary",key:"card_meta_primary_post_"+l.id},s),Object(b.createElement)("span",{className:"nb-card__meta-separator",key:"card_meta_separator_post_"+l.id}),Object(b.createElement)("span",{className:"nb-card__meta--secondary",key:"card_meta_secondary_post_"+l.id},u)):s||u,a){case"above-title":n=t;break;case"below-title":r=t;break;case"split":n=s,r=u}return{metaAboveTitle:n,metaBelowTitle:r}}(e),d=u.metaAboveTitle,p=u.metaBelowTitle,f=e.Media||On;return Object(b.createElement)(Cn,Object(h.a)({},e,{key:"card_post_"+o.id}),s&&e.media&&Object(b.createElement)(An,Object(h.a)({},e,{key:"card_post_mediawrapper_"+o.id}),Object(b.createElement)(vn,e),Object(b.createElement)(f,Object(h.a)({},e,{key:"card_post_media_"+o.id}))),Object(b.createElement)("div",{className:"nb-supernova-item__inner-container",key:"card_post_innercontainer_"+o.id},Object(b.createElement)(En,{show:a,key:"card_post_metaabovetitle_"+o.id},d),Object(b.createElement)(wn,{show:i,attributes:r,key:"card_post_title_"+o.id},(null==o||null===(t=o.title)||void 0===t?void 0:t.raw)||""),Object(b.createElement)(En,{show:a,key:"card_post_metabelowtitle_"+o.id},p),Object(b.createElement)(Pn,{show:c,key:"card_post_description_"+o.id},Object(B.__unstableStripHTML)((null==o||null===(n=o.excerpt)||void 0===n?void 0:n.rendered)||"")),Object(b.createElement)(Sn,{show:l,key:"card_post_footer_"+o.id},Object(b.createElement)(yn,Object(h.a)({},e,{key:"card_post_footer_button_"+o.id}),Object(_.__)("Read More","nova-blocks")))))})),yn=function(e){var t=e.attributes,n=e.children,r=t.buttonsStyle,o=Object(b.useMemo)((function(){var e=Object(le.getAlignFromMatrix)(null==t?void 0:t.contentPosition),n={justifyContent:"center"};return"left"===e[1]&&(n.justifyContent="flex-start"),"right"===e[1]&&(n.justifyContent="flex-end"),n}),[t]);return Object(b.createElement)("div",{className:"wp-block-buttons",style:o},Object(b.createElement)("div",{className:"wp-block-button is-style-".concat(r," sm-color-signal-1 sm-palette-1 sm-palette--shifted sm-variation-1 sm-light"),"data-palette":"1","data-palette-variation":"1","data-color-signal":"1","data-use-source-color-as-reference":"true"},Object(b.createElement)("a",{className:"wp-block-button__link"},n)))},_n=function(e){return function(t){var n=t.show,r=t.placeholder;return n||r?Object(b.createElement)(e,t):null}},wn=_n((function(e){var t=e.attributes,n=e.placeholder,r=e.children,o="h".concat(null==t?void 0:t.cardTitleLevel),a="has-".concat(null==t?void 0:t.cardTitleFontSize,"-font-size");return Object(b.createElement)(o,{className:"nb-card__title ".concat(a)},n?Object(b.createElement)(tt,null):r)})),kn=_n((function(e){var t=e.attributes,n=e.placeholder,r=e.children,o=t.cardTitleLevel,a="h".concat(o+1);return Object(b.createElement)(a,{className:"nb-card__subtitle"},n?Object(b.createElement)(tt,null):r)})),En=_n((function(e){var t=e.placeholder,n=e.children;return t||n?Object(b.createElement)("div",{className:"nb-card__meta is-style-meta"},t?Object(b.createElement)(tt,{rows:1}):n):null})),Pn=_n((function(e){var t=e.placeholder,n=e.children;return Object(b.createElement)("p",{className:"nb-card__description"},t?Object(b.createElement)(tt,{rows:3}):n)})),Sn=_n((function(e){var t=e.placeholder,n=e.children;return Object(b.createElement)("div",{className:"nb-card__buttons"},t?Object(b.createElement)(tt,{rows:1}):n)})),Cn=function(e){var t=e.media,n=e.attributes,r=n.cardLayout,o=n.thumbnailAspectRatioString,a=n.layoutStyle,i=n.columns,c=n.scrollingEffect,l=N()("nb-supernova-item","nb-supernova-item--layout-".concat(r),"nb-supernova-item--scrolling-effect-".concat(c),"nb-supernova-item--aspect-ratio-".concat(o),Object(le.getColorSignalClassnames)(n,!0)),s=["horizontal","horizontal-reverse"].includes(r),u=N()(l,"nb-grid__area--".concat(s?"landscape":"portrait"),Object(le.getAreaClassnameByWidthRatio)(1/i)),d="parametric"!==a?u:l,p=b.Children.toArray(e.children),f=p.filter((function(e){return e.type===An})),m=p.filter((function(e){return e.type!==An&&e.type!==xn}));return Object(b.createElement)("div",{className:d,style:e.style},!f.length&&t&&Object(b.createElement)(An,Object(h.a)({media:t},e)),!!f.length&&f,Object(b.createElement)(xn,e,m))},xn=function(e){var t=e.attributes,n=Object(le.getAlignFromMatrix)(null==t?void 0:t.contentPosition),r=N()("nb-supernova-item__content","nb-supernova-item__content--valign-".concat(n[0]),"nb-supernova-item__content--halign-".concat(n[1]));return Object(b.createElement)("div",{className:r},e.children)},An=function(e){return Object(b.createElement)("div",{className:"nb-supernova-item__media-wrapper"},Object(b.createElement)("div",{className:"nb-supernova-item__media-aspect-ratio"},e.children))};function In(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?In(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):In(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Rn=function(e,t){if(void 0===e)return t;if(void 0===t)return e;var n=Array.isArray(e)?e:[e],r=Array.isArray(t)?t:[t];return n.concat(r)},Bn=Object(f.createSlotFill)("ControlsSections"),Mn=Bn.Slot,Fn=Bn.Fill,Dn=Object(f.createSlotFill)("DrawerContent"),Nn=Dn.Slot,zn=Dn.Fill,Ln=function(e){return Object(b.createElement)("div",{className:"novablocks-sections__cube"},Object(b.createElement)("div",{className:"novablocks-sections__cube-face novablocks-sections__cube-face--top"}),Object(b.createElement)("div",{className:"novablocks-sections__cube-face novablocks-sections__cube-face--left"}),Object(b.createElement)("div",{className:"novablocks-sections__cube-face novablocks-sections__cube-face--right"}))},Vn=["rgb(142,101,192)","rgb(0,202,182)","rgb(222,22,81)"],qn=function(e){var t=e.title,n=e.tabs,r=e.goBack,o=e.updateHeight;if(!n.length)return null;var a=Te("activeTab",n[0].props.label),i=Object(te.a)(a,2),c=i[0],l=i[1],s=Object(b.useMemo)((function(){return n.some((function(e){return c===e.props.label}))}),[n,c]);Object(b.useEffect)((function(){s||l(n[0].props.label)}),[s]);var u,d=n.findIndex((function(e){return e.props.label===c})),p=n[d],f=(u=c,Object(_.__)("Presets","nova-blocks")===u?Vn[0]:Object(_.__)("Customize","nova-blocks")===u?Vn[1]:Vn[2]);return Object(b.useLayoutEffect)(o,[c]),Object(b.createElement)("div",{className:"novablocks-section__controls",style:{"--nb-section-controls-accent":f}},Object(b.createElement)("div",{className:"novablocks-sections__controls-header"},Object(b.createElement)("div",{className:"novablocks-sections__controls-back",onClick:r,key:"tabs-back-button"}),Object(b.createElement)("div",{className:"novablocks-sections__controls-title",key:"tabs-title"},t),Object(b.createElement)(Ln,null)),n.length>1&&Object(b.createElement)("div",{className:"novablocks-sections__tabs"},n.map((function(e,t){var n=e.props.label,r=function(e,t){return N()("novablocks-sections__tab",{"novablocks-sections__tab--active":t===e})}(n,c);return Object(b.createElement)("div",{className:r,onClick:function(){l(n)},key:Object(dn.cleanForSlug)(n)+"_section_tab_"+t},n)}))),Object(b.createElement)(Hn,Object(h.a)({activeTab:p},e)))},Hn=function(e){var t=e.activeTab,n=e.updateHeight,r=Ne(),o=Object(te.a)(r,2),a=o[0],i=o[1];return Object(b.useLayoutEffect)(n,[i]),Object(b.createElement)("div",{className:"novablocks-sections__tab-content",ref:a},!!t&&t.props.children)},Un=function(e){var t=e.sections,n=Object(b.useMemo)((function(){return document.querySelector(".block-editor-block-inspector__advanced")}),[]),r=Object(b.useMemo)((function(){return!!n&&n.parentNode})),o=Object(b.useContext)(Qe);r&&r.style.setProperty("transition","opacity .3s ease-out");var a=Object(b.useCallback)((function(){null!=r&&r.style&&(r.style.setProperty("opacity",1),requestAnimationFrame((function(){r.style.setProperty("opacity",0)})))}),[r]),i=Object(b.useCallback)((function(){null!=r&&r.style&&(r.addEventListener("transitionend",(function(){r.style.removeProperty("height")}),{once:!0}),r.style.setProperty("opacity",1))}),[r]),c=Object(p.groupBy)(t,(function(e){return e.props.group?e.props.group:""}));return Object(b.createElement)("div",{className:"novablocks-sections"},Object(b.createElement)(Zn,{onOpen:a,onClose:i},Object(b.createElement)(tr,null,Object(b.createElement)("div",{className:"novablocks-sections__header"},Object(b.createElement)("div",{className:"novablocks-sections__title"},Object(_.__)("Design Customization","nova-blocks")),Object(b.createElement)(Ln,null))),Object.keys(c).sort().map((function(e){var t=c[e];return Object(b.createElement)(Yn,{title:e,key:"drawer_"+e},t.map((function(t,n){var r=t.props,o=r.id,a=r.label,i=r.order;return Object(b.createElement)(rr,{key:"drawer_"+e+"_section_"+o,id:o,title:a,order:i})})))})),Object.keys(c).sort().map((function(e){return c[e].map((function(t,n){var r=t.props,a=r.children,i=(r.label,b.Children.toArray(a).filter((function(e){var t,n=null==e||null===(t=e.props)||void 0===t?void 0:t.id,r=!0;return n&&void 0!==o[n]&&(r=o[n]),e.type===$n&&r}))),c=Object(p.orderBy)(i,(function(e){return e.props.priority||0}),["desc"]),l=Object(p.groupBy)(c,(function(e){return e.props.label})),s=Object.keys(l).map((function(e){return{props:{label:e,children:l[e].reduce((function(e,t){return e.concat(b.Children.toArray(t.props.children))}),[])}}}));return Object(b.createElement)(er,{key:"drawer_panel_"+e+"_"+n,id:t.props.id},Object(b.createElement)(qn,{title:t.props.label,tabs:s}))}))})),Object(b.createElement)(nr,null,Object(b.createElement)(Nn,null))))},Gn=function(e){return Object(b.createElement)(Mn,null,(function(e){var t=function(e){var t=[];return e.forEach((function(e){var n=t.findIndex((function(t){return t.props.id===e[0].props.id}));-1===n?t.push({props:e[0].props}):t.splice(n,1,{props:Tn(Tn({},t[n].props),{},{children:Rn(t[n].props.children,e[0].props.children)})})})),t}(e);return t.length?Object(b.createElement)(Un,{sections:t}):null}))},$n=function(e){return Object(b.createElement)("div",{label:e.label},e.children)},Wn=function(e){var t=Object(ot.useBlockEditContext)().isSelected;return Object(b.createElement)(Fn,null,t&&Object(b.createElement)("div",e))},Qn=function(e){var t=Object(ot.useBlockEditContext)().isSelected;return Object(b.createElement)(zn,null,t&&Object(b.createElement)("div",e))},Zn=function(e){var t=e.children,n=b.Children.toArray(t),r=n.filter((function(e){return e.type===Yn})),o=n.filter((function(e){return e.type===er})),a=t.filter((function(e){return e.type===tr})),i=Te("drawerOpen",!1),c=Object(te.a)(i,2),l=c[0],s=c[1],u=Te("drawerActiveId",!1),d=Object(te.a)(u,2),f=d[0],m=d[1],g=Te("drawerHeight",0),O=Object(te.a)(g,2),v=O[0],j=O[1],y=Object(b.useMemo)((function(){return r.some((function(e){return Xn(e).some((function(e){var t;return(null==e||null===(t=e.props)||void 0===t?void 0:t.id)===f}))}))}),[r]);Object(b.useEffect)((function(){y||s(!1)}),[y]);var _=Object(b.useRef)(null),w=Object(b.useState)((function(){return new WeakMap})),k=Object(te.a)(w,1)[0],E=function(){},P="function"==typeof e.onOpen?e.onOpen:E,S="function"==typeof e.onClose?e.onClose:E,C=function(){var e,t,n=_.current?_.current.clientHeight:0,r=(e=o.find((function(e){return e.props.id===f})),(t=k.get(e))?t.clientHeight:0);j(l?r:n)};Object(b.useEffect)(C,[l]);var x=l?"translate3d(-100%,0,0)":"translate3d(0%,0,0)";return Object(b.createElement)("div",{className:"novablocks-drawers",style:{height:v}},Object(b.createElement)("div",{className:"novablocks-drawers__wrap",style:{transform:x}},Object(b.createElement)("div",{className:"novablocks-drawers__front",ref:_},a,r.map((function(e,t){var n,r=Xn(e),o=null==e||null===(n=e.props)||void 0===n?void 0:n.title;r.length;var a=Object(p.orderBy)(r,(function(e){return e.props.order||100}),["asc"]);return Object(b.createElement)("div",{className:"novablocks-drawers__list",key:"drawer_list_".concat(t)},o&&Object(b.createElement)("div",{className:"novablocks-drawers__list-title"},o),a.map((function(e,n){var r=e.props,o=r.id;return Object(b.createElement)(rr,Object(h.a)({},r,{key:"drawer_".concat(t,"-").concat(n),onClick:function(){m(o),s(!0),P()}}))})))}))),o.map((function(e,t){var n=N()("novablocks-drawers__panel",{"novablocks-drawers__panel--hidden":f!==e.props.id});return Object(b.createElement)("div",{key:"drawer_panel_".concat(e.props.id),className:n,ref:function(t){return t&&k.set(e,t)}},Object(b.createElement)(Kn,Object(h.a)({},e.props,{isActive:f===e.props.id,goBack:function(){s(!1),S()},updateHeight:C})))}))))},Kn=function(e){var t=e.goBack,n=e.isActive,r=e.updateHeight;return Jn(e.children,{goBack:t,isActive:n,updateHeight:r})},Jn=function(e,t){return void 0===e?e:Array.isArray(e)?e.map((function(e){return Object(b.cloneElement)(e,t)})):Object(b.cloneElement)(e,t)},Xn=function(e){var t,n=null==e||null===(t=e.props)||void 0===t?void 0:t.children;return Array.isArray(n)?n.filter((function(e){return e.type===rr})):[]},Yn=function(e){return Object(b.createElement)("div",{className:"novablocks-drawers__list"},e.children)},er=function(e){return e.children},tr=function(e){return e.children},nr=function(e){return e.children},rr=function(e){var t=e.title,n=e.onClick;return Object(b.createElement)("div",{className:"novablocks-drawer",onClick:n},t)};function or(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}var ar=["image"],ir=function(e){var t=e.attributes.galleryImages,n=e.onSelectImages,r=!!t.length;return Object(b.createElement)(ot.MediaPlaceholder,{accept:"image/*",addToGallery:r,allowedTypes:ar,labels:{title:"",instructions:Object(_.__)("Drag images, upload new ones or select files from your library.","nova-blocks")},multiple:!0,onSelect:n,value:r?t:void 0})},cr=function(e){c(n,e);var t=or(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n,[{key:"render",value:function(){var e=this.props,t=e.galleryImages,n=e.selected,r=e.onSelectImage;return Object(b.createElement)("ul",{className:"novablocks-slideshow__gallery-edit"},t.map((function(e,t){var o=["novablocks-slideshow__gallery-item"];n===t&&o.push("novablocks-slideshow__gallery-item--active");var a,i,c,l,s,u,d,p,f,m,g,h,O,v=!1;"video"===e.type?(v=null==e||null===(a=e.thumb)||void 0===a?void 0:a.src,o.push("novablocks-slideshow__gallery-item--video")):v=(null==e||null===(i=e.sizes)||void 0===i||null===(c=i.novablocks_tiny)||void 0===c?void 0:c.url)||(null==e||null===(l=e.sizes)||void 0===l||null===(s=l.thumbnail)||void 0===s?void 0:s.url)||(null==e||null===(u=e.sizes)||void 0===u||null===(d=u.novablocks_large)||void 0===d?void 0:d.url)||(null==e||null===(p=e.sizes)||void 0===p||null===(f=p.large)||void 0===f?void 0:f.url)||(null==e||null===(m=e.sizes)||void 0===m||null===(g=m.novablocks_huge)||void 0===g?void 0:g.url)||(null==e||null===(h=e.sizes)||void 0===h||null===(O=h.full)||void 0===O?void 0:O.url)||(null==e?void 0:e.url);return Object(b.createElement)("li",{key:"gallery_image_"+t,onClick:function(){r(t)}},Object(b.createElement)("div",{className:o.join(" ")},Object(b.createElement)("img",{src:v,alt:""})))})))}}]),n}(b.Component),lr=n(8),sr=it("buttons-style")((function(e){var t=e.attributes,n=e.setAttributes,r=t.buttonsStyle,o=t.contentType,a=Object(k.useSelect)((function(e){return e("core/blocks").getBlockStyles("core/button").map((function(e){return{value:e.name,label:e.label}}))}));return["auto","fields"].includes(o)?Object(b.createElement)(f.SelectControl,{label:Object(_.__)("Buttons Style","nova-blocks"),value:r,onChange:function(e){n({buttonsStyle:e})},options:a}):null})),ur=it("card-title-level")((function(e){var t=e.attributes,n=e.setAttributes,r=t.cardTitleLevel,o=t.cardTitleFontSize;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)("div",{className:"components-base-control"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("span",{className:"components-base-control__label"},Object(_.__)("Card Title Heading","nova-blocks")),Object(b.createElement)(ee,{minLevel:1,maxLevel:5,selectedLevel:r,onChange:function(e){n({cardTitleLevel:e})}}))),Object(b.createElement)(J,{label:Object(_.__)("Card Title Font Size","nova-blocks"),value:o,onChange:function(e){n({cardTitleFontSize:e})}}))})),dr=it("collection-title-level")((function(e){var t=e.attributes,n=e.setAttributes,r=t.collectionTitleLevel,o=t.collectionTitleFontSize;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)("div",{className:"components-base-control"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("span",{className:"components-base-control__label"},Object(_.__)("Collection Title Heading","nova-blocks")),Object(b.createElement)(ee,{minLevel:1,maxLevel:5,selectedLevel:r,onChange:function(e){n({collectionTitleLevel:e})}}))),Object(b.createElement)(J,{label:Object(_.__)("Collection Title Font Size","nova-blocks"),value:o,onChange:function(e){n({collectionTitleFontSize:e})}}))})),br=it("metadata-source")((function(e){var t=e.attributes,n=t.primaryMetadata,r=t.secondaryMetadata,o=t.showMeta,a=e.setAttributes;if(!o)return null;var i=[{label:Object(_.__)("None","nova-blocks"),value:"none"},{label:Object(_.__)("Author","nova-blocks"),value:"author"},{label:Object(_.__)("Category","nova-blocks"),value:"category"},{label:Object(_.__)("Comments","nova-blocks"),value:"comments"},{label:Object(_.__)("Date","nova-blocks"),value:"date"},{label:Object(_.__)("Tags","nova-blocks"),value:"tags"},{label:Object(_.__)("Reading time","nova-blocks"),value:"reading-time"}];return Object(b.createElement)(F,{title:Object(_.__)("Additional Information","nova-blocks")},Object(b.createElement)(f.SelectControl,{key:"primary-metadata-source",label:Object(_.__)("Primary Metadata","nova-blocks"),value:n,onChange:function(e){a({primaryMetadata:e})},options:i}),Object(b.createElement)(f.SelectControl,{key:"secondary-metadata-source",label:Object(_.__)("Secondary Metadata","nova-blocks"),value:r,onChange:function(e){a({secondaryMetadata:e})},options:i}))})),pr=it("metadata-position")((function(e){var t=e.attributes.metadataPosition,n=e.setAttributes;return Object(b.createElement)(F,{title:Object(_.__)("Metadata Position","nova-blocks")},Object(b.createElement)(f.RadioControl,{key:"collection-image-resizing",selected:t,onChange:function(e){n({metadataPosition:e})},options:[{label:Object(_.__)("Above Title","nova-blocks"),value:"above-title"},{label:Object(_.__)("Below Title","nova-blocks"),value:"below-title"},{label:Object(_.__)("Split (Above Title / Below Content)","nova-blocks"),value:"split"}]}))})),fr=it("card-details-content")((function(e){return Object(b.createElement)(F,{title:Object(_.__)("Content","nova-blocks")},Object(b.createElement)(dr,e),Object(b.createElement)(ur,e),Object(b.createElement)(sr,e))})),mr=it("card-details")((function(e){var t=e.attributes,n=(e.setAttributes,t.level,t.postsToShow),r=t.columns;return 1===n&&1===r?null:Object(b.createElement)(Wn,{id:"card-layout",label:Object(_.__)("Content Details","nova-blocks"),group:Object(_.__)("Card Anatomy","nova-blocks"),order:20},Object(b.createElement)($n,{label:Object(_.__)("Settings","nova-blocks")},Object(b.createElement)(fr,e),Object(b.createElement)(br,e),Object(b.createElement)(pr,e)))}));function gr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gr(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Or={level:{type:"number",default:2},cardTitleLevel:{type:"number",default:3},cardTitleFontSize:{type:"string",default:"normal"},collectionTitleLevel:{type:"number",default:2},collectionTitleFontSize:{type:"string",default:"normal"},metadataPosition:{type:"string",default:"above-title"},primaryMetadata:{type:"string",default:"category"},secondaryMetadata:{type:"string",default:"date"},buttonsStyle:{type:"string",default:"text"}},vr=["novablocks/cards-collection","novablocks/posts-collection","novablocks/supernova"],jr=Object(E.createHigherOrderComponent)((function(e){return function(t){return vr.includes(t.name)?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(e,t),Object(b.createElement)(mr,t)):Object(b.createElement)(e,t)}}),"withCardDetailsControls");Object(lr.addFilter)("editor.BlockEdit","novablocks/with-card-details-controls",jr);var yr=["novablocks/posts-collection","novablocks/cards-collection","novablocks/card","novablocks/supernova","novablocks/supernova-item"];function _r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_r(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(lr.addFilter)("blocks.registerBlockType","novablocks/with-card-details-attributes",(function(e){return yr.includes(e.name)?hr(hr({},e),{},{attributes:hr(hr({},e.attributes),Or)}):e}));var kr={showCollectionTitle:{type:"boolean",default:!0},showCollectionSubtitle:{type:"boolean",default:!0},showMedia:{type:"boolean",default:!0},showTitle:{type:"boolean",default:!0},showSubtitle:{type:"boolean",default:!0},showDescription:{type:"boolean",default:!0},showButtons:{type:"boolean",default:!0},showMeta:{type:"boolean",default:!1},scrollIndicatorBlock:{type:"boolean",default:!1},displayInnerContent:{type:"boolean",default:!0},showPagination:{type:"boolean",default:!1},showArrows:{type:"boolean",default:!0}},Er=function(e){var t,n,r=null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n?void 0:n.cardElementsVisibility;return!0!==r&&!0!==(null==r?void 0:r.attributes)?e:wr(wr({},e),{},{attributes:wr(wr({},e.attributes),kr)})},Pr=[{label:Object(_.__)("Collection Title","nova-blocks"),attribute:"showCollectionTitle"},{label:Object(_.__)("Collection Subtitle","nova-blocks"),attribute:"showCollectionSubtitle"}],Sr=[{label:Object(_.__)("Media","nova-blocks"),attribute:"showMedia"}],Cr=[{label:Object(_.__)("Title","nova-blocks"),attribute:"showTitle"},{label:Object(_.__)("Subtitle","nova-blocks"),attribute:"showSubtitle"},{label:Object(_.__)("Description","nova-blocks"),attribute:"showDescription"},{label:Object(_.__)("Buttons","nova-blocks"),attribute:"showButtons"},{label:Object(_.__)("Meta","nova-blocks"),attribute:"showMeta"}],xr=[{label:Object(_.__)("Inner Content","nova-blocks"),attribute:"displayInnerContent"}],Ar=[{label:Object(_.__)("Position Indicators","nova-blocks"),attribute:"novablocks_hero_position_indicators",type:"meta"},{label:Object(_.__)("Scroll Indicator","nova-blocks"),attribute:"scrollIndicatorBlock"}],Ir=[{label:Object(_.__)("Pagination","nova-blocks"),attribute:"showPagination"},{label:Object(_.__)("Arrows","nova-blocks"),attribute:"showArrows"}];function Tr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tr(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Br=function(e){var t=e.attributes,n=e.setAttributes,o=Object(k.useSelect)((function(e){return e("core/editor").getCurrentPostType()}),[]),a=Object(Re.useEntityProp)("postType",o,"meta"),i=Object(te.a)(a,2),c=i[0],l=i[1],s=Object(b.useMemo)((function(){var e=t.align,n=t.columns,a=t.cardLayout,i=t.layoutStyle,c=t.contentType,l=[].concat(Object(r.a)(Pr),Object(r.a)(Sr)),s="carousel"===i,u="stacked"===a&&1===n&&"full"===e;return"custom"!==c?l.push.apply(l,Object(r.a)(Cr)):l.push.apply(l,Object(r.a)(xr)),u&&l.push.apply(l,Object(r.a)(Ar)),s&&l.push.apply(l,Object(r.a)(Ir)),l.filter((function(e){return"meta"!==e.type||!!o}))}),[t,o]);return Object(b.createElement)(rt,{onChange:n,toggles:s.map((function(e){var r="meta"===e.type?c[e.attribute]:t[e.attribute];return Rr(Rr({},e),{},{value:r,onChange:function(t){"meta"===e.type&&o?l(Rr(Rr({},c),{},Object(O.a)({},e.attribute,t))):n(Object(O.a)({},e.attribute,t))}})}))})},Mr=function(e){return Object(b.createElement)(Wn,{id:"elements-visibility",label:Object(_.__)("Elements Visibility","nova-blocks"),group:Object(_.__)("Card Anatomy","nova-blocks"),order:10},Object(b.createElement)($n,{label:Object(_.__)("Settings","nova-blocks")},Object(b.createElement)(F,{title:Object(_.__)("Setup what content elements to show for each card.","nova-blocks")},Object(b.createElement)(Br,e))))},Fr=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r,o,a=ze(t.name);return!0!==(null==a||null===(n=a.novaBlocks)||void 0===n?void 0:n.cardElementsVisibility)&&!0!==(null==a||null===(r=a.novaBlocks)||void 0===r||null===(o=r.cardElementsVisibility)||void 0===o?void 0:o.controls)?Object(b.createElement)(e,t):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Mr,t),Object(b.createElement)(e,t))}}),"withElementsVisibilityControls");function Dr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Nr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dr(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(lr.addFilter)("blocks.registerBlockType","novablocks/with-card-elements-visibility-attributes",Er),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-card-elements-visibility-controls",Fr);var zr={contentPosition:{type:"string",default:"center center"}},Lr=function(e){var t,n,r=null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n?void 0:n.contentPosition;return!0!==r&&!0!==(null==r?void 0:r.attributes)?e:Nr(Nr({},e),{},{attributes:Nr(Nr({},e.attributes),zr)})},Vr=wp.blockEditor.__experimentalBlockAlignmentMatrixToolbar,qr=wp.blockEditor.__experimentalBlockAlignmentMatrixControl||wp.blockEditor.BlockAlignmentMatrixControl,Hr=function(e){var t=e.attributes.contentPosition,n=e.setAttributes;return Vr?Object(b.createElement)(ot.BlockControls,{group:"block"},Object(b.createElement)(Vr,{label:Object(_.__)("Change content position","nova-blocks"),value:t,onChange:function(e){return n({contentPosition:e})}})):null},Ur=function(e){var t=e.attributes.contentPosition,n=e.setAttributes;return qr?Object(b.createElement)(ot.BlockControls,{group:"block"},Object(b.createElement)(qr,{label:Object(_.__)("Change content position","nova-blocks"),value:t,onChange:function(e){return n({contentPosition:e})}})):Object(b.createElement)(Hr,e)},Gr=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r,o,a=ze(t.name);return!0!==(null==a||null===(n=a.novaBlocks)||void 0===n?void 0:n.contentPosition)&&!0!==(null==a||null===(r=a.novaBlocks)||void 0===r||null===(o=r.contentPosition)||void 0===o?void 0:o.controls)?Object(b.createElement)(e,t):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Ur,t),Object(b.createElement)(e,t))}}),"withContentPositionControls"),$r=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r=ze(t.name),o=t.setAttributes,a=t.clientId;if(null==r||null===(n=r.novaBlocks)||void 0===n||!n.contentPosition)return Object(b.createElement)(e,t);return Object(b.createElement)(e,Object(h.a)({},t,{setAttributes:function(e){var t=e.contentPosition;if(t){var n=t.split(" ")[1]||"center";!function e(t,n){var r=Object(k.select)("core/block-editor").getBlock,o=Object(k.dispatch)("core/block-editor").updateBlockAttributes;r(t).innerBlocks.forEach((function(t){var a,i=r(t.clientId),c=wp.data.select("core/blocks").getBlockType(i.name),l=null==c||null===(a=c.supports)||void 0===a?void 0:a.align;Array.isArray(l)&&(l.indexOf("wide")>-1||l.indexOf("full")>-1)?e(i.clientId,n):o(i.clientId,{align:n,textAlign:n,contentJustification:n})}))}(a,n)}o(e)}}))}}),"withContentPositionInnerBlocks"),Wr=n(29),Qr=["horizontalAlignment","verticalAlignment"];function Zr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zr(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Jr=function(e){var t,n,r;return null!=e&&null!==(t=e.supports)&&void 0!==t&&null!==(n=t.novaBlocks)&&void 0!==n&&null!==(r=n.contentPosition)&&void 0!==r&&r.deprecated?Object.assign({},e,{deprecated:[{attributes:{horizontalAlignment:{type:"string",default:"center"},verticalAlignment:{type:"string",default:"center"}},isEligible:function(e){return!Object(p.isUndefined)(e.horizontalAlignment)&&!Object(p.isUndefined)(e.verticalAlignment)&&Object(p.isUndefined)(e.contentPosition)},migrate:function(e){var t=e.horizontalAlignment,n=e.verticalAlignment;return Kr(Kr({},Object(Wr.a)(e,Qr)),{},{contentPosition:"".concat(n," ").concat(t)})},save:e.save}].concat(e.deprecated)}):e};Object(lr.addFilter)("blocks.registerBlockType","novablocks/with-content-position-attributes",Lr),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-content-position-controls",Gr),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-content-position-inner-blocks",$r),Object(lr.addFilter)("blocks.registerBlockType","novablocks/with-content-position-deprecated",Jr);var Xr=Object(E.createHigherOrderComponent)((function(e){return function(t){return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(ot.InspectorControls,null,Object(b.createElement)(Gn,t)),Object(b.createElement)(e,t))}}),"withControlsSections");Object(lr.addFilter)("editor.BlockEdit","novablocks/with-controls-sections",Xr,1);var Yr=Object(E.createHigherOrderComponent)((function(e){return function(t){var n=Object(b.useState)({}),r=Object(te.a)(n,2),o=r[0],a=r[1];return Object(b.createElement)(Qe.Provider,{value:o},Object(b.createElement)(e,Object(h.a)({},t,{setControlsVisibility:function(e){a(Object.assign({},o,e))}})))}}),"withControlsVisibility");Object(lr.addFilter)("editor.BlockEdit","novablocks/with-controls-visibility",Yr,Number.MAX_SAFE_INTEGER);var eo={"is-style-accent":{paletteVariation:6,useSourceColorAsReference:!0},"is-style-dark":{paletteVariation:9,useSourceColorAsReference:!1},"is-style-darker":{paletteVariation:10,useSourceColorAsReference:!1}};Object(lr.addFilter)("blocks.registerBlockType","novablocks/deprecate-group",(function(e,t){return"core/group"!==t?e:Object.assign({},e,{deprecated:[{attributes:e.attributes,migrate:function(e,t){var n=e.className.split(/\b\s+/),r={};return n.some((function(e){return!(void 0===eo[e])&&(r=eo[e],!0)})),[Object.assign({},e,r),t]},isEligible:function(e,t){var n=e.className;return"string"==typeof n&&n.split(/\b\s+/).some((function(e){return Object.keys(eo).includes(e)}))},save:e.save}].concat(e.deprecated)})}));var to=["core/quote","core/pullquote","core/heading","core/paragraph","novablocks/headline"],no=function(e,t,n){if(e){var r=new RegExp("has-[a-z]+-font-size","gi");e=e.replace(r,"").trim()}var o="has-"+n+"-font-size";return e?e+" "+o:o},ro=J.DEFAULT_FONT_SIZE,oo=J.FONT_SIZE_OPTIONS,ao=Object(E.createHigherOrderComponent)((function(e){var t,n=(t=e,function(e){var n=e.attributes,r=n.className,o=n.fontSize,a=(n.level,e.setAttributes),i=oo.find((function(e){return e.value===o}))?o:ro;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(t,e),Object(b.createElement)(ot.InspectorControls,null,Object(b.createElement)(f.PanelBody,{title:Object(_.__)("Text Settings","nova-blocks"),className:"blocks-custom-font-size"},Object(b.createElement)(J,{value:i,onChange:function(e){a({fontSize:e,className:no(r,0,e)})}}))))});return function(t){return to.includes(t.name)?Object(b.createElement)(n,t):Object(b.createElement)(e,t)}}),"withFontSizeControl");Object(lr.addFilter)("editor.BlockEdit","novablocks/with-inspector-controls",ao),Object(lr.addFilter)("blocks.registerBlockType","novablocks/with-font-size-attribute",(function(e){return to.includes(e.name)?(void 0===e.attributes&&(e.attributes={}),e.attributes=Object.assign(e.attributes,{fontSize:{type:"string",default:"normal"}}),e):e}));var io=Object(E.createHigherOrderComponent)((function(e){return function(t){var n=t.setAttributes;return Object(b.createElement)(e,Object(h.a)({},t,{onSelectImages:function(e){cn(e).then((function(e){n({images:e})}))}}))}}),"withOnSelectImages");function co(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?co(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):co(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(lr.addFilter)("editor.BlockEdit","novablocks/with-on-select-images",io,Number.MAX_SAFE_INTEGER);function so(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function uo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?so(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):so(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(lr.addFilter)("blocks.registerBlockType","novablocks/hero-defaults-generated-deprecated",(function(e){var t,n;if(null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n||!n.customDefaults)return e;var r=[{attributes:e.attributes,isEligible:function(e){return void 0===e.defaultsGenerated},migrate:function(e){return lo(lo({},e),{},{defaultsGenerated:!0})},save:e.save}],o=Array.isArray(e.deprecated)?e.deprecated.concat(r):r;return lo(lo({},e),{},{deprecated:o})}));var bo=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r,o=Object.assign({},t.wrapperProps),a=null!==(n=null===(r=t.attributes)||void 0===r?void 0:r.align)&&void 0!==n?n:"none";if(!ze(t.name).align&&"core/image"!==t.name)return Object(b.createElement)(e,t);delete o["data-align"];var i=uo(uo({},t),{},{wrapperProps:o,className:N()(t.className,"align".concat(a))});return Object(b.createElement)(e,i)}}),"withWrapperPropsRemoved"),po=["getEditWrapperProps"];function fo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fo(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var go=function(e){e.getEditWrapperProps;var t,n,r=Object(Wr.a)(e,po),o=null!==(t=e.supports)&&void 0!==t?t:{},a=Object(h.a)({},o),i=(n=a.novaBlocks,Object(h.a)({},a));return mo(mo({},r),{},{supports:mo({},i)})};function ho(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ho(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ho(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var vo=function(e,t,n){var r=n.align;return He(t.name).align&&r?Oo(Oo({},e),{},{className:N()(e.className,"align".concat(r))}):e};Object(lr.addFilter)("editor.BlockListBlock","novablocks/custom-align/wrapper-props",bo,Number.MIN_SAFE_INTEGER),Object(lr.addFilter)("blocks.registerBlockType","novablocks/custom-align/alter-settings",go,Number.MIN_SAFE_INTEGER),Object(lr.addFilter)("blocks.getSaveContent.extraProps","novablocks/custom-align/save-props",vo);var jo=function(e){var t=e.attributes.cardLayout,n=e.setAttributes;return Object(b.createElement)(f.RadioControl,{selected:t,options:[{label:Object(_.__)("↓ Vertical ","nova-blocks"),value:"vertical"},{label:Object(_.__)("↑ Vertical Reverse","nova-blocks"),value:"vertical-reverse"},{label:Object(_.__)("→ Horizontal","nova-blocks"),value:"horizontal"},{label:Object(_.__)("← Horizontal Reverse","nova-blocks"),value:"horizontal-reverse"},{label:Object(_.__)("↺ Stacked","nova-blocks"),value:"stacked"}],onChange:function(e){n({cardLayout:e})}})},yo=function(e){var t=e.attributes.isLandscape,n=e.setAttributes;return Object(b.createElement)(f.RadioControl,{selected:t?"landscape":"portrait",className:"nb-card-layout",onChange:function(e){n({isLandscape:"landscape"===e})},options:[{label:"Vertical",value:"portrait"},{label:"Horizontal",value:"landscape"}]})},_o=function(e){var t=e.name;return Object(b.createElement)(F,{title:Object(_.__)("Card Elements Stacking Style","nova-blocks")},"novablocks/supernova"===t?Object(b.createElement)(jo,e):Object(b.createElement)(yo,e))},wo=function(e){return Object(b.createElement)(Wn,{id:"card-elements-stacking",label:Object(_.__)("Elements Stacking","nova-blocks"),order:55},Object(b.createElement)($n,{label:Object(_.__)("Settings","nova-blocks")},Object(b.createElement)(_o,e)))},ko=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r,o,a=ze(t.name);return!0!==(null==a||null===(n=a.novaBlocks)||void 0===n?void 0:n.cardElementsStacking)&&!0!==(null==a||null===(r=a.novaBlocks)||void 0===r||null===(o=r.cardElementsStacking)||void 0===o?void 0:o.controls)?Object(b.createElement)(e,t):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(wo,t),Object(b.createElement)(e,t))}}),"withCardElementsStackingControls");function Eo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Po(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Eo(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var So={cardLayout:{type:"string",default:"vertical"}},Co=function(e){var t,n,r=null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n?void 0:n.cardElementsStacking;return!0!==r&&!0!==(null==r?void 0:r.attributes)?e:Po(Po({},e),{},{attributes:Po(Po({},e.attributes),So)})};function xo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ao(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xo(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(lr.addFilter)("blocks.registerBlockType","novablocks/with-card-elements-stacking-attributes",Co),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-card-elements-stacking-controls",ko);var Io={postsToShow:{type:"integer",default:3},layoutStyle:{type:"string",default:"classic"},columns:{type:"number",default:3},gridGap:{type:"number",default:50},gridcolumns:{type:"number",default:6},gridrows:{type:"number",default:6},featuresize:{type:"number",default:4},featureposition:{type:"number",default:1},fragmentation:{type:"number",default:1},hierarchycrossing:{type:"number",default:30},imageweightleft:{type:"number",default:1},imageweightright:{type:"number",default:2},metadetailsleft:{type:"number",default:10},metadetailsright:{type:"number",default:6},boostfeature:{type:"boolean",default:!1},subfeature:{type:"boolean",default:!0},balancemdandiw:{type:"boolean",default:!1},flipcolsrows:{type:"boolean",default:!1},headerPosition:{type:"number",default:0},headerColumn:{type:"number",default:0},carouselLayout:{type:"string",default:"fixed"}},To=function(e){var t,n,r=null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n?void 0:n.collectionLayout;return!0!==r&&!0!==(null==r?void 0:r.attributes)?e:Ao(Ao({},e),{},{attributes:Ao(Ao({},e.attributes),Io)})},Ro=[{label:"L27: Brancusi",value:"tear2down7",preset:{layoutStyle:"parametric",postsToShow:6,gridcolumns:6,gridrows:6,featuresize:4,featureposition:1,fragmentation:1,imageweightleft:1,imageweightright:2,metadetailsleft:10,metadetailsright:6,boostfeature:!1,subfeature:!0,balancemdandiw:!1,hierarchycrossing:30,flipcolsrows:!1,headerPosition:0}},{label:"L47: Kafka",value:"tear4down7",preset:{layoutStyle:"parametric",postsToShow:6,gridcolumns:12,gridrows:8,featuresize:7,featureposition:3,fragmentation:0,imageweightleft:1,imageweightright:0,metadetailsleft:0,metadetailsright:10,boostfeature:!0,subfeature:!0,balancemdandiw:!1,hierarchycrossing:153,flipcolsrows:!1,headerPosition:0}},{label:"L13: Aristotle",value:"tear1down3",preset:{layoutStyle:"parametric",postsToShow:6,gridcolumns:5,gridrows:4,featuresize:2,featureposition:2,fragmentation:0,imageweightleft:1,imageweightright:0,metadetailsleft:6,metadetailsright:3,boostfeature:!1,subfeature:!1,balancemdandiw:!1,hierarchycrossing:0,flipcolsrows:!1,headerPosition:0}},{label:"L19: Nietzsche",value:"tear1down9",preset:{layoutStyle:"parametric",postsToShow:11,gridcolumns:6,gridrows:5,featuresize:3,featureposition:2,fragmentation:2,imageweightleft:1,imageweightright:0,metadetailsleft:0,metadetailsright:0,boostfeature:!1,subfeature:!0,balancemdandiw:!1,hierarchycrossing:0,flipcolsrows:!1,headerPosition:0}},{label:"L23: Popper",value:"tear1down9bis",preset:{layoutStyle:"parametric",postsToShow:11,gridcolumns:7,gridrows:5,featuresize:3,featureposition:3,fragmentation:2,imageweightleft:1,imageweightright:0,metadetailsleft:0,metadetailsright:0,boostfeature:!1,subfeature:!0,balancemdandiw:!1,hierarchycrossing:0,flipcolsrows:!1,containerHeight:45,headerPosition:0}},{label:"L10: Tolstoy",value:"tear1down0",preset:{layoutStyle:"parametric",postsToShow:10,gridcolumns:10,gridrows:6,featuresize:3,featureposition:6,fragmentation:0,imageweightleft:1,imageweightright:0,metadetailsleft:0,metadetailsright:0,boostfeature:!1,subfeature:!1,balancemdandiw:!1,hierarchycrossing:0,flipcolsrows:!1,headerPosition:0}},{label:"L15: Asimov",value:"tear1down5",preset:{layoutStyle:"parametric",postsToShow:7,gridcolumns:6,gridrows:6,featuresize:2,featureposition:4,fragmentation:0,imageweightleft:8,imageweightright:2,metadetailsleft:7,metadetailsright:2,boostfeature:!1,subfeature:!1,balancemdandiw:!1,hierarchycrossing:0,flipcolsrows:!1,headerPosition:0}},{label:"L45: Orwell",value:"tear4down5",preset:{layoutStyle:"parametric",postsToShow:13,gridcolumns:8,gridrows:6,featuresize:4,featureposition:1,fragmentation:2,imageweightleft:8,imageweightright:8,metadetailsleft:7,metadetailsright:2,boostfeature:!1,subfeature:!1,balancemdandiw:!1,hierarchycrossing:120,flipcolsrows:!1,headerPosition:0}},{label:"L12: Dostoevsky",value:"tear1down2",preset:{layoutStyle:"parametric",postsToShow:7,gridcolumns:6,gridrows:4,featuresize:3,featureposition:1,fragmentation:2,imageweightleft:1,imageweightright:0,metadetailsleft:7,metadetailsright:0,boostfeature:!1,subfeature:!1,balancemdandiw:!1,hierarchycrossing:50,flipcolsrows:!1,headerPosition:0}},{label:"L32: Eliade",status:"development",value:"tear3down2",preset:{layoutStyle:"parametric",postsToShow:8,gridcolumns:4,gridrows:8,featuresize:2,featureposition:2,fragmentation:0,imageweightleft:1,imageweightright:0,metadetailsleft:0,metadetailsright:3,boostfeature:!1,subfeature:!0,balancemdandiw:!1,hierarchycrossing:0,flipcolsrows:!1,headerPosition:0}},{label:"L30: Tolkien",value:"tear3down0",preset:{layoutStyle:"parametric",postsToShow:5,gridcolumns:4,gridrows:8,featuresize:2,featureposition:2,fragmentation:0,imageweightleft:1,imageweightright:0,metadetailsleft:0,metadetailsright:3,boostfeature:!1,subfeature:!0,balancemdandiw:!1,hierarchycrossing:0,flipcolsrows:!1,headerPosition:0}},{label:"L03: Dumas",value:"tear0down3",preset:{layoutStyle:"classic",postsToShow:6,columns:3}}],Bo=function(){var e=Object(le.getRandomBetween)(3,20),t=Object(le.getRandomBetween)(2,6),n=Object(le.getRandomBetween)(2,12),r=Math.ceil(.75*t),o=Object(le.getRandomBetween)(1,r),a=t-o+1,i=Object(le.getRandomBetween)(1,a),c=Math.max(0,Math.pow(2,t-o-1)-1);return{layoutStyle:"parametric",postsToShow:e,automaticPostsNumber:!0,gridcolumns:t,gridrows:n,featuresize:o,featureposition:i,fragmentation:Object(le.getRandomBetween)(0,c),imageweightleft:Object(le.getRandomBetween)(0,10),imageweightright:Object(le.getRandomBetween)(0,10),metadetailsleft:Object(le.getRandomBetween)(0,10),metadetailsright:Object(le.getRandomBetween)(0,10),boostfeature:Object(le.getRandomBooleanValue)(),subfeature:Object(le.getRandomBooleanValue)(),balancemdandiw:Object(le.getRandomBooleanValue)(),hierarchycrossing:Object(le.getRandomBetween)(0,200),flipcolsrows:Object(le.getRandomBooleanValue)(),headerPosition:Object(le.getRandomBetween)(0,1)}},Mo=function(e){var t=Le();if(null==t||!t.debug)return null;var n=e.attributes,r=n.toggleScale,o=n.toggleMask,a=e.setAttributes;return Object(b.createElement)(F,{title:Object(_.__)("Debug Parameters","nova-blocks")},Object(b.createElement)(f.ToggleControl,{label:Object(_.__)("Display Preview Scale","nova-blocks"),checked:r,onChange:function(){return a({toggleScale:!r})}}),Object(b.createElement)(f.ToggleControl,{label:Object(_.__)("Display Preview Mask","nova-blocks"),checked:o,onChange:function(){return a({toggleMask:!o})}}))};function Fo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Do(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fo(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var No=function(e){var t=e.headerColumn,n=Object(le.applyLayoutEngine)(e),r=Object(le.getOptimalHeaderPosition)(n);return Do(Do({},e),{},{headerPosition:r[t]})},zo=function(e){var t=e.attributes,n=e.setAttributes,r=e.headerOptimalPositions,o=t.headerColumn,a=t.headerPosition,i=t.postsToShow,c=t.showCollectionTitle,l=t.showCollectionSubtitle;return c||l?Object(b.createElement)(F,{title:Object(_.__)("Block Header","nova-blocks")},Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Header Placement Area","nova-blocks"),value:a,onChange:function(e){n({headerPosition:e})},min:0,max:i+1}),Object(b.createElement)("div",{key:"header-position-customize-1",className:Object(le.getControlsClasses)(t,No)},Object(b.createElement)(f.RangeControl,{value:o,onChange:function(e){var r=No(Do(Do({},t),{},{headerColumn:e}));n(r)},label:Object(_.__)("Header Item Location","nova-blocks"),min:0,max:r.length-1}))):null},Lo=function(e){var t=e.attributes,n=t.featuresize,r=t.featureposition,o=t.fragmentation,a=t.hierarchycrossing,i=Object(b.useCallback)((function(){return 1}),[]),c=Object(b.useCallback)((function(){return t.gridcolumns}),[t]),l=Object(b.useCallback)((function(){return t.gridcolumns-t.featuresize+1}),[t]),s=Object(b.useCallback)((function(){return 0}),[]),u=Object(b.useCallback)((function(){return Math.max(0,Math.pow(2,t.gridcolumns-t.featuresize-1)-1)}),[t]),d=Object(b.useCallback)((function(e){var n=Object.assign({},t,e);return n.featuresize=Object(le.clamp)(n.featuresize,i(),c()),n.featureposition=Object(le.clamp)(n.featureposition,1,l()),n.fragmentation=Object(le.clamp)(n.fragmentation,s(),u()),n}),[t]),p=Object(b.useCallback)((function(t){e.setAttributes(d(t))}),[d]);return Object(b.createElement)(F,{title:Object(_.__)("Breaking the Grid","nova-blocks")},Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Featured Area Size","nova-blocks"),value:n,onChange:function(e){void 0!==e&&p({featuresize:e})},min:i(t),max:c(t)}),Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Featured Area Position","nova-blocks"),value:r,onChange:function(e){void 0!==e&&p({featureposition:e})},min:1,max:l(t)}),Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Grid Areas Fragmentation","nova-blocks"),value:o,onChange:function(e){void 0!==e&&p({fragmentation:e})},min:s(t),max:u(t)}),Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Grid Areas Crossing","nova-blocks"),value:a,onChange:function(e){void 0!==e&&p({hierarchycrossing:e})},min:0,max:200}))},Vo=function(e){var t=e.attributes.gridGap,n=e.setAttributes;return Object(b.createElement)(f.RangeControl,{value:t,onChange:function(e){n({gridGap:e})},label:Object(_.__)("Items Gap","nova-blocks"),min:0,max:100,step:5})},qo=function(e){var t=e.attributes,n=e.setAttributes,r=t.featuresize,o=t.featureposition,a=t.gridcolumns,i=t.gridrows;return Object(b.createElement)(F,{title:Object(_.__)("Grid Anatomy","nova-blocks")},Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Columns","nova-blocks"),value:a,onChange:function(e){if(void 0!==e){var t=e+1-r,a=Math.max(1,Math.min(t,o)),i=Math.max(1,e+1-a);n({featuresize:i,featureposition:a,gridcolumns:e})}},min:1,max:12}),Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Rows","nova-blocks"),value:i,onChange:function(e){void 0!==e&&n({gridrows:e})},min:1,max:12}),Object(b.createElement)(Vo,e))},Ho=function(e){var t=e.postsToShow,n=e.setAttributes;return Object(b.createElement)(f.RangeControl,{key:"collection-items-count",label:Object(_.__)("Items Count","nova-blocks"),value:t,onChange:function(e){n({postsToShow:e})},min:1,max:20,step:1})},Uo=function(e){var t=e.attributes,n=e.setAttributes,r=e.areaColumns,o=t.automaticPostsNumber,a=void 0!==o&&o,i=t.postsToShow,c=Object(b.useMemo)((function(){var e=Object(le.getPostsCount)(r);return a&&i!==e&&n({postsToShow:e}),e}),[r]),l=Object(b.useMemo)((function(){return t.tempPostsToShow||i}),[t]);return Object(b.createElement)(F,{title:Object(_.__)("Items Count","nova-blocks")},Object(b.createElement)("div",{className:Object(le.getControlsClasses)(t,(function(e){var t=e.automaticPostsNumber,n=e.postsToShow;return{postsToShow:t?-1:n}}))},Object(b.createElement)(Ho,{postsToShow:a?c:i,setAttributes:n})),Object(b.createElement)(f.ToggleControl,{label:Object(_.__)("Auto-count Items Number","nova-blocks"),checked:a,onChange:function(e){n({postsToShow:e?c:l,tempPostsToShow:i,automaticPostsNumber:e})}}))},Go=function(e){var t=e.attributes,n=e.setAttributes,r=t.imageweightleft,o=t.imageweightright,a=t.metadetailsleft,i=t.metadetailsright;return Object(b.createElement)(F,{title:Object(_.__)("Items Regularity","nova-blocks")},Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Start of Image Variance","nova-blocks"),value:r,onChange:function(e){void 0!==e&&n({imageweightleft:e})},min:0,max:10}),Object(b.createElement)(f.RangeControl,{label:Object(_.__)("End of Image Variance","nova-blocks"),value:o,onChange:function(e){void 0!==e&&n({imageweightright:e})},min:0,max:10}),Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Start of Meta Fidelity","nova-blocks"),value:a,onChange:function(e){void 0!==e&&n({metadetailsleft:e})},min:0,max:10}),Object(b.createElement)(f.RangeControl,{label:Object(_.__)("End of Meta Fidelity","nova-blocks"),value:i,onChange:function(e){void 0!==e&&n({metadetailsright:e})},min:0,max:10}))},$o=function(e){var t=e.attributes,n=e.setAttributes,r=t.boostfeature,o=t.subfeature,a=t.balancemdandiw,i=t.flipcolsrows;return Object(b.createElement)(F,{title:Object(_.__)("Miscellanous Parameters","nova-blocks")},Object(b.createElement)(f.ToggleControl,{label:Object(_.__)("Boost Featured Area Emphasis","nova-blocks"),checked:r,onChange:function(){n({boostfeature:!r})}}),Object(b.createElement)(f.ToggleControl,{label:Object(_.__)("Display Sub-featured Area","nova-blocks"),checked:o,onChange:function(){n({subfeature:!o})}}),Object(b.createElement)(f.ToggleControl,{label:Object(_.__)("Balance Meta and Image","nova-blocks"),checked:a,onChange:function(){n({balancemdandiw:!a})}}),Object(b.createElement)(f.ToggleControl,{label:Object(_.__)("Flip Cols and Rows","nova-blocks"),checked:i,onChange:function(){n({flipcolsrows:!i})}}))};function Wo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wo(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Zo=function(e){var t=e.attributes;if("parametric"!==t.layoutStyle)return null;var n=Object(b.useMemo)((function(){return Object(le.applyLayoutEngine)(t)}),[t]),r=Object(b.useMemo)((function(){return Object(le.getOptimalHeaderPosition)(n)}),[n]),o=Qo(Qo({},e),{},{areaColumns:n,headerOptimalPositions:r});return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Mo,o),Object(b.createElement)(qo,o),Object(b.createElement)(Lo,o),Object(b.createElement)(Uo,o),Object(b.createElement)(Go,o),Object(b.createElement)($o,o),Object(b.createElement)(zo,o))},Ko=function(e){var t=e.attributes.columns,n=e.setAttributes;return Object(b.createElement)(f.RangeControl,{value:t,onChange:function(e){n({columns:e})},label:Object(_.__)("Number of Items per Row","nova-blocks"),min:1,max:4})},Jo=function(e){if(!["classic","masonry"].includes(e.attributes.layoutStyle))return null;var t=e.attributes.postsToShow,n=e.setAttributes;return Object(b.createElement)(F,{title:Object(_.__)("Cards Count","nova-blocks")},Object(b.createElement)(Ho,{postsToShow:t,setAttributes:n}),Object(b.createElement)(Ko,e),Object(b.createElement)(Vo,e))},Xo=function(e){var t=e.attributes,n=e.setAttributes,r=t.layoutStyle,o=t.carouselLayout,a=t.postsToShow;return"carousel"!==r?null:Object(b.createElement)(b.Fragment,null,Object(b.createElement)(F,{title:Object(_.__)("Number of Cards and Distribution","nova-blocks")},Object(b.createElement)(Ho,{postsToShow:a,setAttributes:n}),"fixed"===o&&Object(b.createElement)(Ko,e),Object(b.createElement)(Vo,e)),Object(b.createElement)(F,{title:Object(_.__)("Layout","nova-blocks")},Object(b.createElement)(f.RadioControl,{key:"carousel-layout",label:Object(_.__)("Items Layout","nova-blocks"),selected:o,onChange:function(e){n({carouselLayout:e})},options:[{label:Object(_.__)("Fixed Width","nova-blocks"),value:"fixed"},{label:Object(_.__)("Variable Width","nova-blocks"),value:"variable"},{label:Object(_.__)("Content Width","nova-blocks"),value:"content"}]})))},Yo=[{label:Object(_.__)("Parametric Grid","nova-blocks"),value:"parametric"},{label:Object(_.__)("Classic Grid","nova-blocks"),value:"classic"},{label:Object(_.__)("Masonry","nova-blocks"),value:"masonry"},{label:Object(_.__)("Carousel","nova-blocks"),value:"carousel"}],ea=it("collection-layout-style")((function(e){var t=e.attributes,n=e.setAttributes,r=t.layoutStyle;return Object(b.createElement)(F,{title:Object(_.__)("Collection Layout Style","nova-blocks")},Object(b.createElement)(f.RadioControl,{selected:r,className:"nb-collection-layout",onChange:function(e){n({layoutStyle:e})},options:Yo}))})),ta=it("collection-layout-section")((function(e){var t=e.attributes,n=t.layoutStyle,r=t.postsToShow,o=t.columns;return 1===r&&1===o?null:Object(b.createElement)(Wn,{id:"collection-layout",label:Object(_.__)("Collection Layout","nova-blocks"),order:20},"parametric"===n&&Object(b.createElement)($n,{label:Object(_.__)("Presets","nova-blocks")},Object(b.createElement)(be,Object(h.a)({label:Object(_.__)("Choose a layout preset:","nova-blocks"),options:Ro,randomize:Bo},e))),Object(b.createElement)($n,{label:Object(_.__)("Settings","nova-blocks")},Object(b.createElement)(ea,e),Object(b.createElement)(Zo,e),Object(b.createElement)(Jo,e),Object(b.createElement)(Xo,e)))})),na=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r,o,a=ze(t.name);return!0!==(null==a||null===(n=a.novaBlocks)||void 0===n?void 0:n.collectionLayout)&&!0!==(null==a||null===(r=a.novaBlocks)||void 0===r||null===(o=r.collectionLayout)||void 0===o?void 0:o.controls)?Object(b.createElement)(e,t):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(ta,t),Object(b.createElement)(e,t))}}),"withCollectionLayoutControls"),ra=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r=ze(t.name),o=t.attributes,a=o.columns,i=o.gridGap,c=t.style?t.style:{};if(null!=r&&null!==(n=r.novaBlocks)&&void 0!==n&&n.collectionLayout){var l={"--nb-collection-columns-count":a,"--nb-grid-spacing-modifier":i};Object.assign(c,l)}return Object(b.createElement)(e,Object(h.a)({},t,{style:c}))}}),"withCollectionLayoutEditCustomProps");function oa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function aa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oa(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(lr.addFilter)("blocks.registerBlockType","novablocks/with-collection-layout-attributes",To),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-collection-layout-controls",na),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-collection-layout-edit-custom-props",ra);var ia=function(e){var t=e.attributes,n=e.setAttributes,r=t.preview,o=Object(b.useMemo)((function(){return Object(le.needsPreview)(t)}),[t]),a=Object(b.useMemo)((function(){return r?Object(_.__)("Enter Edit Mode","nova-blocks"):Object(_.__)("Exit Edit Mode","nova-blocks")}),[r]);return"novablocks/supernova"===e.name&&o?Object(b.createElement)(ot.BlockControls,null,Object(b.createElement)(f.Toolbar,{group:"block"},Object(b.createElement)(f.Button,{className:"components-icon-button components-toolbar__control",icon:y("swap"),onClick:function(){n({preview:!r})}},a))):null};function ca(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function la(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ca(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ca(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(lr.addFilter)("editor.BlockEdit","novablocks/with-preview-attributes",(function(e){return function(t){var n=t.attributes,r=t.name,o=Object(b.useMemo)((function(){return["novablocks/supernova","novablocks/supernova-item"]}),[]),a=Object(b.useMemo)((function(){return o.includes(r)&&Object(le.needsPreview)(n)}),[n,r]),i=Object(b.useCallback)((function(e){a||Object.assign(e,{preview:!1}),t.setAttribtues(e)}),[n]),c=Object(b.useMemo)((function(){return Object(le.getPreviewAttributes)(n)}),[n]),l=aa(aa({},t),{},{attributes:c,setAttribtues:i});return a?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(e,l),Object(b.createElement)(ia,t)):Object(b.createElement)(e,t)}}),20);var sa={overlayFilterType:{type:"string",default:"unitone"},overlayFilterDuotoneConfig:{type:"object",default:{}},overlayFilterStrength:{type:"number",default:0}},ua=function(e){var t,n,r=null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n?void 0:n.overlayFilter;return!0!==r&&!0!==(null==r?void 0:r.attributes)?e:la(la({},e),{},{attributes:la(la({},e.attributes),sa)})},da=function(e){var t=Object(le.getSignals)(e.id),n=e.sourceIndex+1,r=t.reduce((function(e,t,r,o){return Math.abs(o[e]-n)<=Math.abs(o[r]-n)?e:r}),0);return t.splice(r,1,n),t};function ba(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ba(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ba(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var fa,ma,ga=styleManager.colorsConfig.filter((function(e){return!Object(le.isFunctionalPalette)(e)})),ha=(ma=[],(fa=ga).length&&Array.isArray(fa[0].variations)?(fa.forEach((function(e){var t=da(e);fa.filter((function(t){return e.id!==t.id})).forEach((function(n){var r=da(n);t.forEach((function(t,o){r.forEach((function(r,a){var i=e.variations[t-1].bg,c=n.variations[r-1].bg;i!==c&&o>a&&Math.abs(o-a)>0&&ma.push({name:"".concat(e.label," - ").concat(t-1," and ").concat(n.label," - ").concat(r-1),from:{paletteId:e.id,variationIndex:t,hex:i},to:{paletteId:n.id,variationIndex:r,hex:c}})}))}))}))})),ma):ma),Oa=function(e){var t=[];return e.length&&Array.isArray(e[0].variations)?(e.forEach((function(e){var n=da(e);e.label;n.forEach((function(n,r){var o=e.variations[n-1].bg;t.push({paletteId:e.id,variationIndex:n,hex:o})}))})),t):t}(ga),va=function(e){var t=e.attributes,n=e.setAttributes,r=(t.style,t.overlayFilterType),o=ze(e.name),a=Object(b.useMemo)((function(){var e,t;return!(null==o||null===(e=o.novaBlocks)||void 0===e||null===(t=e.overlayFilter)||void 0===t||!t.duotone)}),[o]);return Object(b.useEffect)((function(){a||"unitone"===r||n({overlayFilterType:"unitone"})}),[r,a]),a?Object(b.createElement)(f.RadioControl,{label:Object(_.__)("Overlay Filter","nova-blocks"),selected:r,onChange:function(e){n({overlayFilterType:e})},options:[{label:Object(_.__)("Unitone","nova-blocks"),value:"unitone"},{label:Object(_.__)("Duotone","nova-blocks"),value:"duotone"}]}):null},ja=function(e){var t=e.attributes,n=e.setAttributes,r=(e.clientId,t.overlayFilterType),o=t.overlayFilterDuotoneConfig,a=null==o?void 0:o.from,i=null==o?void 0:o.to;if("duotone"!==r)return null;var c=ha.map((function(e,t){return{data:e,value:t,colors:[e.from.hex,e.to.hex]}})),l=Oa.map((function(e,t){return{data:e,value:t,colors:[e.hex]}})),s=a&&i&&c.findIndex((function(e){return e.data.from.paletteId===a.paletteId&&e.data.from.variationIndex===a.variationIndex&&e.data.to.paletteId===i.paletteId&&e.data.to.variationIndex===i.variationIndex})),u=a&&l.findIndex((function(e){return e.data.paletteId===a.paletteId&&e.data.variationIndex===a.variationIndex})),d=i&&l.findIndex((function(e){return e.data.paletteId===i.paletteId&&e.data.variationIndex===i.variationIndex}));return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(F,{title:Object(_.__)("Duotone Presets","nova-blocks"),key:"duotone-presets"},Object(b.createElement)(Q,{selected:s,options:c,onChange:function(e){n({overlayFilterDuotoneConfig:c[e].data})}})),Object(b.createElement)(F,{title:Object(_.__)("Highlights","nova-blocks"),key:"highlights"},Object(b.createElement)(W,{selected:d,options:l,onChange:function(e){n({overlayFilterDuotoneConfig:pa(pa({},o),{},{to:l[e].data})})}})),Object(b.createElement)(F,{title:Object(_.__)("Shadows","nova-blocks"),key:"shadows"},Object(b.createElement)(W,{selected:u,options:l,onChange:function(e){n({overlayFilterDuotoneConfig:pa(pa({},o),{},{from:l[e].data})})}})))},ya=function(e){var t=e.attributes,n=e.setAttributes,r=t.overlayFilterStrength;return Object(b.createElement)(Wn,{id:"overlay-filter",label:Object(_.__)("Overlay Filter","nova-blocks"),group:Object(_.__)("Modules","nova-blocks"),order:40},Object(b.createElement)($n,{label:Object(_.__)("Settings","nova-blocks")},Object(b.createElement)(F,null,Object(b.createElement)(va,e)),Object(b.createElement)(ja,e),Object(b.createElement)(F,null,Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Overlay Filter Strength","nova-blocks"),value:r,onChange:function(e){return n({overlayFilterStrength:e})},min:0,max:90,step:10}))))},_a=function(e){var t=e.attributes,n=e.clientId,r=t.overlayFilterDuotoneConfig,o=t.overlayFilterType,a=null==r?void 0:r.from,i=null==r?void 0:r.to,c=Object(b.useContext)(ot.BlockList.__unstableElementContext),l="novablocks-duotone-".concat(n);if(!a||!i||"duotone"!==o)return null;var s="\n ".concat(Object(le.getDuotoneFilterSvg)([a.hex,i.hex],l),"\n <style> .").concat(l," .nb-supernova-item__media-wrapper :is(img, video) { filter: url( #").concat(l," ); }</style>\n ");return c?Object(b.createPortal)(Object(b.createElement)("div",{dangerouslySetInnerHTML:{__html:s}}),c):null},wa=Object(E.createHigherOrderComponent)((function(e){return function(t){t.attributes;var n,r,o,a=t.clientId,i=ze(t.name),c=N()(t.className,"novablocks-duotone-".concat(a));return!0!==(null==i||null===(n=i.novaBlocks)||void 0===n?void 0:n.overlayFilter)&&!0!==(null==i||null===(r=i.novaBlocks)||void 0===r||null===(o=r.overlayFilter)||void 0===o?void 0:o.controls)?Object(b.createElement)(e,t):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(e,Object(h.a)({},t,{className:c})),Object(b.createElement)(ya,t),Object(b.createElement)(_a,t))}}),"withOverlayFilterControls"),ka=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r=ze(t.name),o=t.attributes,a=t.style?t.style:{};return null!=r&&null!==(n=r.novaBlocks)&&void 0!==n&&n.overlayFilter&&Object.assign(a,Object(le.getOverlayFilterCSSProps)(o)),Object(b.createElement)(e,Object(h.a)({},t,{style:a}))}}),"withOverlayFilterEditCustomProps");function Ea(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ea(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ea(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Sa=function(e,t,n){var r,o,a=He(t.name);return e&&null!=a&&null!==(r=a.novaBlocks)&&void 0!==r&&r.overlayFilter?Object.assign({},e,{props:Pa(Pa({},e.props),{},{style:Pa(Pa({},null===(o=e.props)||void 0===o?void 0:o.style),Object(le.getOverlayFilterCSSProps)(n))})}):e};function Ca(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ca(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ca(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(lr.removeFilter)("editor.BlockEdit","core/editor/duotone/with-editor-controls"),Object(lr.addFilter)("blocks.registerBlockType","novablocks/with-overlay-filter-attributes",ua),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-overlay-filter-controls",wa),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-overlay-filter-edit-custom-props",ka),Object(lr.addFilter)("blocks.getSaveElement","novablocks/with-overlay-filter-save-custom-props",Sa);var Aa={mediaContainerHeight:{type:"number",default:50},thumbnailAspectRatioString:{type:"string",default:"landscape"},thumbnailAspectRatio:{type:"number",default:50},imageResizing:{type:"string",default:"cropped"},imagePadding:{type:"number",default:0},contentPadding:{type:"number",default:0},emphasisBySpace:{type:"number",default:1},enableOverlapping:{type:"boolean",default:!1},blockTopSpacing:{type:"number",default:1},blockBottomSpacing:{type:"number",default:0},emphasisTopSpacing:{type:"number",default:0},emphasisBottomSpacing:{type:"number",default:0},minHeightFallback:{type:"number",default:0},balanceEmphasis:{type:"number",default:50},balanceFocalPoint:{type:"string",default:"content"},contentAreaWidth:{type:"number",default:50},layoutGutter:{type:"number",default:0},spacingModifier:{type:"number",default:1},spacingMultiplierOverride:{type:"number",default:1}},Ia=function(e){var t,n,r=null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n?void 0:n.spaceAndSizing;return!0!==r&&!0!==(null==r?void 0:r.attributes)?e:xa(xa({},e),{},{attributes:xa(xa({},e.attributes),Aa)})},Ta=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"center center",r=t?-1*e:e,o=n.split(" "),a=o[0]||"center",i=o[1]||"center";return{emphasisBySpace:e,enableOverlapping:t,blockTopSpacing:r<0&&["center","bottom"].includes(a)?r:0,blockBottomSpacing:r<0&&["top","center"].includes(a)?r:0,emphasisTopSpacing:"top"!==a?r:1,emphasisBottomSpacing:"bottom"!==a?r:1,contentPosition:"".concat(a," ").concat(i)}},Ra=function(){var e=function(){return Object(le.getRandomArrayFromArray)([-1,0,1],1)[0]},t=Object(le.getRandomBetween)(0,3),n=Object(le.getRandomBetween)(0,3),r=e(),o=e(),a=e(),i=e(),c=Object(le.getRandomArrayFromArray)(["top","center","bottom"],1)[0];return{blockTopSpacing:t*r,blockBottomSpacing:t*o,emphasisTopSpacing:n*a,emphasisBottomSpacing:n*i,enableOverlapping:Object(le.getRandomArrayFromArray)([!0,!1],1)[0],verticalAlignment:c}},Ba=function(e){var t,n,o,a,i,c,l=Le(),s=ze(e.name),u=null==l||null===(t=l.modules)||void 0===t||null===(n=t.spaceAndSizing)||void 0===n?void 0:n.presetOptions,d=null==l||null===(o=l.modules)||void 0===o||null===(a=o.spaceAndSizing)||void 0===a?void 0:a.advancedPresetOptions,p=[];Array.isArray(u)&&(p.push.apply(p,Object(r.a)(u)),Array.isArray(d)&&null!=s&&null!==(i=s.novaBlocks)&&void 0!==i&&null!==(c=i.spaceAndSizing)&&void 0!==c&&c.advancedSpacing&&p.push.apply(p,Object(r.a)(d)));return p.length?Object(b.createElement)(be,Object(h.a)({key:"media-card-layout-preset",label:Object(_.__)("Choose a layout preset:","nova-blocks"),options:p,randomize:Ra},e)):null},Ma=function(e){var t=e.attributes,n=e.setAttributes,r=t.emphasisBySpace,o=t.enableOverlapping,a=("string"==typeof t.contentPosition?t.contentPosition:"center center").split(" "),i=a[0]||"center",c=a[1]||"center";return Object(b.createElement)(f.PanelRow,null,Object(b.createElement)("span",null,Object(_.__)("Vertical Anchoring","nova-blocks")),Object(b.createElement)(R,{value:i,onChange:function(e){var t=Ta(r,o,"".concat(e," ").concat(c));n(t)},isCollapsed:!1}))},Fa=it("block-spacing-customize")((function(e){var t,n=e.attributes,r=e.setAttributes,o=n.emphasisBySpace,a=n.enableOverlapping,i=n.contentPosition,c=ze(e.name),l=null==c||null===(t=c.novaBlocks)||void 0===t?void 0:t.contentPosition;return Object(b.createElement)(F,{title:Object(_.__)("Emphasis by Space","nova-blocks"),key:"space-and-sizing-customize-1"},Object(b.createElement)("div",{className:Object(le.getControlsClasses)(n,(function(e){return Ta(e.emphasisBySpace,e.enableOverlapping,e.contentPosition)}))},Object(b.createElement)(f.RangeControl,{key:"enable-by-space",value:o,onChange:function(e){var t=Ta(e,a,i);r(t)},min:0,max:3}),Object(b.createElement)(f.ToggleControl,{key:"enable-overlapping",label:Object(_.__)("Enable Overlapping","nova-blocks"),checked:a,onChange:function(e){var t=Ta(o,e,i);r(t)}}),l&&Object(b.createElement)(Ma,e)))})),Da=it("block-spacing-settings")((function(e){var t,n,r=ze(e.name),o=Object.assign({},e,{blockSpacingMin:-3,blockSpacingMax:3,contentSpacingMin:null!=r&&null!==(t=r.novaBlocks)&&void 0!==t&&null!==(n=t.spaceAndSizing)&&void 0!==n&&n.advancedSpacing?-3:0,contentSpacingMax:3});return Object(b.createElement)(F,{title:Object(_.__)("Block Spacing","nova-blocks")},Object(b.createElement)(Na,o),Object(b.createElement)(za,o),Object(b.createElement)(La,o),Object(b.createElement)(Va,o))})),Na=it("block-top-spacing")((function(e){var t=e.attributes,n=e.setAttributes,r=e.blockSpacingMin,o=e.blockSpacingMax,a=e.clientId,i=t.blockTopSpacing;Object(k.useSelect)("core/block-editor").getClientIdsWithDescendants(),ye(a);return Object(b.createElement)(f.RangeControl,{value:i,onChange:function(e){return n({blockTopSpacing:e})},label:Object(_.__)("Block Top Spacing","nova-blocks"),min:r,max:o})})),za=it("block-bottom-spacing")((function(e){var t=e.attributes,n=e.setAttributes,r=e.blockSpacingMin,o=e.blockSpacingMax,a=t.blockBottomSpacing;return Object(b.createElement)(f.RangeControl,{value:a,onChange:function(e){return n({blockBottomSpacing:e})},label:Object(_.__)("Block Bottom Spacing","nova-blocks"),min:r,max:o})})),La=it("content-top-spacing")((function(e){var t=e.attributes,n=e.setAttributes,r=e.contentSpacingMin,o=e.contentSpacingMax,a=t.emphasisTopSpacing;return Object(b.createElement)(f.RangeControl,{value:a,onChange:function(e){return n({emphasisTopSpacing:e})},label:Object(_.__)("Content Top Spacing","nova-blocks"),min:r,max:o})})),Va=it("content-bottom-spacing")((function(e){var t=e.attributes,n=e.setAttributes,r=e.contentSpacingMin,o=e.contentSpacingMax,a=t.emphasisBottomSpacing;return Object(b.createElement)(f.RangeControl,{value:a,onChange:function(e){return n({emphasisBottomSpacing:e})},label:Object(_.__)("Content Bottom Spacing","nova-blocks"),min:r,max:o})})),qa=it("block-spacing")(Da),Ha=it("media-aspect-ratio",!1)((function(e){var t=e.attributes,n=e.setAttributes,r=t.thumbnailAspectRatio,o=t.thumbnailAspectRatioString,a=t.imageResizing;return Object(b.createElement)(F,null,Object(b.createElement)(f.ToggleControl,{label:Object(_.__)("Enable Image Container Editing","nova-blocks"),checked:"auto"!==o,onChange:function(e){n({thumbnailAspectRatioString:e?r<50?"landscape":"portrait":"auto"})}}),"auto"!==o&&Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Media Aspect Ratio","nova-blocks"),value:r,onChange:function(e){n({thumbnailAspectRatio:e,thumbnailAspectRatioString:e<50?"landscape":"portrait"})},min:0,max:100,step:5}),"auto"!==o&&Object(b.createElement)(f.RadioControl,{label:Object(_.__)("Image resizing","nova-blocks"),selected:a,onChange:function(e){n({imageResizing:e})},options:[{label:Object(_.__)("Stretch to fill the container","nova-blocks"),value:"cropped"},{label:Object(_.__)("Shrink to fit (no crop)","nova-blocks"),value:"original"}]}))})),Ua=it("minimum-container-height",!1)((function(e){var t=Le(),n=e.attributes,r=e.setAttributes,o=n.minHeightFallback;return Object(b.createElement)(F,{title:Object(_.__)("Minimum Container Height","nova-blocks")},Object(b.createElement)(f.RadioControl,{selected:o,onChange:function(e){r({minHeightFallback:parseFloat(e)})},options:null==t?void 0:t.minimumHeightOptions}))}));function Ga(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ga(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ga(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Wa=function(e){var t=e.balanceEmphasis,n=e.balanceFocalPoint,r=30*t/100+60;return{balanceEmphasis:t,balanceFocalPoint:n,contentAreaWidth:"content"===n?r:100-r}},Qa=it("visual-balance",!1)((function(e){var t=e.attributes,n=e.setAttributes,r=t.balanceEmphasis,o=t.balanceFocalPoint;return Object(b.createElement)(F,{title:Object(_.__)("Emphasis by Balance","nova-blocks"),key:"media-card-visual-balance-customize-1"},Object(b.createElement)("div",{className:Object(le.getControlsClasses)(t,Wa)},Object(b.createElement)(f.RangeControl,{value:r,onChange:function(e){n(Wa($a($a({},t),{},{balanceEmphasis:e})))},min:0,max:100,step:25}),Object(b.createElement)(f.RadioControl,{label:Object(_.__)("Focal Point","nova-blocks"),selected:o,onChange:function(e){n(Wa($a($a({},t),{},{balanceFocalPoint:e})))},options:[{label:Object(_.__)("Content Area","nova-blocks"),value:"content"},{label:Object(_.__)("Media / Gallery","nova-blocks"),value:"media"}]})))})),Za=it("media-aspect-ratio",!1)((function(e){var t=e.attributes,n=e.setAttributes,r=(t.thumbnailAspectRatio,t.thumbnailAspectRatioString);return Object(b.createElement)(F,{title:Object(_.__)("Thumbnail Aspect Ratio","nova-blocks")},Object(b.createElement)("div",{className:Object(le.getControlsClasses)(t,le.getAspectRatioAttributes)},Object(b.createElement)(f.RadioControl,{key:"thumbnail-aspect-ratio",selected:r,onChange:function(e){var t=t;"landscape"===e&&(t=45),"portrait"===e&&(t=65),n({thumbnailAspectRatio:t,thumbnailAspectRatioString:e})},options:[{label:Object(_.__)("Landscape","nova-blocks"),value:"landscape"},{label:Object(_.__)("Portrait","nova-blocks"),value:"portrait"},{label:Object(_.__)("Auto","nova-blocks"),value:"auto"}]})))})),Ka=it("content-padding",!1)((function(e){var t=e.attributes,n=e.setAttributes,r=t.contentPadding;return Object(b.createElement)(F,{title:Object(_.__)("Content Area Padding","nova-blocks")},Object(b.createElement)(f.RangeControl,{value:r,onChange:function(e){n({contentPadding:e})},min:0,max:100,step:25}))})),Ja=it("visual-balance",!1)((function(e){var t=e.attributes,n=e.setAttributes,r=t.contentAreaWidth;return Object(b.createElement)(F,{title:Object(_.__)("Content Width relative to Media Area","nova-blocks")},Object(b.createElement)(f.RangeControl,{value:r,onChange:function(e){return n({contentAreaWidth:e})},min:30,max:90,step:5}))})),Xa=it("media-padding",!1)((function(e){var t=e.attributes,n=e.setAttributes,r=t.imagePadding;return Object(b.createElement)(F,{title:Object(_.__)("Media Area Padding","nova-blocks")},Object(b.createElement)(f.RangeControl,{value:r,onChange:function(e){n({imagePadding:e})},min:0,max:100,step:25}))})),Ya=it("content-to-media-spacing",!1)((function(e){var t=e.attributes,n=e.setAttributes,r=t.layoutGutter;return Object(b.createElement)(F,{title:Object(_.__)("Content to Media Spacing","nova-blocks")},Object(b.createElement)(f.RangeControl,{value:r,onChange:function(e){return n({layoutGutter:e})},min:0,max:100,step:25}))})),ei=it("media-container-height",!1)((function(e){var t=e.attributes,n=e.setAttributes,r=t.mediaContainerHeight;return Object(b.createElement)(F,{title:Object(_.__)("Media Container Height","nova-blocks")},Object(b.createElement)(f.RangeControl,{value:r,onChange:function(e){n({mediaContainerHeight:e})},min:0,max:100,step:5}))})),ti=it("spacing-modifier")((function(e){var t=e.attributes,n=e.setAttributes,r=t.spacingMultiplierOverride;return Object(b.createElement)(F,{title:Object(_.__)("Spacing Modifier","nova-blocks")},Object(b.createElement)(f.RangeControl,{value:r,onChange:function(e){return n({spacingMultiplierOverride:e})},min:0,max:4,step:.5}))})),ni=it("spacing-children-modifier")((function(e){var t=e.attributes,n=e.setAttributes,r=t.spacingModifier;return Object(b.createElement)(F,{title:Object(_.__)("Spacing Modifier for Inside Elements","nova-blocks")},Object(b.createElement)(f.RangeControl,{value:r,onChange:function(e){return n({spacingModifier:e})},min:0,max:2,step:.5}))})),ri=function(e){return Object(b.createElement)(Wn,{id:"space-and-sizing",label:Object(_.__)("Space and Sizing","nova-blocks"),order:20},Object(b.createElement)($n,{id:"space-and-sizing-presets",label:Object(_.__)("Presets","nova-blocks")},Object(b.createElement)(Ba,e)),Object(b.createElement)($n,{id:"space-and-sizing-customize",label:Object(_.__)("Customize","nova-blocks")},Object(b.createElement)(Fa,Object(h.a)({key:"card-spacing-customize"},e)),Object(b.createElement)(Za,Object(h.a)({key:"image-container-customize"},e)),Object(b.createElement)(Qa,Object(h.a)({key:"visual-balance-customize"},e))),Object(b.createElement)($n,{label:Object(_.__)("Settings","nova-blocks")},Object(b.createElement)(qa,Object(h.a)({key:"card-spacing-settings"},e)),Object(b.createElement)(ti,Object(h.a)({key:"spacing-modifier"},e)),Object(b.createElement)(ni,Object(h.a)({key:"spacing-children-modifier"},e)),Object(b.createElement)(Ua,Object(h.a)({id:"minimum-container-height",key:"minimum-container-height"},e)),Object(b.createElement)(ei,Object(h.a)({key:"media-container-height"},e)),Object(b.createElement)(Ha,Object(h.a)({id:"media-aspect-ratio",key:"media-aspect-ratio-settings"},e)),Object(b.createElement)(Ja,Object(h.a)({id:"visual-balance",key:"visual-balance"},e)),Object(b.createElement)(Ka,Object(h.a)({id:"content-padding",key:"content-padding"},e)),Object(b.createElement)(Xa,Object(h.a)({id:"media-padding",key:"media-padding"},e)),Object(b.createElement)(Ya,Object(h.a)({id:"content-to-media-spacing",key:"content-to-media-spacing"},e))))},oi=Object(E.createHigherOrderComponent)((function(e){return function(t){t.setAttributes,t.clientId;var n,r,o,a=ze(t.name);return!0!==(null==a||null===(n=a.novaBlocks)||void 0===n?void 0:n.spaceAndSizing)&&!0!==(null==a||null===(r=a.novaBlocks)||void 0===r||null===(o=r.spaceAndSizing)||void 0===o?void 0:o.controls)?Object(b.createElement)(e,t):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(ri,t),Object(b.createElement)(e,t))}}),"withSpaceAndSizingControls");function ai(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ii(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ai(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ai(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ci=function(e,t,n){var r,o=He(t.name);return null!=o&&null!==(r=o.novaBlocks)&&void 0!==r&&r.spaceAndSizing?ii(ii({},e),{},{style:ii(ii({},null==e?void 0:e.style),Object(le.getSpacingCSSProps)(n))}):e};function li(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function si(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?li(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):li(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ui=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r,o,a=t.attributes,i=(a.align,ze(t.name)),c=t.wrapperProps;return null!=i&&null!==(n=i.novaBlocks)&&void 0!==n&&n.spaceAndSizing?(c=si(si({},c),{},{style:si(si({},null===(r=c)||void 0===r?void 0:r.style),Object(le.getSpacingCSSProps)(a)),className:null===(o=c)||void 0===o?void 0:o.className}),Object(b.createElement)(e,Object(h.a)({},t,{wrapperProps:c}))):Object(b.createElement)(e,t)}}),"withBlockListWrapperProps"),di=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r=ze(t.name),o=t.attributes,a=t.style?t.style:{};return null!=r&&null!==(n=r.novaBlocks)&&void 0!==n&&n.spaceAndSizing&&Object.assign(a,Object(le.getSpacingCSSProps)(o)),Object(b.createElement)(e,Object(h.a)({},t,{style:a}))}}),"withSpaceAndSizingEditCustomProps");Object(lr.addFilter)("blocks.registerBlockType","novablocks/with-space-and-sizing-attributes",Ia),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-space-and-sizing-controls",oi),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-space-and-sizing-edit-custom-props",di),Object(lr.addFilter)("editor.BlockListBlock","novablocks/group/with-block-list-wrapper-props",ui),Object(lr.addFilter)("blocks.getSaveContent.extraProps","novablocks/with-space-and-sizing-save-custom-props",ci)}]);11 */var r=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,o=/^[\u000b\u0020-\u007e\u0080-\u00ff]+$/,a=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,i=/\\([\u000b\u0020-\u00ff])/g,c=/([\\"])/g,l=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;function s(e){var t=String(e);if(a.test(t))return t;if(t.length>0&&!o.test(t))throw new TypeError("invalid parameter value");return'"'+t.replace(c,"\\$1")+'"'}function u(e){this.parameters=Object.create(null),this.type=e}t.format=function(e){if(!e||"object"!=typeof e)throw new TypeError("argument obj is required");var t=e.parameters,n=e.type;if(!n||!l.test(n))throw new TypeError("invalid type");var r=n;if(t&&"object"==typeof t)for(var o,i=Object.keys(t).sort(),c=0;c<i.length;c++){if(o=i[c],!a.test(o))throw new TypeError("invalid parameter name");r+="; "+o+"="+s(t[o])}return r},t.parse=function(e){if(!e)throw new TypeError("argument string is required");var t="object"==typeof e?function(e){var t;"function"==typeof e.getHeader?t=e.getHeader("content-type"):"object"==typeof e.headers&&(t=e.headers&&e.headers["content-type"]);if("string"!=typeof t)throw new TypeError("content-type header is missing from object");return t}(e):e;if("string"!=typeof t)throw new TypeError("argument string is required to be a string");var n=t.indexOf(";"),o=-1!==n?t.substr(0,n).trim():t.trim();if(!l.test(o))throw new TypeError("invalid media type");var a=new u(o.toLowerCase());if(-1!==n){var c,s,d;for(r.lastIndex=n;s=r.exec(t);){if(s.index!==n)throw new TypeError("invalid parameter format");n+=s[0].length,c=s[1].toLowerCase(),'"'===(d=s[2])[0]&&(d=d.substr(1,d.length-2).replace(i,"$1")),a.parameters[c]=d}if(n!==t.length)throw new TypeError("invalid parameter format")}return a}},,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"AutocompleteTokenField",(function(){return g})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return R})),n.d(t,"CardFieldsPreview",(function(){return M})),n.d(t,"ControlsGroup",(function(){return F})),n.d(t,"ColorPicker",(function(){return W})),n.d(t,"DuotonePicker",(function(){return Q})),n.d(t,"FontSizePicker",(function(){return J})),n.d(t,"HeadingLevelIcon",(function(){return X})),n.d(t,"HeadingToolbar",(function(){return ee})),n.d(t,"ImageSelectControl",(function(){return ne})),n.d(t,"InnerBlocksPreview",(function(){return oe})),n.d(t,"Notice",(function(){return ce})),n.d(t,"ParametricGrid",(function(){return se})),n.d(t,"PresetControl",(function(){return be})),n.d(t,"SignalControl",(function(){return et})),n.d(t,"TextPlaceholder",(function(){return tt})),n.d(t,"ToggleGroup",(function(){return rt})),n.d(t,"VariationPicker",(function(){return at})),n.d(t,"withVisibility",(function(){return it})),n.d(t,"insertTemplate",(function(){return ct})),n.d(t,"getPlaceholderImages",(function(){return rn})),n.d(t,"normalizeImages",(function(){return cn})),n.d(t,"PostCardMedia",(function(){return On})),n.d(t,"PostCardLetter",(function(){return vn})),n.d(t,"PostCard",(function(){return jn})),n.d(t,"CardButton",(function(){return yn})),n.d(t,"CardTitle",(function(){return wn})),n.d(t,"CardSubtitle",(function(){return kn})),n.d(t,"CardMeta",(function(){return En})),n.d(t,"CardDescription",(function(){return Pn})),n.d(t,"CardFooter",(function(){return Sn})),n.d(t,"Card",(function(){return Cn})),n.d(t,"CardContentWrapper",(function(){return xn})),n.d(t,"CardMediaWrapper",(function(){return An})),n.d(t,"getSvg",(function(){return j})),n.d(t,"getIconSvg",(function(){return y})),n.d(t,"ControlsDrawerContent",(function(){return Qn})),n.d(t,"ControlsSection",(function(){return Wn})),n.d(t,"ControlsSections",(function(){return Gn})),n.d(t,"ControlsTab",(function(){return $n})),n.d(t,"Drawer",(function(){return rr})),n.d(t,"Drawers",(function(){return Zn})),n.d(t,"DrawerList",(function(){return Yn})),n.d(t,"DrawerPanel",(function(){return er})),n.d(t,"DrawerListBefore",(function(){return tr})),n.d(t,"DrawerListAfter",(function(){return nr})),n.d(t,"GalleryPreview",(function(){return cr})),n.d(t,"GalleryPlaceholder",(function(){return ir})),n.d(t,"useApiFetch",(function(){return ve})),n.d(t,"useAnimationFrame",(function(){return je})),n.d(t,"useBlockTopSpacingIsDisabled",(function(){return ye})),n.d(t,"useEffectDebugger",(function(){return Ee})),n.d(t,"useDidUpdateEffect",(function(){return Se})),n.d(t,"useInnerBlocks",(function(){return Ce})),n.d(t,"useInnerBlocksCount",(function(){return xe})),n.d(t,"useInnerBlocksLock",(function(){return Ae})),n.d(t,"useMemoryState",(function(){return Te})),n.d(t,"useMeta",(function(){return Fe})),n.d(t,"useOnScroll",(function(){return De})),n.d(t,"useResizeObserver",(function(){return Ne})),n.d(t,"useSupports",(function(){return ze})),n.d(t,"useSettings",(function(){return Le})),n.d(t,"useScrollContainer",(function(){return Ue})),n.d(t,"useScrollContainerBox",(function(){return Ge})),n.d(t,"useSelectParent",(function(){return $e})),n.d(t,"useTraceUpdate",(function(){return We})),n.d(t,"useVisibility",(function(){return Ze})),n.d(t,"useCustomDefaults",(function(){return Xe})),n.d(t,"setAttributesToInnerBlocks",(function(){return Ve})),n.d(t,"getEditorScrollContainer",(function(){return qe})),n.d(t,"getSupports",(function(){return He}));var r=n(18),o=n(21),a=n(22);function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}var l=n(46),s=n.n(l);function u(e,t){return!t||"object"!==s()(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=n(0),p=n(23),f=n(3);function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}var g=function(e){c(n,e);var t=m(n);function n(e){var r;return Object(o.a)(this,n),(r=t.call(this,e)).state={suggestions:[],validValues:{},loading:r.isFetchingInfoOnLoad()},r.debouncedUpdateSuggestions=Object(p.debounce)(r.updateSuggestions,500),r}return Object(a.a)(n,[{key:"isFetchingInfoOnLoad",value:function(){var e=this.props,t=e.tokens,n=e.fetchSavedInfo;return Boolean(t.length&&n)}},{key:"componentDidMount",value:function(){var e=this;if(this.isFetchingInfoOnLoad()){var t=this.props,n=t.tokens;(0,t.fetchSavedInfo)(n).then((function(t){var n=e.state.validValues;t.forEach((function(e){n[e.value]=e.label})),e.setState({validValues:n,loading:!1})}))}}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest,this.debouncedUpdateSuggestions.cancel()}},{key:"getLabelsForValues",value:function(e){var t=this.state.validValues;return e.reduce((function(e,n){return t[n]?[].concat(Object(r.a)(e),[t[n]]):e}),[])}},{key:"getValuesForLabels",value:function(e){var t=this.state.validValues;return e.map((function(e){return Object.keys(t).find((function(n){return t[n]===e}))}))}},{key:"updateSuggestions",value:function(e){var t=this,n=this.props.fetchSuggestions;n&&this.setState({loading:!0},(function(){var r=n(e);r.then((function(e){if(t.suggestionsRequest===r){var n=t.state.validValues,o=[];e.forEach((function(e){o.push(e.label),n[e.value]=e.label})),t.setState({suggestions:o,validValues:n,loading:!1})}})).catch((function(){t.suggestionsRequest===r&&t.setState({loading:!1})})),t.suggestionsRequest=r}))}},{key:"handleOnChange",value:function(e){(0,this.props.onChange)(this.getValuesForLabels(e))}},{key:"getTokens",value:function(){var e=this.props.tokens;return this.getLabelsForValues(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.help,r=t.label,o=void 0===r?"":r,a=this.state,i=a.suggestions,c=a.loading;return Object(b.createElement)("div",{className:"autocomplete-tokenfield"},Object(b.createElement)(f.FormTokenField,{value:this.getTokens(),suggestions:i,onChange:function(t){return e.handleOnChange(t)},onInputChange:function(t){return e.debouncedUpdateSuggestions(t)},label:o}),c&&Object(b.createElement)(f.Spinner,null),n&&Object(b.createElement)("p",{className:"autocomplete-tokenfield__help"},n))}}]),n}(b.Component),h=n(7),O=n(6),v=n(26),j=function(e){return null!=e&&e.viewBox&&null!=e&&e.id?Object(b.createElement)("svg",{className:"novablocks-icon",viewBox:e.viewBox},Object(b.createElement)("use",{className:"novablocks-icon-symbol",xlinkHref:"#".concat(e.id)})):""},y=function(e){var t=v.library[e];return j(t)},_=n(1),w=n(47),k=n(10),E=n(9);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var C=Object(b.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:function(){},clientId:null}).Consumer,x={top:{icon:y("alignTop"),title:Object(_.__)("Align Top","nova-blocks")},center:{icon:y("alignCenter"),title:Object(_.__)("Align Center","nova-blocks")},bottom:{icon:y("alignBottom"),title:Object(_.__)("Align Bottom","nova-blocks")}},A=["top","center","bottom"];var I,T,R=Object(E.compose)((I=function(e){return{clientId:e.clientId}},Object(E.createHigherOrderComponent)((function(e){return function(t){return Object(b.createElement)(C,null,(function(n){return Object(b.createElement)(e,Object(h.a)({},t,I(n,t)))}))}}),"withBlockEditContext")),Object(w.withViewportMatch)({isLargeViewport:"medium"}),Object(k.withSelect)((function(e,t){var n=t.clientId,r=t.isLargeViewport,o=t.isCollapsed,a=e("core/block-editor"),i=a.getBlockRootClientId,c=a.getSettings;return{isCollapsed:o||!r||!c().hasFixedToolbar&&i(n)}})))((function(e){var t=e.isCollapsed,n=e.value,r=e.onChange,o=e.controls,a=void 0===o?A:o,i=x[n],c=x.top;return Object(b.createElement)(f.ToolbarGroup,{label:Object(_.__)("Vertical Alignment","nova-blocks"),iscollapsed:t,icon:i?i.icon:c.icon,controls:a.map((function(e){return S(S({},x[e]),{},{isActive:n===e,onClick:(t=e,function(){return r(n===t?void 0:t)})});var t}))})})),B=n(38),M=function(e){var t=e.attributes,n=t.metaAboveTitle,r=t.title,o=t.subtitle,a=t.metaBelowTitle,i=t.description,c=t.showMeta,l=t.showTitle,s=t.showSubtitle,u=t.showDescription,d=t.buttonText,p=t.showButtons;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(En,Object(h.a)({},e,{show:c}),n),Object(b.createElement)(wn,Object(h.a)({},e,{show:l}),r),Object(b.createElement)(kn,Object(h.a)({},e,{show:s}),o),Object(b.createElement)(En,Object(h.a)({},e,{show:c}),a),Object(b.createElement)(Pn,Object(h.a)({},e,{show:u}),Object(B.__unstableStripHTML)(i)),Object(b.createElement)(Sn,Object(h.a)({},e,{show:p&&!!d}),Object(b.createElement)(yn,e,d)))},F=function(e){var t="novablocks-controls-group",n=b.Children.toArray(e.children);return e.className&&(t="".concat(t," ").concat(e.className)),n.length?Object(b.createElement)("div",{className:t},!!e.title&&Object(b.createElement)("div",{className:"novablocks-controls-group__title"},e.title),e.children):null},D=n(11),N=n.n(D),z=new Uint8Array(16);function L(){if(!T&&!(T="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return T(z)}var V=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var q=function(e){return"string"==typeof e&&V.test(e)},H=[],U=0;U<256;++U)H.push((U+256).toString(16).substr(1));var G=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(H[e[t+0]]+H[e[t+1]]+H[e[t+2]]+H[e[t+3]]+"-"+H[e[t+4]]+H[e[t+5]]+"-"+H[e[t+6]]+H[e[t+7]]+"-"+H[e[t+8]]+H[e[t+9]]+"-"+H[e[t+10]]+H[e[t+11]]+H[e[t+12]]+H[e[t+13]]+H[e[t+14]]+H[e[t+15]]).toLowerCase();if(!q(n))throw TypeError("Stringified UUID is invalid");return n};var $=function(e,t,n){var r=(e=e||{}).random||(e.rng||L)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return G(r)},W=function(e){var t=e.onChange,n=e.options,r=e.selected,o=e.favorite,a=o?"star":"tick";return Object(b.createElement)("div",{className:"components-base-control color-palette-picker"},Object(b.createElement)("div",{className:"color-palette-picker__palettes"},n.map((function(e,n){var i=e.value,c=(e.data,e.colors),l=$(),s="".concat(r)==="".concat(i),u=N()("color-palette-picker__color",{"color-palette-picker__color--favorite":s&&o});return Object(b.createElement)("button",{key:"color_palette_picker_palette_"+n,className:u,style:{color:c[0]},onClick:function(){t(i)}},Object(b.createElement)("svg",{className:"color-palette-picker__color-svg",width:"48",height:"48",viewBox:"0 0 48 48"},Object(b.createElement)("defs",null,Object(b.createElement)("linearGradient",{id:l,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},c.map((function(e,t,n){var r={stopColor:e,stopOpacity:1};return Object(b.createElement)(b.Fragment,{key:"color_palette_picker_palette_color_"+t},Object(b.createElement)("stop",{offset:"".concat(100*t/n.length,"%"),style:r}),Object(b.createElement)("stop",{offset:"".concat(100*(t+1)/n.length,"%"),style:r}))})))),Object(b.createElement)("circle",{className:"color-palette-picker__color-dash",stroke:"none",fill:"none",r:"20",cx:"24",cy:"24"}),Object(b.createElement)("circle",{className:"color-palette-picker__color-fill",fill:"url(#".concat(l,")"),r:"17",cx:"24",cy:"24"})),s&&Object(b.createElement)("div",{className:"color-palette-picker__tick",dangerouslySetInnerHTML:{__html:Object(v.getIcon)(a)}}))}))))},Q=function(e){var t=e.options;return Object(b.createElement)(W,Object(h.a)({label:"Duotones",options:t,onChange:function(e){},selected:1},e))},Z=[{value:"smallest",label:Object(_.__)("Smallest","nova-blocks")},{value:"smaller",label:Object(_.__)("Smaller","nova-blocks")},{value:"normal",label:Object(_.__)("Normal","nova-blocks")},{value:"larger",label:Object(_.__)("Larger","nova-blocks")},{value:"largest",label:Object(_.__)("Largest","nova-blocks")}],K=function(e){return Object(b.createElement)(f.SelectControl,Object(h.a)({label:Object(_.__)("Font Size","nova-blocks"),options:Z},e))};K.DEFAULT_FONT_SIZE="normal",K.FONT_SIZE_OPTIONS=Z;var J=K;function X(e){var t=e.level,n=e.isPressed,r=void 0!==n&&n,o={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return o.hasOwnProperty(t)?Object(b.createElement)(f.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:r},Object(b.createElement)(f.Path,{d:o[t]})):null}function Y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}var ee=function(e){c(n,e);var t=Y(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n,[{key:"createLevelControl",value:function(e,t,n){var r=e===t;return{icon:Object(b.createElement)(X,{level:e,isPressed:r}),title:Object(_.sprintf)(Object(_.__)("Heading %d"),e),isActive:r,onClick:function(){return n(e)}}}},{key:"render",value:function(){var e=this,t=this.props,n=t.minLevel,r=t.maxLevel,o=t.selectedLevel,a=t.onChange;return Object(b.createElement)(f.ToolbarGroup,{icon:Object(b.createElement)(X,{level:o}),controls:Object(p.range)(n,r).map((function(t){return e.createLevelControl(t,o,a)}))})}}]),n}(b.Component),te=n(12),ne=function(e){var t=Object(b.useState)(a),n=Object(te.a)(t,2),r=(n[0],n[1]),o=e.options,a=e.selected,i="function"==typeof e.onChange?e.onChange:function(){};return Object(b.createElement)("div",{className:"components-base-control components-image-select-control"},o.map((function(e){return Object(b.createElement)("div",{key:e.slug,role:"button","aria-label":e.label,onClick:function(){r(e.slug),i(e.slug)},className:N()("components-image-select-control__option",{"components-image-select-control__option--selected":e.slug===a})},Object(b.createElement)("div",{className:"components-image-select-control__image"},Object(b.createElement)("img",{src:e.src,alt:e.label})),Object(b.createElement)("div",{className:"components-image-select-control__label"},e.label))})))},re=n(24),oe=function(e){var t=e.clientId;return Ce(t).map((function(e){var t,n=Object(re.getSaveElement)(e.name,e.attributes,e.innerBlocks);"core/buttons"===e.name&&Object.assign(n.props.style,{justifyContent:null===(t=e.attributes.layout)||void 0===t?void 0:t.justifyContent});return n}))},ae=n(40),ie=n.n(ae),ce=function(e){var t=e.id,n=e.content,r=e.dismissLabel,o=Object(b.useState)(ie.a.get(t)),a=Object(te.a)(o,2),i=a[0],c=a[1];return i?null:Object(b.createElement)("div",{className:"novablocks-notice"},n,void 0!==r&&Object(b.createElement)(f.Button,{isPrimary:!0,onClick:function(){ie.a.set(t,!0,{expires:365}),c(!0)}},r))},le=n(4),se=function(e){var t=e.attributes,n=e.getContent,r=e.cardsCount,o=e.className,a=Object(le.applyLayoutEngine)(t),i=0;return Object(le.redistributeCardsInAreas)(a,r,t),Object(b.createElement)("div",{className:o,style:Object(le.getGridStyle)(t),key:"parametric_grid"},!!a&&a.map((function(r,o){var a=r.areas,c=r.row,l=r.col,s={gridColumnStart:l,gridColumnEnd:l+r.width,gridRowStart:c,gridRowEnd:c+r.height};return Object(b.createElement)("div",{className:"nb-grid__column",style:s,key:"parametric_grid_column_"+o},a.map((function(r,a){return i+=r.postsCount,!!r.postsCount&&Object(b.createElement)("div",{className:Object(le.getParametricLayoutAreaClassName)(r,t),key:"parametric_grid_column_"+o+"_area_"+a},Array.from(Array(r.postsCount).keys()).map((function(o){var a=Object(le.isLandscape)(r,t);return n(i-r.postsCount+o,e,a)})))})))})))},ue=function(e,t){var n={},r=t.find((function(t){return e===t.value}));return r&&r.preset&&(n=Object.assign(r.preset,n)),n},de=function(e,t){var n=e.filter((function(e){var n=e.preset;return Object.keys(n).every((function(e){return n[e]===t[e]}))}));return n.length?n[0].value:null},be=function(e){var t=e.label,n=e.options,r=e.randomize,o=e.attributes,a=e.setAttributes,i=Object(b.useCallback)((function(){return"function"==typeof r?r():{}}),[r]),c=Object(b.useMemo)((function(){var e=Array.isArray(n)?n.slice():[];return void 0!==r&&e.push({label:"Just My Style™",value:"just-my-style",preset:{}}),e}),[n,r]),l=Object(b.useMemo)((function(){return de(c,o)}),[c,o]),s=Object(b.useCallback)((function(e){if("just-my-style"!==e){var t=ue(e,c);a(t)}else a(Object.assign({},i()))}),[c]);return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(f.RadioControl,{label:t,options:c.map((function(e){return{label:e.label,value:e.value}})),selected:l,onChange:s}),"just-my-style"===l&&Object(b.createElement)("div",{key:"advanced-gallery-surprise-control"},Object(b.createElement)(f.Button,{isPrimary:!0,onClick:function(){a(i())}},Object(_.__)("💡 Surprise me!","nova-blocks"))))};function pe(e,t,n,r,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function fe(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){pe(a,r,o,i,c,"next",e)}function c(e){pe(a,r,o,i,c,"throw",e)}i(void 0)}))}}var me=n(28),ge=n.n(me),he=wp.apiFetch,Oe={},ve=function(e){var t=Object(b.useState)([]),n=Object(te.a)(t,2),r=n[0],o=n[1];return Object(b.useEffect)((function(){e&&function(){var t=fe(ge.a.mark((function t(){return ge.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Oe[e]){t.next=4;break}return t.next=3,he({path:e});case 3:Oe[e]=t.sent;case 4:o(Oe[e]);case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()()}),[e]),{data:r}},je=function(e){var t=Object(b.useRef)(),n=Object(b.useRef)(),r=function r(o){if(n.current){var a=o-n.current;e(a)}n.current=o,t.current=requestAnimationFrame(r)};Object(b.useEffect)((function(){return t.current=requestAnimationFrame(r),function(){return cancelAnimationFrame(t.current)}}),[])},ye=function(e){var t=Object(k.useSelect)("core/block-editor"),n=t.getBlockParents,r=t.getBlock,o=t.getClientIdsWithDescendants,a=n(e).slice(),i=o();return Object(b.useMemo)((function(){if(a.length){var t=r(a[a.length-1]).innerBlocks;if(t.length&&t[0].clientId===e)return!0}return e===i[0]}),[e,i])};function _e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function we(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ke=function(e,t){var n=Object(b.useRef)(t);return Object(b.useEffect)((function(){n.current=e})),n.current},Ee=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=ke(t,[]),o=t.reduce((function(e,t,o){if(t!==r[o]){var a=n[o]||o;return we(we({},e),{},Object(O.a)({},a,{before:r[o],after:t}))}return e}),{});Object.keys(o).length&&console.log("[use-effect-debugger] ",o),Object(b.useEffect)(e,t)},Pe=n(15),Se=function(e,t){var n=Object(Pe.useRef)(!1);Object(Pe.useEffect)((function(){n.current?e():n.current=!0}),t)},Ce=function(e){return Object(k.useSelect)((function(t){var n;return(null===(n=t("core/block-editor").getBlock(e))||void 0===n?void 0:n.innerBlocks)||[]}),[e])},xe=function(e,t,n,r){var o=Object(k.useSelect)((function(t){return t("core/block-editor").getBlockCount(e)}),[e]),a=Object(k.useDispatch)("core/block-editor").replaceInnerBlocks,i=Ce(e);return Object(b.useEffect)((function(){var c=i.slice(0,t);if(t>o)for(var l=0;l<t-o;l++)c.push(Object(re.createBlock)(n,r));a(e,c)}),[t])},Ae=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Object(k.useDispatch)("core/block-editor"),a=o.updateBlockAttributes,i=Ce(e);return Object(b.useEffect)((function(){i.forEach((function(e){r&&e.name!==r||a(e.clientId,{lock:t})}))}),[n])},Ie={},Te=function(e,t){var n=Object(b.useState)((function(){return Object.prototype.hasOwnProperty.call(Ie,e)?Ie[e]:"function"==typeof t?t():t})),r=Object(te.a)(n,2),o=r[0],a=r[1];return[o,function(t){Ie[e]=t,a(t)}]},Re=n(30);function Be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Fe=function(e){var t=function(){},n=Object(k.useSelect)((function(e){var t;return null===(t=e("core/editor"))||void 0===t?void 0:t.getCurrentPostType()}),[]);if(!n)return[null,t];var r=Object(Re.useEntityProp)("postType",n,"meta"),o=Object(te.a)(r,2),a=o[0],i=o[1];return a?[a[e],Object(b.useCallback)((function(t){i(Me(Me({},a),{},Object(O.a)({},e,t)))}),[a])]:[null,t]},De=function(e,t){Object(b.useEffect)((function(){return e&&e.addEventListener("scroll",t),function(){e&&e.removeEventListener("scroll",t)}}),[e])},Ne=function(){var e=Object(b.useState)({}),t=Object(te.a)(e,2),n=t[0],r=t[1],o=Object(b.useState)(null),a=Object(te.a)(o,2),i=a[0],c=a[1],l=Object(b.useRef)(null),s=Object(b.useCallback)((function(){var e=l.current;e&&e.disconnect()}),[]),u=Object(b.useCallback)((function(){l.current=new window.ResizeObserver((function(e){var t=Object(te.a)(e,1)[0];return r(t)})),i&&l.current.observe(i)}),[i]);return Object(b.useLayoutEffect)((function(){return u(),function(){return s()}}),[s,u]),[c,n]},ze=function(e){return Object(k.useSelect)((function(t){return t("core/blocks").getBlockType(e).supports}),[e])},Le=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"novablocks",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object(k.useSelect)((function(t){return t(e).getSettings()}),t)},Ve=function(e,t){var n=Object(k.select)("core/block-editor").getBlock,r=Object(k.dispatch)("core/block-editor").updateBlockAttributes;n(e).innerBlocks.forEach((function(e){r(e.clientId,t)}))},qe=function(){return document.querySelector(".edit-post-layout__content")||document.querySelector(".edit-post-editor-regions__content")||document.querySelector(".block-editor-editor-skeleton__content")||document.querySelector(".interface-interface-skeleton__content")},He=function(e){return Object(k.select)("core/blocks").getBlockType(e).supports},Ue=function(){var e=Object(b.useState)(null),t=Object(te.a)(e,2),n=t[0],r=t[1];return Object(b.useEffect)((function(){r(qe())}),[]),n},Ge=function(e){var t=Object(b.useState)(null),n=Object(te.a)(t,2),r=n[0],o=n[1],a=Ne(),i=Object(te.a)(a,2),c=i[0],l=i[1],s=Object(b.useCallback)((function(){o(e.getBoundingClientRect())}),[e]);return Object(b.useEffect)((function(){e&&c(e)}),[e]),Object(b.useEffect)((function(){e&&o(e.getBoundingClientRect())}),[l]),Object(b.useEffect)((function(){return e&&e.addEventListener("scroll",s),function(){e&&e.removeEventListener("scroll",s)}}),[]),r},$e=function(e,t){var n=e.clientId,r=e.isSelected,o=Object(k.useDispatch)("core/block-editor"),a=o.selectBlock,i=o.clearSelectedBlock,c=Object(k.useSelect)((function(e){return e("core/block-editor").getBlockParents(n).slice()}),[n]);return Object(b.useEffect)((function(){r&&c.length&&(void 0===t||t)&&i().then((function(){a(c[c.length-1])}))}),[r,t])},We=function(e){var t=Object(b.useRef)(e);Object(b.useEffect)((function(){var n=Object.entries(e).reduce((function(e,n){var r=Object(te.a)(n,2),o=r[0],a=r[1];return t.current[o]!==a&&(e[o]=[t.current[o],a]),e}),{});Object.keys(n).length>0&&console.log("Changed props:",n),t.current=e}))},Qe=Object(b.createContext)("ControlsVisibility"),Ze=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Object(b.useContext)(Qe),r=n[e],o=void 0===r&&t;return!(!o&&!0!==r)};function Ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Xe=function(e,t,n){var r=t.defaultsGenerated,o=Object(k.useDispatch)("core/block-editor").updateBlockAttributes;return Object(b.useEffect)((function(){r||n(t).then((function(t){o(e,Je(Je({},t),{},{defaultsGenerated:!0}))}))}),[e,r])},Ye=["None","Low","Medium","High"],et=function(e){var t,n,r,o,a,i,c,l,s,u=e.label,d=e.signal,p=e.onChange||function(){},m=e.labels||Ye,g=ze(e.name),h=Math.min(null!==(t=null==g||null===(n=g.novaBlocks)||void 0===n||null===(r=n.colorSignal)||void 0===r?void 0:r.maxColorSignal)&&void 0!==t?t:3,null!==(o=null==e?void 0:e.max)&&void 0!==o?o:3),v=Math.max(null!==(a=null==g||null===(i=g.novaBlocks)||void 0===i||null===(c=i.colorSignal)||void 0===c?void 0:c.minColorSignal)&&void 0!==a?a:0,null!==(l=null==e?void 0:e.min)&&void 0!==l?l:0),j=m[d],y=N()("nb-signal-icon",(s={},Object(O.a)(s,"nb-signal-icon--none",0===d),Object(O.a)(s,"nb-signal-icon--low",1===d),Object(O.a)(s,"nb-signal-icon--medium",2===d),Object(O.a)(s,"nb-signal-icon--high",3===d),s));return Object(b.createElement)("div",{className:"components-base-control components-nb-signal-control"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("div",{className:"components-base-control__label"},u),Object(b.createElement)("div",{className:"components-nb-signal-control__root"},Object(b.createElement)("div",{className:"nb-signal"},Object(b.createElement)("div",{className:y},Object(b.createElement)("div",{className:"nb-signal-icon__bar"}),Object(b.createElement)("div",{className:"nb-signal-icon__bar"}),Object(b.createElement)("div",{className:"nb-signal-icon__bar"})),Object(b.createElement)("div",{className:"nb-signal__text"},Object(b.createElement)("div",{className:"nb-signal-icon-label"},"Level"),Object(b.createElement)("div",{className:"nb-signal__value-label"},j)),Object(b.createElement)("div",{className:"nb-signal__controls"},Object(b.createElement)(f.Button,{isSecondary:!0,disabled:d<=v,onClick:function(){p(d-1)}},Object(b.createElement)(f.Icon,{icon:"minus"})),Object(b.createElement)(f.Button,{isSecondary:!0,disabled:d>=h,onClick:function(){p(d+1)}},Object(b.createElement)(f.Icon,{icon:"plus"})))))))},tt=function(e){var t=e.rows||2,n=Array.from(Array(t).keys());return Object(b.createElement)("div",{className:"novablocks-text-placeholder"},n.map((function(e,t){var r=t===n.length-1?Object(le.getRandomBetween)(6,12):Object(le.getRandomBetween)(17,20),o={width:"".concat(5*r,"%")};return Object(b.createElement)("div",{key:"text_placeholder_"+t,className:"novablocks-text-placeholder__row",style:o})})))},nt=n(35),rt=function(e){var t=e.toggles,n="function"==typeof e.onChange?e.onChange:function(){},r=Object(b.useState)((function(){return new WeakMap})),o=Object(te.a)(r,1)[0],a=t.filter((function(e){return!!e.value})),i=t.filter((function(e){return!e.value})),c={initial:{left:0},from:{opacity:0,height:0,left:40},enter:function(e){return function(){var t=fe(ge.a.mark((function t(n){var r;return ge.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=o.get(e),t.next=3,n({opacity:1,left:0,height:r.offsetHeight});case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},leave:function(e){return function(){var e=fe(ge.a.mark((function e(t,n){return ge.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({opacity:0,height:0,left:40});case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()},keys:function(e){return e.attribute}},l=Object(nt.useTransition)(a,c),s=Object(nt.useTransition)(i,c),u=Object(b.useCallback)((function(e){return function(t){"function"==typeof e.onChange&&e.onChange(t),n(Object(O.a)({},e.attribute,t))}}),[]);return Object(b.createElement)("div",{className:"components-toggle-group__panel",key:"toggle-group-controls"},Object(b.createElement)("div",{className:"components-toggle-group"},!!a.length&&Object(b.createElement)("div",{className:"components-toggle-group__toggle-list components-toggle-group__toggle-list--enabled"},l((function(e,t,n){var r=n.key;return Object(b.createElement)(nt.animated.div,{key:r,style:e,className:"components-toggle-group__toggle-list-animated"},Object(b.createElement)("div",{ref:function(e){return e&&o.set(t,e)}},Object(b.createElement)("div",{className:"components-toggle-group__toggle-list-item"},Object(b.createElement)(f.ToggleControl,{label:t.label,checked:!!t.value,onChange:u(t)}))))}))),!!i.length&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)("label",{className:"components-toggle-group__toggle-list-label"},"Elements you aren't using"),Object(b.createElement)("div",{className:"components-toggle-group__toggle-list components-toggle-group__toggle-list--disabled"},s((function(e,t,n){var r=n.key;return Object(b.createElement)(nt.animated.div,{key:r,style:e,className:"components-toggle-group__toggle-list-animated"},Object(b.createElement)("div",{ref:function(e){return e&&o.set(t,e)}},Object(b.createElement)("div",{className:"components-toggle-group__toggle-list-item"},Object(b.createElement)(f.ToggleControl,{label:t.label,checked:!!t.value,onChange:u(t)}))))}))))))},ot=n(16),at=function(e){var t,n=e.setAttributes,r=e.clientId,o=e.name,a=Object(k.useSelect)((function(e){var t=e("core/blocks"),n=t.getBlockType,r=t.getBlockVariations,a=t.getDefaultBlockVariation;return{blockType:n(o),variations:r(o),defaultVariation:a(o)}}),[o]),i=a.blockType,c=a.variations,l=a.defaultVariation,s=Object(k.useDispatch)("core/block-editor").replaceInnerBlocks,u=Object(b.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l;n(e.attributes),e.innerBlocks&&s(r,Object(re.createBlocksFromInnerBlocksTemplate)(e.innerBlocks))}),[l]);return Object(b.createElement)(ot.__experimentalBlockVariationPicker,{icon:null==i||null===(t=i.icon)||void 0===t?void 0:t.src,label:null==i?void 0:i.title,instructions:Object(_.__)("Select a variation to start with.","nova-blocks"),variations:c,onSelect:u,allowSkip:!0})},it=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(n){return function(r){var o=Object(b.useContext)(Qe)[e];return void 0===o&&t||!0===o?Object(b.createElement)(n,r):null}}},ct=function(e,t){var n=Object(k.select)("core/block-editor"),r=n.getBlocksByClientId,o=n.getClientIdsWithDescendants,a=Object(k.dispatch)("core/block-editor"),i=a.replaceInnerBlocks,c=a.updateBlockAttributes,l=o(),s=!1;return Object(k.subscribe)((function(){var n=o(),a=n.filter((function(e){return!l.includes(e)}));n!==l&&a.length&&(s?(l=n,r(a).map((function(n){var r;n.name!==e||n.attributes.templateInserted||null!==(r=n.innerBlocks)&&void 0!==r&&r.length||(i(n.clientId,Object(re.createBlocksFromInnerBlocksTemplate)(t)),c(n.clientId,{templateInserted:!0}))}))):s=!0)}))},lt=n(49);function st(){return(st=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ut(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var dt=pt((function(e){return"string"==typeof e?e:null})),bt=function(e){return null!=e};function pt(e){return function(t){return bt(e(t))}}var ft=function(e){return Object.keys(e).reduce((function(t,n){var r,o=e[n];return st({},t,bt(o)?((r={})[n]=o,r):{})}),{})};function mt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.length-1;return function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];for(var a=t[0].apply(this,n),i=1;i<=r;i++)a=t[i].call(this,a);return a}}var gt,ht,Ot=pt((function(e){return bt(e)&&"object"==typeof e&&!Array.isArray(e)?e:null})),vt=pt((function(e){return Array.isArray(e)&&e.every(dt)&&e.length>0?e:null})),jt=pt((function(e){return Ot(e)&&"errors"in e&&vt(e.errors)?{errors:e.errors}:null})),yt=function(e){this.message=e},_t=function(e){if(function(e){var t=e.headers.get("content-type");return bt(t)&&"application/json"===Object(lt.parse)(t).type}(e))return e.json().catch((function(e){throw new yt("unable to parse JSON response.")}));throw new yt("expected JSON response from server.")},wt=function(e){return function(t){return(t.ok?e({response:t}).then((function(e){return{type:"success",status:t.status,response:e,originalResponse:t}})):_t(t).then((function(e){return st({type:"error",status:t.status},function(e){return jt(e)?{errors:e.errors,source:"api"}:{errors:["Responded with a status code outside the 2xx range, and the response body is not recognisable."],source:"decoding"}}(e),{originalResponse:t})}))).catch((function(e){if(e instanceof yt)return{type:"error",source:"decoding",status:t.status,originalResponse:t,errors:[e.message]};throw e}))}},kt=function(){return function(e){var t=e.response;return _t(t)}},Et=function(e){var t=e.pathname,n=e.query;return function(e){var r=new URL(e);return function(e){return function(t){"/"===t.pathname?t.pathname=e:t.pathname+=e}}(t)(r),function(e){return function(t){Object.keys(e).forEach((function(n){return t.searchParams.set(n,e[n].toString())}))}}(n)(r),r.toString()}},Pt=function(e){return function(t,n){void 0===n&&(n={});var r=e(t),o=r.headers,a=r.query;return st({},ut(r,["headers","query"]),n,{query:a,headers:st({},o,n.headers)})}},St=function(e){return e},Ct=function(e){var t=e.accessKey,n=e.apiVersion,r=void 0===n?"v1":n,o=e.apiUrl,a=void 0===o?"https://api.unsplash.com":o,i=e.headers,c=e.fetch,l=ut(e,["accessKey","apiVersion","apiUrl","headers","fetch"]);return function(e){var n=e.handleResponse;return mt(e.handleRequest,(function(e){var o=e.pathname,s=e.query,u=e.method,d=void 0===u?"GET":u,b=e.headers,p=e.body,f=e.signal,m=Et({pathname:o,query:s})(a),g=st({method:d,headers:st({},i,b,{"Accept-Version":r},bt(t)?{Authorization:"Client-ID "+t}:{}),body:p,signal:f},l);return(null!=c?c:fetch)(m,g).then(wt(n))}))}},xt=function(e){var t=e.headers.get("x-total");if(bt(t)){var n=parseInt(t);if(Number.isInteger(n))return n;throw new yt("expected x-total header to be valid integer.")}throw new yt("expected x-total header to exist.")},At=function(){return function(e){var t=e.response;return kt()({response:t}).then((function(e){return{results:e,total:xt(t)}}))}},It=function(e){return bt(e)?{collections:e.join()}:{}},Tt=function(e){return bt(e)?{topics:e.join()}:{}},Rt=function(e){var t=e.page,n=e.perPage,r=e.orderBy;return ft({per_page:n,order_by:r,page:t})},Bt=function(){var e=function(e){return"/collections/"+e.collectionId+"/photos"};return{getPathname:e,handleRequest:Pt((function(t){var n=t.collectionId,r=t.orientation,o=ut(t,["collectionId","orientation"]);return{pathname:e({collectionId:n}),query:ft(st({},Rt(o),{orientation:r}))}})),handleResponse:At()}}(),Mt=function(){var e=function(e){return"/collections/"+e.collectionId};return{getPathname:e,handleRequest:Pt((function(t){var n=t.collectionId;return{pathname:e({collectionId:n}),query:{}}})),handleResponse:kt()}}(),Ft=function(){var e=function(){return"/collections"};return{getPathname:e,handleRequest:Pt((function(e){return void 0===e&&(e={}),{pathname:"/collections",query:Rt(e)}})),handleResponse:At()}}(),Dt=function(){var e=function(e){return"/collections/"+e.collectionId+"/related"};return{getPathname:e,handleRequest:Pt((function(t){var n=t.collectionId;return{pathname:e({collectionId:n}),query:{}}})),handleResponse:kt()}}(),Nt=function(){return{getPathname:function(e){return"/photos"},handleRequest:Pt((function(e){return void 0===e&&(e={}),{pathname:"/photos",query:ft(Rt(e))}})),handleResponse:At()}}(),zt=function(){var e=function(e){return"/photos/"+e.photoId};return{getPathname:e,handleRequest:Pt((function(t){var n=t.photoId;return{pathname:e({photoId:n}),query:{}}})),handleResponse:kt()}}(),Lt=function(){var e=function(e){return"/photos/"+e.photoId+"/statistics"};return{getPathname:e,handleRequest:Pt((function(t){var n=t.photoId;return{pathname:e({photoId:n}),query:{}}})),handleResponse:kt()}}(),Vt=function(){var e=function(){return"/photos/random"};return{getPathname:e,handleRequest:Pt((function(e){var t=void 0===e?{}:e,n=t.collectionIds,r=t.contentFilter,o=t.topicIds,a=ut(t,["collectionIds","contentFilter","topicIds"]);return{pathname:"/photos/random",query:ft(st({},a,{content_filter:r},It(n),Tt(o))),headers:{"cache-control":"no-cache"}}})),handleResponse:kt()}}(),qt={handleRequest:Pt((function(e){var t=function(e){var t=new URL(e),n=t.pathname;return{query:function(e){var t={};return e.forEach((function(e,n){t[n]=e})),t}(t.searchParams),pathname:"/"===n?void 0:n}}(e.downloadLocation),n=t.pathname,r=t.query;if(!bt(n))throw new Error("Could not parse pathname from url.");return{pathname:n,query:ft(r)}})),handleResponse:kt()},Ht=function(){return{getPathname:function(e){return"/search/photos"},handleRequest:Pt((function(e){var t=e.query,n=e.page,r=e.perPage,o=e.orderBy,a=e.collectionIds,i=e.lang,c=e.contentFilter,l=ut(e,["query","page","perPage","orderBy","collectionIds","lang","contentFilter"]);return{pathname:"/search/photos",query:ft(st({query:t,content_filter:c,lang:i,order_by:o},Rt({page:n,perPage:r}),It(a),l))}})),handleResponse:kt()}}(),Ut=function(){return{getPathname:function(e){return"/search/collections"},handleRequest:Pt((function(e){var t=e.query,n=ut(e,["query"]);return{pathname:"/search/collections",query:st({query:t},Rt(n))}})),handleResponse:kt()}}(),Gt=function(){return{getPathname:function(e){return"/search/users"},handleRequest:Pt((function(e){var t=e.query,n=ut(e,["query"]);return{pathname:"/search/users",query:st({query:t},Rt(n))}})),handleResponse:kt()}}(),$t=function(){var e=function(e){return"/users/"+e.username};return{getPathname:e,handleRequest:Pt((function(t){var n=t.username;return{pathname:e({username:n}),query:{}}})),handleResponse:kt()}}(),Wt=function(){var e=function(e){return"/users/"+e.username+"/photos"};return{getPathname:e,handleRequest:Pt((function(t){var n=t.username,r=t.stats,o=t.orientation,a=ut(t,["username","stats","orientation"]);return{pathname:e({username:n}),query:ft(st({},Rt(a),{orientation:o,stats:r}))}})),handleResponse:At()}}(),Qt=function(){var e=function(e){return"/users/"+e.username+"/likes"};return{getPathname:e,handleRequest:Pt((function(t){var n=t.username,r=t.orientation,o=ut(t,["username","orientation"]);return{pathname:e({username:n}),query:ft(st({},Rt(o),{orientation:r}))}})),handleResponse:At()}}(),Zt=function(){var e=function(e){return"/users/"+e.username+"/collections"};return{getPathname:e,handleRequest:Pt((function(t){var n=t.username,r=ut(t,["username"]);return{pathname:e({username:n}),query:Rt(r)}})),handleResponse:At()}}(),Kt=function(e){return"/topics/"+e.topicIdOrSlug},Jt=St({getPathname:Kt,handleRequest:function(e){var t=e.page,n=e.perPage,r=e.orderBy,o=e.topicIdsOrSlugs;return{pathname:"/topics",query:ft(st({},Rt({page:t,perPage:n}),{ids:null==o?void 0:o.join(","),order_by:r}))}},handleResponse:At()}),Xt=St({getPathname:Kt,handleRequest:function(e){var t=e.topicIdOrSlug;return{pathname:Kt({topicIdOrSlug:t}),query:{}}},handleResponse:kt()}),Yt=function(){var e=mt(Kt,(function(e){return e+"/photos"}));return{getPathname:e,handleRequest:function(t){var n=t.topicIdOrSlug,r=t.orientation,o=ut(t,["topicIdOrSlug","orientation"]);return{pathname:e({topicIdOrSlug:n}),query:ft(st({},Rt(o),{orientation:r}))}},handleResponse:At()}}();!function(e){e.Afrikaans="af",e.Amharic="am",e.Arabic="ar",e.Azerbaijani="az",e.Belarusian="be",e.Bulgarian="bg",e.Bengali="bn",e.Bosnian="bs",e.Catalan="ca",e.Cebuano="ceb",e.Corsican="co",e.Czech="cs",e.Welsh="cy",e.Danish="da",e.German="de",e.Greek="el",e.English="en",e.Esperanto="eo",e.Spanish="es",e.Estonian="et",e.Basque="eu",e.Persian="fa",e.Finnish="fi",e.French="fr",e.Frisian="fy",e.Irish="ga",e.ScotsGaelic="gd",e.Galician="gl",e.Gujarati="gu",e.Hausa="ha",e.Hawaiian="haw",e.Hindi="hi",e.Hmong="hmn",e.Croatian="hr",e.HaitianCreole="ht",e.Hungarian="hu",e.Armenian="hy",e.Indonesian="id",e.Igbo="ig",e.Icelandic="is",e.Italian="it",e.Hebrew="iw",e.Japanese="ja",e.Javanese="jw",e.Georgian="ka",e.Kazakh="kk",e.Khmer="km",e.Kannada="kn",e.Korean="ko",e.Kurdish="ku",e.Kyrgyz="ky",e.Latin="la",e.Luxembourgish="lb",e.Lao="lo",e.Lithuanian="lt",e.Latvian="lv",e.Malagasy="mg",e.Maori="mi",e.Macedonian="mk",e.Malayalam="ml",e.Mongolian="mn",e.Marathi="mr",e.Malay="ms",e.Maltese="mt",e.Myanmar="my",e.Nepali="ne",e.Dutch="nl",e.Norwegian="no",e.Nyanja="ny",e.Oriya="or",e.Punjabi="pa",e.Polish="pl",e.Pashto="ps",e.Portuguese="pt",e.Romanian="ro",e.Russian="ru",e.Kinyarwanda="rw",e.Sindhi="sd",e.Sinhala="si",e.Slovak="sk",e.Slovenian="sl",e.Samoan="sm",e.Shona="sn",e.Somali="so",e.Albanian="sq",e.Serbian="sr",e.Sesotho="st",e.Sundanese="su",e.Swedish="sv",e.Swahili="sw",e.Tamil="ta",e.Telugu="te",e.Tajik="tg",e.Thai="th",e.Turkmen="tk",e.Filipino="tl",e.Turkish="tr",e.Tatar="tt",e.Uighur="ug",e.Ukrainian="uk",e.Urdu="ur",e.Uzbek="uz",e.Vietnamese="vi",e.Xhosa="xh",e.Yiddish="yi",e.Yoruba="yo",e.ChineseSimplified="zh",e.ChineseTraditional="zh-TW",e.Zulu="zu"}(gt||(gt={})),function(e){e.LATEST="latest",e.POPULAR="popular",e.VIEWS="views",e.DOWNLOADS="downloads",e.OLDEST="oldest"}(ht||(ht={}));var en=mt(Ct,(function(e){return{photos:{get:e(zt),list:e(Nt),getStats:e(Lt),getRandom:e(Vt),trackDownload:e(qt)},users:{getPhotos:e(Wt),getCollections:e(Zt),getLikes:e(Qt),get:e($t)},search:{getCollections:e(Ut),getPhotos:e(Ht),getUsers:e(Gt)},collections:{getPhotos:e(Bt),get:e(Mt),list:e(Ft),getRelated:e(Dt)},topics:{list:e(Jt),get:e(Xt),getPhotos:e(Yt)}}})),tn=encodeURI("utm_source=".concat("Nova Blocks","&utm_medium=referral")),nn=new(function(){function e(){Object(o.a)(this,e),this.fetchedImages=!1,this.images=[]}return Object(a.a)(e,[{key:"fetch",value:function(){var e,t,n,r=this,o=this.normalize.bind(this),a=null===(e=window)||void 0===e||null===(t=e.pixcare)||void 0===t||null===(n=t.themeConfig)||void 0===n?void 0:n.unsplashApiKey;return a?(this.api=en({accessKey:a}),this.api.collections.getPhotos({collectionId:"10606015"}).then((function(e){if(!e.errors){var t=e.response,n=t.results;t.total;return r.images=n.map(o),r.images}console.log("error occurred: ",e.errors[0])})).finally((function(){r.fetchedImages=!0}))):(this.fetchedImages=!0,[])}},{key:"get",value:function(){return this.fetchedImages?this.images:this.fetch()}},{key:"normalize",value:function(e){var t=this;return{id:e.id,url:e.urls.regular,type:"image",width:e.width,height:e.height,sizes:{full:{url:e.urls.full,width:e.width,height:e.height},large:{url:e.urls.regular},medium:{url:e.urls.small},thumbnail:{url:e.urls.thumb},novablocks_huge:{url:e.urls.regular},novablocks_large:{url:e.urls.regular},novablocks_medium:{url:e.urls.small},novablocks_tiny:{url:e.urls.thumb}},title:e.description,caption:'<p class="credits">Photo by <a target="_blank" href="'.concat(e.user.links.html,"?").concat(tn,'">').concat(e.user.name,'</a> on <a target="_blank" href="https://unsplash.com?').concat(tn,'">Unsplash</a></p>'),download:function(){t.api.photos.trackDownload({downloadLocation:e.links.download_location})}}}}]),e}()),rn=nn.get.bind(nn),on=n(25),an=n.n(on),cn=function(e){var t=e.map((function(e){return an()({path:"/wp/v2/media/".concat(e.id)}).then((function(t){var n;return Object.assign({},e,{description:null==t||null===(n=t.description)||void 0===n?void 0:n.raw})}))}));return Promise.all(t)},ln=n(39),sn=function(e){var t=e.userId,n=Object(b.useState)(),r=Object(te.a)(n,2),o=r[0],a=r[1];return Object(b.useEffect)((function(){if(t){var n=t;an()({path:"/wp/v2/users/".concat(e.id)}).then((function(e){n===t&&a(e)}))}}),[t]),t&&void 0!==o&&(null==o?void 0:o.name)||""},un=function(e){var t=e.termId,n=e.postType,r=Object(b.useState)(),o=Object(te.a)(r,2),a=o[0],i=o[1];return Object(b.useEffect)((function(){if(t){var e=t,r="/wp/v2/categories/".concat(t);switch(n){case"product":r="/wp/v2/product_cat/".concat(t);break;case"portfolio":r="/wp/v2/portfolio_type/".concat(t);break;case"gallery":r="/wp/v2/gallery_type/".concat(t)}an()({path:r}).then((function(n){e===t&&i(n)}))}}),[t]),t&&void 0!==a&&(null==a?void 0:a.name)||""},dn=n(31),bn=function(e){var t=e.postId,n=Object(b.useState)(),r=Object(te.a)(n,2),o=r[0],a=r[1];return Object(b.useEffect)((function(){if(t){var e=t;an()({path:Object(dn.addQueryArgs)("/wp/v2/comments",{post:t}),parse:!1}).then((function(n){e===t&&a(n.headers.get("X-WP-Total"))}))}}),[t]),t&&void 0!==o?o?"".concat(o," Comment").concat(o>1?"s":""):Object(_.__)("No Comments","nova-blocks"):""},pn=function(e){var t=e.termIds,n=e.postType,r=Object(b.useState)(),o=Object(te.a)(r,2),a=o[0],i=o[1];return Object(b.useEffect)((function(){if(t){var e=t.join(","),r="/wp/v2/tags";switch(n){case"product":r="/wp/v2/product_tag";break;case"portfolio":r="/wp/v2/portfolio_tag";break;case"gallery":r="/wp/v2/gallery_tag"}an()({path:Object(dn.addQueryArgs)(r,{page:1,per_page:10,include:t})}).then((function(n){e===t.join(",")&&i(n)}))}}),[t]),t&&void 0!==a&&a.length&&a.map((function(e){return e.name})).join(", ")||""},fn=function(e){var t,n=12,r=0,o=0,a=null===(t=e.post)||void 0===t?void 0:t.content.rendered,i=a.replace(/(<([^>]+)>)/gi,"").split(" ").filter((function(e){return""!=e})).length,c=Math.floor(i/(250/60)),l=a.match(/<img\s[^>]+>/g),s=a.match(/<iframe\s[^>]+>/g);if(null!==l)for(var u=l.length,d=0;d<u;d++)r+=n,n>3&&n--;null!==s&&(o=60*s.length);var b=Math.ceil((c+r+o)/60);return b<1&&(b=1),Object(_.sprintf)(Object(_.__)("%s min read","nova-blocks"),b)},mn=function(e,t){var n,r,o,a,i,c,l,s;switch(t){case"author":return(null==e?void 0:e.author)&&Object(b.createElement)(sn,{userId:e.author});case"category":var u=0;switch(e.type){case"product":null!=e&&null!==(n=e.product_cat)&&void 0!==n&&n.length&&(u=e.product_cat[0]);break;case"portfolio":null!=e&&null!==(r=e.portfolio_type)&&void 0!==r&&r.length&&(u=e.portfolio_type[0]);break;case"gallery":null!=e&&null!==(o=e.gallery_type)&&void 0!==o&&o.length&&(u=e.gallery_type[0]);break;case"testimonial":break;default:null!=e&&null!==(a=e.categories)&&void 0!==a&&a.length&&(u=e.categories[0])}return!!u&&Object(b.createElement)(un,{termId:u,postType:e.type});case"comments":return!(null==e||!e.id)&&Object(b.createElement)(bn,{postId:e.id});case"date":var d=Object(ln.__experimentalGetSettings)().formats.date;return!(null==e||!e.date_gmt)&&Object(b.createElement)("time",{dateTime:Object(ln.format)("c",e.date_gmt)},Object(ln.dateI18n)(d,e.date_gmt));case"tags":var p=[];switch(e.type){case"product":null!=e&&null!==(i=e.product_tag)&&void 0!==i&&i.length&&(p=e.product_tag);break;case"portfolio":null!=e&&null!==(c=e.portfolio_tag)&&void 0!==c&&c.length&&(p=e.portfolio_tag);break;case"gallery":null!=e&&null!==(l=e.gallery_tag)&&void 0!==l&&l.length&&(p=e.gallery_tag);break;case"testimonial":break;default:null!=e&&null!==(s=e.tags)&&void 0!==s&&s.length&&(p=e.tags)}return!!p&&Object(b.createElement)(pn,{termIds:p,postType:e.type});case"reading-time":return Object(b.createElement)(fn,{post:e});default:return null}},gn=function(e){var t,n,r,o,a,i,c,l,s,u,d,b;return{type:null==e?void 0:e.media_type,width:(null==e||null===(t=e.media_details)||void 0===t||null===(n=t.sizes)||void 0===n||null===(r=n.novablocks_large)||void 0===r?void 0:r.width)||(null==e||null===(o=e.media_details)||void 0===o?void 0:o.width),height:(null==e||null===(a=e.media_details)||void 0===a||null===(i=a.sizes)||void 0===i||null===(c=i.novablocks_large)||void 0===c?void 0:c.height)||(null==e||null===(l=e.media_details)||void 0===l?void 0:l.height),url:(null==e||null===(s=e.media_details)||void 0===s||null===(u=s.sizes)||void 0===u||null===(d=u.novablocks_large)||void 0===d?void 0:d.source_url)||(null==e?void 0:e.source_url),alt:(null==e||null===(b=e.media_details)||void 0===b?void 0:b.alt)||(null==e?void 0:e.alt)||""}},hn=Object(k.withSelect)((function(e,t){var n=e("core").getMedia,r=t.post,o=t.attributes.showMedia,a=r.featured_media;if(!a||!o)return null;var i=n(a);return i?{media:gn(i)}:null})),On=function(e){var t=e.media;return t?Object(b.createElement)("img",{className:"nb-supernova-item__media",src:t.url,width:t.width,height:t.height,alt:null==t?void 0:t.alt}):null},vn=function(e){var t,n=e.post,r=(null==n||null===(t=n.title)||void 0===t?void 0:t.raw)||"",o=Object(b.useRef)(null);return r?(Object(b.useEffect)((function(){o.current&&Object(le.resizeDropcap)(o.current)}),[o]),Object(b.createElement)("div",{className:"nb-supernova-item__dropcap-wrapper sm-variation-11"},Object(b.createElement)("span",{className:"nb-supernova-item__dropcap",ref:o},r.substring(0,1)))):null},jn=hn((function(e){var t,n,r=e.attributes,o=e.post,a=r.showMeta,i=r.showTitle,c=r.showDescription,l=r.showButtons,s=r.showMedia,u=function(e){var t,n,r,o=e.attributes,a=o.metadataPosition,i=o.primaryMetadata,c=o.secondaryMetadata,l=e.post,s=mn(l,i),u=mn(l,c);switch(t=s&&u?Object(b.createElement)(b.Fragment,null,Object(b.createElement)("span",{className:"nb-card__meta--primary",key:"card_meta_primary_post_"+l.id},s),Object(b.createElement)("span",{className:"nb-card__meta-separator",key:"card_meta_separator_post_"+l.id}),Object(b.createElement)("span",{className:"nb-card__meta--secondary",key:"card_meta_secondary_post_"+l.id},u)):s||u,a){case"above-title":n=t;break;case"below-title":r=t;break;case"split":n=s,r=u}return{metaAboveTitle:n,metaBelowTitle:r}}(e),d=u.metaAboveTitle,p=u.metaBelowTitle,f=e.Media||On;return Object(b.createElement)(Cn,Object(h.a)({},e,{key:"card_post_"+o.id}),s&&e.media&&Object(b.createElement)(An,Object(h.a)({},e,{key:"card_post_mediawrapper_"+o.id}),Object(b.createElement)(vn,e),Object(b.createElement)(f,Object(h.a)({},e,{key:"card_post_media_"+o.id}))),Object(b.createElement)("div",{className:"nb-supernova-item__inner-container",key:"card_post_innercontainer_"+o.id},Object(b.createElement)(En,{show:a,key:"card_post_metaabovetitle_"+o.id},d),Object(b.createElement)(wn,{show:i,attributes:r,key:"card_post_title_"+o.id},(null==o||null===(t=o.title)||void 0===t?void 0:t.raw)||""),Object(b.createElement)(En,{show:a,key:"card_post_metabelowtitle_"+o.id},p),Object(b.createElement)(Pn,{show:c,key:"card_post_description_"+o.id},Object(B.__unstableStripHTML)((null==o||null===(n=o.excerpt)||void 0===n?void 0:n.rendered)||"")),Object(b.createElement)(Sn,{show:l,key:"card_post_footer_"+o.id},Object(b.createElement)(yn,Object(h.a)({},e,{key:"card_post_footer_button_"+o.id}),Object(_.__)("Read More","nova-blocks")))))})),yn=function(e){var t=e.attributes,n=e.children,r=t.buttonsStyle,o=Object(b.useMemo)((function(){var e=Object(le.getAlignFromMatrix)(null==t?void 0:t.contentPosition),n={justifyContent:"center"};return"left"===e[1]&&(n.justifyContent="flex-start"),"right"===e[1]&&(n.justifyContent="flex-end"),n}),[t]);return Object(b.createElement)("div",{className:"wp-block-buttons",style:o},Object(b.createElement)("div",{className:"wp-block-button is-style-".concat(r," sm-color-signal-1 sm-palette-1 sm-palette--shifted sm-variation-1 sm-light"),"data-palette":"1","data-palette-variation":"1","data-color-signal":"1","data-use-source-color-as-reference":"true"},Object(b.createElement)("a",{className:"wp-block-button__link"},n)))},_n=function(e){return function(t){var n=t.show,r=t.placeholder;return n||r?Object(b.createElement)(e,t):null}},wn=_n((function(e){var t=e.attributes,n=e.placeholder,r=e.children,o="h".concat(null==t?void 0:t.cardTitleLevel),a="has-".concat(null==t?void 0:t.cardTitleFontSize,"-font-size");return Object(b.createElement)(o,{className:"nb-card__title ".concat(a)},n?Object(b.createElement)(tt,null):r)})),kn=_n((function(e){var t=e.attributes,n=e.placeholder,r=e.children,o=t.cardTitleLevel,a="h".concat(o+1);return Object(b.createElement)(a,{className:"nb-card__subtitle"},n?Object(b.createElement)(tt,null):r)})),En=_n((function(e){var t=e.placeholder,n=e.children;return t||n?Object(b.createElement)("div",{className:"nb-card__meta is-style-meta"},t?Object(b.createElement)(tt,{rows:1}):n):null})),Pn=_n((function(e){var t=e.placeholder,n=e.children;return Object(b.createElement)("p",{className:"nb-card__description"},t?Object(b.createElement)(tt,{rows:3}):n)})),Sn=_n((function(e){var t=e.placeholder,n=e.children;return Object(b.createElement)("div",{className:"nb-card__buttons"},t?Object(b.createElement)(tt,{rows:1}):n)})),Cn=function(e){var t=e.media,n=e.attributes,r=n.cardLayout,o=n.thumbnailAspectRatioString,a=n.layoutStyle,i=n.columns,c=n.scrollingEffect,l=N()("nb-supernova-item","nb-supernova-item--layout-".concat(r),"nb-supernova-item--scrolling-effect-".concat(c),"nb-supernova-item--aspect-ratio-".concat(o),Object(le.getColorSignalClassnames)(n,!0)),s=["horizontal","horizontal-reverse"].includes(r),u=N()(l,"nb-grid__area--".concat(s?"landscape":"portrait"),Object(le.getAreaClassnameByWidthRatio)(1/i)),d="parametric"!==a?u:l,p=b.Children.toArray(e.children),f=p.filter((function(e){return e.type===An})),m=p.filter((function(e){return e.type!==An&&e.type!==xn}));return Object(b.createElement)("div",{className:d,style:e.style},!f.length&&t&&Object(b.createElement)(An,Object(h.a)({media:t},e)),!!f.length&&f,Object(b.createElement)(xn,e,m))},xn=function(e){var t=e.attributes,n=Object(le.getAlignFromMatrix)(null==t?void 0:t.contentPosition),r=N()("nb-supernova-item__content","nb-supernova-item__content--valign-".concat(n[0]),"nb-supernova-item__content--halign-".concat(n[1]));return Object(b.createElement)("div",{className:r},e.children)},An=function(e){return Object(b.createElement)("div",{className:"nb-supernova-item__media-wrapper"},Object(b.createElement)("div",{className:"nb-supernova-item__media-aspect-ratio"},e.children))};function In(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?In(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):In(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Rn=function(e,t){if(void 0===e)return t;if(void 0===t)return e;var n=Array.isArray(e)?e:[e],r=Array.isArray(t)?t:[t];return n.concat(r)},Bn=Object(f.createSlotFill)("ControlsSections"),Mn=Bn.Slot,Fn=Bn.Fill,Dn=Object(f.createSlotFill)("DrawerContent"),Nn=Dn.Slot,zn=Dn.Fill,Ln=function(e){return Object(b.createElement)("div",{className:"novablocks-sections__cube"},Object(b.createElement)("div",{className:"novablocks-sections__cube-face novablocks-sections__cube-face--top"}),Object(b.createElement)("div",{className:"novablocks-sections__cube-face novablocks-sections__cube-face--left"}),Object(b.createElement)("div",{className:"novablocks-sections__cube-face novablocks-sections__cube-face--right"}))},Vn=["rgb(142,101,192)","rgb(0,202,182)","rgb(222,22,81)"],qn=function(e){var t=e.title,n=e.tabs,r=e.goBack,o=e.updateHeight;if(!n.length)return null;var a=Te("activeTab",n[0].props.label),i=Object(te.a)(a,2),c=i[0],l=i[1],s=Object(b.useMemo)((function(){return n.some((function(e){return c===e.props.label}))}),[n,c]);Object(b.useEffect)((function(){s||l(n[0].props.label)}),[s]);var u,d=n.findIndex((function(e){return e.props.label===c})),p=n[d],f=(u=c,Object(_.__)("Presets","nova-blocks")===u?Vn[0]:Object(_.__)("Customize","nova-blocks")===u?Vn[1]:Vn[2]);return Object(b.useLayoutEffect)(o,[c]),Object(b.createElement)("div",{className:"novablocks-section__controls",style:{"--nb-section-controls-accent":f}},Object(b.createElement)("div",{className:"novablocks-sections__controls-header"},Object(b.createElement)("div",{className:"novablocks-sections__controls-back",onClick:r,key:"tabs-back-button"}),Object(b.createElement)("div",{className:"novablocks-sections__controls-title",key:"tabs-title"},t),Object(b.createElement)(Ln,null)),n.length>1&&Object(b.createElement)("div",{className:"novablocks-sections__tabs"},n.map((function(e,t){var n=e.props.label,r=function(e,t){return N()("novablocks-sections__tab",{"novablocks-sections__tab--active":t===e})}(n,c);return Object(b.createElement)("div",{className:r,onClick:function(){l(n)},key:Object(dn.cleanForSlug)(n)+"_section_tab_"+t},n)}))),Object(b.createElement)(Hn,Object(h.a)({activeTab:p},e)))},Hn=function(e){var t=e.activeTab,n=e.updateHeight,r=Ne(),o=Object(te.a)(r,2),a=o[0],i=o[1];return Object(b.useLayoutEffect)(n,[i]),Object(b.createElement)("div",{className:"novablocks-sections__tab-content",ref:a},!!t&&t.props.children)},Un=function(e){var t=e.sections,n=Object(b.useMemo)((function(){return document.querySelector(".block-editor-block-inspector__advanced")}),[]),r=Object(b.useMemo)((function(){return!!n&&n.parentNode})),o=Object(b.useContext)(Qe);r&&r.style.setProperty("transition","opacity .3s ease-out");var a=Object(b.useCallback)((function(){null!=r&&r.style&&(r.style.setProperty("opacity",1),requestAnimationFrame((function(){r.style.setProperty("opacity",0)})))}),[r]),i=Object(b.useCallback)((function(){null!=r&&r.style&&(r.addEventListener("transitionend",(function(){r.style.removeProperty("height")}),{once:!0}),r.style.setProperty("opacity",1))}),[r]),c=Object(p.groupBy)(t,(function(e){return e.props.group?e.props.group:""}));return Object(b.createElement)("div",{className:"novablocks-sections"},Object(b.createElement)(Zn,{onOpen:a,onClose:i},Object(b.createElement)(tr,null,Object(b.createElement)("div",{className:"novablocks-sections__header"},Object(b.createElement)("div",{className:"novablocks-sections__title"},Object(_.__)("Design Customization","nova-blocks")),Object(b.createElement)(Ln,null))),Object.keys(c).sort().map((function(e){var t=c[e];return Object(b.createElement)(Yn,{title:e,key:"drawer_"+e},t.map((function(t,n){var r=t.props,o=r.id,a=r.label,i=r.order;return Object(b.createElement)(rr,{key:"drawer_"+e+"_section_"+o,id:o,title:a,order:i})})))})),Object.keys(c).sort().map((function(e){return c[e].map((function(t,n){var r=t.props,a=r.children,i=(r.label,b.Children.toArray(a).filter((function(e){var t,n=null==e||null===(t=e.props)||void 0===t?void 0:t.id,r=!0;return n&&void 0!==o[n]&&(r=o[n]),e.type===$n&&r}))),c=Object(p.orderBy)(i,(function(e){return e.props.priority||0}),["desc"]),l=Object(p.groupBy)(c,(function(e){return e.props.label})),s=Object.keys(l).map((function(e){return{props:{label:e,children:l[e].reduce((function(e,t){return e.concat(b.Children.toArray(t.props.children))}),[])}}}));return Object(b.createElement)(er,{key:"drawer_panel_"+e+"_"+n,id:t.props.id},Object(b.createElement)(qn,{title:t.props.label,tabs:s}))}))})),Object(b.createElement)(nr,null,Object(b.createElement)(Nn,null))))},Gn=function(e){return Object(b.createElement)(Mn,null,(function(e){var t=function(e){var t=[];return e.forEach((function(e){var n=t.findIndex((function(t){return t.props.id===e[0].props.id}));-1===n?t.push({props:e[0].props}):t.splice(n,1,{props:Tn(Tn({},t[n].props),{},{children:Rn(t[n].props.children,e[0].props.children)})})})),t}(e);return t.length?Object(b.createElement)(Un,{sections:t}):null}))},$n=function(e){return Object(b.createElement)("div",{label:e.label},e.children)},Wn=function(e){var t=Object(ot.useBlockEditContext)().isSelected;return Object(b.createElement)(Fn,null,t&&Object(b.createElement)("div",e))},Qn=function(e){var t=Object(ot.useBlockEditContext)().isSelected;return Object(b.createElement)(zn,null,t&&Object(b.createElement)("div",e))},Zn=function(e){var t=e.children,n=b.Children.toArray(t),r=n.filter((function(e){return e.type===Yn})),o=n.filter((function(e){return e.type===er})),a=t.filter((function(e){return e.type===tr})),i=Te("drawerOpen",!1),c=Object(te.a)(i,2),l=c[0],s=c[1],u=Te("drawerActiveId",!1),d=Object(te.a)(u,2),f=d[0],m=d[1],g=Te("drawerHeight",0),O=Object(te.a)(g,2),v=O[0],j=O[1],y=Object(b.useMemo)((function(){return r.some((function(e){return Xn(e).some((function(e){var t;return(null==e||null===(t=e.props)||void 0===t?void 0:t.id)===f}))}))}),[r]);Object(b.useEffect)((function(){y||s(!1)}),[y]);var _=Object(b.useRef)(null),w=Object(b.useState)((function(){return new WeakMap})),k=Object(te.a)(w,1)[0],E=function(){},P="function"==typeof e.onOpen?e.onOpen:E,S="function"==typeof e.onClose?e.onClose:E,C=function(){var e,t,n=_.current?_.current.clientHeight:0,r=(e=o.find((function(e){return e.props.id===f})),(t=k.get(e))?t.clientHeight:0);j(l?r:n)};Object(b.useEffect)(C,[l]);var x=l?"translate3d(-100%,0,0)":"translate3d(0%,0,0)";return Object(b.createElement)("div",{className:"novablocks-drawers",style:{height:v}},Object(b.createElement)("div",{className:"novablocks-drawers__wrap",style:{transform:x}},Object(b.createElement)("div",{className:"novablocks-drawers__front",ref:_},a,r.map((function(e,t){var n,r=Xn(e),o=null==e||null===(n=e.props)||void 0===n?void 0:n.title;r.length;var a=Object(p.orderBy)(r,(function(e){return e.props.order||100}),["asc"]);return Object(b.createElement)("div",{className:"novablocks-drawers__list",key:"drawer_list_".concat(t)},o&&Object(b.createElement)("div",{className:"novablocks-drawers__list-title"},o),a.map((function(e,n){var r=e.props,o=r.id;return Object(b.createElement)(rr,Object(h.a)({},r,{key:"drawer_".concat(t,"-").concat(n),onClick:function(){m(o),s(!0),P()}}))})))}))),o.map((function(e,t){var n=N()("novablocks-drawers__panel",{"novablocks-drawers__panel--hidden":f!==e.props.id});return Object(b.createElement)("div",{key:"drawer_panel_".concat(e.props.id),className:n,ref:function(t){return t&&k.set(e,t)}},Object(b.createElement)(Kn,Object(h.a)({},e.props,{isActive:f===e.props.id,goBack:function(){s(!1),S()},updateHeight:C})))}))))},Kn=function(e){var t=e.goBack,n=e.isActive,r=e.updateHeight;return Jn(e.children,{goBack:t,isActive:n,updateHeight:r})},Jn=function(e,t){return void 0===e?e:Array.isArray(e)?e.map((function(e){return Object(b.cloneElement)(e,t)})):Object(b.cloneElement)(e,t)},Xn=function(e){var t,n=null==e||null===(t=e.props)||void 0===t?void 0:t.children;return Array.isArray(n)?n.filter((function(e){return e.type===rr})):[]},Yn=function(e){return Object(b.createElement)("div",{className:"novablocks-drawers__list"},e.children)},er=function(e){return e.children},tr=function(e){return e.children},nr=function(e){return e.children},rr=function(e){var t=e.title,n=e.onClick;return Object(b.createElement)("div",{className:"novablocks-drawer",onClick:n},t)};function or(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}var ar=["image"],ir=function(e){var t=e.attributes.galleryImages,n=e.onSelectImages,r=!!t.length;return Object(b.createElement)(ot.MediaPlaceholder,{accept:"image/*",addToGallery:r,allowedTypes:ar,labels:{title:"",instructions:Object(_.__)("Drag images, upload new ones or select files from your library.","nova-blocks")},multiple:!0,onSelect:n,value:r?t:void 0})},cr=function(e){c(n,e);var t=or(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n,[{key:"render",value:function(){var e=this.props,t=e.galleryImages,n=e.selected,r=e.onSelectImage;return Object(b.createElement)("ul",{className:"novablocks-slideshow__gallery-edit"},t.map((function(e,t){var o=["novablocks-slideshow__gallery-item"];n===t&&o.push("novablocks-slideshow__gallery-item--active");var a,i,c,l,s,u,d,p,f,m,g,h,O,v=!1;"video"===e.type?(v=null==e||null===(a=e.thumb)||void 0===a?void 0:a.src,o.push("novablocks-slideshow__gallery-item--video")):v=(null==e||null===(i=e.sizes)||void 0===i||null===(c=i.novablocks_tiny)||void 0===c?void 0:c.url)||(null==e||null===(l=e.sizes)||void 0===l||null===(s=l.thumbnail)||void 0===s?void 0:s.url)||(null==e||null===(u=e.sizes)||void 0===u||null===(d=u.novablocks_large)||void 0===d?void 0:d.url)||(null==e||null===(p=e.sizes)||void 0===p||null===(f=p.large)||void 0===f?void 0:f.url)||(null==e||null===(m=e.sizes)||void 0===m||null===(g=m.novablocks_huge)||void 0===g?void 0:g.url)||(null==e||null===(h=e.sizes)||void 0===h||null===(O=h.full)||void 0===O?void 0:O.url)||(null==e?void 0:e.url);return Object(b.createElement)("li",{key:"gallery_image_"+t,onClick:function(){r(t)}},Object(b.createElement)("div",{className:o.join(" ")},Object(b.createElement)("img",{src:v,alt:""})))})))}}]),n}(b.Component),lr=n(8),sr=it("buttons-style")((function(e){var t=e.attributes,n=e.setAttributes,r=t.buttonsStyle,o=t.contentType,a=Object(k.useSelect)((function(e){return e("core/blocks").getBlockStyles("core/button").map((function(e){return{value:e.name,label:e.label}}))}));return["auto","fields"].includes(o)?Object(b.createElement)(f.SelectControl,{label:Object(_.__)("Buttons Style","nova-blocks"),value:r,onChange:function(e){n({buttonsStyle:e})},options:a}):null})),ur=it("card-title-level")((function(e){var t=e.attributes,n=e.setAttributes,r=t.cardTitleLevel,o=t.cardTitleFontSize;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)("div",{className:"components-base-control"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("span",{className:"components-base-control__label"},Object(_.__)("Card Title Heading","nova-blocks")),Object(b.createElement)(ee,{minLevel:1,maxLevel:5,selectedLevel:r,onChange:function(e){n({cardTitleLevel:e})}}))),Object(b.createElement)(J,{label:Object(_.__)("Card Title Font Size","nova-blocks"),value:o,onChange:function(e){n({cardTitleFontSize:e})}}))})),dr=it("collection-title-level")((function(e){var t=e.attributes,n=e.setAttributes,r=t.collectionTitleLevel,o=t.collectionTitleFontSize;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)("div",{className:"components-base-control"},Object(b.createElement)("div",{className:"components-base-control__field"},Object(b.createElement)("span",{className:"components-base-control__label"},Object(_.__)("Collection Title Heading","nova-blocks")),Object(b.createElement)(ee,{minLevel:1,maxLevel:5,selectedLevel:r,onChange:function(e){n({collectionTitleLevel:e})}}))),Object(b.createElement)(J,{label:Object(_.__)("Collection Title Font Size","nova-blocks"),value:o,onChange:function(e){n({collectionTitleFontSize:e})}}))})),br=it("metadata-source")((function(e){var t=e.attributes,n=t.primaryMetadata,r=t.secondaryMetadata,o=t.showMeta,a=e.setAttributes;if(!o)return null;var i=[{label:Object(_.__)("None","nova-blocks"),value:"none"},{label:Object(_.__)("Author","nova-blocks"),value:"author"},{label:Object(_.__)("Category","nova-blocks"),value:"category"},{label:Object(_.__)("Comments","nova-blocks"),value:"comments"},{label:Object(_.__)("Date","nova-blocks"),value:"date"},{label:Object(_.__)("Tags","nova-blocks"),value:"tags"},{label:Object(_.__)("Reading time","nova-blocks"),value:"reading-time"}];return Object(b.createElement)(F,{title:Object(_.__)("Additional Information","nova-blocks")},Object(b.createElement)(f.SelectControl,{key:"primary-metadata-source",label:Object(_.__)("Primary Metadata","nova-blocks"),value:n,onChange:function(e){a({primaryMetadata:e})},options:i}),Object(b.createElement)(f.SelectControl,{key:"secondary-metadata-source",label:Object(_.__)("Secondary Metadata","nova-blocks"),value:r,onChange:function(e){a({secondaryMetadata:e})},options:i}))})),pr=it("metadata-position")((function(e){var t=e.attributes.metadataPosition,n=e.setAttributes;return Object(b.createElement)(F,{title:Object(_.__)("Metadata Position","nova-blocks")},Object(b.createElement)(f.RadioControl,{key:"collection-image-resizing",selected:t,onChange:function(e){n({metadataPosition:e})},options:[{label:Object(_.__)("Above Title","nova-blocks"),value:"above-title"},{label:Object(_.__)("Below Title","nova-blocks"),value:"below-title"},{label:Object(_.__)("Split (Above Title / Below Content)","nova-blocks"),value:"split"}]}))})),fr=it("card-details-content")((function(e){return Object(b.createElement)(F,{title:Object(_.__)("Content","nova-blocks")},Object(b.createElement)(dr,e),Object(b.createElement)(ur,e),Object(b.createElement)(sr,e))})),mr=it("card-details")((function(e){var t=e.attributes,n=(e.setAttributes,t.level,t.postsToShow),r=t.columns;return 1===n&&1===r?null:Object(b.createElement)(Wn,{id:"card-layout",label:Object(_.__)("Content Details","nova-blocks"),group:Object(_.__)("Card Anatomy","nova-blocks"),order:20},Object(b.createElement)($n,{label:Object(_.__)("Settings","nova-blocks")},Object(b.createElement)(fr,e),Object(b.createElement)(br,e),Object(b.createElement)(pr,e)))}));function gr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gr(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Or={level:{type:"number",default:2},cardTitleLevel:{type:"number",default:3},cardTitleFontSize:{type:"string",default:"normal"},collectionTitleLevel:{type:"number",default:2},collectionTitleFontSize:{type:"string",default:"normal"},metadataPosition:{type:"string",default:"above-title"},primaryMetadata:{type:"string",default:"category"},secondaryMetadata:{type:"string",default:"date"},buttonsStyle:{type:"string",default:"text"}},vr=["novablocks/cards-collection","novablocks/posts-collection","novablocks/supernova"],jr=Object(E.createHigherOrderComponent)((function(e){return function(t){return vr.includes(t.name)?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(e,t),Object(b.createElement)(mr,t)):Object(b.createElement)(e,t)}}),"withCardDetailsControls");Object(lr.addFilter)("editor.BlockEdit","novablocks/with-card-details-controls",jr);var yr=["novablocks/posts-collection","novablocks/cards-collection","novablocks/card","novablocks/supernova","novablocks/supernova-item"];function _r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_r(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(lr.addFilter)("blocks.registerBlockType","novablocks/with-card-details-attributes",(function(e){return yr.includes(e.name)?hr(hr({},e),{},{attributes:hr(hr({},e.attributes),Or)}):e}));var kr={showCollectionTitle:{type:"boolean",default:!0},showCollectionSubtitle:{type:"boolean",default:!0},showMedia:{type:"boolean",default:!0},showTitle:{type:"boolean",default:!0},showSubtitle:{type:"boolean",default:!0},showDescription:{type:"boolean",default:!0},showButtons:{type:"boolean",default:!0},showMeta:{type:"boolean",default:!1},scrollIndicatorBlock:{type:"boolean",default:!1},displayInnerContent:{type:"boolean",default:!0},showPagination:{type:"boolean",default:!1},showArrows:{type:"boolean",default:!0}},Er=function(e){var t,n,r=null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n?void 0:n.cardElementsVisibility;return!0!==r&&!0!==(null==r?void 0:r.attributes)?e:wr(wr({},e),{},{attributes:wr(wr({},e.attributes),kr)})},Pr=[{label:Object(_.__)("Collection Title","nova-blocks"),attribute:"showCollectionTitle"},{label:Object(_.__)("Collection Subtitle","nova-blocks"),attribute:"showCollectionSubtitle"}],Sr=[{label:Object(_.__)("Media","nova-blocks"),attribute:"showMedia"}],Cr=[{label:Object(_.__)("Title","nova-blocks"),attribute:"showTitle"},{label:Object(_.__)("Subtitle","nova-blocks"),attribute:"showSubtitle"},{label:Object(_.__)("Description","nova-blocks"),attribute:"showDescription"},{label:Object(_.__)("Buttons","nova-blocks"),attribute:"showButtons"},{label:Object(_.__)("Meta","nova-blocks"),attribute:"showMeta"}],xr=[{label:Object(_.__)("Inner Content","nova-blocks"),attribute:"displayInnerContent"}],Ar=[{label:Object(_.__)("Position Indicators","nova-blocks"),attribute:"novablocks_hero_position_indicators",type:"meta"},{label:Object(_.__)("Scroll Indicator","nova-blocks"),attribute:"scrollIndicatorBlock"}],Ir=[{label:Object(_.__)("Pagination","nova-blocks"),attribute:"showPagination"},{label:Object(_.__)("Arrows","nova-blocks"),attribute:"showArrows"}];function Tr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tr(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Br=function(e){var t=e.attributes,n=e.setAttributes,o=Object(k.useSelect)((function(e){return e("core/editor").getCurrentPostType()}),[]),a=Object(Re.useEntityProp)("postType",o,"meta"),i=Object(te.a)(a,2),c=i[0],l=i[1],s=Object(b.useMemo)((function(){var e=t.align,n=t.columns,a=t.cardLayout,i=t.layoutStyle,c=t.contentType,l=[].concat(Object(r.a)(Pr),Object(r.a)(Sr)),s="carousel"===i,u="stacked"===a&&1===n&&"full"===e;return"custom"!==c?l.push.apply(l,Object(r.a)(Cr)):l.push.apply(l,Object(r.a)(xr)),u&&l.push.apply(l,Object(r.a)(Ar)),s&&l.push.apply(l,Object(r.a)(Ir)),l.filter((function(e){return"meta"!==e.type||!!o}))}),[t,o]);return Object(b.createElement)(rt,{onChange:n,toggles:s.map((function(e){var r="meta"===e.type?c[e.attribute]:t[e.attribute];return Rr(Rr({},e),{},{value:r,onChange:function(t){"meta"===e.type&&o?l(Rr(Rr({},c),{},Object(O.a)({},e.attribute,t))):n(Object(O.a)({},e.attribute,t))}})}))})},Mr=function(e){return Object(b.createElement)(Wn,{id:"elements-visibility",label:Object(_.__)("Elements Visibility","nova-blocks"),group:Object(_.__)("Card Anatomy","nova-blocks"),order:10},Object(b.createElement)($n,{label:Object(_.__)("Settings","nova-blocks")},Object(b.createElement)(F,{title:Object(_.__)("Setup what content elements to show for each card.","nova-blocks")},Object(b.createElement)(Br,e))))},Fr=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r,o,a=ze(t.name);return!0!==(null==a||null===(n=a.novaBlocks)||void 0===n?void 0:n.cardElementsVisibility)&&!0!==(null==a||null===(r=a.novaBlocks)||void 0===r||null===(o=r.cardElementsVisibility)||void 0===o?void 0:o.controls)?Object(b.createElement)(e,t):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Mr,t),Object(b.createElement)(e,t))}}),"withElementsVisibilityControls");function Dr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Nr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dr(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(lr.addFilter)("blocks.registerBlockType","novablocks/with-card-elements-visibility-attributes",Er),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-card-elements-visibility-controls",Fr);var zr={contentPosition:{type:"string",default:"center center"}},Lr=function(e){var t,n,r=null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n?void 0:n.contentPosition;return!0!==r&&!0!==(null==r?void 0:r.attributes)?e:Nr(Nr({},e),{},{attributes:Nr(Nr({},e.attributes),zr)})},Vr=wp.blockEditor.__experimentalBlockAlignmentMatrixToolbar,qr=wp.blockEditor.__experimentalBlockAlignmentMatrixControl||wp.blockEditor.BlockAlignmentMatrixControl,Hr=function(e){var t=e.attributes.contentPosition,n=e.setAttributes;return Vr?Object(b.createElement)(ot.BlockControls,{group:"block"},Object(b.createElement)(Vr,{label:Object(_.__)("Change content position","nova-blocks"),value:t,onChange:function(e){return n({contentPosition:e})}})):null},Ur=function(e){var t=e.attributes.contentPosition,n=e.setAttributes;return qr?Object(b.createElement)(ot.BlockControls,{group:"block"},Object(b.createElement)(qr,{label:Object(_.__)("Change content position","nova-blocks"),value:t,onChange:function(e){return n({contentPosition:e})}})):Object(b.createElement)(Hr,e)},Gr=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r,o,a=ze(t.name);return!0!==(null==a||null===(n=a.novaBlocks)||void 0===n?void 0:n.contentPosition)&&!0!==(null==a||null===(r=a.novaBlocks)||void 0===r||null===(o=r.contentPosition)||void 0===o?void 0:o.controls)?Object(b.createElement)(e,t):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Ur,t),Object(b.createElement)(e,t))}}),"withContentPositionControls"),$r=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r=ze(t.name),o=t.setAttributes,a=t.clientId;if(null==r||null===(n=r.novaBlocks)||void 0===n||!n.contentPosition)return Object(b.createElement)(e,t);return Object(b.createElement)(e,Object(h.a)({},t,{setAttributes:function(e){var t=e.contentPosition;if(t){var n=t.split(" ")[1]||"center";!function e(t,n){var r=Object(k.select)("core/block-editor").getBlock,o=Object(k.dispatch)("core/block-editor").updateBlockAttributes;r(t).innerBlocks.forEach((function(t){var a,i=r(t.clientId),c=wp.data.select("core/blocks").getBlockType(i.name),l=null==c||null===(a=c.supports)||void 0===a?void 0:a.align;Array.isArray(l)&&(l.indexOf("wide")>-1||l.indexOf("full")>-1)?e(i.clientId,n):o(i.clientId,{align:n,textAlign:n,contentJustification:n})}))}(a,n)}o(e)}}))}}),"withContentPositionInnerBlocks"),Wr=n(29),Qr=["horizontalAlignment","verticalAlignment"];function Zr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zr(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Jr=function(e){var t,n,r;return null!=e&&null!==(t=e.supports)&&void 0!==t&&null!==(n=t.novaBlocks)&&void 0!==n&&null!==(r=n.contentPosition)&&void 0!==r&&r.deprecated?Object.assign({},e,{deprecated:[{attributes:{horizontalAlignment:{type:"string",default:"center"},verticalAlignment:{type:"string",default:"center"}},isEligible:function(e){return!Object(p.isUndefined)(e.horizontalAlignment)&&!Object(p.isUndefined)(e.verticalAlignment)&&Object(p.isUndefined)(e.contentPosition)},migrate:function(e){var t=e.horizontalAlignment,n=e.verticalAlignment;return Kr(Kr({},Object(Wr.a)(e,Qr)),{},{contentPosition:"".concat(n," ").concat(t)})},save:e.save}].concat(e.deprecated)}):e};Object(lr.addFilter)("blocks.registerBlockType","novablocks/with-content-position-attributes",Lr),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-content-position-controls",Gr),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-content-position-inner-blocks",$r),Object(lr.addFilter)("blocks.registerBlockType","novablocks/with-content-position-deprecated",Jr);var Xr=Object(E.createHigherOrderComponent)((function(e){return function(t){return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(ot.InspectorControls,null,Object(b.createElement)(Gn,t)),Object(b.createElement)(e,t))}}),"withControlsSections");Object(lr.addFilter)("editor.BlockEdit","novablocks/with-controls-sections",Xr,1);var Yr=Object(E.createHigherOrderComponent)((function(e){return function(t){var n=Object(b.useState)({}),r=Object(te.a)(n,2),o=r[0],a=r[1];return Object(b.createElement)(Qe.Provider,{value:o},Object(b.createElement)(e,Object(h.a)({},t,{setControlsVisibility:function(e){a(Object.assign({},o,e))}})))}}),"withControlsVisibility");Object(lr.addFilter)("editor.BlockEdit","novablocks/with-controls-visibility",Yr,Number.MAX_SAFE_INTEGER);var eo={"is-style-accent":{paletteVariation:6,useSourceColorAsReference:!0},"is-style-dark":{paletteVariation:9,useSourceColorAsReference:!1},"is-style-darker":{paletteVariation:10,useSourceColorAsReference:!1}};Object(lr.addFilter)("blocks.registerBlockType","novablocks/deprecate-group",(function(e,t){return"core/group"!==t?e:Object.assign({},e,{deprecated:[{attributes:e.attributes,migrate:function(e,t){var n=e.className.split(/\b\s+/),r={};return n.some((function(e){return!(void 0===eo[e])&&(r=eo[e],!0)})),[Object.assign({},e,r),t]},isEligible:function(e,t){var n=e.className;return"string"==typeof n&&n.split(/\b\s+/).some((function(e){return Object.keys(eo).includes(e)}))},save:e.save}].concat(e.deprecated)})}));var to=["core/quote","core/pullquote","core/heading","core/paragraph","novablocks/headline"],no=function(e,t,n){if(e){var r=new RegExp("has-[a-z]+-font-size","gi");e=e.replace(r,"").trim()}var o="has-"+n+"-font-size";return e?e+" "+o:o},ro=J.DEFAULT_FONT_SIZE,oo=J.FONT_SIZE_OPTIONS,ao=Object(E.createHigherOrderComponent)((function(e){var t,n=(t=e,function(e){var n=e.attributes,r=n.className,o=n.fontSize,a=(n.level,e.setAttributes),i=oo.find((function(e){return e.value===o}))?o:ro;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(t,e),Object(b.createElement)(ot.InspectorControls,null,Object(b.createElement)(f.PanelBody,{title:Object(_.__)("Text Settings","nova-blocks"),className:"blocks-custom-font-size"},Object(b.createElement)(J,{value:i,onChange:function(e){a({fontSize:e,className:no(r,0,e)})}}))))});return function(t){return to.includes(t.name)?Object(b.createElement)(n,t):Object(b.createElement)(e,t)}}),"withFontSizeControl");Object(lr.addFilter)("editor.BlockEdit","novablocks/with-inspector-controls",ao),Object(lr.addFilter)("blocks.registerBlockType","novablocks/with-font-size-attribute",(function(e){return to.includes(e.name)?(void 0===e.attributes&&(e.attributes={}),e.attributes=Object.assign(e.attributes,{fontSize:{type:"string",default:"normal"}}),e):e}));var io=Object(E.createHigherOrderComponent)((function(e){return function(t){var n=t.setAttributes;return Object(b.createElement)(e,Object(h.a)({},t,{onSelectImages:function(e){cn(e).then((function(e){n({images:e})}))}}))}}),"withOnSelectImages");function co(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?co(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):co(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(lr.addFilter)("editor.BlockEdit","novablocks/with-on-select-images",io,Number.MAX_SAFE_INTEGER);function so(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function uo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?so(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):so(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(lr.addFilter)("blocks.registerBlockType","novablocks/hero-defaults-generated-deprecated",(function(e){var t,n;if(null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n||!n.customDefaults)return e;var r=[{attributes:e.attributes,isEligible:function(e){return void 0===e.defaultsGenerated},migrate:function(e){return lo(lo({},e),{},{defaultsGenerated:!0})},save:e.save}],o=Array.isArray(e.deprecated)?e.deprecated.concat(r):r;return lo(lo({},e),{},{deprecated:o})}));var bo=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r,o=Object.assign({},t.wrapperProps),a=null!==(n=null===(r=t.attributes)||void 0===r?void 0:r.align)&&void 0!==n?n:"none";if(!ze(t.name).align&&"core/image"!==t.name)return Object(b.createElement)(e,t);delete o["data-align"];var i=uo(uo({},t),{},{wrapperProps:o,className:N()(t.className,"align".concat(a))});return Object(b.createElement)(e,i)}}),"withWrapperPropsRemoved"),po=["getEditWrapperProps"];function fo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fo(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var go=function(e){e.getEditWrapperProps;var t,n,r=Object(Wr.a)(e,po),o=null!==(t=e.supports)&&void 0!==t?t:{},a=Object(h.a)({},o),i=(n=a.novaBlocks,Object(h.a)({},a));return mo(mo({},r),{},{supports:mo({},i)})};function ho(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ho(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ho(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var vo=function(e,t,n){var r=n.align;return He(t.name).align&&r?Oo(Oo({},e),{},{className:N()(e.className,"align".concat(r))}):e};Object(lr.addFilter)("editor.BlockListBlock","novablocks/custom-align/wrapper-props",bo,Number.MIN_SAFE_INTEGER),Object(lr.addFilter)("blocks.registerBlockType","novablocks/custom-align/alter-settings",go,Number.MIN_SAFE_INTEGER),Object(lr.addFilter)("blocks.getSaveContent.extraProps","novablocks/custom-align/save-props",vo);var jo=function(e){var t=e.attributes.cardLayout,n=e.setAttributes;return Object(b.createElement)(f.RadioControl,{selected:t,options:[{label:Object(_.__)("↓ Vertical ","nova-blocks"),value:"vertical"},{label:Object(_.__)("↑ Vertical Reverse","nova-blocks"),value:"vertical-reverse"},{label:Object(_.__)("→ Horizontal","nova-blocks"),value:"horizontal"},{label:Object(_.__)("← Horizontal Reverse","nova-blocks"),value:"horizontal-reverse"},{label:Object(_.__)("↺ Stacked","nova-blocks"),value:"stacked"}],onChange:function(e){n({cardLayout:e})}})},yo=function(e){var t=e.attributes.isLandscape,n=e.setAttributes;return Object(b.createElement)(f.RadioControl,{selected:t?"landscape":"portrait",className:"nb-card-layout",onChange:function(e){n({isLandscape:"landscape"===e})},options:[{label:"Vertical",value:"portrait"},{label:"Horizontal",value:"landscape"}]})},_o=function(e){var t=e.name;return Object(b.createElement)(F,{title:Object(_.__)("Card Elements Stacking Style","nova-blocks")},"novablocks/supernova"===t?Object(b.createElement)(jo,e):Object(b.createElement)(yo,e))},wo=function(e){return Object(b.createElement)(Wn,{id:"card-elements-stacking",label:Object(_.__)("Elements Stacking","nova-blocks"),order:55},Object(b.createElement)($n,{label:Object(_.__)("Settings","nova-blocks")},Object(b.createElement)(_o,e)))},ko=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r,o,a=ze(t.name);return!0!==(null==a||null===(n=a.novaBlocks)||void 0===n?void 0:n.cardElementsStacking)&&!0!==(null==a||null===(r=a.novaBlocks)||void 0===r||null===(o=r.cardElementsStacking)||void 0===o?void 0:o.controls)?Object(b.createElement)(e,t):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(wo,t),Object(b.createElement)(e,t))}}),"withCardElementsStackingControls");function Eo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Po(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Eo(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var So={cardLayout:{type:"string",default:"vertical"}},Co=function(e){var t,n,r=null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n?void 0:n.cardElementsStacking;return!0!==r&&!0!==(null==r?void 0:r.attributes)?e:Po(Po({},e),{},{attributes:Po(Po({},e.attributes),So)})};function xo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ao(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xo(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(lr.addFilter)("blocks.registerBlockType","novablocks/with-card-elements-stacking-attributes",Co),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-card-elements-stacking-controls",ko);var Io={postsToShow:{type:"integer",default:3},layoutStyle:{type:"string",default:"classic"},columns:{type:"number",default:3},gridGap:{type:"number",default:50},gridcolumns:{type:"number",default:6},gridrows:{type:"number",default:6},featuresize:{type:"number",default:4},featureposition:{type:"number",default:1},fragmentation:{type:"number",default:1},hierarchycrossing:{type:"number",default:30},imageweightleft:{type:"number",default:1},imageweightright:{type:"number",default:2},metadetailsleft:{type:"number",default:10},metadetailsright:{type:"number",default:6},boostfeature:{type:"boolean",default:!1},subfeature:{type:"boolean",default:!0},balancemdandiw:{type:"boolean",default:!1},flipcolsrows:{type:"boolean",default:!1},headerPosition:{type:"number",default:0},headerColumn:{type:"number",default:0},carouselLayout:{type:"string",default:"fixed"}},To=function(e){var t,n,r=null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n?void 0:n.collectionLayout;return!0!==r&&!0!==(null==r?void 0:r.attributes)?e:Ao(Ao({},e),{},{attributes:Ao(Ao({},e.attributes),Io)})},Ro=[{label:"L27: Brancusi",value:"tear2down7",preset:{layoutStyle:"parametric",postsToShow:6,gridcolumns:6,gridrows:6,featuresize:4,featureposition:1,fragmentation:1,imageweightleft:1,imageweightright:2,metadetailsleft:10,metadetailsright:6,boostfeature:!1,subfeature:!0,balancemdandiw:!1,hierarchycrossing:30,flipcolsrows:!1,headerPosition:0}},{label:"L47: Kafka",value:"tear4down7",preset:{layoutStyle:"parametric",postsToShow:6,gridcolumns:12,gridrows:8,featuresize:7,featureposition:3,fragmentation:0,imageweightleft:1,imageweightright:0,metadetailsleft:0,metadetailsright:10,boostfeature:!0,subfeature:!0,balancemdandiw:!1,hierarchycrossing:153,flipcolsrows:!1,headerPosition:0}},{label:"L13: Aristotle",value:"tear1down3",preset:{layoutStyle:"parametric",postsToShow:6,gridcolumns:5,gridrows:4,featuresize:2,featureposition:2,fragmentation:0,imageweightleft:1,imageweightright:0,metadetailsleft:6,metadetailsright:3,boostfeature:!1,subfeature:!1,balancemdandiw:!1,hierarchycrossing:0,flipcolsrows:!1,headerPosition:0}},{label:"L19: Nietzsche",value:"tear1down9",preset:{layoutStyle:"parametric",postsToShow:11,gridcolumns:6,gridrows:5,featuresize:3,featureposition:2,fragmentation:2,imageweightleft:1,imageweightright:0,metadetailsleft:0,metadetailsright:0,boostfeature:!1,subfeature:!0,balancemdandiw:!1,hierarchycrossing:0,flipcolsrows:!1,headerPosition:0}},{label:"L23: Popper",value:"tear1down9bis",preset:{layoutStyle:"parametric",postsToShow:11,gridcolumns:7,gridrows:5,featuresize:3,featureposition:3,fragmentation:2,imageweightleft:1,imageweightright:0,metadetailsleft:0,metadetailsright:0,boostfeature:!1,subfeature:!0,balancemdandiw:!1,hierarchycrossing:0,flipcolsrows:!1,containerHeight:45,headerPosition:0}},{label:"L10: Tolstoy",value:"tear1down0",preset:{layoutStyle:"parametric",postsToShow:10,gridcolumns:10,gridrows:6,featuresize:3,featureposition:6,fragmentation:0,imageweightleft:1,imageweightright:0,metadetailsleft:0,metadetailsright:0,boostfeature:!1,subfeature:!1,balancemdandiw:!1,hierarchycrossing:0,flipcolsrows:!1,headerPosition:0}},{label:"L15: Asimov",value:"tear1down5",preset:{layoutStyle:"parametric",postsToShow:7,gridcolumns:6,gridrows:6,featuresize:2,featureposition:4,fragmentation:0,imageweightleft:8,imageweightright:2,metadetailsleft:7,metadetailsright:2,boostfeature:!1,subfeature:!1,balancemdandiw:!1,hierarchycrossing:0,flipcolsrows:!1,headerPosition:0}},{label:"L45: Orwell",value:"tear4down5",preset:{layoutStyle:"parametric",postsToShow:13,gridcolumns:8,gridrows:6,featuresize:4,featureposition:1,fragmentation:2,imageweightleft:8,imageweightright:8,metadetailsleft:7,metadetailsright:2,boostfeature:!1,subfeature:!1,balancemdandiw:!1,hierarchycrossing:120,flipcolsrows:!1,headerPosition:0}},{label:"L12: Dostoevsky",value:"tear1down2",preset:{layoutStyle:"parametric",postsToShow:7,gridcolumns:6,gridrows:4,featuresize:3,featureposition:1,fragmentation:2,imageweightleft:1,imageweightright:0,metadetailsleft:7,metadetailsright:0,boostfeature:!1,subfeature:!1,balancemdandiw:!1,hierarchycrossing:50,flipcolsrows:!1,headerPosition:0}},{label:"L32: Eliade",status:"development",value:"tear3down2",preset:{layoutStyle:"parametric",postsToShow:8,gridcolumns:4,gridrows:8,featuresize:2,featureposition:2,fragmentation:0,imageweightleft:1,imageweightright:0,metadetailsleft:0,metadetailsright:3,boostfeature:!1,subfeature:!0,balancemdandiw:!1,hierarchycrossing:0,flipcolsrows:!1,headerPosition:0}},{label:"L30: Tolkien",value:"tear3down0",preset:{layoutStyle:"parametric",postsToShow:5,gridcolumns:4,gridrows:8,featuresize:2,featureposition:2,fragmentation:0,imageweightleft:1,imageweightright:0,metadetailsleft:0,metadetailsright:3,boostfeature:!1,subfeature:!0,balancemdandiw:!1,hierarchycrossing:0,flipcolsrows:!1,headerPosition:0}},{label:"L03: Dumas",value:"tear0down3",preset:{layoutStyle:"classic",postsToShow:6,columns:3}}],Bo=function(){var e=Object(le.getRandomBetween)(3,20),t=Object(le.getRandomBetween)(2,6),n=Object(le.getRandomBetween)(2,12),r=Math.ceil(.75*t),o=Object(le.getRandomBetween)(1,r),a=t-o+1,i=Object(le.getRandomBetween)(1,a),c=Math.max(0,Math.pow(2,t-o-1)-1);return{layoutStyle:"parametric",postsToShow:e,automaticPostsNumber:!0,gridcolumns:t,gridrows:n,featuresize:o,featureposition:i,fragmentation:Object(le.getRandomBetween)(0,c),imageweightleft:Object(le.getRandomBetween)(0,10),imageweightright:Object(le.getRandomBetween)(0,10),metadetailsleft:Object(le.getRandomBetween)(0,10),metadetailsright:Object(le.getRandomBetween)(0,10),boostfeature:Object(le.getRandomBooleanValue)(),subfeature:Object(le.getRandomBooleanValue)(),balancemdandiw:Object(le.getRandomBooleanValue)(),hierarchycrossing:Object(le.getRandomBetween)(0,200),flipcolsrows:Object(le.getRandomBooleanValue)(),headerPosition:Object(le.getRandomBetween)(0,1)}},Mo=function(e){var t=Le();if(null==t||!t.debug)return null;var n=e.attributes,r=n.toggleScale,o=n.toggleMask,a=e.setAttributes;return Object(b.createElement)(F,{title:Object(_.__)("Debug Parameters","nova-blocks")},Object(b.createElement)(f.ToggleControl,{label:Object(_.__)("Display Preview Scale","nova-blocks"),checked:r,onChange:function(){return a({toggleScale:!r})}}),Object(b.createElement)(f.ToggleControl,{label:Object(_.__)("Display Preview Mask","nova-blocks"),checked:o,onChange:function(){return a({toggleMask:!o})}}))};function Fo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Do(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fo(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var No=function(e){var t=e.headerColumn,n=Object(le.applyLayoutEngine)(e),r=Object(le.getOptimalHeaderPosition)(n);return Do(Do({},e),{},{headerPosition:r[t]})},zo=function(e){var t=e.attributes,n=e.setAttributes,r=e.headerOptimalPositions,o=t.headerColumn,a=t.headerPosition,i=t.postsToShow,c=t.showCollectionTitle,l=t.showCollectionSubtitle;return c||l?Object(b.createElement)(F,{title:Object(_.__)("Block Header","nova-blocks")},Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Header Placement Area","nova-blocks"),value:a,onChange:function(e){n({headerPosition:e})},min:0,max:i+1}),Object(b.createElement)("div",{key:"header-position-customize-1",className:Object(le.getControlsClasses)(t,No)},Object(b.createElement)(f.RangeControl,{value:o,onChange:function(e){var r=No(Do(Do({},t),{},{headerColumn:e}));n(r)},label:Object(_.__)("Header Item Location","nova-blocks"),min:0,max:r.length-1}))):null},Lo=function(e){var t=e.attributes,n=t.featuresize,r=t.featureposition,o=t.fragmentation,a=t.hierarchycrossing,i=Object(b.useCallback)((function(){return 1}),[]),c=Object(b.useCallback)((function(){return t.gridcolumns}),[t]),l=Object(b.useCallback)((function(){return t.gridcolumns-t.featuresize+1}),[t]),s=Object(b.useCallback)((function(){return 0}),[]),u=Object(b.useCallback)((function(){return Math.max(0,Math.pow(2,t.gridcolumns-t.featuresize-1)-1)}),[t]),d=Object(b.useCallback)((function(e){var n=Object.assign({},t,e);return n.featuresize=Object(le.clamp)(n.featuresize,i(),c()),n.featureposition=Object(le.clamp)(n.featureposition,1,l()),n.fragmentation=Object(le.clamp)(n.fragmentation,s(),u()),n}),[t]),p=Object(b.useCallback)((function(t){e.setAttributes(d(t))}),[d]);return Object(b.createElement)(F,{title:Object(_.__)("Breaking the Grid","nova-blocks")},Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Featured Area Size","nova-blocks"),value:n,onChange:function(e){void 0!==e&&p({featuresize:e})},min:i(t),max:c(t)}),Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Featured Area Position","nova-blocks"),value:r,onChange:function(e){void 0!==e&&p({featureposition:e})},min:1,max:l(t)}),Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Grid Areas Fragmentation","nova-blocks"),value:o,onChange:function(e){void 0!==e&&p({fragmentation:e})},min:s(t),max:u(t)}),Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Grid Areas Crossing","nova-blocks"),value:a,onChange:function(e){void 0!==e&&p({hierarchycrossing:e})},min:0,max:200}))},Vo=function(e){var t=e.attributes.gridGap,n=e.setAttributes;return Object(b.createElement)(f.RangeControl,{value:t,onChange:function(e){n({gridGap:e})},label:Object(_.__)("Items Gap","nova-blocks"),min:0,max:100,step:5})},qo=function(e){var t=e.attributes,n=e.setAttributes,r=t.featuresize,o=t.featureposition,a=t.gridcolumns,i=t.gridrows;return Object(b.createElement)(F,{title:Object(_.__)("Grid Anatomy","nova-blocks")},Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Columns","nova-blocks"),value:a,onChange:function(e){if(void 0!==e){var t=e+1-r,a=Math.max(1,Math.min(t,o)),i=Math.max(1,e+1-a);n({featuresize:i,featureposition:a,gridcolumns:e})}},min:1,max:12}),Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Rows","nova-blocks"),value:i,onChange:function(e){void 0!==e&&n({gridrows:e})},min:1,max:12}),Object(b.createElement)(Vo,e))},Ho=function(e){var t=e.postsToShow,n=e.setAttributes;return Object(b.createElement)(f.RangeControl,{key:"collection-items-count",label:Object(_.__)("Items Count","nova-blocks"),value:t,onChange:function(e){n({postsToShow:e})},min:1,max:20,step:1})},Uo=function(e){var t=e.attributes,n=e.setAttributes,r=e.areaColumns,o=t.automaticPostsNumber,a=void 0!==o&&o,i=t.postsToShow,c=Object(b.useMemo)((function(){var e=Object(le.getPostsCount)(r);return a&&i!==e&&n({postsToShow:e}),e}),[r]),l=Object(b.useMemo)((function(){return t.tempPostsToShow||i}),[t]);return Object(b.createElement)(F,{title:Object(_.__)("Items Count","nova-blocks")},Object(b.createElement)("div",{className:Object(le.getControlsClasses)(t,(function(e){var t=e.automaticPostsNumber,n=e.postsToShow;return{postsToShow:t?-1:n}}))},Object(b.createElement)(Ho,{postsToShow:a?c:i,setAttributes:n})),Object(b.createElement)(f.ToggleControl,{label:Object(_.__)("Auto-count Items Number","nova-blocks"),checked:a,onChange:function(e){n({postsToShow:e?c:l,tempPostsToShow:i,automaticPostsNumber:e})}}))},Go=function(e){var t=e.attributes,n=e.setAttributes,r=t.imageweightleft,o=t.imageweightright,a=t.metadetailsleft,i=t.metadetailsright;return Object(b.createElement)(F,{title:Object(_.__)("Items Regularity","nova-blocks")},Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Start of Image Variance","nova-blocks"),value:r,onChange:function(e){void 0!==e&&n({imageweightleft:e})},min:0,max:10}),Object(b.createElement)(f.RangeControl,{label:Object(_.__)("End of Image Variance","nova-blocks"),value:o,onChange:function(e){void 0!==e&&n({imageweightright:e})},min:0,max:10}),Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Start of Meta Fidelity","nova-blocks"),value:a,onChange:function(e){void 0!==e&&n({metadetailsleft:e})},min:0,max:10}),Object(b.createElement)(f.RangeControl,{label:Object(_.__)("End of Meta Fidelity","nova-blocks"),value:i,onChange:function(e){void 0!==e&&n({metadetailsright:e})},min:0,max:10}))},$o=function(e){var t=e.attributes,n=e.setAttributes,r=t.boostfeature,o=t.subfeature,a=t.balancemdandiw,i=t.flipcolsrows;return Object(b.createElement)(F,{title:Object(_.__)("Miscellanous Parameters","nova-blocks")},Object(b.createElement)(f.ToggleControl,{label:Object(_.__)("Boost Featured Area Emphasis","nova-blocks"),checked:r,onChange:function(){n({boostfeature:!r})}}),Object(b.createElement)(f.ToggleControl,{label:Object(_.__)("Display Sub-featured Area","nova-blocks"),checked:o,onChange:function(){n({subfeature:!o})}}),Object(b.createElement)(f.ToggleControl,{label:Object(_.__)("Balance Meta and Image","nova-blocks"),checked:a,onChange:function(){n({balancemdandiw:!a})}}),Object(b.createElement)(f.ToggleControl,{label:Object(_.__)("Flip Cols and Rows","nova-blocks"),checked:i,onChange:function(){n({flipcolsrows:!i})}}))};function Wo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wo(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Zo=function(e){var t=e.attributes;if("parametric"!==t.layoutStyle)return null;var n=Object(b.useMemo)((function(){return Object(le.applyLayoutEngine)(t)}),[t]),r=Object(b.useMemo)((function(){return Object(le.getOptimalHeaderPosition)(n)}),[n]),o=Qo(Qo({},e),{},{areaColumns:n,headerOptimalPositions:r});return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Mo,o),Object(b.createElement)(qo,o),Object(b.createElement)(Lo,o),Object(b.createElement)(Uo,o),Object(b.createElement)(Go,o),Object(b.createElement)($o,o),Object(b.createElement)(zo,o))},Ko=function(e){var t=e.attributes.columns,n=e.setAttributes;return Object(b.createElement)(f.RangeControl,{value:t,onChange:function(e){n({columns:e})},label:Object(_.__)("Number of Items per Row","nova-blocks"),min:1,max:4})},Jo=function(e){if(!["classic","masonry"].includes(e.attributes.layoutStyle))return null;var t=e.attributes.postsToShow,n=e.setAttributes;return Object(b.createElement)(F,{title:Object(_.__)("Cards Count","nova-blocks")},Object(b.createElement)(Ho,{postsToShow:t,setAttributes:n}),Object(b.createElement)(Ko,e),Object(b.createElement)(Vo,e))},Xo=function(e){var t=e.attributes,n=e.setAttributes,r=t.layoutStyle,o=t.carouselLayout,a=t.postsToShow;return"carousel"!==r?null:Object(b.createElement)(b.Fragment,null,Object(b.createElement)(F,{title:Object(_.__)("Number of Cards and Distribution","nova-blocks")},Object(b.createElement)(Ho,{postsToShow:a,setAttributes:n}),"fixed"===o&&Object(b.createElement)(Ko,e),Object(b.createElement)(Vo,e)),Object(b.createElement)(F,{title:Object(_.__)("Layout","nova-blocks")},Object(b.createElement)(f.RadioControl,{key:"carousel-layout",label:Object(_.__)("Items Layout","nova-blocks"),selected:o,onChange:function(e){n({carouselLayout:e})},options:[{label:Object(_.__)("Fixed Width","nova-blocks"),value:"fixed"},{label:Object(_.__)("Variable Width","nova-blocks"),value:"variable"},{label:Object(_.__)("Content Width","nova-blocks"),value:"content"}]})))},Yo=[{label:Object(_.__)("Parametric Grid","nova-blocks"),value:"parametric"},{label:Object(_.__)("Classic Grid","nova-blocks"),value:"classic"},{label:Object(_.__)("Masonry","nova-blocks"),value:"masonry"},{label:Object(_.__)("Carousel","nova-blocks"),value:"carousel"}],ea=it("collection-layout-style")((function(e){var t=e.attributes,n=e.setAttributes,r=t.layoutStyle;return Object(b.createElement)(F,{title:Object(_.__)("Collection Layout Style","nova-blocks")},Object(b.createElement)(f.RadioControl,{selected:r,className:"nb-collection-layout",onChange:function(e){n({layoutStyle:e})},options:Yo}))})),ta=it("collection-layout-section")((function(e){var t=e.attributes,n=t.layoutStyle,r=t.postsToShow,o=t.columns;return 1===r&&1===o?null:Object(b.createElement)(Wn,{id:"collection-layout",label:Object(_.__)("Collection Layout","nova-blocks"),order:20},"parametric"===n&&Object(b.createElement)($n,{label:Object(_.__)("Presets","nova-blocks")},Object(b.createElement)(be,Object(h.a)({label:Object(_.__)("Choose a layout preset:","nova-blocks"),options:Ro,randomize:Bo},e))),Object(b.createElement)($n,{label:Object(_.__)("Settings","nova-blocks")},Object(b.createElement)(ea,e),Object(b.createElement)(Zo,e),Object(b.createElement)(Jo,e),Object(b.createElement)(Xo,e)))})),na=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r,o,a=ze(t.name);return!0!==(null==a||null===(n=a.novaBlocks)||void 0===n?void 0:n.collectionLayout)&&!0!==(null==a||null===(r=a.novaBlocks)||void 0===r||null===(o=r.collectionLayout)||void 0===o?void 0:o.controls)?Object(b.createElement)(e,t):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(ta,t),Object(b.createElement)(e,t))}}),"withCollectionLayoutControls"),ra=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r=ze(t.name),o=t.attributes,a=o.columns,i=o.gridGap,c=t.style?t.style:{};if(null!=r&&null!==(n=r.novaBlocks)&&void 0!==n&&n.collectionLayout){var l={"--nb-collection-columns-count":a,"--nb-grid-spacing-modifier":i};Object.assign(c,l)}return Object(b.createElement)(e,Object(h.a)({},t,{style:c}))}}),"withCollectionLayoutEditCustomProps");function oa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function aa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oa(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(lr.addFilter)("blocks.registerBlockType","novablocks/with-collection-layout-attributes",To),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-collection-layout-controls",na),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-collection-layout-edit-custom-props",ra);var ia=function(e){var t=e.attributes,n=e.setAttributes,r=t.preview,o=Object(b.useMemo)((function(){return Object(le.needsPreview)(t)}),[t]),a=Object(b.useMemo)((function(){return r?Object(_.__)("Enter Edit Mode","nova-blocks"):Object(_.__)("Exit Edit Mode","nova-blocks")}),[r]);return"novablocks/supernova"===e.name&&o?Object(b.createElement)(ot.BlockControls,null,Object(b.createElement)(f.Toolbar,{group:"block"},Object(b.createElement)(f.Button,{className:"components-icon-button components-toolbar__control",icon:y("swap"),onClick:function(){n({preview:!r})}},a))):null};function ca(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function la(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ca(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ca(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(lr.addFilter)("editor.BlockEdit","novablocks/with-preview-attributes",(function(e){return function(t){var n=t.attributes,r=t.name,o=Object(b.useMemo)((function(){return["novablocks/supernova","novablocks/supernova-item"]}),[]),a=Object(b.useMemo)((function(){return o.includes(r)&&Object(le.needsPreview)(n)}),[n,r]),i=Object(b.useCallback)((function(e){a||Object.assign(e,{preview:!1}),t.setAttribtues(e)}),[n]),c=Object(b.useMemo)((function(){return Object(le.getPreviewAttributes)(n)}),[n]),l=aa(aa({},t),{},{attributes:c,setAttribtues:i});return a?Object(b.createElement)(b.Fragment,null,Object(b.createElement)(e,l),Object(b.createElement)(ia,t)):Object(b.createElement)(e,t)}}),20);var sa={overlayFilterType:{type:"string",default:"unitone"},overlayFilterDuotoneConfig:{type:"object",default:{}},overlayFilterStrength:{type:"number",default:0}},ua=function(e){var t,n,r=null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n?void 0:n.overlayFilter;return!0!==r&&!0!==(null==r?void 0:r.attributes)?e:la(la({},e),{},{attributes:la(la({},e.attributes),sa)})},da=function(e){var t=Object(le.getSignals)(e.id),n=e.sourceIndex+1,r=t.reduce((function(e,t,r,o){return Math.abs(o[e]-n)<=Math.abs(o[r]-n)?e:r}),0);return t.splice(r,1,n),t};function ba(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ba(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ba(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var fa,ma,ga=styleManager.colorsConfig.filter((function(e){return!Object(le.isFunctionalPalette)(e)})),ha=(ma=[],(fa=ga).length&&Array.isArray(fa[0].variations)?(fa.forEach((function(e){var t=da(e);fa.filter((function(t){return e.id!==t.id})).forEach((function(n){var r=da(n);t.forEach((function(t,o){r.forEach((function(r,a){var i=e.variations[t-1].bg,c=n.variations[r-1].bg;i!==c&&o>a&&Math.abs(o-a)>0&&ma.push({name:"".concat(e.label," - ").concat(t-1," and ").concat(n.label," - ").concat(r-1),from:{paletteId:e.id,variationIndex:t,hex:i},to:{paletteId:n.id,variationIndex:r,hex:c}})}))}))}))})),ma):ma),Oa=function(e){var t=[];return e.length&&Array.isArray(e[0].variations)?(e.forEach((function(e){var n=da(e);e.label;n.forEach((function(n,r){var o=e.variations[n-1].bg;t.push({paletteId:e.id,variationIndex:n,hex:o})}))})),t):t}(ga),va=function(e){var t=e.attributes,n=e.setAttributes,r=(t.style,t.overlayFilterType),o=ze(e.name),a=Object(b.useMemo)((function(){var e,t;return!(null==o||null===(e=o.novaBlocks)||void 0===e||null===(t=e.overlayFilter)||void 0===t||!t.duotone)}),[o]);return Object(b.useEffect)((function(){a||"unitone"===r||n({overlayFilterType:"unitone"})}),[r,a]),a?Object(b.createElement)(f.RadioControl,{label:Object(_.__)("Overlay Filter","nova-blocks"),selected:r,onChange:function(e){n({overlayFilterType:e})},options:[{label:Object(_.__)("Unitone","nova-blocks"),value:"unitone"},{label:Object(_.__)("Duotone","nova-blocks"),value:"duotone"}]}):null},ja=function(e){var t=e.attributes,n=e.setAttributes,r=(e.clientId,t.overlayFilterType),o=t.overlayFilterDuotoneConfig,a=null==o?void 0:o.from,i=null==o?void 0:o.to;if("duotone"!==r)return null;var c=ha.map((function(e,t){return{data:e,value:t,colors:[e.from.hex,e.to.hex]}})),l=Oa.map((function(e,t){return{data:e,value:t,colors:[e.hex]}})),s=a&&i&&c.findIndex((function(e){return e.data.from.paletteId===a.paletteId&&e.data.from.variationIndex===a.variationIndex&&e.data.to.paletteId===i.paletteId&&e.data.to.variationIndex===i.variationIndex})),u=a&&l.findIndex((function(e){return e.data.paletteId===a.paletteId&&e.data.variationIndex===a.variationIndex})),d=i&&l.findIndex((function(e){return e.data.paletteId===i.paletteId&&e.data.variationIndex===i.variationIndex}));return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(F,{title:Object(_.__)("Duotone Presets","nova-blocks"),key:"duotone-presets"},Object(b.createElement)(Q,{selected:s,options:c,onChange:function(e){n({overlayFilterDuotoneConfig:c[e].data})}})),Object(b.createElement)(F,{title:Object(_.__)("Highlights","nova-blocks"),key:"highlights"},Object(b.createElement)(W,{selected:d,options:l,onChange:function(e){n({overlayFilterDuotoneConfig:pa(pa({},o),{},{to:l[e].data})})}})),Object(b.createElement)(F,{title:Object(_.__)("Shadows","nova-blocks"),key:"shadows"},Object(b.createElement)(W,{selected:u,options:l,onChange:function(e){n({overlayFilterDuotoneConfig:pa(pa({},o),{},{from:l[e].data})})}})))},ya=function(e){var t=e.attributes,n=e.setAttributes,r=t.overlayFilterStrength;return Object(b.createElement)(Wn,{id:"overlay-filter",label:Object(_.__)("Overlay Filter","nova-blocks"),group:Object(_.__)("Modules","nova-blocks"),order:40},Object(b.createElement)($n,{label:Object(_.__)("Settings","nova-blocks")},Object(b.createElement)(F,null,Object(b.createElement)(va,e)),Object(b.createElement)(ja,e),Object(b.createElement)(F,null,Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Overlay Filter Strength","nova-blocks"),value:r,onChange:function(e){return n({overlayFilterStrength:e})},min:0,max:90,step:10}))))},_a=function(e){var t=e.attributes,n=e.clientId,r=t.overlayFilterDuotoneConfig,o=t.overlayFilterType,a=null==r?void 0:r.from,i=null==r?void 0:r.to,c=Object(b.useContext)(ot.BlockList.__unstableElementContext),l="novablocks-duotone-".concat(n);if(!a||!i||"duotone"!==o)return null;var s="\n ".concat(Object(le.getDuotoneFilterSvg)([a.hex,i.hex],l),"\n <style> .").concat(l," .nb-supernova-item__media-wrapper :is(img, video) { filter: url( #").concat(l," ); }</style>\n ");return c?Object(b.createPortal)(Object(b.createElement)("div",{dangerouslySetInnerHTML:{__html:s}}),c):null},wa=Object(E.createHigherOrderComponent)((function(e){return function(t){t.attributes;var n,r,o,a=t.clientId,i=ze(t.name),c=N()(t.className,"novablocks-duotone-".concat(a));return!0!==(null==i||null===(n=i.novaBlocks)||void 0===n?void 0:n.overlayFilter)&&!0!==(null==i||null===(r=i.novaBlocks)||void 0===r||null===(o=r.overlayFilter)||void 0===o?void 0:o.controls)?Object(b.createElement)(e,t):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(e,Object(h.a)({},t,{className:c})),Object(b.createElement)(ya,t),Object(b.createElement)(_a,t))}}),"withOverlayFilterControls"),ka=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r=ze(t.name),o=t.attributes,a=t.style?t.style:{};return null!=r&&null!==(n=r.novaBlocks)&&void 0!==n&&n.overlayFilter&&Object.assign(a,Object(le.getOverlayFilterCSSProps)(o)),Object(b.createElement)(e,Object(h.a)({},t,{style:a}))}}),"withOverlayFilterEditCustomProps");function Ea(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ea(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ea(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Sa=function(e,t,n){var r,o,a=He(t.name);return e&&null!=a&&null!==(r=a.novaBlocks)&&void 0!==r&&r.overlayFilter?Object.assign({},e,{props:Pa(Pa({},e.props),{},{style:Pa(Pa({},null===(o=e.props)||void 0===o?void 0:o.style),Object(le.getOverlayFilterCSSProps)(n))})}):e};function Ca(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ca(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ca(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(lr.removeFilter)("editor.BlockEdit","core/editor/duotone/with-editor-controls"),Object(lr.addFilter)("blocks.registerBlockType","novablocks/with-overlay-filter-attributes",ua),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-overlay-filter-controls",wa),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-overlay-filter-edit-custom-props",ka),Object(lr.addFilter)("blocks.getSaveElement","novablocks/with-overlay-filter-save-custom-props",Sa);var Aa={mediaContainerHeight:{type:"number",default:50},thumbnailAspectRatioString:{type:"string",default:"landscape"},thumbnailAspectRatio:{type:"number",default:50},imageResizing:{type:"string",default:"cropped"},imagePadding:{type:"number",default:0},contentPadding:{type:"number",default:0},emphasisBySpace:{type:"number",default:1},enableOverlapping:{type:"boolean",default:!1},blockTopSpacing:{type:"number",default:1},blockBottomSpacing:{type:"number",default:0},emphasisTopSpacing:{type:"number",default:0},emphasisBottomSpacing:{type:"number",default:0},minHeightFallback:{type:"number",default:0},balanceEmphasis:{type:"number",default:50},balanceFocalPoint:{type:"string",default:"content"},contentAreaWidth:{type:"number",default:50},layoutGutter:{type:"number",default:0},spacingModifier:{type:"number",default:1},spacingMultiplierOverride:{type:"number",default:1}},Ia=function(e){var t,n,r=null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n?void 0:n.spaceAndSizing;return!0!==r&&!0!==(null==r?void 0:r.attributes)?e:xa(xa({},e),{},{attributes:xa(xa({},e.attributes),Aa)})},Ta=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"center center",r=t?-1*e:e,o=n.split(" "),a=o[0]||"center",i=o[1]||"center";return{emphasisBySpace:e,enableOverlapping:t,blockTopSpacing:r<0&&["center","bottom"].includes(a)?r:0,blockBottomSpacing:r<0&&["top","center"].includes(a)?r:0,emphasisTopSpacing:"top"!==a?r:1,emphasisBottomSpacing:"bottom"!==a?r:1,contentPosition:"".concat(a," ").concat(i)}},Ra=function(){var e=function(){return Object(le.getRandomArrayFromArray)([-1,0,1],1)[0]},t=Object(le.getRandomBetween)(0,3),n=Object(le.getRandomBetween)(0,3),r=e(),o=e(),a=e(),i=e(),c=Object(le.getRandomArrayFromArray)(["top","center","bottom"],1)[0];return{blockTopSpacing:t*r,blockBottomSpacing:t*o,emphasisTopSpacing:n*a,emphasisBottomSpacing:n*i,enableOverlapping:Object(le.getRandomArrayFromArray)([!0,!1],1)[0],verticalAlignment:c}},Ba=function(e){var t,n,o,a,i,c,l=Le(),s=ze(e.name),u=null==l||null===(t=l.modules)||void 0===t||null===(n=t.spaceAndSizing)||void 0===n?void 0:n.presetOptions,d=null==l||null===(o=l.modules)||void 0===o||null===(a=o.spaceAndSizing)||void 0===a?void 0:a.advancedPresetOptions,p=[];Array.isArray(u)&&(p.push.apply(p,Object(r.a)(u)),Array.isArray(d)&&null!=s&&null!==(i=s.novaBlocks)&&void 0!==i&&null!==(c=i.spaceAndSizing)&&void 0!==c&&c.advancedSpacing&&p.push.apply(p,Object(r.a)(d)));return p.length?Object(b.createElement)(be,Object(h.a)({key:"media-card-layout-preset",label:Object(_.__)("Choose a layout preset:","nova-blocks"),options:p,randomize:Ra},e)):null},Ma=function(e){var t=e.attributes,n=e.setAttributes,r=t.emphasisBySpace,o=t.enableOverlapping,a=("string"==typeof t.contentPosition?t.contentPosition:"center center").split(" "),i=a[0]||"center",c=a[1]||"center";return Object(b.createElement)(f.PanelRow,null,Object(b.createElement)("span",null,Object(_.__)("Vertical Anchoring","nova-blocks")),Object(b.createElement)(R,{value:i,onChange:function(e){var t=Ta(r,o,"".concat(e," ").concat(c));n(t)},isCollapsed:!1}))},Fa=it("block-spacing-customize")((function(e){var t,n=e.attributes,r=e.setAttributes,o=n.emphasisBySpace,a=n.enableOverlapping,i=n.contentPosition,c=ze(e.name),l=null==c||null===(t=c.novaBlocks)||void 0===t?void 0:t.contentPosition;return Object(b.createElement)(F,{title:Object(_.__)("Emphasis by Space","nova-blocks"),key:"space-and-sizing-customize-1"},Object(b.createElement)("div",{className:Object(le.getControlsClasses)(n,(function(e){return Ta(e.emphasisBySpace,e.enableOverlapping,e.contentPosition)}))},Object(b.createElement)(f.RangeControl,{key:"enable-by-space",value:o,onChange:function(e){var t=Ta(e,a,i);r(t)},min:0,max:3}),Object(b.createElement)(f.ToggleControl,{key:"enable-overlapping",label:Object(_.__)("Enable Overlapping","nova-blocks"),checked:a,onChange:function(e){var t=Ta(o,e,i);r(t)}}),l&&Object(b.createElement)(Ma,e)))})),Da=it("block-spacing-settings")((function(e){var t,n,r=ze(e.name),o=Object.assign({},e,{blockSpacingMin:-3,blockSpacingMax:3,contentSpacingMin:null!=r&&null!==(t=r.novaBlocks)&&void 0!==t&&null!==(n=t.spaceAndSizing)&&void 0!==n&&n.advancedSpacing?-3:0,contentSpacingMax:3});return Object(b.createElement)(F,{title:Object(_.__)("Block Spacing","nova-blocks")},Object(b.createElement)(Na,o),Object(b.createElement)(za,o),Object(b.createElement)(La,o),Object(b.createElement)(Va,o))})),Na=it("block-top-spacing")((function(e){var t=e.attributes,n=e.setAttributes,r=e.blockSpacingMin,o=e.blockSpacingMax,a=e.clientId,i=t.blockTopSpacing;Object(k.useSelect)("core/block-editor").getClientIdsWithDescendants(),ye(a);return Object(b.createElement)(f.RangeControl,{value:i,onChange:function(e){return n({blockTopSpacing:e})},label:Object(_.__)("Block Top Spacing","nova-blocks"),min:r,max:o})})),za=it("block-bottom-spacing")((function(e){var t=e.attributes,n=e.setAttributes,r=e.blockSpacingMin,o=e.blockSpacingMax,a=t.blockBottomSpacing;return Object(b.createElement)(f.RangeControl,{value:a,onChange:function(e){return n({blockBottomSpacing:e})},label:Object(_.__)("Block Bottom Spacing","nova-blocks"),min:r,max:o})})),La=it("content-top-spacing")((function(e){var t=e.attributes,n=e.setAttributes,r=e.contentSpacingMin,o=e.contentSpacingMax,a=t.emphasisTopSpacing;return Object(b.createElement)(f.RangeControl,{value:a,onChange:function(e){return n({emphasisTopSpacing:e})},label:Object(_.__)("Content Top Spacing","nova-blocks"),min:r,max:o})})),Va=it("content-bottom-spacing")((function(e){var t=e.attributes,n=e.setAttributes,r=e.contentSpacingMin,o=e.contentSpacingMax,a=t.emphasisBottomSpacing;return Object(b.createElement)(f.RangeControl,{value:a,onChange:function(e){return n({emphasisBottomSpacing:e})},label:Object(_.__)("Content Bottom Spacing","nova-blocks"),min:r,max:o})})),qa=it("block-spacing")(Da),Ha=it("media-aspect-ratio",!1)((function(e){var t=e.attributes,n=e.setAttributes,r=t.thumbnailAspectRatio,o=t.thumbnailAspectRatioString,a=t.imageResizing;return Object(b.createElement)(F,null,Object(b.createElement)(f.ToggleControl,{label:Object(_.__)("Enable Image Container Editing","nova-blocks"),checked:"auto"!==o,onChange:function(e){n({thumbnailAspectRatioString:e?r<50?"landscape":"portrait":"auto"})}}),"auto"!==o&&Object(b.createElement)(f.RangeControl,{label:Object(_.__)("Media Aspect Ratio","nova-blocks"),value:r,onChange:function(e){n({thumbnailAspectRatio:e,thumbnailAspectRatioString:e<50?"landscape":"portrait"})},min:0,max:100,step:5}),"auto"!==o&&Object(b.createElement)(f.RadioControl,{label:Object(_.__)("Image resizing","nova-blocks"),selected:a,onChange:function(e){n({imageResizing:e})},options:[{label:Object(_.__)("Stretch to fill the container","nova-blocks"),value:"cropped"},{label:Object(_.__)("Shrink to fit (no crop)","nova-blocks"),value:"original"}]}))})),Ua=it("minimum-container-height",!1)((function(e){var t=Le(),n=e.attributes,r=e.setAttributes,o=n.minHeightFallback;return Object(b.createElement)(F,{title:Object(_.__)("Minimum Container Height","nova-blocks")},Object(b.createElement)(f.RadioControl,{selected:o,onChange:function(e){r({minHeightFallback:parseFloat(e)})},options:null==t?void 0:t.minimumHeightOptions}))}));function Ga(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ga(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ga(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Wa=function(e){var t=e.balanceEmphasis,n=e.balanceFocalPoint,r=30*t/100+60;return{balanceEmphasis:t,balanceFocalPoint:n,contentAreaWidth:"content"===n?r:100-r}},Qa=it("visual-balance",!1)((function(e){var t=e.attributes,n=e.setAttributes,r=t.balanceEmphasis,o=t.balanceFocalPoint;return Object(b.createElement)(F,{title:Object(_.__)("Emphasis by Balance","nova-blocks"),key:"media-card-visual-balance-customize-1"},Object(b.createElement)("div",{className:Object(le.getControlsClasses)(t,Wa)},Object(b.createElement)(f.RangeControl,{value:r,onChange:function(e){n(Wa($a($a({},t),{},{balanceEmphasis:e})))},min:0,max:100,step:25}),Object(b.createElement)(f.RadioControl,{label:Object(_.__)("Focal Point","nova-blocks"),selected:o,onChange:function(e){n(Wa($a($a({},t),{},{balanceFocalPoint:e})))},options:[{label:Object(_.__)("Content Area","nova-blocks"),value:"content"},{label:Object(_.__)("Media / Gallery","nova-blocks"),value:"media"}]})))})),Za=it("media-aspect-ratio",!1)((function(e){var t=e.attributes,n=e.setAttributes,r=(t.thumbnailAspectRatio,t.thumbnailAspectRatioString);return Object(b.createElement)(F,{title:Object(_.__)("Thumbnail Aspect Ratio","nova-blocks")},Object(b.createElement)("div",{className:Object(le.getControlsClasses)(t,le.getAspectRatioAttributes)},Object(b.createElement)(f.RadioControl,{key:"thumbnail-aspect-ratio",selected:r,onChange:function(e){var t=t;"landscape"===e&&(t=45),"portrait"===e&&(t=65),n({thumbnailAspectRatio:t,thumbnailAspectRatioString:e})},options:[{label:Object(_.__)("Landscape","nova-blocks"),value:"landscape"},{label:Object(_.__)("Portrait","nova-blocks"),value:"portrait"},{label:Object(_.__)("Auto","nova-blocks"),value:"auto"}]})))})),Ka=it("content-padding",!1)((function(e){var t=e.attributes,n=e.setAttributes,r=t.contentPadding;return Object(b.createElement)(F,{title:Object(_.__)("Content Area Padding","nova-blocks")},Object(b.createElement)(f.RangeControl,{value:r,onChange:function(e){n({contentPadding:e})},min:0,max:100,step:25}))})),Ja=it("visual-balance",!1)((function(e){var t=e.attributes,n=e.setAttributes,r=t.contentAreaWidth;return Object(b.createElement)(F,{title:Object(_.__)("Content Width relative to Media Area","nova-blocks")},Object(b.createElement)(f.RangeControl,{value:r,onChange:function(e){return n({contentAreaWidth:e})},min:30,max:90,step:5}))})),Xa=it("media-padding",!1)((function(e){var t=e.attributes,n=e.setAttributes,r=t.imagePadding;return Object(b.createElement)(F,{title:Object(_.__)("Media Area Padding","nova-blocks")},Object(b.createElement)(f.RangeControl,{value:r,onChange:function(e){n({imagePadding:e})},min:0,max:100,step:25}))})),Ya=it("content-to-media-spacing",!1)((function(e){var t=e.attributes,n=e.setAttributes,r=t.layoutGutter;return Object(b.createElement)(F,{title:Object(_.__)("Content to Media Spacing","nova-blocks")},Object(b.createElement)(f.RangeControl,{value:r,onChange:function(e){return n({layoutGutter:e})},min:0,max:100,step:25}))})),ei=it("media-container-height",!1)((function(e){var t=e.attributes,n=e.setAttributes,r=t.mediaContainerHeight;return Object(b.createElement)(F,{title:Object(_.__)("Media Container Height","nova-blocks")},Object(b.createElement)(f.RangeControl,{value:r,onChange:function(e){n({mediaContainerHeight:e})},min:0,max:100,step:5}))})),ti=it("spacing-modifier")((function(e){var t=e.attributes,n=e.setAttributes,r=t.spacingMultiplierOverride;return Object(b.createElement)(F,{title:Object(_.__)("Spacing Modifier","nova-blocks")},Object(b.createElement)(f.RangeControl,{value:r,onChange:function(e){return n({spacingMultiplierOverride:e})},min:0,max:4,step:.5}))})),ni=it("spacing-children-modifier")((function(e){var t=e.attributes,n=e.setAttributes,r=t.spacingModifier;return Object(b.createElement)(F,{title:Object(_.__)("Spacing Modifier for Inside Elements","nova-blocks")},Object(b.createElement)(f.RangeControl,{value:r,onChange:function(e){return n({spacingModifier:e})},min:0,max:2,step:.5}))})),ri=function(e){return Object(b.createElement)(Wn,{id:"space-and-sizing",label:Object(_.__)("Space and Sizing","nova-blocks"),order:20},Object(b.createElement)($n,{id:"space-and-sizing-presets",label:Object(_.__)("Presets","nova-blocks")},Object(b.createElement)(Ba,e)),Object(b.createElement)($n,{id:"space-and-sizing-customize",label:Object(_.__)("Customize","nova-blocks")},Object(b.createElement)(Fa,Object(h.a)({key:"card-spacing-customize"},e)),Object(b.createElement)(Za,Object(h.a)({key:"image-container-customize"},e)),Object(b.createElement)(Qa,Object(h.a)({key:"visual-balance-customize"},e))),Object(b.createElement)($n,{label:Object(_.__)("Settings","nova-blocks")},Object(b.createElement)(qa,Object(h.a)({key:"card-spacing-settings"},e)),Object(b.createElement)(ti,Object(h.a)({key:"spacing-modifier"},e)),Object(b.createElement)(ni,Object(h.a)({key:"spacing-children-modifier"},e)),Object(b.createElement)(Ua,Object(h.a)({id:"minimum-container-height",key:"minimum-container-height"},e)),Object(b.createElement)(ei,Object(h.a)({key:"media-container-height"},e)),Object(b.createElement)(Ha,Object(h.a)({id:"media-aspect-ratio",key:"media-aspect-ratio-settings"},e)),Object(b.createElement)(Ja,Object(h.a)({id:"visual-balance",key:"visual-balance"},e)),Object(b.createElement)(Ka,Object(h.a)({id:"content-padding",key:"content-padding"},e)),Object(b.createElement)(Xa,Object(h.a)({id:"media-padding",key:"media-padding"},e)),Object(b.createElement)(Ya,Object(h.a)({id:"content-to-media-spacing",key:"content-to-media-spacing"},e))))},oi=Object(E.createHigherOrderComponent)((function(e){return function(t){t.setAttributes,t.clientId;var n,r,o,a=ze(t.name);return!0!==(null==a||null===(n=a.novaBlocks)||void 0===n?void 0:n.spaceAndSizing)&&!0!==(null==a||null===(r=a.novaBlocks)||void 0===r||null===(o=r.spaceAndSizing)||void 0===o?void 0:o.controls)?Object(b.createElement)(e,t):Object(b.createElement)(b.Fragment,null,Object(b.createElement)(ri,t),Object(b.createElement)(e,t))}}),"withSpaceAndSizingControls");function ai(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ii(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ai(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ai(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ci=function(e,t,n){var r,o=He(t.name);return null!=o&&null!==(r=o.novaBlocks)&&void 0!==r&&r.spaceAndSizing?ii(ii({},e),{},{style:ii(ii({},null==e?void 0:e.style),Object(le.getSpacingCSSProps)(n))}):e};function li(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function si(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?li(Object(n),!0).forEach((function(t){Object(O.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):li(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ui=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r,o,a=t.attributes,i=(a.align,ze(t.name)),c=t.wrapperProps;return null!=i&&null!==(n=i.novaBlocks)&&void 0!==n&&n.spaceAndSizing?(c=si(si({},c),{},{style:si(si({},null===(r=c)||void 0===r?void 0:r.style),Object(le.getSpacingCSSProps)(a)),className:null===(o=c)||void 0===o?void 0:o.className}),Object(b.createElement)(e,Object(h.a)({},t,{wrapperProps:c}))):Object(b.createElement)(e,t)}}),"withBlockListWrapperProps"),di=Object(E.createHigherOrderComponent)((function(e){return function(t){var n,r=ze(t.name),o=t.attributes,a=t.style?t.style:{};return null!=r&&null!==(n=r.novaBlocks)&&void 0!==n&&n.spaceAndSizing&&Object.assign(a,Object(le.getSpacingCSSProps)(o)),Object(b.createElement)(e,Object(h.a)({},t,{style:a}))}}),"withSpaceAndSizingEditCustomProps");Object(lr.addFilter)("blocks.registerBlockType","novablocks/with-space-and-sizing-attributes",Ia),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-space-and-sizing-controls",oi),Object(lr.addFilter)("editor.BlockEdit","novablocks/with-space-and-sizing-edit-custom-props",di),Object(lr.addFilter)("editor.BlockListBlock","novablocks/group/with-block-list-wrapper-props",ui),Object(lr.addFilter)("blocks.getSaveContent.extraProps","novablocks/with-space-and-sizing-save-custom-props",ci)}]); -
nova-blocks/trunk/build/block-library/blocks/announcement-bar/frontend.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-utils', 'wp-dom-ready', 'wp-polyfill'), 'version' => ' d936915191429a85b26fdfbc2f92ab3b');1 <?php return array('dependencies' => array('novablocks-utils', 'wp-dom-ready', 'wp-polyfill'), 'version' => 'c33fe6061ef6f91be3ef1123744e9d05'); -
nova-blocks/trunk/build/block-library/blocks/announcement-bar/frontend.js
r2738702 r2744078 1 !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=69)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},10:function(e,t){e.exports=window.novablocks.utils},1 6:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},18:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}e.exports=function(e,t,o){return t&&n(e.prototype,t),o&&n(e,o),e},e.exports.default=e.exports,e.exports.__esModule=!0},29:function(e,t){e.exports=window.wp.domReady},69:function(e,t,n){"use strict";var o=n(0),r=o(n(29)),i=o(n(70));(0,r.default)((function(){var e=document.getElementsByClassName("novablocks-announcement-bar");Array.from(e).map((function(e){return new i.default(e)}))}))},70:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(16)),i=o(n(18)),u=n(10),s=o(n(71)),a=function(){function e(t,n){(0,r.default)(this,e),this.element=t,this.close=t.querySelector(".novablocks-announcement-bar__close"),this.cookieName="novablocks-announcement-"+t.dataset.id+"-disabled",this.onClose=this.onClose.bind(this);var o=s.default.get(this.cookieName),i=(0,u.hasClass)(document.body,"logged-in");o&&!i||((0,u.removeClass)(t,"is-hidden"),this.bindEvents())}return(0,i.default)(e,[{key:"bindEvents",value:function(){this.close.addEventListener("click",this.onClose)}},{key:"onClose",value:function(){var e=this.cookieName;(0,u.addClass)(this.element,"is-hidden"),s.default.set(e,!0,{expires:365});var t=new CustomEvent("resize");window.dispatchEvent(t)}}]),e}();t.default=a},71:function(e,t,n){e.exports=function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}return function t(n,o){function r(t,r,i){if("undefined"!=typeof document){"number"==typeof(i=e({},o,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var u="";for(var s in i)i[s]&&(u+="; "+s,!0!==i[s]&&(u+="="+i[s].split(";")[0]));return document.cookie=t+"="+n.write(r,t)+u}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],o={},r=0;r<t.length;r++){var i=t[r].split("="),u=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(o[s]=n.read(u,s),e===s)break}catch(e){}}return e?o[e]:o}},remove:function(t,n){r(t,"",e({},n,{expires:-1}))},withAttributes:function(n){return t(this.converter,e({},this.attributes,n))},withConverter:function(n){return t(e({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(n)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}()}});1 !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=69)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},10:function(e,t){e.exports=window.novablocks.utils},17:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},18:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}e.exports=function(e,t,o){return t&&n(e.prototype,t),o&&n(e,o),e},e.exports.default=e.exports,e.exports.__esModule=!0},29:function(e,t){e.exports=window.wp.domReady},69:function(e,t,n){"use strict";var o=n(0),r=o(n(29)),i=o(n(70));(0,r.default)((function(){var e=document.getElementsByClassName("novablocks-announcement-bar");Array.from(e).map((function(e){return new i.default(e)}))}))},70:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(17)),i=o(n(18)),u=n(10),s=o(n(71)),a=function(){function e(t,n){(0,r.default)(this,e),this.element=t,this.close=t.querySelector(".novablocks-announcement-bar__close"),this.cookieName="novablocks-announcement-"+t.dataset.id+"-disabled",this.onClose=this.onClose.bind(this);var o=s.default.get(this.cookieName),i=(0,u.hasClass)(document.body,"logged-in");o&&!i||((0,u.removeClass)(t,"is-hidden"),this.bindEvents())}return(0,i.default)(e,[{key:"bindEvents",value:function(){this.close.addEventListener("click",this.onClose)}},{key:"onClose",value:function(){var e=this.cookieName;(0,u.addClass)(this.element,"is-hidden"),s.default.set(e,!0,{expires:365});var t=new CustomEvent("resize");window.dispatchEvent(t)}}]),e}();t.default=a},71:function(e,t,n){e.exports=function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}return function t(n,o){function r(t,r,i){if("undefined"!=typeof document){"number"==typeof(i=e({},o,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var u="";for(var s in i)i[s]&&(u+="; "+s,!0!==i[s]&&(u+="="+i[s].split(";")[0]));return document.cookie=t+"="+n.write(r,t)+u}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],o={},r=0;r<t.length;r++){var i=t[r].split("="),u=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(o[s]=n.read(u,s),e===s)break}catch(e){}}return e?o[e]:o}},remove:function(t,n){r(t,"",e({},n,{expires:-1}))},withAttributes:function(n){return t(this.converter,e({},this.attributes,n))},withConverter:function(n){return t(e({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(n)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}()}}); -
nova-blocks/trunk/build/block-library/blocks/announcement-bar/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => ' 165a495abb3a7f0e40fe4c3faee0b904');1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'd1532bcc018f0877c987e6403c2712fa'); -
nova-blocks/trunk/build/block-library/blocks/announcement-bar/index.js
r2738702 r2744078 4 4 Licensed under the MIT License (MIT), see 5 5 http://jedwatson.github.io/classnames 6 */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)&&r.length){var u=o.apply(null,r);u&&t.push(u)}else if("object"===i)for(var a in r)n.call(r,a)&&r[a]&&t.push(a)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},,,function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r},t.exports.default=t.exports,t.exports.__esModule=!0}, ,function(t,e,n){var r=n(15);t.exports=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},,,,,,,,,,,,,,,function(t,e,n){var r=n(33),o=n(34),i=n(17),u=n(35);t.exports=function(t){return r(t)||o(t)||i(t)||u()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){var r=n(15);t.exports=function(t){if(Array.isArray(t))return r(t)},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=n(0),o=n(1),i=n(5),u=n(4),a=r(n(73)),s=r(n(74)),c=n(2),l=r(n(75));(0,i.registerBlockType)("novablocks/announcement-bar",{icon:(0,c.getSvg)(l.default),save:function(){return(0,o.createElement)(u.InnerBlocks.Content,null)},edit:s.default,getEditWrapperProps:function(t){return{"data-align":"full"}},deprecated:a.default})},function(t,e,n){"use strict";var r=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(32)),i=r(n(11)),u=n(5);function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){(0,i.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var c=lodash.omit,l={align:{type:"string",default:"full"},url:{type:"string",default:""},opensInNewTab:{type:"boolean",default:!1}},f={"is-style-accent":{paletteVariation:6,colorSignal:2},"is-style-alternative":{palette:2,paletteVariation:6,colorSignal:2},"is-style-alert":{palette:"_error",paletteVariation:6,colorSignal:2}},d=[{isEligible:function(t,e){return(t.className||"").split(/\b\s+/).some((function(t){return Object.keys(f).includes(t)}))},attributes:s({content:{type:"string",default:"<b>Find me on Instagram!</b> New photos and interesting facts every day."}},l),migrate:function(t,e){var n=t.className.split(/\b\s+/),r={},o=n.filter((function(t){return void 0!==f[t]?(r=f[t],!1):!!t.length})).join(" ");return[Object.assign({},t,r,{className:o}),e]},save:function(){}},{isEligible:function(t,e){return void 0!==t.content&&!e.length},attributes:s({content:{type:"string",default:"<b>Find me on Instagram!</b> New photos and interesting facts every day."}},l),migrate:function(t,e){return[c(t,"content"),[(0,u.createBlock)("core/paragraph",{content:t.content})].concat((0,o.default)(e))]},save:function(){}}];e.default=d},function(t,e,n){"use strict";var r=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(1),i=r(n(12)),u=n(4),a=n(9),s=n(3),c=["novablocks/openhours","core/paragraph"],l=[["novablocks/openhours",{openHoursStyle:"status"}]],f=function(t){var e=t.clientId,n=t.className,r=t.attributes,f=r.url,d=r.opensInNewTab,p=t.setAttributes,y=t.isSelected;(0,o.useEffect)((function(){p({blockId:e})}),[e]);var h=(0,u.useBlockProps)({className:(0,i.default)("novablocks-announcement-bar",n)}),v=(0,u.useInnerBlocksProps)({className:"novablocks-announcement-bar__wrapper"},{allowedBlocks:c,template:l});return(0,o.createElement)("div",h,(0,o.createElement)("div",v),y&&(0,o.createElement)("div",{className:"novablocks-announcement-bar__url-field-wrapper"},(0,o.createElement)(a.BaseControl,{label:(0,s.__)("Add a link to make the whole Announcement Bar clickable.","nova-blocks"),className:"wp-block-button__inline-link"},(0,o.createElement)(u.URLInput,{className:"wp-block-button__inline-link-input",value:f,autoFocus:!1,onChange:function(t){return p({url:t})},disableSuggestions:!y,isFullWidth:!0,hasBorder:!0})),(0,o.createElement)(a.ToggleControl,{checked:d,onChange:function(t){p({opensInNewTab:t})},label:(0,s.__)("Open in new tab","nova-blocks")})))};e.default=f},function(t,e,n){"use strict";n.r(e);var r=n(6),o=n.n(r),i=n(7),u=n.n(i),a=new o.a({id:"block-library-announcement-bar/icon",use:"block-library-announcement-bar/icon-usage",viewBox:"0 0 18 18",content:'<symbol viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" fill="none" id="block-library-announcement-bar/icon"><path fill="#6565F2" fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm14 2H2v4h14V2z" clip-rule="evenodd" /></symbol>'});u.a.add(a);e.default=a}]);6 */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)&&r.length){var u=o.apply(null,r);u&&t.push(u)}else if("object"===i)for(var a in r)n.call(r,a)&&r[a]&&t.push(a)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},,,function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){var r=n(15);t.exports=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},,,,,,,,,,,,,,,,function(t,e,n){var r=n(33),o=n(34),i=n(16),u=n(35);t.exports=function(t){return r(t)||o(t)||i(t)||u()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){var r=n(15);t.exports=function(t){if(Array.isArray(t))return r(t)},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=n(0),o=n(1),i=n(5),u=n(4),a=r(n(73)),s=r(n(74)),c=n(2),l=r(n(75));(0,i.registerBlockType)("novablocks/announcement-bar",{icon:(0,c.getSvg)(l.default),save:function(){return(0,o.createElement)(u.InnerBlocks.Content,null)},edit:s.default,getEditWrapperProps:function(t){return{"data-align":"full"}},deprecated:a.default})},function(t,e,n){"use strict";var r=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(32)),i=r(n(11)),u=n(5);function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){(0,i.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var c=lodash.omit,l={align:{type:"string",default:"full"},url:{type:"string",default:""},opensInNewTab:{type:"boolean",default:!1}},f={"is-style-accent":{paletteVariation:6,colorSignal:2},"is-style-alternative":{palette:2,paletteVariation:6,colorSignal:2},"is-style-alert":{palette:"_error",paletteVariation:6,colorSignal:2}},d=[{isEligible:function(t,e){return(t.className||"").split(/\b\s+/).some((function(t){return Object.keys(f).includes(t)}))},attributes:s({content:{type:"string",default:"<b>Find me on Instagram!</b> New photos and interesting facts every day."}},l),migrate:function(t,e){var n=t.className.split(/\b\s+/),r={},o=n.filter((function(t){return void 0!==f[t]?(r=f[t],!1):!!t.length})).join(" ");return[Object.assign({},t,r,{className:o}),e]},save:function(){}},{isEligible:function(t,e){return void 0!==t.content&&!e.length},attributes:s({content:{type:"string",default:"<b>Find me on Instagram!</b> New photos and interesting facts every day."}},l),migrate:function(t,e){return[c(t,"content"),[(0,u.createBlock)("core/paragraph",{content:t.content})].concat((0,o.default)(e))]},save:function(){}}];e.default=d},function(t,e,n){"use strict";var r=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(1),i=r(n(12)),u=n(4),a=n(9),s=n(3),c=["novablocks/openhours","core/paragraph"],l=[["novablocks/openhours",{openHoursStyle:"status"}]],f=function(t){var e=t.clientId,n=t.className,r=t.attributes,f=r.url,d=r.opensInNewTab,p=t.setAttributes,y=t.isSelected;(0,o.useEffect)((function(){p({blockId:e})}),[e]);var h=(0,u.useBlockProps)({className:(0,i.default)("novablocks-announcement-bar",n)}),v=(0,u.useInnerBlocksProps)({className:"novablocks-announcement-bar__wrapper"},{allowedBlocks:c,template:l});return(0,o.createElement)("div",h,(0,o.createElement)("div",v),y&&(0,o.createElement)("div",{className:"novablocks-announcement-bar__url-field-wrapper"},(0,o.createElement)(a.BaseControl,{label:(0,s.__)("Add a link to make the whole Announcement Bar clickable.","nova-blocks"),className:"wp-block-button__inline-link"},(0,o.createElement)(u.URLInput,{className:"wp-block-button__inline-link-input",value:f,autoFocus:!1,onChange:function(t){return p({url:t})},disableSuggestions:!y,isFullWidth:!0,hasBorder:!0})),(0,o.createElement)(a.ToggleControl,{checked:d,onChange:function(t){p({opensInNewTab:t})},label:(0,s.__)("Open in new tab","nova-blocks")})))};e.default=f},function(t,e,n){"use strict";n.r(e);var r=n(6),o=n.n(r),i=n(7),u=n.n(i),a=new o.a({id:"block-library-announcement-bar/icon",use:"block-library-announcement-bar/icon-usage",viewBox:"0 0 18 18",content:'<symbol viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" fill="none" id="block-library-announcement-bar/icon"><path fill="#6565F2" fill-rule="evenodd" d="M2 0a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm14 2H2v4h14V2z" clip-rule="evenodd" /></symbol>'});u.a.add(a);e.default=a}]); -
nova-blocks/trunk/build/block-library/blocks/facetwp-facet/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-server-side-render'), 'version' => ' 919086c080340c7f86e64c4ead2f167d');1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-server-side-render'), 'version' => '67be4242762dd2576767eb8b0c835a77'); -
nova-blocks/trunk/build/block-library/blocks/facetwp-facet/index.js
r2738702 r2744078 1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=80)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},14:function(e,t){e.exports=window.wp.serverSideRender},15:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.default=e.exports,e.exports.__esModule=!0},1 7:function(e,t,n){var r=n(15);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},19:function(e,t,n){var r=n(20),o=n(21),l=n(17),u=n(22);e.exports=function(e,t){return r(e)||o(e,t)||l(e,t)||u()},e.exports.default=e.exports,e.exports.__esModule=!0},2:function(e,t){e.exports=window.novablocks.blockEditor},20:function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},21:function(e,t){e.exports=function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,l=[],u=!0,a=!1;try{for(n=n.call(e);!(u=(r=n.next()).done)&&(l.push(r.value),!t||l.length!==t);u=!0);}catch(e){a=!0,o=e}finally{try{u||null==n.return||n.return()}finally{if(a)throw o}}return l}},e.exports.default=e.exports,e.exports.__esModule=!0},22:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},3:function(e,t){e.exports=window.wp.i18n},4:function(e,t){e.exports=window.wp.blockEditor},5:function(e,t){e.exports=window.wp.blocks},80:function(e,t,n){"use strict";var r=n(0),o=n(5),l=(r(n(14)),r(n(81))),u=r(n(82));(0,o.registerBlockType)("novablocks/facetwp-facet",{attributes:u.default,edit:l.default,save:function(){return null}})},81:function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),l=r(n(19)),u=n(4),a=(r(n(14)),n(9)),i=n(3),c=n(2),s=function(e){var t=e.attributes,n=e.setAttributes,r=t.hideLabels,l=t.hideCounts;return(0,o.createElement)(c.ControlsSection,{id:"setup",label:(0,i.__)("Setup","nova-blocks")},(0,o.createElement)(c.ControlsTab,{label:(0,i.__)("Settings","nova-blocks")},(0,o.createElement)(a.ToggleControl,{label:(0,i.__)("Hide Label","nova-blocks"),checked:r,onChange:function(){return n({hideLabels:!r})}}),(0,o.createElement)(a.ToggleControl,{label:(0,i.__)("Hide Counts","nova-blocks"),checked:l,onChange:function(){return n({hideCounts:!l})}})))},f=function(e){var t=e.attributes,n=e.setAttributes;return function(e){var t=e.facet,n=(0,c.useSettings)();return(0,o.useMemo)((function(){return(null==n?void 0:n.facetwp_facets).find((function(e){return e.name===t}))}),[t])}(t)?(0,o.createElement)(u.BlockControls,null,(0,o.createElement)(a.Toolbar,{group:"block"},(0,o.createElement)(a.IconButton,{className:"components-icon-button components-toolbar__control",label:(0,i.__)("Change Facet","nova-blocks"),onClick:function(){n({facet:""})},icon:"edit"}))):null},p=function(e){var t=e.attributes,n=e.setAttributes,r=t.facet,a=(0,c.useSettings)(),p=null==a?void 0:a.facetwp_facets,d=(0,o.useState)(!1),_=(0,l.default)(d,2),b=_[0],m=_[1],x={label:(0,i.__)("Select","nova-blocks"),name:""},v=p.find((function(e){return e.name===r}))||x,w=(0,u.useBlockProps)({className:"nb-facetwp-filter__item"});return(0,o.useEffect)((function(){""===r&&m(!0)}),[r]),(0,o.createElement)("div",w,(0,o.createElement)("div",{className:"nb-facetwp-filter__item-text"},(0,o.createElement)("span",{className:"nb-facetwp-filter__item-label"},v.label),(0,o.createElement)("span",{className:"nb-facetwp-filter__item-type"},v.type)),b&&(0,o.createElement)("div",{className:"nb-facetwp-filter__dropdown"},p.map((function(e){return(0,o.createElement)("div",{className:"nb-facetwp-filter__dropdown-item",onClick:function(){m(!1),n({facet:e.name})}},e.label)}))),(0,o.createElement)(s,e),(0,o.createElement)(f,e))};t.default=p},82:function(e){e.exports=JSON.parse('{"facet":{"type":"string","default":""},"hideCounts":{"type":"boolean","default":false},"hideLabels":{"type":"boolean","default":false}}')},9:function(e,t){e.exports=window.wp.components}});1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=80)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},14:function(e,t){e.exports=window.wp.serverSideRender},15:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.default=e.exports,e.exports.__esModule=!0},16:function(e,t,n){var r=n(15);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},19:function(e,t,n){var r=n(20),o=n(21),l=n(16),u=n(22);e.exports=function(e,t){return r(e)||o(e,t)||l(e,t)||u()},e.exports.default=e.exports,e.exports.__esModule=!0},2:function(e,t){e.exports=window.novablocks.blockEditor},20:function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},21:function(e,t){e.exports=function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,l=[],u=!0,a=!1;try{for(n=n.call(e);!(u=(r=n.next()).done)&&(l.push(r.value),!t||l.length!==t);u=!0);}catch(e){a=!0,o=e}finally{try{u||null==n.return||n.return()}finally{if(a)throw o}}return l}},e.exports.default=e.exports,e.exports.__esModule=!0},22:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},3:function(e,t){e.exports=window.wp.i18n},4:function(e,t){e.exports=window.wp.blockEditor},5:function(e,t){e.exports=window.wp.blocks},80:function(e,t,n){"use strict";var r=n(0),o=n(5),l=(r(n(14)),r(n(81))),u=r(n(82));(0,o.registerBlockType)("novablocks/facetwp-facet",{attributes:u.default,edit:l.default,save:function(){return null}})},81:function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),l=r(n(19)),u=n(4),a=(r(n(14)),n(9)),i=n(3),c=n(2),s=function(e){var t=e.attributes,n=e.setAttributes,r=t.hideLabels,l=t.hideCounts;return(0,o.createElement)(c.ControlsSection,{id:"setup",label:(0,i.__)("Setup","nova-blocks")},(0,o.createElement)(c.ControlsTab,{label:(0,i.__)("Settings","nova-blocks")},(0,o.createElement)(a.ToggleControl,{label:(0,i.__)("Hide Label","nova-blocks"),checked:r,onChange:function(){return n({hideLabels:!r})}}),(0,o.createElement)(a.ToggleControl,{label:(0,i.__)("Hide Counts","nova-blocks"),checked:l,onChange:function(){return n({hideCounts:!l})}})))},f=function(e){var t=e.attributes,n=e.setAttributes;return function(e){var t=e.facet,n=(0,c.useSettings)();return(0,o.useMemo)((function(){return(null==n?void 0:n.facetwp_facets).find((function(e){return e.name===t}))}),[t])}(t)?(0,o.createElement)(u.BlockControls,null,(0,o.createElement)(a.Toolbar,{group:"block"},(0,o.createElement)(a.IconButton,{className:"components-icon-button components-toolbar__control",label:(0,i.__)("Change Facet","nova-blocks"),onClick:function(){n({facet:""})},icon:"edit"}))):null},p=function(e){var t=e.attributes,n=e.setAttributes,r=t.facet,a=(0,c.useSettings)(),p=null==a?void 0:a.facetwp_facets,d=(0,o.useState)(!1),_=(0,l.default)(d,2),b=_[0],m=_[1],x={label:(0,i.__)("Select","nova-blocks"),name:""},v=p.find((function(e){return e.name===r}))||x,w=(0,u.useBlockProps)({className:"nb-facetwp-filter__item"});return(0,o.useEffect)((function(){""===r&&m(!0)}),[r]),(0,o.createElement)("div",w,(0,o.createElement)("div",{className:"nb-facetwp-filter__item-text"},(0,o.createElement)("span",{className:"nb-facetwp-filter__item-label"},v.label),(0,o.createElement)("span",{className:"nb-facetwp-filter__item-type"},v.type)),b&&(0,o.createElement)("div",{className:"nb-facetwp-filter__dropdown"},p.map((function(e){return(0,o.createElement)("div",{className:"nb-facetwp-filter__dropdown-item",onClick:function(){m(!1),n({facet:e.name})}},e.label)}))),(0,o.createElement)(s,e),(0,o.createElement)(f,e))};t.default=p},82:function(e){e.exports=JSON.parse('{"facet":{"type":"string","default":""},"hideCounts":{"type":"boolean","default":false},"hideLabels":{"type":"boolean","default":false}}')},9:function(e,t){e.exports=window.wp.components}}); -
nova-blocks/trunk/build/block-library/blocks/facetwp-title/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-server-side-render'), 'version' => ' 204338cf6909c336dd8a2f93437707ca');1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-server-side-render'), 'version' => '7206de0332f4bb5aeea8a1c22b4092fb'); -
nova-blocks/trunk/build/block-library/blocks/facetwp-title/index.js
r2738702 r2744078 1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=91)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},14:function(e,t){e.exports=window.wp.serverSideRender},3:function(e,t){e.exports=window.wp.i18n},4:function(e,t){e.exports=window.wp.blockEditor},4 2:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),u=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),l=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return u(t,e),t},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=l(n(43)),f=c(n(44)),d=l(n(45));function h(e){return e&&e.replace(/ |\u202F|\u00A0/g," ")}var y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.lastHtml=t.props.html,t.el="function"==typeof t.props.innerRef?{current:null}:p.createRef(),t.getEl=function(){return(t.props.innerRef&&"function"!=typeof t.props.innerRef?t.props.innerRef:t.el).current},t.emitChange=function(e){var n=t.getEl();if(n){var r=n.innerHTML;if(t.props.onChange&&r!==t.lastHtml){var o=Object.assign({},e,{target:{value:r}});t.props.onChange(o)}t.lastHtml=r}},t}return o(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.tagName,r=t.html,o=t.innerRef,a=s(t,["tagName","html","innerRef"]);return p.createElement(n||"div",i(i({},a),{ref:"function"==typeof o?function(t){o(t),e.el.current=t}:o||this.el,onInput:this.emitChange,onBlur:this.props.onBlur||this.emitChange,onKeyUp:this.props.onKeyUp||this.emitChange,onKeyDown:this.props.onKeyDown||this.emitChange,contentEditable:!this.props.disabled,dangerouslySetInnerHTML:{__html:r}}),this.props.children)},t.prototype.shouldComponentUpdate=function(e){var t=this.props,n=this.getEl();return!n||(h(e.html)!==h(n.innerHTML)||(t.disabled!==e.disabled||t.tagName!==e.tagName||t.className!==e.className||t.innerRef!==e.innerRef||t.placeholder!==e.placeholder||!f.default(t.style,e.style)))},t.prototype.componentDidUpdate=function(){var e=this.getEl();e&&(this.props.html!==e.innerHTML&&(e.innerHTML=this.props.html),this.lastHtml=this.props.html,function(e){var t=document.createTextNode("");e.appendChild(t);var n=document.activeElement===e;if(null!==t&&null!==t.nodeValue&&n){var r=window.getSelection();if(null!==r){var o=document.createRange();o.setStart(t,t.nodeValue.length),o.collapse(!0),r.removeAllRanges(),r.addRange(o)}e instanceof HTMLElement&&e.focus()}}(e))},t.propTypes={html:d.string.isRequired,onChange:d.func,disabled:d.bool,tagName:d.string,className:d.string,style:d.object,innerRef:d.oneOfType([d.object,d.func])},t}(p.Component);t.default=y},43:function(e,t){e.exports=window.React},44:function(e,t,n){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},45:function(e,t,n){e.exports=n(46)()},46:function(e,t,n){"use strict";var r=n(47);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},47:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5:function(e,t){e.exports=window.wp.blocks},91:function(e,t,n){"use strict";var r=n(0),o=n(5),i=(n(4),r(n(14)),r(n(92))),a=r(n(93));(0,o.registerBlockType)("novablocks/facetwp-title",{attributes:a.default,edit:i.default,save:function(){return null}})},92:function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=n(3),a=n(4),u=r(n(42)),l=function(e){var t=e.attributes,n=e.setAttributes,r=t.text,l=(0,a.useBlockProps)({className:"nb-facetwp-filter__item nb-facetwp-filter__item--title"});return(0,o.createElement)("div",l,(0,o.createElement)("div",{className:"nb-facetwp-filter__item-text"},(0,o.createElement)(u.default,{html:r,className:"nb-facetwp-filter__item-label",onChange:function(e){return n({text:e.target.value})}}),(0,o.createElement)("span",{className:"nb-facetwp-filter__item-type"},(0,i.__)("title","nova-blocks"))))};t.default=l},93:function(e){e.exports=JSON.parse('{"text":{"type":"string","default":"Title"}}')}});1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=91)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},14:function(e,t){e.exports=window.wp.serverSideRender},3:function(e,t){e.exports=window.wp.i18n},4:function(e,t){e.exports=window.wp.blockEditor},41:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),u=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),l=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return u(t,e),t},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=l(n(42)),f=c(n(43)),d=l(n(44));function h(e){return e&&e.replace(/ |\u202F|\u00A0/g," ")}var y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.lastHtml=t.props.html,t.el="function"==typeof t.props.innerRef?{current:null}:p.createRef(),t.getEl=function(){return(t.props.innerRef&&"function"!=typeof t.props.innerRef?t.props.innerRef:t.el).current},t.emitChange=function(e){var n=t.getEl();if(n){var r=n.innerHTML;if(t.props.onChange&&r!==t.lastHtml){var o=Object.assign({},e,{target:{value:r}});t.props.onChange(o)}t.lastHtml=r}},t}return o(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.tagName,r=t.html,o=t.innerRef,a=s(t,["tagName","html","innerRef"]);return p.createElement(n||"div",i(i({},a),{ref:"function"==typeof o?function(t){o(t),e.el.current=t}:o||this.el,onInput:this.emitChange,onBlur:this.props.onBlur||this.emitChange,onKeyUp:this.props.onKeyUp||this.emitChange,onKeyDown:this.props.onKeyDown||this.emitChange,contentEditable:!this.props.disabled,dangerouslySetInnerHTML:{__html:r}}),this.props.children)},t.prototype.shouldComponentUpdate=function(e){var t=this.props,n=this.getEl();return!n||(h(e.html)!==h(n.innerHTML)||(t.disabled!==e.disabled||t.tagName!==e.tagName||t.className!==e.className||t.innerRef!==e.innerRef||t.placeholder!==e.placeholder||!f.default(t.style,e.style)))},t.prototype.componentDidUpdate=function(){var e=this.getEl();e&&(this.props.html!==e.innerHTML&&(e.innerHTML=this.props.html),this.lastHtml=this.props.html,function(e){var t=document.createTextNode("");e.appendChild(t);var n=document.activeElement===e;if(null!==t&&null!==t.nodeValue&&n){var r=window.getSelection();if(null!==r){var o=document.createRange();o.setStart(t,t.nodeValue.length),o.collapse(!0),r.removeAllRanges(),r.addRange(o)}e instanceof HTMLElement&&e.focus()}}(e))},t.propTypes={html:d.string.isRequired,onChange:d.func,disabled:d.bool,tagName:d.string,className:d.string,style:d.object,innerRef:d.oneOfType([d.object,d.func])},t}(p.Component);t.default=y},42:function(e,t){e.exports=window.React},43:function(e,t,n){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},44:function(e,t,n){e.exports=n(45)()},45:function(e,t,n){"use strict";var r=n(46);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},46:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5:function(e,t){e.exports=window.wp.blocks},91:function(e,t,n){"use strict";var r=n(0),o=n(5),i=(n(4),r(n(14)),r(n(92))),a=r(n(93));(0,o.registerBlockType)("novablocks/facetwp-title",{attributes:a.default,edit:i.default,save:function(){return null}})},92:function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=n(3),a=n(4),u=r(n(41)),l=function(e){var t=e.attributes,n=e.setAttributes,r=t.text,l=(0,a.useBlockProps)({className:"nb-facetwp-filter__item nb-facetwp-filter__item--title"});return(0,o.createElement)("div",l,(0,o.createElement)("div",{className:"nb-facetwp-filter__item-text"},(0,o.createElement)(u.default,{html:r,className:"nb-facetwp-filter__item-label",onChange:function(e){return n({text:e.target.value})}}),(0,o.createElement)("span",{className:"nb-facetwp-filter__item-type"},(0,i.__)("title","nova-blocks"))))};t.default=l},93:function(e){e.exports=JSON.parse('{"text":{"type":"string","default":"Title"}}')}}); -
nova-blocks/trunk/build/block-library/blocks/facetwp-toggle/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-server-side-render'), 'version' => ' e35205e2f8ab83459da4ec9fc10bd764');1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-server-side-render'), 'version' => '3f235ffce813602763b045e476134128'); -
nova-blocks/trunk/build/block-library/blocks/facetwp-toggle/index.js
r2738702 r2744078 1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=94)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},14:function(e,t){e.exports=window.wp.serverSideRender},3:function(e,t){e.exports=window.wp.i18n},4:function(e,t){e.exports=window.wp.blockEditor},4 2:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),u=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return u(t,e),t},l=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n(43)),f=c(n(44)),d=s(n(45));function h(e){return e&&e.replace(/ |\u202F|\u00A0/g," ")}var y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.lastHtml=t.props.html,t.el="function"==typeof t.props.innerRef?{current:null}:p.createRef(),t.getEl=function(){return(t.props.innerRef&&"function"!=typeof t.props.innerRef?t.props.innerRef:t.el).current},t.emitChange=function(e){var n=t.getEl();if(n){var r=n.innerHTML;if(t.props.onChange&&r!==t.lastHtml){var o=Object.assign({},e,{target:{value:r}});t.props.onChange(o)}t.lastHtml=r}},t}return o(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.tagName,r=t.html,o=t.innerRef,a=l(t,["tagName","html","innerRef"]);return p.createElement(n||"div",i(i({},a),{ref:"function"==typeof o?function(t){o(t),e.el.current=t}:o||this.el,onInput:this.emitChange,onBlur:this.props.onBlur||this.emitChange,onKeyUp:this.props.onKeyUp||this.emitChange,onKeyDown:this.props.onKeyDown||this.emitChange,contentEditable:!this.props.disabled,dangerouslySetInnerHTML:{__html:r}}),this.props.children)},t.prototype.shouldComponentUpdate=function(e){var t=this.props,n=this.getEl();return!n||(h(e.html)!==h(n.innerHTML)||(t.disabled!==e.disabled||t.tagName!==e.tagName||t.className!==e.className||t.innerRef!==e.innerRef||t.placeholder!==e.placeholder||!f.default(t.style,e.style)))},t.prototype.componentDidUpdate=function(){var e=this.getEl();e&&(this.props.html!==e.innerHTML&&(e.innerHTML=this.props.html),this.lastHtml=this.props.html,function(e){var t=document.createTextNode("");e.appendChild(t);var n=document.activeElement===e;if(null!==t&&null!==t.nodeValue&&n){var r=window.getSelection();if(null!==r){var o=document.createRange();o.setStart(t,t.nodeValue.length),o.collapse(!0),r.removeAllRanges(),r.addRange(o)}e instanceof HTMLElement&&e.focus()}}(e))},t.propTypes={html:d.string.isRequired,onChange:d.func,disabled:d.bool,tagName:d.string,className:d.string,style:d.object,innerRef:d.oneOfType([d.object,d.func])},t}(p.Component);t.default=y},43:function(e,t){e.exports=window.React},44:function(e,t,n){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},45:function(e,t,n){e.exports=n(46)()},46:function(e,t,n){"use strict";var r=n(47);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},47:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5:function(e,t){e.exports=window.wp.blocks},94:function(e,t,n){"use strict";var r=n(0),o=n(5),i=(n(4),r(n(14)),r(n(95))),a=r(n(96));(0,o.registerBlockType)("novablocks/facetwp-toggle",{attributes:a.default,edit:i.default,save:function(){return null}})},95:function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=r(n(42)),a=n(3),u=n(4),s=function(e){var t=e.attributes,n=e.setAttributes,r=t.text,s=(0,u.useBlockProps)({className:"nb-facetwp-filter__item nb-facetwp-filter__item--toggle"});return(0,o.createElement)("div",s,(0,o.createElement)("div",{className:"nb-facetwp-filter__item-text"},(0,o.createElement)(i.default,{html:r,className:"nb-facetwp-filter__item-label",onChange:function(e){return n({text:e.target.value})}}),(0,o.createElement)("span",{className:"nb-facetwp-filter__item-type"},(0,a.__)("trigger button","nova-blocks"))))};t.default=s},96:function(e){e.exports=JSON.parse('{"text":{"type":"string","default":"+ Filter"}}')}});1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=94)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},14:function(e,t){e.exports=window.wp.serverSideRender},3:function(e,t){e.exports=window.wp.i18n},4:function(e,t){e.exports=window.wp.blockEditor},41:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),u=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return u(t,e),t},l=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n(42)),f=c(n(43)),d=s(n(44));function h(e){return e&&e.replace(/ |\u202F|\u00A0/g," ")}var y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.lastHtml=t.props.html,t.el="function"==typeof t.props.innerRef?{current:null}:p.createRef(),t.getEl=function(){return(t.props.innerRef&&"function"!=typeof t.props.innerRef?t.props.innerRef:t.el).current},t.emitChange=function(e){var n=t.getEl();if(n){var r=n.innerHTML;if(t.props.onChange&&r!==t.lastHtml){var o=Object.assign({},e,{target:{value:r}});t.props.onChange(o)}t.lastHtml=r}},t}return o(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.tagName,r=t.html,o=t.innerRef,a=l(t,["tagName","html","innerRef"]);return p.createElement(n||"div",i(i({},a),{ref:"function"==typeof o?function(t){o(t),e.el.current=t}:o||this.el,onInput:this.emitChange,onBlur:this.props.onBlur||this.emitChange,onKeyUp:this.props.onKeyUp||this.emitChange,onKeyDown:this.props.onKeyDown||this.emitChange,contentEditable:!this.props.disabled,dangerouslySetInnerHTML:{__html:r}}),this.props.children)},t.prototype.shouldComponentUpdate=function(e){var t=this.props,n=this.getEl();return!n||(h(e.html)!==h(n.innerHTML)||(t.disabled!==e.disabled||t.tagName!==e.tagName||t.className!==e.className||t.innerRef!==e.innerRef||t.placeholder!==e.placeholder||!f.default(t.style,e.style)))},t.prototype.componentDidUpdate=function(){var e=this.getEl();e&&(this.props.html!==e.innerHTML&&(e.innerHTML=this.props.html),this.lastHtml=this.props.html,function(e){var t=document.createTextNode("");e.appendChild(t);var n=document.activeElement===e;if(null!==t&&null!==t.nodeValue&&n){var r=window.getSelection();if(null!==r){var o=document.createRange();o.setStart(t,t.nodeValue.length),o.collapse(!0),r.removeAllRanges(),r.addRange(o)}e instanceof HTMLElement&&e.focus()}}(e))},t.propTypes={html:d.string.isRequired,onChange:d.func,disabled:d.bool,tagName:d.string,className:d.string,style:d.object,innerRef:d.oneOfType([d.object,d.func])},t}(p.Component);t.default=y},42:function(e,t){e.exports=window.React},43:function(e,t,n){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},44:function(e,t,n){e.exports=n(45)()},45:function(e,t,n){"use strict";var r=n(46);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},46:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5:function(e,t){e.exports=window.wp.blocks},94:function(e,t,n){"use strict";var r=n(0),o=n(5),i=(n(4),r(n(14)),r(n(95))),a=r(n(96));(0,o.registerBlockType)("novablocks/facetwp-toggle",{attributes:a.default,edit:i.default,save:function(){return null}})},95:function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=r(n(41)),a=n(3),u=n(4),s=function(e){var t=e.attributes,n=e.setAttributes,r=t.text,s=(0,u.useBlockProps)({className:"nb-facetwp-filter__item nb-facetwp-filter__item--toggle"});return(0,o.createElement)("div",s,(0,o.createElement)("div",{className:"nb-facetwp-filter__item-text"},(0,o.createElement)(i.default,{html:r,className:"nb-facetwp-filter__item-label",onChange:function(e){return n({text:e.target.value})}}),(0,o.createElement)("span",{className:"nb-facetwp-filter__item-type"},(0,a.__)("trigger button","nova-blocks"))))};t.default=s},96:function(e){e.exports=JSON.parse('{"text":{"type":"string","default":"+ Filter"}}')}}); -
nova-blocks/trunk/build/block-library/blocks/google-map/frontend.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-utils', 'wp-data', 'wp-dom-ready', 'wp-polyfill'), 'version' => ' 2de3976dcaefe992042a15200b20777f');1 <?php return array('dependencies' => array('novablocks-utils', 'wp-data', 'wp-dom-ready', 'wp-polyfill'), 'version' => '0163a572e75ac4e3de2d98c19b325520'); -
nova-blocks/trunk/build/block-library/blocks/google-map/frontend.js
r2738702 r2744078 1 !function(e){var t={};function r( l){if(t[l])return t[l].exports;var o=t[l]={i:l,l:!1,exports:{}};return e[l].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,l){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(r.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(l,o,function(t){return e[t]}.bind(null,o));return l},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=97)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},10:function(e,t){e.exports=window.novablocks.utils},13:function(e,t){e.exports=window.wp.data},16:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},18:function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var l=t[r];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}e.exports=function(e,t,l){return t&&r(e.prototype,t),l&&r(e,l),e},e.exports.default=e.exports,e.exports.__esModule=!0},23:function(e,t){function r(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=r=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},24:function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},27:function(e,t,r){var l=r(31);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},28:function(e,t,r){var l=r(23).default,o=r(30);e.exports=function(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?o(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},29:function(e,t){e.exports=window.wp.domReady},30:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},31:function(e,t){function r(t,l){return e.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,r(t,l)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},36:function(e,t,r){"use strict";var l=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DEFAULT_MAP_CENTER",{enumerable:!0,get:function(){return n.default}}),t.compileStyles=t.addVisibilityToStyles=t.DEFAULT_PIN_COLOR=void 0,Object.defineProperty(t,"createHtmlMapMarker",{enumerable:!0,get:function(){return a.default}}),t.getMarkersBounds=t.getMarkerMarkup=t.getMarkerLatLng=t.getMapStyles=t.getMapAccentColor=t.getCompiledStyles=t.getCenterFromMarkers=void 0,Object.defineProperty(t,"pin",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"styles",{enumerable:!0,get:function(){return i.default}});var o=r(13),n=l(r(48)),i=l(r(49)),s=l(r(52)),a=l(r(53)),u=function(e,t,r){return t||e.unshift({elementType:"labels.text",stylers:[{visibility:"off"}]}),r||e.unshift({elementType:"labels.icon",stylers:[{visibility:"off"}]}),e};t.addVisibilityToStyles=u;var f=function(e){var t=p(),r=JSON.stringify(e).replace(/%ACCENT_COLOR%/g,t);return JSON.parse(r)};t.compileStyles=f;t.getMapStyles=function(){var e=this.props.attributes,t=e.styleData,r=e.styleSlug,l="original"!==r&&0!==t.length,o=i.default.find((function(e){return e.slug===r})),n=o?o.styles:{};return f.call(this,l&&n||t)};var p=function(){var e,t=(0,o.select)("novablocks").getSettings();return(null==t||null===(e=t.map)||void 0===e?void 0:e.accentColor)||"#222222"};t.getMapAccentColor=p;t.getCenterFromMarkers=function(e){if("undefined"==typeof google||void 0===google.maps)return n.default;var t=new google.maps.LatLngBounds;if(1===e.length){var r=e[0];return new google.maps.LatLng(r.geometry.location)}return e.forEach((function(e){e.geometry&&(e.geometry.viewport?t.union(e.geometry.viewport):t.extend(e.geometry.location))})),t.getCenter()};t.getMarkersBounds=function(e){var t=new google.maps.LatLngBounds;return e.forEach((function(e){var r=y(e);t.extend(r)})),t};t.DEFAULT_PIN_COLOR="#222222";var y=function(e){var t=JSON.parse(JSON.stringify(e.geometry.location));return new google.maps.LatLng(t.lat,t.lng)};t.getMarkerLatLng=y;t.getMarkerMarkup=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#222222",l=t.styleSlug,o=t.showMarkerLabels,n="customized"===l?r:"#222222",i=s.default.replace("%ACCENT_COLOR%",n),a=o&&e.name,u=a?'<div class="novablocks-gamp__marker-label">'.concat(e.name,"</div>"):"";return'\n <div class="novablocks-gmap__marker">\n '.concat(u,'\n <div class="novablocks-gamp__marker-icon">').concat(i,"</div>\n </div>")};t.getCompiledStyles=function(e,t){var r,l,o,n=null===(r=window)||void 0===r||null===(l=r.sm)||void 0===l||null===(o=l.darkMode)||void 0===o?void 0:o.default,s=Object.assign({},e);n&&n.isCompiledDark()&&Object.assign(s,{styleSlug:"dark"});var a=s.showLabels,f=s.showIcons,p=s.styleData,y=s.styleSlug,c="original"!==y&&0!==p.length,d=i.default.find((function(e){return e.slug===y})),m=d?d.styles:{},g=c&&m||p,v=JSON.parse(JSON.stringify(g).replace(/%ACCENT_COLOR%/g,t));return u(v,a,f)}},48:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l={lat:47.1665264,lng:27.58285479999995};t.default=l},49:function(e,t,r){"use strict";var l=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=l(r(50)),n=l(r(51)),i=[{slug:"customized",label:"Customized",styles:o.default},{slug:"original",label:"Original",styles:[]},{slug:"dark",label:"Dark",styles:n.default}];t.default=i},50:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{saturation:-100},{lightness:60}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.arterial",elementType:"geometry.fill",stylers:[{color:"%ACCENT_COLOR%"},{lightness:90}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"geometry.fill",stylers:[{color:"%ACCENT_COLOR%"},{saturation:-25},{lightness:70}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{lightness:30}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"%ACCENT_COLOR%"},{lightness:60}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{saturation:-100}]}]},51:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=[{featureType:"all",elementType:"labels.text.fill",stylers:[{saturation:36},{color:"#000000"},{lightness:40}]},{featureType:"all",elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#000000"},{lightness:16}]},{featureType:"all",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{color:"#000000"},{lightness:20}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#000000"},{lightness:17},{weight:1.2}]},{featureType:"administrative",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"administrative.country",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"administrative.country",elementType:"geometry",stylers:[{visibility:"simplified"}]},{featureType:"administrative.country",elementType:"labels.text",stylers:[{visibility:"simplified"}]},{featureType:"administrative.province",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"all",stylers:[{visibility:"simplified"},{saturation:"-100"},{lightness:"30"}]},{featureType:"administrative.neighborhood",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"administrative.land_parcel",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"all",stylers:[{visibility:"simplified"},{gamma:"0.00"},{lightness:"74"}]},{featureType:"landscape",elementType:"geometry",stylers:[{color:"#000000"},{lightness:20}]},{featureType:"landscape.man_made",elementType:"all",stylers:[{lightness:"3"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#000000"},{lightness:21}]},{featureType:"road",elementType:"geometry",stylers:[{visibility:"simplified"}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#000000"},{lightness:17}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#000000"},{lightness:29},{weight:.2}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#000000"},{lightness:18}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#000000"},{lightness:16}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#000000"},{lightness:19}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"},{lightness:17}]}]},52:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default='<svg width="62" height="75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 62 75">\n\t<defs>\n\t\t<path id="b" d="M31 69s27-18 27-40C58 14.088 46 2 31 2S4 14.088 4 29c0 22 27 40 27 40zm7.725-31.206c-4.26 4.275-11.264 4.275-15.53 0-4.26-4.277-4.26-11.305 0-15.587 4.26-4.276 11.265-4.276 15.53 0 4.367 4.282 4.367 11.304 0 15.587z"></path>\n\t\t<filter id="a" width="200%" height="200%" x="-50%" y="-50%" filterUnits="objectBoundingBox">\n\t\t\t<feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>\n\t\t\t<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="2"></feGaussianBlur>\n\t\t\t<feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"></feColorMatrix>\n\t\t</filter>\n\t</defs>\n\t<g fill="none" fillRule="evenodd">\n\t\t<use fill="#000" filter="url(#a)" xlink:href="#b" style="display:none"></use>\n\t\t<use fill="%ACCENT_COLOR%" xlink:href="#b"></use>\n\t</g>\n</svg>'},53:function(e,t,r){"use strict";var l=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=l(r(16)),n=l(r(18)),i=l(r(27)),s=l(r(28)),a=l(r(24));function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,l=(0,a.default)(e);if(t){var o=(0,a.default)(this).constructor;r=Reflect.construct(l,arguments,o)}else r=l.apply(this,arguments);return(0,s.default)(this,r)}}var f=function(e,t){return new(function(r){(0,i.default)(s,r);var l=u(s);function s(){var r;return(0,o.default)(this,s),(r=l.call(this)).latlng=e,r.html=t,r}return(0,n.default)(s,[{key:"createDiv",value:function(){var e=this;this.div=document.createElement("div"),this.div.style.position="absolute",this.html&&(this.div.innerHTML=this.html),google.maps.event.addDomListener(this.div,"click",(function(t){google.maps.event.trigger(e,"click")}))}},{key:"appendDivToOverlay",value:function(){this.getPanes().overlayLayer.appendChild(this.div)}},{key:"positionDiv",value:function(){var e=this.getProjection().fromLatLngToDivPixel(this.latlng);e&&(this.div.style.left="".concat(e.x,"px"),this.div.style.top="".concat(e.y,"px"))}},{key:"draw",value:function(){this.div||(this.createDiv(),this.appendDivToOverlay()),this.positionDiv()}},{key:"remove",value:function(){this.div&&(this.div.parentNode.removeChild(this.div),this.div=null)}},{key:"getPosition",value:function(){return this.latlng}},{key:"getDraggable",value:function(){return!1}}]),s}(google.maps.OverlayView))};t.default=f},97:function(e,t,r){"use strict";var l=r(0)(r(29)),o=r(10),n=r(36);function i(e,t,r,l){var o=r.showMarkerLabels,i=r.styleSlug;return e.map((function(e){var r=(0,n.getMarkerLatLng)(e),s=(0,n.getMarkerMarkup)(e,{showMarkerLabels:o,styleSlug:i},l),a=(0,n.createHtmlMapMarker)(r,s);return a.setMap(t),a}))}(0,l.default)((function(){var e,t,r,l,s,a,u,f;if(null!==(e=window)&&void 0!==e&&null!==(t=e.google)&&void 0!==t&&t.maps){var p=null===(r=window)||void 0===r||null===(l=r.sm)||void 0===l||null===(s=l.darkMode)||void 0===s?void 0:s.default;Array.from(document.querySelectorAll(".js-novablocks-google-map")).forEach((function(e){var t=(0,o.getAttributes)(e),r=t.accentColor,l=t.showControls,s=t.markers,a=t.zoom,u={mapTypeId:"roadmap",center:(0,n.getCenterFromMarkers)(s),zoom:a,styles:(0,n.getCompiledStyles)(t,r),disableDefaultUI:!l,clickableIcons:!1,keyboardShortcuts:!1},f=new google.maps.Map(e,u);e.dataset.map=f,e.dataset.mapMarkers=i(s,f,t,r),p&&"function"==typeof p.bind&&p.bind((function(){f.setOptions({styles:(0,n.getCompiledStyles)(t,r)})}))}));var y=null===(a=window)||void 0===a||null===(u=a.parent)||void 0===u||null===(f=u.wp)||void 0===f?void 0:f.customize;y&&y("sm_color_primary",(function(e){e.bind((function(e){mapElements.forEach((function(t){var r=(0,o.getAttributes)(t),l=(r.styleData,r.markers),s=r.map,a=r.mapMarkers;s.setOptions({styles:(0,n.getCompiledStyles)(r,e)}),a.forEach((function(e){e.remove(),e.setMap(null)})),t.dataset.mapMarkers=i(l,s,r,e)}))}))}))}}))}});1 !function(e){var t={};function r(o){if(t[o])return t[o].exports;var l=t[o]={i:o,l:!1,exports:{}};return e[o].call(l.exports,l,l.exports,r),l.l=!0,l.exports}r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var l in e)r.d(o,l,function(t){return e[t]}.bind(null,l));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=97)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},10:function(e,t){e.exports=window.novablocks.utils},13:function(e,t){e.exports=window.wp.data},17:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},18:function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}e.exports=function(e,t,o){return t&&r(e.prototype,t),o&&r(e,o),e},e.exports.default=e.exports,e.exports.__esModule=!0},23:function(e,t){function r(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=r=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},26:function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},27:function(e,t,r){var o=r(31);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},28:function(e,t,r){var o=r(23).default,l=r(30);e.exports=function(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?l(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},29:function(e,t){e.exports=window.wp.domReady},30:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},31:function(e,t){function r(t,o){return e.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,r(t,o)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},36:function(e,t,r){"use strict";var o=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DEFAULT_MAP_CENTER",{enumerable:!0,get:function(){return n.default}}),t.compileStyles=t.addVisibilityToStyles=t.DEFAULT_PIN_COLOR=void 0,Object.defineProperty(t,"createHtmlMapMarker",{enumerable:!0,get:function(){return a.default}}),t.getMarkersBounds=t.getMarkerMarkup=t.getMarkerLatLng=t.getMapStyles=t.getMapAccentColor=t.getCompiledStyles=t.getCenterFromMarkers=t.fitMapBoundsToMarkers=void 0,Object.defineProperty(t,"pin",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"styles",{enumerable:!0,get:function(){return i.default}});var l=r(13),n=o(r(47)),i=o(r(48)),s=o(r(51)),a=o(r(52)),u=function(e,t,r){return t||e.unshift({elementType:"labels.text",stylers:[{visibility:"off"}]}),r||e.unshift({elementType:"labels.icon",stylers:[{visibility:"off"}]}),e};t.addVisibilityToStyles=u;var f=function(e){var t=p(),r=JSON.stringify(e).replace(/%ACCENT_COLOR%/g,t);return JSON.parse(r)};t.compileStyles=f;t.getMapStyles=function(){var e=this.props.attributes,t=e.styleData,r=e.styleSlug,o="original"!==r&&0!==t.length,l=i.default.find((function(e){return e.slug===r})),n=l?l.styles:{};return f.call(this,o&&n||t)};var p=function(){var e,t=(0,l.select)("novablocks").getSettings();return(null==t||null===(e=t.map)||void 0===e?void 0:e.accentColor)||"#222222"};t.getMapAccentColor=p;t.getCenterFromMarkers=function(e){if("undefined"==typeof google||void 0===google.maps)return n.default;var t=new google.maps.LatLngBounds;if(1===e.length){var r=e[0];return new google.maps.LatLng(r.geometry.location)}return e.forEach((function(e){e.geometry&&(e.geometry.viewport?t.union(e.geometry.viewport):t.extend(e.geometry.location))})),t.getCenter()};t.getMarkersBounds=function(e){var t=new google.maps.LatLngBounds;return e.forEach((function(e){var r=y(e);t.extend(r)})),t};t.DEFAULT_PIN_COLOR="#222222";var y=function(e){var t=JSON.parse(JSON.stringify(e.geometry.location));return new google.maps.LatLng(t.lat,t.lng)};t.getMarkerLatLng=y;t.getMarkerMarkup=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#222222",o=t.styleSlug,l=t.showMarkerLabels,n="customized"===o?r:"#222222",i=s.default.replace("%ACCENT_COLOR%",n),a=l&&e.name,u=a?'<div class="novablocks-gamp__marker-label">'.concat(e.name,"</div>"):"";return'\n <div class="novablocks-gmap__marker">\n '.concat(u,'\n <div class="novablocks-gamp__marker-icon">').concat(i,"</div>\n </div>")};t.getCompiledStyles=function(e,t){var r,o,l,n=null===(r=window)||void 0===r||null===(o=r.sm)||void 0===o||null===(l=o.darkMode)||void 0===l?void 0:l.default,s=Object.assign({},e);n&&n.isCompiledDark()&&Object.assign(s,{styleSlug:"dark"});var a=s.showLabels,f=s.showIcons,p=s.styleData,y=s.styleSlug,c="original"!==y&&0!==p.length,d=i.default.find((function(e){return e.slug===y})),g=d?d.styles:{},m=c&&g||p,v=JSON.parse(JSON.stringify(m).replace(/%ACCENT_COLOR%/g,t));return u(v,a,f)};t.fitMapBoundsToMarkers=function(e,t,r){if(!(t.length<1))if(1!==t.length){var o=new google.maps.LatLngBounds;t.forEach((function(e){o.extend(e.latlng)})),e.fitBounds(o,r)}else e.setCenter(t[0].latlng)}},47:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={lat:47.1665264,lng:27.58285479999995};t.default=o},48:function(e,t,r){"use strict";var o=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=o(r(49)),n=o(r(50)),i=[{slug:"customized",label:"Customized",styles:l.default},{slug:"original",label:"Original",styles:[]},{slug:"dark",label:"Dark",styles:n.default}];t.default=i},49:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{saturation:-100},{lightness:60}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.arterial",elementType:"geometry.fill",stylers:[{color:"%ACCENT_COLOR%"},{lightness:90}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"geometry.fill",stylers:[{color:"%ACCENT_COLOR%"},{saturation:-25},{lightness:70}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{lightness:30}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"%ACCENT_COLOR%"},{lightness:60}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{saturation:-100}]}]},50:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=[{featureType:"all",elementType:"labels.text.fill",stylers:[{saturation:36},{color:"#000000"},{lightness:40}]},{featureType:"all",elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#000000"},{lightness:16}]},{featureType:"all",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{color:"#000000"},{lightness:20}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#000000"},{lightness:17},{weight:1.2}]},{featureType:"administrative",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"administrative.country",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"administrative.country",elementType:"geometry",stylers:[{visibility:"simplified"}]},{featureType:"administrative.country",elementType:"labels.text",stylers:[{visibility:"simplified"}]},{featureType:"administrative.province",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"all",stylers:[{visibility:"simplified"},{saturation:"-100"},{lightness:"30"}]},{featureType:"administrative.neighborhood",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"administrative.land_parcel",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"all",stylers:[{visibility:"simplified"},{gamma:"0.00"},{lightness:"74"}]},{featureType:"landscape",elementType:"geometry",stylers:[{color:"#000000"},{lightness:20}]},{featureType:"landscape.man_made",elementType:"all",stylers:[{lightness:"3"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#000000"},{lightness:21}]},{featureType:"road",elementType:"geometry",stylers:[{visibility:"simplified"}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#000000"},{lightness:17}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#000000"},{lightness:29},{weight:.2}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#000000"},{lightness:18}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#000000"},{lightness:16}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#000000"},{lightness:19}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"},{lightness:17}]}]},51:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default='<svg width="62" height="75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 62 75">\n\t<defs>\n\t\t<path id="b" d="M31 69s27-18 27-40C58 14.088 46 2 31 2S4 14.088 4 29c0 22 27 40 27 40zm7.725-31.206c-4.26 4.275-11.264 4.275-15.53 0-4.26-4.277-4.26-11.305 0-15.587 4.26-4.276 11.265-4.276 15.53 0 4.367 4.282 4.367 11.304 0 15.587z"></path>\n\t\t<filter id="a" width="200%" height="200%" x="-50%" y="-50%" filterUnits="objectBoundingBox">\n\t\t\t<feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>\n\t\t\t<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="2"></feGaussianBlur>\n\t\t\t<feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"></feColorMatrix>\n\t\t</filter>\n\t</defs>\n\t<g fill="none" fillRule="evenodd">\n\t\t<use fill="#000" filter="url(#a)" xlink:href="#b" style="display:none"></use>\n\t\t<use fill="%ACCENT_COLOR%" xlink:href="#b"></use>\n\t</g>\n</svg>'},52:function(e,t,r){"use strict";var o=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=o(r(17)),n=o(r(18)),i=o(r(27)),s=o(r(28)),a=o(r(26));function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=(0,a.default)(e);if(t){var l=(0,a.default)(this).constructor;r=Reflect.construct(o,arguments,l)}else r=o.apply(this,arguments);return(0,s.default)(this,r)}}var f=function(e,t){return new(function(r){(0,i.default)(s,r);var o=u(s);function s(){var r;return(0,l.default)(this,s),(r=o.call(this)).latlng=e,r.html=t,r}return(0,n.default)(s,[{key:"createDiv",value:function(){var e=this;this.div=document.createElement("div"),this.div.style.position="absolute",this.html&&(this.div.innerHTML=this.html),google.maps.event.addDomListener(this.div,"click",(function(t){google.maps.event.trigger(e,"click")}))}},{key:"appendDivToOverlay",value:function(){this.getPanes().overlayLayer.appendChild(this.div)}},{key:"positionDiv",value:function(){var e=this.getProjection().fromLatLngToDivPixel(this.latlng);e&&(this.div.style.left="".concat(e.x,"px"),this.div.style.top="".concat(e.y,"px"))}},{key:"draw",value:function(){this.div||(this.createDiv(),this.appendDivToOverlay()),this.positionDiv()}},{key:"remove",value:function(){this.div&&(this.div.parentNode.removeChild(this.div),this.div=null)}},{key:"getPosition",value:function(){return this.latlng}},{key:"getDraggable",value:function(){return!1}}]),s}(google.maps.OverlayView))};t.default=f},97:function(e,t,r){"use strict";var o=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.REFERENCES=void 0;var l=o(r(29)),n=r(10),i=r(36),s={};function a(e,t,r,o){var l=r.showMarkerLabels,n=r.styleSlug;return e.map((function(e){var r=(0,i.getMarkerLatLng)(e),s=(0,i.getMarkerMarkup)(e,{showMarkerLabels:l,styleSlug:n},o),a=(0,i.createHtmlMapMarker)(r,s);return a.setMap(t),a}))}t.REFERENCES=s,(0,l.default)((function(){var e,t,r,o,l,u,f,p;if(null!==(e=window)&&void 0!==e&&null!==(t=e.google)&&void 0!==t&&t.maps){var y=null===(r=window)||void 0===r||null===(o=r.sm)||void 0===o||null===(l=o.darkMode)||void 0===l?void 0:l.default;Array.from(document.querySelectorAll(".js-novablocks-google-map")).forEach((function(e,t){var r=(0,n.getAttributes)(e),o=r.accentColor,l=r.showControls,u=r.markers,f=r.zoom,p="google-map-".concat(t),c={mapTypeId:"roadmap",center:(0,i.getCenterFromMarkers)(u),zoom:f,styles:(0,i.getCompiledStyles)(r,o),disableDefaultUI:!l,clickableIcons:!1,keyboardShortcuts:!1},d=new google.maps.Map(e,c),g=a(u,d,r,o);google.maps.event.addListenerOnce(d,"idle",(function(){var e=d.getBounds();g.every((function(t){return e.contains(t.latlng)}))||(0,i.fitMapBoundsToMarkers)(d,g)})),e.dataset.refId=p,s[p]={map:d,mapMarkers:g},y&&"function"==typeof y.bind&&y.bind((function(){d.setOptions({styles:(0,i.getCompiledStyles)(r,o)})}))}));var c=null===(u=window)||void 0===u||null===(f=u.parent)||void 0===f||null===(p=f.wp)||void 0===p?void 0:p.customize;c&&c("sm_color_primary",(function(e){e.bind((function(e){mapElements.forEach((function(t){var r=(0,n.getAttributes)(t),o=(r.styleData,r.markers),l=r.map,u=r.mapMarkers,f=t.dataset.refId;l.setOptions({styles:(0,i.getCompiledStyles)(r,e)}),u.forEach((function(e){e.remove(),e.setMap(null)})),s[f].mapMarkers=a(o,l,r,e)}))}))}))}}))}}); -
nova-blocks/trunk/build/block-library/blocks/google-map/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks-icons', 'wp-api', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => ' d9dea965864411225c9e7f67451a93f6');1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks-icons', 'wp-api', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => '72bc6f4e3691e9f37865dfa2cb0f6f69'); -
nova-blocks/trunk/build/block-library/blocks/google-map/index.js
r2738702 r2744078 1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=98)}([function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.novablocks.blockEditor},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.wp.blocks},function(e,t,n){(function(t){var n;n=function(){"use strict";var e=function(e){var t=e.id,n=e.viewBox,r=e.content;this.id=t,this.viewBox=n,this.content=r};function n(e,t){return e(t={exports:{}},t.exports),t.exports}e.prototype.stringify=function(){return this.content},e.prototype.toString=function(){return this.stringify()},e.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))},"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var r=n((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var o;return n&&!0===n.clone&&e(t)?r((o=t,Array.isArray(o)?[]:{}),t,n):t}function n(n,o,i){var a=n.slice();return o.forEach((function(o,l){void 0===a[l]?a[l]=t(o,i):e(o)?a[l]=r(n[l],o,i):-1===n.indexOf(o)&&a.push(t(o,i))})),a}function r(o,i,a){var l=Array.isArray(i),s=(a||{arrayMerge:n}).arrayMerge||n;return l?Array.isArray(o)?s(o,i,a):t(i,a):function(n,o,i){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],i)})),Object.keys(o).forEach((function(l){e(o[l])&&n[l]?a[l]=r(n[l],o[l],i):a[l]=t(o[l],i)})),a}(o,i,a)}return r.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return r(e,n,t)}))},r}()})),o=n((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),i=o.svg,a=o.xlink,l={};l[i.name]=i.uri,l[a.name]=a.uri;var s=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(r(l,t||{}))+">"+e+"</svg>"};return function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}(s(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(e)},e.exports=n()}).call(this,n(8))},function(e,t,n){(function(t){var n;n=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var n=e((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var o;return n&&!0===n.clone&&e(t)?r((o=t,Array.isArray(o)?[]:{}),t,n):t}function n(n,o,i){var a=n.slice();return o.forEach((function(o,l){void 0===a[l]?a[l]=t(o,i):e(o)?a[l]=r(n[l],o,i):-1===n.indexOf(o)&&a.push(t(o,i))})),a}function r(o,i,a){var l=Array.isArray(i),s=(a||{arrayMerge:n}).arrayMerge||n;return l?Array.isArray(o)?s(o,i,a):t(i,a):function(n,o,i){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],i)})),Object.keys(o).forEach((function(l){e(o[l])&&n[l]?a[l]=r(n[l],o[l],i):a[l]=t(o[l],i)})),a}(o,i,a)}return r.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return r(e,n,t)}))},r}()})),r=e((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),o=r.svg,i=r.xlink,a={};a[o.name]=o.uri,a[i.name]=i.uri;var l,s=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(n(a,t||{}))+">"+e+"</svg>"},u=r.svg,c=r.xlink,f={attrs:(l={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},l[u.name]=u.uri,l[c.name]=c.uri,l)},p=function(e){this.config=n(f,e||{}),this.symbols=[]};p.prototype.add=function(e){var t=this.symbols,n=this.find(e.id);return n?(t[t.indexOf(n)]=e,!1):(t.push(e),!0)},p.prototype.remove=function(e){var t=this.symbols,n=this.find(e);return!!n&&(t.splice(t.indexOf(n),1),n.destroy(),!0)},p.prototype.find=function(e){return this.symbols.filter((function(t){return t.id===e}))[0]||null},p.prototype.has=function(e){return null!==this.find(e)},p.prototype.stringify=function(){var e=this.config.attrs,t=this.symbols.map((function(e){return e.stringify()})).join("");return s(t,e)},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){this.symbols.forEach((function(e){return e.destroy()}))};var d=function(e){var t=e.id,n=e.viewBox,r=e.content;this.id=t,this.viewBox=n,this.content=r};d.prototype.stringify=function(){return this.content},d.prototype.toString=function(){return this.stringify()},d.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var y=function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n},m=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return y(s(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(d),g={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},v=function(e){return Array.prototype.slice.call(e,0)},h=function(){return/firefox/i.test(navigator.userAgent)},b=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},_=function(){return/edge/i.test(navigator.userAgent)},x=function(e){return(e||window.location.href).split("#")[0]},w=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",(function(t,n,r){var o,i,a;o=e,i={oldUrl:r,newUrl:n},(a=document.createEvent("CustomEvent")).initCustomEvent(o,!1,!1,i),window.dispatchEvent(a)}))}])},O=function(e,t){return void 0===t&&(t="linearGradient, radialGradient, pattern, mask, clipPath"),v(e.querySelectorAll("symbol")).forEach((function(e){v(e.querySelectorAll(t)).forEach((function(t){e.parentNode.insertBefore(t,e)}))})),e},k=r.xlink.uri,E=/[{}|\\\^\[\]`"<>]/g;function M(e){return e.replace(E,(function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()}))}var C,T=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],S=T.map((function(e){return"["+e+"]"})).join(","),j=function(e,t,n,r){var o=M(n),i=M(r);(function(e,t){return v(e).reduce((function(e,n){if(!n.attributes)return e;var r=v(n.attributes),o=t?r.filter(t):r;return e.concat(o)}),[])})(e.querySelectorAll(S),(function(e){var t=e.localName,n=e.value;return-1!==T.indexOf(t)&&-1!==n.indexOf("url("+o)})).forEach((function(e){return e.value=e.value.replace(new RegExp(o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(e,t,n){v(e).forEach((function(e){var r=e.getAttribute("xlink:href");if(r&&0===r.indexOf(t)){var o=r.replace(t,n);e.setAttributeNS(k,"xlink:href",o)}}))}(t,o,i)},P="mount",A="symbol_mount",L=function(e){function t(t){var r=this;void 0===t&&(t={}),e.call(this,n(g,t));var o,i=(o=o||Object.create(null),{on:function(e,t){(o[e]||(o[e]=[])).push(t)},off:function(e,t){o[e]&&o[e].splice(o[e].indexOf(t)>>>0,1)},emit:function(e,t){(o[e]||[]).map((function(e){e(t)})),(o["*"]||[]).map((function(n){n(e,t)}))}});this._emitter=i,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(t),a.syncUrlsWithBaseTag){var l=document.getElementsByTagName("base")[0].getAttribute("href");i.on(P,(function(){return r.updateUrls("#",l)}))}var s=this._handleLocationChange.bind(this);this._handleLocationChange=s,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,s),a.locationChangeAngularEmitter&&w(a.locationChangeEvent),i.on(P,(function(e){a.moveGradientsOutsideSymbol&&O(e)})),i.on(A,(function(e){var t;a.moveGradientsOutsideSymbol&&O(e.parentNode),(b()||_())&&(t=[],v(e.querySelectorAll("style")).forEach((function(e){e.textContent+="",t.push(e)})))}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},t.prototype._autoConfigure=function(e){var t=this.config;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=h())},t.prototype._handleLocationChange=function(e){var t=e.detail,n=t.oldUrl,r=t.newUrl;this.updateUrls(n,r)},t.prototype.add=function(t){var n=e.prototype.add.call(this,t);return this.isMounted&&n&&(t.mount(this.node),this._emitter.emit(A,t.node)),n},t.prototype.attach=function(e){var t=this,n=this;if(n.isMounted)return n.node;var r="string"==typeof e?document.querySelector(e):e;return n.node=r,this.symbols.forEach((function(e){e.mount(n.node),t._emitter.emit(A,e.node)})),v(r.querySelectorAll("symbol")).forEach((function(e){var t=m.createFromExistingNode(e);t.node=e,n.add(t)})),this._emitter.emit(P,r),r},t.prototype.destroy=function(){var e=this.config,t=this.symbols,n=this._emitter;t.forEach((function(e){return e.destroy()})),n.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},t.prototype.mount=function(e,t){if(void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1),this.isMounted)return this.node;var n="string"==typeof e?document.querySelector(e):e,r=this.render();return this.node=r,t&&n.childNodes[0]?n.insertBefore(r,n.childNodes[0]):n.appendChild(r),this._emitter.emit(P,r),r},t.prototype.render=function(){return y(this.stringify())},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},t.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return j(this.node,n,x(e)+"#",x(t)+"#"),!0},Object.defineProperties(t.prototype,r),t}(p),N=e((function(e){var t,n,r,o,i;e.exports=(n=[],r=document,o=r.documentElement.doScroll,(i=(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState))||r.addEventListener("DOMContentLoaded",t=function(){for(r.removeEventListener("DOMContentLoaded",t),i=1;t=n.shift();)t()}),function(e){i?setTimeout(e,0):n.push(e)})}));window.__SVG_SPRITE__?C=window.__SVG_SPRITE__:(C=new L({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=C);var B=function(){var e=document.getElementById("__SVG_SPRITE_NODE__");e?C.attach(e):C.mount(document.body,!0)};return document.body?B():N(B),C},e.exports=n()}).call(this,n(8))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=window.wp.components},,function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r;1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=98)}([function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.novablocks.blockEditor},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.wp.blocks},function(e,t,n){(function(t){var n;n=function(){"use strict";var e=function(e){var t=e.id,n=e.viewBox,r=e.content;this.id=t,this.viewBox=n,this.content=r};function n(e,t){return e(t={exports:{}},t.exports),t.exports}e.prototype.stringify=function(){return this.content},e.prototype.toString=function(){return this.stringify()},e.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))},"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var r=n((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var o;return n&&!0===n.clone&&e(t)?r((o=t,Array.isArray(o)?[]:{}),t,n):t}function n(n,o,i){var a=n.slice();return o.forEach((function(o,l){void 0===a[l]?a[l]=t(o,i):e(o)?a[l]=r(n[l],o,i):-1===n.indexOf(o)&&a.push(t(o,i))})),a}function r(o,i,a){var l=Array.isArray(i),s=(a||{arrayMerge:n}).arrayMerge||n;return l?Array.isArray(o)?s(o,i,a):t(i,a):function(n,o,i){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],i)})),Object.keys(o).forEach((function(l){e(o[l])&&n[l]?a[l]=r(n[l],o[l],i):a[l]=t(o[l],i)})),a}(o,i,a)}return r.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return r(e,n,t)}))},r}()})),o=n((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),i=o.svg,a=o.xlink,l={};l[i.name]=i.uri,l[a.name]=a.uri;var s=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(r(l,t||{}))+">"+e+"</svg>"};return function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}(s(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(e)},e.exports=n()}).call(this,n(8))},function(e,t,n){(function(t){var n;n=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var n=e((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var o;return n&&!0===n.clone&&e(t)?r((o=t,Array.isArray(o)?[]:{}),t,n):t}function n(n,o,i){var a=n.slice();return o.forEach((function(o,l){void 0===a[l]?a[l]=t(o,i):e(o)?a[l]=r(n[l],o,i):-1===n.indexOf(o)&&a.push(t(o,i))})),a}function r(o,i,a){var l=Array.isArray(i),s=(a||{arrayMerge:n}).arrayMerge||n;return l?Array.isArray(o)?s(o,i,a):t(i,a):function(n,o,i){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],i)})),Object.keys(o).forEach((function(l){e(o[l])&&n[l]?a[l]=r(n[l],o[l],i):a[l]=t(o[l],i)})),a}(o,i,a)}return r.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return r(e,n,t)}))},r}()})),r=e((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),o=r.svg,i=r.xlink,a={};a[o.name]=o.uri,a[i.name]=i.uri;var l,s=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(n(a,t||{}))+">"+e+"</svg>"},u=r.svg,c=r.xlink,f={attrs:(l={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},l[u.name]=u.uri,l[c.name]=c.uri,l)},p=function(e){this.config=n(f,e||{}),this.symbols=[]};p.prototype.add=function(e){var t=this.symbols,n=this.find(e.id);return n?(t[t.indexOf(n)]=e,!1):(t.push(e),!0)},p.prototype.remove=function(e){var t=this.symbols,n=this.find(e);return!!n&&(t.splice(t.indexOf(n),1),n.destroy(),!0)},p.prototype.find=function(e){return this.symbols.filter((function(t){return t.id===e}))[0]||null},p.prototype.has=function(e){return null!==this.find(e)},p.prototype.stringify=function(){var e=this.config.attrs,t=this.symbols.map((function(e){return e.stringify()})).join("");return s(t,e)},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){this.symbols.forEach((function(e){return e.destroy()}))};var d=function(e){var t=e.id,n=e.viewBox,r=e.content;this.id=t,this.viewBox=n,this.content=r};d.prototype.stringify=function(){return this.content},d.prototype.toString=function(){return this.stringify()},d.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var y=function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n},m=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return y(s(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(d),g={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},v=function(e){return Array.prototype.slice.call(e,0)},h=function(){return/firefox/i.test(navigator.userAgent)},b=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},_=function(){return/edge/i.test(navigator.userAgent)},x=function(e){return(e||window.location.href).split("#")[0]},w=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",(function(t,n,r){var o,i,a;o=e,i={oldUrl:r,newUrl:n},(a=document.createEvent("CustomEvent")).initCustomEvent(o,!1,!1,i),window.dispatchEvent(a)}))}])},O=function(e,t){return void 0===t&&(t="linearGradient, radialGradient, pattern, mask, clipPath"),v(e.querySelectorAll("symbol")).forEach((function(e){v(e.querySelectorAll(t)).forEach((function(t){e.parentNode.insertBefore(t,e)}))})),e},k=r.xlink.uri,E=/[{}|\\\^\[\]`"<>]/g;function M(e){return e.replace(E,(function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()}))}var T,C=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],S=C.map((function(e){return"["+e+"]"})).join(","),j=function(e,t,n,r){var o=M(n),i=M(r);(function(e,t){return v(e).reduce((function(e,n){if(!n.attributes)return e;var r=v(n.attributes),o=t?r.filter(t):r;return e.concat(o)}),[])})(e.querySelectorAll(S),(function(e){var t=e.localName,n=e.value;return-1!==C.indexOf(t)&&-1!==n.indexOf("url("+o)})).forEach((function(e){return e.value=e.value.replace(new RegExp(o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(e,t,n){v(e).forEach((function(e){var r=e.getAttribute("xlink:href");if(r&&0===r.indexOf(t)){var o=r.replace(t,n);e.setAttributeNS(k,"xlink:href",o)}}))}(t,o,i)},P="mount",A="symbol_mount",L=function(e){function t(t){var r=this;void 0===t&&(t={}),e.call(this,n(g,t));var o,i=(o=o||Object.create(null),{on:function(e,t){(o[e]||(o[e]=[])).push(t)},off:function(e,t){o[e]&&o[e].splice(o[e].indexOf(t)>>>0,1)},emit:function(e,t){(o[e]||[]).map((function(e){e(t)})),(o["*"]||[]).map((function(n){n(e,t)}))}});this._emitter=i,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(t),a.syncUrlsWithBaseTag){var l=document.getElementsByTagName("base")[0].getAttribute("href");i.on(P,(function(){return r.updateUrls("#",l)}))}var s=this._handleLocationChange.bind(this);this._handleLocationChange=s,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,s),a.locationChangeAngularEmitter&&w(a.locationChangeEvent),i.on(P,(function(e){a.moveGradientsOutsideSymbol&&O(e)})),i.on(A,(function(e){var t;a.moveGradientsOutsideSymbol&&O(e.parentNode),(b()||_())&&(t=[],v(e.querySelectorAll("style")).forEach((function(e){e.textContent+="",t.push(e)})))}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},t.prototype._autoConfigure=function(e){var t=this.config;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=h())},t.prototype._handleLocationChange=function(e){var t=e.detail,n=t.oldUrl,r=t.newUrl;this.updateUrls(n,r)},t.prototype.add=function(t){var n=e.prototype.add.call(this,t);return this.isMounted&&n&&(t.mount(this.node),this._emitter.emit(A,t.node)),n},t.prototype.attach=function(e){var t=this,n=this;if(n.isMounted)return n.node;var r="string"==typeof e?document.querySelector(e):e;return n.node=r,this.symbols.forEach((function(e){e.mount(n.node),t._emitter.emit(A,e.node)})),v(r.querySelectorAll("symbol")).forEach((function(e){var t=m.createFromExistingNode(e);t.node=e,n.add(t)})),this._emitter.emit(P,r),r},t.prototype.destroy=function(){var e=this.config,t=this.symbols,n=this._emitter;t.forEach((function(e){return e.destroy()})),n.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},t.prototype.mount=function(e,t){if(void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1),this.isMounted)return this.node;var n="string"==typeof e?document.querySelector(e):e,r=this.render();return this.node=r,t&&n.childNodes[0]?n.insertBefore(r,n.childNodes[0]):n.appendChild(r),this._emitter.emit(P,r),r},t.prototype.render=function(){return y(this.stringify())},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},t.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return j(this.node,n,x(e)+"#",x(t)+"#"),!0},Object.defineProperties(t.prototype,r),t}(p),N=e((function(e){var t,n,r,o,i;e.exports=(n=[],r=document,o=r.documentElement.doScroll,(i=(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState))||r.addEventListener("DOMContentLoaded",t=function(){for(r.removeEventListener("DOMContentLoaded",t),i=1;t=n.shift();)t()}),function(e){i?setTimeout(e,0):n.push(e)})}));window.__SVG_SPRITE__?T=window.__SVG_SPRITE__:(T=new L({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=T);var B=function(){var e=document.getElementById("__SVG_SPRITE_NODE__");e?T.attach(e):T.mount(document.body,!0)};return document.body?B():N(B),T},e.exports=n()}).call(this,n(8))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=window.wp.components},,function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r; 2 2 /*! 3 3 Copyright (c) 2017 Jed Watson. 4 4 Licensed under the MIT License (MIT), see 5 5 http://jedwatson.github.io/classnames 6 */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var l in r)n.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t){e.exports=window.wp.data},,function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t ){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(15);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(20),o=n(21),i=n(17),a=n(22);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.hooks},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(31);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(23).default,o=n(30);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},,function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,n(t,r)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(33),o=n(34),i=n(17),a=n(35);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(15);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DEFAULT_MAP_CENTER",{enumerable:!0,get:function(){return i.default}}),t.compileStyles=t.addVisibilityToStyles=t.DEFAULT_PIN_COLOR=void 0,Object.defineProperty(t,"createHtmlMapMarker",{enumerable:!0,get:function(){return s.default}}),t.getMarkersBounds=t.getMarkerMarkup=t.getMarkerLatLng=t.getMapStyles=t.getMapAccentColor=t.getCompiledStyles=t.getCenterFromMarkers=void 0,Object.defineProperty(t,"pin",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"styles",{enumerable:!0,get:function(){return a.default}});var o=n(13),i=r(n(48)),a=r(n(49)),l=r(n(52)),s=r(n(53)),u=function(e,t,n){return t||e.unshift({elementType:"labels.text",stylers:[{visibility:"off"}]}),n||e.unshift({elementType:"labels.icon",stylers:[{visibility:"off"}]}),e};t.addVisibilityToStyles=u;var c=function(e){var t=f(),n=JSON.stringify(e).replace(/%ACCENT_COLOR%/g,t);return JSON.parse(n)};t.compileStyles=c;t.getMapStyles=function(){var e=this.props.attributes,t=e.styleData,n=e.styleSlug,r="original"!==n&&0!==t.length,o=a.default.find((function(e){return e.slug===n})),i=o?o.styles:{};return c.call(this,r&&i||t)};var f=function(){var e,t=(0,o.select)("novablocks").getSettings();return(null==t||null===(e=t.map)||void 0===e?void 0:e.accentColor)||"#222222"};t.getMapAccentColor=f;t.getCenterFromMarkers=function(e){if("undefined"==typeof google||void 0===google.maps)return i.default;var t=new google.maps.LatLngBounds;if(1===e.length){var n=e[0];return new google.maps.LatLng(n.geometry.location)}return e.forEach((function(e){e.geometry&&(e.geometry.viewport?t.union(e.geometry.viewport):t.extend(e.geometry.location))})),t.getCenter()};t.getMarkersBounds=function(e){var t=new google.maps.LatLngBounds;return e.forEach((function(e){var n=p(e);t.extend(n)})),t};t.DEFAULT_PIN_COLOR="#222222";var p=function(e){var t=JSON.parse(JSON.stringify(e.geometry.location));return new google.maps.LatLng(t.lat,t.lng)};t.getMarkerLatLng=p;t.getMarkerMarkup=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#222222",r=t.styleSlug,o=t.showMarkerLabels,i="customized"===r?n:"#222222",a=l.default.replace("%ACCENT_COLOR%",i),s=o&&e.name,u=s?'<div class="novablocks-gamp__marker-label">'.concat(e.name,"</div>"):"";return'\n <div class="novablocks-gmap__marker">\n '.concat(u,'\n <div class="novablocks-gamp__marker-icon">').concat(a,"</div>\n </div>")};t.getCompiledStyles=function(e,t){var n,r,o,i=null===(n=window)||void 0===n||null===(r=n.sm)||void 0===r||null===(o=r.darkMode)||void 0===o?void 0:o.default,l=Object.assign({},e);i&&i.isCompiledDark()&&Object.assign(l,{styleSlug:"dark"});var s=l.showLabels,c=l.showIcons,f=l.styleData,p=l.styleSlug,d="original"!==p&&0!==f.length,y=a.default.find((function(e){return e.slug===p})),m=y?y.styles:{},g=d&&m||f,v=JSON.parse(JSON.stringify(g).replace(/%ACCENT_COLOR%/g,t));return u(v,s,c)}},function(e,t){e.exports=window.novablocks.icons},,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={lat:47.1665264,lng:27.58285479999995};t.default=r},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(50)),i=r(n(51)),a=[{slug:"customized",label:"Customized",styles:o.default},{slug:"original",label:"Original",styles:[]},{slug:"dark",label:"Dark",styles:i.default}];t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{saturation:-100},{lightness:60}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.arterial",elementType:"geometry.fill",stylers:[{color:"%ACCENT_COLOR%"},{lightness:90}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"geometry.fill",stylers:[{color:"%ACCENT_COLOR%"},{saturation:-25},{lightness:70}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{lightness:30}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"%ACCENT_COLOR%"},{lightness:60}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{saturation:-100}]}]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=[{featureType:"all",elementType:"labels.text.fill",stylers:[{saturation:36},{color:"#000000"},{lightness:40}]},{featureType:"all",elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#000000"},{lightness:16}]},{featureType:"all",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{color:"#000000"},{lightness:20}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#000000"},{lightness:17},{weight:1.2}]},{featureType:"administrative",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"administrative.country",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"administrative.country",elementType:"geometry",stylers:[{visibility:"simplified"}]},{featureType:"administrative.country",elementType:"labels.text",stylers:[{visibility:"simplified"}]},{featureType:"administrative.province",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"all",stylers:[{visibility:"simplified"},{saturation:"-100"},{lightness:"30"}]},{featureType:"administrative.neighborhood",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"administrative.land_parcel",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"all",stylers:[{visibility:"simplified"},{gamma:"0.00"},{lightness:"74"}]},{featureType:"landscape",elementType:"geometry",stylers:[{color:"#000000"},{lightness:20}]},{featureType:"landscape.man_made",elementType:"all",stylers:[{lightness:"3"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#000000"},{lightness:21}]},{featureType:"road",elementType:"geometry",stylers:[{visibility:"simplified"}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#000000"},{lightness:17}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#000000"},{lightness:29},{weight:.2}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#000000"},{lightness:18}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#000000"},{lightness:16}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#000000"},{lightness:19}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"},{lightness:17}]}]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default='<svg width="62" height="75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 62 75">\n\t<defs>\n\t\t<path id="b" d="M31 69s27-18 27-40C58 14.088 46 2 31 2S4 14.088 4 29c0 22 27 40 27 40zm7.725-31.206c-4.26 4.275-11.264 4.275-15.53 0-4.26-4.277-4.26-11.305 0-15.587 4.26-4.276 11.265-4.276 15.53 0 4.367 4.282 4.367 11.304 0 15.587z"></path>\n\t\t<filter id="a" width="200%" height="200%" x="-50%" y="-50%" filterUnits="objectBoundingBox">\n\t\t\t<feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>\n\t\t\t<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="2"></feGaussianBlur>\n\t\t\t<feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"></feColorMatrix>\n\t\t</filter>\n\t</defs>\n\t<g fill="none" fillRule="evenodd">\n\t\t<use fill="#000" filter="url(#a)" xlink:href="#b" style="display:none"></use>\n\t\t<use fill="%ACCENT_COLOR%" xlink:href="#b"></use>\n\t</g>\n</svg>'},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(16)),i=r(n(18)),a=r(n(27)),l=r(n(28)),s=r(n(24));function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,s.default)(e);if(t){var o=(0,s.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}var c=function(e,t){return new(function(n){(0,a.default)(l,n);var r=u(l);function l(){var n;return(0,o.default)(this,l),(n=r.call(this)).latlng=e,n.html=t,n}return(0,i.default)(l,[{key:"createDiv",value:function(){var e=this;this.div=document.createElement("div"),this.div.style.position="absolute",this.html&&(this.div.innerHTML=this.html),google.maps.event.addDomListener(this.div,"click",(function(t){google.maps.event.trigger(e,"click")}))}},{key:"appendDivToOverlay",value:function(){this.getPanes().overlayLayer.appendChild(this.div)}},{key:"positionDiv",value:function(){var e=this.getProjection().fromLatLngToDivPixel(this.latlng);e&&(this.div.style.left="".concat(e.x,"px"),this.div.style.top="".concat(e.y,"px"))}},{key:"draw",value:function(){this.div||(this.createDiv(),this.appendDivToOverlay()),this.positionDiv()}},{key:"remove",value:function(){this.div&&(this.div.parentNode.removeChild(this.div),this.div=null)}},{key:"getPosition",value:function(){return this.latlng}},{key:"getDraggable",value:function(){return!1}}]),l}(google.maps.OverlayView))};t.default=c},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ApiKeyPanelBody",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"BlockControls",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"InspectorControls",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Map",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"MapPlaceholder",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"MapStyleSelect",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"MarkersList",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"withControlsVisibility",{enumerable:!0,get:function(){return f.default}});var o=r(n(102)),i=r(n(103)),a=r(n(104)),l=r(n(105)),s=r(n(106)),u=r(n(108)),c=r(n(109)),f=r(n(110))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(0),o=r(n(11)),i=(n(3),n(5)),a=n(25),l=n(2),s=r(n(99)),u=r(n(100)),c=r(n(111));function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={scrollingEffect:{type:"string",default:"parallax"}};(0,a.addFilter)("blocks.registerBlockType","novablocks/google-map/attributes-overwrite",(function(e){return"novablocks/google-map"!==e.name?e:p(p({},e),{},{attributes:p(p({},e.attributes),d)})}),Number.MAX_SAFE_INTEGER),(0,i.registerBlockType)("novablocks/google-map",{icon:(0,l.getSvg)(s.default),getEditWrapperProps:function(e){var t=e.align;if("center"===t||"full"===t)return{"data-align":t}},attributes:c.default,edit:u.default,save:function(){return!1}})},function(e,t,n){"use strict";n.r(t);var r=n(6),o=n.n(r),i=n(7),a=n.n(i),l=new o.a({id:"block-library-google-map/icon",use:"block-library-google-map/icon-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="block-library-google-map/icon"><path fill="#6565F2" fill-rule="evenodd" d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zM5.45 10.55a6.55 6.55 0 1 1 13.1 0c0 2.236-2.504 5.893-4.416 8.359a2.677 2.677 0 0 1-4.268 0c-1.912-2.466-4.415-6.123-4.415-8.36zm3.4-.186a3.15 3.15 0 1 0 6.301 0 3.15 3.15 0 0 0-6.301 0z" clip-rule="evenodd" /></symbol>'});a.a.add(l);t.default=l},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=r(n(26)),a=r(n(11)),l=r(n(19)),s=r(n(12)),u=n(3),c=n(101),f=n(4),p=n(9),d=n(2),y=n(54);window.gm_authFailure=function(){window.googlemaps_authfailure=!0,window.dispatchEvent(new Event("novablock.googlemaps_authfailure"))};var m=(0,y.withControlsVisibility)((function(e){var t=e.attributes,n=(e.setAttributes,t.align),r=t.styleData,m=(0,o.useState)(!1),g=(0,l.default)(m,2),v=g[0],h=g[1],b=(0,o.useState)(!1),_=(0,l.default)(b,2),x=_[0],w=_[1],O=(0,o.useState)(null),k=(0,l.default)(O,2),E=k[0],M=k[1],C=(0,o.useState)(null),T=(0,l.default)(C,2),S=T[0],j=T[1],P=(0,f.useBlockProps)({className:(0,s.default)(e.className,"align".concat(n)),style:e.style}),A=(0,o.useMemo)((function(){var e,t;return null!==(e=null===(t=window)||void 0===t?void 0:t.googlemaps_authfailure)&&void 0!==e&&e}),[]),L=(0,o.useState)(A),N=(0,l.default)(L,2),B=N[0],D=N[1],R=(0,o.useCallback)((function(e){D(!0)}),[]),I=(0,o.useRef)(null);(0,d.useDidUpdateEffect)((function(){var e=""!==E?"key=".concat(E,"&"):"",t="//maps.googleapis.com/maps/api/js?".concat(e,"libraries=places");return document.querySelectorAll('script[src*="maps.googleapis.com"]').length?(h(!0),Promise.resolve()):new Promise((function(e,n){var r=document.createElement("script");r.onload=e,r.onerror=n,r.async=!0,r.src=t,document.body.appendChild(r)})).then((function(){h(!0)}))}),[E]),(0,o.useEffect)((function(){return window.addEventListener("novablock.googlemaps_authfailure",R),c.loadPromise.done((function(){I.current=new c.models.Settings,I.current.on("change:".concat("novablocks_google_maps_api_key"),(function(e){var t=e.get("novablocks_google_maps_api_key");w(!0),M(t),j(t)})),I.current.fetch()})),function(){window.removeEventListener("novablock.googlemaps_authfailure",R)}}),[]);var K=(0,o.useMemo)((function(){var t=Object.assign(e);return"string"==typeof r&&(t.attributes.styleData=JSON.parse(r)),t}),[e]),U=function(e){new c.models.Settings((0,a.default)({},"novablocks_google_maps_api_key",e)).save().then((function(){D(!1),I.current.fetch()}))},F=(0,o.useMemo)((function(){var e="//developers.google.com/maps/documentation/javascript/get-api-key";return B?(0,o.createInterpolateElement)((0,u.__)("It seems that your Google Maps API key is INVALID. Please REFRESH the page, double check that you pasted it correctly, and that it is a valid API key. More information about how to <a>register a Google Maps API Key</a>.","nova-blocks"),{a:(0,o.createElement)("a",{target:"_blank",href:e})}):(0,o.createInterpolateElement)((0,u.__)("To display the map, you need to <a>register a Google Maps API Key</a> and paste it here.","nova-blocks"),{a:(0,o.createElement)("a",{target:"_blank",href:e})})}),[B]),z=(0,o.useMemo)((function(){return x&&v&&E&&!B}),[x,v,E,B]),G=(0,o.useMemo)((function(){return!x}),[x]),q=(0,o.useMemo)((function(){return!G&&(!v||!E||B)}),[G,v,E,B]),V=(0,o.useMemo)((function(){return!G&&!q}),[G,q]);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(y.BlockControls,e),z&&(0,o.createElement)(y.InspectorControls,(0,i.default)({},K,{apiKey:S,savedApiKey:E,onChangeApiKey:j,onSaveApiKey:U,apiKeyInstructions:F})),(0,o.createElement)("div",P,G&&(0,o.createElement)(p.Spinner,null),q&&(0,o.createElement)(y.MapPlaceholder,{saveApiKey:U,apiKey:E,apiKeyInstructions:F}),V&&(0,o.createElement)(y.Map,e)))}));t.default=m},function(e,t){e.exports=window.wp.api},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=r(n(16)),a=r(n(18)),l=r(n(27)),s=r(n(28)),u=r(n(24)),c=n(3),f=n(9);function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var o=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}var d=function(e){(0,l.default)(n,e);var t=p(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,a.default)(n,[{key:"render",value:function(){var e=this.props,t=e.apiKey,n=e.apiKeyInstructions,r=e.savedApiKey,i=e.onChangeApiKey,a=e.onSaveApiKey;return""===r?null:(0,o.createElement)(o.Fragment,null,(0,o.createElement)(f.TextControl,{placeholder:(0,c.__)("Paste API key here","nova-blocks"),value:t,label:(0,c.__)("Google Maps API Key","nova-blocks"),onChange:i,help:n}),(0,o.createElement)(f.Button,{isSecondary:!0,onClick:function(){a(t)}},(0,c.__)("Save","nova-blocks")))}}]),n}(o.Component);t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1),o=n(4),i=function(e){var t=e.attributes,n=e.setAttributes;return(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(o.BlockAlignmentToolbar,{value:t.align,onChange:function(e){return n({align:e})},controls:["wide","full"]}))};t.default=i},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=r(n(26)),a=n(3),l=n(9),s=n(2),u=n(36),c=n(54),f=function(e){var t=e.attributes,n=e.setAttributes,r=e.savedApiKey,f=t.styleSlug,p=t.zoom,d=t.showLabels,y=t.showMarkerLabels,m=t.showControls,g=t.showIcons;return r?(0,o.createElement)(o.Fragment,null,(0,o.createElement)(s.ControlsSection,{id:"map-design",label:(0,a.__)("Map Design","nova-blocks")},(0,o.createElement)(s.ControlsTab,{label:(0,a.__)("Customize","nova-blocks")},(0,o.createElement)(c.MapStyleSelect,(0,i.default)({},e,{key:"google-map-style-controls",apiKey:r,selected:f,options:u.styles,onChange:function(e){var t=u.styles.find((function(t){return t.slug===e})).styles,r="customized"===e?u.getMapAccentColor.call(void 0):"#222222";n({styleSlug:e,styleData:t,pinColor:r})}}))),(0,o.createElement)(s.ControlsTab,{label:(0,a.__)("Settings","nova-blocks")},(0,o.createElement)(l.ToggleControl,{key:"google-map-show-venues-control",label:(0,a.__)("Show Nearby Venues","nova-blocks"),checked:g,onChange:function(){return n({showIcons:!g})}}),(0,o.createElement)(l.ToggleControl,{key:"google-map-show-labels-control",label:(0,a.__)("Show Labels","nova-blocks"),checked:d,onChange:function(){return n({showLabels:!d})}}),(0,o.createElement)(l.ToggleControl,{key:"google-map-show-controls",label:(0,a.__)("Show Controls","nova-blocks"),checked:m,onChange:function(){return n({showControls:!m})}}),(0,o.createElement)(l.ToggleControl,{key:"google-map-show-marker-labels-control",label:(0,a.__)("Show Marker Labels","nova-blocks"),checked:y,onChange:function(){return n({showMarkerLabels:!y})}}),(0,o.createElement)(l.RangeControl,{key:"google-map-zoom-controls",value:p,onChange:function(e){return n({zoom:e})},min:1,max:20,label:(0,a.__)("Zoom Level","nova-blocks")}))),(0,o.createElement)(s.ControlsSection,{id:"setup",label:(0,a.__)("Setup","nova-blocks")},(0,o.createElement)(s.ControlsTab,{label:(0,a.__)("Settings","nova-blocks")},(0,o.createElement)(s.ControlsGroup,{title:(0,a.__)("Map Markers","nova-blocks")},(0,o.createElement)(c.MarkersList,e)),(0,o.createElement)(s.ControlsGroup,null,(0,o.createElement)(c.ApiKeyPanelBody,(0,i.default)({key:"google-map-api-key-controls"},e)))))):null};t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=r(n(32)),a=r(n(19)),l=n(3),s=n(9),u=n(2),c=(n(54),n(36)),f=function(e){var t,n=e.attributes,r=e.setAttributes,f=e.isSelected,p=(e.clientId,n.markers),d=(n.styleData,n.styleSlug),y=n.showControls,m=n.showMarkerLabels,g=(n.showLabels,n.showIcons,n.zoom),v=(0,u.useSettings)(),h=(0,o.useMemo)((function(){var e,t;return null!==(e=null==v||null===(t=v.map)||void 0===t?void 0:t.accentColor)&&void 0!==e?e:c.DEFAULT_PIN_COLOR}),[v]),b=(0,o.useMemo)((function(){return"customized"===d?h:c.DEFAULT_PIN_COLOR}),[d]),_=((0,o.useMemo)((function(){return c.pin.replace("%ACCENT_COLOR%",b)}),[b]),(0,o.useState)(!1)),x=(0,a.default)(_,2),w=x[0],O=x[1],k=(0,o.useRef)([]),E=(0,o.useRef)(null),M=(0,o.useRef)(null),C=(0,o.useRef)(null),T=(0,o.useRef)(null);(0,o.useEffect)((function(){var e=new google.maps.Map(M.current,{mapTypeId:"roadmap",center:c.DEFAULT_MAP_CENTER,zoom:g,styles:P,clickableIcons:!1,disableDefaultUI:!y,disableDoubleClickZoom:!0,draggable:!1,gestureHandling:"none",keyboardShortcuts:!1,scrollwheel:!1});google.maps.event.trigger(C,"resize"),C.current=e,O(!0)}),[]),(0,o.useEffect)((function(){T.current=new google.maps.places.SearchBox(E.current),C.current.addListener("bounds_changed",(function(){T.current.setBounds(C.current.getBounds())}))}),[S]);var S=(0,o.useCallback)((function(){var e=T.current.getPlaces(),t=["name","geometry"],n=e.map((function(e){return Object.keys(e).filter((function(e){return t.includes(e)})).reduce((function(t,n){return t[n]=e[n],t}),{})}));r({markers:[].concat((0,i.default)(p),(0,i.default)(n))})}),[p]),j=(0,o.useCallback)((function(){if(!(k.current.length<1))if(1!==k.current.length){var e=new google.maps.LatLngBounds;k.current.forEach((function(t){e.extend(t.latlng)})),C.current.fitBounds(e,{top:75}),r({zoom:C.current.getZoom()})}else C.current.setCenter(k.current[0].latlng)}),[p]);(0,o.useEffect)((function(){var e=T.current.addListener("places_changed",S);return function(){google.maps.event.removeListener(e)}}),[S]),(0,o.useEffect)((function(){k.current.forEach((function(e){e.remove(),e.setMap(null)})),k.current=[],p.forEach((function(e){if(e.geometry){var t=(0,c.getMarkerLatLng)(e),n=(0,c.getMarkerMarkup)(e,{showMarkerLabels:m,styleSlug:d},h),r=(0,c.createHtmlMapMarker)(t,n);r.setMap(C.current),k.current.push(r)}})),C.current&&j()}),[m,p,h,w]);var P=(0,o.useMemo)((function(){return(0,c.getCompiledStyles)(n,b)}),[n,b]);(0,o.useEffect)((function(){C.current.setOptions({zoom:g,disableDefaultUI:!y,styles:P})}),[y,g,P]);var A=(0,o.useMemo)((function(){return f?{}:{display:"none"}}),[f]);return(0,o.createElement)("div",{className:"novablocks-map"},(0,o.createElement)("div",{className:"novablocks-map__search-box"},(0,o.createElement)(s.Placeholder,{style:A},(0,o.createElement)("input",{type:"text",ref:E,placeholder:(0,l.__)("Enter an address to drop a pin on this map","nova-blocks")}))),(0,o.createElement)("div",{className:"novablocks-map__map-container"},(0,o.createElement)("div",{className:"novablocks-map__map",ref:M,style:null==e||null===(t=e.doppler)||void 0===t?void 0:t.style})))};t.default=f},function(e,t,n){"use strict";var r=n(0),o=n(23);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(1),a=r(n(16)),l=r(n(18)),s=r(n(27)),u=r(n(28)),c=r(n(24)),f=n(3),p=n(9),d=n(107),y=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(37));function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var o=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}var v=function(e){(0,s.default)(n,e);var t=g(n);function n(){var e;return(0,a.default)(this,n),(e=t.apply(this,arguments)).state={apiKey:e.props.apiKey},e}return(0,l.default)(n,[{key:"handleKeyDown",value:function(e){e===d.ENTER&&this.props.saveApiKey(this.state.apiKey)}},{key:"render",value:function(){var e=this,t=this.props.apiKeyInstructions,n=(0,i.createElement)("div",{className:"editor-block-icon block-editor-block-icon"},y.map);return(0,i.createElement)(p.Placeholder,{icon:n,label:(0,f.__)("Location Map of The World","nova-blocks")},t&&(0,i.createElement)("div",{className:"components-placeholder__instructions"},t),(0,i.createElement)(p.TextControl,{className:"components-placeholder__input",placeholder:(0,f.__)("Paste API key here","nova-blocks"),value:this.state.apiKey,onChange:function(t){e.setState({apiKey:t})},onKeyDown:function(t){var n=t.keyCode;e.handleKeyDown(n)}}),(0,i.createElement)(p.Button,{islarge:"true",disabled:!this.state.apiKey,type:"button",onClick:function(){e.props.saveApiKey(e.state.apiKey)}},(0,f.__)("Save","nova-blocks")))}}]),n}(i.Component);t.default=v},function(e,t){e.exports=window.wp.keycodes},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=r(n(11)),a=(r(n(12)),n(2)),l=n(36);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){var t=e.attributes,n=e.apiKey,r=e.options,i=e.selected,s=t.markers,c=t.zoom,f="function"==typeof e.onChange?e.onChange:function(){},p=(0,o.useMemo)((function(){return Array.isArray(s)&&s.length?(0,l.getCenterFromMarkers)(s):new google.maps.LatLng(l.DEFAULT_MAP_CENTER)}),[s]),d=(0,o.useCallback)((function(e){var t=[];return(0,l.compileStyles)(e.styles).forEach((function(e,n,r){var o="";e.stylers&&e.stylers.length>0&&(o+=(e.hasOwnProperty("featureType")?"feature:"+e.featureType:"feature:all")+"|",o+=(e.hasOwnProperty("elementType")?"element:"+e.elementType:"element:all")+"|",e.stylers.forEach((function(e,t,n){var r=Object.keys(e)[0],i=e[r].toString().replace("#","0x");o+=r+":"+i+"|"}))),t.push("style="+encodeURIComponent(o))})),t.join("&")})),y=(0,o.useCallback)((function(e){var t=p.lat(),r=p.lng(),o=d(e);return"".concat("https://maps.googleapis.com/maps/api/staticmap","?center=").concat(t,",").concat(r,"&zoom=").concat(c,"&size=").concat("200x200","&maptype=").concat("roadmap","&").concat(o,"&key=").concat(n)}),[p]),m=(0,o.useMemo)((function(){return r.map((function(e){return u(u({},e),{},{src:y(e)})}))}),[r]);return(0,o.createElement)(a.ImageSelectControl,{selected:i,onChange:f,options:m})};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1),o=n(9),i=function(e){var t=e.attributes,n=e.setAttributes,i=e.clientId,a=t.markers,l=(0,r.useCallback)((function(e,t){var r=a.slice();r[e].name=t,n({markers:r})}),[a]),s=(0,r.useCallback)((function(e){var t=a.slice();t.splice(e,1),n({markers:t})}),[a]);return(0,r.createElement)("div",{className:"novablocks-markers-list"},a.map((function(e,t){return(0,r.createElement)("div",{className:"novablocks-markers-list-item",key:"".concat(i,"-marker-").concat(t)},(0,r.createElement)(o.TextControl,{value:e.name,onChange:function(e){l(t,e)}}),(0,r.createElement)(o.Button,{isDestructive:!0,onClick:function(){s(t)}},"Delete"))})))};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1),o=function(e){return function(t){var n=t.setControlsVisibility;return(0,r.useEffect)((function(){n({"start-frame-panel":!1})}),[]),(0,r.createElement)(e,t)}};t.default=o},function(e){e.exports=JSON.parse('{"align":{"type":"string","default":"center"},"markers":{"type":"array","default":[],"items":{"type":"object"}},"showMarkerLabels":{"type":"boolean","default":false},"showControls":{"type":"boolean","default":false},"showIcons":{"type":"boolean","default":true},"showLabels":{"type":"boolean","default":true},"styleData":{"type":"array","default":[],"items":{"type":"object"}},"styleSlug":{"type":"string","default":"original"},"zoom":{"type":"number","default":17}}')}]);6 */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var l in r)n.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t){e.exports=window.wp.data},,function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(15);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(20),o=n(21),i=n(16),a=n(22);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.hooks},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(31);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(23).default,o=n(30);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},,function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,n(t,r)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(33),o=n(34),i=n(16),a=n(35);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(15);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DEFAULT_MAP_CENTER",{enumerable:!0,get:function(){return i.default}}),t.compileStyles=t.addVisibilityToStyles=t.DEFAULT_PIN_COLOR=void 0,Object.defineProperty(t,"createHtmlMapMarker",{enumerable:!0,get:function(){return s.default}}),t.getMarkersBounds=t.getMarkerMarkup=t.getMarkerLatLng=t.getMapStyles=t.getMapAccentColor=t.getCompiledStyles=t.getCenterFromMarkers=t.fitMapBoundsToMarkers=void 0,Object.defineProperty(t,"pin",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"styles",{enumerable:!0,get:function(){return a.default}});var o=n(13),i=r(n(47)),a=r(n(48)),l=r(n(51)),s=r(n(52)),u=function(e,t,n){return t||e.unshift({elementType:"labels.text",stylers:[{visibility:"off"}]}),n||e.unshift({elementType:"labels.icon",stylers:[{visibility:"off"}]}),e};t.addVisibilityToStyles=u;var c=function(e){var t=f(),n=JSON.stringify(e).replace(/%ACCENT_COLOR%/g,t);return JSON.parse(n)};t.compileStyles=c;t.getMapStyles=function(){var e=this.props.attributes,t=e.styleData,n=e.styleSlug,r="original"!==n&&0!==t.length,o=a.default.find((function(e){return e.slug===n})),i=o?o.styles:{};return c.call(this,r&&i||t)};var f=function(){var e,t=(0,o.select)("novablocks").getSettings();return(null==t||null===(e=t.map)||void 0===e?void 0:e.accentColor)||"#222222"};t.getMapAccentColor=f;t.getCenterFromMarkers=function(e){if("undefined"==typeof google||void 0===google.maps)return i.default;var t=new google.maps.LatLngBounds;if(1===e.length){var n=e[0];return new google.maps.LatLng(n.geometry.location)}return e.forEach((function(e){e.geometry&&(e.geometry.viewport?t.union(e.geometry.viewport):t.extend(e.geometry.location))})),t.getCenter()};t.getMarkersBounds=function(e){var t=new google.maps.LatLngBounds;return e.forEach((function(e){var n=p(e);t.extend(n)})),t};t.DEFAULT_PIN_COLOR="#222222";var p=function(e){var t=JSON.parse(JSON.stringify(e.geometry.location));return new google.maps.LatLng(t.lat,t.lng)};t.getMarkerLatLng=p;t.getMarkerMarkup=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#222222",r=t.styleSlug,o=t.showMarkerLabels,i="customized"===r?n:"#222222",a=l.default.replace("%ACCENT_COLOR%",i),s=o&&e.name,u=s?'<div class="novablocks-gamp__marker-label">'.concat(e.name,"</div>"):"";return'\n <div class="novablocks-gmap__marker">\n '.concat(u,'\n <div class="novablocks-gamp__marker-icon">').concat(a,"</div>\n </div>")};t.getCompiledStyles=function(e,t){var n,r,o,i=null===(n=window)||void 0===n||null===(r=n.sm)||void 0===r||null===(o=r.darkMode)||void 0===o?void 0:o.default,l=Object.assign({},e);i&&i.isCompiledDark()&&Object.assign(l,{styleSlug:"dark"});var s=l.showLabels,c=l.showIcons,f=l.styleData,p=l.styleSlug,d="original"!==p&&0!==f.length,y=a.default.find((function(e){return e.slug===p})),m=y?y.styles:{},g=d&&m||f,v=JSON.parse(JSON.stringify(g).replace(/%ACCENT_COLOR%/g,t));return u(v,s,c)};t.fitMapBoundsToMarkers=function(e,t,n){if(!(t.length<1))if(1!==t.length){var r=new google.maps.LatLngBounds;t.forEach((function(e){r.extend(e.latlng)})),e.fitBounds(r,n)}else e.setCenter(t[0].latlng)}},function(e,t){e.exports=window.novablocks.icons},,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={lat:47.1665264,lng:27.58285479999995};t.default=r},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(49)),i=r(n(50)),a=[{slug:"customized",label:"Customized",styles:o.default},{slug:"original",label:"Original",styles:[]},{slug:"dark",label:"Dark",styles:i.default}];t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{saturation:-100},{lightness:60}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.arterial",elementType:"geometry.fill",stylers:[{color:"%ACCENT_COLOR%"},{lightness:90}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"geometry.fill",stylers:[{color:"%ACCENT_COLOR%"},{saturation:-25},{lightness:70}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{lightness:30}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"%ACCENT_COLOR%"},{lightness:60}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{saturation:-100}]}]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=[{featureType:"all",elementType:"labels.text.fill",stylers:[{saturation:36},{color:"#000000"},{lightness:40}]},{featureType:"all",elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#000000"},{lightness:16}]},{featureType:"all",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{color:"#000000"},{lightness:20}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#000000"},{lightness:17},{weight:1.2}]},{featureType:"administrative",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"administrative.country",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"administrative.country",elementType:"geometry",stylers:[{visibility:"simplified"}]},{featureType:"administrative.country",elementType:"labels.text",stylers:[{visibility:"simplified"}]},{featureType:"administrative.province",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"all",stylers:[{visibility:"simplified"},{saturation:"-100"},{lightness:"30"}]},{featureType:"administrative.neighborhood",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"administrative.land_parcel",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"all",stylers:[{visibility:"simplified"},{gamma:"0.00"},{lightness:"74"}]},{featureType:"landscape",elementType:"geometry",stylers:[{color:"#000000"},{lightness:20}]},{featureType:"landscape.man_made",elementType:"all",stylers:[{lightness:"3"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#000000"},{lightness:21}]},{featureType:"road",elementType:"geometry",stylers:[{visibility:"simplified"}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#000000"},{lightness:17}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#000000"},{lightness:29},{weight:.2}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#000000"},{lightness:18}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#000000"},{lightness:16}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#000000"},{lightness:19}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"},{lightness:17}]}]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default='<svg width="62" height="75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 62 75">\n\t<defs>\n\t\t<path id="b" d="M31 69s27-18 27-40C58 14.088 46 2 31 2S4 14.088 4 29c0 22 27 40 27 40zm7.725-31.206c-4.26 4.275-11.264 4.275-15.53 0-4.26-4.277-4.26-11.305 0-15.587 4.26-4.276 11.265-4.276 15.53 0 4.367 4.282 4.367 11.304 0 15.587z"></path>\n\t\t<filter id="a" width="200%" height="200%" x="-50%" y="-50%" filterUnits="objectBoundingBox">\n\t\t\t<feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>\n\t\t\t<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="2"></feGaussianBlur>\n\t\t\t<feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"></feColorMatrix>\n\t\t</filter>\n\t</defs>\n\t<g fill="none" fillRule="evenodd">\n\t\t<use fill="#000" filter="url(#a)" xlink:href="#b" style="display:none"></use>\n\t\t<use fill="%ACCENT_COLOR%" xlink:href="#b"></use>\n\t</g>\n</svg>'},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(18)),a=r(n(27)),l=r(n(28)),s=r(n(26));function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,s.default)(e);if(t){var o=(0,s.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}var c=function(e,t){return new(function(n){(0,a.default)(l,n);var r=u(l);function l(){var n;return(0,o.default)(this,l),(n=r.call(this)).latlng=e,n.html=t,n}return(0,i.default)(l,[{key:"createDiv",value:function(){var e=this;this.div=document.createElement("div"),this.div.style.position="absolute",this.html&&(this.div.innerHTML=this.html),google.maps.event.addDomListener(this.div,"click",(function(t){google.maps.event.trigger(e,"click")}))}},{key:"appendDivToOverlay",value:function(){this.getPanes().overlayLayer.appendChild(this.div)}},{key:"positionDiv",value:function(){var e=this.getProjection().fromLatLngToDivPixel(this.latlng);e&&(this.div.style.left="".concat(e.x,"px"),this.div.style.top="".concat(e.y,"px"))}},{key:"draw",value:function(){this.div||(this.createDiv(),this.appendDivToOverlay()),this.positionDiv()}},{key:"remove",value:function(){this.div&&(this.div.parentNode.removeChild(this.div),this.div=null)}},{key:"getPosition",value:function(){return this.latlng}},{key:"getDraggable",value:function(){return!1}}]),l}(google.maps.OverlayView))};t.default=c},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ApiKeyPanelBody",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"BlockControls",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"InspectorControls",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Map",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"MapPlaceholder",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"MapStyleSelect",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"MarkersList",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"withControlsVisibility",{enumerable:!0,get:function(){return f.default}});var o=r(n(102)),i=r(n(103)),a=r(n(104)),l=r(n(105)),s=r(n(106)),u=r(n(108)),c=r(n(109)),f=r(n(110))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(0),o=r(n(11)),i=(n(3),n(5)),a=n(24),l=n(2),s=r(n(99)),u=r(n(100)),c=r(n(111));function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={scrollingEffect:{type:"string",default:"parallax"}};(0,a.addFilter)("blocks.registerBlockType","novablocks/google-map/attributes-overwrite",(function(e){return"novablocks/google-map"!==e.name?e:p(p({},e),{},{attributes:p(p({},e.attributes),d)})}),Number.MAX_SAFE_INTEGER),(0,i.registerBlockType)("novablocks/google-map",{icon:(0,l.getSvg)(s.default),getEditWrapperProps:function(e){var t=e.align;if("center"===t||"full"===t)return{"data-align":t}},attributes:c.default,edit:u.default,save:function(){return!1}})},function(e,t,n){"use strict";n.r(t);var r=n(6),o=n.n(r),i=n(7),a=n.n(i),l=new o.a({id:"block-library-google-map/icon",use:"block-library-google-map/icon-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="block-library-google-map/icon"><path fill="#6565F2" fill-rule="evenodd" d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zM5.45 10.55a6.55 6.55 0 1 1 13.1 0c0 2.236-2.504 5.893-4.416 8.359a2.677 2.677 0 0 1-4.268 0c-1.912-2.466-4.415-6.123-4.415-8.36zm3.4-.186a3.15 3.15 0 1 0 6.301 0 3.15 3.15 0 0 0-6.301 0z" clip-rule="evenodd" /></symbol>'});a.a.add(l);t.default=l},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=r(n(25)),a=r(n(11)),l=r(n(19)),s=r(n(12)),u=n(3),c=n(101),f=n(4),p=n(9),d=n(2),y=n(53);window.gm_authFailure=function(){window.googlemaps_authfailure=!0,window.dispatchEvent(new Event("novablock.googlemaps_authfailure"))};var m=(0,y.withControlsVisibility)((function(e){var t=e.attributes,n=(e.setAttributes,t.align),r=t.styleData,m=(0,o.useState)(!1),g=(0,l.default)(m,2),v=g[0],h=g[1],b=(0,o.useState)(!1),_=(0,l.default)(b,2),x=_[0],w=_[1],O=(0,o.useState)(""),k=(0,l.default)(O,2),E=k[0],M=k[1],T=(0,o.useState)(""),C=(0,l.default)(T,2),S=C[0],j=C[1],P=(0,f.useBlockProps)({className:(0,s.default)(e.className,"align".concat(n)),style:e.style}),A=(0,o.useMemo)((function(){var e,t;return null!==(e=null===(t=window)||void 0===t?void 0:t.googlemaps_authfailure)&&void 0!==e&&e}),[]),L=(0,o.useState)(A),N=(0,l.default)(L,2),B=N[0],D=N[1],R=(0,o.useCallback)((function(e){D(!0)}),[]),I=(0,o.useRef)(null);(0,d.useDidUpdateEffect)((function(){var e=""!==E?"key=".concat(E,"&"):"",t="//maps.googleapis.com/maps/api/js?".concat(e,"libraries=places");return document.querySelectorAll('script[src*="maps.googleapis.com"]').length?(h(!0),Promise.resolve()):new Promise((function(e,n){var r=document.createElement("script");r.onload=e,r.onerror=n,r.async=!0,r.src=t,document.body.appendChild(r)})).then((function(){h(!0)}))}),[E]),(0,o.useEffect)((function(){return window.addEventListener("novablock.googlemaps_authfailure",R),c.loadPromise.done((function(){I.current=new c.models.Settings,I.current.on("change:".concat("novablocks_google_maps_api_key"),(function(e){var t=e.get("novablocks_google_maps_api_key");w(!0),M(t),j(t)})),I.current.fetch()})),function(){window.removeEventListener("novablock.googlemaps_authfailure",R)}}),[]);var K=(0,o.useMemo)((function(){var t=Object.assign(e);return"string"==typeof r&&(t.attributes.styleData=JSON.parse(r)),t}),[e]),U=function(e){new c.models.Settings((0,a.default)({},"novablocks_google_maps_api_key",e)).save().then((function(){D(!1),I.current.fetch()}))},F=(0,o.useMemo)((function(){var e="//developers.google.com/maps/documentation/javascript/get-api-key";return B?(0,o.createInterpolateElement)((0,u.__)("It seems that your Google Maps API key is INVALID. Please REFRESH the page, double check that you pasted it correctly, and that it is a valid API key. More information about how to <a>register a Google Maps API Key</a>.","nova-blocks"),{a:(0,o.createElement)("a",{target:"_blank",href:e})}):(0,o.createInterpolateElement)((0,u.__)("To display the map, you need to <a>register a Google Maps API Key</a> and paste it here.","nova-blocks"),{a:(0,o.createElement)("a",{target:"_blank",href:e})})}),[B]),z=(0,o.useMemo)((function(){return x&&v&&!!E&&!B}),[x,v,E,B]),G=(0,o.useMemo)((function(){return!x}),[x]),q=(0,o.useMemo)((function(){return!G&&(!v||!E||B)}),[G,v,E,B]),V=(0,o.useMemo)((function(){return!G&&!q}),[G,q]);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(y.BlockControls,e),z&&(0,o.createElement)(y.InspectorControls,(0,i.default)({},K,{apiKey:S,savedApiKey:E,onChangeApiKey:j,onSaveApiKey:U,apiKeyInstructions:F})),(0,o.createElement)("div",P,G&&(0,o.createElement)(p.Spinner,null),q&&(0,o.createElement)(y.MapPlaceholder,{saveApiKey:U,apiKey:E,apiKeyInstructions:F}),V&&(0,o.createElement)(y.Map,e)))}));t.default=m},function(e,t){e.exports=window.wp.api},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=r(n(17)),a=r(n(18)),l=r(n(27)),s=r(n(28)),u=r(n(26)),c=n(3),f=n(9);function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var o=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}var d=function(e){(0,l.default)(n,e);var t=p(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,a.default)(n,[{key:"render",value:function(){var e=this.props,t=e.apiKey,n=e.apiKeyInstructions,r=e.savedApiKey,i=e.onChangeApiKey,a=e.onSaveApiKey;return""===r?null:(0,o.createElement)(o.Fragment,null,(0,o.createElement)(f.TextControl,{placeholder:(0,c.__)("Paste API key here","nova-blocks"),value:t,label:(0,c.__)("Google Maps API Key","nova-blocks"),onChange:i,help:n}),(0,o.createElement)(f.Button,{isSecondary:!0,onClick:function(){a(t)}},(0,c.__)("Save","nova-blocks")))}}]),n}(o.Component);t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1),o=n(4),i=function(e){var t=e.attributes,n=e.setAttributes;return(0,r.createElement)(o.BlockControls,null,(0,r.createElement)(o.BlockAlignmentToolbar,{value:t.align,onChange:function(e){return n({align:e})},controls:["wide","full"]}))};t.default=i},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=r(n(25)),a=n(3),l=n(9),s=n(2),u=n(36),c=n(53),f=function(e){var t=e.attributes,n=e.setAttributes,r=e.savedApiKey,f=t.styleSlug,p=t.zoom,d=t.showLabels,y=t.showMarkerLabels,m=t.showControls,g=t.showIcons;return r?(0,o.createElement)(o.Fragment,null,(0,o.createElement)(s.ControlsSection,{id:"map-design",label:(0,a.__)("Map Design","nova-blocks")},(0,o.createElement)(s.ControlsTab,{label:(0,a.__)("Customize","nova-blocks")},(0,o.createElement)(c.MapStyleSelect,(0,i.default)({},e,{key:"google-map-style-controls",apiKey:r,selected:f,options:u.styles,onChange:function(e){var t=u.styles.find((function(t){return t.slug===e})).styles,r="customized"===e?u.getMapAccentColor.call(void 0):"#222222";n({styleSlug:e,styleData:t,pinColor:r})}}))),(0,o.createElement)(s.ControlsTab,{label:(0,a.__)("Settings","nova-blocks")},(0,o.createElement)(l.ToggleControl,{key:"google-map-show-venues-control",label:(0,a.__)("Show Nearby Venues","nova-blocks"),checked:g,onChange:function(){return n({showIcons:!g})}}),(0,o.createElement)(l.ToggleControl,{key:"google-map-show-labels-control",label:(0,a.__)("Show Labels","nova-blocks"),checked:d,onChange:function(){return n({showLabels:!d})}}),(0,o.createElement)(l.ToggleControl,{key:"google-map-show-controls",label:(0,a.__)("Show Controls","nova-blocks"),checked:m,onChange:function(){return n({showControls:!m})}}),(0,o.createElement)(l.ToggleControl,{key:"google-map-show-marker-labels-control",label:(0,a.__)("Show Marker Labels","nova-blocks"),checked:y,onChange:function(){return n({showMarkerLabels:!y})}}),(0,o.createElement)(l.RangeControl,{key:"google-map-zoom-controls",value:p,onChange:function(e){return n({zoom:e})},min:1,max:20,label:(0,a.__)("Zoom Level","nova-blocks")}))),(0,o.createElement)(s.ControlsSection,{id:"setup",label:(0,a.__)("Setup","nova-blocks")},(0,o.createElement)(s.ControlsTab,{label:(0,a.__)("Settings","nova-blocks")},(0,o.createElement)(s.ControlsGroup,{title:(0,a.__)("Map Markers","nova-blocks")},(0,o.createElement)(c.MarkersList,e)),(0,o.createElement)(s.ControlsGroup,null,(0,o.createElement)(c.ApiKeyPanelBody,(0,i.default)({key:"google-map-api-key-controls"},e)))))):null};t.default=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=r(n(32)),a=r(n(19)),l=n(3),s=n(9),u=n(2),c=(n(53),n(36)),f=function(e){var t,n=e.attributes,r=e.setAttributes,f=e.isSelected,p=(e.clientId,n.markers),d=(n.styleData,n.styleSlug),y=n.showControls,m=n.showMarkerLabels,g=(n.showLabels,n.showIcons,n.zoom),v=(0,u.useSettings)(),h=(0,o.useMemo)((function(){var e,t;return null!==(e=null==v||null===(t=v.map)||void 0===t?void 0:t.accentColor)&&void 0!==e?e:c.DEFAULT_PIN_COLOR}),[v]),b=(0,o.useMemo)((function(){return"customized"===d?h:c.DEFAULT_PIN_COLOR}),[d]),_=((0,o.useMemo)((function(){return c.pin.replace("%ACCENT_COLOR%",b)}),[b]),(0,o.useState)(!1)),x=(0,a.default)(_,2),w=x[0],O=x[1],k=(0,o.useRef)([]),E=(0,o.useRef)(null),M=(0,o.useRef)(null),T=(0,o.useRef)(null),C=(0,o.useRef)(null);(0,o.useEffect)((function(){var e=new google.maps.Map(M.current,{mapTypeId:"roadmap",center:c.DEFAULT_MAP_CENTER,zoom:g,styles:P,clickableIcons:!1,disableDefaultUI:!y,disableDoubleClickZoom:!0,draggable:!1,gestureHandling:"none",keyboardShortcuts:!1,scrollwheel:!1});google.maps.event.trigger(T,"resize"),T.current=e,O(!0)}),[]),(0,o.useEffect)((function(){C.current=new google.maps.places.SearchBox(E.current),T.current.addListener("bounds_changed",(function(){C.current.setBounds(T.current.getBounds())}))}),[S]);var S=(0,o.useCallback)((function(){var e=C.current.getPlaces(),t=["name","geometry"],n=e.map((function(e){return Object.keys(e).filter((function(e){return t.includes(e)})).reduce((function(t,n){return t[n]=e[n],t}),{})}));r({markers:[].concat((0,i.default)(p),(0,i.default)(n))})}),[p]),j=(0,o.useCallback)((function(){(0,c.fitMapBoundsToMarkers)(T.current,k.current,{top:75}),r({zoom:T.current.getZoom()})}),[p]);(0,o.useEffect)((function(){var e=C.current.addListener("places_changed",S);return function(){google.maps.event.removeListener(e)}}),[S]),(0,o.useEffect)((function(){k.current.forEach((function(e){e.remove(),e.setMap(null)})),k.current=[],p.forEach((function(e){if(e.geometry){var t=(0,c.getMarkerLatLng)(e),n=(0,c.getMarkerMarkup)(e,{showMarkerLabels:m,styleSlug:d},h),r=(0,c.createHtmlMapMarker)(t,n);r.setMap(T.current),k.current.push(r)}})),T.current&&j()}),[m,p,h,w]);var P=(0,o.useMemo)((function(){return(0,c.getCompiledStyles)(n,b)}),[n,b]);(0,o.useEffect)((function(){T.current.setOptions({zoom:g,disableDefaultUI:!y,styles:P})}),[y,g,P]);var A=(0,o.useMemo)((function(){return f?{}:{display:"none"}}),[f]);return(0,o.createElement)("div",{className:"novablocks-map"},(0,o.createElement)("div",{className:"novablocks-map__search-box"},(0,o.createElement)(s.Placeholder,{style:A},(0,o.createElement)("input",{type:"text",ref:E,placeholder:(0,l.__)("Enter an address to drop a pin on this map","nova-blocks")}))),(0,o.createElement)("div",{className:"novablocks-map__map-container"},(0,o.createElement)("div",{className:"novablocks-map__map",ref:M,style:null==e||null===(t=e.doppler)||void 0===t?void 0:t.style})))};t.default=f},function(e,t,n){"use strict";var r=n(0),o=n(23);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(1),a=r(n(17)),l=r(n(18)),s=r(n(27)),u=r(n(28)),c=r(n(26)),f=n(3),p=n(9),d=n(107),y=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(37));function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var o=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}var v=function(e){(0,s.default)(n,e);var t=g(n);function n(){var e;return(0,a.default)(this,n),(e=t.apply(this,arguments)).state={apiKey:e.props.apiKey},e}return(0,l.default)(n,[{key:"handleKeyDown",value:function(e){e===d.ENTER&&this.props.saveApiKey(this.state.apiKey)}},{key:"render",value:function(){var e=this,t=this.props.apiKeyInstructions,n=(0,i.createElement)("div",{className:"editor-block-icon block-editor-block-icon"},y.map);return(0,i.createElement)(p.Placeholder,{icon:n,label:(0,f.__)("Location Map of The World","nova-blocks")},t&&(0,i.createElement)("div",{className:"components-placeholder__instructions"},t),(0,i.createElement)(p.TextControl,{className:"components-placeholder__input",placeholder:(0,f.__)("Paste API key here","nova-blocks"),value:this.state.apiKey,onChange:function(t){e.setState({apiKey:t})},onKeyDown:function(t){var n=t.keyCode;e.handleKeyDown(n)}}),(0,i.createElement)(p.Button,{islarge:"true",disabled:!this.state.apiKey,type:"button",onClick:function(){e.props.saveApiKey(e.state.apiKey)}},(0,f.__)("Save","nova-blocks")))}}]),n}(i.Component);t.default=v},function(e,t){e.exports=window.wp.keycodes},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=r(n(11)),a=(r(n(12)),n(2)),l=n(36);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){var t=e.attributes,n=e.apiKey,r=e.options,i=e.selected,s=t.markers,c=t.zoom,f="function"==typeof e.onChange?e.onChange:function(){},p=(0,o.useMemo)((function(){return Array.isArray(s)&&s.length?(0,l.getCenterFromMarkers)(s):new google.maps.LatLng(l.DEFAULT_MAP_CENTER)}),[s]),d=(0,o.useCallback)((function(e){var t=[];return(0,l.compileStyles)(e.styles).forEach((function(e,n,r){var o="";e.stylers&&e.stylers.length>0&&(o+=(e.hasOwnProperty("featureType")?"feature:"+e.featureType:"feature:all")+"|",o+=(e.hasOwnProperty("elementType")?"element:"+e.elementType:"element:all")+"|",e.stylers.forEach((function(e,t,n){var r=Object.keys(e)[0],i=e[r].toString().replace("#","0x");o+=r+":"+i+"|"}))),t.push("style="+encodeURIComponent(o))})),t.join("&")})),y=(0,o.useCallback)((function(e){var t=p.lat(),r=p.lng(),o=d(e);return"".concat("https://maps.googleapis.com/maps/api/staticmap","?center=").concat(t,",").concat(r,"&zoom=").concat(c,"&size=").concat("200x200","&maptype=").concat("roadmap","&").concat(o,"&key=").concat(n)}),[p]),m=(0,o.useMemo)((function(){return r.map((function(e){return u(u({},e),{},{src:y(e)})}))}),[r]);return(0,o.createElement)(a.ImageSelectControl,{selected:i,onChange:f,options:m})};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1),o=n(9),i=function(e){var t=e.attributes,n=e.setAttributes,i=e.clientId,a=t.markers,l=(0,r.useCallback)((function(e,t){var r=a.slice();r[e].name=t,n({markers:r})}),[a]),s=(0,r.useCallback)((function(e){var t=a.slice();t.splice(e,1),n({markers:t})}),[a]);return(0,r.createElement)("div",{className:"novablocks-markers-list"},a.map((function(e,t){return(0,r.createElement)("div",{className:"novablocks-markers-list-item",key:"".concat(i,"-marker-").concat(t)},(0,r.createElement)(o.TextControl,{value:e.name,onChange:function(e){l(t,e)}}),(0,r.createElement)(o.Button,{isDestructive:!0,onClick:function(){s(t)}},"Delete"))})))};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1),o=function(e){return function(t){var n=t.setControlsVisibility;return(0,r.useEffect)((function(){n({"start-frame-panel":!1})}),[]),(0,r.createElement)(e,t)}};t.default=o},function(e){e.exports=JSON.parse('{"align":{"type":"string","default":"center"},"markers":{"type":"array","default":[],"items":{"type":"object"}},"showMarkerLabels":{"type":"boolean","default":false},"showControls":{"type":"boolean","default":false},"showIcons":{"type":"boolean","default":true},"showLabels":{"type":"boolean","default":true},"styleData":{"type":"array","default":[],"items":{"type":"object"}},"styleSlug":{"type":"string","default":"original"},"zoom":{"type":"number","default":17}}')}]); -
nova-blocks/trunk/build/block-library/blocks/header-row/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks-utils', 'wp-block-editor', 'wp-blocks', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => ' f8b60816ced6e22d44b546980e1467e4');1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks-utils', 'wp-block-editor', 'wp-blocks', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => '6cddb253509bdb23f46ba85075ee2beb'); -
nova-blocks/trunk/build/block-library/blocks/header-row/index.js
r2738702 r2744078 1 !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=113)}({0:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},1:function(t,e){t.exports=window.wp.element},10:function(t,e){t.exports=window.novablocks.utils},11:function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.default=t.exports,t.exports.__esModule=!0},113:function(t,e,n){"use strict";var r=n(0),o=n(1),i=r(n(11)),u=(n(3),n(2 5)),a=n(5),s=n(4),c=(n(13),n(2)),l=r(n(114)),f=r(n(115));function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){(0,i.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var h={blockTopSpacing:{type:"number",default:0},emphasisTopSpacing:{type:"number",default:1},emphasisBottomSpacing:{type:"number",default:1}};(0,u.addFilter)("blocks.registerBlockType","novablocks/header-row/attributes-overwrite",(function(t){return"novablocks/header-row"!==t.name?t:p(p({},t),{},{attributes:p(p({},t.attributes),h)})}),Number.MAX_SAFE_INTEGER),(0,a.registerBlockType)("novablocks/header-row",{icon:(0,c.getSvg)(l.default),edit:f.default,save:function(){return(0,o.createElement)(s.InnerBlocks.Content,null)}})},114:function(t,e,n){"use strict";n.r(e);var r=n(6),o=n.n(r),i=n(7),u=n.n(i),a=new o.a({id:"block-library-header-row/icon",use:"block-library-header-row/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-header-row/icon"><path d="M0 12C0 5.373 5.373 0 12 0s12 5.373 12 12-5.373 12-12 12S0 18.627 0 12Z" fill="#6565F2" /><path d="M3 11.857C3 13.041 3.96 14 5.143 14h.584A2.273 2.273 0 0 0 8 11.727v-.804A1.923 1.923 0 0 0 6.077 9h-.22A2.857 2.857 0 0 0 3 11.857Z" fill="#FFE42E" /><path d="M10 11.857c0 1.184.96 2.143 2.143 2.143H18.5a2.5 2.5 0 0 0 0-5h-5.643A2.857 2.857 0 0 0 10 11.857Z" fill="#fff" /></symbol>'});u.a.add(a);e.default=a},115:function(t,e,n){"use strict";var r=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,i=n(1),u=r(n(26)),a=r(n(11)),s=r(n(12)),c=n(4),l=n(10),f=["novablocks/logo","novablocks/navigation"],d=(o=function(t){var e=t.attributes,n=e.align,r=e.slug,o=(0,c.useBlockProps)({className:(0,s.default)("nb-header-row",(0,a.default)({},"nb-header--".concat(r),!!r),(0,l.getColorSignalClassnames)(e,!0),t.className,"alignfull"),style:t.style}),d=(0,s.default)("wp-block","align".concat(n)),p=(0,c.useInnerBlocksProps)({},{allowedBlocks:f,renderAppender:!1,templateLock:"insert"});return(0,i.createElement)("div",o,(0,i.createElement)("div",{className:"nb-header-row__inner-container"},(0,i.createElement)("div",(0,u.default)({},p,{className:d}))))},function(t){var e=t.setControlsVisibility;return(0,i.useEffect)((function(){e({"spacing-children-modifier":!1})}),[]),(0,i.createElement)(o,t)});e.default=d},12:function(t,e,n){var r;1 !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=113)}({0:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},1:function(t,e){t.exports=window.wp.element},10:function(t,e){t.exports=window.novablocks.utils},11:function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.default=t.exports,t.exports.__esModule=!0},113:function(t,e,n){"use strict";var r=n(0),o=n(1),i=r(n(11)),u=(n(3),n(24)),a=n(5),s=n(4),c=(n(13),n(2)),l=r(n(114)),f=r(n(115));function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){(0,i.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var h={blockTopSpacing:{type:"number",default:0},emphasisTopSpacing:{type:"number",default:1},emphasisBottomSpacing:{type:"number",default:1}};(0,u.addFilter)("blocks.registerBlockType","novablocks/header-row/attributes-overwrite",(function(t){return"novablocks/header-row"!==t.name?t:p(p({},t),{},{attributes:p(p({},t.attributes),h)})}),Number.MAX_SAFE_INTEGER),(0,a.registerBlockType)("novablocks/header-row",{icon:(0,c.getSvg)(l.default),edit:f.default,save:function(){return(0,o.createElement)(s.InnerBlocks.Content,null)}})},114:function(t,e,n){"use strict";n.r(e);var r=n(6),o=n.n(r),i=n(7),u=n.n(i),a=new o.a({id:"block-library-header-row/icon",use:"block-library-header-row/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-header-row/icon"><path d="M0 12C0 5.373 5.373 0 12 0s12 5.373 12 12-5.373 12-12 12S0 18.627 0 12Z" fill="#6565F2" /><path d="M3 11.857C3 13.041 3.96 14 5.143 14h.584A2.273 2.273 0 0 0 8 11.727v-.804A1.923 1.923 0 0 0 6.077 9h-.22A2.857 2.857 0 0 0 3 11.857Z" fill="#FFE42E" /><path d="M10 11.857c0 1.184.96 2.143 2.143 2.143H18.5a2.5 2.5 0 0 0 0-5h-5.643A2.857 2.857 0 0 0 10 11.857Z" fill="#fff" /></symbol>'});u.a.add(a);e.default=a},115:function(t,e,n){"use strict";var r=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,i=n(1),u=r(n(25)),a=r(n(11)),s=r(n(12)),c=n(4),l=n(10),f=["novablocks/logo","novablocks/navigation"],d=(o=function(t){var e=t.attributes,n=e.align,r=e.slug,o=(0,c.useBlockProps)({className:(0,s.default)("nb-header-row",(0,a.default)({},"nb-header--".concat(r),!!r),(0,l.getColorSignalClassnames)(e,!0),t.className,"alignfull"),style:t.style}),d=(0,s.default)("wp-block","align".concat(n)),p=(0,c.useInnerBlocksProps)({},{allowedBlocks:f,renderAppender:!1,templateLock:"insert"});return(0,i.createElement)("div",o,(0,i.createElement)("div",{className:"nb-header-row__inner-container"},(0,i.createElement)("div",(0,u.default)({},p,{className:d}))))},function(t){var e=t.setControlsVisibility;return(0,i.useEffect)((function(){e({"spacing-children-modifier":!1})}),[]),(0,i.createElement)(o,t)});e.default=d},12:function(t,e,n){var r; 2 2 /*! 3 3 Copyright (c) 2017 Jed Watson. 4 4 Licensed under the MIT License (MIT), see 5 5 http://jedwatson.github.io/classnames 6 */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)&&r.length){var u=o.apply(null,r);u&&t.push(u)}else if("object"===i)for(var a in r)n.call(r,a)&&r[a]&&t.push(a)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},13:function(t,e){t.exports=window.wp.data},2:function(t,e){t.exports=window.novablocks.blockEditor},2 5:function(t,e){t.exports=window.wp.hooks},26:function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},t.exports.default=t.exports,t.exports.__esModule=!0,n.apply(this,arguments)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},3:function(t,e){t.exports=window.wp.i18n},4:function(t,e){t.exports=window.wp.blockEditor},5:function(t,e){t.exports=window.wp.blocks},6:function(t,e,n){(function(e){var n;n=function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};function n(t,e){return t(e={exports:{}},e.exports),e.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))},"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var r=n((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o;return n&&!0===n.clone&&t(e)?r((o=e,Array.isArray(o)?[]:{}),e,n):e}function n(n,o,i){var u=n.slice();return o.forEach((function(o,a){void 0===u[a]?u[a]=e(o,i):t(o)?u[a]=r(n[a],o,i):-1===n.indexOf(o)&&u.push(e(o,i))})),u}function r(o,i,u){var a=Array.isArray(i),s=(u||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(o)?s(o,i,u):e(i,u):function(n,o,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(o).forEach((function(a){t(o[a])&&n[a]?u[a]=r(n[a],o[a],i):u[a]=e(o[a],i)})),u}(o,i,u)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return r(t,n,e)}))},r}()})),o=n((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=o.svg,u=o.xlink,a={};a[i.name]=i.uri,a[u.name]=u.uri;var s=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(r(a,e||{}))+">"+t+"</svg>"};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(s(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)},t.exports=n()}).call(this,n(8))},7:function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=t((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o;return n&&!0===n.clone&&t(e)?r((o=e,Array.isArray(o)?[]:{}),e,n):e}function n(n,o,i){var u=n.slice();return o.forEach((function(o,a){void 0===u[a]?u[a]=e(o,i):t(o)?u[a]=r(n[a],o,i):-1===n.indexOf(o)&&u.push(e(o,i))})),u}function r(o,i,u){var a=Array.isArray(i),s=(u||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(o)?s(o,i,u):e(i,u):function(n,o,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(o).forEach((function(a){t(o[a])&&n[a]?u[a]=r(n[a],o[a],i):u[a]=e(o[a],i)})),u}(o,i,u)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return r(t,n,e)}))},r}()})),r=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),o=r.svg,i=r.xlink,u={};u[o.name]=o.uri,u[i.name]=i.uri;var a,s=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(n(u,e||{}))+">"+t+"</svg>"},c=r.svg,l=r.xlink,f={attrs:(a={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},a[c.name]=c.uri,a[l.name]=l.uri,a)},d=function(t){this.config=n(f,t||{}),this.symbols=[]};d.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},d.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},d.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},d.prototype.has=function(t){return null!==this.find(t)},d.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map((function(t){return t.stringify()})).join("");return s(e,t)},d.prototype.toString=function(){return this.stringify()},d.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var p=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};p.prototype.stringify=function(){return this.content},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var h=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},y=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return h(s(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(p),v={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},m=function(t){return Array.prototype.slice.call(t,0)},g=function(){return/firefox/i.test(navigator.userAgent)},b=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},w=function(){return/edge/i.test(navigator.userAgent)},x=function(t){return(t||window.location.href).split("#")[0]},_=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,r){var o,i,u;o=t,i={oldUrl:r,newUrl:n},(u=document.createEvent("CustomEvent")).initCustomEvent(o,!1,!1,i),window.dispatchEvent(u)}))}])},E=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern, mask, clipPath"),m(t.querySelectorAll("symbol")).forEach((function(t){m(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t},O=r.xlink.uri,S=/[{}|\\\^\[\]`"<>]/g;function j(t){return t.replace(S,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var k,A=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],M=A.map((function(t){return"["+t+"]"})).join(","),C=function(t,e,n,r){var o=j(n),i=j(r);(function(t,e){return m(t).reduce((function(t,n){if(!n.attributes)return t;var r=m(n.attributes),o=e?r.filter(e):r;return t.concat(o)}),[])})(t.querySelectorAll(M),(function(t){var e=t.localName,n=t.value;return-1!==A.indexOf(e)&&-1!==n.indexOf("url("+o)})).forEach((function(t){return t.value=t.value.replace(new RegExp(o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,e,n){m(t).forEach((function(t){var r=t.getAttribute("xlink:href");if(r&&0===r.indexOf(e)){var o=r.replace(e,n);t.setAttributeNS(O,"xlink:href",o)}}))}(e,o,i)},P="mount",B="symbol_mount",N=function(t){function e(e){var r=this;void 0===e&&(e={}),t.call(this,n(v,e));var o,i=(o=o||Object.create(null),{on:function(t,e){(o[t]||(o[t]=[])).push(e)},off:function(t,e){o[t]&&o[t].splice(o[t].indexOf(e)>>>0,1)},emit:function(t,e){(o[t]||[]).map((function(t){t(e)})),(o["*"]||[]).map((function(n){n(t,e)}))}});this._emitter=i,this.node=null;var u=this.config;if(u.autoConfigure&&this._autoConfigure(e),u.syncUrlsWithBaseTag){var a=document.getElementsByTagName("base")[0].getAttribute("href");i.on(P,(function(){return r.updateUrls("#",a)}))}var s=this._handleLocationChange.bind(this);this._handleLocationChange=s,u.listenLocationChangeEvent&&window.addEventListener(u.locationChangeEvent,s),u.locationChangeAngularEmitter&&_(u.locationChangeEvent),i.on(P,(function(t){u.moveGradientsOutsideSymbol&&E(t)})),i.on(B,(function(t){var e;u.moveGradientsOutsideSymbol&&E(t.parentNode),(b()||w())&&(e=[],m(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})))}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=g())},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,r=e.newUrl;this.updateUrls(n,r)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit(B,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var r="string"==typeof t?document.querySelector(t):t;return n.node=r,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(B,t.node)})),m(r.querySelectorAll("symbol")).forEach((function(t){var e=y.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(P,r),r},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach((function(t){return t.destroy()})),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){if(void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1),this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,r=this.render();return this.node=r,e&&n.childNodes[0]?n.insertBefore(r,n.childNodes[0]):n.appendChild(r),this._emitter.emit(P,r),r},e.prototype.render=function(){return h(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return C(this.node,n,x(t)+"#",x(e)+"#"),!0},Object.defineProperties(e.prototype,r),e}(d),T=t((function(t){var e,n,r,o,i;t.exports=(n=[],r=document,o=r.documentElement.doScroll,(i=(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState))||r.addEventListener("DOMContentLoaded",e=function(){for(r.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),function(t){i?setTimeout(t,0):n.push(t)})}));window.__SVG_SPRITE__?k=window.__SVG_SPRITE__:(k=new N({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=k);var L=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?k.attach(t):k.mount(document.body,!0)};return document.body?L():T(L),k},t.exports=n()}).call(this,n(8))},8:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n}});6 */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)&&r.length){var u=o.apply(null,r);u&&t.push(u)}else if("object"===i)for(var a in r)n.call(r,a)&&r[a]&&t.push(a)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},13:function(t,e){t.exports=window.wp.data},2:function(t,e){t.exports=window.novablocks.blockEditor},24:function(t,e){t.exports=window.wp.hooks},25:function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},t.exports.default=t.exports,t.exports.__esModule=!0,n.apply(this,arguments)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},3:function(t,e){t.exports=window.wp.i18n},4:function(t,e){t.exports=window.wp.blockEditor},5:function(t,e){t.exports=window.wp.blocks},6:function(t,e,n){(function(e){var n;n=function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};function n(t,e){return t(e={exports:{}},e.exports),e.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))},"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var r=n((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o;return n&&!0===n.clone&&t(e)?r((o=e,Array.isArray(o)?[]:{}),e,n):e}function n(n,o,i){var u=n.slice();return o.forEach((function(o,a){void 0===u[a]?u[a]=e(o,i):t(o)?u[a]=r(n[a],o,i):-1===n.indexOf(o)&&u.push(e(o,i))})),u}function r(o,i,u){var a=Array.isArray(i),s=(u||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(o)?s(o,i,u):e(i,u):function(n,o,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(o).forEach((function(a){t(o[a])&&n[a]?u[a]=r(n[a],o[a],i):u[a]=e(o[a],i)})),u}(o,i,u)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return r(t,n,e)}))},r}()})),o=n((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=o.svg,u=o.xlink,a={};a[i.name]=i.uri,a[u.name]=u.uri;var s=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(r(a,e||{}))+">"+t+"</svg>"};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(s(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)},t.exports=n()}).call(this,n(8))},7:function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=t((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o;return n&&!0===n.clone&&t(e)?r((o=e,Array.isArray(o)?[]:{}),e,n):e}function n(n,o,i){var u=n.slice();return o.forEach((function(o,a){void 0===u[a]?u[a]=e(o,i):t(o)?u[a]=r(n[a],o,i):-1===n.indexOf(o)&&u.push(e(o,i))})),u}function r(o,i,u){var a=Array.isArray(i),s=(u||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(o)?s(o,i,u):e(i,u):function(n,o,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(o).forEach((function(a){t(o[a])&&n[a]?u[a]=r(n[a],o[a],i):u[a]=e(o[a],i)})),u}(o,i,u)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return r(t,n,e)}))},r}()})),r=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),o=r.svg,i=r.xlink,u={};u[o.name]=o.uri,u[i.name]=i.uri;var a,s=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(n(u,e||{}))+">"+t+"</svg>"},c=r.svg,l=r.xlink,f={attrs:(a={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},a[c.name]=c.uri,a[l.name]=l.uri,a)},d=function(t){this.config=n(f,t||{}),this.symbols=[]};d.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},d.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},d.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},d.prototype.has=function(t){return null!==this.find(t)},d.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map((function(t){return t.stringify()})).join("");return s(e,t)},d.prototype.toString=function(){return this.stringify()},d.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var p=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};p.prototype.stringify=function(){return this.content},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var h=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},y=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return h(s(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(p),v={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},m=function(t){return Array.prototype.slice.call(t,0)},g=function(){return/firefox/i.test(navigator.userAgent)},b=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},w=function(){return/edge/i.test(navigator.userAgent)},x=function(t){return(t||window.location.href).split("#")[0]},_=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,r){var o,i,u;o=t,i={oldUrl:r,newUrl:n},(u=document.createEvent("CustomEvent")).initCustomEvent(o,!1,!1,i),window.dispatchEvent(u)}))}])},E=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern, mask, clipPath"),m(t.querySelectorAll("symbol")).forEach((function(t){m(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t},O=r.xlink.uri,S=/[{}|\\\^\[\]`"<>]/g;function j(t){return t.replace(S,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var k,A=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],M=A.map((function(t){return"["+t+"]"})).join(","),C=function(t,e,n,r){var o=j(n),i=j(r);(function(t,e){return m(t).reduce((function(t,n){if(!n.attributes)return t;var r=m(n.attributes),o=e?r.filter(e):r;return t.concat(o)}),[])})(t.querySelectorAll(M),(function(t){var e=t.localName,n=t.value;return-1!==A.indexOf(e)&&-1!==n.indexOf("url("+o)})).forEach((function(t){return t.value=t.value.replace(new RegExp(o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,e,n){m(t).forEach((function(t){var r=t.getAttribute("xlink:href");if(r&&0===r.indexOf(e)){var o=r.replace(e,n);t.setAttributeNS(O,"xlink:href",o)}}))}(e,o,i)},P="mount",B="symbol_mount",N=function(t){function e(e){var r=this;void 0===e&&(e={}),t.call(this,n(v,e));var o,i=(o=o||Object.create(null),{on:function(t,e){(o[t]||(o[t]=[])).push(e)},off:function(t,e){o[t]&&o[t].splice(o[t].indexOf(e)>>>0,1)},emit:function(t,e){(o[t]||[]).map((function(t){t(e)})),(o["*"]||[]).map((function(n){n(t,e)}))}});this._emitter=i,this.node=null;var u=this.config;if(u.autoConfigure&&this._autoConfigure(e),u.syncUrlsWithBaseTag){var a=document.getElementsByTagName("base")[0].getAttribute("href");i.on(P,(function(){return r.updateUrls("#",a)}))}var s=this._handleLocationChange.bind(this);this._handleLocationChange=s,u.listenLocationChangeEvent&&window.addEventListener(u.locationChangeEvent,s),u.locationChangeAngularEmitter&&_(u.locationChangeEvent),i.on(P,(function(t){u.moveGradientsOutsideSymbol&&E(t)})),i.on(B,(function(t){var e;u.moveGradientsOutsideSymbol&&E(t.parentNode),(b()||w())&&(e=[],m(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})))}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=g())},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,r=e.newUrl;this.updateUrls(n,r)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit(B,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var r="string"==typeof t?document.querySelector(t):t;return n.node=r,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(B,t.node)})),m(r.querySelectorAll("symbol")).forEach((function(t){var e=y.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(P,r),r},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach((function(t){return t.destroy()})),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){if(void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1),this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,r=this.render();return this.node=r,e&&n.childNodes[0]?n.insertBefore(r,n.childNodes[0]):n.appendChild(r),this._emitter.emit(P,r),r},e.prototype.render=function(){return h(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return C(this.node,n,x(t)+"#",x(e)+"#"),!0},Object.defineProperties(e.prototype,r),e}(d),T=t((function(t){var e,n,r,o,i;t.exports=(n=[],r=document,o=r.documentElement.doScroll,(i=(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState))||r.addEventListener("DOMContentLoaded",e=function(){for(r.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),function(t){i?setTimeout(t,0):n.push(t)})}));window.__SVG_SPRITE__?k=window.__SVG_SPRITE__:(k=new N({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=k);var L=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?k.attach(t):k.mount(document.body,!0)};return document.body?L():T(L),k},t.exports=n()}).call(this,n(8))},8:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n}}); -
nova-blocks/trunk/build/block-library/blocks/header-row/style-rtl.css
r2726064 r2744078 1 @media not screen and (min-width:1024px){.nb-header-row{--header-background-opacity:0;--nb-block-top-spacing:0!important;--nb-block-bottom-spacing:0!important;--nb-emphasis-top-spacing:0!important;--nb-emphasis-bottom-spacing:0!important;display:flex;flex-direction:column}.nb-header-row .nb-navigation--primary{order:-1}:is(.nb-header-row,.more.specfic){--sm-current-bg-color:inherit;--sm-current-fg1-color:inherit;--sm-current-fg2-color:inherit;--sm-current-accent-color:inherit}.nb-header-row--primary{order:-1}}.nb-header-row{margin-bottom:0;margin-top:0;padding:0 var(--nb-wrapper-sides-spacings);position:relative;z-index:10}:is(.nb-header-row__inner-container,.specificity.x2.x3.x4){padding-left:0;padding-right:0}.nb-header-row__inner-container[class]>.wp-block.alignfull[class]{margin-left:0;margin-right:0}@media only screen and (min-width:1024px){.nb-header-row__inner-container[class]>.wp-block{align-items:center;-moz-column-gap:var(--nb-navigation-item-spacing);column-gap:var(--nb-navigation-item-spacing);display:flex}.nb-header-row__inner-container[class]>.wp-block>:first-child:not(:last-child),.nb-header-row__inner-container[class]>.wp-block>:last-child:not(:first-child){flex:1 1 50%}.nb-header-row__inner-container[class]>.wp-block>:not(:first-child):not(:last-child),.nb-header-row__inner-container[class]>.wp-block>:only-child{flex:1 0 auto}.nb-header-row__inner-container[class]>.wp-block>*{ --justify-content:center}.nb-header-row__inner-container[class]>.wp-block>*,.nb-header-row__inner-container[class]>.wp-block>* .nb-navigation{justify-content:var(--justify-content)}.nb-header-row__inner-container[class]>.wp-block>:first-child:not(:last-child){--justify-content:flex-start}.nb-header-row__inner-container[class]>.wp-block>:last-child:not(:first-child){--justify-content:flex-end}.nb-header-row__inner-container[class]>.wp-block>[class*=branding][class][class][class]{flex-basis:auto}.nb-header-row__inner-container[class]>.wp-block>[class*=nb-navigation][class][class][class]{flex-grow:1}.nb-header[class] .nb-header-row:not(.nb-header-row--primary){--nb-navigation-item-spacing:1.25em}}1 @media not screen and (min-width:1024px){.nb-header-row{--header-background-opacity:0;--nb-block-top-spacing:0!important;--nb-block-bottom-spacing:0!important;--nb-emphasis-top-spacing:0!important;--nb-emphasis-bottom-spacing:0!important;display:flex;flex-direction:column}.nb-header-row .nb-navigation--primary{order:-1}:is(.nb-header-row,.more.specfic){--sm-current-bg-color:inherit;--sm-current-fg1-color:inherit;--sm-current-fg2-color:inherit;--sm-current-accent-color:inherit}.nb-header-row--primary{order:-1}}.nb-header-row{margin-bottom:0;margin-top:0;padding:0 var(--nb-wrapper-sides-spacings);position:relative;z-index:10}:is(.nb-header-row__inner-container,.specificity.x2.x3.x4){padding-left:0;padding-right:0}.nb-header-row__inner-container[class]>.wp-block.alignfull[class]{margin-left:0;margin-right:0}@media only screen and (min-width:1024px){.nb-header-row__inner-container[class]>.wp-block{align-items:center;-moz-column-gap:var(--nb-navigation-item-spacing);column-gap:var(--nb-navigation-item-spacing);display:flex}.nb-header-row__inner-container[class]>.wp-block>:first-child:not(:last-child),.nb-header-row__inner-container[class]>.wp-block>:last-child:not(:first-child){flex:1 1 50%}.nb-header-row__inner-container[class]>.wp-block>:not(:first-child):not(:last-child),.nb-header-row__inner-container[class]>.wp-block>:only-child{flex:1 0 auto}.nb-header-row__inner-container[class]>.wp-block>*{justify-content:var(--justify-content,center)}.nb-header-row__inner-container[class]>.wp-block>:first-child:not(:last-child){--justify-content:flex-start}.nb-header-row__inner-container[class]>.wp-block>:last-child:not(:first-child){--justify-content:flex-end}.nb-header-row__inner-container[class]>.wp-block>[class*=branding][class][class][class]{flex-basis:auto}.nb-header-row__inner-container[class]>.wp-block>[class*=nb-navigation][class][class][class]{flex-grow:1}.nb-header[class] .nb-header-row:not(.nb-header-row--primary){--nb-navigation-item-spacing:1.25em}} -
nova-blocks/trunk/build/block-library/blocks/header-row/style.css
r2726064 r2744078 1 @media not screen and (min-width:1024px){.nb-header-row{--header-background-opacity:0;--nb-block-top-spacing:0!important;--nb-block-bottom-spacing:0!important;--nb-emphasis-top-spacing:0!important;--nb-emphasis-bottom-spacing:0!important;display:flex;flex-direction:column}.nb-header-row .nb-navigation--primary{order:-1}:is(.nb-header-row,.more.specfic){--sm-current-bg-color:inherit;--sm-current-fg1-color:inherit;--sm-current-fg2-color:inherit;--sm-current-accent-color:inherit}.nb-header-row--primary{order:-1}}.nb-header-row{margin-bottom:0;margin-top:0;padding:0 var(--nb-wrapper-sides-spacings);position:relative;z-index:10}:is(.nb-header-row__inner-container,.specificity.x2.x3.x4){padding-left:0;padding-right:0}.nb-header-row__inner-container[class]>.wp-block.alignfull[class]{margin-left:0;margin-right:0}@media only screen and (min-width:1024px){.nb-header-row__inner-container[class]>.wp-block{align-items:center;-moz-column-gap:var(--nb-navigation-item-spacing);column-gap:var(--nb-navigation-item-spacing);display:flex}.nb-header-row__inner-container[class]>.wp-block>:first-child:not(:last-child),.nb-header-row__inner-container[class]>.wp-block>:last-child:not(:first-child){flex:1 1 50%}.nb-header-row__inner-container[class]>.wp-block>:not(:first-child):not(:last-child),.nb-header-row__inner-container[class]>.wp-block>:only-child{flex:1 0 auto}.nb-header-row__inner-container[class]>.wp-block>*{ --justify-content:center}.nb-header-row__inner-container[class]>.wp-block>*,.nb-header-row__inner-container[class]>.wp-block>* .nb-navigation{justify-content:var(--justify-content)}.nb-header-row__inner-container[class]>.wp-block>:first-child:not(:last-child){--justify-content:flex-start}.nb-header-row__inner-container[class]>.wp-block>:last-child:not(:first-child){--justify-content:flex-end}.nb-header-row__inner-container[class]>.wp-block>[class*=branding][class][class][class]{flex-basis:auto}.nb-header-row__inner-container[class]>.wp-block>[class*=nb-navigation][class][class][class]{flex-grow:1}.nb-header[class] .nb-header-row:not(.nb-header-row--primary){--nb-navigation-item-spacing:1.25em}}1 @media not screen and (min-width:1024px){.nb-header-row{--header-background-opacity:0;--nb-block-top-spacing:0!important;--nb-block-bottom-spacing:0!important;--nb-emphasis-top-spacing:0!important;--nb-emphasis-bottom-spacing:0!important;display:flex;flex-direction:column}.nb-header-row .nb-navigation--primary{order:-1}:is(.nb-header-row,.more.specfic){--sm-current-bg-color:inherit;--sm-current-fg1-color:inherit;--sm-current-fg2-color:inherit;--sm-current-accent-color:inherit}.nb-header-row--primary{order:-1}}.nb-header-row{margin-bottom:0;margin-top:0;padding:0 var(--nb-wrapper-sides-spacings);position:relative;z-index:10}:is(.nb-header-row__inner-container,.specificity.x2.x3.x4){padding-left:0;padding-right:0}.nb-header-row__inner-container[class]>.wp-block.alignfull[class]{margin-left:0;margin-right:0}@media only screen and (min-width:1024px){.nb-header-row__inner-container[class]>.wp-block{align-items:center;-moz-column-gap:var(--nb-navigation-item-spacing);column-gap:var(--nb-navigation-item-spacing);display:flex}.nb-header-row__inner-container[class]>.wp-block>:first-child:not(:last-child),.nb-header-row__inner-container[class]>.wp-block>:last-child:not(:first-child){flex:1 1 50%}.nb-header-row__inner-container[class]>.wp-block>:not(:first-child):not(:last-child),.nb-header-row__inner-container[class]>.wp-block>:only-child{flex:1 0 auto}.nb-header-row__inner-container[class]>.wp-block>*{justify-content:var(--justify-content,center)}.nb-header-row__inner-container[class]>.wp-block>:first-child:not(:last-child){--justify-content:flex-start}.nb-header-row__inner-container[class]>.wp-block>:last-child:not(:first-child){--justify-content:flex-end}.nb-header-row__inner-container[class]>.wp-block>[class*=branding][class][class][class]{flex-basis:auto}.nb-header-row__inner-container[class]>.wp-block>[class*=nb-navigation][class][class][class]{flex-grow:1}.nb-header[class] .nb-header-row:not(.nb-header-row--primary){--nb-navigation-item-spacing:1.25em}} -
nova-blocks/trunk/build/block-library/blocks/header/frontend.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-core/frontend', 'novablocks-utils', 'wp- dom-ready', 'wp-polyfill'), 'version' => '2ddfd52ff9119874d61397e0ce45b418');1 <?php return array('dependencies' => array('novablocks-core/frontend', 'novablocks-utils', 'wp-polyfill'), 'version' => 'e4dbb04e30d4d302cfd77340c5e0a164'); -
nova-blocks/trunk/build/block-library/blocks/header/frontend.js
r2738702 r2744078 1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=116)}([function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},,,,,,,,,,function(e,t){e.exports=window.novablocks.utils},,,,,function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t ){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(15);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(20),o=n(21),i=n(17),s=n(22);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||s()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,i=[],s=!0,a=!1;try{for(n=n.call(e);!(s=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);s=!0);}catch(e){a=!0,o=e}finally{try{s||null==n.return||n.return()}finally{if(a)throw o}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},,,function(e,t,n){var r=n(31);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(23).default,o=n(30);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.domReady},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,n(t,r)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(33),o=n(34),i=n(17),s=n(35);e.exports=function(e){return r(e)||o(e)||i(e)||s()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(15);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},,,,function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(16)),i=r(n(18)),s=n(10),a=(r(n(29)),function(){function e(){(0,o.default)(this,e),this.staticDistance=0,this.stickyDistance=0,this.isSticky=!1,this.adminBar=document.querySelector("#wpadminbar")}return(0,i.default)(e,[{key:"initialize",value:function(){(0,s.addClass)(this.element,"nb-header--ready"),(0,s.onScrollRAF)(this.maybeUpdateStickyStyles.bind(this));var e=(0,s.debounce)(this.onResize.bind(this),100);window.addEventListener("resize",e)}},{key:"onResize",value:function(){var e,t;if(this.element.style.removeProperty("position"),this.element.style.removeProperty("top"),this.box=this.element.getBoundingClientRect(),this.adminBarHeight=null!==(e=null===(t=this.adminBar)||void 0===t?void 0:t.offsetHeight)&&void 0!==e?e:0,this.adminBarFixed=!1,this.adminBar){var n=window.getComputedStyle(this.adminBar);this.adminBarFixed="fixed"===n.getPropertyValue("position")}this.staticDistance=window.pageYOffset+this.box.top,this.stickyDistance=this.adminBarFixed?this.adminBarHeight:0,document.documentElement.style.setProperty("--theme-sticky-distance","".concat(this.stickyDistance,"px"))}},{key:"getHeight",value:function(){var e;return null==this||null===(e=this.box)||void 0===e?void 0:e.height}},{key:"maybeUpdateStickyStyles",value:function(e){var t,n=e>this.staticDistance-this.stickyDistance;this.shouldBeSticky!==n&&(this.shouldBeSticky=n,null===(t=this.updateStickyStyles)||void 0===t||t.call(this))}},{key:"updateStickyStyles",value:function(e){this.applyStickyStyles(this.element,e)}},{key:"applyStickyStyles",value:function(e,t){var n=null!=e?e:this.element;(0,s.toggleClass)(e,"nb-header--sticky",this.shouldBeSticky),this.shouldBeSticky?(n.style.position="fixed",n.style.top="".concat(this.stickyDistance,"px")):(n.style.position="absolute",n.style.top="".concat(this.staticDistance,"px"))}}]),e}());t.default=a},,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(16)),i=r(n(18)),s=n(10),a=n(64),l=function(){function e(t,n,r){(0,o.default)(this,e),this.element=t,this.initialColorsSource=n||t,this.transparentColorsSource=r||this.getFirstUsefulBlock(),this.initializeColors()}return(0,i.default)(e,[{key:"getFirstBlock",value:function(){var e=document.querySelector(".site-main .hentry");if(!e)return null;var t=(0,s.getFirstChild)(e);if((0,s.hasClass)(t,"nb-sidecar")){var n=t.querySelector(".nb-sidecar-area--content");return n?(0,s.getFirstChild)(n):t}return null}},{key:"getFirstUsefulBlock",value:function(){var e=this.getFirstBlock();if(!e)return null;var t=e.dataset;return(0,s.hasClass)(e,"alignfull")?(0,s.hasClass)(e,"nb-supernova")&&0===parseInt(t.imagePadding,10)&&"stacked"===t.cardLayout&&!e.querySelector(".nb-collection__header")?e.querySelector(".nb-supernova-item"):e:null}},{key:"initializeColors",value:function(){this.initialColorClasses=(0,a.getColorSetClasses)(this.initialColorsSource).join(" "),this.transparentColorClasses=this.initialColorClasses,this.transparentColorsSource&&(this.transparentColorClasses=(0,a.getColorSetClasses)(this.transparentColorsSource).filter((function(e){return"sm-color-signal-0"!==e})).join(" "))}},{key:"toggleColors",value:function(e){(0,a.toggleClasses)(this.element,e?this.transparentColorClasses:this.initialColorClasses)}}]),e}();t.default=l},,,,,,,,,function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.toggleClasses=t.getColorSetClasses=void 0;var o=r(n(32)),i=n(10);t.getColorSetClasses=function(e){var t=null==e?void 0:e.getAttribute("class");return t?t.split(/\s+/).filter((function(e){return e.includes("sm-color-signal-")||e.includes("sm-palette-")||e.includes("sm-variation-")||e.includes("sm-dark")||e.includes("sm-light")})):[]};t.toggleClasses=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=["sm-palette-","sm-variation-","sm-color-signal-","sm-dark","sm-light"],s=Array.from(e.classList).filter((function(e){return r.some((function(t){return e.indexOf(t)>-1}))}));(t=e.classList).remove.apply(t,(0,o.default)(s)),(0,i.addClass)(e,n)}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.initializeReadingBar=void 0;var o=r(n(19)),i=n(10);t.initializeReadingBar=function(e){var t=e.querySelector(".nb-header-row"),n=document.querySelector(".js-reading-bar"),r=document.querySelector(".js-reading-progress");if(n){s(e),t&&n&&(n.style.display="block",t.appendChild(n)),r&&(r.style.display="block",e.appendChild(r));var l=a(),u=(0,o.default)(l,2),c=u[0],d=u[1],f=!1,p=!1;(0,i.onScrollRAF)((function(t,n){var o=(0,i.clamp)((t-c)/(d-c),0,1),s=t>n&&t>c,a=s&&o<.75,l=s&&!a;f!==a&&((0,i.toggleClass)(e,"nb-header--reading",a&&(0,i.above)("lap")),f=a),p!==l&&((0,i.toggleClass)(e,"nb-header--next",l&&(0,i.above)("lap")),p=l),r&&r.style.setProperty("--progress",o)}))}};var s=function(e){var t=document.querySelector(".js-sticky-menu-trigger");t&&t.addEventListener("click",(function(){(0,i.removeClass)(e,"nb-header--reading nb-header--next")}))},a=function(){var e=document.querySelector(".wp-block-post-title, .entry-title"),t=document.querySelector(".wp-block-post-content, .entry-content, #primary, main"),n=e?e.offsetTop+e.offsetHeight:t.offsetTop,r=t?t.offsetTop+t.offsetHeight:document.body.scrollHeight,o=document.querySelector(".article-header, .post-navigation, .novablocks-conversations"),i=Array.from(null!=o?o:[]).reduce((function(e,t){return e+t.offsetHeight}),0),s=n;return[s,Math.max(s,r-i-window.innerHeight)]}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(0);n(117);var o=n(10),i=r(n(118));(0,o.ready)((function(){Array.from(document.querySelectorAll(".nb-header")).map((function(e){return new i.default(e)}))}))},function(e,t){e.exports=window.novablocks["core/frontend"]},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(32)),i=r(n(16)),s=r(n(18)),a=r(n(30)),l=r(n(27)),u=r(n(28)),c=r(n(24)),d=n(10),f=r(n(39)),p=r(n(119)),h=(r(n(121)),r(n(55))),y=r(n(122)),m=n(65);function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var o=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}var v=function(e){(0,l.default)(n,e);var t=g(n);function n(e){var r;return(0,i.default)(this,n),r=t.call(this),e?(r.element=e,r.adjacentElement=r.getAdjacentElement(e),r.adjacentElementTargetChild=r.findProperElement(r.adjacentElement),r.colorsElement=r.findColorsElement(r.adjacentElementTargetChild),r.paddingTopTargets=r.findPaddingTopTargets(r.adjacentElementTargetChild),r.gatherPromoBars(),(0,d.addClass)(r.adjacentElementTargetChild,"nb-header-neighbour"),r.rows=r.getHeaderRows(),r.isSimple=["logo-left","logo-center"].includes(e.dataset.layout),r.isSticky=r.isSimple&&!!r.rows.find((function(e){return e.element.dataset.isSticky})),r.mobileHeader=new p.default((0,a.default)(r)),r.isSimple||(r.stickyHeader=new y.default(r.element)),r.isSticky&&(0,m.initializeReadingBar)(r.element),r.onResize(),r.initialize(),r.toggleRowsColors(!0),(0,d.addClass)(r.element,"nb-header--transparent"),r):(0,u.default)(r)}return(0,s.default)(n,[{key:"gatherPromoBars",value:function(){var e=this,t=document.querySelectorAll(".novablocks-announcement-bar, .nb-header");this.promoBars=[];var n=!1;t.forEach((function(t){t===e.element&&(n=!0),n||e.promoBars.push(t)}))}},{key:"updatePromoBarsHeight",value:function(){var e=0;this.promoBars.forEach((function(t){e+=t.offsetHeight})),document.body.style.setProperty("--nb-promo-bar-height","".concat(e,"px"))}},{key:"getHeight",value:function(){return(0,d.below)("lap")?this.mobileHeader.getHeight():f.default.prototype.getHeight.call(this)}},{key:"applyPaddingTopToTargets",value:function(){for(var e=this,t=0,n=[],r=this.adjacentElementTargetChild;r!==this.adjacentElement;r=r.parentNode)n.push(r);n.push(this.adjacentElement),n.forEach((function(e){e.style.paddingTop="",e.style.marginTop=""})),n.forEach((function(e){var n=window.getComputedStyle(e),r=parseInt(n.getPropertyValue("padding-top"),10),o=parseInt(n.getPropertyValue("margin-top"),10);t=t+r+o,e.style.paddingTop=0,e.style.marginTop=0})),this.adjacentElementTargetChild.style.setProperty("--nb-header-height","".concat(this.getHeight(),"px")),this.paddingTopTargets.forEach((function(n){var r="".concat(t+e.getHeight(),"px");n.style.setProperty("--nb-header-neighbour-padding-top",r),n.style.paddingTop=r}))}},{key:"onResize",value:function(){var e=window.pageYOffset;(0,d.above)("lap")&&(f.default.prototype.onResize.call(this),this.element.style.position="absolute",this.element.style.top="".concat(this.staticDistance,"px")),this.isSticky&&document.documentElement.style.setProperty("--theme-sticky-header-height","".concat(this.getHeight(),"px")),this.applyPaddingTopToTargets(),this.updatePromoBarsHeight(),this.updateStickyStyles(e)}},{key:"getHeaderRows",value:function(){var e=this,t=this.element.querySelectorAll(".nb-header-row");return t?Array.from(t).map((function(t){return new h.default(t,t,e.colorsElement)})):[]}},{key:"getAdjacentElement",value:function(e){var t=e.nextElementSibling,n=[".c-menu-toggle",".c-menu-toggle__checkbox","script","style"].join(", ");return t?(0,d.matches)(t,n)?this.getAdjacentElement(t):t:this.getAdjacentElement(e.parentElement)}},{key:"findProperElement",value:function(e,t){var n=e.dataset,r=n.paletteVariation?parseInt(n.paletteVariation,10):1,o=!!n.useSourceColorAsReference,i=1!==r||o;if((0,d.matches)(e,"main, .wp-block-group.alignfull, .wp-block-query, .wp-block-post-content")&&!i)return this.findProperElement(e.firstElementChild,e);if((0,d.matches)(e,".nb-sidecar")&&1===e.children.length&&(0,d.matches)(e.firstElementChild,".nb-sidecar-area--content")){var s=e.firstElementChild.firstElementChild;if(s)return this.findProperElement(s,e)}return!(0,d.matches)(e,".alignfull")&&i&&t?t:e}},{key:"findColorsElement",value:function(e){if((0,d.hasClass)(e,"nb-sidecar")){var t=Array.from(e.children).filter((function(e){return(0,d.hasClass)(e,"nb-sidecar-area--content")}));if(t.length){var n=t[0].firstElementChild;if(n&&(0,d.hasClass)(n,"nb-sidecar"))return this.findColorsElement(n)}}if((0,d.hasClass)(e,"nb-supernova")){var r=window.getComputedStyle(e).getPropertyValue("padding-top");if(0===parseInt(r,10))return e.querySelector(".nb-supernova-item")}return e}},{key:"findPaddingTopTargets",value:function(e){if((0,d.hasClass)(e,"nb-sidecar")){return function e(t){var n=Array.from(t.children),r=n.filter((function(e){return(0,d.hasClass)(e,"nb-sidecar-area--content")})),i=[],s=n.filter((function(e){return(0,d.hasClass)(e,"nb-sidecar-area--sidebar")})),a=r.length&&r[0].firstElementChild;return a&&(0,d.hasClass)(a,"nb-sidecar")?i.push.apply(i,(0,o.default)(e(a))):i.push.apply(i,(0,o.default)(r)),[].concat(i,(0,o.default)(s))}(e)}if((0,d.hasClass)(e,"nb-supernova")){var t=e.dataset,n=e.querySelector(".nb-collection__header"),r=0!==parseInt(t.imagePadding,10),i="stacked"===t.cardLayout,s="carousel"===t.layoutStyle;if(!n&&!r&&i){var a=Array.from(e.querySelectorAll(".nb-supernova-item__inner-container"));return s?a:a.slice(0,1)}}return[e]}},{key:"toggleRowsColors",value:function(e){this.rows.forEach((function(t){t.toggleColors(e)}))}},{key:"applyStickyStyles",value:function(e,t){this.isSticky&&(0,d.above)("lap")&&(f.default.prototype.applyStickyStyles.call(this,e,t),this.toggleRowsColors(!this.shouldBeSticky))}},{key:"getIntroTimeline",value:function(){var e=this,t=gsap.timeline({paused:!0}),n=this.element.offsetHeight;return t.to(this.element,{duration:.5,opacity:1,ease:"power4.inOut"},0),t.to({height:0},{duration:.5,height:n,onUpdate:function(){var t=this.targets();Array.isArray(t)&&t.length&&(e.box=Object.assign({},e.box,{height:t[0].height}),e.onResize())},onUpdateParams:["{self}"],ease:"power4.inOut"},0),t}}]),n}(f.default);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(16)),i=r(n(18)),s=r(n(27)),a=r(n(28)),l=r(n(24)),u=n(10),c=n(64),d=r(n(39)),f=r(n(55)),p=r(n(120));function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var o=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,a.default)(this,n)}}var y=function(e){(0,s.default)(n,e);var t=h(n);function n(e){var r;return(0,o.default)(this,n),(r=t.call(this)).parent=e,r.parentContainer=e.element.querySelector(".nb-header__inner-container"),r.initialize(),r.onResize(),r}return(0,i.default)(n,[{key:"initialize",value:function(){this.initializeMenuToggle(),this.createMobileHeader();var e=this.parent.rows.find((function(e){return e.element.querySelector(".site-logo")}));this.headerClasses=(0,c.getColorSetClasses)(this.parent.element).join(" "),this.colors=new f.default(this.element,null==e?void 0:e.element,this.parent.colorsElement),this.menuToggleColors=new f.default(this.menuToggle.element,null==e?void 0:e.element,this.parent.colorsElement),d.default.prototype.initialize.call(this)}},{key:"initializeMenuToggle",value:function(){var e=document.getElementById("nova-menu-toggle");this.navigationIsOpen=e.checked,this.menuToggle=new p.default(e,{onChange:this.onToggleChange.bind(this)})}},{key:"createMobileHeader",value:function(){this.element=document.createElement("div"),this.element.setAttribute("class","nb-header--mobile nb-header-background nb-header-shadow"),this.element.setAttribute("style",this.parent.element.getAttribute("style")),(0,u.addClass)(this.element,"nb-header--transparent"),this.copyElementFromParent(".c-branding"),this.copyElementFromParent(".menu-item--cart"),this.menuToggle.element.insertAdjacentElement("afterend",this.element),this.createButtonMenu()}},{key:"createButtonMenu",value:function(){var e=this,t=0;this.buttonMenu=document.createElement("ul"),(0,u.addClass)(this.buttonMenu,"menu menu--buttons");if([".menu-item--search",".menu-item--dark-mode"].forEach((function(n){var r=e.parent.element.querySelector(n);if(r){var o=r.cloneNode(!0);e.buttonMenu.appendChild(o),t+=1}})),t){var n=document.createElement("div");(0,u.addClass)(n,"wp-block-nb-navigation");var r=document.createElement("div");(0,u.addClass)(r,"nb-header__buttons-menu"),n.appendChild(this.buttonMenu),r.appendChild(n),this.parent.element.appendChild(r)}}},{key:"updateStickyStyles",value:function(){(0,u.below)("lap")&&(this.applyStickyStyles(this.element),this.applyStickyStyles(this.parent.element),this.applyStickyStyles(this.menuToggle.element),this.colors.toggleColors(!this.shouldBeSticky),this.updateToggleClasses())}},{key:"onResize",value:function(){d.default.prototype.onResize.call(this),this.update();var e=window.pageYOffset;this.updateStickyStyles(e)}},{key:"update",value:function(){this.element.style.top="".concat(this.stickyDistance,"px"),this.menuToggle.element.style.height="".concat(this.box.height,"px"),this.parentContainer.style.paddingTop="".concat(this.box.height,"px"),this.buttonMenu.style.height="".concat(this.box.height,"px")}},{key:"onToggleChange",value:function(e,t){var n=e.target.checked;document.body.style.overflow=n?"hidden":"",this.navigationIsOpen=!!n,this.updateToggleClasses()}},{key:"updateToggleClasses",value:function(){this.navigationIsOpen?((0,u.removeClass)(this.menuToggle.element,"".concat(this.menuToggleColors.transparentColorClasses," ").concat(this.menuToggleColors.initialColorClasses)),(0,u.addClass)(this.menuToggle.element,this.headerClasses)):((0,u.removeClass)(this.menuToggle.element,this.headerClasses),this.menuToggleColors.toggleColors(!this.shouldBeSticky))}},{key:"copyElementFromParent",value:function(e){var t=this.parent.element.querySelector(e),n=null==t?void 0:t.cloneNode(!0);n&&this.element.appendChild(n)}}]),n}(d.default);t.default=y},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(16)),i=r(n(18)),s=function(){function e(t,n){(0,o.default)(this,e);var r=t.getAttribute("id"),i=document.querySelectorAll('[for="'.concat(r,'"]')),s={onChange:this.onChange};this.options=Object.assign({},s,n),this.input=t,this.element=i.length?i[0]:null,this.bindEvents()}return(0,i.default)(e,[{key:"bindEvents",value:function(){var e=this;this.input.addEventListener("change",(function(t){e.options.onChange.call(e,t,e)}))}},{key:"onChange",value:function(e,t){}},{key:"getHeight",value:function(){var e;return(null==this||null===(e=this.element)||void 0===e?void 0:e.offsetHeight)||0}}]),e}();t.default=s},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(16)),i=r(n(27)),s=r(n(28)),a=r(n(24)),l=r(n(39)),u=r(n(55));function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,a.default)(e);if(t){var o=(0,a.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}var d=function(e){(0,i.default)(n,e);var t=c(n);function n(e){var r;return(0,o.default)(this,n),(r=t.call(this)).element=e,r.colors=new u.default(r.element),r}return n}(l.default);t.default=d},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(16)),i=r(n(18)),s=r(n(123)),a=r(n(27)),l=r(n(28)),u=r(n(24)),c=n(10),d=r(n(39)),f=n(65);function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var o=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}var h=function(e){(0,a.default)(n,e);var t=p(n);function n(e){var r;return(0,o.default)(this,n),(r=t.call(this)).initialize(e),r}return(0,i.default)(n,[{key:"initialize",value:function(e){var t=e.cloneNode();t.innerHTML='<div class="nb-header__inner-container"></div>';var r=t.firstChild;(0,c.removeClass)(t,"nb-header--main"),(0,c.addClass)(t,"nb-header--secondary");var o=Array.from(e.querySelectorAll(".nb-header-row")),i=o.find((function(e){return e.dataset.isSticky})),a=o.find((function(e){return e.dataset.isPrimary}));if(!i)return!1;this.stickyRow=i,i&&r.appendChild(i.cloneNode(!0)),a&&a!==i&&r.appendChild(a.cloneNode(!0)),e.insertAdjacentElement("beforebegin",t),this.element=t,this.onResize(),(0,s.default)((0,u.default)(n.prototype),"initialize",this).call(this),(0,f.initializeReadingBar)(this.element)}},{key:"onResize",value:function(){(0,s.default)((0,u.default)(n.prototype),"onResize",this).call(this),this.staticDistance+=this.stickyRow.offsetTop,document.documentElement.style.setProperty("--theme-sticky-header-height","".concat(this.getHeight(),"px")),this.element.style.position="fixed",this.element.style.top="".concat(this.stickyDistance,"px")}},{key:"updateStickyStyles",value:function(){(0,c.toggleClass)(this.element,"is-visible",this.shouldBeSticky)}}]),n}(d.default);t.default=h},function(e,t,n){var r=n(124);function o(t,n,i){return"undefined"!=typeof Reflect&&Reflect.get?(e.exports=o=Reflect.get,e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=o=function(e,t,n){var o=r(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(n):i.value}},e.exports.default=e.exports,e.exports.__esModule=!0),o(t,n,i||t)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(24);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e},e.exports.default=e.exports,e.exports.__esModule=!0}]);1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=116)}([function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},,,,,,,,,,function(e,t){e.exports=window.novablocks.utils},,,,,function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(15);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(20),o=n(21),i=n(16),s=n(22);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||s()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,i=[],s=!0,a=!1;try{for(n=n.call(e);!(s=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);s=!0);}catch(e){a=!0,o=e}finally{try{s||null==n.return||n.return()}finally{if(a)throw o}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},,,function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(31);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(23).default,o=n(30);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},,function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,n(t,r)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(33),o=n(34),i=n(16),s=n(35);e.exports=function(e){return r(e)||o(e)||i(e)||s()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(15);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(18)),s=n(10),a=function(){function e(){(0,o.default)(this,e),this.staticDistance=0,this.stickyDistance=0,this.isSticky=!1,this.adminBar=document.querySelector("#wpadminbar")}return(0,i.default)(e,[{key:"initialize",value:function(){(0,s.addClass)(this.element,"nb-header--ready"),(0,s.onScrollRAF)(this.maybeUpdateStickyStyles.bind(this));var e=(0,s.debounce)(this.onResize.bind(this),100);window.addEventListener("resize",e)}},{key:"onResize",value:function(){var e,t;if(this.element.style.removeProperty("position"),this.element.style.removeProperty("top"),this.box=this.element.getBoundingClientRect(),this.adminBarHeight=null!==(e=null===(t=this.adminBar)||void 0===t?void 0:t.offsetHeight)&&void 0!==e?e:0,this.adminBarFixed=!1,this.adminBar){var n=window.getComputedStyle(this.adminBar);this.adminBarFixed="fixed"===n.getPropertyValue("position")}this.staticDistance=window.pageYOffset+this.box.top,this.stickyDistance=this.adminBarFixed?this.adminBarHeight:0,document.documentElement.style.setProperty("--theme-sticky-distance","".concat(this.stickyDistance,"px"))}},{key:"getHeight",value:function(){var e;return null==this||null===(e=this.box)||void 0===e?void 0:e.height}},{key:"maybeUpdateStickyStyles",value:function(e){var t,n=e>this.staticDistance-this.stickyDistance;this.shouldBeSticky!==n&&(this.shouldBeSticky=n,null===(t=this.updateStickyStyles)||void 0===t||t.call(this))}},{key:"updateStickyStyles",value:function(e){this.applyStickyStyles(this.element,e)}},{key:"applyStickyStyles",value:function(e,t){var n=null!=e?e:this.element;(0,s.toggleClass)(e,"nb-header--sticky",this.shouldBeSticky),this.shouldBeSticky?(n.style.position="fixed",n.style.top="".concat(this.stickyDistance,"px")):(n.style.position="absolute",n.style.top="".concat(this.staticDistance,"px"))}}]),e}();t.default=a},,,,,,,,,function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.toggleClasses=t.getColorSetClasses=void 0;var o=r(n(32)),i=n(10);t.getColorSetClasses=function(e){var t=null==e?void 0:e.getAttribute("class");return t?t.split(/\s+/).filter((function(e){return e.includes("sm-color-signal-")||e.includes("sm-palette-")||e.includes("sm-variation-")||e.includes("sm-dark")||e.includes("sm-light")})):[]};t.toggleClasses=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=["sm-palette-","sm-variation-","sm-color-signal-","sm-dark","sm-light"],s=Array.from(e.classList).filter((function(e){return r.some((function(t){return e.indexOf(t)>-1}))}));(t=e.classList).remove.apply(t,(0,o.default)(s)),(0,i.addClass)(e,n)}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(18)),s=n(10),a=n(63),l=function(){function e(t,n,r){(0,o.default)(this,e),this.element=t,this.initialColorsSource=n||t,this.transparentColorsSource=r||this.getFirstUsefulBlock(),this.initializeColors()}return(0,i.default)(e,[{key:"getFirstBlock",value:function(){var e=document.querySelector(".site-main .hentry");if(!e)return null;var t=(0,s.getFirstChild)(e);if((0,s.hasClass)(t,"nb-sidecar")){var n=t.querySelector(".nb-sidecar-area--content");return n?(0,s.getFirstChild)(n):t}return null}},{key:"getFirstUsefulBlock",value:function(){var e=this.getFirstBlock();if(!e)return null;var t=e.dataset;return(0,s.hasClass)(e,"alignfull")?(0,s.hasClass)(e,"nb-supernova")&&0===parseInt(t.imagePadding,10)&&"stacked"===t.cardLayout&&!e.querySelector(".nb-collection__header")?e.querySelector(".nb-supernova-item"):e:null}},{key:"initializeColors",value:function(){this.initialColorClasses=(0,a.getColorSetClasses)(this.initialColorsSource).join(" "),this.transparentColorClasses=this.initialColorClasses,this.transparentColorsSource&&(this.transparentColorClasses=(0,a.getColorSetClasses)(this.transparentColorsSource).filter((function(e){return"sm-color-signal-0"!==e})).join(" "))}},{key:"toggleColors",value:function(e){(0,a.toggleClasses)(this.element,e?this.transparentColorClasses:this.initialColorClasses)}}]),e}();t.default=l},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.initializeReadingBar=void 0;var o=r(n(19)),i=n(10);t.initializeReadingBar=function(e){var t=e.querySelector(".nb-header-row"),n=document.querySelector(".js-reading-bar"),r=document.querySelector(".js-reading-progress");if(n){s(e),t&&n&&(n.style.display="block",t.appendChild(n)),r&&(r.style.display="block",e.appendChild(r));var l=a(),u=(0,o.default)(l,2),c=u[0],d=u[1],f=!1,p=!1;(0,i.onScrollRAF)((function(t,n){var o=(0,i.clamp)((t-c)/(d-c),0,1),s=t>n&&t>c,a=s&&o<.75,l=s&&!a;f!==a&&((0,i.toggleClass)(e,"nb-header--reading",a&&(0,i.above)("lap")),f=a),p!==l&&((0,i.toggleClass)(e,"nb-header--next",l&&(0,i.above)("lap")),p=l),r&&r.style.setProperty("--progress",o)}))}};var s=function(e){var t=document.querySelector(".js-sticky-menu-trigger");t&&t.addEventListener("click",(function(){(0,i.removeClass)(e,"nb-header--reading nb-header--next")}))},a=function(){var e=document.querySelector(".wp-block-post-title, .entry-title"),t=document.querySelector(".wp-block-post-content, .entry-content, #primary, main"),n=e?e.offsetTop+e.offsetHeight:t.offsetTop,r=t?t.offsetTop+t.offsetHeight:document.body.scrollHeight,o=document.querySelector(".article-header, .post-navigation, .novablocks-conversations"),i=Array.from(null!=o?o:[]).reduce((function(e,t){return e+t.offsetHeight}),0),s=n;return[s,Math.max(s,r-i-window.innerHeight)]}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(0);n(117);var o=n(10),i=r(n(118));(0,o.ready)((function(){Array.from(document.querySelectorAll(".nb-header")).map((function(e){return new i.default(e)}))}))},function(e,t){e.exports=window.novablocks["core/frontend"]},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(32)),i=r(n(17)),s=r(n(18)),a=r(n(30)),l=r(n(27)),u=r(n(28)),c=r(n(26)),d=n(10),f=r(n(54)),p=r(n(119)),h=r(n(64)),y=r(n(121)),m=n(65);function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var o=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}var v=function(e){(0,l.default)(n,e);var t=g(n);function n(e){var r;return(0,i.default)(this,n),r=t.call(this),e?(r.element=e,r.adjacentElement=r.getAdjacentElement(e),r.adjacentElementTargetChild=r.findProperElement(r.adjacentElement),r.colorsElement=r.findColorsElement(r.adjacentElementTargetChild),r.paddingTopTargets=r.findPaddingTopTargets(r.adjacentElementTargetChild),r.gatherPromoBars(),(0,d.addClass)(r.adjacentElementTargetChild,"nb-header-neighbour"),r.rows=r.getHeaderRows(),r.isSimple=["logo-left","logo-center"].includes(e.dataset.layout),r.isSticky=r.isSimple&&!!r.rows.find((function(e){return e.element.dataset.isSticky})),r.mobileHeader=new p.default((0,a.default)(r)),r.isSimple||(r.stickyHeader=new y.default(r.element)),r.isSticky&&(0,m.initializeReadingBar)(r.element),r.onResize(),r.initialize(),r.toggleRowsColors(!0),(0,d.addClass)(r.element,"nb-header--transparent"),r):(0,u.default)(r)}return(0,s.default)(n,[{key:"gatherPromoBars",value:function(){var e=this,t=document.querySelectorAll(".novablocks-announcement-bar, .nb-header");this.promoBars=[];var n=!1;t.forEach((function(t){t===e.element&&(n=!0),n||e.promoBars.push(t)}))}},{key:"updatePromoBarsHeight",value:function(){var e=0;this.promoBars.forEach((function(t){e+=t.offsetHeight})),document.body.style.setProperty("--nb-promo-bar-height","".concat(e,"px"))}},{key:"getHeight",value:function(){return(0,d.below)("lap")?this.mobileHeader.getHeight():f.default.prototype.getHeight.call(this)}},{key:"applyPaddingTopToTargets",value:function(){for(var e=this,t=0,n=[],r=this.adjacentElementTargetChild;r!==this.adjacentElement;r=r.parentNode)n.push(r);n.push(this.adjacentElement),n.forEach((function(e){e.style.paddingTop="",e.style.marginTop=""})),n.forEach((function(e){var n=window.getComputedStyle(e),r=parseInt(n.getPropertyValue("padding-top"),10),o=parseInt(n.getPropertyValue("margin-top"),10);t=t+r+o,e.style.paddingTop=0,e.style.marginTop=0})),this.adjacentElementTargetChild.style.setProperty("--nb-header-height","".concat(this.getHeight(),"px")),this.paddingTopTargets.forEach((function(n){var r="".concat(t+e.getHeight(),"px");n.style.setProperty("--nb-header-neighbour-padding-top",r),n.style.paddingTop=r}))}},{key:"onResize",value:function(){var e=window.pageYOffset;(0,d.above)("lap")&&(f.default.prototype.onResize.call(this),this.element.style.position="absolute",this.element.style.top="".concat(this.staticDistance,"px")),this.isSticky&&document.documentElement.style.setProperty("--theme-sticky-header-height","".concat(this.getHeight(),"px")),this.applyPaddingTopToTargets(),this.updatePromoBarsHeight(),this.updateStickyStyles(e)}},{key:"getHeaderRows",value:function(){var e=this,t=this.element.querySelectorAll(".nb-header-row");return t?Array.from(t).map((function(t){return new h.default(t,t,e.colorsElement)})):[]}},{key:"getAdjacentElement",value:function(e){var t=e.nextElementSibling,n=[".c-menu-toggle",".c-menu-toggle__checkbox","script","style"].join(", ");return t?(0,d.matches)(t,n)?this.getAdjacentElement(t):t:this.getAdjacentElement(e.parentElement)}},{key:"findProperElement",value:function(e,t){var n=e.dataset,r=n.paletteVariation?parseInt(n.paletteVariation,10):1,o=!!n.useSourceColorAsReference,i=1!==r||o;if((0,d.matches)(e,"main, .wp-block-group.alignfull, .wp-block-query, .wp-block-post-content")&&!i)return this.findProperElement(e.firstElementChild,e);if((0,d.matches)(e,".nb-sidecar")&&1===e.children.length&&(0,d.matches)(e.firstElementChild,".nb-sidecar-area--content")){var s=e.firstElementChild.firstElementChild;if(s)return this.findProperElement(s,e)}return!(0,d.matches)(e,".alignfull")&&i&&t?t:(0,d.matches)(e,'[class*="sm-palette-"]')?e:e.closest('[class*="sm-palette-"]')}},{key:"findColorsElement",value:function(e){if((0,d.hasClass)(e,"nb-sidecar")){var t=Array.from(e.children).filter((function(e){return(0,d.hasClass)(e,"nb-sidecar-area--content")}));if(t.length){var n=t[0].firstElementChild;if(n&&(0,d.hasClass)(n,"nb-sidecar"))return this.findColorsElement(n)}}if((0,d.hasClass)(e,"nb-supernova")){var r=window.getComputedStyle(e).getPropertyValue("padding-top");if(0===parseInt(r,10))return e.querySelector(".nb-supernova-item")}return e}},{key:"findPaddingTopTargets",value:function(e){if((0,d.hasClass)(e,"nb-sidecar")){return function e(t){var n=Array.from(t.children),r=n.filter((function(e){return(0,d.hasClass)(e,"nb-sidecar-area--content")})),i=[],s=n.filter((function(e){return(0,d.hasClass)(e,"nb-sidecar-area--sidebar")})),a=r.length&&r[0].firstElementChild;return a&&(0,d.hasClass)(a,"nb-sidecar")?i.push.apply(i,(0,o.default)(e(a))):i.push.apply(i,(0,o.default)(r)),[].concat(i,(0,o.default)(s))}(e)}if((0,d.hasClass)(e,"nb-supernova")){var t=e.dataset,n=e.querySelector(".nb-collection__header"),r=0!==parseInt(t.imagePadding,10),i="stacked"===t.cardLayout,s="carousel"===t.layoutStyle;if(!n&&!r&&i){var a=Array.from(e.querySelectorAll(".nb-supernova-item__inner-container"));return s?a:a.slice(0,1)}}return[e]}},{key:"toggleRowsColors",value:function(e){this.rows.forEach((function(t){t.toggleColors(e)}))}},{key:"applyStickyStyles",value:function(e,t){this.isSticky&&(0,d.above)("lap")&&(f.default.prototype.applyStickyStyles.call(this,e,t),this.toggleRowsColors(!this.shouldBeSticky))}},{key:"getIntroTimeline",value:function(){var e=this,t=gsap.timeline({paused:!0}),n=this.element.offsetHeight;return t.to(this.element,{duration:.5,opacity:1,ease:"power4.inOut"},0),t.to({height:0},{duration:.5,height:n,onUpdate:function(){var t=this.targets();Array.isArray(t)&&t.length&&(e.box=Object.assign({},e.box,{height:t[0].height}),e.onResize())},onUpdateParams:["{self}"],ease:"power4.inOut"},0),t}}]),n}(f.default);t.default=v},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(18)),s=r(n(27)),a=r(n(28)),l=r(n(26)),u=n(10),c=n(63),d=r(n(54)),f=r(n(64)),p=r(n(120));function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var o=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,a.default)(this,n)}}var y=function(e){(0,s.default)(n,e);var t=h(n);function n(e){var r;return(0,o.default)(this,n),(r=t.call(this)).parent=e,r.parentContainer=e.element.querySelector(".nb-header__inner-container"),r.initialize(),r.onResize(),r}return(0,i.default)(n,[{key:"initialize",value:function(){this.initializeMenuToggle(),this.createMobileHeader();var e=this.parent.rows.find((function(e){return e.element.querySelector(".site-logo")}));this.headerClasses=(0,c.getColorSetClasses)(this.parent.element).join(" "),this.colors=new f.default(this.element,null==e?void 0:e.element,this.parent.colorsElement),this.menuToggleColors=new f.default(this.menuToggle.element,null==e?void 0:e.element,this.parent.colorsElement),d.default.prototype.initialize.call(this)}},{key:"initializeMenuToggle",value:function(){var e=document.getElementById("nova-menu-toggle");this.navigationIsOpen=e.checked,this.menuToggle=new p.default(e,{onChange:this.onToggleChange.bind(this)})}},{key:"createMobileHeader",value:function(){this.element=document.createElement("div"),this.element.setAttribute("class","nb-header--mobile nb-header-background nb-header-shadow"),this.element.setAttribute("style",this.parent.element.getAttribute("style")),(0,u.addClass)(this.element,"nb-header--transparent"),this.copyElementFromParent(".c-branding"),this.copyElementFromParent(".menu-item--cart"),this.menuToggle.element.insertAdjacentElement("afterend",this.element),this.createButtonMenu()}},{key:"createButtonMenu",value:function(){var e=this,t=0;this.buttonMenu=document.createElement("ul"),(0,u.addClass)(this.buttonMenu,"menu menu--buttons");if([".menu-item--search",".menu-item--dark-mode"].forEach((function(n){var r=e.parent.element.querySelector(n);if(r){var o=r.cloneNode(!0);e.buttonMenu.appendChild(o),t+=1}})),t){var n=document.createElement("div");(0,u.addClass)(n,"wp-block-nb-navigation");var r=document.createElement("div");(0,u.addClass)(r,"nb-header__buttons-menu"),n.appendChild(this.buttonMenu),r.appendChild(n),this.parent.element.appendChild(r)}}},{key:"updateStickyStyles",value:function(){(0,u.below)("lap")&&(this.applyStickyStyles(this.element),this.applyStickyStyles(this.parent.element),this.applyStickyStyles(this.menuToggle.element),this.colors.toggleColors(!this.shouldBeSticky),this.updateToggleClasses())}},{key:"onResize",value:function(){d.default.prototype.onResize.call(this),this.update();var e=window.pageYOffset;this.updateStickyStyles(e)}},{key:"update",value:function(){this.element.style.top="".concat(this.stickyDistance,"px"),this.menuToggle.element.style.height="".concat(this.box.height,"px"),this.parentContainer.style.paddingTop="".concat(this.box.height,"px"),this.buttonMenu.style.height="".concat(this.box.height,"px")}},{key:"onToggleChange",value:function(e,t){var n=e.target.checked;document.body.style.overflow=n?"hidden":"",this.navigationIsOpen=!!n,this.updateToggleClasses()}},{key:"updateToggleClasses",value:function(){this.navigationIsOpen?((0,u.removeClass)(this.menuToggle.element,"".concat(this.menuToggleColors.transparentColorClasses," ").concat(this.menuToggleColors.initialColorClasses)),(0,u.addClass)(this.menuToggle.element,this.headerClasses)):((0,u.removeClass)(this.menuToggle.element,this.headerClasses),this.menuToggleColors.toggleColors(!this.shouldBeSticky))}},{key:"copyElementFromParent",value:function(e){var t=this.parent.element.querySelector(e),n=null==t?void 0:t.cloneNode(!0);n&&this.element.appendChild(n)}}]),n}(d.default);t.default=y},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(18)),s=function(){function e(t,n){(0,o.default)(this,e);var r=t.getAttribute("id"),i=document.querySelectorAll('[for="'.concat(r,'"]')),s={onChange:this.onChange};this.options=Object.assign({},s,n),this.input=t,this.element=i.length?i[0]:null,this.bindEvents()}return(0,i.default)(e,[{key:"bindEvents",value:function(){var e=this;this.input.addEventListener("change",(function(t){e.options.onChange.call(e,t,e)}))}},{key:"onChange",value:function(e,t){}},{key:"getHeight",value:function(){var e;return(null==this||null===(e=this.element)||void 0===e?void 0:e.offsetHeight)||0}}]),e}();t.default=s},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(18)),s=r(n(122)),a=r(n(27)),l=r(n(28)),u=r(n(26)),c=n(10),d=r(n(54)),f=n(65);function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var o=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}var h=function(e){(0,a.default)(n,e);var t=p(n);function n(e){var r;return(0,o.default)(this,n),(r=t.call(this)).initialize(e),r}return(0,i.default)(n,[{key:"initialize",value:function(e){var t=e.cloneNode();t.innerHTML='<div class="nb-header__inner-container"></div>';var r=t.firstChild;(0,c.removeClass)(t,"nb-header--main"),(0,c.addClass)(t,"nb-header--secondary");var o=Array.from(e.querySelectorAll(".nb-header-row")),i=o.find((function(e){return e.dataset.isSticky})),a=o.find((function(e){return e.dataset.isPrimary}));if(!i)return!1;this.stickyRow=i,i&&r.appendChild(i.cloneNode(!0)),a&&a!==i&&r.appendChild(a.cloneNode(!0)),e.insertAdjacentElement("beforebegin",t),this.element=t,this.onResize(),(0,s.default)((0,u.default)(n.prototype),"initialize",this).call(this),(0,f.initializeReadingBar)(this.element)}},{key:"onResize",value:function(){(0,s.default)((0,u.default)(n.prototype),"onResize",this).call(this),this.staticDistance+=this.stickyRow.offsetTop,document.documentElement.style.setProperty("--theme-sticky-header-height","".concat(this.getHeight(),"px")),this.element.style.position="fixed",this.element.style.top="".concat(this.stickyDistance,"px")}},{key:"updateStickyStyles",value:function(){(0,c.toggleClass)(this.element,"is-visible",this.shouldBeSticky)}}]),n}(d.default);t.default=h},function(e,t,n){var r=n(123);function o(t,n,i){return"undefined"!=typeof Reflect&&Reflect.get?(e.exports=o=Reflect.get,e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=o=function(e,t,n){var o=r(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(n):i.value}},e.exports.default=e.exports,e.exports.__esModule=!0),o(t,n,i||t)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(26);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e},e.exports.default=e.exports,e.exports.__esModule=!0}]); -
nova-blocks/trunk/build/block-library/blocks/header/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks-utils', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => ' 6207ab9d727e17102e7dfd08f7324fc4');1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks-utils', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => 'ca4e33bb17de78af84389934ad1584f2'); -
nova-blocks/trunk/build/block-library/blocks/header/index.js
r2738702 r2744078 1 !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=12 5)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},10:function(e,t){e.exports=window.novablocks.utils},11:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},12:function(e,t,n){var o;1 !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=124)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},10:function(e,t){e.exports=window.novablocks.utils},11:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},12:function(e,t,n){var o; 2 2 /*! 3 3 Copyright (c) 2017 Jed Watson. 4 4 Licensed under the MIT License (MIT), see 5 5 http://jedwatson.github.io/classnames 6 */!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===i)for(var l in o)n.call(o,l)&&o[l]&&e.push(l)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},12 5:function(e,t,n){"use strict";var o=n(0),r=n(1),i=o(n(11)),a=n(5),l=(n(13),n(4)),u=n(25),c=n(2),s=o(n(126)),p=o(n(127)),d=o(n(132)),f=o(n(133));function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y={blockTopSpacing:{type:"number",default:0}};(0,u.addFilter)("blocks.registerBlockType","novablocks/header/attributes-overwrite",(function(e){return"novablocks/header"!==e.name?e:h(h({},e),{},{attributes:h(h({},e.attributes),y)})}),Number.MAX_SAFE_INTEGER),(0,a.registerBlockType)("novablocks/header",{icon:(0,c.getSvg)(s.default),variations:d.default,deprecated:f.default,attributes:{align:{type:"string",default:"full"},layout:{type:"string",default:"logo-left"},logoHeight:{type:"number",default:30},mobileLogoHeight:{type:"number",default:24},navigationLinkSpacing:{type:"number",default:32},headerSidesSpacing:{type:"number",default:50},stickyHeaderSpacingMultiplier:{type:"number",default:.375}},edit:p.default,save:function(){return(0,r.createElement)(l.InnerBlocks.Content,null)}})},126:function(e,t,n){"use strict";n.r(t);var o=n(6),r=n.n(o),i=n(7),a=n.n(i),l=new r.a({id:"block-library-header/icon",use:"block-library-header/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-header/icon"><path d="M0 12C0 5.373 5.373 0 12 0s12 5.373 12 12-5.373 12-12 12S0 18.627 0 12Z" fill="#6565F2" /><path d="M4.537 9.275c0 .528.428.956.956.956h.261c.56 0 1.015-.454 1.015-1.014v-.359A.858.858 0 0 0 5.91 8h-.098c-.704 0-1.275.57-1.275 1.275ZM8.769 9.275c0 .528.428.956.956.956h.26c.561 0 1.015-.454 1.015-1.014v-.359A.858.858 0 0 0 10.142 8h-.098c-.705 0-1.275.57-1.275 1.275Z" fill="#FFE42E" /><path d="M13 9.143c0 .473.384.857.857.857H18a1 1 0 1 0 0-2h-3.857C13.512 8 13 8.512 13 9.143ZM4 13.898a3.333 3.333 0 0 0 3.333 3.333h9.334A3.333 3.333 0 0 0 20 13.898c0-.92-.746-1.667-1.667-1.667H5.667c-.92 0-1.667.747-1.667 1.667Z" fill="#fff" /></symbol>'});a.a.add(l);t.default=l},127:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=n(1),a=o(n(11)),l=o(n(12)),u=(n(3),n(4)),c=n(2),s=n(128);o(n(131));function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f,g=null!==(r=wp.blockEditor.useInnerBlocksProps)&&void 0!==r?r:wp.blockEditor.__experimentalUseInnerBlocksProps,h=(f=function(e){var t=e.attributes,n=(e.setAttributes,e.clientId),o=t.layout,r=t.logoHeight,a=t.mobileLogoHeight,p=t.navigationLinkSpacing,f=t.headerSidesSpacing,h=t.stickyHeaderSpacingMultiplier,y=(0,c.useInnerBlocks)(n),m=(0,u.useBlockProps)({className:(0,l.default)("nb-header","nb-header-".concat(o),e.className,"alignfull"),style:d(d({},e.style),{},{"--nb-header-logo-height-setting":r,"--nb-mobile-header-logo-height-setting":a,"--nb-navigation-item-spacing-setting":p,"--nb-header-sides-spacing-setting":f,"--nb-sticky-header-spacing-multiplier":h})}),v=g({className:"nb-header__inner-container"},{renderAppender:!1,allowedBlocks:["novablocks/header-row"]});return y.length?(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.HeaderBlockControls,e),(0,i.createElement)(s.HeaderInspectorControls,e),(0,i.createElement)("div",m,(0,i.createElement)("div",v))):(0,i.createElement)(c.VariationPicker,e)},function(e){var t=e.setControlsVisibility;return(0,i.useEffect)((function(){t({"space-and-sizing-presets":!1,"space-and-sizing-customize":!1,"block-spacing":!1})}),[]),(0,i.createElement)(f,e)});t.default=h},128:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeaderBlockControls",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"HeaderInspectorControls",{enumerable:!0,get:function(){return r.default}});var r=o(n(129)),i=o(n(130))},129:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1),i=o(n(19)),a=n(3),l=n(9),u=n(13),c=n(2),s=n(10),p=function(e){var t=e.attributes,n=e.setAttributes,o=t.logoHeight,i=t.mobileLogoHeight,u=t.navigationLinkSpacing,s=t.headerSidesSpacing,p=t.stickyHeaderSpacingMultiplier;return(0,r.createElement)(c.ControlsGroup,null,(0,r.createElement)(l.RangeControl,{label:(0,a.__)("Logo Height","nova-blocks"),help:(0,a.__)("Adjust the height of your logo.","nova-blocks"),value:o,onChange:function(e){return n({logoHeight:e})},min:20,max:200,step:1}),(0,r.createElement)(l.RangeControl,{label:(0,a.__)("Mobile Logo Height","nova-blocks"),help:(0,a.__)("Adjust the height of your logo on small screens.","nova-blocks"),value:i,onChange:function(e){return n({mobileLogoHeight:e})},min:14,max:80,step:1}),(0,r.createElement)(l.RangeControl,{label:(0,a.__)("Navigation Link Spacing","nova-blocks"),help:(0,a.__)("Adjust the spacing between individual items in your navigation.","nova-blocks"),value:u,onChange:function(e){return n({navigationLinkSpacing:e})},min:0,max:100,step:1}),(0,r.createElement)(l.RangeControl,{label:(0,a.__)("Header Sides Spacing","nova-blocks"),help:(0,a.__)("Adjust the space separating the header and the sides of the browser.","nova-blocks"),value:s,onChange:function(e){return n({headerSidesSpacing:e})},min:0,max:100,step:1}),(0,r.createElement)(l.RangeControl,{label:(0,a.__)("Sticky Header Spacing Multiplier","nova-blocks"),help:(0,a.__)("Adjust the vertical spacing for the sticky header on scroll.","nova-blocks"),value:p,onChange:function(e){return n({stickyHeaderSpacingMultiplier:e})},min:0,max:1,step:.125}))},d=function(e){var t=e.clientId,n=(0,c.useInnerBlocks)(t),o=(0,u.useDispatch)("core/block-editor").updateBlockAttributes,d=(0,r.useCallback)((function(e){n.forEach((function(t){o(t.clientId,{isSticky:t.clientId===e})}))}),[n]),f=(0,u.useSelect)((function(e){return e("core/block-editor").getBlock(t)}),[t]).innerBlocks,g=f.map((function(e){return{label:(0,s.capitalizeFirstLetter)(e.attributes.label),value:e.clientId}})),h=f.find((function(e){return e.attributes.isSticky})),y=(0,r.useState)(null==h?void 0:h.clientId),m=(0,i.default)(y,2),v=m[0],b=m[1],_=novablocks_urls.novablocks_customizer_header_link;return(0,r.createElement)(c.ControlsSection,{id:"layout",label:(0,a.__)("Header Layout","nova-blocks"),key:"header_layout"},(0,r.createElement)(c.ControlsTab,{label:(0,a.__)("Settings","nova-blocks"),key:"header_layout_settings"},(0,r.createElement)(c.ControlsGroup,null,(0,r.createElement)(c.Notice,{key:"header-position-quick-start",id:"nb-header-position-quick-start",content:(0,r.createElement)("p",null,(0,r.createElement)("strong",null,(0,a.__)("Quick start:","nova-blocks"))," ",(0,r.createInterpolateElement)((0,a.__)("Set up your header layout using the options below and go to the <a>Customizer</a> to change the logo and menu content.","nova-blocks"),{a:(0,r.createElement)("a",{href:_})})," ")}),(0,r.createElement)(l.RadioControl,{key:"header-position-scroll",label:(0,a.__)("Header Position on Scroll","nova-blocks"),selected:h?"sticky":"static",onChange:function(e){if("sticky"===e){var t=v||f[0].clientId;d(t)}else d()},options:[{label:(0,a.__)("Static","nova-blocks"),value:"static"},{label:(0,a.__)("Sticky (fixed)","nova-blocks"),value:"sticky"}]}),!!h&&f.length>1&&(0,r.createElement)(l.RadioControl,{key:"sticky-header-controls",label:(0,a.__)("Sticky Row Selection","nova-blocks"),help:(0,a.__)("Select which row stay fixed on scroll.","nova-blocks"),selected:h.clientId,options:g,onChange:function(e){b(e),d(e)}})),(0,r.createElement)(p,e)))};t.default=d},13:function(e,t){e.exports=window.wp.data},130:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),r=n(13),i=n(4),a=n(9),l=n(3),u=function(e){var t=e.clientId,n=(0,r.useDispatch)("core/block-editor").replaceInnerBlocks,u=(0,o.useCallback)((function(){n(t,[])}),[t]);return(0,o.createElement)(i.BlockControls,null,(0,o.createElement)(a.Toolbar,{group:"block"},(0,o.createElement)(a.IconButton,{className:"components-icon-button components-toolbar__control",label:(0,l.__)("Change Layout","nova-blocks"),onClick:u,icon:"edit"})))};t.default=u},131:function(e,t,n){"use strict";var o=n(23);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(3),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=i?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(r,l,u):r[l]=e[l]}r.default=e,n&&n.set(e,r);return r}(n(66));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}var l=[{title:(0,r.__)("Logo on the left side and one navigation menu","nova-blocks"),name:"logo-left",icon:i.logoLeft,template:[["novablocks/logo"],["novablocks/navigation",{className:"nb-navigation nb-navigation--primary",slug:"primary"}]]},{title:(0,r.__)("Logo centered and one navigation menu on each side","nova-blocks"),name:"logo-center",icon:i.logoCenter,template:[["novablocks/navigation",{className:"nb-navigation nb-navigation--primary",slug:"primary"}],["novablocks/logo"],["novablocks/navigation",{className:"nb-navigation nb-navigation--secondary",slug:"secondary"}]]}];t.default=l},132:function(e,t,n){"use strict";var o=n(23);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=i?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(r,l,u):r[l]=e[l]}r.default=e,n&&n.set(e,r);return r}(n(66)),i=n(3);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}var l=[{name:"logo-left",title:(0,i.__)("Logo left with one menu on the right.","nova-blocks"),icon:r.logoLeft,attributes:{layout:"logo-left",logoHeight:30},innerBlocks:[["novablocks/header-row",{slug:"primary",label:(0,i.__)("Primary Navigation","nova-blocks"),isPrimary:!0,blockTopSpacing:0,blockBottomSpacing:0,emphasisTopSpacing:1,emphasisBottomSpacing:1},[["novablocks/logo"],["novablocks/navigation",{slug:"primary"}]]]],scope:["block"]},{name:"logo-center",title:(0,i.__)("Logo centered with one menu on the left and one menu on the right.","nova-blocks"),icon:r.logoCenter,attributes:{layout:"logo-center",logoHeight:30},innerBlocks:[["novablocks/header-row",{slug:"primary",label:(0,i.__)("Primary Navigation","nova-blocks"),isPrimary:!0,blockTopSpacing:0,blockBottomSpacing:0,emphasisTopSpacing:1,emphasisBottomSpacing:1},[["novablocks/navigation",{slug:"primary"}],["novablocks/logo"],["novablocks/navigation",{slug:"secondary"}]]]],scope:["block"]},{name:"logo-center-two-rows",title:(0,i.__)("Two Rows Header with centered logo and three menus.","nova-blocks"),icon:r.logoCenterTwoRows,attributes:{layout:"logo-center-two-rows",logoHeight:105,stickyHeaderSpacingMultiplier:.25},innerBlocks:[["novablocks/header-row",{slug:"logo",label:(0,i.__)("Site Identity / Logo","nova-blocks"),blockTopSpacing:0,blockBottomSpacing:0,emphasisTopSpacing:2,emphasisBottomSpacing:2},[["novablocks/navigation",{slug:"secondary"}],["novablocks/logo"],["novablocks/navigation",{slug:"tertiary"}]]],["novablocks/header-row",{slug:"primary",label:(0,i.__)("Primary Navigation","nova-blocks"),isPrimary:!0,blockTopSpacing:0,blockBottomSpacing:0,emphasisTopSpacing:1,emphasisBottomSpacing:1},[["novablocks/navigation",{slug:"primary"}]]]],scope:["block"]},{name:"logo-center-three-rows",title:(0,i.__)("Three Rows Header with centered logo and three menus.","nova-blocks"),icon:r.logoCenterThreeRows,attributes:{layout:"logo-center-three-rows",logoHeight:105,stickyHeaderSpacingMultiplier:.25},innerBlocks:[["novablocks/header-row",{slug:"secondary",label:(0,i.__)("Secondary Navigation","nova-blocks"),blockTopSpacing:0,blockBottomSpacing:0,emphasisTopSpacing:1,emphasisBottomSpacing:1},[["novablocks/navigation",{slug:"secondary"}],["novablocks/navigation",{slug:"tertiary"}]]],["novablocks/header-row",{slug:"logo",label:(0,i.__)("Site Identity / Logo","nova-blocks"),blockTopSpacing:0,blockBottomSpacing:0,emphasisTopSpacing:3,emphasisBottomSpacing:1},[["novablocks/logo"]]],["novablocks/header-row",{slug:"primary",label:(0,i.__)("Primary Navigation","nova-blocks"),isPrimary:!0,blockTopSpacing:0,blockBottomSpacing:0,emphasisTopSpacing:1,emphasisBottomSpacing:1},[["novablocks/navigation",{slug:"primary"}]]]],scope:["block"]}];t.default=l},133:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(11)),i=n(5),a=n(2);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var u=[{isEligible:function(e,t){return t.length&&"novablocks/header-row"!==t[0].name},attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,r.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{layout:{type:"string",default:"logo-left"},align:{type:"string",default:"full"}}),migrate:function(e,t){var n,o,r=(0,a.useSettings)(),l="sticky"===(null==r||null===(n=r.customify_config)||void 0===n||null===(o=n.header_position)||void 0===o?void 0:o.value)||!1;return[e,[(0,i.createBlock)("novablocks/header-row",{className:"nb-header-row nb-header-row--primary",name:"primary",label:"Primary Navigation",isSticky:l},t)]]},save:function(){}}];t.default=u},15:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o},e.exports.default=e.exports,e.exports.__esModule=!0},17:function(e,t,n){var o=n(15);e.exports=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},19:function(e,t,n){var o=n(20),r=n(21),i=n(17),a=n(22);e.exports=function(e,t){return o(e)||r(e,t)||i(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},2:function(e,t){e.exports=window.novablocks.blockEditor},20:function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},21:function(e,t){e.exports=function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var o,r,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw r}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},22:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},23:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},25:function(e,t){e.exports=window.wp.hooks},3:function(e,t){e.exports=window.wp.i18n},4:function(e,t){e.exports=window.wp.blockEditor},5:function(e,t){e.exports=window.wp.blocks},6:function(e,t,n){(function(t){var n;n=function(){"use strict";var e=function(e){var t=e.id,n=e.viewBox,o=e.content;this.id=t,this.viewBox=n,this.content=o};function n(e,t){return e(t={exports:{}},t.exports),t.exports}e.prototype.stringify=function(){return this.content},e.prototype.toString=function(){return this.stringify()},e.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))},"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var o=n((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var r;return n&&!0===n.clone&&e(t)?o((r=t,Array.isArray(r)?[]:{}),t,n):t}function n(n,r,i){var a=n.slice();return r.forEach((function(r,l){void 0===a[l]?a[l]=t(r,i):e(r)?a[l]=o(n[l],r,i):-1===n.indexOf(r)&&a.push(t(r,i))})),a}function o(r,i,a){var l=Array.isArray(i),u=(a||{arrayMerge:n}).arrayMerge||n;return l?Array.isArray(r)?u(r,i,a):t(i,a):function(n,r,i){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],i)})),Object.keys(r).forEach((function(l){e(r[l])&&n[l]?a[l]=o(n[l],r[l],i):a[l]=t(r[l],i)})),a}(r,i,a)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return o(e,n,t)}))},o}()})),r=n((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),i=r.svg,a=r.xlink,l={};l[i.name]=i.uri,l[a.name]=a.uri;var u=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(o(l,t||{}))+">"+e+"</svg>"};return function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}(u(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(e)},e.exports=n()}).call(this,n(8))},66:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logoLeft=t.logoCenterTwoRows=t.logoCenterThreeRows=t.logoCenter=void 0;var o=n(1),r=n(9),i=(0,o.createElement)(r.SVG,{fill:"none",height:"48",viewBox:"0 0 48 48",width:"48",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(r.Path,{d:"m16 20h31v8h-31z",fill:"#c4c7d5"}),(0,o.createElement)(r.Path,{d:"m1 20h13v8h-13z",fill:"#f9e547"}),(0,o.createElement)(r.Path,{d:"m1 20h13v8h-13z",fill:"#fac919"}));t.logoLeft=i;var a=(0,o.createElement)(r.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(r.Path,{d:"M33 20H47V28H33V20Z",fill:"#C4C7D5"}),(0,o.createElement)(r.Path,{d:"M17 20H31V28H17V20Z",fill:"#F9E547"}),(0,o.createElement)(r.Path,{d:"M17 20H31V28H17V20Z",fill:"#FAC919"}),(0,o.createElement)(r.Path,{d:"M1 20H15V28H1V20Z",fill:"#C4C7D5"}));t.logoCenter=a;var l=(0,o.createElement)(r.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(r.Path,{d:"M33 15H47V23H33V15Z",fill:"#C4C7D5"}),(0,o.createElement)(r.Path,{d:"M17 15H31V23H17V15Z",fill:"#F9E547"}),(0,o.createElement)(r.Path,{d:"M17 15H31V23H17V15Z",fill:"#FAC919"}),(0,o.createElement)(r.Path,{d:"M1 15H15V23H1V15Z",fill:"#C4C7D5"}),(0,o.createElement)(r.Path,{d:"M1 25H47V33H1V25Z",fill:"#C4C7D5"}));t.logoCenterTwoRows=l;var u=(0,o.createElement)(r.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(r.Path,{d:"M25 10H47V18H25V10Z",fill:"#C4C7D5"}),(0,o.createElement)(r.Path,{d:"M1 20H47V28H1V20Z",fill:"#F9E547"}),(0,o.createElement)(r.Path,{d:"M1 20H47V28H1V20Z",fill:"#FAC919"}),(0,o.createElement)(r.Path,{d:"M1 10H23V18H1V10Z",fill:"#C4C7D5"}),(0,o.createElement)(r.Path,{d:"M1 30H47V38H1V30Z",fill:"#C4C7D5"}));t.logoCenterThreeRows=u},7:function(e,t,n){(function(t){var n;n=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var n=e((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var r;return n&&!0===n.clone&&e(t)?o((r=t,Array.isArray(r)?[]:{}),t,n):t}function n(n,r,i){var a=n.slice();return r.forEach((function(r,l){void 0===a[l]?a[l]=t(r,i):e(r)?a[l]=o(n[l],r,i):-1===n.indexOf(r)&&a.push(t(r,i))})),a}function o(r,i,a){var l=Array.isArray(i),u=(a||{arrayMerge:n}).arrayMerge||n;return l?Array.isArray(r)?u(r,i,a):t(i,a):function(n,r,i){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],i)})),Object.keys(r).forEach((function(l){e(r[l])&&n[l]?a[l]=o(n[l],r[l],i):a[l]=t(r[l],i)})),a}(r,i,a)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return o(e,n,t)}))},o}()})),o=e((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),r=o.svg,i=o.xlink,a={};a[r.name]=r.uri,a[i.name]=i.uri;var l,u=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(n(a,t||{}))+">"+e+"</svg>"},c=o.svg,s=o.xlink,p={attrs:(l={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},l[c.name]=c.uri,l[s.name]=s.uri,l)},d=function(e){this.config=n(p,e||{}),this.symbols=[]};d.prototype.add=function(e){var t=this.symbols,n=this.find(e.id);return n?(t[t.indexOf(n)]=e,!1):(t.push(e),!0)},d.prototype.remove=function(e){var t=this.symbols,n=this.find(e);return!!n&&(t.splice(t.indexOf(n),1),n.destroy(),!0)},d.prototype.find=function(e){return this.symbols.filter((function(t){return t.id===e}))[0]||null},d.prototype.has=function(e){return null!==this.find(e)},d.prototype.stringify=function(){var e=this.config.attrs,t=this.symbols.map((function(e){return e.stringify()})).join("");return u(t,e)},d.prototype.toString=function(){return this.stringify()},d.prototype.destroy=function(){this.symbols.forEach((function(e){return e.destroy()}))};var f=function(e){var t=e.id,n=e.viewBox,o=e.content;this.id=t,this.viewBox=n,this.content=o};f.prototype.stringify=function(){return this.content},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var g=function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n},h=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return g(u(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(f),y={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},m=function(e){return Array.prototype.slice.call(e,0)},v=function(){return/firefox/i.test(navigator.userAgent)},b=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},_=function(){return/edge/i.test(navigator.userAgent)},w=function(e){return(e||window.location.href).split("#")[0]},x=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",(function(t,n,o){var r,i,a;r=e,i={oldUrl:o,newUrl:n},(a=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,i),window.dispatchEvent(a)}))}])},k=function(e,t){return void 0===t&&(t="linearGradient, radialGradient, pattern, mask, clipPath"),m(e.querySelectorAll("symbol")).forEach((function(e){m(e.querySelectorAll(t)).forEach((function(t){e.parentNode.insertBefore(t,e)}))})),e},S=o.xlink.uri,E=/[{}|\\\^\[\]`"<>]/g;function O(e){return e.replace(E,(function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()}))}var j,C=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],P=C.map((function(e){return"["+e+"]"})).join(","),M=function(e,t,n,o){var r=O(n),i=O(o);(function(e,t){return m(e).reduce((function(e,n){if(!n.attributes)return e;var o=m(n.attributes),r=t?o.filter(t):o;return e.concat(r)}),[])})(e.querySelectorAll(P),(function(e){var t=e.localName,n=e.value;return-1!==C.indexOf(t)&&-1!==n.indexOf("url("+r)})).forEach((function(e){return e.value=e.value.replace(new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(e,t,n){m(e).forEach((function(e){var o=e.getAttribute("xlink:href");if(o&&0===o.indexOf(t)){var r=o.replace(t,n);e.setAttributeNS(S,"xlink:href",r)}}))}(t,r,i)},A="mount",H="symbol_mount",B=function(e){function t(t){var o=this;void 0===t&&(t={}),e.call(this,n(y,t));var r,i=(r=r||Object.create(null),{on:function(e,t){(r[e]||(r[e]=[])).push(t)},off:function(e,t){r[e]&&r[e].splice(r[e].indexOf(t)>>>0,1)},emit:function(e,t){(r[e]||[]).map((function(e){e(t)})),(r["*"]||[]).map((function(n){n(e,t)}))}});this._emitter=i,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(t),a.syncUrlsWithBaseTag){var l=document.getElementsByTagName("base")[0].getAttribute("href");i.on(A,(function(){return o.updateUrls("#",l)}))}var u=this._handleLocationChange.bind(this);this._handleLocationChange=u,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,u),a.locationChangeAngularEmitter&&x(a.locationChangeEvent),i.on(A,(function(e){a.moveGradientsOutsideSymbol&&k(e)})),i.on(H,(function(e){var t;a.moveGradientsOutsideSymbol&&k(e.parentNode),(b()||_())&&(t=[],m(e.querySelectorAll("style")).forEach((function(e){e.textContent+="",t.push(e)})))}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},t.prototype._autoConfigure=function(e){var t=this.config;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=v())},t.prototype._handleLocationChange=function(e){var t=e.detail,n=t.oldUrl,o=t.newUrl;this.updateUrls(n,o)},t.prototype.add=function(t){var n=e.prototype.add.call(this,t);return this.isMounted&&n&&(t.mount(this.node),this._emitter.emit(H,t.node)),n},t.prototype.attach=function(e){var t=this,n=this;if(n.isMounted)return n.node;var o="string"==typeof e?document.querySelector(e):e;return n.node=o,this.symbols.forEach((function(e){e.mount(n.node),t._emitter.emit(H,e.node)})),m(o.querySelectorAll("symbol")).forEach((function(e){var t=h.createFromExistingNode(e);t.node=e,n.add(t)})),this._emitter.emit(A,o),o},t.prototype.destroy=function(){var e=this.config,t=this.symbols,n=this._emitter;t.forEach((function(e){return e.destroy()})),n.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},t.prototype.mount=function(e,t){if(void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1),this.isMounted)return this.node;var n="string"==typeof e?document.querySelector(e):e,o=this.render();return this.node=o,t&&n.childNodes[0]?n.insertBefore(o,n.childNodes[0]):n.appendChild(o),this._emitter.emit(A,o),o},t.prototype.render=function(){return g(this.stringify())},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},t.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return M(this.node,n,w(e)+"#",w(t)+"#"),!0},Object.defineProperties(t.prototype,o),t}(d),T=e((function(e){var t,n,o,r,i;e.exports=(n=[],o=document,r=o.documentElement.doScroll,(i=(r?/^loaded|^c/:/^loaded|^i|^c/).test(o.readyState))||o.addEventListener("DOMContentLoaded",t=function(){for(o.removeEventListener("DOMContentLoaded",t),i=1;t=n.shift();)t()}),function(e){i?setTimeout(e,0):n.push(e)})}));window.__SVG_SPRITE__?j=window.__SVG_SPRITE__:(j=new B({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=j);var N=function(){var e=document.getElementById("__SVG_SPRITE_NODE__");e?j.attach(e):j.mount(document.body,!0)};return document.body?N():T(N),j},e.exports=n()}).call(this,n(8))},8:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},9:function(e,t){e.exports=window.wp.components}});6 */!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===i)for(var l in o)n.call(o,l)&&o[l]&&e.push(l)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},124:function(e,t,n){"use strict";var o=n(0),r=n(1),i=o(n(11)),a=n(5),l=(n(13),n(4)),u=n(24),c=n(2),s=o(n(125)),p=o(n(126)),d=o(n(131)),f=o(n(132));function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y={blockTopSpacing:{type:"number",default:0}};(0,u.addFilter)("blocks.registerBlockType","novablocks/header/attributes-overwrite",(function(e){return"novablocks/header"!==e.name?e:h(h({},e),{},{attributes:h(h({},e.attributes),y)})}),Number.MAX_SAFE_INTEGER),(0,a.registerBlockType)("novablocks/header",{icon:(0,c.getSvg)(s.default),variations:d.default,deprecated:f.default,attributes:{align:{type:"string",default:"full"},layout:{type:"string",default:"logo-left"},logoHeight:{type:"number",default:30},mobileLogoHeight:{type:"number",default:24},navigationLinkSpacing:{type:"number",default:32},headerSidesSpacing:{type:"number",default:50},stickyHeaderSpacingMultiplier:{type:"number",default:.375}},edit:p.default,save:function(){return(0,r.createElement)(l.InnerBlocks.Content,null)}})},125:function(e,t,n){"use strict";n.r(t);var o=n(6),r=n.n(o),i=n(7),a=n.n(i),l=new r.a({id:"block-library-header/icon",use:"block-library-header/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-header/icon"><path d="M0 12C0 5.373 5.373 0 12 0s12 5.373 12 12-5.373 12-12 12S0 18.627 0 12Z" fill="#6565F2" /><path d="M4.537 9.275c0 .528.428.956.956.956h.261c.56 0 1.015-.454 1.015-1.014v-.359A.858.858 0 0 0 5.91 8h-.098c-.704 0-1.275.57-1.275 1.275ZM8.769 9.275c0 .528.428.956.956.956h.26c.561 0 1.015-.454 1.015-1.014v-.359A.858.858 0 0 0 10.142 8h-.098c-.705 0-1.275.57-1.275 1.275Z" fill="#FFE42E" /><path d="M13 9.143c0 .473.384.857.857.857H18a1 1 0 1 0 0-2h-3.857C13.512 8 13 8.512 13 9.143ZM4 13.898a3.333 3.333 0 0 0 3.333 3.333h9.334A3.333 3.333 0 0 0 20 13.898c0-.92-.746-1.667-1.667-1.667H5.667c-.92 0-1.667.747-1.667 1.667Z" fill="#fff" /></symbol>'});a.a.add(l);t.default=l},126:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=n(1),a=o(n(11)),l=o(n(12)),u=(n(3),n(4)),c=n(2),s=n(127);o(n(130));function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f,g=null!==(r=wp.blockEditor.useInnerBlocksProps)&&void 0!==r?r:wp.blockEditor.__experimentalUseInnerBlocksProps,h=(f=function(e){var t=e.attributes,n=(e.setAttributes,e.clientId),o=t.layout,r=t.logoHeight,a=t.mobileLogoHeight,p=t.navigationLinkSpacing,f=t.headerSidesSpacing,h=t.stickyHeaderSpacingMultiplier,y=(0,c.useInnerBlocks)(n),m=(0,u.useBlockProps)({className:(0,l.default)("nb-header","nb-header-".concat(o),e.className,"alignfull"),style:d(d({},e.style),{},{"--nb-header-logo-height-setting":r,"--nb-mobile-header-logo-height-setting":a,"--nb-navigation-item-spacing-setting":p,"--nb-header-sides-spacing-setting":f,"--nb-sticky-header-spacing-multiplier":h})}),v=g({className:"nb-header__inner-container"},{renderAppender:!1,allowedBlocks:["novablocks/header-row"]});return y.length?(0,i.createElement)(i.Fragment,null,(0,i.createElement)(s.HeaderBlockControls,e),(0,i.createElement)(s.HeaderInspectorControls,e),(0,i.createElement)("div",m,(0,i.createElement)("div",v))):(0,i.createElement)(c.VariationPicker,e)},function(e){var t=e.setControlsVisibility;return(0,i.useEffect)((function(){t({"space-and-sizing-presets":!1,"space-and-sizing-customize":!1,"spacing-modifier":!1,"block-spacing":!1})}),[]),(0,i.createElement)(f,e)});t.default=h},127:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeaderBlockControls",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"HeaderInspectorControls",{enumerable:!0,get:function(){return r.default}});var r=o(n(128)),i=o(n(129))},128:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1),i=o(n(19)),a=n(3),l=n(9),u=n(13),c=n(2),s=n(10),p=function(e){var t=e.attributes,n=e.setAttributes,o=t.logoHeight,i=t.mobileLogoHeight,u=t.navigationLinkSpacing,s=t.headerSidesSpacing,p=t.stickyHeaderSpacingMultiplier;return(0,r.createElement)(c.ControlsGroup,null,(0,r.createElement)(l.RangeControl,{label:(0,a.__)("Logo Height","nova-blocks"),help:(0,a.__)("Adjust the height of your logo.","nova-blocks"),value:o,onChange:function(e){return n({logoHeight:e})},min:20,max:200,step:1}),(0,r.createElement)(l.RangeControl,{label:(0,a.__)("Mobile Logo Height","nova-blocks"),help:(0,a.__)("Adjust the height of your logo on small screens.","nova-blocks"),value:i,onChange:function(e){return n({mobileLogoHeight:e})},min:14,max:80,step:1}),(0,r.createElement)(l.RangeControl,{label:(0,a.__)("Navigation Link Spacing","nova-blocks"),help:(0,a.__)("Adjust the spacing between individual items in your navigation.","nova-blocks"),value:u,onChange:function(e){return n({navigationLinkSpacing:e})},min:0,max:100,step:1}),(0,r.createElement)(l.RangeControl,{label:(0,a.__)("Header Sides Spacing","nova-blocks"),help:(0,a.__)("Adjust the space separating the header and the sides of the browser.","nova-blocks"),value:s,onChange:function(e){return n({headerSidesSpacing:e})},min:0,max:100,step:1}),(0,r.createElement)(l.RangeControl,{label:(0,a.__)("Sticky Header Spacing Multiplier","nova-blocks"),help:(0,a.__)("Adjust the vertical spacing for the sticky header on scroll.","nova-blocks"),value:p,onChange:function(e){return n({stickyHeaderSpacingMultiplier:e})},min:0,max:1,step:.125}))},d=function(e){var t=e.clientId,n=(0,c.useInnerBlocks)(t),o=(0,u.useDispatch)("core/block-editor").updateBlockAttributes,d=(0,r.useCallback)((function(e){n.forEach((function(t){o(t.clientId,{isSticky:t.clientId===e})}))}),[n]),f=(0,u.useSelect)((function(e){return e("core/block-editor").getBlock(t)}),[t]).innerBlocks,g=f.map((function(e){return{label:(0,s.capitalizeFirstLetter)(e.attributes.label),value:e.clientId}})),h=f.find((function(e){return e.attributes.isSticky})),y=(0,r.useState)(null==h?void 0:h.clientId),m=(0,i.default)(y,2),v=m[0],b=m[1],_=novablocks_urls.novablocks_customizer_header_link;return(0,r.createElement)(c.ControlsSection,{id:"layout",label:(0,a.__)("Header Layout","nova-blocks"),key:"header_layout"},(0,r.createElement)(c.ControlsTab,{label:(0,a.__)("Settings","nova-blocks"),key:"header_layout_settings"},(0,r.createElement)(c.ControlsGroup,null,(0,r.createElement)(c.Notice,{key:"header-position-quick-start",id:"nb-header-position-quick-start",content:(0,r.createElement)("p",null,(0,r.createElement)("strong",null,(0,a.__)("Quick start:","nova-blocks"))," ",(0,r.createInterpolateElement)((0,a.__)("Set up your header layout using the options below and go to the <a>Customizer</a> to change the logo and menu content.","nova-blocks"),{a:(0,r.createElement)("a",{href:_})})," ")}),(0,r.createElement)(l.RadioControl,{key:"header-position-scroll",label:(0,a.__)("Header Position on Scroll","nova-blocks"),selected:h?"sticky":"static",onChange:function(e){if("sticky"===e){var t=v||f[0].clientId;d(t)}else d()},options:[{label:(0,a.__)("Static","nova-blocks"),value:"static"},{label:(0,a.__)("Sticky (fixed)","nova-blocks"),value:"sticky"}]}),!!h&&f.length>1&&(0,r.createElement)(l.RadioControl,{key:"sticky-header-controls",label:(0,a.__)("Sticky Row Selection","nova-blocks"),help:(0,a.__)("Select which row stay fixed on scroll.","nova-blocks"),selected:h.clientId,options:g,onChange:function(e){b(e),d(e)}})),(0,r.createElement)(p,e)))};t.default=d},129:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),r=n(13),i=n(4),a=n(9),l=n(3),u=function(e){var t=e.clientId,n=(0,r.useDispatch)("core/block-editor").replaceInnerBlocks,u=(0,o.useCallback)((function(){n(t,[])}),[t]);return(0,o.createElement)(i.BlockControls,null,(0,o.createElement)(a.Toolbar,{group:"block"},(0,o.createElement)(a.IconButton,{className:"components-icon-button components-toolbar__control",label:(0,l.__)("Change Layout","nova-blocks"),onClick:u,icon:"edit"})))};t.default=u},13:function(e,t){e.exports=window.wp.data},130:function(e,t,n){"use strict";var o=n(23);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(3),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=i?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(r,l,u):r[l]=e[l]}r.default=e,n&&n.set(e,r);return r}(n(66));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}var l=[{title:(0,r.__)("Logo on the left side and one navigation menu","nova-blocks"),name:"logo-left",icon:i.logoLeft,template:[["novablocks/logo"],["novablocks/navigation",{className:"nb-navigation nb-navigation--primary",slug:"primary"}]]},{title:(0,r.__)("Logo centered and one navigation menu on each side","nova-blocks"),name:"logo-center",icon:i.logoCenter,template:[["novablocks/navigation",{className:"nb-navigation nb-navigation--primary",slug:"primary"}],["novablocks/logo"],["novablocks/navigation",{className:"nb-navigation nb-navigation--secondary",slug:"secondary"}]]}];t.default=l},131:function(e,t,n){"use strict";var o=n(23);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=i?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(r,l,u):r[l]=e[l]}r.default=e,n&&n.set(e,r);return r}(n(66)),i=n(3);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}var l=[{name:"logo-left",title:(0,i.__)("Logo left with one menu on the right.","nova-blocks"),icon:r.logoLeft,attributes:{layout:"logo-left",logoHeight:30},innerBlocks:[["novablocks/header-row",{slug:"primary",label:(0,i.__)("Primary Navigation","nova-blocks"),isPrimary:!0,blockTopSpacing:0,blockBottomSpacing:0,emphasisTopSpacing:1,emphasisBottomSpacing:1},[["novablocks/logo"],["novablocks/navigation",{slug:"primary"}]]]],scope:["block"]},{name:"logo-center",title:(0,i.__)("Logo centered with one menu on the left and one menu on the right.","nova-blocks"),icon:r.logoCenter,attributes:{layout:"logo-center",logoHeight:30},innerBlocks:[["novablocks/header-row",{slug:"primary",label:(0,i.__)("Primary Navigation","nova-blocks"),isPrimary:!0,blockTopSpacing:0,blockBottomSpacing:0,emphasisTopSpacing:1,emphasisBottomSpacing:1},[["novablocks/navigation",{slug:"primary"}],["novablocks/logo"],["novablocks/navigation",{slug:"secondary"}]]]],scope:["block"]},{name:"logo-center-two-rows",title:(0,i.__)("Two Rows Header with centered logo and three menus.","nova-blocks"),icon:r.logoCenterTwoRows,attributes:{layout:"logo-center-two-rows",logoHeight:105,stickyHeaderSpacingMultiplier:.25},innerBlocks:[["novablocks/header-row",{slug:"logo",label:(0,i.__)("Site Identity / Logo","nova-blocks"),blockTopSpacing:0,blockBottomSpacing:0,emphasisTopSpacing:2,emphasisBottomSpacing:2},[["novablocks/navigation",{slug:"secondary"}],["novablocks/logo"],["novablocks/navigation",{slug:"tertiary"}]]],["novablocks/header-row",{slug:"primary",label:(0,i.__)("Primary Navigation","nova-blocks"),isPrimary:!0,blockTopSpacing:0,blockBottomSpacing:0,emphasisTopSpacing:1,emphasisBottomSpacing:1},[["novablocks/navigation",{slug:"primary"}]]]],scope:["block"]},{name:"logo-center-three-rows",title:(0,i.__)("Three Rows Header with centered logo and three menus.","nova-blocks"),icon:r.logoCenterThreeRows,attributes:{layout:"logo-center-three-rows",logoHeight:105,stickyHeaderSpacingMultiplier:.25},innerBlocks:[["novablocks/header-row",{slug:"secondary",label:(0,i.__)("Secondary Navigation","nova-blocks"),blockTopSpacing:0,blockBottomSpacing:0,emphasisTopSpacing:1,emphasisBottomSpacing:1},[["novablocks/navigation",{slug:"secondary"}],["novablocks/navigation",{slug:"tertiary"}]]],["novablocks/header-row",{slug:"logo",label:(0,i.__)("Site Identity / Logo","nova-blocks"),blockTopSpacing:0,blockBottomSpacing:0,emphasisTopSpacing:3,emphasisBottomSpacing:1},[["novablocks/logo"]]],["novablocks/header-row",{slug:"primary",label:(0,i.__)("Primary Navigation","nova-blocks"),isPrimary:!0,blockTopSpacing:0,blockBottomSpacing:0,emphasisTopSpacing:1,emphasisBottomSpacing:1},[["novablocks/navigation",{slug:"primary"}]]]],scope:["block"]}];t.default=l},132:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(11)),i=n(5),a=n(2);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var u=[{isEligible:function(e,t){return t.length&&"novablocks/header-row"!==t[0].name},attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,r.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{layout:{type:"string",default:"logo-left"},align:{type:"string",default:"full"}}),migrate:function(e,t){var n,o,r=(0,a.useSettings)(),l="sticky"===(null==r||null===(n=r.customify_config)||void 0===n||null===(o=n.header_position)||void 0===o?void 0:o.value)||!1;return[e,[(0,i.createBlock)("novablocks/header-row",{className:"nb-header-row nb-header-row--primary",name:"primary",label:"Primary Navigation",isSticky:l},t)]]},save:function(){}}];t.default=u},15:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o},e.exports.default=e.exports,e.exports.__esModule=!0},16:function(e,t,n){var o=n(15);e.exports=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},19:function(e,t,n){var o=n(20),r=n(21),i=n(16),a=n(22);e.exports=function(e,t){return o(e)||r(e,t)||i(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},2:function(e,t){e.exports=window.novablocks.blockEditor},20:function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},21:function(e,t){e.exports=function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var o,r,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw r}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},22:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},23:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},24:function(e,t){e.exports=window.wp.hooks},3:function(e,t){e.exports=window.wp.i18n},4:function(e,t){e.exports=window.wp.blockEditor},5:function(e,t){e.exports=window.wp.blocks},6:function(e,t,n){(function(t){var n;n=function(){"use strict";var e=function(e){var t=e.id,n=e.viewBox,o=e.content;this.id=t,this.viewBox=n,this.content=o};function n(e,t){return e(t={exports:{}},t.exports),t.exports}e.prototype.stringify=function(){return this.content},e.prototype.toString=function(){return this.stringify()},e.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))},"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var o=n((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var r;return n&&!0===n.clone&&e(t)?o((r=t,Array.isArray(r)?[]:{}),t,n):t}function n(n,r,i){var a=n.slice();return r.forEach((function(r,l){void 0===a[l]?a[l]=t(r,i):e(r)?a[l]=o(n[l],r,i):-1===n.indexOf(r)&&a.push(t(r,i))})),a}function o(r,i,a){var l=Array.isArray(i),u=(a||{arrayMerge:n}).arrayMerge||n;return l?Array.isArray(r)?u(r,i,a):t(i,a):function(n,r,i){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],i)})),Object.keys(r).forEach((function(l){e(r[l])&&n[l]?a[l]=o(n[l],r[l],i):a[l]=t(r[l],i)})),a}(r,i,a)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return o(e,n,t)}))},o}()})),r=n((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),i=r.svg,a=r.xlink,l={};l[i.name]=i.uri,l[a.name]=a.uri;var u=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(o(l,t||{}))+">"+e+"</svg>"};return function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}(u(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(e)},e.exports=n()}).call(this,n(8))},66:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logoLeft=t.logoCenterTwoRows=t.logoCenterThreeRows=t.logoCenter=void 0;var o=n(1),r=n(9),i=(0,o.createElement)(r.SVG,{fill:"none",height:"48",viewBox:"0 0 48 48",width:"48",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(r.Path,{d:"m16 20h31v8h-31z",fill:"#c4c7d5"}),(0,o.createElement)(r.Path,{d:"m1 20h13v8h-13z",fill:"#f9e547"}),(0,o.createElement)(r.Path,{d:"m1 20h13v8h-13z",fill:"#fac919"}));t.logoLeft=i;var a=(0,o.createElement)(r.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(r.Path,{d:"M33 20H47V28H33V20Z",fill:"#C4C7D5"}),(0,o.createElement)(r.Path,{d:"M17 20H31V28H17V20Z",fill:"#F9E547"}),(0,o.createElement)(r.Path,{d:"M17 20H31V28H17V20Z",fill:"#FAC919"}),(0,o.createElement)(r.Path,{d:"M1 20H15V28H1V20Z",fill:"#C4C7D5"}));t.logoCenter=a;var l=(0,o.createElement)(r.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(r.Path,{d:"M33 15H47V23H33V15Z",fill:"#C4C7D5"}),(0,o.createElement)(r.Path,{d:"M17 15H31V23H17V15Z",fill:"#F9E547"}),(0,o.createElement)(r.Path,{d:"M17 15H31V23H17V15Z",fill:"#FAC919"}),(0,o.createElement)(r.Path,{d:"M1 15H15V23H1V15Z",fill:"#C4C7D5"}),(0,o.createElement)(r.Path,{d:"M1 25H47V33H1V25Z",fill:"#C4C7D5"}));t.logoCenterTwoRows=l;var u=(0,o.createElement)(r.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(r.Path,{d:"M25 10H47V18H25V10Z",fill:"#C4C7D5"}),(0,o.createElement)(r.Path,{d:"M1 20H47V28H1V20Z",fill:"#F9E547"}),(0,o.createElement)(r.Path,{d:"M1 20H47V28H1V20Z",fill:"#FAC919"}),(0,o.createElement)(r.Path,{d:"M1 10H23V18H1V10Z",fill:"#C4C7D5"}),(0,o.createElement)(r.Path,{d:"M1 30H47V38H1V30Z",fill:"#C4C7D5"}));t.logoCenterThreeRows=u},7:function(e,t,n){(function(t){var n;n=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var n=e((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var r;return n&&!0===n.clone&&e(t)?o((r=t,Array.isArray(r)?[]:{}),t,n):t}function n(n,r,i){var a=n.slice();return r.forEach((function(r,l){void 0===a[l]?a[l]=t(r,i):e(r)?a[l]=o(n[l],r,i):-1===n.indexOf(r)&&a.push(t(r,i))})),a}function o(r,i,a){var l=Array.isArray(i),u=(a||{arrayMerge:n}).arrayMerge||n;return l?Array.isArray(r)?u(r,i,a):t(i,a):function(n,r,i){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],i)})),Object.keys(r).forEach((function(l){e(r[l])&&n[l]?a[l]=o(n[l],r[l],i):a[l]=t(r[l],i)})),a}(r,i,a)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return o(e,n,t)}))},o}()})),o=e((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),r=o.svg,i=o.xlink,a={};a[r.name]=r.uri,a[i.name]=i.uri;var l,u=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(n(a,t||{}))+">"+e+"</svg>"},c=o.svg,s=o.xlink,p={attrs:(l={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},l[c.name]=c.uri,l[s.name]=s.uri,l)},d=function(e){this.config=n(p,e||{}),this.symbols=[]};d.prototype.add=function(e){var t=this.symbols,n=this.find(e.id);return n?(t[t.indexOf(n)]=e,!1):(t.push(e),!0)},d.prototype.remove=function(e){var t=this.symbols,n=this.find(e);return!!n&&(t.splice(t.indexOf(n),1),n.destroy(),!0)},d.prototype.find=function(e){return this.symbols.filter((function(t){return t.id===e}))[0]||null},d.prototype.has=function(e){return null!==this.find(e)},d.prototype.stringify=function(){var e=this.config.attrs,t=this.symbols.map((function(e){return e.stringify()})).join("");return u(t,e)},d.prototype.toString=function(){return this.stringify()},d.prototype.destroy=function(){this.symbols.forEach((function(e){return e.destroy()}))};var f=function(e){var t=e.id,n=e.viewBox,o=e.content;this.id=t,this.viewBox=n,this.content=o};f.prototype.stringify=function(){return this.content},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var g=function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n},h=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return g(u(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(f),y={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},m=function(e){return Array.prototype.slice.call(e,0)},v=function(){return/firefox/i.test(navigator.userAgent)},b=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},_=function(){return/edge/i.test(navigator.userAgent)},w=function(e){return(e||window.location.href).split("#")[0]},x=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",(function(t,n,o){var r,i,a;r=e,i={oldUrl:o,newUrl:n},(a=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,i),window.dispatchEvent(a)}))}])},k=function(e,t){return void 0===t&&(t="linearGradient, radialGradient, pattern, mask, clipPath"),m(e.querySelectorAll("symbol")).forEach((function(e){m(e.querySelectorAll(t)).forEach((function(t){e.parentNode.insertBefore(t,e)}))})),e},S=o.xlink.uri,E=/[{}|\\\^\[\]`"<>]/g;function O(e){return e.replace(E,(function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()}))}var j,C=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],P=C.map((function(e){return"["+e+"]"})).join(","),M=function(e,t,n,o){var r=O(n),i=O(o);(function(e,t){return m(e).reduce((function(e,n){if(!n.attributes)return e;var o=m(n.attributes),r=t?o.filter(t):o;return e.concat(r)}),[])})(e.querySelectorAll(P),(function(e){var t=e.localName,n=e.value;return-1!==C.indexOf(t)&&-1!==n.indexOf("url("+r)})).forEach((function(e){return e.value=e.value.replace(new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(e,t,n){m(e).forEach((function(e){var o=e.getAttribute("xlink:href");if(o&&0===o.indexOf(t)){var r=o.replace(t,n);e.setAttributeNS(S,"xlink:href",r)}}))}(t,r,i)},A="mount",H="symbol_mount",B=function(e){function t(t){var o=this;void 0===t&&(t={}),e.call(this,n(y,t));var r,i=(r=r||Object.create(null),{on:function(e,t){(r[e]||(r[e]=[])).push(t)},off:function(e,t){r[e]&&r[e].splice(r[e].indexOf(t)>>>0,1)},emit:function(e,t){(r[e]||[]).map((function(e){e(t)})),(r["*"]||[]).map((function(n){n(e,t)}))}});this._emitter=i,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(t),a.syncUrlsWithBaseTag){var l=document.getElementsByTagName("base")[0].getAttribute("href");i.on(A,(function(){return o.updateUrls("#",l)}))}var u=this._handleLocationChange.bind(this);this._handleLocationChange=u,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,u),a.locationChangeAngularEmitter&&x(a.locationChangeEvent),i.on(A,(function(e){a.moveGradientsOutsideSymbol&&k(e)})),i.on(H,(function(e){var t;a.moveGradientsOutsideSymbol&&k(e.parentNode),(b()||_())&&(t=[],m(e.querySelectorAll("style")).forEach((function(e){e.textContent+="",t.push(e)})))}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},t.prototype._autoConfigure=function(e){var t=this.config;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=v())},t.prototype._handleLocationChange=function(e){var t=e.detail,n=t.oldUrl,o=t.newUrl;this.updateUrls(n,o)},t.prototype.add=function(t){var n=e.prototype.add.call(this,t);return this.isMounted&&n&&(t.mount(this.node),this._emitter.emit(H,t.node)),n},t.prototype.attach=function(e){var t=this,n=this;if(n.isMounted)return n.node;var o="string"==typeof e?document.querySelector(e):e;return n.node=o,this.symbols.forEach((function(e){e.mount(n.node),t._emitter.emit(H,e.node)})),m(o.querySelectorAll("symbol")).forEach((function(e){var t=h.createFromExistingNode(e);t.node=e,n.add(t)})),this._emitter.emit(A,o),o},t.prototype.destroy=function(){var e=this.config,t=this.symbols,n=this._emitter;t.forEach((function(e){return e.destroy()})),n.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},t.prototype.mount=function(e,t){if(void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1),this.isMounted)return this.node;var n="string"==typeof e?document.querySelector(e):e,o=this.render();return this.node=o,t&&n.childNodes[0]?n.insertBefore(o,n.childNodes[0]):n.appendChild(o),this._emitter.emit(A,o),o},t.prototype.render=function(){return g(this.stringify())},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},t.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return M(this.node,n,w(e)+"#",w(t)+"#"),!0},Object.defineProperties(t.prototype,o),t}(d),T=e((function(e){var t,n,o,r,i;e.exports=(n=[],o=document,r=o.documentElement.doScroll,(i=(r?/^loaded|^c/:/^loaded|^i|^c/).test(o.readyState))||o.addEventListener("DOMContentLoaded",t=function(){for(o.removeEventListener("DOMContentLoaded",t),i=1;t=n.shift();)t()}),function(e){i?setTimeout(e,0):n.push(e)})}));window.__SVG_SPRITE__?j=window.__SVG_SPRITE__:(j=new B({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=j);var N=function(){var e=document.getElementById("__SVG_SPRITE_NODE__");e?j.attach(e):j.mount(document.body,!0)};return document.body?N():T(N),j},e.exports=n()}).call(this,n(8))},8:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},9:function(e,t){e.exports=window.wp.components}}); -
nova-blocks/trunk/build/block-library/blocks/header/style-rtl.css
r2726064 r2744078 1 @media only screen and (min-width:1024px){.c-menu-toggle,.c-menu-toggle__checkbox{display:none}}.c-menu-toggle{background:none!important;font-size:1rem;margin:0!important;position:fixed;right:0;top:0;width:auto!important;z-index:2300}@media not screen and (min-width:1024px){.c-menu-toggle{display:block!important}}.c-menu-toggle__checkbox:checked~.c-menu-toggle{--sm-current-bg-color:var(--sm-bg-color-5);--sm-current-accent-color:var(--sm-accent-color-5);--sm-current-fg1-color:var(--sm-fg1-color-5);--sm-current-fg2-color:var(--sm-fg2-color-5)}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--top{transform:rotate(-45deg)}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--middle{opacity:0}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--bottom{transform:rotate(45deg)}.c-menu-toggle__slice{transition:var(--theme-transition);transition-property:transform}.c-menu-toggle__wrap{align-items:center;cursor:pointer;display:flex;height:100%;padding:1em var(--nb-wrapper-sides-spacings,0);position:relative}.c-menu-toggle__checkbox{display:none}.c-menu-toggle__label{margin-right:0.5em}.c-menu-toggle__icon{display:block;position:relative;width:1em}.c-menu-toggle__slice{background:currentColor;display:block;height:2px;width:21px}.c-menu-toggle__slice--bottom,.c-menu-toggle__slice--top{position:absolute;right:0;top:0}.c-menu-toggle__slice--middle{width:16px}.c-menu-toggle__slice--top{transform:translate3d(0,-7px,0)}.c-menu-toggle__slice--bottom{transform:translate3d(0,7px,0)}.c-reading-bar__progress{background-color:transparent;border:none;height:var(--theme-reading-progress-width);position:absolute;right:0;top:100%;width:100%}:is(.c-reading-bar__progress,#specific){margin:0}.c-reading-bar__progress:before{background-color:var(--nb-accent-color);content:"";display:block;height:100%;position:absolute;right:0;top:0;transform:scaleX(var(--progress,0));transform-origin:100% 50%;width:100%;will-change:transform}:root{--theme-reading-progress-width:3px;--theme-reading-progress-color:var(--sm-current-accent-color)}.c-reading-bar,.c-reading-bar__progress{display:none}@media not screen and (min-width:1024px){.c-reading-bar,.c-reading-bar__progress{display:none!important}}.c-reading-bar{--nb-block-top-spacing:0!important;height:100%;max-width:none;overflow:hidden;position:absolute;right:0;top:0;width:100%;z-index:20}.c-reading-bar>*{flex-basis:33.33333%}.c-reading-bar[class]{background:none}.c-reading-bar__layer--current .post-title__label{display:none}.c-reading-bar__layer--next,.c-reading-bar__layer-wrapper{bottom:0;left:0;position:absolute;right:0;top:0}.c-reading-bar__layer--next{overflow:hidden;transform:translateY(100%)}.c-reading-bar__layer--next>.c-reading-bar__layer-wrapper{transform:translateY(-100%)}:is(.c-reading-bar__layer--next,.c-reading-bar__layer--next>.c-reading-bar__layer-wrapper){transition:var(--nb-transition)}.nb-header--next :is(.c-reading-bar__layer--next,.c-reading-bar__layer--next>.c-reading-bar__layer-wrapper){transform:none}.c-reading-bar__layer-wrapper{align-items:center;-moz-column-gap:var(--nb-navigation-item-spacing);column-gap:var(--nb-navigation-item-spacing);display:flex;justify-content:space-between;padding:0 var(--nb-wrapper-sides-spacings)}.c-reading-bar__layer-wrapper>:not(.c-reading-bar__title){flex:0 0 auto}.c-reading-bar__title{display:flex;margin-left:auto;margin-right:auto}@-webkit-keyframes reading-bar-show-overflow{to{overflow:visible}}@keyframes reading-bar-show-overflow{to{overflow:visible}}.nb-header .nb-header-row{-webkit-animation:reading-bar-show-overflow 0s linear var(--nb-transition-duration) forwards;animation:reading-bar-show-overflow 0s linear var(--nb-transition-duration) forwards;overflow:hidden}.nb-header .c-reading-bar{pointer-events:none}.nb-header .c-reading-bar__container{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0;transform:translateY(-100%)}.nb-header .c-reading-bar__container,.nb-header .nb-header-row__inner-container{transition:transform 0.5s ease;will-change:transform}.nb-header:is(.nb-header--next,.nb-header--reading) .nb-header-row{-webkit-animation:none;animation:none}.nb-header:is(.nb-header--next,.nb-header--reading) .c-reading-bar{pointer-events:auto}.nb-header:is(.nb-header--next,.nb-header--reading) .c-reading-bar__container{transform:translateY(0)}.nb-header:is(.nb-header--next,.nb-header--reading) .nb-header-row .nb-header-row__inner-container{pointer-events:none;transform:translateY(100%)}:is(.c-reading-bar,#specific) .wp-block-button__link{background-color:transparent;border:0;color:inherit;display:flex;padding:0}:is(.c-reading-bar,#specific) .wp-block-button__link span{margin:0;padding:0}:is(.c-reading-bar,#specific) .wp-block-button__link svg{display:none}:is(.c-reading-bar,#specific) .wp-block-button__link:before{background-color:transparent}:is(.c-reading-bar,#specific) .wp-block-buttons{margin-top:0}.c-reading-bar .post-title__label[class]{margin-bottom:0}.c-reading-bar .post-title__post-name{margin-right:5px}.nb-header--mobile{--shadow-color:rgba(0,0,0,.25);--shadow-y-offset:4px;--shadow-blur:4px;align-items:center;display:flex;justify-content:center;min-height:60px;padding:var(--theme-spacing-fluid-smaller) var(--theme-wrapper-sides-spacing);width:100%;z-index:2000}.nb-header--mobile:not([style*=fixed])[class]{--header-background-opacity:0}.nb-header--mobile .menu-item--cart{display:flex;left:calc(var(--theme-wrapper-sides-spacing));position:absolute;top:50%;transform:translateY(-50%)}.nb-header--mobile .menu-item--cart>a{color:currentColor;transition:color .3s ease}.nb-header--mobile .menu-item--cart .menu-item__label{display:none}@media only screen and (min-width:1024px){.nb-header__inner-container{padding-top:0!important}.nb-header--mobile{display:none}}@media not screen and (min-width:1024px){.nb-header--main{margin-top:0!important}.nb-header--main:before{--header-background-opacity:0.97}.nb-header--main :is(.nb-header-row--logo,.c-branding){display:none!important}.nb-header--main .menu:not(.menu--buttons) .menu-item--cart,.nb-header--main .menu:not(.menu--buttons) .menu-item--dark-mode,.nb-header--main .menu:not(.menu--buttons) .menu-item--search{display:none!important}.nb-navigation .sub-menu{margin-left:calc(var(--theme-wrapper-sides-spacing)*-1);margin-right:calc(var(--theme-wrapper-sides-spacing)*-1)}.nb-navigation .sub-menu>li{padding-left:var(--theme-wrapper-sides-spacing);padding-right:var(--theme-wrapper-sides-spacing)}.nb-navigation>ul>li[class*=current]{color:var(--nb-fg1-color)}.c-menu-toggle__checkbox:checked~.nb-header .nb-header__buttons-menu,.c-menu-toggle__checkbox:checked~.nb-header .nb-header__inner-container{opacity:1;transition:opacity .3s ease .3s}.c-menu-toggle__checkbox:not(:checked)~.nb-header .nb-header__buttons-menu,.c-menu-toggle__checkbox:not(:checked)~.nb-header .nb-header__inner-container{opacity:0;transition:opacity .2s ease 0s}}.nb-header__buttons-menu{left:0;padding-left:var(--nb-wrapper-sides-spacings);padding-right:var(--nb-wrapper-sides-spacings);position:absolute;top:0}.nb-header__buttons-menu .menu{align-items:center;display:flex}@media only screen and (min-width:1024px){.nb-header__buttons-menu[class]{display:none}}.nb-header__buttons-menu a{color:inherit;display:block}.nb-header__buttons-menu .menu--buttons{list-style:none}.nb-header__buttons-menu .menu--buttons li{position:relative}.nb-header__buttons-menu .menu--buttons li[class][class]{margin-top:0}.nb-header__buttons-menu .menu--buttons li:not(:first-child){margin-right:1em}.nb-header--secondary{opacity:0;pointer-events:none;transition:opacity .15s ease-in;width:100%;z-index:2200}.nb-header--secondary.is-visible{opacity:1;pointer-events:auto}.nb-header--secondary:after{opacity:0.1}.nb-header--secondary>.nb-header__inner-container:not(:only-child):last-child{opacity:0;pointer-events:none;position:absolute;transition:transform 0.2s ease 0s,opacity 0.1s ease 0.1s;width:100%;z-index:-1}.nb-header--secondary:hover>.nb-header__inner-container:not(:only-child):last-child{opacity:1;pointer-events:auto}@media not screen and (min-width:1024px){.nb-header--secondary{display:none!important}}.nb-header--secondary .nb-header-row[data-is-primary]:not([data-is-sticky]){display:none}.nb-header--secondary:not(.nb-header--reading):not(.nb-header--next):hover .nb-header-row[data-is-primary]{display:block}:root{--icons-size-multiplier:1.3;--icons-horizontal-spacing-reducer:2}@property --nb-header-vertical-spacing-multiplier{syntax:"<number>";initial-value:1;inherits:true}:is(.nb-header-row,.specificity.x2.x3){padding-bottom:0;padding-top:0}:is(.nb-header-row,.specificity.x2.x3) .nb-header-row__inner-container>.wp-block{--nb-wrapper-sides-spacings:calc(var(--nb-spacing)*var(--nb-header-sides-spacing-setting, 50)*2/100);padding-bottom:calc(var(--nb-emphasis-bottom-spacing)*var(--nb-current-spacing)*var(--nb- header-vertical-spacing-multiplier));padding-top:calc(var(--nb-emphasis-top-spacing)*var(--nb-current-spacing)*var(--nb-header-vertical-spacing-multiplier))}.nb-header[class]{--nb-navigation-item-spacing:calc(var(--nb-navigation-item-spacing-setting)*var(--nb-spacing)*2/100);width:100%}@media only screen and (min-width:1024px){.nb-header[class] :is(.nb-header-row,#specific){transition:--nb-header-vertical-spacing-multiplier .15s ease-out,transform .5s ease}.nb-header[class]:is(.nb-header--sticky,.nb-header--secondary) .nb-header-row{--nb-header-vertical-spacing-multiplier:var(--nb-sticky-header-spacing-multiplier,1)}}@media only screen and (min-width:1024px){.nb-header--transparent{--header-background-opacity:0}.nb-header--transparent.nb-header--sticky .nb-header-row{--header-background-opacity:0.95}}:is(.nb-header,.nb-header--mobile,#more.specific){--nb-block-top-spacing:0}@media only screen and (min-width:1024px){.nb-header--mobile{display:none}}.nb-header--mobile.nb-header--scrolled{color:var(--sm-current-fg2-color,var(--nb-fg2-color))}@media not screen and (min-width:1024px){.nb-header__inner-container{display:flex;flex-direction:column}.nb-header__inner-container>.nb-header-row--primary{order:-1}}@media only screen and (min-width:1024px){.nb-header--main{left:0;right:0;top:0;transition:var(--theme-transition);transition-property:opacity;z-index:2001}.nb-header__inner-container{width:100%}}@media not screen and (min-width:1024px){.nb-header--main[class]{--sm-current-bg-color:var(--sm-bg-color-5);--sm-current-accent-color:var(--sm-accent-color-5);--sm-current-fg1-color:var(--sm-fg1-color-5);--sm-current-fg2-color:var(--sm-fg2-color-5)}.nb-header--main[class].nb-header-background:before{position:fixed}.nb-header{display:none;overflow-y:auto;right:0;z-index:2100}.c-menu-toggle__checkbox~.nb-header{display:block}.c-menu-toggle__checkbox:not(:checked)~.nb-header,.c-menu-toggle__checkbox:not(:checked)~.nb-header:before{right:-100%}}@media not screen and (min-width:1024px){.nb-header,.nb-header:before{transition:right 0.4s cubic-bezier(0.4,0,0.2,1)}.c-menu-toggle__slice{transition:transform 0.3s ease}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--top{transform:rotate(-45deg)}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--middle{opacity:0}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--bottom{transform:rotate(45deg)}}:where(.nb-header-background){background:none!important;position:relative}:where(.nb-header-background):before{background-color:var(--sm-current-bg-color,var(--nb-bg-color));content:"";height:100%;opacity:var(--header-background-opacity,1);position:absolute;right:0;top:0;transition:var(--nb-transition);transition-property:opacity;width:100%}:where(.nb-header-shadow){--header-shadow-opacity:0}:where(.nb-header-shadow).nb-header--sticky{--header-shadow-opacity:0.1}:where(.nb-header-shadow):after{box-shadow:var(--shadow-color,#000) 0 var(--shadow-y-offset,0.0625em) var(--shadow-blur,0.125em);content:"";display:block;height:100%;opacity:var(--header-shadow-opacity,0);pointer-events:none;position:absolute;right:0;top:0;transition:var(--nb-transition);transition-property:opacity;width:100%;z-index:-1}.nb-header:not(.nb-header--ready){--header-background-opacity:0;opacity:0}.nb-header--mobile.nb-header--transparent{--header-background-opacity:0}.nb-header--mobile.nb-header--transparent.nb-header--sticky{--header-background-opacity:0.95}.menu-item-label{--font-size-modifier:0.7;background-blend-mode:hue;background-color:var(--sm-current-accent-color);background-image:linear-gradient(270deg,rgba(0,0,0,.8),hsla(0,0%,100%,.6),rgba(0,0,0,.3));border:none;border-radius:1em;color:#fff;font-weight:700;letter-spacing:0.03em;margin-right:var(--navigation-item-sub-elements-spacing);padding:.21em .6em 0.23em;text-transform:uppercase;vertical-align:middle}.nb-header-neighbour.nb-supernova--card-layout-stacked.nb-supernova--1-columns.nb-supernova--align-full .nb-supernova-item__media-wrapper:after{background-image:linear-gradient(rgba(0,0,0,.2) 0,rgba(0,0,0,.03) calc(var(--nb-header-height, 0px)*2),transparent 100%);content:"";height:100%;pointer-events:none;position:absolute;right:0;top:0;width:100%;z-index:1}1 @media only screen and (min-width:1024px){.c-menu-toggle,.c-menu-toggle__checkbox{display:none}}.c-menu-toggle{background:none!important;font-size:1rem;margin:0!important;position:fixed;right:0;top:0;width:auto!important;z-index:2300}@media not screen and (min-width:1024px){.c-menu-toggle{display:block!important}}.c-menu-toggle__checkbox:checked~.c-menu-toggle{--sm-current-bg-color:var(--sm-bg-color-5);--sm-current-accent-color:var(--sm-accent-color-5);--sm-current-fg1-color:var(--sm-fg1-color-5);--sm-current-fg2-color:var(--sm-fg2-color-5)}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--top{transform:rotate(-45deg)}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--middle{opacity:0}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--bottom{transform:rotate(45deg)}.c-menu-toggle__slice{transition:var(--theme-transition);transition-property:transform}.c-menu-toggle__wrap{align-items:center;cursor:pointer;display:flex;height:100%;padding:1em var(--nb-wrapper-sides-spacings,0);position:relative}.c-menu-toggle__checkbox{display:none}.c-menu-toggle__label{margin-right:0.5em}.c-menu-toggle__icon{display:block;position:relative;width:1em}.c-menu-toggle__slice{background:currentColor;display:block;height:2px;width:21px}.c-menu-toggle__slice--bottom,.c-menu-toggle__slice--top{position:absolute;right:0;top:0}.c-menu-toggle__slice--middle{width:16px}.c-menu-toggle__slice--top{transform:translate3d(0,-7px,0)}.c-menu-toggle__slice--bottom{transform:translate3d(0,7px,0)}.c-reading-bar__progress{background-color:transparent;border:none;height:var(--theme-reading-progress-width);position:absolute;right:0;top:100%;width:100%}:is(.c-reading-bar__progress,#specific){margin:0}.c-reading-bar__progress:before{background-color:var(--nb-accent-color);content:"";display:block;height:100%;position:absolute;right:0;top:0;transform:scaleX(var(--progress,0));transform-origin:100% 50%;width:100%;will-change:transform}:root{--theme-reading-progress-width:3px;--theme-reading-progress-color:var(--sm-current-accent-color)}.c-reading-bar,.c-reading-bar__progress{display:none}@media not screen and (min-width:1024px){.c-reading-bar,.c-reading-bar__progress{display:none!important}}.c-reading-bar{--nb-block-top-spacing:0!important;height:100%;max-width:none;overflow:hidden;position:absolute;right:0;top:0;width:100%;z-index:20}.c-reading-bar>*{flex-basis:33.33333%}.c-reading-bar[class]{background:none}.c-reading-bar__layer--current .post-title__label{display:none}.c-reading-bar__layer--next,.c-reading-bar__layer-wrapper{bottom:0;left:0;position:absolute;right:0;top:0}.c-reading-bar__layer--next{overflow:hidden;transform:translateY(100%)}.c-reading-bar__layer--next>.c-reading-bar__layer-wrapper{transform:translateY(-100%)}:is(.c-reading-bar__layer--next,.c-reading-bar__layer--next>.c-reading-bar__layer-wrapper){transition:var(--nb-transition)}.nb-header--next :is(.c-reading-bar__layer--next,.c-reading-bar__layer--next>.c-reading-bar__layer-wrapper){transform:none}.c-reading-bar__layer-wrapper{align-items:center;-moz-column-gap:var(--nb-navigation-item-spacing);column-gap:var(--nb-navigation-item-spacing);display:flex;justify-content:space-between;padding:0 var(--nb-wrapper-sides-spacings)}.c-reading-bar__layer-wrapper>:not(.c-reading-bar__title){flex:0 0 auto}.c-reading-bar__title{display:flex;margin-left:auto;margin-right:auto}@-webkit-keyframes reading-bar-show-overflow{to{overflow:visible}}@keyframes reading-bar-show-overflow{to{overflow:visible}}.nb-header .nb-header-row{-webkit-animation:reading-bar-show-overflow 0s linear var(--nb-transition-duration) forwards;animation:reading-bar-show-overflow 0s linear var(--nb-transition-duration) forwards;overflow:hidden}.nb-header .c-reading-bar{pointer-events:none}.nb-header .c-reading-bar__container{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0;transform:translateY(-100%)}.nb-header .c-reading-bar__container,.nb-header .nb-header-row__inner-container{transition:transform 0.5s ease;will-change:transform}.nb-header:is(.nb-header--next,.nb-header--reading) .nb-header-row{-webkit-animation:none;animation:none}.nb-header:is(.nb-header--next,.nb-header--reading) .c-reading-bar{pointer-events:auto}.nb-header:is(.nb-header--next,.nb-header--reading) .c-reading-bar__container{transform:translateY(0)}.nb-header:is(.nb-header--next,.nb-header--reading) .nb-header-row .nb-header-row__inner-container{pointer-events:none;transform:translateY(100%)}:is(.c-reading-bar,#specific) .wp-block-button__link{background-color:transparent;border:0;color:inherit;display:flex;padding:0}:is(.c-reading-bar,#specific) .wp-block-button__link span{margin:0;padding:0}:is(.c-reading-bar,#specific) .wp-block-button__link svg{display:none}:is(.c-reading-bar,#specific) .wp-block-button__link:before{background-color:transparent}:is(.c-reading-bar,#specific) .wp-block-buttons{margin-top:0}.c-reading-bar .post-title__label[class]{margin-bottom:0}.c-reading-bar .post-title__post-name{margin-right:5px}.nb-header--mobile{--shadow-color:rgba(0,0,0,.25);--shadow-y-offset:4px;--shadow-blur:4px;align-items:center;display:flex;justify-content:center;min-height:60px;padding:var(--theme-spacing-fluid-smaller) var(--theme-wrapper-sides-spacing);width:100%;z-index:2000}.nb-header--mobile:not([style*=fixed])[class]{--header-background-opacity:0}.nb-header--mobile .menu-item--cart{display:flex;left:calc(var(--theme-wrapper-sides-spacing));position:absolute;top:50%;transform:translateY(-50%)}.nb-header--mobile .menu-item--cart>a{color:currentColor;transition:color .3s ease}.nb-header--mobile .menu-item--cart .menu-item__label{display:none}@media only screen and (min-width:1024px){.nb-header__inner-container{padding-top:0!important}.nb-header--mobile{display:none}}@media not screen and (min-width:1024px){.nb-header--main{margin-top:0!important}.nb-header--main:before{--header-background-opacity:0.97}.nb-header--main :is(.nb-header-row--logo,.c-branding){display:none!important}.nb-header--main .menu:not(.menu--buttons) .menu-item--cart,.nb-header--main .menu:not(.menu--buttons) .menu-item--dark-mode,.nb-header--main .menu:not(.menu--buttons) .menu-item--search{display:none!important}.nb-navigation .sub-menu{margin-left:calc(var(--theme-wrapper-sides-spacing)*-1);margin-right:calc(var(--theme-wrapper-sides-spacing)*-1)}.nb-navigation .sub-menu>li{padding-left:var(--theme-wrapper-sides-spacing);padding-right:var(--theme-wrapper-sides-spacing)}.nb-navigation>ul>li[class*=current]{color:var(--nb-fg1-color)}.c-menu-toggle__checkbox:checked~.nb-header .nb-header__buttons-menu,.c-menu-toggle__checkbox:checked~.nb-header .nb-header__inner-container{opacity:1;transition:opacity .3s ease .3s}.c-menu-toggle__checkbox:not(:checked)~.nb-header .nb-header__buttons-menu,.c-menu-toggle__checkbox:not(:checked)~.nb-header .nb-header__inner-container{opacity:0;transition:opacity .2s ease 0s}}.nb-header__buttons-menu{left:0;padding-left:var(--nb-wrapper-sides-spacings);padding-right:var(--nb-wrapper-sides-spacings);position:absolute;top:0}.nb-header__buttons-menu .menu{align-items:center;display:flex}@media only screen and (min-width:1024px){.nb-header__buttons-menu[class]{display:none}}.nb-header__buttons-menu a{color:inherit;display:block}.nb-header__buttons-menu .menu--buttons{list-style:none}.nb-header__buttons-menu .menu--buttons li{position:relative}.nb-header__buttons-menu .menu--buttons li[class][class]{margin-top:0}.nb-header__buttons-menu .menu--buttons li:not(:first-child){margin-right:1em}.nb-header--secondary{opacity:0;pointer-events:none;transition:opacity .15s ease-in;width:100%;z-index:2200}.nb-header--secondary.is-visible{opacity:1;pointer-events:auto}.nb-header--secondary:after{opacity:0.1}.nb-header--secondary>.nb-header__inner-container:not(:only-child):last-child{opacity:0;pointer-events:none;position:absolute;transition:transform 0.2s ease 0s,opacity 0.1s ease 0.1s;width:100%;z-index:-1}.nb-header--secondary:hover>.nb-header__inner-container:not(:only-child):last-child{opacity:1;pointer-events:auto}@media not screen and (min-width:1024px){.nb-header--secondary{display:none!important}}.nb-header--secondary .nb-header-row[data-is-primary]:not([data-is-sticky]){display:none}.nb-header--secondary:not(.nb-header--reading):not(.nb-header--next):hover .nb-header-row[data-is-primary]{display:block}:root{--icons-size-multiplier:1.3;--icons-horizontal-spacing-reducer:2}@property --nb-header-vertical-spacing-multiplier{syntax:"<number>";initial-value:1;inherits:true}:is(.nb-header-row,.specificity.x2.x3){padding-bottom:0;padding-top:0}:is(.nb-header-row,.specificity.x2.x3) .nb-header-row__inner-container>.wp-block{--nb-wrapper-sides-spacings:calc(var(--nb-spacing)*var(--nb-header-sides-spacing-setting, 50)*2/100);padding-bottom:calc(var(--nb-emphasis-bottom-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1)*var(--nb-header-vertical-spacing-multiplier, 1));padding-top:calc(var(--nb-emphasis-top-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1)*var(--nb-header-vertical-spacing-multiplier, 1))}.nb-header[class]{--nb-navigation-item-spacing:calc(var(--nb-navigation-item-spacing-setting)*var(--nb-spacing)*2/100);width:100%}@media only screen and (min-width:1024px){.nb-header[class] :is(.nb-header-row,#specific){transition:--nb-header-vertical-spacing-multiplier .15s ease-out,transform .5s ease}.nb-header[class]:is(.nb-header--sticky,.nb-header--secondary) .nb-header-row{--nb-header-vertical-spacing-multiplier:var(--nb-sticky-header-spacing-multiplier,1)}}@media only screen and (min-width:1024px){.nb-header--transparent{--header-background-opacity:0}.nb-header--transparent.nb-header--sticky .nb-header-row{--header-background-opacity:0.95}}:is(.nb-header,.nb-header--mobile,#more.specific){--nb-block-top-spacing:0}@media only screen and (min-width:1024px){.nb-header--mobile{display:none}}.nb-header--mobile.nb-header--scrolled{color:var(--sm-current-fg2-color,var(--nb-fg2-color))}@media not screen and (min-width:1024px){.nb-header__inner-container{display:flex;flex-direction:column}.nb-header__inner-container>.nb-header-row--primary{order:-1}}@media only screen and (min-width:1024px){.nb-header--main{left:0;right:0;top:0;transition:var(--theme-transition);transition-property:opacity;z-index:2001}.nb-header__inner-container{width:100%}}@media not screen and (min-width:1024px){.nb-header--main[class]{--sm-current-bg-color:var(--sm-bg-color-5);--sm-current-accent-color:var(--sm-accent-color-5);--sm-current-fg1-color:var(--sm-fg1-color-5);--sm-current-fg2-color:var(--sm-fg2-color-5)}.nb-header--main[class].nb-header-background:before{position:fixed}.nb-header{display:none;overflow-y:auto;right:0;z-index:2100}.c-menu-toggle__checkbox~.nb-header{display:block}.c-menu-toggle__checkbox:not(:checked)~.nb-header,.c-menu-toggle__checkbox:not(:checked)~.nb-header:before{right:-100%}}@media not screen and (min-width:1024px){.nb-header,.nb-header:before{transition:right 0.4s cubic-bezier(0.4,0,0.2,1)}.c-menu-toggle__slice{transition:transform 0.3s ease}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--top{transform:rotate(-45deg)}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--middle{opacity:0}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--bottom{transform:rotate(45deg)}}:where(.nb-header-background){background:none!important;position:relative}:where(.nb-header-background):before{background-color:var(--sm-current-bg-color,var(--nb-bg-color));content:"";height:100%;opacity:var(--header-background-opacity,1);position:absolute;right:0;top:0;transition:var(--nb-transition);transition-property:opacity;width:100%}:where(.nb-header-shadow){--header-shadow-opacity:0}:where(.nb-header-shadow).nb-header--sticky{--header-shadow-opacity:0.1}:where(.nb-header-shadow):after{box-shadow:var(--shadow-color,#000) 0 var(--shadow-y-offset,0.0625em) var(--shadow-blur,0.125em);content:"";display:block;height:100%;opacity:var(--header-shadow-opacity,0);pointer-events:none;position:absolute;right:0;top:0;transition:var(--nb-transition);transition-property:opacity;width:100%;z-index:-1}.nb-header:not(.nb-header--ready){--header-background-opacity:0;opacity:0}.nb-header--mobile.nb-header--transparent{--header-background-opacity:0}.nb-header--mobile.nb-header--transparent.nb-header--sticky{--header-background-opacity:0.95}.menu-item-label{--font-size-modifier:0.7;background-blend-mode:hue;background-color:var(--sm-current-accent-color);background-image:linear-gradient(270deg,rgba(0,0,0,.8),hsla(0,0%,100%,.6),rgba(0,0,0,.3));border:none;border-radius:1em;color:#fff;font-weight:700;letter-spacing:0.03em;margin-right:var(--navigation-item-sub-elements-spacing);padding:.21em .6em 0.23em;text-transform:uppercase;vertical-align:middle}.nb-header-neighbour.nb-supernova--card-layout-stacked.nb-supernova--1-columns.nb-supernova--align-full .nb-supernova-item__media-wrapper:after{background-image:linear-gradient(rgba(0,0,0,.2) 0,rgba(0,0,0,.03) calc(var(--nb-header-height, 0px)*2),transparent 100%);content:"";height:100%;pointer-events:none;position:absolute;right:0;top:0;width:100%;z-index:1} -
nova-blocks/trunk/build/block-library/blocks/header/style.css
r2726064 r2744078 1 @media only screen and (min-width:1024px){.c-menu-toggle,.c-menu-toggle__checkbox{display:none}}.c-menu-toggle{background:none!important;font-size:1rem;left:0;margin:0!important;position:fixed;top:0;width:auto!important;z-index:2300}@media not screen and (min-width:1024px){.c-menu-toggle{display:block!important}}.c-menu-toggle__checkbox:checked~.c-menu-toggle{--sm-current-bg-color:var(--sm-bg-color-5);--sm-current-accent-color:var(--sm-accent-color-5);--sm-current-fg1-color:var(--sm-fg1-color-5);--sm-current-fg2-color:var(--sm-fg2-color-5)}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--top{transform:rotate(45deg)}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--middle{opacity:0}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--bottom{transform:rotate(-45deg)}.c-menu-toggle__slice{transition:var(--theme-transition);transition-property:transform}.c-menu-toggle__wrap{align-items:center;cursor:pointer;display:flex;height:100%;padding:1em var(--nb-wrapper-sides-spacings,0);position:relative}.c-menu-toggle__checkbox{display:none}.c-menu-toggle__label{margin-left:0.5em}.c-menu-toggle__icon{display:block;position:relative;width:1em}.c-menu-toggle__slice{background:currentColor;display:block;height:2px;width:21px}.c-menu-toggle__slice--bottom,.c-menu-toggle__slice--top{left:0;position:absolute;top:0}.c-menu-toggle__slice--middle{width:16px}.c-menu-toggle__slice--top{transform:translate3d(0,-7px,0)}.c-menu-toggle__slice--bottom{transform:translate3d(0,7px,0)}.c-reading-bar__progress{background-color:transparent;border:none;height:var(--theme-reading-progress-width);left:0;position:absolute;top:100%;width:100%}:is(.c-reading-bar__progress,#specific){margin:0}.c-reading-bar__progress:before{background-color:var(--nb-accent-color);content:"";display:block;height:100%;left:0;position:absolute;top:0;transform:scaleX(var(--progress,0));transform-origin:0 50%;width:100%;will-change:transform}:root{--theme-reading-progress-width:3px;--theme-reading-progress-color:var(--sm-current-accent-color)}.c-reading-bar,.c-reading-bar__progress{display:none}@media not screen and (min-width:1024px){.c-reading-bar,.c-reading-bar__progress{display:none!important}}.c-reading-bar{--nb-block-top-spacing:0!important;height:100%;left:0;max-width:none;overflow:hidden;position:absolute;top:0;width:100%;z-index:20}.c-reading-bar>*{flex-basis:33.33333%}.c-reading-bar[class]{background:none}.c-reading-bar__layer--current .post-title__label{display:none}.c-reading-bar__layer--next,.c-reading-bar__layer-wrapper{bottom:0;left:0;position:absolute;right:0;top:0}.c-reading-bar__layer--next{overflow:hidden;transform:translateY(100%)}.c-reading-bar__layer--next>.c-reading-bar__layer-wrapper{transform:translateY(-100%)}:is(.c-reading-bar__layer--next,.c-reading-bar__layer--next>.c-reading-bar__layer-wrapper){transition:var(--nb-transition)}.nb-header--next :is(.c-reading-bar__layer--next,.c-reading-bar__layer--next>.c-reading-bar__layer-wrapper){transform:none}.c-reading-bar__layer-wrapper{align-items:center;-moz-column-gap:var(--nb-navigation-item-spacing);column-gap:var(--nb-navigation-item-spacing);display:flex;justify-content:space-between;padding:0 var(--nb-wrapper-sides-spacings)}.c-reading-bar__layer-wrapper>:not(.c-reading-bar__title){flex:0 0 auto}.c-reading-bar__title{display:flex;margin-left:auto;margin-right:auto}@-webkit-keyframes reading-bar-show-overflow{to{overflow:visible}}@keyframes reading-bar-show-overflow{to{overflow:visible}}.nb-header .nb-header-row{-webkit-animation:reading-bar-show-overflow 0s linear var(--nb-transition-duration) forwards;animation:reading-bar-show-overflow 0s linear var(--nb-transition-duration) forwards;overflow:hidden}.nb-header .c-reading-bar{pointer-events:none}.nb-header .c-reading-bar__container{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0;transform:translateY(-100%)}.nb-header .c-reading-bar__container,.nb-header .nb-header-row__inner-container{transition:transform 0.5s ease;will-change:transform}.nb-header:is(.nb-header--next,.nb-header--reading) .nb-header-row{-webkit-animation:none;animation:none}.nb-header:is(.nb-header--next,.nb-header--reading) .c-reading-bar{pointer-events:auto}.nb-header:is(.nb-header--next,.nb-header--reading) .c-reading-bar__container{transform:translateY(0)}.nb-header:is(.nb-header--next,.nb-header--reading) .nb-header-row .nb-header-row__inner-container{pointer-events:none;transform:translateY(100%)}:is(.c-reading-bar,#specific) .wp-block-button__link{background-color:transparent;border:0;color:inherit;display:flex;padding:0}:is(.c-reading-bar,#specific) .wp-block-button__link span{margin:0;padding:0}:is(.c-reading-bar,#specific) .wp-block-button__link svg{display:none}:is(.c-reading-bar,#specific) .wp-block-button__link:before{background-color:transparent}:is(.c-reading-bar,#specific) .wp-block-buttons{margin-top:0}.c-reading-bar .post-title__label[class]{margin-bottom:0}.c-reading-bar .post-title__post-name{margin-left:5px}.nb-header--mobile{--shadow-color:rgba(0,0,0,.25);--shadow-y-offset:4px;--shadow-blur:4px;align-items:center;display:flex;justify-content:center;min-height:60px;padding:var(--theme-spacing-fluid-smaller) var(--theme-wrapper-sides-spacing);width:100%;z-index:2000}.nb-header--mobile:not([style*=fixed])[class]{--header-background-opacity:0}.nb-header--mobile .menu-item--cart{display:flex;position:absolute;right:calc(var(--theme-wrapper-sides-spacing));top:50%;transform:translateY(-50%)}.nb-header--mobile .menu-item--cart>a{color:currentColor;transition:color .3s ease}.nb-header--mobile .menu-item--cart .menu-item__label{display:none}@media only screen and (min-width:1024px){.nb-header__inner-container{padding-top:0!important}.nb-header--mobile{display:none}}@media not screen and (min-width:1024px){.nb-header--main{margin-top:0!important}.nb-header--main:before{--header-background-opacity:0.97}.nb-header--main :is(.nb-header-row--logo,.c-branding){display:none!important}.nb-header--main .menu:not(.menu--buttons) .menu-item--cart,.nb-header--main .menu:not(.menu--buttons) .menu-item--dark-mode,.nb-header--main .menu:not(.menu--buttons) .menu-item--search{display:none!important}.nb-navigation .sub-menu{margin-left:calc(var(--theme-wrapper-sides-spacing)*-1);margin-right:calc(var(--theme-wrapper-sides-spacing)*-1)}.nb-navigation .sub-menu>li{padding-left:var(--theme-wrapper-sides-spacing);padding-right:var(--theme-wrapper-sides-spacing)}.nb-navigation>ul>li[class*=current]{color:var(--nb-fg1-color)}.c-menu-toggle__checkbox:checked~.nb-header .nb-header__buttons-menu,.c-menu-toggle__checkbox:checked~.nb-header .nb-header__inner-container{opacity:1;transition:opacity .3s ease .3s}.c-menu-toggle__checkbox:not(:checked)~.nb-header .nb-header__buttons-menu,.c-menu-toggle__checkbox:not(:checked)~.nb-header .nb-header__inner-container{opacity:0;transition:opacity .2s ease 0s}}.nb-header__buttons-menu{padding-left:var(--nb-wrapper-sides-spacings);padding-right:var(--nb-wrapper-sides-spacings);position:absolute;right:0;top:0}.nb-header__buttons-menu .menu{align-items:center;display:flex}@media only screen and (min-width:1024px){.nb-header__buttons-menu[class]{display:none}}.nb-header__buttons-menu a{color:inherit;display:block}.nb-header__buttons-menu .menu--buttons{list-style:none}.nb-header__buttons-menu .menu--buttons li{position:relative}.nb-header__buttons-menu .menu--buttons li[class][class]{margin-top:0}.nb-header__buttons-menu .menu--buttons li:not(:first-child){margin-left:1em}.nb-header--secondary{opacity:0;pointer-events:none;transition:opacity .15s ease-in;width:100%;z-index:2200}.nb-header--secondary.is-visible{opacity:1;pointer-events:auto}.nb-header--secondary:after{opacity:0.1}.nb-header--secondary>.nb-header__inner-container:not(:only-child):last-child{opacity:0;pointer-events:none;position:absolute;transition:transform 0.2s ease 0s,opacity 0.1s ease 0.1s;width:100%;z-index:-1}.nb-header--secondary:hover>.nb-header__inner-container:not(:only-child):last-child{opacity:1;pointer-events:auto}@media not screen and (min-width:1024px){.nb-header--secondary{display:none!important}}.nb-header--secondary .nb-header-row[data-is-primary]:not([data-is-sticky]){display:none}.nb-header--secondary:not(.nb-header--reading):not(.nb-header--next):hover .nb-header-row[data-is-primary]{display:block}:root{--icons-size-multiplier:1.3;--icons-horizontal-spacing-reducer:2}@property --nb-header-vertical-spacing-multiplier{syntax:"<number>";initial-value:1;inherits:true}:is(.nb-header-row,.specificity.x2.x3){padding-bottom:0;padding-top:0}:is(.nb-header-row,.specificity.x2.x3) .nb-header-row__inner-container>.wp-block{--nb-wrapper-sides-spacings:calc(var(--nb-spacing)*var(--nb-header-sides-spacing-setting, 50)*2/100);padding-bottom:calc(var(--nb-emphasis-bottom-spacing)*var(--nb-current-spacing)*var(--nb- header-vertical-spacing-multiplier));padding-top:calc(var(--nb-emphasis-top-spacing)*var(--nb-current-spacing)*var(--nb-header-vertical-spacing-multiplier))}.nb-header[class]{--nb-navigation-item-spacing:calc(var(--nb-navigation-item-spacing-setting)*var(--nb-spacing)*2/100);width:100%}@media only screen and (min-width:1024px){.nb-header[class] :is(.nb-header-row,#specific){transition:--nb-header-vertical-spacing-multiplier .15s ease-out,transform .5s ease}.nb-header[class]:is(.nb-header--sticky,.nb-header--secondary) .nb-header-row{--nb-header-vertical-spacing-multiplier:var(--nb-sticky-header-spacing-multiplier,1)}}@media only screen and (min-width:1024px){.nb-header--transparent{--header-background-opacity:0}.nb-header--transparent.nb-header--sticky .nb-header-row{--header-background-opacity:0.95}}:is(.nb-header,.nb-header--mobile,#more.specific){--nb-block-top-spacing:0}@media only screen and (min-width:1024px){.nb-header--mobile{display:none}}.nb-header--mobile.nb-header--scrolled{color:var(--sm-current-fg2-color,var(--nb-fg2-color))}@media not screen and (min-width:1024px){.nb-header__inner-container{display:flex;flex-direction:column}.nb-header__inner-container>.nb-header-row--primary{order:-1}}@media only screen and (min-width:1024px){.nb-header--main{left:0;right:0;top:0;transition:var(--theme-transition);transition-property:opacity;z-index:2001}.nb-header__inner-container{width:100%}}@media not screen and (min-width:1024px){.nb-header--main[class]{--sm-current-bg-color:var(--sm-bg-color-5);--sm-current-accent-color:var(--sm-accent-color-5);--sm-current-fg1-color:var(--sm-fg1-color-5);--sm-current-fg2-color:var(--sm-fg2-color-5)}.nb-header--main[class].nb-header-background:before{position:fixed}.nb-header{display:none;left:0;overflow-y:auto;z-index:2100}.c-menu-toggle__checkbox~.nb-header{display:block}.c-menu-toggle__checkbox:not(:checked)~.nb-header,.c-menu-toggle__checkbox:not(:checked)~.nb-header:before{left:-100%}}@media not screen and (min-width:1024px){.nb-header,.nb-header:before{transition:left 0.4s cubic-bezier(0.4,0,0.2,1)}.c-menu-toggle__slice{transition:transform 0.3s ease}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--top{transform:rotate(45deg)}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--middle{opacity:0}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--bottom{transform:rotate(-45deg)}}:where(.nb-header-background){background:none!important;position:relative}:where(.nb-header-background):before{background-color:var(--sm-current-bg-color,var(--nb-bg-color));content:"";height:100%;left:0;opacity:var(--header-background-opacity,1);position:absolute;top:0;transition:var(--nb-transition);transition-property:opacity;width:100%}:where(.nb-header-shadow){--header-shadow-opacity:0}:where(.nb-header-shadow).nb-header--sticky{--header-shadow-opacity:0.1}:where(.nb-header-shadow):after{box-shadow:var(--shadow-color,#000) 0 var(--shadow-y-offset,0.0625em) var(--shadow-blur,0.125em);content:"";display:block;height:100%;left:0;opacity:var(--header-shadow-opacity,0);pointer-events:none;position:absolute;top:0;transition:var(--nb-transition);transition-property:opacity;width:100%;z-index:-1}.nb-header:not(.nb-header--ready){--header-background-opacity:0;opacity:0}.nb-header--mobile.nb-header--transparent{--header-background-opacity:0}.nb-header--mobile.nb-header--transparent.nb-header--sticky{--header-background-opacity:0.95}.menu-item-label{--font-size-modifier:0.7;background-blend-mode:hue;background-color:var(--sm-current-accent-color);background-image:linear-gradient(90deg,rgba(0,0,0,.8),hsla(0,0%,100%,.6),rgba(0,0,0,.3));border:none;border-radius:1em;color:#fff;font-weight:700;letter-spacing:0.03em;margin-left:var(--navigation-item-sub-elements-spacing);padding:.21em .6em 0.23em;text-transform:uppercase;vertical-align:middle}.nb-header-neighbour.nb-supernova--card-layout-stacked.nb-supernova--1-columns.nb-supernova--align-full .nb-supernova-item__media-wrapper:after{background-image:linear-gradient(rgba(0,0,0,.2) 0,rgba(0,0,0,.03) calc(var(--nb-header-height, 0px)*2),transparent 100%);content:"";height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:1}1 @media only screen and (min-width:1024px){.c-menu-toggle,.c-menu-toggle__checkbox{display:none}}.c-menu-toggle{background:none!important;font-size:1rem;left:0;margin:0!important;position:fixed;top:0;width:auto!important;z-index:2300}@media not screen and (min-width:1024px){.c-menu-toggle{display:block!important}}.c-menu-toggle__checkbox:checked~.c-menu-toggle{--sm-current-bg-color:var(--sm-bg-color-5);--sm-current-accent-color:var(--sm-accent-color-5);--sm-current-fg1-color:var(--sm-fg1-color-5);--sm-current-fg2-color:var(--sm-fg2-color-5)}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--top{transform:rotate(45deg)}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--middle{opacity:0}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--bottom{transform:rotate(-45deg)}.c-menu-toggle__slice{transition:var(--theme-transition);transition-property:transform}.c-menu-toggle__wrap{align-items:center;cursor:pointer;display:flex;height:100%;padding:1em var(--nb-wrapper-sides-spacings,0);position:relative}.c-menu-toggle__checkbox{display:none}.c-menu-toggle__label{margin-left:0.5em}.c-menu-toggle__icon{display:block;position:relative;width:1em}.c-menu-toggle__slice{background:currentColor;display:block;height:2px;width:21px}.c-menu-toggle__slice--bottom,.c-menu-toggle__slice--top{left:0;position:absolute;top:0}.c-menu-toggle__slice--middle{width:16px}.c-menu-toggle__slice--top{transform:translate3d(0,-7px,0)}.c-menu-toggle__slice--bottom{transform:translate3d(0,7px,0)}.c-reading-bar__progress{background-color:transparent;border:none;height:var(--theme-reading-progress-width);left:0;position:absolute;top:100%;width:100%}:is(.c-reading-bar__progress,#specific){margin:0}.c-reading-bar__progress:before{background-color:var(--nb-accent-color);content:"";display:block;height:100%;left:0;position:absolute;top:0;transform:scaleX(var(--progress,0));transform-origin:0 50%;width:100%;will-change:transform}:root{--theme-reading-progress-width:3px;--theme-reading-progress-color:var(--sm-current-accent-color)}.c-reading-bar,.c-reading-bar__progress{display:none}@media not screen and (min-width:1024px){.c-reading-bar,.c-reading-bar__progress{display:none!important}}.c-reading-bar{--nb-block-top-spacing:0!important;height:100%;left:0;max-width:none;overflow:hidden;position:absolute;top:0;width:100%;z-index:20}.c-reading-bar>*{flex-basis:33.33333%}.c-reading-bar[class]{background:none}.c-reading-bar__layer--current .post-title__label{display:none}.c-reading-bar__layer--next,.c-reading-bar__layer-wrapper{bottom:0;left:0;position:absolute;right:0;top:0}.c-reading-bar__layer--next{overflow:hidden;transform:translateY(100%)}.c-reading-bar__layer--next>.c-reading-bar__layer-wrapper{transform:translateY(-100%)}:is(.c-reading-bar__layer--next,.c-reading-bar__layer--next>.c-reading-bar__layer-wrapper){transition:var(--nb-transition)}.nb-header--next :is(.c-reading-bar__layer--next,.c-reading-bar__layer--next>.c-reading-bar__layer-wrapper){transform:none}.c-reading-bar__layer-wrapper{align-items:center;-moz-column-gap:var(--nb-navigation-item-spacing);column-gap:var(--nb-navigation-item-spacing);display:flex;justify-content:space-between;padding:0 var(--nb-wrapper-sides-spacings)}.c-reading-bar__layer-wrapper>:not(.c-reading-bar__title){flex:0 0 auto}.c-reading-bar__title{display:flex;margin-left:auto;margin-right:auto}@-webkit-keyframes reading-bar-show-overflow{to{overflow:visible}}@keyframes reading-bar-show-overflow{to{overflow:visible}}.nb-header .nb-header-row{-webkit-animation:reading-bar-show-overflow 0s linear var(--nb-transition-duration) forwards;animation:reading-bar-show-overflow 0s linear var(--nb-transition-duration) forwards;overflow:hidden}.nb-header .c-reading-bar{pointer-events:none}.nb-header .c-reading-bar__container{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0;transform:translateY(-100%)}.nb-header .c-reading-bar__container,.nb-header .nb-header-row__inner-container{transition:transform 0.5s ease;will-change:transform}.nb-header:is(.nb-header--next,.nb-header--reading) .nb-header-row{-webkit-animation:none;animation:none}.nb-header:is(.nb-header--next,.nb-header--reading) .c-reading-bar{pointer-events:auto}.nb-header:is(.nb-header--next,.nb-header--reading) .c-reading-bar__container{transform:translateY(0)}.nb-header:is(.nb-header--next,.nb-header--reading) .nb-header-row .nb-header-row__inner-container{pointer-events:none;transform:translateY(100%)}:is(.c-reading-bar,#specific) .wp-block-button__link{background-color:transparent;border:0;color:inherit;display:flex;padding:0}:is(.c-reading-bar,#specific) .wp-block-button__link span{margin:0;padding:0}:is(.c-reading-bar,#specific) .wp-block-button__link svg{display:none}:is(.c-reading-bar,#specific) .wp-block-button__link:before{background-color:transparent}:is(.c-reading-bar,#specific) .wp-block-buttons{margin-top:0}.c-reading-bar .post-title__label[class]{margin-bottom:0}.c-reading-bar .post-title__post-name{margin-left:5px}.nb-header--mobile{--shadow-color:rgba(0,0,0,.25);--shadow-y-offset:4px;--shadow-blur:4px;align-items:center;display:flex;justify-content:center;min-height:60px;padding:var(--theme-spacing-fluid-smaller) var(--theme-wrapper-sides-spacing);width:100%;z-index:2000}.nb-header--mobile:not([style*=fixed])[class]{--header-background-opacity:0}.nb-header--mobile .menu-item--cart{display:flex;position:absolute;right:calc(var(--theme-wrapper-sides-spacing));top:50%;transform:translateY(-50%)}.nb-header--mobile .menu-item--cart>a{color:currentColor;transition:color .3s ease}.nb-header--mobile .menu-item--cart .menu-item__label{display:none}@media only screen and (min-width:1024px){.nb-header__inner-container{padding-top:0!important}.nb-header--mobile{display:none}}@media not screen and (min-width:1024px){.nb-header--main{margin-top:0!important}.nb-header--main:before{--header-background-opacity:0.97}.nb-header--main :is(.nb-header-row--logo,.c-branding){display:none!important}.nb-header--main .menu:not(.menu--buttons) .menu-item--cart,.nb-header--main .menu:not(.menu--buttons) .menu-item--dark-mode,.nb-header--main .menu:not(.menu--buttons) .menu-item--search{display:none!important}.nb-navigation .sub-menu{margin-left:calc(var(--theme-wrapper-sides-spacing)*-1);margin-right:calc(var(--theme-wrapper-sides-spacing)*-1)}.nb-navigation .sub-menu>li{padding-left:var(--theme-wrapper-sides-spacing);padding-right:var(--theme-wrapper-sides-spacing)}.nb-navigation>ul>li[class*=current]{color:var(--nb-fg1-color)}.c-menu-toggle__checkbox:checked~.nb-header .nb-header__buttons-menu,.c-menu-toggle__checkbox:checked~.nb-header .nb-header__inner-container{opacity:1;transition:opacity .3s ease .3s}.c-menu-toggle__checkbox:not(:checked)~.nb-header .nb-header__buttons-menu,.c-menu-toggle__checkbox:not(:checked)~.nb-header .nb-header__inner-container{opacity:0;transition:opacity .2s ease 0s}}.nb-header__buttons-menu{padding-left:var(--nb-wrapper-sides-spacings);padding-right:var(--nb-wrapper-sides-spacings);position:absolute;right:0;top:0}.nb-header__buttons-menu .menu{align-items:center;display:flex}@media only screen and (min-width:1024px){.nb-header__buttons-menu[class]{display:none}}.nb-header__buttons-menu a{color:inherit;display:block}.nb-header__buttons-menu .menu--buttons{list-style:none}.nb-header__buttons-menu .menu--buttons li{position:relative}.nb-header__buttons-menu .menu--buttons li[class][class]{margin-top:0}.nb-header__buttons-menu .menu--buttons li:not(:first-child){margin-left:1em}.nb-header--secondary{opacity:0;pointer-events:none;transition:opacity .15s ease-in;width:100%;z-index:2200}.nb-header--secondary.is-visible{opacity:1;pointer-events:auto}.nb-header--secondary:after{opacity:0.1}.nb-header--secondary>.nb-header__inner-container:not(:only-child):last-child{opacity:0;pointer-events:none;position:absolute;transition:transform 0.2s ease 0s,opacity 0.1s ease 0.1s;width:100%;z-index:-1}.nb-header--secondary:hover>.nb-header__inner-container:not(:only-child):last-child{opacity:1;pointer-events:auto}@media not screen and (min-width:1024px){.nb-header--secondary{display:none!important}}.nb-header--secondary .nb-header-row[data-is-primary]:not([data-is-sticky]){display:none}.nb-header--secondary:not(.nb-header--reading):not(.nb-header--next):hover .nb-header-row[data-is-primary]{display:block}:root{--icons-size-multiplier:1.3;--icons-horizontal-spacing-reducer:2}@property --nb-header-vertical-spacing-multiplier{syntax:"<number>";initial-value:1;inherits:true}:is(.nb-header-row,.specificity.x2.x3){padding-bottom:0;padding-top:0}:is(.nb-header-row,.specificity.x2.x3) .nb-header-row__inner-container>.wp-block{--nb-wrapper-sides-spacings:calc(var(--nb-spacing)*var(--nb-header-sides-spacing-setting, 50)*2/100);padding-bottom:calc(var(--nb-emphasis-bottom-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1)*var(--nb-header-vertical-spacing-multiplier, 1));padding-top:calc(var(--nb-emphasis-top-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1)*var(--nb-header-vertical-spacing-multiplier, 1))}.nb-header[class]{--nb-navigation-item-spacing:calc(var(--nb-navigation-item-spacing-setting)*var(--nb-spacing)*2/100);width:100%}@media only screen and (min-width:1024px){.nb-header[class] :is(.nb-header-row,#specific){transition:--nb-header-vertical-spacing-multiplier .15s ease-out,transform .5s ease}.nb-header[class]:is(.nb-header--sticky,.nb-header--secondary) .nb-header-row{--nb-header-vertical-spacing-multiplier:var(--nb-sticky-header-spacing-multiplier,1)}}@media only screen and (min-width:1024px){.nb-header--transparent{--header-background-opacity:0}.nb-header--transparent.nb-header--sticky .nb-header-row{--header-background-opacity:0.95}}:is(.nb-header,.nb-header--mobile,#more.specific){--nb-block-top-spacing:0}@media only screen and (min-width:1024px){.nb-header--mobile{display:none}}.nb-header--mobile.nb-header--scrolled{color:var(--sm-current-fg2-color,var(--nb-fg2-color))}@media not screen and (min-width:1024px){.nb-header__inner-container{display:flex;flex-direction:column}.nb-header__inner-container>.nb-header-row--primary{order:-1}}@media only screen and (min-width:1024px){.nb-header--main{left:0;right:0;top:0;transition:var(--theme-transition);transition-property:opacity;z-index:2001}.nb-header__inner-container{width:100%}}@media not screen and (min-width:1024px){.nb-header--main[class]{--sm-current-bg-color:var(--sm-bg-color-5);--sm-current-accent-color:var(--sm-accent-color-5);--sm-current-fg1-color:var(--sm-fg1-color-5);--sm-current-fg2-color:var(--sm-fg2-color-5)}.nb-header--main[class].nb-header-background:before{position:fixed}.nb-header{display:none;left:0;overflow-y:auto;z-index:2100}.c-menu-toggle__checkbox~.nb-header{display:block}.c-menu-toggle__checkbox:not(:checked)~.nb-header,.c-menu-toggle__checkbox:not(:checked)~.nb-header:before{left:-100%}}@media not screen and (min-width:1024px){.nb-header,.nb-header:before{transition:left 0.4s cubic-bezier(0.4,0,0.2,1)}.c-menu-toggle__slice{transition:transform 0.3s ease}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--top{transform:rotate(45deg)}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--middle{opacity:0}.c-menu-toggle__checkbox:checked~.c-menu-toggle .c-menu-toggle__slice--bottom{transform:rotate(-45deg)}}:where(.nb-header-background){background:none!important;position:relative}:where(.nb-header-background):before{background-color:var(--sm-current-bg-color,var(--nb-bg-color));content:"";height:100%;left:0;opacity:var(--header-background-opacity,1);position:absolute;top:0;transition:var(--nb-transition);transition-property:opacity;width:100%}:where(.nb-header-shadow){--header-shadow-opacity:0}:where(.nb-header-shadow).nb-header--sticky{--header-shadow-opacity:0.1}:where(.nb-header-shadow):after{box-shadow:var(--shadow-color,#000) 0 var(--shadow-y-offset,0.0625em) var(--shadow-blur,0.125em);content:"";display:block;height:100%;left:0;opacity:var(--header-shadow-opacity,0);pointer-events:none;position:absolute;top:0;transition:var(--nb-transition);transition-property:opacity;width:100%;z-index:-1}.nb-header:not(.nb-header--ready){--header-background-opacity:0;opacity:0}.nb-header--mobile.nb-header--transparent{--header-background-opacity:0}.nb-header--mobile.nb-header--transparent.nb-header--sticky{--header-background-opacity:0.95}.menu-item-label{--font-size-modifier:0.7;background-blend-mode:hue;background-color:var(--sm-current-accent-color);background-image:linear-gradient(90deg,rgba(0,0,0,.8),hsla(0,0%,100%,.6),rgba(0,0,0,.3));border:none;border-radius:1em;color:#fff;font-weight:700;letter-spacing:0.03em;margin-left:var(--navigation-item-sub-elements-spacing);padding:.21em .6em 0.23em;text-transform:uppercase;vertical-align:middle}.nb-header-neighbour.nb-supernova--card-layout-stacked.nb-supernova--1-columns.nb-supernova--align-full .nb-supernova-item__media-wrapper:after{background-image:linear-gradient(rgba(0,0,0,.2) 0,rgba(0,0,0,.03) calc(var(--nb-header-height, 0px)*2),transparent 100%);content:"";height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:1} -
nova-blocks/trunk/build/block-library/blocks/headline/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'bf 7b0d52ef0ec890c7deb424cc75bbd3');1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'bf89898614cbc893039be7fce0e90a73'); -
nova-blocks/trunk/build/block-library/blocks/headline/index.js
r2738702 r2744078 1 !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=13 4)}({0:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},1:function(t,e){t.exports=window.wp.element},12:function(t,e,n){var r;1 !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=133)}({0:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},1:function(t,e){t.exports=window.wp.element},12:function(t,e,n){var r; 2 2 /*! 3 3 Copyright (c) 2017 Jed Watson. 4 4 Licensed under the MIT License (MIT), see 5 5 http://jedwatson.github.io/classnames 6 */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&t.push(a)}else if("object"===i)for(var u in r)n.call(r,u)&&r[u]&&t.push(u)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},13 4:function(t,e,n){"use strict";var r=n(0),o=n(5),i=n(2),a=r(n(135)),u=r(n(136)),c=r(n(137)),s=r(n(138));(0,o.registerBlockType)("novablocks/headline",{icon:(0,i.getSvg)(a.default),save:c.default,edit:u.default,transforms:s.default})},135:function(t,e,n){"use strict";n.r(e);var r=n(6),o=n.n(r),i=n(7),a=n.n(i),u=new o.a({id:"block-library-headline/icon",use:"block-library-headline/icon-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="block-library-headline/icon"><path fill="#6565F2" fill-rule="evenodd" d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm4.147 16.208a1 1 0 0 1-.978.792h-.762a1 1 0 0 1-.979-1.207l.428-2.023a1 1 0 0 0-.978-1.207h-2.333a1 1 0 0 0-.978.792l-.608 2.854A1 1 0 0 1 7.98 17h-.746a1 1 0 0 1-.978-1.208l1.915-9A1 1 0 0 1 9.15 6h.754a1 1 0 0 1 .978 1.207l-.403 1.9a1 1 0 0 0 .979 1.208h2.332a1 1 0 0 0 .978-.791l.584-2.733a1 1 0 0 1 .978-.79h.754a1 1 0 0 1 .978 1.207l-1.915 9z" clip-rule="evenodd" /></symbol>'});a.a.add(u);e.default=u},136:function(t,e,n){"use strict";var r=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.attributes,n=t.setAttributes,r=e.align,u=e.level,s=e.primary,d=e.secondary,f=e.textAlign,p="h".concat(u),h=(0,i.default)("c-headline","has-text-align-".concat(f),"align".concat(r)),y=(0,c.useBlockProps)({className:h});return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p,y,(0,o.createElement)(c.RichText,{className:"c-headline__secondary",identifier:"secondary",tagName:"span",value:d,onChange:function(t){return n({secondary:t})},placeholder:(0,a.__)("Subtitle…","nova-blocks"),keepPlaceholderOnFocus:!0,allowedFormats:[]}),(0,o.createElement)(c.RichText,{className:"c-headline__primary",identifier:"primary",tagName:"span",value:s,onChange:function(t){return n({primary:t})},placeholder:(0,a.__)("Write title…","nova-blocks"),keepPlaceholderOnFocus:!0,allowedFormats:[]})),(0,o.createElement)(l,t))};var o=n(1),i=r(n(12)),a=n(3),u=n(9),c=n(4),s=n(2),l=function(t){var e=t.attributes,n=t.setAttributes,r=(e.align,e.level),i=(e.primary,e.secondary,e.textAlign);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(c.BlockControls,null,(0,o.createElement)(s.HeadingToolbar,{minLevel:2,maxLevel:4,selectedLevel:r,onChange:function(t){return n({level:t})}}),(0,o.createElement)(c.AlignmentToolbar,{value:i,onChange:function(t){n({textAlign:t})}})),(0,o.createElement)(c.InspectorControls,null,(0,o.createElement)(u.PanelBody,{title:(0,a.__)("Headline Settings","nova-blocks"),initialOpen:!0},(0,o.createElement)("p",null,(0,a.__)("Level","nova-blocks")),(0,o.createElement)(s.HeadingToolbar,{minLevel:1,maxLevel:6,selectedLevel:r,onChange:function(t){return n({level:t})}}))))}},137:function(t,e,n){"use strict";var r=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.attributes,n=e.align,r=e.level,u=e.primary,c=e.secondary,s=e.textAlign,l=(e.fontSize,"h".concat(r)),d=(0,i.default)("c-headline","has-text-align-".concat(s),"align".concat(n),e.className);return(0,o.createElement)(l,{className:d},(0,o.createElement)(a.RichText.Content,{className:"c-headline__secondary",value:c,tagName:"span"})," ",(0,o.createElement)(a.RichText.Content,{className:"c-headline__primary",value:u,tagName:"span"}))};var o=n(1),i=r(n(12)),a=n(4)},138:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(5),o={from:[{type:"block",blocks:["core/heading"],transform:function(t){return(0,r.createBlock)("novablocks/headline",{primary:t.content,secondary:"",level:t.level,fontSize:t.fontSize,className:t.className,align:t.align})}}],to:[{type:"block",blocks:["core/heading"],transform:function(t){return(0,r.createBlock)("core/heading",{content:t.secondary+" "+t.primary,level:t.level,fontSize:t.fontSize,className:t.className,align:t.align})}}]};e.default=o},2:function(t,e){t.exports=window.novablocks.blockEditor},3:function(t,e){t.exports=window.wp.i18n},4:function(t,e){t.exports=window.wp.blockEditor},5:function(t,e){t.exports=window.wp.blocks},6:function(t,e,n){(function(e){var n;n=function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};function n(t,e){return t(e={exports:{}},e.exports),e.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))},"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var r=n((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o;return n&&!0===n.clone&&t(e)?r((o=e,Array.isArray(o)?[]:{}),e,n):e}function n(n,o,i){var a=n.slice();return o.forEach((function(o,u){void 0===a[u]?a[u]=e(o,i):t(o)?a[u]=r(n[u],o,i):-1===n.indexOf(o)&&a.push(e(o,i))})),a}function r(o,i,a){var u=Array.isArray(i),c=(a||{arrayMerge:n}).arrayMerge||n;return u?Array.isArray(o)?c(o,i,a):e(i,a):function(n,o,i){var a={};return t(n)&&Object.keys(n).forEach((function(t){a[t]=e(n[t],i)})),Object.keys(o).forEach((function(u){t(o[u])&&n[u]?a[u]=r(n[u],o[u],i):a[u]=e(o[u],i)})),a}(o,i,a)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return r(t,n,e)}))},r}()})),o=n((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=o.svg,a=o.xlink,u={};u[i.name]=i.uri,u[a.name]=a.uri;var c=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(r(u,e||{}))+">"+t+"</svg>"};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(c(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)},t.exports=n()}).call(this,n(8))},7:function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=t((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o;return n&&!0===n.clone&&t(e)?r((o=e,Array.isArray(o)?[]:{}),e,n):e}function n(n,o,i){var a=n.slice();return o.forEach((function(o,u){void 0===a[u]?a[u]=e(o,i):t(o)?a[u]=r(n[u],o,i):-1===n.indexOf(o)&&a.push(e(o,i))})),a}function r(o,i,a){var u=Array.isArray(i),c=(a||{arrayMerge:n}).arrayMerge||n;return u?Array.isArray(o)?c(o,i,a):e(i,a):function(n,o,i){var a={};return t(n)&&Object.keys(n).forEach((function(t){a[t]=e(n[t],i)})),Object.keys(o).forEach((function(u){t(o[u])&&n[u]?a[u]=r(n[u],o[u],i):a[u]=e(o[u],i)})),a}(o,i,a)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return r(t,n,e)}))},r}()})),r=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),o=r.svg,i=r.xlink,a={};a[o.name]=o.uri,a[i.name]=i.uri;var u,c=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(n(a,e||{}))+">"+t+"</svg>"},s=r.svg,l=r.xlink,d={attrs:(u={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},u[s.name]=s.uri,u[l.name]=l.uri,u)},f=function(t){this.config=n(d,t||{}),this.symbols=[]};f.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},f.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},f.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},f.prototype.has=function(t){return null!==this.find(t)},f.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map((function(t){return t.stringify()})).join("");return c(e,t)},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var p=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};p.prototype.stringify=function(){return this.content},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var h=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},y=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return h(c(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(p),m={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},v=function(t){return Array.prototype.slice.call(t,0)},g=function(){return/firefox/i.test(navigator.userAgent)},b=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},w=function(){return/edge/i.test(navigator.userAgent)},_=function(t){return(t||window.location.href).split("#")[0]},x=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,r){var o,i,a;o=t,i={oldUrl:r,newUrl:n},(a=document.createEvent("CustomEvent")).initCustomEvent(o,!1,!1,i),window.dispatchEvent(a)}))}])},E=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern, mask, clipPath"),v(t.querySelectorAll("symbol")).forEach((function(t){v(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t},S=r.xlink.uri,A=/[{}|\\\^\[\]`"<>]/g;function O(t){return t.replace(A,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var k,C=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],j=C.map((function(t){return"["+t+"]"})).join(","),N=function(t,e,n,r){var o=O(n),i=O(r);(function(t,e){return v(t).reduce((function(t,n){if(!n.attributes)return t;var r=v(n.attributes),o=e?r.filter(e):r;return t.concat(o)}),[])})(t.querySelectorAll(j),(function(t){var e=t.localName,n=t.value;return-1!==C.indexOf(e)&&-1!==n.indexOf("url("+o)})).forEach((function(t){return t.value=t.value.replace(new RegExp(o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,e,n){v(t).forEach((function(t){var r=t.getAttribute("xlink:href");if(r&&0===r.indexOf(e)){var o=r.replace(e,n);t.setAttributeNS(S,"xlink:href",o)}}))}(e,o,i)},M="mount",T="symbol_mount",B=function(t){function e(e){var r=this;void 0===e&&(e={}),t.call(this,n(m,e));var o,i=(o=o||Object.create(null),{on:function(t,e){(o[t]||(o[t]=[])).push(e)},off:function(t,e){o[t]&&o[t].splice(o[t].indexOf(e)>>>0,1)},emit:function(t,e){(o[t]||[]).map((function(t){t(e)})),(o["*"]||[]).map((function(n){n(t,e)}))}});this._emitter=i,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(e),a.syncUrlsWithBaseTag){var u=document.getElementsByTagName("base")[0].getAttribute("href");i.on(M,(function(){return r.updateUrls("#",u)}))}var c=this._handleLocationChange.bind(this);this._handleLocationChange=c,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,c),a.locationChangeAngularEmitter&&x(a.locationChangeEvent),i.on(M,(function(t){a.moveGradientsOutsideSymbol&&E(t)})),i.on(T,(function(t){var e;a.moveGradientsOutsideSymbol&&E(t.parentNode),(b()||w())&&(e=[],v(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})))}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=g())},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,r=e.newUrl;this.updateUrls(n,r)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit(T,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var r="string"==typeof t?document.querySelector(t):t;return n.node=r,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(T,t.node)})),v(r.querySelectorAll("symbol")).forEach((function(t){var e=y.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(M,r),r},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach((function(t){return t.destroy()})),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){if(void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1),this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,r=this.render();return this.node=r,e&&n.childNodes[0]?n.insertBefore(r,n.childNodes[0]):n.appendChild(r),this._emitter.emit(M,r),r},e.prototype.render=function(){return h(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return N(this.node,n,_(t)+"#",_(e)+"#"),!0},Object.defineProperties(e.prototype,r),e}(f),P=t((function(t){var e,n,r,o,i;t.exports=(n=[],r=document,o=r.documentElement.doScroll,(i=(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState))||r.addEventListener("DOMContentLoaded",e=function(){for(r.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),function(t){i?setTimeout(t,0):n.push(t)})}));window.__SVG_SPRITE__?k=window.__SVG_SPRITE__:(k=new B({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=k);var L=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?k.attach(t):k.mount(document.body,!0)};return document.body?L():P(L),k},t.exports=n()}).call(this,n(8))},8:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},9:function(t,e){t.exports=window.wp.components}});6 */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&t.push(a)}else if("object"===i)for(var u in r)n.call(r,u)&&r[u]&&t.push(u)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},133:function(t,e,n){"use strict";var r=n(0),o=n(5),i=n(2),a=r(n(134)),u=r(n(135)),c=r(n(136)),s=r(n(137));(0,o.registerBlockType)("novablocks/headline",{icon:(0,i.getSvg)(a.default),save:c.default,edit:u.default,transforms:s.default})},134:function(t,e,n){"use strict";n.r(e);var r=n(6),o=n.n(r),i=n(7),a=n.n(i),u=new o.a({id:"block-library-headline/icon",use:"block-library-headline/icon-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="block-library-headline/icon"><path fill="#6565F2" fill-rule="evenodd" d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm4.147 16.208a1 1 0 0 1-.978.792h-.762a1 1 0 0 1-.979-1.207l.428-2.023a1 1 0 0 0-.978-1.207h-2.333a1 1 0 0 0-.978.792l-.608 2.854A1 1 0 0 1 7.98 17h-.746a1 1 0 0 1-.978-1.208l1.915-9A1 1 0 0 1 9.15 6h.754a1 1 0 0 1 .978 1.207l-.403 1.9a1 1 0 0 0 .979 1.208h2.332a1 1 0 0 0 .978-.791l.584-2.733a1 1 0 0 1 .978-.79h.754a1 1 0 0 1 .978 1.207l-1.915 9z" clip-rule="evenodd" /></symbol>'});a.a.add(u);e.default=u},135:function(t,e,n){"use strict";var r=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.attributes,n=t.setAttributes,r=e.align,u=e.level,s=e.primary,d=e.secondary,f=e.textAlign,p="h".concat(u),h=(0,i.default)("c-headline","has-text-align-".concat(f),"align".concat(r)),y=(0,c.useBlockProps)({className:h});return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p,y,(0,o.createElement)(c.RichText,{className:"c-headline__secondary",identifier:"secondary",tagName:"span",value:d,onChange:function(t){return n({secondary:t})},placeholder:(0,a.__)("Subtitle…","nova-blocks"),keepPlaceholderOnFocus:!0,allowedFormats:[]}),(0,o.createElement)(c.RichText,{className:"c-headline__primary",identifier:"primary",tagName:"span",value:s,onChange:function(t){return n({primary:t})},placeholder:(0,a.__)("Write title…","nova-blocks"),keepPlaceholderOnFocus:!0,allowedFormats:[]})),(0,o.createElement)(l,t))};var o=n(1),i=r(n(12)),a=n(3),u=n(9),c=n(4),s=n(2),l=function(t){var e=t.attributes,n=t.setAttributes,r=(e.align,e.level),i=(e.primary,e.secondary,e.textAlign);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(c.BlockControls,null,(0,o.createElement)(s.HeadingToolbar,{minLevel:2,maxLevel:4,selectedLevel:r,onChange:function(t){return n({level:t})}}),(0,o.createElement)(c.AlignmentToolbar,{value:i,onChange:function(t){n({textAlign:t})}})),(0,o.createElement)(c.InspectorControls,null,(0,o.createElement)(u.PanelBody,{title:(0,a.__)("Headline Settings","nova-blocks"),initialOpen:!0},(0,o.createElement)("p",null,(0,a.__)("Level","nova-blocks")),(0,o.createElement)(s.HeadingToolbar,{minLevel:1,maxLevel:6,selectedLevel:r,onChange:function(t){return n({level:t})}}))))}},136:function(t,e,n){"use strict";var r=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.attributes,n=e.align,r=e.level,u=e.primary,c=e.secondary,s=e.textAlign,l=(e.fontSize,"h".concat(r)),d=(0,i.default)("c-headline","has-text-align-".concat(s),"align".concat(n),e.className);return(0,o.createElement)(l,{className:d},(0,o.createElement)(a.RichText.Content,{className:"c-headline__secondary",value:c,tagName:"span"})," ",(0,o.createElement)(a.RichText.Content,{className:"c-headline__primary",value:u,tagName:"span"}))};var o=n(1),i=r(n(12)),a=n(4)},137:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(5),o={from:[{type:"block",blocks:["core/heading"],transform:function(t){return(0,r.createBlock)("novablocks/headline",{primary:t.content,secondary:"",level:t.level,fontSize:t.fontSize,className:t.className,align:t.align})}}],to:[{type:"block",blocks:["core/heading"],transform:function(t){return(0,r.createBlock)("core/heading",{content:t.secondary+" "+t.primary,level:t.level,fontSize:t.fontSize,className:t.className,align:t.align})}}]};e.default=o},2:function(t,e){t.exports=window.novablocks.blockEditor},3:function(t,e){t.exports=window.wp.i18n},4:function(t,e){t.exports=window.wp.blockEditor},5:function(t,e){t.exports=window.wp.blocks},6:function(t,e,n){(function(e){var n;n=function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};function n(t,e){return t(e={exports:{}},e.exports),e.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))},"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var r=n((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o;return n&&!0===n.clone&&t(e)?r((o=e,Array.isArray(o)?[]:{}),e,n):e}function n(n,o,i){var a=n.slice();return o.forEach((function(o,u){void 0===a[u]?a[u]=e(o,i):t(o)?a[u]=r(n[u],o,i):-1===n.indexOf(o)&&a.push(e(o,i))})),a}function r(o,i,a){var u=Array.isArray(i),c=(a||{arrayMerge:n}).arrayMerge||n;return u?Array.isArray(o)?c(o,i,a):e(i,a):function(n,o,i){var a={};return t(n)&&Object.keys(n).forEach((function(t){a[t]=e(n[t],i)})),Object.keys(o).forEach((function(u){t(o[u])&&n[u]?a[u]=r(n[u],o[u],i):a[u]=e(o[u],i)})),a}(o,i,a)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return r(t,n,e)}))},r}()})),o=n((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=o.svg,a=o.xlink,u={};u[i.name]=i.uri,u[a.name]=a.uri;var c=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(r(u,e||{}))+">"+t+"</svg>"};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(c(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)},t.exports=n()}).call(this,n(8))},7:function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=t((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o;return n&&!0===n.clone&&t(e)?r((o=e,Array.isArray(o)?[]:{}),e,n):e}function n(n,o,i){var a=n.slice();return o.forEach((function(o,u){void 0===a[u]?a[u]=e(o,i):t(o)?a[u]=r(n[u],o,i):-1===n.indexOf(o)&&a.push(e(o,i))})),a}function r(o,i,a){var u=Array.isArray(i),c=(a||{arrayMerge:n}).arrayMerge||n;return u?Array.isArray(o)?c(o,i,a):e(i,a):function(n,o,i){var a={};return t(n)&&Object.keys(n).forEach((function(t){a[t]=e(n[t],i)})),Object.keys(o).forEach((function(u){t(o[u])&&n[u]?a[u]=r(n[u],o[u],i):a[u]=e(o[u],i)})),a}(o,i,a)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return r(t,n,e)}))},r}()})),r=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),o=r.svg,i=r.xlink,a={};a[o.name]=o.uri,a[i.name]=i.uri;var u,c=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(n(a,e||{}))+">"+t+"</svg>"},s=r.svg,l=r.xlink,d={attrs:(u={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},u[s.name]=s.uri,u[l.name]=l.uri,u)},f=function(t){this.config=n(d,t||{}),this.symbols=[]};f.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},f.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},f.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},f.prototype.has=function(t){return null!==this.find(t)},f.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map((function(t){return t.stringify()})).join("");return c(e,t)},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var p=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};p.prototype.stringify=function(){return this.content},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var h=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},y=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return h(c(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(p),m={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},v=function(t){return Array.prototype.slice.call(t,0)},g=function(){return/firefox/i.test(navigator.userAgent)},b=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},w=function(){return/edge/i.test(navigator.userAgent)},_=function(t){return(t||window.location.href).split("#")[0]},x=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,r){var o,i,a;o=t,i={oldUrl:r,newUrl:n},(a=document.createEvent("CustomEvent")).initCustomEvent(o,!1,!1,i),window.dispatchEvent(a)}))}])},E=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern, mask, clipPath"),v(t.querySelectorAll("symbol")).forEach((function(t){v(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t},S=r.xlink.uri,A=/[{}|\\\^\[\]`"<>]/g;function O(t){return t.replace(A,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var k,C=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],j=C.map((function(t){return"["+t+"]"})).join(","),N=function(t,e,n,r){var o=O(n),i=O(r);(function(t,e){return v(t).reduce((function(t,n){if(!n.attributes)return t;var r=v(n.attributes),o=e?r.filter(e):r;return t.concat(o)}),[])})(t.querySelectorAll(j),(function(t){var e=t.localName,n=t.value;return-1!==C.indexOf(e)&&-1!==n.indexOf("url("+o)})).forEach((function(t){return t.value=t.value.replace(new RegExp(o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,e,n){v(t).forEach((function(t){var r=t.getAttribute("xlink:href");if(r&&0===r.indexOf(e)){var o=r.replace(e,n);t.setAttributeNS(S,"xlink:href",o)}}))}(e,o,i)},M="mount",T="symbol_mount",B=function(t){function e(e){var r=this;void 0===e&&(e={}),t.call(this,n(m,e));var o,i=(o=o||Object.create(null),{on:function(t,e){(o[t]||(o[t]=[])).push(e)},off:function(t,e){o[t]&&o[t].splice(o[t].indexOf(e)>>>0,1)},emit:function(t,e){(o[t]||[]).map((function(t){t(e)})),(o["*"]||[]).map((function(n){n(t,e)}))}});this._emitter=i,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(e),a.syncUrlsWithBaseTag){var u=document.getElementsByTagName("base")[0].getAttribute("href");i.on(M,(function(){return r.updateUrls("#",u)}))}var c=this._handleLocationChange.bind(this);this._handleLocationChange=c,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,c),a.locationChangeAngularEmitter&&x(a.locationChangeEvent),i.on(M,(function(t){a.moveGradientsOutsideSymbol&&E(t)})),i.on(T,(function(t){var e;a.moveGradientsOutsideSymbol&&E(t.parentNode),(b()||w())&&(e=[],v(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})))}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=g())},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,r=e.newUrl;this.updateUrls(n,r)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit(T,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var r="string"==typeof t?document.querySelector(t):t;return n.node=r,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(T,t.node)})),v(r.querySelectorAll("symbol")).forEach((function(t){var e=y.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(M,r),r},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach((function(t){return t.destroy()})),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){if(void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1),this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,r=this.render();return this.node=r,e&&n.childNodes[0]?n.insertBefore(r,n.childNodes[0]):n.appendChild(r),this._emitter.emit(M,r),r},e.prototype.render=function(){return h(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return N(this.node,n,_(t)+"#",_(e)+"#"),!0},Object.defineProperties(e.prototype,r),e}(f),P=t((function(t){var e,n,r,o,i;t.exports=(n=[],r=document,o=r.documentElement.doScroll,(i=(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState))||r.addEventListener("DOMContentLoaded",e=function(){for(r.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),function(t){i?setTimeout(t,0):n.push(t)})}));window.__SVG_SPRITE__?k=window.__SVG_SPRITE__:(k=new B({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=k);var L=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?k.attach(t):k.mount(document.body,!0)};return document.body?L():P(L),k},t.exports=n()}).call(this,n(8))},8:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},9:function(t,e){t.exports=window.wp.components}}); -
nova-blocks/trunk/build/block-library/blocks/logo/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-polyfill', 'wp-server-side-render'), 'version' => ' 6c1132971c6b8a7464cadb9444ddcc10');1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-polyfill', 'wp-server-side-render'), 'version' => '4a8e5c63e1963181861571a997442858'); -
nova-blocks/trunk/build/block-library/blocks/logo/index.js
r2738702 r2744078 1 !function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=13 9)}({0:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},1:function(t,e){t.exports=window.wp.element},139:function(t,e,n){"use strict";var o=n(0),r=n(1),i=n(5),u=n(4),s=o(n(14)),a=n(2),c=o(n(140)),d=o(n(141));(0,i.registerBlockType)("novablocks/logo",{icon:(0,a.getSvg)(c.default),attributes:d.default,save:function(){return!1},edit:function(t){(0,a.useSelectParent)(t);var e=(0,u.useBlockProps)();return(0,r.createElement)("div",e,(0,r.createElement)(s.default,{block:"novablocks/logo",attributes:t.attributes}))}})},14:function(t,e){t.exports=window.wp.serverSideRender},140:function(t,e,n){"use strict";n.r(e);var o=n(6),r=n.n(o),i=n(7),u=n.n(i),s=new r.a({id:"block-library-logo/icon",use:"block-library-logo/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-logo/icon"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm0 7a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm-7 5a7 7 0 1 0 14 0 7 7 0 0 0-14 0z" fill="#6565F2" /></symbol>'});u.a.add(s);e.default=s},141:function(t){t.exports=JSON.parse('{"className":{"type":"string","default":""}}')},2:function(t,e){t.exports=window.novablocks.blockEditor},4:function(t,e){t.exports=window.wp.blockEditor},5:function(t,e){t.exports=window.wp.blocks},6:function(t,e,n){(function(e){var n;n=function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,o=t.content;this.id=e,this.viewBox=n,this.content=o};function n(t,e){return t(e={exports:{}},e.exports),e.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))},"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var o=n((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var r;return n&&!0===n.clone&&t(e)?o((r=e,Array.isArray(r)?[]:{}),e,n):e}function n(n,r,i){var u=n.slice();return r.forEach((function(r,s){void 0===u[s]?u[s]=e(r,i):t(r)?u[s]=o(n[s],r,i):-1===n.indexOf(r)&&u.push(e(r,i))})),u}function o(r,i,u){var s=Array.isArray(i),a=(u||{arrayMerge:n}).arrayMerge||n;return s?Array.isArray(r)?a(r,i,u):e(i,u):function(n,r,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(r).forEach((function(s){t(r[s])&&n[s]?u[s]=o(n[s],r[s],i):u[s]=e(r[s],i)})),u}(r,i,u)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),r=n((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=r.svg,u=r.xlink,s={};s[i.name]=i.uri,s[u.name]=u.uri;var a=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(o(s,e||{}))+">"+t+"</svg>"};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(a(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)},t.exports=n()}).call(this,n(8))},7:function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=t((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var r;return n&&!0===n.clone&&t(e)?o((r=e,Array.isArray(r)?[]:{}),e,n):e}function n(n,r,i){var u=n.slice();return r.forEach((function(r,s){void 0===u[s]?u[s]=e(r,i):t(r)?u[s]=o(n[s],r,i):-1===n.indexOf(r)&&u.push(e(r,i))})),u}function o(r,i,u){var s=Array.isArray(i),a=(u||{arrayMerge:n}).arrayMerge||n;return s?Array.isArray(r)?a(r,i,u):e(i,u):function(n,r,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(r).forEach((function(s){t(r[s])&&n[s]?u[s]=o(n[s],r[s],i):u[s]=e(r[s],i)})),u}(r,i,u)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),o=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),r=o.svg,i=o.xlink,u={};u[r.name]=r.uri,u[i.name]=i.uri;var s,a=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(n(u,e||{}))+">"+t+"</svg>"},c=o.svg,d=o.xlink,f={attrs:(s={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},s[c.name]=c.uri,s[d.name]=d.uri,s)},l=function(t){this.config=n(f,t||{}),this.symbols=[]};l.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},l.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},l.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},l.prototype.has=function(t){return null!==this.find(t)},l.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map((function(t){return t.stringify()})).join("");return a(e,t)},l.prototype.toString=function(){return this.stringify()},l.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var p=function(t){var e=t.id,n=t.viewBox,o=t.content;this.id=e,this.viewBox=n,this.content=o};p.prototype.stringify=function(){return this.content},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var h=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},y=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return h(a(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(p),v={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},m=function(t){return Array.prototype.slice.call(t,0)},g=function(){return/firefox/i.test(navigator.userAgent)},w=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},b=function(){return/edge/i.test(navigator.userAgent)},x=function(t){return(t||window.location.href).split("#")[0]},_=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,o){var r,i,u;r=t,i={oldUrl:o,newUrl:n},(u=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,i),window.dispatchEvent(u)}))}])},E=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern, mask, clipPath"),m(t.querySelectorAll("symbol")).forEach((function(t){m(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t},S=o.xlink.uri,O=/[{}|\\\^\[\]`"<>]/g;function A(t){return t.replace(O,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var k,j=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],C=j.map((function(t){return"["+t+"]"})).join(","),M=function(t,e,n,o){var r=A(n),i=A(o);(function(t,e){return m(t).reduce((function(t,n){if(!n.attributes)return t;var o=m(n.attributes),r=e?o.filter(e):o;return t.concat(r)}),[])})(t.querySelectorAll(C),(function(t){var e=t.localName,n=t.value;return-1!==j.indexOf(e)&&-1!==n.indexOf("url("+r)})).forEach((function(t){return t.value=t.value.replace(new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,e,n){m(t).forEach((function(t){var o=t.getAttribute("xlink:href");if(o&&0===o.indexOf(e)){var r=o.replace(e,n);t.setAttributeNS(S,"xlink:href",r)}}))}(e,r,i)},N="mount",B="symbol_mount",T=function(t){function e(e){var o=this;void 0===e&&(e={}),t.call(this,n(v,e));var r,i=(r=r||Object.create(null),{on:function(t,e){(r[t]||(r[t]=[])).push(e)},off:function(t,e){r[t]&&r[t].splice(r[t].indexOf(e)>>>0,1)},emit:function(t,e){(r[t]||[]).map((function(t){t(e)})),(r["*"]||[]).map((function(n){n(t,e)}))}});this._emitter=i,this.node=null;var u=this.config;if(u.autoConfigure&&this._autoConfigure(e),u.syncUrlsWithBaseTag){var s=document.getElementsByTagName("base")[0].getAttribute("href");i.on(N,(function(){return o.updateUrls("#",s)}))}var a=this._handleLocationChange.bind(this);this._handleLocationChange=a,u.listenLocationChangeEvent&&window.addEventListener(u.locationChangeEvent,a),u.locationChangeAngularEmitter&&_(u.locationChangeEvent),i.on(N,(function(t){u.moveGradientsOutsideSymbol&&E(t)})),i.on(B,(function(t){var e;u.moveGradientsOutsideSymbol&&E(t.parentNode),(w()||b())&&(e=[],m(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})))}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=g())},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,o=e.newUrl;this.updateUrls(n,o)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit(B,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var o="string"==typeof t?document.querySelector(t):t;return n.node=o,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(B,t.node)})),m(o.querySelectorAll("symbol")).forEach((function(t){var e=y.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(N,o),o},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach((function(t){return t.destroy()})),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){if(void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1),this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,o=this.render();return this.node=o,e&&n.childNodes[0]?n.insertBefore(o,n.childNodes[0]):n.appendChild(o),this._emitter.emit(N,o),o},e.prototype.render=function(){return h(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return M(this.node,n,x(t)+"#",x(e)+"#"),!0},Object.defineProperties(e.prototype,o),e}(l),P=t((function(t){var e,n,o,r,i;t.exports=(n=[],o=document,r=o.documentElement.doScroll,(i=(r?/^loaded|^c/:/^loaded|^i|^c/).test(o.readyState))||o.addEventListener("DOMContentLoaded",e=function(){for(o.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),function(t){i?setTimeout(t,0):n.push(t)})}));window.__SVG_SPRITE__?k=window.__SVG_SPRITE__:(k=new T({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=k);var L=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?k.attach(t):k.mount(document.body,!0)};return document.body?L():P(L),k},t.exports=n()}).call(this,n(8))},8:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n}});1 !function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=138)}({0:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},1:function(t,e){t.exports=window.wp.element},138:function(t,e,n){"use strict";var o=n(0),r=n(1),i=n(5),u=n(4),s=o(n(14)),a=n(2),c=o(n(139)),d=o(n(140));(0,i.registerBlockType)("novablocks/logo",{icon:(0,a.getSvg)(c.default),attributes:d.default,save:function(){return!1},edit:function(t){(0,a.useSelectParent)(t);var e=(0,u.useBlockProps)();return(0,r.createElement)("div",e,(0,r.createElement)(s.default,{block:"novablocks/logo",attributes:t.attributes}))}})},139:function(t,e,n){"use strict";n.r(e);var o=n(6),r=n.n(o),i=n(7),u=n.n(i),s=new r.a({id:"block-library-logo/icon",use:"block-library-logo/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-logo/icon"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm0 7a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm-7 5a7 7 0 1 0 14 0 7 7 0 0 0-14 0z" fill="#6565F2" /></symbol>'});u.a.add(s);e.default=s},14:function(t,e){t.exports=window.wp.serverSideRender},140:function(t){t.exports=JSON.parse('{"className":{"type":"string","default":""}}')},2:function(t,e){t.exports=window.novablocks.blockEditor},4:function(t,e){t.exports=window.wp.blockEditor},5:function(t,e){t.exports=window.wp.blocks},6:function(t,e,n){(function(e){var n;n=function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,o=t.content;this.id=e,this.viewBox=n,this.content=o};function n(t,e){return t(e={exports:{}},e.exports),e.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))},"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var o=n((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var r;return n&&!0===n.clone&&t(e)?o((r=e,Array.isArray(r)?[]:{}),e,n):e}function n(n,r,i){var u=n.slice();return r.forEach((function(r,s){void 0===u[s]?u[s]=e(r,i):t(r)?u[s]=o(n[s],r,i):-1===n.indexOf(r)&&u.push(e(r,i))})),u}function o(r,i,u){var s=Array.isArray(i),a=(u||{arrayMerge:n}).arrayMerge||n;return s?Array.isArray(r)?a(r,i,u):e(i,u):function(n,r,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(r).forEach((function(s){t(r[s])&&n[s]?u[s]=o(n[s],r[s],i):u[s]=e(r[s],i)})),u}(r,i,u)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),r=n((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=r.svg,u=r.xlink,s={};s[i.name]=i.uri,s[u.name]=u.uri;var a=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(o(s,e||{}))+">"+t+"</svg>"};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(a(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)},t.exports=n()}).call(this,n(8))},7:function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=t((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var r;return n&&!0===n.clone&&t(e)?o((r=e,Array.isArray(r)?[]:{}),e,n):e}function n(n,r,i){var u=n.slice();return r.forEach((function(r,s){void 0===u[s]?u[s]=e(r,i):t(r)?u[s]=o(n[s],r,i):-1===n.indexOf(r)&&u.push(e(r,i))})),u}function o(r,i,u){var s=Array.isArray(i),a=(u||{arrayMerge:n}).arrayMerge||n;return s?Array.isArray(r)?a(r,i,u):e(i,u):function(n,r,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(r).forEach((function(s){t(r[s])&&n[s]?u[s]=o(n[s],r[s],i):u[s]=e(r[s],i)})),u}(r,i,u)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),o=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),r=o.svg,i=o.xlink,u={};u[r.name]=r.uri,u[i.name]=i.uri;var s,a=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(n(u,e||{}))+">"+t+"</svg>"},c=o.svg,d=o.xlink,f={attrs:(s={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},s[c.name]=c.uri,s[d.name]=d.uri,s)},l=function(t){this.config=n(f,t||{}),this.symbols=[]};l.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},l.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},l.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},l.prototype.has=function(t){return null!==this.find(t)},l.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map((function(t){return t.stringify()})).join("");return a(e,t)},l.prototype.toString=function(){return this.stringify()},l.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var p=function(t){var e=t.id,n=t.viewBox,o=t.content;this.id=e,this.viewBox=n,this.content=o};p.prototype.stringify=function(){return this.content},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var h=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},y=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return h(a(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(p),v={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},m=function(t){return Array.prototype.slice.call(t,0)},g=function(){return/firefox/i.test(navigator.userAgent)},w=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},b=function(){return/edge/i.test(navigator.userAgent)},x=function(t){return(t||window.location.href).split("#")[0]},_=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,o){var r,i,u;r=t,i={oldUrl:o,newUrl:n},(u=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,i),window.dispatchEvent(u)}))}])},E=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern, mask, clipPath"),m(t.querySelectorAll("symbol")).forEach((function(t){m(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t},S=o.xlink.uri,O=/[{}|\\\^\[\]`"<>]/g;function A(t){return t.replace(O,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var k,j=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],C=j.map((function(t){return"["+t+"]"})).join(","),M=function(t,e,n,o){var r=A(n),i=A(o);(function(t,e){return m(t).reduce((function(t,n){if(!n.attributes)return t;var o=m(n.attributes),r=e?o.filter(e):o;return t.concat(r)}),[])})(t.querySelectorAll(C),(function(t){var e=t.localName,n=t.value;return-1!==j.indexOf(e)&&-1!==n.indexOf("url("+r)})).forEach((function(t){return t.value=t.value.replace(new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,e,n){m(t).forEach((function(t){var o=t.getAttribute("xlink:href");if(o&&0===o.indexOf(e)){var r=o.replace(e,n);t.setAttributeNS(S,"xlink:href",r)}}))}(e,r,i)},N="mount",B="symbol_mount",T=function(t){function e(e){var o=this;void 0===e&&(e={}),t.call(this,n(v,e));var r,i=(r=r||Object.create(null),{on:function(t,e){(r[t]||(r[t]=[])).push(e)},off:function(t,e){r[t]&&r[t].splice(r[t].indexOf(e)>>>0,1)},emit:function(t,e){(r[t]||[]).map((function(t){t(e)})),(r["*"]||[]).map((function(n){n(t,e)}))}});this._emitter=i,this.node=null;var u=this.config;if(u.autoConfigure&&this._autoConfigure(e),u.syncUrlsWithBaseTag){var s=document.getElementsByTagName("base")[0].getAttribute("href");i.on(N,(function(){return o.updateUrls("#",s)}))}var a=this._handleLocationChange.bind(this);this._handleLocationChange=a,u.listenLocationChangeEvent&&window.addEventListener(u.locationChangeEvent,a),u.locationChangeAngularEmitter&&_(u.locationChangeEvent),i.on(N,(function(t){u.moveGradientsOutsideSymbol&&E(t)})),i.on(B,(function(t){var e;u.moveGradientsOutsideSymbol&&E(t.parentNode),(w()||b())&&(e=[],m(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})))}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=g())},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,o=e.newUrl;this.updateUrls(n,o)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit(B,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var o="string"==typeof t?document.querySelector(t):t;return n.node=o,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(B,t.node)})),m(o.querySelectorAll("symbol")).forEach((function(t){var e=y.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(N,o),o},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach((function(t){return t.destroy()})),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){if(void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1),this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,o=this.render();return this.node=o,e&&n.childNodes[0]?n.insertBefore(o,n.childNodes[0]):n.appendChild(o),this._emitter.emit(N,o),o},e.prototype.render=function(){return h(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return M(this.node,n,x(t)+"#",x(e)+"#"),!0},Object.defineProperties(e.prototype,o),e}(l),P=t((function(t){var e,n,o,r,i;t.exports=(n=[],o=document,r=o.documentElement.doScroll,(i=(r?/^loaded|^c/:/^loaded|^i|^c/).test(o.readyState))||o.addEventListener("DOMContentLoaded",e=function(){for(o.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),function(t){i?setTimeout(t,0):n.push(t)})}));window.__SVG_SPRITE__?k=window.__SVG_SPRITE__:(k=new T({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=k);var L=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?k.attach(t):k.mount(document.body,!0)};return document.body?L():P(L),k},t.exports=n()}).call(this,n(8))},8:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n}}); -
nova-blocks/trunk/build/block-library/blocks/menu-food/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => ' b8deae7964172a1d39687dc2ea423013');1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => '3cde8b1ee4204cf1276afc9330cbbd2d'); -
nova-blocks/trunk/build/block-library/blocks/menu-food/index.js
r2738702 r2744078 1 !function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=14 2)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},12:function(e,t,n){var o;1 !function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=141)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},12:function(e,t,n){var o; 2 2 /*! 3 3 Copyright (c) 2017 Jed Watson. 4 4 Licensed under the MIT License (MIT), see 5 5 http://jedwatson.github.io/classnames 6 */!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var r=typeof o;if("string"===r||"number"===r)e.push(o);else if(Array.isArray(o)&&o.length){var a=i.apply(null,o);a&&e.push(a)}else if("object"===r)for(var s in o)n.call(o,s)&&o[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(o=function(){return i}.apply(t,[]))||(e.exports=o)}()},13:function(e,t){e.exports=window.wp.data},14 2:function(e,t,n){"use strict";var o=n(0),i=(n(3),n(5)),r=(n(13),o(n(56))),a=o(n(143)),s=o(n(148));n(149),n(153);var c=n(2);(0,i.registerBlockType)("novablocks/menu-food",{icon:(0,c.getSvg)(r.default),attributes:{enableTwoColumns:{type:"boolean",default:!0},align:{type:"string",default:"wide"},showPrices:{type:"boolean",default:!0},showDescription:{type:"boolean",default:!0}},supports:{html:!1},example:{attributes:{enableTwoColumns:!1},innerBlocks:[{name:"novablocks/menu-food-section",innerBlocks:[{name:"novablocks/menu-food-item"},{name:"novablocks/menu-food-item"}]}]},edit:a.default,save:s.default})},143:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(1),r=o(n(12)),a=n(25),s=n(13),c=n(4),u=n(9),l=n(3),d=n(2),f=o(n(144)),p=o(n(145)),m=o(n(147)),h=["novablocks/menu-food-section"];(0,a.addFilter)("editor.BlockListBlock","novablocks/with-menu-visibility-attributes",p.default);var v=function(e){var t=e.attributes,n=t.enableTwoColumns,o=t.showPrices,a=(t.showDescription,e.clientId),p=e.className,v=(0,d.useInnerBlocks)(a),g=(0,i.useMemo)((function(){return v.length}),[v]),_=(0,s.useDispatch)("core/block-editor").insertBlock,b=(0,i.useCallback)((function(){var e=createBlock("novablocks/menu-food-section");_(e,g,a)}),[g]),y=(0,r.default)(p,"nova-food-menu",{"nova-food-menu--layout":!0===n,"price--is-hidden":!1===o}),w=(0,c.useBlockProps)({className:y,style:e.style});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",w,(0,i.createElement)(c.InnerBlocks,{allowedBlocks:h,template:m.default,renderAppender:!1}),(0,i.createElement)(u.Button,{className:"components-button block-editor-button-block-appender nova-blocks-appender",label:(0,l.__)("Add New Section","nova-blocks"),onClick:b},(0,l.__)("Add Section","nova-blocks"))),(0,i.createElement)(f.default,e))};t.default=v},144:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=n(2),r=n(3),a=n(9),s=function(e){var t=e.attributes,n=t.enableTwoColumns,s=t.showPrices,c=t.showDescription,u=e.setAttributes;return(0,o.createElement)(i.ControlsSection,{id:"layout",label:(0,r.__)("Layout","nova-blocks")},(0,o.createElement)(i.ControlsTab,{label:(0,r.__)("Settings","nova-blocks")},(0,o.createElement)(a.ToggleControl,{label:(0,r.__)("2 columns","nova-blocks"),checked:n,onChange:function(){return u({enableTwoColumns:!n})}}),(0,o.createElement)(a.ToggleControl,{label:(0,r.__)("Price","nova-blocks"),checked:s,onChange:function(){return u({showPrices:!s})}}),(0,o.createElement)(a.ToggleControl,{label:(0,r.__)("Description","nova-blocks"),checked:c,onChange:function(){return u({showDescription:!c})}})))};t.default=s},145:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=n(146),r=n(13),a=(0,i.createHigherOrderComponent)((function(e){return function(t){if("novablocks/menu-food"===t.name){var n=t.clientId,i=t.attributes,a=(0,r.useSelect)((function(e){return e("core/block-editor")})).getBlock,s=(0,r.useDispatch)("core/block-editor").updateBlockAttributes,c=a(n),u=null==c?void 0:c.innerBlocks,l={showPrices:(d=i).showPrices,showDescription:d.showDescription};Array.isArray(u)&&u.forEach((function(e){Array.isArray(e.innerBlocks)&&e.innerBlocks.forEach((function(e){s(e.clientId,l)}))}))}var d;return(0,o.createElement)(e,t)}}),"withMenuVisibilityAttributes");t.default=a},146:function(e,t){e.exports=window.wp.compose},147:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=[["novablocks/menu-food-section",{sectionTitle:"Starters"},[["novablocks/menu-food-item",{title:"Pea & Mint Soup",description:"Server with focaccia bread",price:"$8.00",showPrices:!0,showDescription:!0,enableSalePrice:!0,salePrice:"$5.00"}],["novablocks/menu-food-item",{title:"Beef Meatballs",description:"In a spicy tomato sauce",price:"$10.50",showPrices:!0,showDescription:!0}],["novablocks/menu-food-item",{title:"Hummus & Baba Ganoush Dip",description:"Olive & grilled flatbread",price:"$12.00",showPrices:!0,showDescription:!0}]]],["novablocks/menu-food-section",{sectionTitle:"Desserts"},[["novablocks/menu-food-item",{title:"Dark Chocolate & Brownie Delice",description:"Fudge bits & salted caramel ice cream",price:"$6.50",showPrices:!0,showDescription:!0}],["novablocks/menu-food-item",{title:"Berry Cheesecake Trifle",description:"Fresh raspberries & strawberries, sable cookie",price:"$6.50",showPrices:!0,showDescription:!0,enableHighlightFoodItem:!0,highlightLabel:"New"}],["novablocks/menu-food-item",{title:"Caramelised Lemon Tart",description:"Meringue crisps, gin & tonic ice cream",price:"$6.50",showPrices:!0,showDescription:!0}]]],["novablocks/menu-food-section",{sectionTitle:"Main Course"},[["novablocks/menu-food-item",{title:"The Classic Burger",description:"Chargrilled, with or without bacon, on a brioche bun & fries",price:"$15.50",showPrices:!0,showDescription:!0}],["novablocks/menu-food-item",{title:"Roast Salmon",description:"Hollandaise sauce, green beans & potato galette",price:"$19.50",showPrices:!0,showDescription:!0}],["novablocks/menu-food-item",{title:"Tagliatelle Pesto Chicken",description:"Roasted Mediterranean vegetables, tomato and herb sauce",price:"$15.00",showPrices:!0,showDescription:!0,enableHighlightFoodItem:!0,highlightLabel:"Chef Selection"}],["novablocks/menu-food-item",{title:"Confit de Canard ",description:"Duck confit, white bean & ham cassoulet, wilted spinach",price:"$12.15",showPrices:!0,showDescription:!0}],["novablocks/menu-food-item",{title:"Roasted Steak Roulade",description:"Mint parsley with apple cider vinegar, salt, sugar & spices",price:"$14.95",showPrices:!0,showDescription:!0}],["novablocks/menu-food-item",{title:"Cornish-mackerel",description:"Marinated tomatoes, fragrant curry, tamarillo",price:"$10.45",showPrices:!0,showDescription:!0}],["novablocks/menu-food-item",{title:"Lobster & Cucumber Soup",description:"Lobster salad, smoked onion, rock samphire & sorrel",price:"$24.95",showPrices:!0,showDescription:!0}]]]];t.default=o},148:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(1),r=o(n(12)),a=n(4),s=function(e){var t=e.attributes,n=t.enableTwoColumns,o=t.showPrices,s=(t.showDescription,e.className),c=(0,r.default)(s,"nova-food-menu",{"nova-food-menu--layout":!0===n,"price--is-hidden":!1===o});return(0,i.createElement)("div",{className:c,itemScope:!0,itemType:"https://schema.org/Menu"},(0,i.createElement)(a.InnerBlocks.Content,null))};t.default=s},149:function(e,t,n){"use strict";var o=n(0),i=n(3),r=n(5),a=o(n(56)),s=o(n(150)),c=o(n(152)),u=n(2);(0,r.registerBlockType)("novablocks/menu-food-section",{title:(0,i.__)("Food Menu Section","nova-blocks"),description:(0,i.__)("A subgrouping of the Menu.","nova-blocks"),category:"nova-blocks",icon:(0,u.getSvg)(a.default),keywords:[(0,i.__)("menu section","nova-blocks"),(0,i.__)("food section","nova-blocks"),(0,i.__)("list section","nova-blocks"),(0,i.__)("dishes section","nova-blocks")],parent:["novablocks/menu-food"],attributes:{sectionTitle:{type:"string",default:(0,i.__)("Drinks","nova-blocks")}},edit:s.default,save:c.default})},150:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(1),r=o(n(151)),a=function(e){return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(r.default,e))};t.default=a},151:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(1),r=o(n(12)),a=n(3),s=n(4),c=n(5),u=n(9),l=["novablocks/menu-food-item"],d=[["novablocks/menu-food-item"]],f=function(e){var t=e.attributes,n=t.sectionTitle,o=(t.showPrices,t.showDescription,e.setAttributes),f=e.clientId,p=e.className,m=(0,r.default)(p,"nova-food-menu__section");return(0,i.createElement)("div",{className:m},(0,i.createElement)("header",{className:"nova-food-menu__header"},(0,i.createElement)(s.RichText,{tagName:"h3",className:"section-title",value:n,onChange:function(e){return o({sectionTitle:e})}})),(0,i.createElement)("div",{className:"nova-food-menu__items"},(0,i.createElement)(s.InnerBlocks,{allowedBlocks:l,template:d,renderAppender:!1})),(0,i.createElement)(u.Button,{className:"components-button block-editor-button-block-appender nova-blocks-appender",label:(0,a.__)("Add New Item","nova-blocks"),onClick:function(){var e=(0,c.createBlock)("novablocks/menu-food-item"),t=wp.data.select("core/block-editor").getBlocksByClientId(f)[0].innerBlocks.length;wp.data.dispatch("core/block-editor").insertBlock(e,t,f)}},(0,a.__)("Add Item","nova-blocks")))};t.default=f},152:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(1),r=o(n(12)),a=(n(3),n(4)),s=function(e){var t=e.attributes.sectionTitle,n=e.setAttributes,o=e.className,s=(0,r.default)(o,"nova-food-menu__section");return(0,i.createElement)("div",{className:s,itemScope:!0,itemType:"https://schema.org/MenuSection"},(0,i.createElement)("header",{className:"nova-food-menu__header"},(0,i.createElement)(a.RichText.Content,{tagName:"h3",className:"section-title",value:t,onChange:function(e){return n({sectionTitle:e})},itemprop:"name"})),(0,i.createElement)("div",{className:"nova-food-menu__items"},(0,i.createElement)(a.InnerBlocks.Content,null)))};t.default=s},153:function(e,t,n){"use strict";var o=n(0),i=n(3),r=n(5),a=o(n(56)),s=o(n(154)),c=o(n(157)),u=n(2);(0,r.registerBlockType)("novablocks/menu-food-item",{title:(0,i.__)("Menu Item","nova-blocks"),description:(0,i.__)("A food or drink item contained in a menu or menu section.","nova-blocks"),category:"nova-blocks",icon:(0,u.getSvg)(a.default),keywords:[(0,i.__)("menu item","nova-blocks"),(0,i.__)("food item","nova-blocks"),(0,i.__)("dish","nova-blocks"),(0,i.__)("list item","nova-blocks")],parent:["novablocks/menu-food-section"],attributes:{title:{type:"string",default:(0,i.__)("Sweet Shrimp Salad","nova-blocks")},description:{type:"string",default:(0,i.__)("Tomatillo, Baja Crema, Cabbage, Fried Okra","nova-blocks")},price:{type:"string",default:"$7.95"},salePrice:{type:"string",default:"$9.50"},highlightLabel:{type:"string",default:(0,i.__)("Our top pick","nova-blocks")},enableHighlightFoodItem:{type:"boolean",default:!1},enableSalePrice:{type:"boolean",default:!1},showPrices:{type:"boolean",default:!0},showDescription:{type:"boolean",default:!0}},edit:s.default,save:c.default})},154:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(1),r=o(n(155)),a=o(n(156)),s=function(e){return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(r.default,e),(0,i.createElement)(a.default,e))};t.default=s},155:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(1),r=o(n(12)),a=n(4),s=n(3),c=function(e){var t=e.attributes,n=t.enableHighlightFoodItem,o=t.highlightLabel,c=t.enableSalePrice,u=t.showDescription,l=t.showPrices,d=t.salePrice,f=t.price,p=t.description,m=t.title,h=e.setAttributes,v=e.className,g=(0,r.default)(v,"nova-food-menu-item",{"nova-food-menu-item--highlighted":!0===n,"has-sale-price":!0===c});return(0,i.createElement)("div",{className:g},n&&(0,i.createElement)("div",{className:"nova-food-menu-item__highlight-label"},(0,i.createElement)(a.RichText,{tagName:"h5",className:"nova-food-menu-item__label",value:o,onChange:function(e){return h({highlightLabel:e})},allowedFormats:[]})),(0,i.createElement)("div",{className:"nova-food-menu-item__title"},(0,i.createElement)(a.RichText,{value:m,tagName:"h4",className:"item-title",placeholder:(0,s.__)("Product Title","nova-blocks"),onChange:function(e){return h({title:e})}})),l&&(0,i.createElement)("div",{className:"nova-food-menu-item__prices"},(0,i.createElement)(a.RichText,{value:f,tagName:"span",className:"item-price",placeholder:(0,s.__)("$0.00","nova-blocks"),onChange:function(e){return h({price:e})}}),c&&(0,i.createElement)("div",{className:"nova-food-menu-item__price--sale"},(0,i.createElement)(a.RichText,{tagName:"span",className:"item-price--sale",value:d,onChange:function(e){return h({salePrice:e})},allowedFormats:[]}))),u&&(0,i.createElement)("div",{className:"nova-food-menu-item__description"},(0,i.createElement)(a.RichText,{value:p,tagName:"p",className:"item-description",placeholder:(0,s.__)("Product Description","nova-blocks"),onChange:function(e){return h({description:e})}})))};t.default=c},156:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=n(2),r=n(3),a=n(9),s=function(e){var t=e.attributes,n=t.enableHighlightFoodItem,s=t.enableSalePrice,c=t.showPrices,u=(t.showDescription,e.setAttributes);return(0,o.createElement)(i.ControlsSection,{id:"layout",label:(0,r.__)("Layout","nova-blocks")},(0,o.createElement)(i.ControlsTab,{label:(0,r.__)("Settings","nova-blocks")},(0,o.createElement)(a.ToggleControl,{label:(0,r.__)("Highlight item","nova-blocks"),help:(0,r.__)("Use it if you want to highlight some of the menu items and make them stand out.","nova-blocks"),checked:n,onChange:function(){return u({enableHighlightFoodItem:!n})}}),c&&(0,o.createElement)(a.ToggleControl,{label:(0,r.__)("On sale","nova-blocks"),checked:s,onChange:function(){return u({enableSalePrice:!s})}})))};t.default=s},157:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(1),r=o(n(12)),a=(n(3),n(4)),s=function(e){var t=e.attributes,n=t.enableHighlightFoodItem,o=t.highlightLabel,s=t.enableSalePrice,c=t.showDescription,u=t.showPrices,l=t.salePrice,d=t.price,f=t.description,p=t.title,m=e.setAttributes,h=e.className,v=(0,r.default)(h,"nova-food-menu-item",{"nova-food-menu-item--highlighted":!0===n,"has-sale-price":!0===s});return(0,i.createElement)("div",{className:v,itemscope:!0,itemtype:"https://schema.org/MenuItem"},n&&(0,i.createElement)("div",{className:"nova-food-menu-item__highlight-label"},(0,i.createElement)("h5",{className:"nova-food-menu-item__label"}," ",o," ")),(0,i.createElement)("div",{className:"nova-food-menu-item__title"},(0,i.createElement)(a.RichText.Content,{value:p,tagName:"h4",className:"item-title",onChange:function(e){return m({title:e})},itemprop:"name"})),u&&(0,i.createElement)("div",{className:"nova-food-menu-item__prices",itemscope:!0,itemtype:"https://schema.org/offers"},(0,i.createElement)(a.RichText.Content,{value:d,tagName:"span",className:"item-price",onChange:function(e){return m({price:e})},itemprop:"price"}),s&&(0,i.createElement)("div",{className:"nova-food-menu-item__price--sale"},(0,i.createElement)("span",{className:"item-price--sale"}," ",l," "))),c&&(0,i.createElement)("div",{className:"nova-food-menu-item__description"},(0,i.createElement)(a.RichText.Content,{value:f,tagName:"p",className:"item-description",onChange:function(e){return m({description:e})},itemprop:"description"})))};t.default=s},2:function(e,t){e.exports=window.novablocks.blockEditor},25:function(e,t){e.exports=window.wp.hooks},3:function(e,t){e.exports=window.wp.i18n},4:function(e,t){e.exports=window.wp.blockEditor},5:function(e,t){e.exports=window.wp.blocks},56:function(e,t,n){"use strict";n.r(t);var o=n(6),i=n.n(o),r=n(7),a=n.n(r),s=new i.a({id:"block-library-menu-food/icon",use:"block-library-menu-food/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-menu-food/icon"><mask id="block-library-menu-food/icon_a" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24" style="mask-type:alpha"><path d="M24 12c0-6.627-5.373-12-12-12S0 5.373 0 12s5.373 12 12 12 12-5.373 12-12Z" fill="#6565F2" /></mask><g mask="url(#block-library-menu-food/icon_a)"><path d="M0 12C0 5.373 5.373 0 12 0s12 5.373 12 12-5.373 12-12 12S0 18.627 0 12Z" fill="#6565F2" /><path d="M18 9.737c1.105 0 2.04-.921 1.712-1.976-1.973-6.348-13.45-6.348-15.423 0C3.96 8.816 4.896 9.737 6 9.737h12Z" fill="#fff" /><path d="M5 13.143c0 .473.384.857.857.857H15a1 1 0 1 0 0-2H6.143C5.512 12 5 12.512 5 13.143Zm0 4c0 .473.384.857.857.857H15a1 1 0 1 0 0-2H6.143C5.512 16 5 16.512 5 17.143Zm13-4c0 .473.384.857.857.857h.234a.91.91 0 0 0 .909-.91v-.32a.77.77 0 0 0-.77-.77h-.087c-.631 0-1.143.512-1.143 1.143Zm0 4c0 .473.384.857.857.857h.234a.91.91 0 0 0 .909-.91v-.32a.77.77 0 0 0-.77-.77h-.087c-.631 0-1.143.512-1.143 1.143Z" fill="#FFE42E" /></g></symbol>'});a.a.add(s);t.default=s},6:function(e,t,n){(function(t){var n;n=function(){"use strict";var e=function(e){var t=e.id,n=e.viewBox,o=e.content;this.id=t,this.viewBox=n,this.content=o};function n(e,t){return e(t={exports:{}},t.exports),t.exports}e.prototype.stringify=function(){return this.content},e.prototype.toString=function(){return this.stringify()},e.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))},"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var o=n((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var i;return n&&!0===n.clone&&e(t)?o((i=t,Array.isArray(i)?[]:{}),t,n):t}function n(n,i,r){var a=n.slice();return i.forEach((function(i,s){void 0===a[s]?a[s]=t(i,r):e(i)?a[s]=o(n[s],i,r):-1===n.indexOf(i)&&a.push(t(i,r))})),a}function o(i,r,a){var s=Array.isArray(r),c=(a||{arrayMerge:n}).arrayMerge||n;return s?Array.isArray(i)?c(i,r,a):t(r,a):function(n,i,r){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],r)})),Object.keys(i).forEach((function(s){e(i[s])&&n[s]?a[s]=o(n[s],i[s],r):a[s]=t(i[s],r)})),a}(i,r,a)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return o(e,n,t)}))},o}()})),i=n((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),r=i.svg,a=i.xlink,s={};s[r.name]=r.uri,s[a.name]=a.uri;var c=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(o(s,t||{}))+">"+e+"</svg>"};return function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}(c(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(e)},e.exports=n()}).call(this,n(8))},7:function(e,t,n){(function(t){var n;n=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var n=e((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var i;return n&&!0===n.clone&&e(t)?o((i=t,Array.isArray(i)?[]:{}),t,n):t}function n(n,i,r){var a=n.slice();return i.forEach((function(i,s){void 0===a[s]?a[s]=t(i,r):e(i)?a[s]=o(n[s],i,r):-1===n.indexOf(i)&&a.push(t(i,r))})),a}function o(i,r,a){var s=Array.isArray(r),c=(a||{arrayMerge:n}).arrayMerge||n;return s?Array.isArray(i)?c(i,r,a):t(r,a):function(n,i,r){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],r)})),Object.keys(i).forEach((function(s){e(i[s])&&n[s]?a[s]=o(n[s],i[s],r):a[s]=t(i[s],r)})),a}(i,r,a)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return o(e,n,t)}))},o}()})),o=e((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),i=o.svg,r=o.xlink,a={};a[i.name]=i.uri,a[r.name]=r.uri;var s,c=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(n(a,t||{}))+">"+e+"</svg>"},u=o.svg,l=o.xlink,d={attrs:(s={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},s[u.name]=u.uri,s[l.name]=l.uri,s)},f=function(e){this.config=n(d,e||{}),this.symbols=[]};f.prototype.add=function(e){var t=this.symbols,n=this.find(e.id);return n?(t[t.indexOf(n)]=e,!1):(t.push(e),!0)},f.prototype.remove=function(e){var t=this.symbols,n=this.find(e);return!!n&&(t.splice(t.indexOf(n),1),n.destroy(),!0)},f.prototype.find=function(e){return this.symbols.filter((function(t){return t.id===e}))[0]||null},f.prototype.has=function(e){return null!==this.find(e)},f.prototype.stringify=function(){var e=this.config.attrs,t=this.symbols.map((function(e){return e.stringify()})).join("");return c(t,e)},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){this.symbols.forEach((function(e){return e.destroy()}))};var p=function(e){var t=e.id,n=e.viewBox,o=e.content;this.id=t,this.viewBox=n,this.content=o};p.prototype.stringify=function(){return this.content},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var m=function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n},h=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return m(c(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(p),v={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},g=function(e){return Array.prototype.slice.call(e,0)},_=function(){return/firefox/i.test(navigator.userAgent)},b=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},y=function(){return/edge/i.test(navigator.userAgent)},w=function(e){return(e||window.location.href).split("#")[0]},k=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",(function(t,n,o){var i,r,a;i=e,r={oldUrl:o,newUrl:n},(a=document.createEvent("CustomEvent")).initCustomEvent(i,!1,!1,r),window.dispatchEvent(a)}))}])},x=function(e,t){return void 0===t&&(t="linearGradient, radialGradient, pattern, mask, clipPath"),g(e.querySelectorAll("symbol")).forEach((function(e){g(e.querySelectorAll(t)).forEach((function(t){e.parentNode.insertBefore(t,e)}))})),e},E=o.xlink.uri,C=/[{}|\\\^\[\]`"<>]/g;function S(e){return e.replace(C,(function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()}))}var N,P=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],M=P.map((function(e){return"["+e+"]"})).join(","),O=function(e,t,n,o){var i=S(n),r=S(o);(function(e,t){return g(e).reduce((function(e,n){if(!n.attributes)return e;var o=g(n.attributes),i=t?o.filter(t):o;return e.concat(i)}),[])})(e.querySelectorAll(M),(function(e){var t=e.localName,n=e.value;return-1!==P.indexOf(t)&&-1!==n.indexOf("url("+i)})).forEach((function(e){return e.value=e.value.replace(new RegExp(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),r)})),function(e,t,n){g(e).forEach((function(e){var o=e.getAttribute("xlink:href");if(o&&0===o.indexOf(t)){var i=o.replace(t,n);e.setAttributeNS(E,"xlink:href",i)}}))}(t,i,r)},T="mount",A="symbol_mount",B=function(e){function t(t){var o=this;void 0===t&&(t={}),e.call(this,n(v,t));var i,r=(i=i||Object.create(null),{on:function(e,t){(i[e]||(i[e]=[])).push(t)},off:function(e,t){i[e]&&i[e].splice(i[e].indexOf(t)>>>0,1)},emit:function(e,t){(i[e]||[]).map((function(e){e(t)})),(i["*"]||[]).map((function(n){n(e,t)}))}});this._emitter=r,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(t),a.syncUrlsWithBaseTag){var s=document.getElementsByTagName("base")[0].getAttribute("href");r.on(T,(function(){return o.updateUrls("#",s)}))}var c=this._handleLocationChange.bind(this);this._handleLocationChange=c,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,c),a.locationChangeAngularEmitter&&k(a.locationChangeEvent),r.on(T,(function(e){a.moveGradientsOutsideSymbol&&x(e)})),r.on(A,(function(e){var t;a.moveGradientsOutsideSymbol&&x(e.parentNode),(b()||y())&&(t=[],g(e.querySelectorAll("style")).forEach((function(e){e.textContent+="",t.push(e)})))}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},t.prototype._autoConfigure=function(e){var t=this.config;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=_())},t.prototype._handleLocationChange=function(e){var t=e.detail,n=t.oldUrl,o=t.newUrl;this.updateUrls(n,o)},t.prototype.add=function(t){var n=e.prototype.add.call(this,t);return this.isMounted&&n&&(t.mount(this.node),this._emitter.emit(A,t.node)),n},t.prototype.attach=function(e){var t=this,n=this;if(n.isMounted)return n.node;var o="string"==typeof e?document.querySelector(e):e;return n.node=o,this.symbols.forEach((function(e){e.mount(n.node),t._emitter.emit(A,e.node)})),g(o.querySelectorAll("symbol")).forEach((function(e){var t=h.createFromExistingNode(e);t.node=e,n.add(t)})),this._emitter.emit(T,o),o},t.prototype.destroy=function(){var e=this.config,t=this.symbols,n=this._emitter;t.forEach((function(e){return e.destroy()})),n.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},t.prototype.mount=function(e,t){if(void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1),this.isMounted)return this.node;var n="string"==typeof e?document.querySelector(e):e,o=this.render();return this.node=o,t&&n.childNodes[0]?n.insertBefore(o,n.childNodes[0]):n.appendChild(o),this._emitter.emit(T,o),o},t.prototype.render=function(){return m(this.stringify())},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},t.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return O(this.node,n,w(e)+"#",w(t)+"#"),!0},Object.defineProperties(t.prototype,o),t}(f),j=e((function(e){var t,n,o,i,r;e.exports=(n=[],o=document,i=o.documentElement.doScroll,(r=(i?/^loaded|^c/:/^loaded|^i|^c/).test(o.readyState))||o.addEventListener("DOMContentLoaded",t=function(){for(o.removeEventListener("DOMContentLoaded",t),r=1;t=n.shift();)t()}),function(e){r?setTimeout(e,0):n.push(e)})}));window.__SVG_SPRITE__?N=window.__SVG_SPRITE__:(N=new B({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=N);var D=function(){var e=document.getElementById("__SVG_SPRITE_NODE__");e?N.attach(e):N.mount(document.body,!0)};return document.body?D():j(D),N},e.exports=n()}).call(this,n(8))},8:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},9:function(e,t){e.exports=window.wp.components}});6 */!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var r=typeof o;if("string"===r||"number"===r)e.push(o);else if(Array.isArray(o)&&o.length){var a=i.apply(null,o);a&&e.push(a)}else if("object"===r)for(var s in o)n.call(o,s)&&o[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(o=function(){return i}.apply(t,[]))||(e.exports=o)}()},13:function(e,t){e.exports=window.wp.data},141:function(e,t,n){"use strict";var o=n(0),i=(n(3),n(5)),r=(n(13),o(n(55))),a=o(n(142)),s=o(n(147));n(148),n(152);var c=n(2);(0,i.registerBlockType)("novablocks/menu-food",{icon:(0,c.getSvg)(r.default),attributes:{enableTwoColumns:{type:"boolean",default:!0},align:{type:"string",default:"wide"},showPrices:{type:"boolean",default:!0},showDescription:{type:"boolean",default:!0}},supports:{html:!1},example:{attributes:{enableTwoColumns:!1},innerBlocks:[{name:"novablocks/menu-food-section",innerBlocks:[{name:"novablocks/menu-food-item"},{name:"novablocks/menu-food-item"}]}]},edit:a.default,save:s.default})},142:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(1),r=o(n(12)),a=n(24),s=n(13),c=n(4),u=n(9),l=n(3),d=n(2),f=o(n(143)),p=o(n(144)),m=o(n(146)),h=["novablocks/menu-food-section"];(0,a.addFilter)("editor.BlockListBlock","novablocks/with-menu-visibility-attributes",p.default);var v=function(e){var t=e.attributes,n=t.enableTwoColumns,o=t.showPrices,a=(t.showDescription,e.clientId),p=e.className,v=(0,d.useInnerBlocks)(a),g=(0,i.useMemo)((function(){return v.length}),[v]),_=(0,s.useDispatch)("core/block-editor").insertBlock,b=(0,i.useCallback)((function(){var e=createBlock("novablocks/menu-food-section");_(e,g,a)}),[g]),y=(0,r.default)(p,"nova-food-menu",{"nova-food-menu--layout":!0===n,"price--is-hidden":!1===o}),w=(0,c.useBlockProps)({className:y,style:e.style});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",w,(0,i.createElement)(c.InnerBlocks,{allowedBlocks:h,template:m.default,renderAppender:!1}),(0,i.createElement)(u.Button,{className:"components-button block-editor-button-block-appender nova-blocks-appender",label:(0,l.__)("Add New Section","nova-blocks"),onClick:b},(0,l.__)("Add Section","nova-blocks"))),(0,i.createElement)(f.default,e))};t.default=v},143:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=n(2),r=n(3),a=n(9),s=function(e){var t=e.attributes,n=t.enableTwoColumns,s=t.showPrices,c=t.showDescription,u=e.setAttributes;return(0,o.createElement)(i.ControlsSection,{id:"layout",label:(0,r.__)("Layout","nova-blocks")},(0,o.createElement)(i.ControlsTab,{label:(0,r.__)("Settings","nova-blocks")},(0,o.createElement)(a.ToggleControl,{label:(0,r.__)("2 columns","nova-blocks"),checked:n,onChange:function(){return u({enableTwoColumns:!n})}}),(0,o.createElement)(a.ToggleControl,{label:(0,r.__)("Price","nova-blocks"),checked:s,onChange:function(){return u({showPrices:!s})}}),(0,o.createElement)(a.ToggleControl,{label:(0,r.__)("Description","nova-blocks"),checked:c,onChange:function(){return u({showDescription:!c})}})))};t.default=s},144:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=n(145),r=n(13),a=(0,i.createHigherOrderComponent)((function(e){return function(t){if("novablocks/menu-food"===t.name){var n=t.clientId,i=t.attributes,a=(0,r.useSelect)((function(e){return e("core/block-editor")})).getBlock,s=(0,r.useDispatch)("core/block-editor").updateBlockAttributes,c=a(n),u=null==c?void 0:c.innerBlocks,l={showPrices:(d=i).showPrices,showDescription:d.showDescription};Array.isArray(u)&&u.forEach((function(e){Array.isArray(e.innerBlocks)&&e.innerBlocks.forEach((function(e){s(e.clientId,l)}))}))}var d;return(0,o.createElement)(e,t)}}),"withMenuVisibilityAttributes");t.default=a},145:function(e,t){e.exports=window.wp.compose},146:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=[["novablocks/menu-food-section",{sectionTitle:"Starters"},[["novablocks/menu-food-item",{title:"Pea & Mint Soup",description:"Server with focaccia bread",price:"$8.00",showPrices:!0,showDescription:!0,enableSalePrice:!0,salePrice:"$5.00"}],["novablocks/menu-food-item",{title:"Beef Meatballs",description:"In a spicy tomato sauce",price:"$10.50",showPrices:!0,showDescription:!0}],["novablocks/menu-food-item",{title:"Hummus & Baba Ganoush Dip",description:"Olive & grilled flatbread",price:"$12.00",showPrices:!0,showDescription:!0}]]],["novablocks/menu-food-section",{sectionTitle:"Desserts"},[["novablocks/menu-food-item",{title:"Dark Chocolate & Brownie Delice",description:"Fudge bits & salted caramel ice cream",price:"$6.50",showPrices:!0,showDescription:!0}],["novablocks/menu-food-item",{title:"Berry Cheesecake Trifle",description:"Fresh raspberries & strawberries, sable cookie",price:"$6.50",showPrices:!0,showDescription:!0,enableHighlightFoodItem:!0,highlightLabel:"New"}],["novablocks/menu-food-item",{title:"Caramelised Lemon Tart",description:"Meringue crisps, gin & tonic ice cream",price:"$6.50",showPrices:!0,showDescription:!0}]]],["novablocks/menu-food-section",{sectionTitle:"Main Course"},[["novablocks/menu-food-item",{title:"The Classic Burger",description:"Chargrilled, with or without bacon, on a brioche bun & fries",price:"$15.50",showPrices:!0,showDescription:!0}],["novablocks/menu-food-item",{title:"Roast Salmon",description:"Hollandaise sauce, green beans & potato galette",price:"$19.50",showPrices:!0,showDescription:!0}],["novablocks/menu-food-item",{title:"Tagliatelle Pesto Chicken",description:"Roasted Mediterranean vegetables, tomato and herb sauce",price:"$15.00",showPrices:!0,showDescription:!0,enableHighlightFoodItem:!0,highlightLabel:"Chef Selection"}],["novablocks/menu-food-item",{title:"Confit de Canard ",description:"Duck confit, white bean & ham cassoulet, wilted spinach",price:"$12.15",showPrices:!0,showDescription:!0}],["novablocks/menu-food-item",{title:"Roasted Steak Roulade",description:"Mint parsley with apple cider vinegar, salt, sugar & spices",price:"$14.95",showPrices:!0,showDescription:!0}],["novablocks/menu-food-item",{title:"Cornish-mackerel",description:"Marinated tomatoes, fragrant curry, tamarillo",price:"$10.45",showPrices:!0,showDescription:!0}],["novablocks/menu-food-item",{title:"Lobster & Cucumber Soup",description:"Lobster salad, smoked onion, rock samphire & sorrel",price:"$24.95",showPrices:!0,showDescription:!0}]]]];t.default=o},147:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(1),r=o(n(12)),a=n(4),s=function(e){var t=e.attributes,n=t.enableTwoColumns,o=t.showPrices,s=(t.showDescription,e.className),c=(0,r.default)(s,"nova-food-menu",{"nova-food-menu--layout":!0===n,"price--is-hidden":!1===o});return(0,i.createElement)("div",{className:c,itemScope:!0,itemType:"https://schema.org/Menu"},(0,i.createElement)(a.InnerBlocks.Content,null))};t.default=s},148:function(e,t,n){"use strict";var o=n(0),i=n(3),r=n(5),a=o(n(55)),s=o(n(149)),c=o(n(151)),u=n(2);(0,r.registerBlockType)("novablocks/menu-food-section",{title:(0,i.__)("Food Menu Section","nova-blocks"),description:(0,i.__)("A subgrouping of the Menu.","nova-blocks"),category:"nova-blocks",icon:(0,u.getSvg)(a.default),keywords:[(0,i.__)("menu section","nova-blocks"),(0,i.__)("food section","nova-blocks"),(0,i.__)("list section","nova-blocks"),(0,i.__)("dishes section","nova-blocks")],parent:["novablocks/menu-food"],attributes:{sectionTitle:{type:"string",default:(0,i.__)("Drinks","nova-blocks")}},edit:s.default,save:c.default})},149:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(1),r=o(n(150)),a=function(e){return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(r.default,e))};t.default=a},150:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(1),r=o(n(12)),a=n(3),s=n(4),c=n(5),u=n(9),l=["novablocks/menu-food-item"],d=[["novablocks/menu-food-item"]],f=function(e){var t=e.attributes,n=t.sectionTitle,o=(t.showPrices,t.showDescription,e.setAttributes),f=e.clientId,p=e.className,m=(0,r.default)(p,"nova-food-menu__section");return(0,i.createElement)("div",{className:m},(0,i.createElement)("header",{className:"nova-food-menu__header"},(0,i.createElement)(s.RichText,{tagName:"h3",className:"section-title",value:n,onChange:function(e){return o({sectionTitle:e})}})),(0,i.createElement)("div",{className:"nova-food-menu__items"},(0,i.createElement)(s.InnerBlocks,{allowedBlocks:l,template:d,renderAppender:!1})),(0,i.createElement)(u.Button,{className:"components-button block-editor-button-block-appender nova-blocks-appender",label:(0,a.__)("Add New Item","nova-blocks"),onClick:function(){var e=(0,c.createBlock)("novablocks/menu-food-item"),t=wp.data.select("core/block-editor").getBlocksByClientId(f)[0].innerBlocks.length;wp.data.dispatch("core/block-editor").insertBlock(e,t,f)}},(0,a.__)("Add Item","nova-blocks")))};t.default=f},151:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(1),r=o(n(12)),a=(n(3),n(4)),s=function(e){var t=e.attributes.sectionTitle,n=e.setAttributes,o=e.className,s=(0,r.default)(o,"nova-food-menu__section");return(0,i.createElement)("div",{className:s,itemScope:!0,itemType:"https://schema.org/MenuSection"},(0,i.createElement)("header",{className:"nova-food-menu__header"},(0,i.createElement)(a.RichText.Content,{tagName:"h3",className:"section-title",value:t,onChange:function(e){return n({sectionTitle:e})},itemprop:"name"})),(0,i.createElement)("div",{className:"nova-food-menu__items"},(0,i.createElement)(a.InnerBlocks.Content,null)))};t.default=s},152:function(e,t,n){"use strict";var o=n(0),i=n(3),r=n(5),a=o(n(55)),s=o(n(153)),c=o(n(156)),u=n(2);(0,r.registerBlockType)("novablocks/menu-food-item",{title:(0,i.__)("Menu Item","nova-blocks"),description:(0,i.__)("A food or drink item contained in a menu or menu section.","nova-blocks"),category:"nova-blocks",icon:(0,u.getSvg)(a.default),keywords:[(0,i.__)("menu item","nova-blocks"),(0,i.__)("food item","nova-blocks"),(0,i.__)("dish","nova-blocks"),(0,i.__)("list item","nova-blocks")],parent:["novablocks/menu-food-section"],attributes:{title:{type:"string",default:(0,i.__)("Sweet Shrimp Salad","nova-blocks")},description:{type:"string",default:(0,i.__)("Tomatillo, Baja Crema, Cabbage, Fried Okra","nova-blocks")},price:{type:"string",default:"$7.95"},salePrice:{type:"string",default:"$9.50"},highlightLabel:{type:"string",default:(0,i.__)("Our top pick","nova-blocks")},enableHighlightFoodItem:{type:"boolean",default:!1},enableSalePrice:{type:"boolean",default:!1},showPrices:{type:"boolean",default:!0},showDescription:{type:"boolean",default:!0}},edit:s.default,save:c.default})},153:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(1),r=o(n(154)),a=o(n(155)),s=function(e){return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(r.default,e),(0,i.createElement)(a.default,e))};t.default=s},154:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(1),r=o(n(12)),a=n(4),s=n(3),c=function(e){var t=e.attributes,n=t.enableHighlightFoodItem,o=t.highlightLabel,c=t.enableSalePrice,u=t.showDescription,l=t.showPrices,d=t.salePrice,f=t.price,p=t.description,m=t.title,h=e.setAttributes,v=e.className,g=(0,r.default)(v,"nova-food-menu-item",{"nova-food-menu-item--highlighted":!0===n,"has-sale-price":!0===c});return(0,i.createElement)("div",{className:g},n&&(0,i.createElement)("div",{className:"nova-food-menu-item__highlight-label"},(0,i.createElement)(a.RichText,{tagName:"h5",className:"nova-food-menu-item__label",value:o,onChange:function(e){return h({highlightLabel:e})},allowedFormats:[]})),(0,i.createElement)("div",{className:"nova-food-menu-item__title"},(0,i.createElement)(a.RichText,{value:m,tagName:"h4",className:"item-title",placeholder:(0,s.__)("Product Title","nova-blocks"),onChange:function(e){return h({title:e})}})),l&&(0,i.createElement)("div",{className:"nova-food-menu-item__prices"},(0,i.createElement)(a.RichText,{value:f,tagName:"span",className:"item-price",placeholder:(0,s.__)("$0.00","nova-blocks"),onChange:function(e){return h({price:e})}}),c&&(0,i.createElement)("div",{className:"nova-food-menu-item__price--sale"},(0,i.createElement)(a.RichText,{tagName:"span",className:"item-price--sale",value:d,onChange:function(e){return h({salePrice:e})},allowedFormats:[]}))),u&&(0,i.createElement)("div",{className:"nova-food-menu-item__description"},(0,i.createElement)(a.RichText,{value:p,tagName:"p",className:"item-description",placeholder:(0,s.__)("Product Description","nova-blocks"),onChange:function(e){return h({description:e})}})))};t.default=c},155:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=n(2),r=n(3),a=n(9),s=function(e){var t=e.attributes,n=t.enableHighlightFoodItem,s=t.enableSalePrice,c=t.showPrices,u=(t.showDescription,e.setAttributes);return(0,o.createElement)(i.ControlsSection,{id:"layout",label:(0,r.__)("Layout","nova-blocks")},(0,o.createElement)(i.ControlsTab,{label:(0,r.__)("Settings","nova-blocks")},(0,o.createElement)(a.ToggleControl,{label:(0,r.__)("Highlight item","nova-blocks"),help:(0,r.__)("Use it if you want to highlight some of the menu items and make them stand out.","nova-blocks"),checked:n,onChange:function(){return u({enableHighlightFoodItem:!n})}}),c&&(0,o.createElement)(a.ToggleControl,{label:(0,r.__)("On sale","nova-blocks"),checked:s,onChange:function(){return u({enableSalePrice:!s})}})))};t.default=s},156:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(1),r=o(n(12)),a=(n(3),n(4)),s=function(e){var t=e.attributes,n=t.enableHighlightFoodItem,o=t.highlightLabel,s=t.enableSalePrice,c=t.showDescription,u=t.showPrices,l=t.salePrice,d=t.price,f=t.description,p=t.title,m=e.setAttributes,h=e.className,v=(0,r.default)(h,"nova-food-menu-item",{"nova-food-menu-item--highlighted":!0===n,"has-sale-price":!0===s});return(0,i.createElement)("div",{className:v,itemscope:!0,itemtype:"https://schema.org/MenuItem"},n&&(0,i.createElement)("div",{className:"nova-food-menu-item__highlight-label"},(0,i.createElement)("h5",{className:"nova-food-menu-item__label"}," ",o," ")),(0,i.createElement)("div",{className:"nova-food-menu-item__title"},(0,i.createElement)(a.RichText.Content,{value:p,tagName:"h4",className:"item-title",onChange:function(e){return m({title:e})},itemprop:"name"})),u&&(0,i.createElement)("div",{className:"nova-food-menu-item__prices",itemscope:!0,itemtype:"https://schema.org/offers"},(0,i.createElement)(a.RichText.Content,{value:d,tagName:"span",className:"item-price",onChange:function(e){return m({price:e})},itemprop:"price"}),s&&(0,i.createElement)("div",{className:"nova-food-menu-item__price--sale"},(0,i.createElement)("span",{className:"item-price--sale"}," ",l," "))),c&&(0,i.createElement)("div",{className:"nova-food-menu-item__description"},(0,i.createElement)(a.RichText.Content,{value:f,tagName:"p",className:"item-description",onChange:function(e){return m({description:e})},itemprop:"description"})))};t.default=s},2:function(e,t){e.exports=window.novablocks.blockEditor},24:function(e,t){e.exports=window.wp.hooks},3:function(e,t){e.exports=window.wp.i18n},4:function(e,t){e.exports=window.wp.blockEditor},5:function(e,t){e.exports=window.wp.blocks},55:function(e,t,n){"use strict";n.r(t);var o=n(6),i=n.n(o),r=n(7),a=n.n(r),s=new i.a({id:"block-library-menu-food/icon",use:"block-library-menu-food/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-menu-food/icon"><mask id="block-library-menu-food/icon_a" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24" style="mask-type:alpha"><path d="M24 12c0-6.627-5.373-12-12-12S0 5.373 0 12s5.373 12 12 12 12-5.373 12-12Z" fill="#6565F2" /></mask><g mask="url(#block-library-menu-food/icon_a)"><path d="M0 12C0 5.373 5.373 0 12 0s12 5.373 12 12-5.373 12-12 12S0 18.627 0 12Z" fill="#6565F2" /><path d="M18 9.737c1.105 0 2.04-.921 1.712-1.976-1.973-6.348-13.45-6.348-15.423 0C3.96 8.816 4.896 9.737 6 9.737h12Z" fill="#fff" /><path d="M5 13.143c0 .473.384.857.857.857H15a1 1 0 1 0 0-2H6.143C5.512 12 5 12.512 5 13.143Zm0 4c0 .473.384.857.857.857H15a1 1 0 1 0 0-2H6.143C5.512 16 5 16.512 5 17.143Zm13-4c0 .473.384.857.857.857h.234a.91.91 0 0 0 .909-.91v-.32a.77.77 0 0 0-.77-.77h-.087c-.631 0-1.143.512-1.143 1.143Zm0 4c0 .473.384.857.857.857h.234a.91.91 0 0 0 .909-.91v-.32a.77.77 0 0 0-.77-.77h-.087c-.631 0-1.143.512-1.143 1.143Z" fill="#FFE42E" /></g></symbol>'});a.a.add(s);t.default=s},6:function(e,t,n){(function(t){var n;n=function(){"use strict";var e=function(e){var t=e.id,n=e.viewBox,o=e.content;this.id=t,this.viewBox=n,this.content=o};function n(e,t){return e(t={exports:{}},t.exports),t.exports}e.prototype.stringify=function(){return this.content},e.prototype.toString=function(){return this.stringify()},e.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))},"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var o=n((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var i;return n&&!0===n.clone&&e(t)?o((i=t,Array.isArray(i)?[]:{}),t,n):t}function n(n,i,r){var a=n.slice();return i.forEach((function(i,s){void 0===a[s]?a[s]=t(i,r):e(i)?a[s]=o(n[s],i,r):-1===n.indexOf(i)&&a.push(t(i,r))})),a}function o(i,r,a){var s=Array.isArray(r),c=(a||{arrayMerge:n}).arrayMerge||n;return s?Array.isArray(i)?c(i,r,a):t(r,a):function(n,i,r){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],r)})),Object.keys(i).forEach((function(s){e(i[s])&&n[s]?a[s]=o(n[s],i[s],r):a[s]=t(i[s],r)})),a}(i,r,a)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return o(e,n,t)}))},o}()})),i=n((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),r=i.svg,a=i.xlink,s={};s[r.name]=r.uri,s[a.name]=a.uri;var c=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(o(s,t||{}))+">"+e+"</svg>"};return function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}(c(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(e)},e.exports=n()}).call(this,n(8))},7:function(e,t,n){(function(t){var n;n=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var n=e((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var i;return n&&!0===n.clone&&e(t)?o((i=t,Array.isArray(i)?[]:{}),t,n):t}function n(n,i,r){var a=n.slice();return i.forEach((function(i,s){void 0===a[s]?a[s]=t(i,r):e(i)?a[s]=o(n[s],i,r):-1===n.indexOf(i)&&a.push(t(i,r))})),a}function o(i,r,a){var s=Array.isArray(r),c=(a||{arrayMerge:n}).arrayMerge||n;return s?Array.isArray(i)?c(i,r,a):t(r,a):function(n,i,r){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],r)})),Object.keys(i).forEach((function(s){e(i[s])&&n[s]?a[s]=o(n[s],i[s],r):a[s]=t(i[s],r)})),a}(i,r,a)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return o(e,n,t)}))},o}()})),o=e((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),i=o.svg,r=o.xlink,a={};a[i.name]=i.uri,a[r.name]=r.uri;var s,c=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(n(a,t||{}))+">"+e+"</svg>"},u=o.svg,l=o.xlink,d={attrs:(s={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},s[u.name]=u.uri,s[l.name]=l.uri,s)},f=function(e){this.config=n(d,e||{}),this.symbols=[]};f.prototype.add=function(e){var t=this.symbols,n=this.find(e.id);return n?(t[t.indexOf(n)]=e,!1):(t.push(e),!0)},f.prototype.remove=function(e){var t=this.symbols,n=this.find(e);return!!n&&(t.splice(t.indexOf(n),1),n.destroy(),!0)},f.prototype.find=function(e){return this.symbols.filter((function(t){return t.id===e}))[0]||null},f.prototype.has=function(e){return null!==this.find(e)},f.prototype.stringify=function(){var e=this.config.attrs,t=this.symbols.map((function(e){return e.stringify()})).join("");return c(t,e)},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){this.symbols.forEach((function(e){return e.destroy()}))};var p=function(e){var t=e.id,n=e.viewBox,o=e.content;this.id=t,this.viewBox=n,this.content=o};p.prototype.stringify=function(){return this.content},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var m=function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n},h=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return m(c(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(p),v={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},g=function(e){return Array.prototype.slice.call(e,0)},_=function(){return/firefox/i.test(navigator.userAgent)},b=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},y=function(){return/edge/i.test(navigator.userAgent)},w=function(e){return(e||window.location.href).split("#")[0]},k=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",(function(t,n,o){var i,r,a;i=e,r={oldUrl:o,newUrl:n},(a=document.createEvent("CustomEvent")).initCustomEvent(i,!1,!1,r),window.dispatchEvent(a)}))}])},x=function(e,t){return void 0===t&&(t="linearGradient, radialGradient, pattern, mask, clipPath"),g(e.querySelectorAll("symbol")).forEach((function(e){g(e.querySelectorAll(t)).forEach((function(t){e.parentNode.insertBefore(t,e)}))})),e},E=o.xlink.uri,C=/[{}|\\\^\[\]`"<>]/g;function S(e){return e.replace(C,(function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()}))}var N,P=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],M=P.map((function(e){return"["+e+"]"})).join(","),O=function(e,t,n,o){var i=S(n),r=S(o);(function(e,t){return g(e).reduce((function(e,n){if(!n.attributes)return e;var o=g(n.attributes),i=t?o.filter(t):o;return e.concat(i)}),[])})(e.querySelectorAll(M),(function(e){var t=e.localName,n=e.value;return-1!==P.indexOf(t)&&-1!==n.indexOf("url("+i)})).forEach((function(e){return e.value=e.value.replace(new RegExp(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),r)})),function(e,t,n){g(e).forEach((function(e){var o=e.getAttribute("xlink:href");if(o&&0===o.indexOf(t)){var i=o.replace(t,n);e.setAttributeNS(E,"xlink:href",i)}}))}(t,i,r)},T="mount",A="symbol_mount",B=function(e){function t(t){var o=this;void 0===t&&(t={}),e.call(this,n(v,t));var i,r=(i=i||Object.create(null),{on:function(e,t){(i[e]||(i[e]=[])).push(t)},off:function(e,t){i[e]&&i[e].splice(i[e].indexOf(t)>>>0,1)},emit:function(e,t){(i[e]||[]).map((function(e){e(t)})),(i["*"]||[]).map((function(n){n(e,t)}))}});this._emitter=r,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(t),a.syncUrlsWithBaseTag){var s=document.getElementsByTagName("base")[0].getAttribute("href");r.on(T,(function(){return o.updateUrls("#",s)}))}var c=this._handleLocationChange.bind(this);this._handleLocationChange=c,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,c),a.locationChangeAngularEmitter&&k(a.locationChangeEvent),r.on(T,(function(e){a.moveGradientsOutsideSymbol&&x(e)})),r.on(A,(function(e){var t;a.moveGradientsOutsideSymbol&&x(e.parentNode),(b()||y())&&(t=[],g(e.querySelectorAll("style")).forEach((function(e){e.textContent+="",t.push(e)})))}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},t.prototype._autoConfigure=function(e){var t=this.config;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=_())},t.prototype._handleLocationChange=function(e){var t=e.detail,n=t.oldUrl,o=t.newUrl;this.updateUrls(n,o)},t.prototype.add=function(t){var n=e.prototype.add.call(this,t);return this.isMounted&&n&&(t.mount(this.node),this._emitter.emit(A,t.node)),n},t.prototype.attach=function(e){var t=this,n=this;if(n.isMounted)return n.node;var o="string"==typeof e?document.querySelector(e):e;return n.node=o,this.symbols.forEach((function(e){e.mount(n.node),t._emitter.emit(A,e.node)})),g(o.querySelectorAll("symbol")).forEach((function(e){var t=h.createFromExistingNode(e);t.node=e,n.add(t)})),this._emitter.emit(T,o),o},t.prototype.destroy=function(){var e=this.config,t=this.symbols,n=this._emitter;t.forEach((function(e){return e.destroy()})),n.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},t.prototype.mount=function(e,t){if(void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1),this.isMounted)return this.node;var n="string"==typeof e?document.querySelector(e):e,o=this.render();return this.node=o,t&&n.childNodes[0]?n.insertBefore(o,n.childNodes[0]):n.appendChild(o),this._emitter.emit(T,o),o},t.prototype.render=function(){return m(this.stringify())},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},t.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return O(this.node,n,w(e)+"#",w(t)+"#"),!0},Object.defineProperties(t.prototype,o),t}(f),j=e((function(e){var t,n,o,i,r;e.exports=(n=[],o=document,i=o.documentElement.doScroll,(r=(i?/^loaded|^c/:/^loaded|^i|^c/).test(o.readyState))||o.addEventListener("DOMContentLoaded",t=function(){for(o.removeEventListener("DOMContentLoaded",t),r=1;t=n.shift();)t()}),function(e){r?setTimeout(e,0):n.push(e)})}));window.__SVG_SPRITE__?N=window.__SVG_SPRITE__:(N=new B({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=N);var D=function(){var e=document.getElementById("__SVG_SPRITE_NODE__");e?N.attach(e):N.mount(document.body,!0)};return document.body?D():j(D),N},e.exports=n()}).call(this,n(8))},8:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},9:function(e,t){e.exports=window.wp.components}}); -
nova-blocks/trunk/build/block-library/blocks/navigation/frontend.asset.php
r2737140 r2744078 1 <?php return array('dependencies' => array('wp- polyfill'), 'version' => 'cfb96eb5ac336c7b0de8549658bfd06c');1 <?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => 'ff9a1d10972f05d24f2e7df8eb2e393c'); -
nova-blocks/trunk/build/block-library/blocks/navigation/frontend.js
r2737140 r2744078 1 !function(e){var t={};function n( r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=158)}({158:function(e,t,n){"use strict";var r=n(57);jQuery,window,(0,r.addSocialMenuClass)()},57:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addSocialMenuClass=void 0;t.addSocialMenuClass=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=e.querySelectorAll(".nb-navigation .menu-item a"),n=window.getComputedStyle(document.documentElement),r=n.getPropertyValue("--enable-social-icons"),o=!!parseInt(r,10);o&&t.forEach((function(e,t){var n=window.getComputedStyle(e).getPropertyValue("--is-social");!!parseInt(n,10)&&e.parentElement.classList.add("social-menu-item")}))}}});1 !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=157)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},157:function(e,t,n){"use strict";var o=n(0)(n(29)),r=n(56);(0,o.default)((function(){(0,r.addSocialMenuClass)()}))},29:function(e,t){e.exports=window.wp.domReady},56:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addSocialMenuClass=void 0;t.addSocialMenuClass=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=e.querySelectorAll(".nb-navigation .menu-item a"),n=window.getComputedStyle(document.documentElement),o=n.getPropertyValue("--enable-social-icons"),r=!!parseInt(o,10);r&&t.forEach((function(e,t){var n=window.getComputedStyle(e).getPropertyValue("--is-social");!!parseInt(n,10)&&e.parentElement.classList.add("social-menu-item")}))}}}); -
nova-blocks/trunk/build/block-library/blocks/navigation/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-blocks', 'wp-element', 'wp-polyfill', 'wp-server-side-render'), 'version' => ' e59d41cfbe2a076d4f51b3b9f9354299');1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-blocks', 'wp-element', 'wp-polyfill', 'wp-server-side-render'), 'version' => '4aeb3acbefd76539a57b734f4aa76f86'); -
nova-blocks/trunk/build/block-library/blocks/navigation/index.js
r2738702 r2744078 1 !function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=15 9)}({0:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},1:function(t,e){t.exports=window.wp.element},14:function(t,e){t.exports=window.wp.serverSideRender},159:function(t,e,n){"use strict";var o=n(0),r=n(1),i=n(5),u=o(n(14)),a=n(2),c=o(n(160)),s=o(n(161)),d=n(57);(0,i.registerBlockType)("novablocks/navigation",{icon:(0,a.getSvg)(c.default),attributes:s.default,edit:function(t){var e=t.clientId;return(0,a.useSelectParent)(t),(0,r.useLayoutEffect)((function(){var t=document.querySelector(".block-".concat(e)),n=t?t.parentElement:null;if(n){if(!window.MutationObserver)return;var o=new MutationObserver((function(t){(0,d.addSocialMenuClass)(n)}));return o.observe(n.parentElement,{childList:!0,subtree:!0}),function(){o.disconnect()}}}),[]),(0,r.createElement)(u.default,{block:"novablocks/navigation",attributes:t.attributes,className:"block-".concat(e)})},save:function(){return!1}})},160:function(t,e,n){"use strict";n.r(e);var o=n(6),r=n.n(o),i=n(7),u=n.n(i),a=new r.a({id:"block-library-navigation/icon",use:"block-library-navigation/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-navigation/icon"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zM5.857 8A.857.857 0 0 1 5 7.143C5 6.512 5.512 6 6.143 6H18a1 1 0 1 1 0 2H5.857zM5 12.143c0 .473.384.857.857.857H18a1 1 0 1 0 0-2H6.143C5.512 11 5 11.512 5 12.143zM5.857 18A.857.857 0 0 1 5 17.143C5 16.512 5.512 16 6.143 16H18a1 1 0 1 1 0 2H5.857z" fill="#6565F2" /></symbol>'});u.a.add(a);e.default=a},161:function(t){t.exports=JSON.parse('{"slug":{"type":"string","default":""},"className":{"type":"string","default":""}}')},2:function(t,e){t.exports=window.novablocks.blockEditor},5:function(t,e){t.exports=window.wp.blocks},57:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addSocialMenuClass=void 0;e.addSocialMenuClass=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=t.querySelectorAll(".nb-navigation .menu-item a"),n=window.getComputedStyle(document.documentElement),o=n.getPropertyValue("--enable-social-icons"),r=!!parseInt(o,10);r&&e.forEach((function(t,e){var n=window.getComputedStyle(t).getPropertyValue("--is-social");!!parseInt(n,10)&&t.parentElement.classList.add("social-menu-item")}))}},6:function(t,e,n){(function(e){var n;n=function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,o=t.content;this.id=e,this.viewBox=n,this.content=o};function n(t,e){return t(e={exports:{}},e.exports),e.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))},"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var o=n((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var r;return n&&!0===n.clone&&t(e)?o((r=e,Array.isArray(r)?[]:{}),e,n):e}function n(n,r,i){var u=n.slice();return r.forEach((function(r,a){void 0===u[a]?u[a]=e(r,i):t(r)?u[a]=o(n[a],r,i):-1===n.indexOf(r)&&u.push(e(r,i))})),u}function o(r,i,u){var a=Array.isArray(i),c=(u||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(r)?c(r,i,u):e(i,u):function(n,r,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(r).forEach((function(a){t(r[a])&&n[a]?u[a]=o(n[a],r[a],i):u[a]=e(r[a],i)})),u}(r,i,u)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),r=n((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=r.svg,u=r.xlink,a={};a[i.name]=i.uri,a[u.name]=u.uri;var c=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(o(a,e||{}))+">"+t+"</svg>"};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(c(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)},t.exports=n()}).call(this,n(8))},7:function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=t((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var r;return n&&!0===n.clone&&t(e)?o((r=e,Array.isArray(r)?[]:{}),e,n):e}function n(n,r,i){var u=n.slice();return r.forEach((function(r,a){void 0===u[a]?u[a]=e(r,i):t(r)?u[a]=o(n[a],r,i):-1===n.indexOf(r)&&u.push(e(r,i))})),u}function o(r,i,u){var a=Array.isArray(i),c=(u||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(r)?c(r,i,u):e(i,u):function(n,r,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(r).forEach((function(a){t(r[a])&&n[a]?u[a]=o(n[a],r[a],i):u[a]=e(r[a],i)})),u}(r,i,u)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),o=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),r=o.svg,i=o.xlink,u={};u[r.name]=r.uri,u[i.name]=i.uri;var a,c=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(n(u,e||{}))+">"+t+"</svg>"},s=o.svg,d=o.xlink,l={attrs:(a={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},a[s.name]=s.uri,a[d.name]=d.uri,a)},f=function(t){this.config=n(l,t||{}),this.symbols=[]};f.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},f.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},f.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},f.prototype.has=function(t){return null!==this.find(t)},f.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map((function(t){return t.stringify()})).join("");return c(e,t)},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var p=function(t){var e=t.id,n=t.viewBox,o=t.content;this.id=e,this.viewBox=n,this.content=o};p.prototype.stringify=function(){return this.content},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var h=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},y=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return h(c(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(p),v={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},m=function(t){return Array.prototype.slice.call(t,0)},g=function(){return/firefox/i.test(navigator.userAgent)},w=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},b=function(){return/edge/i.test(navigator.userAgent)},x=function(t){return(t||window.location.href).split("#")[0]},E=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,o){var r,i,u;r=t,i={oldUrl:o,newUrl:n},(u=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,i),window.dispatchEvent(u)}))}])},_=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern, mask, clipPath"),m(t.querySelectorAll("symbol")).forEach((function(t){m(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t},S=o.xlink.uri,O=/[{}|\\\^\[\]`"<>]/g;function A(t){return t.replace(O,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var C,M=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],j=M.map((function(t){return"["+t+"]"})).join(","),k=function(t,e,n,o){var r=A(n),i=A(o);(function(t,e){return m(t).reduce((function(t,n){if(!n.attributes)return t;var o=m(n.attributes),r=e?o.filter(e):o;return t.concat(r)}),[])})(t.querySelectorAll(j),(function(t){var e=t.localName,n=t.value;return-1!==M.indexOf(e)&&-1!==n.indexOf("url("+r)})).forEach((function(t){return t.value=t.value.replace(new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,e,n){m(t).forEach((function(t){var o=t.getAttribute("xlink:href");if(o&&0===o.indexOf(e)){var r=o.replace(e,n);t.setAttributeNS(S,"xlink:href",r)}}))}(e,r,i)},N="mount",B="symbol_mount",P=function(t){function e(e){var o=this;void 0===e&&(e={}),t.call(this,n(v,e));var r,i=(r=r||Object.create(null),{on:function(t,e){(r[t]||(r[t]=[])).push(e)},off:function(t,e){r[t]&&r[t].splice(r[t].indexOf(e)>>>0,1)},emit:function(t,e){(r[t]||[]).map((function(t){t(e)})),(r["*"]||[]).map((function(n){n(t,e)}))}});this._emitter=i,this.node=null;var u=this.config;if(u.autoConfigure&&this._autoConfigure(e),u.syncUrlsWithBaseTag){var a=document.getElementsByTagName("base")[0].getAttribute("href");i.on(N,(function(){return o.updateUrls("#",a)}))}var c=this._handleLocationChange.bind(this);this._handleLocationChange=c,u.listenLocationChangeEvent&&window.addEventListener(u.locationChangeEvent,c),u.locationChangeAngularEmitter&&E(u.locationChangeEvent),i.on(N,(function(t){u.moveGradientsOutsideSymbol&&_(t)})),i.on(B,(function(t){var e;u.moveGradientsOutsideSymbol&&_(t.parentNode),(w()||b())&&(e=[],m(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})))}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=g())},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,o=e.newUrl;this.updateUrls(n,o)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit(B,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var o="string"==typeof t?document.querySelector(t):t;return n.node=o,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(B,t.node)})),m(o.querySelectorAll("symbol")).forEach((function(t){var e=y.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(N,o),o},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach((function(t){return t.destroy()})),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){if(void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1),this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,o=this.render();return this.node=o,e&&n.childNodes[0]?n.insertBefore(o,n.childNodes[0]):n.appendChild(o),this._emitter.emit(N,o),o},e.prototype.render=function(){return h(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return k(this.node,n,x(t)+"#",x(e)+"#"),!0},Object.defineProperties(e.prototype,o),e}(f),T=t((function(t){var e,n,o,r,i;t.exports=(n=[],o=document,r=o.documentElement.doScroll,(i=(r?/^loaded|^c/:/^loaded|^i|^c/).test(o.readyState))||o.addEventListener("DOMContentLoaded",e=function(){for(o.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),function(t){i?setTimeout(t,0):n.push(t)})}));window.__SVG_SPRITE__?C=window.__SVG_SPRITE__:(C=new P({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=C);var L=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?C.attach(t):C.mount(document.body,!0)};return document.body?L():T(L),C},t.exports=n()}).call(this,n(8))},8:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n}});1 !function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=158)}({0:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},1:function(t,e){t.exports=window.wp.element},14:function(t,e){t.exports=window.wp.serverSideRender},158:function(t,e,n){"use strict";var o=n(0),r=n(1),i=n(5),u=o(n(14)),a=n(2),c=o(n(159)),s=o(n(160)),d=n(56);(0,i.registerBlockType)("novablocks/navigation",{icon:(0,a.getSvg)(c.default),attributes:s.default,edit:function(t){var e=t.clientId;return(0,a.useSelectParent)(t),(0,r.useLayoutEffect)((function(){var t=document.querySelector(".block-".concat(e)),n=t?t.parentElement:null;if(n){if(!window.MutationObserver)return;var o=new MutationObserver((function(t){(0,d.addSocialMenuClass)(n)}));return o.observe(n.parentElement,{childList:!0,subtree:!0}),function(){o.disconnect()}}}),[]),(0,r.createElement)(u.default,{block:"novablocks/navigation",attributes:t.attributes,className:"block-".concat(e)})},save:function(){return!1}})},159:function(t,e,n){"use strict";n.r(e);var o=n(6),r=n.n(o),i=n(7),u=n.n(i),a=new r.a({id:"block-library-navigation/icon",use:"block-library-navigation/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-navigation/icon"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zM5.857 8A.857.857 0 0 1 5 7.143C5 6.512 5.512 6 6.143 6H18a1 1 0 1 1 0 2H5.857zM5 12.143c0 .473.384.857.857.857H18a1 1 0 1 0 0-2H6.143C5.512 11 5 11.512 5 12.143zM5.857 18A.857.857 0 0 1 5 17.143C5 16.512 5.512 16 6.143 16H18a1 1 0 1 1 0 2H5.857z" fill="#6565F2" /></symbol>'});u.a.add(a);e.default=a},160:function(t){t.exports=JSON.parse('{"slug":{"type":"string","default":""},"className":{"type":"string","default":""}}')},2:function(t,e){t.exports=window.novablocks.blockEditor},5:function(t,e){t.exports=window.wp.blocks},56:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addSocialMenuClass=void 0;e.addSocialMenuClass=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=t.querySelectorAll(".nb-navigation .menu-item a"),n=window.getComputedStyle(document.documentElement),o=n.getPropertyValue("--enable-social-icons"),r=!!parseInt(o,10);r&&e.forEach((function(t,e){var n=window.getComputedStyle(t).getPropertyValue("--is-social");!!parseInt(n,10)&&t.parentElement.classList.add("social-menu-item")}))}},6:function(t,e,n){(function(e){var n;n=function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,o=t.content;this.id=e,this.viewBox=n,this.content=o};function n(t,e){return t(e={exports:{}},e.exports),e.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))},"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var o=n((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var r;return n&&!0===n.clone&&t(e)?o((r=e,Array.isArray(r)?[]:{}),e,n):e}function n(n,r,i){var u=n.slice();return r.forEach((function(r,a){void 0===u[a]?u[a]=e(r,i):t(r)?u[a]=o(n[a],r,i):-1===n.indexOf(r)&&u.push(e(r,i))})),u}function o(r,i,u){var a=Array.isArray(i),c=(u||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(r)?c(r,i,u):e(i,u):function(n,r,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(r).forEach((function(a){t(r[a])&&n[a]?u[a]=o(n[a],r[a],i):u[a]=e(r[a],i)})),u}(r,i,u)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),r=n((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=r.svg,u=r.xlink,a={};a[i.name]=i.uri,a[u.name]=u.uri;var c=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(o(a,e||{}))+">"+t+"</svg>"};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(c(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)},t.exports=n()}).call(this,n(8))},7:function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=t((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var r;return n&&!0===n.clone&&t(e)?o((r=e,Array.isArray(r)?[]:{}),e,n):e}function n(n,r,i){var u=n.slice();return r.forEach((function(r,a){void 0===u[a]?u[a]=e(r,i):t(r)?u[a]=o(n[a],r,i):-1===n.indexOf(r)&&u.push(e(r,i))})),u}function o(r,i,u){var a=Array.isArray(i),c=(u||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(r)?c(r,i,u):e(i,u):function(n,r,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(r).forEach((function(a){t(r[a])&&n[a]?u[a]=o(n[a],r[a],i):u[a]=e(r[a],i)})),u}(r,i,u)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),o=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),r=o.svg,i=o.xlink,u={};u[r.name]=r.uri,u[i.name]=i.uri;var a,c=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(n(u,e||{}))+">"+t+"</svg>"},s=o.svg,d=o.xlink,l={attrs:(a={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},a[s.name]=s.uri,a[d.name]=d.uri,a)},f=function(t){this.config=n(l,t||{}),this.symbols=[]};f.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},f.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},f.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},f.prototype.has=function(t){return null!==this.find(t)},f.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map((function(t){return t.stringify()})).join("");return c(e,t)},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var p=function(t){var e=t.id,n=t.viewBox,o=t.content;this.id=e,this.viewBox=n,this.content=o};p.prototype.stringify=function(){return this.content},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var h=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},y=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return h(c(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(p),v={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},m=function(t){return Array.prototype.slice.call(t,0)},g=function(){return/firefox/i.test(navigator.userAgent)},w=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},b=function(){return/edge/i.test(navigator.userAgent)},x=function(t){return(t||window.location.href).split("#")[0]},E=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,o){var r,i,u;r=t,i={oldUrl:o,newUrl:n},(u=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,i),window.dispatchEvent(u)}))}])},_=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern, mask, clipPath"),m(t.querySelectorAll("symbol")).forEach((function(t){m(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t},S=o.xlink.uri,O=/[{}|\\\^\[\]`"<>]/g;function A(t){return t.replace(O,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var C,M=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],j=M.map((function(t){return"["+t+"]"})).join(","),k=function(t,e,n,o){var r=A(n),i=A(o);(function(t,e){return m(t).reduce((function(t,n){if(!n.attributes)return t;var o=m(n.attributes),r=e?o.filter(e):o;return t.concat(r)}),[])})(t.querySelectorAll(j),(function(t){var e=t.localName,n=t.value;return-1!==M.indexOf(e)&&-1!==n.indexOf("url("+r)})).forEach((function(t){return t.value=t.value.replace(new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,e,n){m(t).forEach((function(t){var o=t.getAttribute("xlink:href");if(o&&0===o.indexOf(e)){var r=o.replace(e,n);t.setAttributeNS(S,"xlink:href",r)}}))}(e,r,i)},N="mount",B="symbol_mount",P=function(t){function e(e){var o=this;void 0===e&&(e={}),t.call(this,n(v,e));var r,i=(r=r||Object.create(null),{on:function(t,e){(r[t]||(r[t]=[])).push(e)},off:function(t,e){r[t]&&r[t].splice(r[t].indexOf(e)>>>0,1)},emit:function(t,e){(r[t]||[]).map((function(t){t(e)})),(r["*"]||[]).map((function(n){n(t,e)}))}});this._emitter=i,this.node=null;var u=this.config;if(u.autoConfigure&&this._autoConfigure(e),u.syncUrlsWithBaseTag){var a=document.getElementsByTagName("base")[0].getAttribute("href");i.on(N,(function(){return o.updateUrls("#",a)}))}var c=this._handleLocationChange.bind(this);this._handleLocationChange=c,u.listenLocationChangeEvent&&window.addEventListener(u.locationChangeEvent,c),u.locationChangeAngularEmitter&&E(u.locationChangeEvent),i.on(N,(function(t){u.moveGradientsOutsideSymbol&&_(t)})),i.on(B,(function(t){var e;u.moveGradientsOutsideSymbol&&_(t.parentNode),(w()||b())&&(e=[],m(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})))}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=g())},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,o=e.newUrl;this.updateUrls(n,o)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit(B,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var o="string"==typeof t?document.querySelector(t):t;return n.node=o,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(B,t.node)})),m(o.querySelectorAll("symbol")).forEach((function(t){var e=y.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(N,o),o},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach((function(t){return t.destroy()})),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){if(void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1),this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,o=this.render();return this.node=o,e&&n.childNodes[0]?n.insertBefore(o,n.childNodes[0]):n.appendChild(o),this._emitter.emit(N,o),o},e.prototype.render=function(){return h(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return k(this.node,n,x(t)+"#",x(e)+"#"),!0},Object.defineProperties(e.prototype,o),e}(f),T=t((function(t){var e,n,o,r,i;t.exports=(n=[],o=document,r=o.documentElement.doScroll,(i=(r?/^loaded|^c/:/^loaded|^i|^c/).test(o.readyState))||o.addEventListener("DOMContentLoaded",e=function(){for(o.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),function(t){i?setTimeout(t,0):n.push(t)})}));window.__SVG_SPRITE__?C=window.__SVG_SPRITE__:(C=new P({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=C);var L=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?C.attach(t):C.mount(document.body,!0)};return document.body?L():T(L),C},t.exports=n()}).call(this,n(8))},8:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n}}); -
nova-blocks/trunk/build/block-library/blocks/navigation/style-rtl.css
r2710156 r2744078 1 .nb-navigation{--navigation-item-sub-elements-spacing:7px;--nb-navigation-item-padding-y:.75em} @media only screen and (min-width:1024px){.nb-navigation{display:flex;justify-content:center}}.nb-navigation .menu>ul,.nb-navigation ul.menu{-moz-column-gap:var(--nb-navigation-item-spacing);column-gap:var(--nb-navigation-item-spacing)}.nb-navigation .menu>ul,.nb-navigation ul.children,.nb-navigation ul.menu,.nb-navigation ul.sub-menu{list-style:none;padding-right:0}@media only screen and (min-width:1024px){.nb-navigation .menu>ul,.nb-navigation ul.menu{display:flex;flex-wrap:wrap}}.nb-navigation .menu>ul a,.nb-navigation ul.menu a{color:inherit;display:block;padding-bottom:var(--nb-navigation-item-padding-y);padding-top:var(--nb-navigation-item-padding-y);text-decoration:none}.nb-navigation .menu-item-has-children,.nb-navigation .page_item_has_children{position:relative}.nb-navigation .menu-item-has-children[class]>a,.nb-navigation .page_item_has_children[class]>a{display:block}.nb-navigation .menu-item-has-children[class]>a:after,.nb-navigation .page_item_has_children[class]>a:after{background-color:currentColor;content:"";display:inline-block;height:var(--dropdown-icon-size);margin-right:var(--navigation-item-sub-elements-spacing);-webkit-mask:url(arrow-down.svg) no-repeat 50% 50%;mask:url(arrow-down.svg) no-repeat 50% 50%;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;opacity:.5;width:var(--dropdown-icon-size)}@media only screen and (min-width:1024px){.nb-navigation .menu-item-has-children.hover>.children,.nb-navigation .menu-item-has-children.hover>.sub-menu,.nb-navigation .page_item_has_children.hover>.children,.nb-navigation .page_item_has_children.hover>.sub-menu{opacity:1;pointer-events:auto;transform:translateZ(0)}.nb-navigation .menu-item-has-children:focus-within>.children,.nb-navigation .menu-item-has-children:focus-within>.sub-menu,.nb-navigation .page_item_has_children:focus-within>.children,.nb-navigation .page_item_has_children:focus-within>.sub-menu{opacity:1;pointer-events:auto;transform:translateZ(0)}}@media not screen and (min-width:1024px){.nb-navigation .menu-item-has-children:not(.hover)>.children,.nb-navigation .menu-item-has-children:not(.hover)>.sub-menu,.nb-navigation .page_item_has_children:not(.hover)>.children,.nb-navigation .page_item_has_children:not(.hover)>.sub-menu{display:none}.nb-navigation .menu-item-has-children>.children,.nb-navigation .menu-item-has-children>.sub-menu,.nb-navigation .page_item_has_children>.children,.nb-navigation .page_item_has_children>.sub-menu{position:relative}.nb-navigation .menu-item-has-children>.children:before,.nb-navigation .menu-item-has-children>.sub-menu:before,.nb-navigation .page_item_has_children>.children:before,.nb-navigation .page_item_has_children>.sub-menu:before{background-color:var(--sm-current-fg1-color);content:"";height:100%;opacity:0.2;pointer-events:none;position:absolute;right:0;top:0;width:100%}}@media only screen and (min-width:1024px){.nb-navigation .children,.nb-navigation .sub-menu{background:var(--sm-current-fg2-color,var(--nb-fg2-color));color:var(--sm-current-bg-color,var(--nb-bg-color));position:absolute;right:0;top:100%;width:10em}.nb-navigation .children .children,.nb-navigation .children .sub-menu,.nb-navigation .sub-menu .children,.nb-navigation .sub-menu .sub-menu{right:100%;top:0}.nb-navigation .children .children .page_item_has_children>a:after,.nb-navigation .children .sub-menu .menu-item-has-children>a:after,.nb-navigation .sub-menu .children .page_item_has_children>a:after,.nb-navigation .sub-menu .sub-menu .menu-item-has-children>a:after{transform:translateY(-10%) rotate(45deg)}.nb-navigation .children .children,.nb-navigation .sub-menu .sub-menu{right:100%;top:0}.nb-navigation :not(:hover)>.children,.nb-navigation :not(:hover)>.sub-menu{display:none}.nb-navigation .menu-item-has-children .menu-item:after,.nb-navigation .page_item_has_children .menu-item:after{background-color:currentColor;content:"";height:100%;opacity:0;position:absolute;right:0;top:0;width:100%;z-index:-1}.nb-navigation .menu-item-has-children .menu-item:focus-within:after,.nb-navigation .menu-item-has-children .menu-item:hover:after,.nb-navigation .page_item_has_children .menu-item:focus-within:after,.nb-navigation .page_item_has_children .menu-item:hover:after{opacity:.05}.nb-navigation .children,.nb-navigation .sub-menu{background-color:var(--sm-current-bg-color,var(--nb-bg-color));border-radius:0.1875em;color:var(--sm-current-fg2-color,var(--nb-fg2-color));filter:drop-shadow(0 0.25em 2em rgba(0,0,0,0.1));opacity:0;padding:.75em 0;pointer-events:none;transform:translate3d(0,-0.75em,0);transition:var(--nb-transition);transition-property:opacity,transform;width:15.625em;z-index:100}.nb-navigation .children a,.nb-navigation .sub-menu a{padding-left:1.875em;padding-right:1.25em;position:relative}.nb-navigation .children a:after,.nb-navigation .sub-menu a:after{left:1em;position:absolute}.nb-navigation .has-submenu-left>.children,.nb-navigation .has-submenu-left>.sub-menu{left:0;right:auto}.nb-navigation .children .page_item_has_children>a:after,.nb-navigation .sub-menu .menu-item-has-children>a:after{left:1.25em;position:absolute;top:50%;transform:translateY(-50%) rotate(90deg)}.nb-navigation .children .page_item_has_children .children,.nb-navigation .children .page_item_has_children .sub-menu,.nb-navigation .sub-menu .menu-item-has-children .children,.nb-navigation .sub-menu .menu-item-has-children .sub-menu{right:calc(100% - 0.625em);top:-.75em}.nb-navigation .children .page_item_has_children.has-submenu-left .children,.nb-navigation .children .page_item_has_children.has-submenu-left .sub-menu,.nb-navigation .sub-menu .menu-item-has-children.has-submenu-left .children,.nb-navigation .sub-menu .menu-item-has-children.has-submenu-left .sub-menu{left:calc(100% - 0.625em);right:auto}.nb-navigation :not(:hover)>.children,.nb-navigation :not(:hover)>.sub-menu{display:block}.nb-navigation .sub-menu .sub-menu[class] .menu-item-has-children>a:after{left:1.25em;position:absolute;top:50%;transform:translateY(-50%) rotate(90deg)}}.nb-navigation .menu-item[class]{--dropdown-icon-size:0.55em;margin-top:0;position:relative}.nb-navigation .menu-item[class] .menu-description{--font-size-modifier:0.75;display:block;opacity:.5;order:2;padding-left:var(--dropdown-icon-size)}@media not screen and (min-width:1024px){.nb-navigation .menu-item[class] .menu-description{width:100%}}1 .nb-navigation{--navigation-item-sub-elements-spacing:7px;--nb-navigation-item-padding-y:.75em}.nb-navigation :is(ul.menu,.menu>ul){-moz-column-gap:var(--nb-navigation-item-spacing);column-gap:var(--nb-navigation-item-spacing)}@media only screen and (min-width:1024px){.nb-navigation{display:flex;justify-content:var(--justify-content,center)}.nb-navigation :is(ul.menu,.menu>ul){justify-content:var(--justify-content,center)}}.nb-navigation .menu>ul,.nb-navigation ul.children,.nb-navigation ul.menu,.nb-navigation ul.sub-menu{list-style:none;padding-right:0}@media only screen and (min-width:1024px){.nb-navigation .menu>ul,.nb-navigation ul.menu{display:flex;flex-wrap:wrap}}.nb-navigation .menu>ul a,.nb-navigation ul.menu a{color:inherit;display:block;padding-bottom:var(--nb-navigation-item-padding-y);padding-top:var(--nb-navigation-item-padding-y);text-decoration:none}.nb-navigation .menu-item-has-children,.nb-navigation .page_item_has_children{position:relative}.nb-navigation .menu-item-has-children[class]>a,.nb-navigation .page_item_has_children[class]>a{display:block}.nb-navigation .menu-item-has-children[class]>a:after,.nb-navigation .page_item_has_children[class]>a:after{background-color:currentColor;content:"";display:inline-block;height:var(--dropdown-icon-size);margin-right:var(--navigation-item-sub-elements-spacing);-webkit-mask:url(arrow-down.svg) no-repeat 50% 50%;mask:url(arrow-down.svg) no-repeat 50% 50%;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;opacity:.5;width:var(--dropdown-icon-size)}@media only screen and (min-width:1024px){.nb-navigation .menu-item-has-children.hover>.children,.nb-navigation .menu-item-has-children.hover>.sub-menu,.nb-navigation .page_item_has_children.hover>.children,.nb-navigation .page_item_has_children.hover>.sub-menu{opacity:1;pointer-events:auto;transform:translateZ(0)}.nb-navigation .menu-item-has-children:focus-within>.children,.nb-navigation .menu-item-has-children:focus-within>.sub-menu,.nb-navigation .page_item_has_children:focus-within>.children,.nb-navigation .page_item_has_children:focus-within>.sub-menu{opacity:1;pointer-events:auto;transform:translateZ(0)}}@media not screen and (min-width:1024px){.nb-navigation .menu-item-has-children:not(.hover)>.children,.nb-navigation .menu-item-has-children:not(.hover)>.sub-menu,.nb-navigation .page_item_has_children:not(.hover)>.children,.nb-navigation .page_item_has_children:not(.hover)>.sub-menu{display:none}.nb-navigation .menu-item-has-children>.children,.nb-navigation .menu-item-has-children>.sub-menu,.nb-navigation .page_item_has_children>.children,.nb-navigation .page_item_has_children>.sub-menu{position:relative}.nb-navigation .menu-item-has-children>.children:before,.nb-navigation .menu-item-has-children>.sub-menu:before,.nb-navigation .page_item_has_children>.children:before,.nb-navigation .page_item_has_children>.sub-menu:before{background-color:var(--sm-current-fg1-color);content:"";height:100%;opacity:0.2;pointer-events:none;position:absolute;right:0;top:0;width:100%}}@media only screen and (min-width:1024px){.nb-navigation .children,.nb-navigation .sub-menu{background:var(--sm-current-fg2-color,var(--nb-fg2-color));color:var(--sm-current-bg-color,var(--nb-bg-color));position:absolute;right:0;top:100%;width:10em}.nb-navigation .children .children,.nb-navigation .children .sub-menu,.nb-navigation .sub-menu .children,.nb-navigation .sub-menu .sub-menu{right:100%;top:0}.nb-navigation .children .children .page_item_has_children>a:after,.nb-navigation .children .sub-menu .menu-item-has-children>a:after,.nb-navigation .sub-menu .children .page_item_has_children>a:after,.nb-navigation .sub-menu .sub-menu .menu-item-has-children>a:after{transform:translateY(-10%) rotate(45deg)}.nb-navigation .children .children,.nb-navigation .sub-menu .sub-menu{right:100%;top:0}.nb-navigation :not(:hover)>.children,.nb-navigation :not(:hover)>.sub-menu{display:none}.nb-navigation .menu-item-has-children .menu-item:after,.nb-navigation .page_item_has_children .menu-item:after{background-color:currentColor;content:"";height:100%;opacity:0;position:absolute;right:0;top:0;width:100%;z-index:-1}.nb-navigation .menu-item-has-children .menu-item:focus-within:after,.nb-navigation .menu-item-has-children .menu-item:hover:after,.nb-navigation .page_item_has_children .menu-item:focus-within:after,.nb-navigation .page_item_has_children .menu-item:hover:after{opacity:.05}.nb-navigation .children,.nb-navigation .sub-menu{background-color:var(--sm-current-bg-color,var(--nb-bg-color));border-radius:0.1875em;color:var(--sm-current-fg2-color,var(--nb-fg2-color));filter:drop-shadow(0 0.25em 2em rgba(0,0,0,0.1));opacity:0;padding:.75em 0;pointer-events:none;transform:translate3d(0,-0.75em,0);transition:var(--nb-transition);transition-property:opacity,transform;width:15.625em;z-index:100}.nb-navigation .children a,.nb-navigation .sub-menu a{padding-left:1.875em;padding-right:1.25em;position:relative}.nb-navigation .children a:after,.nb-navigation .sub-menu a:after{left:1em;position:absolute}.nb-navigation .has-submenu-left>.children,.nb-navigation .has-submenu-left>.sub-menu{left:0;right:auto}.nb-navigation .children .page_item_has_children>a:after,.nb-navigation .sub-menu .menu-item-has-children>a:after{left:1.25em;position:absolute;top:50%;transform:translateY(-50%) rotate(90deg)}.nb-navigation .children .page_item_has_children .children,.nb-navigation .children .page_item_has_children .sub-menu,.nb-navigation .sub-menu .menu-item-has-children .children,.nb-navigation .sub-menu .menu-item-has-children .sub-menu{right:calc(100% - 0.625em);top:-.75em}.nb-navigation .children .page_item_has_children.has-submenu-left .children,.nb-navigation .children .page_item_has_children.has-submenu-left .sub-menu,.nb-navigation .sub-menu .menu-item-has-children.has-submenu-left .children,.nb-navigation .sub-menu .menu-item-has-children.has-submenu-left .sub-menu{left:calc(100% - 0.625em);right:auto}.nb-navigation :not(:hover)>.children,.nb-navigation :not(:hover)>.sub-menu{display:block}.nb-navigation .sub-menu .sub-menu[class] .menu-item-has-children>a:after{left:1.25em;position:absolute;top:50%;transform:translateY(-50%) rotate(90deg)}}.nb-navigation .menu-item[class]{--dropdown-icon-size:0.55em;margin-top:0;position:relative}.nb-navigation .menu-item[class] .menu-description{--font-size-modifier:0.75;display:block;opacity:.5;order:2;padding-left:var(--dropdown-icon-size)}@media not screen and (min-width:1024px){.nb-navigation .menu-item[class] .menu-description{width:100%}} -
nova-blocks/trunk/build/block-library/blocks/navigation/style.css
r2710156 r2744078 1 .nb-navigation{--navigation-item-sub-elements-spacing:7px;--nb-navigation-item-padding-y:.75em} @media only screen and (min-width:1024px){.nb-navigation{display:flex;justify-content:center}}.nb-navigation .menu>ul,.nb-navigation ul.menu{-moz-column-gap:var(--nb-navigation-item-spacing);column-gap:var(--nb-navigation-item-spacing)}.nb-navigation .menu>ul,.nb-navigation ul.children,.nb-navigation ul.menu,.nb-navigation ul.sub-menu{list-style:none;padding-left:0}@media only screen and (min-width:1024px){.nb-navigation .menu>ul,.nb-navigation ul.menu{display:flex;flex-wrap:wrap}}.nb-navigation .menu>ul a,.nb-navigation ul.menu a{color:inherit;display:block;padding-bottom:var(--nb-navigation-item-padding-y);padding-top:var(--nb-navigation-item-padding-y);text-decoration:none}.nb-navigation .menu-item-has-children,.nb-navigation .page_item_has_children{position:relative}.nb-navigation .menu-item-has-children[class]>a,.nb-navigation .page_item_has_children[class]>a{display:block}.nb-navigation .menu-item-has-children[class]>a:after,.nb-navigation .page_item_has_children[class]>a:after{background-color:currentColor;content:"";display:inline-block;height:var(--dropdown-icon-size);margin-left:var(--navigation-item-sub-elements-spacing);-webkit-mask:url(arrow-down.svg) no-repeat 50% 50%;mask:url(arrow-down.svg) no-repeat 50% 50%;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;opacity:.5;width:var(--dropdown-icon-size)}@media only screen and (min-width:1024px){.nb-navigation .menu-item-has-children.hover>.children,.nb-navigation .menu-item-has-children.hover>.sub-menu,.nb-navigation .page_item_has_children.hover>.children,.nb-navigation .page_item_has_children.hover>.sub-menu{opacity:1;pointer-events:auto;transform:translateZ(0)}.nb-navigation .menu-item-has-children:focus-within>.children,.nb-navigation .menu-item-has-children:focus-within>.sub-menu,.nb-navigation .page_item_has_children:focus-within>.children,.nb-navigation .page_item_has_children:focus-within>.sub-menu{opacity:1;pointer-events:auto;transform:translateZ(0)}}@media not screen and (min-width:1024px){.nb-navigation .menu-item-has-children:not(.hover)>.children,.nb-navigation .menu-item-has-children:not(.hover)>.sub-menu,.nb-navigation .page_item_has_children:not(.hover)>.children,.nb-navigation .page_item_has_children:not(.hover)>.sub-menu{display:none}.nb-navigation .menu-item-has-children>.children,.nb-navigation .menu-item-has-children>.sub-menu,.nb-navigation .page_item_has_children>.children,.nb-navigation .page_item_has_children>.sub-menu{position:relative}.nb-navigation .menu-item-has-children>.children:before,.nb-navigation .menu-item-has-children>.sub-menu:before,.nb-navigation .page_item_has_children>.children:before,.nb-navigation .page_item_has_children>.sub-menu:before{background-color:var(--sm-current-fg1-color);content:"";height:100%;left:0;opacity:0.2;pointer-events:none;position:absolute;top:0;width:100%}}@media only screen and (min-width:1024px){.nb-navigation .children,.nb-navigation .sub-menu{background:var(--sm-current-fg2-color,var(--nb-fg2-color));color:var(--sm-current-bg-color,var(--nb-bg-color));left:0;position:absolute;top:100%;width:10em}.nb-navigation .children .children,.nb-navigation .children .sub-menu,.nb-navigation .sub-menu .children,.nb-navigation .sub-menu .sub-menu{left:100%;top:0}.nb-navigation .children .children .page_item_has_children>a:after,.nb-navigation .children .sub-menu .menu-item-has-children>a:after,.nb-navigation .sub-menu .children .page_item_has_children>a:after,.nb-navigation .sub-menu .sub-menu .menu-item-has-children>a:after{transform:translateY(-10%) rotate(-45deg)}.nb-navigation .children .children,.nb-navigation .sub-menu .sub-menu{left:100%;top:0}.nb-navigation :not(:hover)>.children,.nb-navigation :not(:hover)>.sub-menu{display:none}.nb-navigation .menu-item-has-children .menu-item:after,.nb-navigation .page_item_has_children .menu-item:after{background-color:currentColor;content:"";height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:-1}.nb-navigation .menu-item-has-children .menu-item:focus-within:after,.nb-navigation .menu-item-has-children .menu-item:hover:after,.nb-navigation .page_item_has_children .menu-item:focus-within:after,.nb-navigation .page_item_has_children .menu-item:hover:after{opacity:.05}.nb-navigation .children,.nb-navigation .sub-menu{background-color:var(--sm-current-bg-color,var(--nb-bg-color));border-radius:0.1875em;color:var(--sm-current-fg2-color,var(--nb-fg2-color));filter:drop-shadow(0 0.25em 2em rgba(0,0,0,0.1));opacity:0;padding:.75em 0;pointer-events:none;transform:translate3d(0,-0.75em,0);transition:var(--nb-transition);transition-property:opacity,transform;width:15.625em;z-index:100}.nb-navigation .children a,.nb-navigation .sub-menu a{padding-left:1.25em;padding-right:1.875em;position:relative}.nb-navigation .children a:after,.nb-navigation .sub-menu a:after{position:absolute;right:1em}.nb-navigation .has-submenu-left>.children,.nb-navigation .has-submenu-left>.sub-menu{left:auto;right:0}.nb-navigation .children .page_item_has_children>a:after,.nb-navigation .sub-menu .menu-item-has-children>a:after{position:absolute;right:1.25em;top:50%;transform:translateY(-50%) rotate(-90deg)}.nb-navigation .children .page_item_has_children .children,.nb-navigation .children .page_item_has_children .sub-menu,.nb-navigation .sub-menu .menu-item-has-children .children,.nb-navigation .sub-menu .menu-item-has-children .sub-menu{left:calc(100% - 0.625em);top:-.75em}.nb-navigation .children .page_item_has_children.has-submenu-left .children,.nb-navigation .children .page_item_has_children.has-submenu-left .sub-menu,.nb-navigation .sub-menu .menu-item-has-children.has-submenu-left .children,.nb-navigation .sub-menu .menu-item-has-children.has-submenu-left .sub-menu{left:auto;right:calc(100% - 0.625em)}.nb-navigation :not(:hover)>.children,.nb-navigation :not(:hover)>.sub-menu{display:block}.nb-navigation .sub-menu .sub-menu[class] .menu-item-has-children>a:after{position:absolute;right:1.25em;top:50%;transform:translateY(-50%) rotate(-90deg)}}.nb-navigation .menu-item[class]{--dropdown-icon-size:0.55em;margin-top:0;position:relative}.nb-navigation .menu-item[class] .menu-description{--font-size-modifier:0.75;display:block;opacity:.5;order:2;padding-right:var(--dropdown-icon-size)}@media not screen and (min-width:1024px){.nb-navigation .menu-item[class] .menu-description{width:100%}}1 .nb-navigation{--navigation-item-sub-elements-spacing:7px;--nb-navigation-item-padding-y:.75em}.nb-navigation :is(ul.menu,.menu>ul){-moz-column-gap:var(--nb-navigation-item-spacing);column-gap:var(--nb-navigation-item-spacing)}@media only screen and (min-width:1024px){.nb-navigation{display:flex;justify-content:var(--justify-content,center)}.nb-navigation :is(ul.menu,.menu>ul){justify-content:var(--justify-content,center)}}.nb-navigation .menu>ul,.nb-navigation ul.children,.nb-navigation ul.menu,.nb-navigation ul.sub-menu{list-style:none;padding-left:0}@media only screen and (min-width:1024px){.nb-navigation .menu>ul,.nb-navigation ul.menu{display:flex;flex-wrap:wrap}}.nb-navigation .menu>ul a,.nb-navigation ul.menu a{color:inherit;display:block;padding-bottom:var(--nb-navigation-item-padding-y);padding-top:var(--nb-navigation-item-padding-y);text-decoration:none}.nb-navigation .menu-item-has-children,.nb-navigation .page_item_has_children{position:relative}.nb-navigation .menu-item-has-children[class]>a,.nb-navigation .page_item_has_children[class]>a{display:block}.nb-navigation .menu-item-has-children[class]>a:after,.nb-navigation .page_item_has_children[class]>a:after{background-color:currentColor;content:"";display:inline-block;height:var(--dropdown-icon-size);margin-left:var(--navigation-item-sub-elements-spacing);-webkit-mask:url(arrow-down.svg) no-repeat 50% 50%;mask:url(arrow-down.svg) no-repeat 50% 50%;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;opacity:.5;width:var(--dropdown-icon-size)}@media only screen and (min-width:1024px){.nb-navigation .menu-item-has-children.hover>.children,.nb-navigation .menu-item-has-children.hover>.sub-menu,.nb-navigation .page_item_has_children.hover>.children,.nb-navigation .page_item_has_children.hover>.sub-menu{opacity:1;pointer-events:auto;transform:translateZ(0)}.nb-navigation .menu-item-has-children:focus-within>.children,.nb-navigation .menu-item-has-children:focus-within>.sub-menu,.nb-navigation .page_item_has_children:focus-within>.children,.nb-navigation .page_item_has_children:focus-within>.sub-menu{opacity:1;pointer-events:auto;transform:translateZ(0)}}@media not screen and (min-width:1024px){.nb-navigation .menu-item-has-children:not(.hover)>.children,.nb-navigation .menu-item-has-children:not(.hover)>.sub-menu,.nb-navigation .page_item_has_children:not(.hover)>.children,.nb-navigation .page_item_has_children:not(.hover)>.sub-menu{display:none}.nb-navigation .menu-item-has-children>.children,.nb-navigation .menu-item-has-children>.sub-menu,.nb-navigation .page_item_has_children>.children,.nb-navigation .page_item_has_children>.sub-menu{position:relative}.nb-navigation .menu-item-has-children>.children:before,.nb-navigation .menu-item-has-children>.sub-menu:before,.nb-navigation .page_item_has_children>.children:before,.nb-navigation .page_item_has_children>.sub-menu:before{background-color:var(--sm-current-fg1-color);content:"";height:100%;left:0;opacity:0.2;pointer-events:none;position:absolute;top:0;width:100%}}@media only screen and (min-width:1024px){.nb-navigation .children,.nb-navigation .sub-menu{background:var(--sm-current-fg2-color,var(--nb-fg2-color));color:var(--sm-current-bg-color,var(--nb-bg-color));left:0;position:absolute;top:100%;width:10em}.nb-navigation .children .children,.nb-navigation .children .sub-menu,.nb-navigation .sub-menu .children,.nb-navigation .sub-menu .sub-menu{left:100%;top:0}.nb-navigation .children .children .page_item_has_children>a:after,.nb-navigation .children .sub-menu .menu-item-has-children>a:after,.nb-navigation .sub-menu .children .page_item_has_children>a:after,.nb-navigation .sub-menu .sub-menu .menu-item-has-children>a:after{transform:translateY(-10%) rotate(-45deg)}.nb-navigation .children .children,.nb-navigation .sub-menu .sub-menu{left:100%;top:0}.nb-navigation :not(:hover)>.children,.nb-navigation :not(:hover)>.sub-menu{display:none}.nb-navigation .menu-item-has-children .menu-item:after,.nb-navigation .page_item_has_children .menu-item:after{background-color:currentColor;content:"";height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:-1}.nb-navigation .menu-item-has-children .menu-item:focus-within:after,.nb-navigation .menu-item-has-children .menu-item:hover:after,.nb-navigation .page_item_has_children .menu-item:focus-within:after,.nb-navigation .page_item_has_children .menu-item:hover:after{opacity:.05}.nb-navigation .children,.nb-navigation .sub-menu{background-color:var(--sm-current-bg-color,var(--nb-bg-color));border-radius:0.1875em;color:var(--sm-current-fg2-color,var(--nb-fg2-color));filter:drop-shadow(0 0.25em 2em rgba(0,0,0,0.1));opacity:0;padding:.75em 0;pointer-events:none;transform:translate3d(0,-0.75em,0);transition:var(--nb-transition);transition-property:opacity,transform;width:15.625em;z-index:100}.nb-navigation .children a,.nb-navigation .sub-menu a{padding-left:1.25em;padding-right:1.875em;position:relative}.nb-navigation .children a:after,.nb-navigation .sub-menu a:after{position:absolute;right:1em}.nb-navigation .has-submenu-left>.children,.nb-navigation .has-submenu-left>.sub-menu{left:auto;right:0}.nb-navigation .children .page_item_has_children>a:after,.nb-navigation .sub-menu .menu-item-has-children>a:after{position:absolute;right:1.25em;top:50%;transform:translateY(-50%) rotate(-90deg)}.nb-navigation .children .page_item_has_children .children,.nb-navigation .children .page_item_has_children .sub-menu,.nb-navigation .sub-menu .menu-item-has-children .children,.nb-navigation .sub-menu .menu-item-has-children .sub-menu{left:calc(100% - 0.625em);top:-.75em}.nb-navigation .children .page_item_has_children.has-submenu-left .children,.nb-navigation .children .page_item_has_children.has-submenu-left .sub-menu,.nb-navigation .sub-menu .menu-item-has-children.has-submenu-left .children,.nb-navigation .sub-menu .menu-item-has-children.has-submenu-left .sub-menu{left:auto;right:calc(100% - 0.625em)}.nb-navigation :not(:hover)>.children,.nb-navigation :not(:hover)>.sub-menu{display:block}.nb-navigation .sub-menu .sub-menu[class] .menu-item-has-children>a:after{position:absolute;right:1.25em;top:50%;transform:translateY(-50%) rotate(-90deg)}}.nb-navigation .menu-item[class]{--dropdown-icon-size:0.55em;margin-top:0;position:relative}.nb-navigation .menu-item[class] .menu-description{--font-size-modifier:0.75;display:block;opacity:.5;order:2;padding-right:var(--dropdown-icon-size)}@media not screen and (min-width:1024px){.nb-navigation .menu-item[class] .menu-description{width:100%}} -
nova-blocks/trunk/build/block-library/blocks/openhours/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => ' 4e7110f45e6503457cb3c67396eb3e72');1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '6e809c0ebce0b61f86286d638440696e'); -
nova-blocks/trunk/build/block-library/blocks/openhours/index.js
r2738702 r2744078 1 !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=16 2)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},15:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o},e.exports.default=e.exports,e.exports.__esModule=!0},162:function(e,t,n){"use strict";var o=n(0),r=o(n(163)),i=o(n(164)),a=o(n(168)),u=n(3),s=n(5),l=n(2);(0,s.registerBlockType)("novablocks/openhours",{title:(0,u.__)("OpenHours","nova-blocks"),description:(0,u.__)("Display Opening Hours for any kind of venue.","nova-blocks"),category:"nova-blocks",icon:(0,l.getSvg)(r.default),attributes:a.default,supports:{html:!1},edit:i.default,save:function(){return!1}})},163:function(e,t,n){"use strict";n.r(t);var o=n(6),r=n.n(o),i=n(7),a=n.n(i),u=new r.a({id:"block-library-openhours/icon",use:"block-library-openhours/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-openhours/icon"><g clip-path="url(#block-library-openhours/icon_a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zM6.636 7.636l5.168 5.168 4.66-2.69a1 1 0 0 1 1 1.732l-5.298 3.058a1 1 0 0 1-1.18-.133 1.149 1.149 0 0 1-.208-.165L5.222 9.05a1 1 0 1 1 1.414-1.414z" fill="#6565F2" /></g><defs><clipPath id="block-library-openhours/icon_a"><path fill="#fff" d="M0 0h24v24H0z" /></clipPath></defs></symbol>'});a.a.add(u);t.default=u},164:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1),i=o(n(165)),a=o(n(166)),u=function(e){return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.default,e),(0,r.createElement)(i.default,e))};t.default=u},165:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),r=function(e){return(0,o.createElement)(wp.serverSideRender,{block:"novablocks/openhours",attributes:e.attributes})};t.default=r},166:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1),i=o(n(19)),a=n(2),u=n(3),s=n(167),l=n(9),c=function(e){var t=e.attributes,n=t.openHoursStyle,o=t.text,c=t.timeFormat,d=t.openNote,p=t.closedNote,f=t.closedLabel,m=t.compressOpeningHours,h=t.hideClosedDays,g=t.useShortName,y=e.setAttributes,_=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.ExternalLink,{href:"https://wordpress.org/support/article/formatting-date-and-time/"},(0,u.__)("Learn more about time formatting","nova-blocks")));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.ControlsSection,{id:"setup",label:(0,u.__)("Setup","nova-blocks")},(0,r.createElement)(a.ControlsTab,{label:(0,u.__)("Settings","nova-blocks")},(0,r.createElement)(l.TextareaControl,{key:"openhours-schedule-controls",label:(0,u.__)("Write your opening hours in a simple human readable format","nova-blocks"),value:o,className:"original-text",onChange:function(e){return y({text:e,parsedText:(0,s.parseContent)(e)})}}),(0,r.createElement)("div",{className:"components-base-control__label novablocks__label novablocks__example novablocks__example--multi"},(0,u.__)("Monday 10am - 3pm\nTuesday to Friday 9 - 17\nSat noon - 2am","nova-blocks")))),(0,r.createElement)(a.ControlsSection,{id:"display",label:(0,u.__)("Display","nova-blocks")},(0,r.createElement)(a.ControlsTab,{label:(0,u.__)("Settings","nova-blocks")},(0,r.createElement)(l.RadioControl,{key:"openhours-display-controls",label:(0,u.__)("Displaying the opening hours","nova-blocks"),value:n,selected:n,options:[{label:(0,u.__)("Overview","nova-blocks"),value:"overview"},{label:(0,u.__)("Current Status","nova-blocks"),value:"status"}],onChange:function(e){return y({openHoursStyle:e})}}),"status"===n&&(0,r.createElement)("div",{className:"components-base-control__label novablocks__label"},(0,u.__)('Write the "Open" and "Closed" messages using the tags displayed below.',"nova-blocks")),"status"===n&&(0,r.createElement)((function(){var e=(0,r.useState)(!1),t=(0,i.default)(e,2),n=t[0],o=t[1];return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.Button,{className:"novablocks__label",isLink:!0,onClick:function(){return o(!0)}},"See available tags"),n&&(0,r.createElement)(l.Modal,{onRequestClose:function(){return o(!1)},shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,className:"novablocks-openhours__modal"}))}),null),"status"===n&&(0,r.createElement)(l.TextControl,{label:(0,u.__)("Open Note","nova-blocks"),value:d,onChange:function(e){return y({openNote:e})}}),"status"===n&&(0,r.createElement)("div",{className:"components-base-control__label novablocks__label novablocks__example"},(0,u.__)("It's {time} and we're Open until {today-closing-time}.","nova-blocks")),"status"===n&&(0,r.createElement)("div",{className:"components-base-control__label novablocks__label novablocks__example"},(0,u.__)("{time} - It's today, we're Open.","nova-blocks")),"status"===n&&(0,r.createElement)(l.TextControl,{label:(0,u.__)("Closed Note","nova-blocks"),value:p,onChange:function(e){return y({closedNote:e})}}),"status"===n&&(0,r.createElement)("div",{className:"components-base-control__label novablocks__label novablocks__example"},(0,u.__)("We're closed until {next-opening-day} at {next-opening-time}.","nova-blocks")),"status"===n&&(0,r.createElement)("div",{className:"components-base-control__label novablocks__label novablocks__example"},(0,u.__)("{time} - it's closed now.","nova-blocks")),"overview"===n&&(0,r.createElement)(l.TextControl,{label:(0,u.__)("Closed Label","nova-blocks"),value:f,onChange:function(e){return y({closedLabel:e})}}),"overview"===n&&(0,r.createElement)(l.ToggleControl,{label:(0,u.__)("Compress Opening Hours","nova-blocks"),checked:m,onChange:function(){return y({compressOpeningHours:!m})}}),"overview"===n&&(0,r.createElement)(l.ToggleControl,{label:(0,u.__)("Hide Closed Days","nova-blocks"),checked:h,onChange:function(){return y({hideClosedDays:!h})}}),"overview"===n&&(0,r.createElement)(l.ToggleControl,{label:(0,u.__)("Use Short Day Name","nova-blocks"),checked:g,onChange:function(){return y({useShortName:!g})}}),(0,r.createElement)(l.TextControl,{label:(0,u.__)("Time Format","nova-blocks"),value:c,help:_,onChange:function(e){return y({timeFormat:e})}}))))};t.default=c},167:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseContent=void 0;var o=o||{};o.util=o.util||{},o.util.Hours={padTimes:function(e){return e=(e=(e=(e=(e=(e=e.replace(/([^0-9]|^)([0-9]{3})([^0-9]|$)/g,"$10$2$3")).replace(/([^0-9]|^)([0-9]{3})([^0-9]|$)/g,"$10$2$3")).replace(/([^0-9]|^)([0-9]{2})([^0-9]|$)/g,"$1$200$3")).replace(/([^0-9]|^)([0-9]{2})([^0-9]|$)/g,"$1$200$3")).replace(/([^0-9]|^)([0-9])([^0-9]|$)/g,"$10$200$3")).replace(/([^0-9]|^)([0-9])([^0-9]|$)/g,"$10$200$3")},toTimeframe:function(e,t,n){return t>=n&&n<=240&&(n+=1440),{days:e,open:[{start:o.util.Hours.formatMinutes(t),end:o.util.Hours.formatMinutes(n)}]}},formatMinutes:function(e){var t=Math.floor(e/60),n=e%60,o=t%24!==t;return(t%=24)%10===t&&(t="0"+t),o&&(t="+"+t),n%10===n&&(n="0"+n),t+""+n},minutesAfterMidnight:function(e,t,n){var o=parseInt(e,10),r=void 0!==t?parseInt(t,10):0;return 12===o&&n&&(o-=12),n&&"p"===n[0]&&(o+=12),60*o+r}},o.util.HoursParser={parse:function(e){e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.toLowerCase()).replace(/\n/g," ; ")).replace(/(12|12:00)?midnight/g,"1200a")).replace(/(12|12:00)?noon/g,"1200p")).replace(/(open)?\s*24\s*hours?/g,"1200a-1200a")).replace(/\s*(and|,|\+|&)\s*/g,"&")).replace(/\s*(-|to|thru|through|till?|'till?|until)\s*/g,"-")).replace(/\s*a\.?m?\.?/g,"a")).replace(/\s*p\.?m?\.?/g,"p")).replace(/([0-9])(h|:|\.)([0-9])([^0-9]|$)/g,"$1$2$30$4")).replace(/([0-9]+)\s*(h|:|\.)\s*([0-9]{2})/g,"$1$3"),e=o.util.Hours.padTimes(e);var t=_.map(_.range(1,8),(function(t){var n=o.util.HoursParser.dayAliases(t),r=_.head(n),i=_.tail(n);return i.reverse(),r&&i&&_.each(i,(function(t){e=e.replace(new RegExp(t,"g"),r)})),r})),n="("+t.join("|")+")",r="([0-9][0-9])([0-9][0-9])\\s*([ap])?",i="([0-9]{4}\\s*[ap]?[^0-9]+[0-9]{4}\\s*[ap]?)",a=n+".*?"+i,u=i+".*?"+n,s=e.search(new RegExp(a)),l=e.search(new RegExp(u)),c=-1!==s&&s<=l||-1===l;if(c)for(var d=n+"&"+n+"[^&]*?"+i,p=new RegExp(d,"g"),f=0;f<t.length;++f)e=e.replace(p,"$1 $3; $2 $3; ");else for(d=i+"([^0-9]*?)"+n+"&"+n,p=new RegExp(d,"g"),f=0;f<t.length;++f)e=e.replace(p,"$1 $2 $3; $1 $4; ");var m=n+"[^a-z0-9]*"+n+"?",h=r+"[^0-9]*"+r,g=new RegExp(c?m+".*?"+h:h+".*?"+m,"g"),y=[];do{var v=g.exec(e);v&&y.push(v)}while(v);if(y.length<=0){var b=new RegExp("(@!ZfW#)?(@!ZfW#)?"+h).exec(e);b&&y.push(b)}var x=_.map(y,(function(e){var n=c?e[1]:e[7],r=c?e[2]:e[8],i=void 0!==n?t.indexOf(n):0,a=null;void 0!==r?void 0===n?i=t.indexOf(r):a=t.indexOf(r):void 0===n&&(a=7),null===a&&(a=i),a<i&&(a+=7);var u=_.map(_.range(i,a+1),(function(e){return e%7+1})),s=c?e[3]:e[1],l=c?e[4]:e[2],d=c?e[5]:e[3],p=c?e[6]:e[4],f=c?e[7]:e[5],m=c?e[8]:e[6],h=o.util.Hours.minutesAfterMidnight(s,l,d),g=o.util.Hours.minutesAfterMidnight(p,f,m);return o.util.Hours.toTimeframe(u,h,g)}));return x.length?{timeframes:x}:null},dayAliases:function(e){var t="";switch(e){case 1:t=["mondays","monday","monda","mond","mon","mo","m"];break;case 2:t=["tuesdays","tuesday","tuesd","tues","tue","tu"];break;case 3:t=["wednesdays","wednesday","wednes","wedne","wedn","wed","we","w"];break;case 4:t=["thursdays","thursday","thurs","thur","thu","th"];break;case 5:t=["fridays","friday","frida","frid","fri","fr","f"];break;case 6:t=["saturdays","saturday","satur","satu","sat","sa"];break;case 7:t=["sundays","sunday","sunda","sund","sun","su"];break;default:return[]}return _.sortBy(t,(function(e){return e.length}))}};t.parseContent=function(e){e=function(e){for(var t="",n=e.split("\n"),o=0;o<n.length;o++)n[o].includes("closed")||n[o].includes("Closed")||!n[o].match(/\d+/g)||(t+=n[o]+"\n");return t}(e);var t=o.util.HoursParser.parse(e);return JSON.stringify(t)}},168:function(e){e.exports=JSON.parse('{"text":{"type":"string","default":"Monday 10am - 3pm\\nTuesday to Friday 9 - 17\\nSat noon - 2am"},"parsedText":{"type":"string","default":"{\\"timeframes\\":[{\\"days\\":[1],\\"open\\":[{\\"start\\":\\"1000\\",\\"end\\":\\"2200\\"}]},{\\"days\\":[2,3,4,5],\\"open\\":[{\\"start\\":\\"0900\\",\\"end\\":\\"1700\\"}]},{\\"days\\":[6],\\"open\\":[{\\"start\\":\\"1200\\",\\"end\\":\\"+0200\\"}]}]}"},"timeFormat":{"type":"string","default":"g:ia"},"openHoursStyle":{"type":"string","default":"overview"},"openNote":{"type":"string","default":"It\'s {time} and we\'re Open until {today-closing-time}"},"closedNote":{"type":"string","default":"We\'re closed until {next-opening-day} at {next-opening-time}"},"closedLabel":{"type":"string","default":"Closed"},"compressOpeningHours":{"type":"boolean","default":false},"hideClosedDays":{"type":"boolean","default":false},"useShortName":{"type":"boolean","default":false}}')},17:function(e,t,n){var o=n(15);e.exports=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},19:function(e,t,n){var o=n(20),r=n(21),i=n(17),a=n(22);e.exports=function(e,t){return o(e)||r(e,t)||i(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},2:function(e,t){e.exports=window.novablocks.blockEditor},20:function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},21:function(e,t){e.exports=function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var o,r,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw r}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},22:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},3:function(e,t){e.exports=window.wp.i18n},5:function(e,t){e.exports=window.wp.blocks},6:function(e,t,n){(function(t){var n;n=function(){"use strict";var e=function(e){var t=e.id,n=e.viewBox,o=e.content;this.id=t,this.viewBox=n,this.content=o};function n(e,t){return e(t={exports:{}},t.exports),t.exports}e.prototype.stringify=function(){return this.content},e.prototype.toString=function(){return this.stringify()},e.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))},"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var o=n((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var r;return n&&!0===n.clone&&e(t)?o((r=t,Array.isArray(r)?[]:{}),t,n):t}function n(n,r,i){var a=n.slice();return r.forEach((function(r,u){void 0===a[u]?a[u]=t(r,i):e(r)?a[u]=o(n[u],r,i):-1===n.indexOf(r)&&a.push(t(r,i))})),a}function o(r,i,a){var u=Array.isArray(i),s=(a||{arrayMerge:n}).arrayMerge||n;return u?Array.isArray(r)?s(r,i,a):t(i,a):function(n,r,i){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],i)})),Object.keys(r).forEach((function(u){e(r[u])&&n[u]?a[u]=o(n[u],r[u],i):a[u]=t(r[u],i)})),a}(r,i,a)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return o(e,n,t)}))},o}()})),r=n((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),i=r.svg,a=r.xlink,u={};u[i.name]=i.uri,u[a.name]=a.uri;var s=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(o(u,t||{}))+">"+e+"</svg>"};return function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}(s(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(e)},e.exports=n()}).call(this,n(8))},7:function(e,t,n){(function(t){var n;n=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var n=e((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var r;return n&&!0===n.clone&&e(t)?o((r=t,Array.isArray(r)?[]:{}),t,n):t}function n(n,r,i){var a=n.slice();return r.forEach((function(r,u){void 0===a[u]?a[u]=t(r,i):e(r)?a[u]=o(n[u],r,i):-1===n.indexOf(r)&&a.push(t(r,i))})),a}function o(r,i,a){var u=Array.isArray(i),s=(a||{arrayMerge:n}).arrayMerge||n;return u?Array.isArray(r)?s(r,i,a):t(i,a):function(n,r,i){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],i)})),Object.keys(r).forEach((function(u){e(r[u])&&n[u]?a[u]=o(n[u],r[u],i):a[u]=t(r[u],i)})),a}(r,i,a)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return o(e,n,t)}))},o}()})),o=e((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),r=o.svg,i=o.xlink,a={};a[r.name]=r.uri,a[i.name]=i.uri;var u,s=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(n(a,t||{}))+">"+e+"</svg>"},l=o.svg,c=o.xlink,d={attrs:(u={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},u[l.name]=l.uri,u[c.name]=c.uri,u)},p=function(e){this.config=n(d,e||{}),this.symbols=[]};p.prototype.add=function(e){var t=this.symbols,n=this.find(e.id);return n?(t[t.indexOf(n)]=e,!1):(t.push(e),!0)},p.prototype.remove=function(e){var t=this.symbols,n=this.find(e);return!!n&&(t.splice(t.indexOf(n),1),n.destroy(),!0)},p.prototype.find=function(e){return this.symbols.filter((function(t){return t.id===e}))[0]||null},p.prototype.has=function(e){return null!==this.find(e)},p.prototype.stringify=function(){var e=this.config.attrs,t=this.symbols.map((function(e){return e.stringify()})).join("");return s(t,e)},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){this.symbols.forEach((function(e){return e.destroy()}))};var f=function(e){var t=e.id,n=e.viewBox,o=e.content;this.id=t,this.viewBox=n,this.content=o};f.prototype.stringify=function(){return this.content},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var m=function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n},h=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return m(s(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(f),g={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},y=function(e){return Array.prototype.slice.call(e,0)},_=function(){return/firefox/i.test(navigator.userAgent)},v=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},b=function(){return/edge/i.test(navigator.userAgent)},x=function(e){return(e||window.location.href).split("#")[0]},w=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",(function(t,n,o){var r,i,a;r=e,i={oldUrl:o,newUrl:n},(a=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,i),window.dispatchEvent(a)}))}])},E=function(e,t){return void 0===t&&(t="linearGradient, radialGradient, pattern, mask, clipPath"),y(e.querySelectorAll("symbol")).forEach((function(e){y(e.querySelectorAll(t)).forEach((function(t){e.parentNode.insertBefore(t,e)}))})),e},C=o.xlink.uri,S=/[{}|\\\^\[\]`"<>]/g;function k(e){return e.replace(S,(function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()}))}var O,M=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],A=M.map((function(e){return"["+e+"]"})).join(","),$=function(e,t,n,o){var r=k(n),i=k(o);(function(e,t){return y(e).reduce((function(e,n){if(!n.attributes)return e;var o=y(n.attributes),r=t?o.filter(t):o;return e.concat(r)}),[])})(e.querySelectorAll(A),(function(e){var t=e.localName,n=e.value;return-1!==M.indexOf(t)&&-1!==n.indexOf("url("+r)})).forEach((function(e){return e.value=e.value.replace(new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(e,t,n){y(e).forEach((function(e){var o=e.getAttribute("xlink:href");if(o&&0===o.indexOf(t)){var r=o.replace(t,n);e.setAttributeNS(C,"xlink:href",r)}}))}(t,r,i)},N="mount",j="symbol_mount",T=function(e){function t(t){var o=this;void 0===t&&(t={}),e.call(this,n(g,t));var r,i=(r=r||Object.create(null),{on:function(e,t){(r[e]||(r[e]=[])).push(t)},off:function(e,t){r[e]&&r[e].splice(r[e].indexOf(t)>>>0,1)},emit:function(e,t){(r[e]||[]).map((function(e){e(t)})),(r["*"]||[]).map((function(n){n(e,t)}))}});this._emitter=i,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(t),a.syncUrlsWithBaseTag){var u=document.getElementsByTagName("base")[0].getAttribute("href");i.on(N,(function(){return o.updateUrls("#",u)}))}var s=this._handleLocationChange.bind(this);this._handleLocationChange=s,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,s),a.locationChangeAngularEmitter&&w(a.locationChangeEvent),i.on(N,(function(e){a.moveGradientsOutsideSymbol&&E(e)})),i.on(j,(function(e){var t;a.moveGradientsOutsideSymbol&&E(e.parentNode),(v()||b())&&(t=[],y(e.querySelectorAll("style")).forEach((function(e){e.textContent+="",t.push(e)})))}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},t.prototype._autoConfigure=function(e){var t=this.config;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=_())},t.prototype._handleLocationChange=function(e){var t=e.detail,n=t.oldUrl,o=t.newUrl;this.updateUrls(n,o)},t.prototype.add=function(t){var n=e.prototype.add.call(this,t);return this.isMounted&&n&&(t.mount(this.node),this._emitter.emit(j,t.node)),n},t.prototype.attach=function(e){var t=this,n=this;if(n.isMounted)return n.node;var o="string"==typeof e?document.querySelector(e):e;return n.node=o,this.symbols.forEach((function(e){e.mount(n.node),t._emitter.emit(j,e.node)})),y(o.querySelectorAll("symbol")).forEach((function(e){var t=h.createFromExistingNode(e);t.node=e,n.add(t)})),this._emitter.emit(N,o),o},t.prototype.destroy=function(){var e=this.config,t=this.symbols,n=this._emitter;t.forEach((function(e){return e.destroy()})),n.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},t.prototype.mount=function(e,t){if(void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1),this.isMounted)return this.node;var n="string"==typeof e?document.querySelector(e):e,o=this.render();return this.node=o,t&&n.childNodes[0]?n.insertBefore(o,n.childNodes[0]):n.appendChild(o),this._emitter.emit(N,o),o},t.prototype.render=function(){return m(this.stringify())},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},t.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return $(this.node,n,x(e)+"#",x(t)+"#"),!0},Object.defineProperties(t.prototype,o),t}(p),P=e((function(e){var t,n,o,r,i;e.exports=(n=[],o=document,r=o.documentElement.doScroll,(i=(r?/^loaded|^c/:/^loaded|^i|^c/).test(o.readyState))||o.addEventListener("DOMContentLoaded",t=function(){for(o.removeEventListener("DOMContentLoaded",t),i=1;t=n.shift();)t()}),function(e){i?setTimeout(e,0):n.push(e)})}));window.__SVG_SPRITE__?O=window.__SVG_SPRITE__:(O=new T({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=O);var B=function(){var e=document.getElementById("__SVG_SPRITE_NODE__");e?O.attach(e):O.mount(document.body,!0)};return document.body?B():P(B),O},e.exports=n()}).call(this,n(8))},8:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},9:function(e,t){e.exports=window.wp.components}});1 !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=161)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},15:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o},e.exports.default=e.exports,e.exports.__esModule=!0},16:function(e,t,n){var o=n(15);e.exports=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},161:function(e,t,n){"use strict";var o=n(0),r=o(n(162)),i=o(n(163)),a=o(n(167)),u=n(3),s=n(5),l=n(2);(0,s.registerBlockType)("novablocks/openhours",{title:(0,u.__)("OpenHours","nova-blocks"),description:(0,u.__)("Display Opening Hours for any kind of venue.","nova-blocks"),category:"nova-blocks",icon:(0,l.getSvg)(r.default),attributes:a.default,supports:{html:!1},edit:i.default,save:function(){return!1}})},162:function(e,t,n){"use strict";n.r(t);var o=n(6),r=n.n(o),i=n(7),a=n.n(i),u=new r.a({id:"block-library-openhours/icon",use:"block-library-openhours/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-openhours/icon"><g clip-path="url(#block-library-openhours/icon_a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zM6.636 7.636l5.168 5.168 4.66-2.69a1 1 0 0 1 1 1.732l-5.298 3.058a1 1 0 0 1-1.18-.133 1.149 1.149 0 0 1-.208-.165L5.222 9.05a1 1 0 1 1 1.414-1.414z" fill="#6565F2" /></g><defs><clipPath id="block-library-openhours/icon_a"><path fill="#fff" d="M0 0h24v24H0z" /></clipPath></defs></symbol>'});a.a.add(u);t.default=u},163:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1),i=o(n(164)),a=o(n(165)),u=function(e){return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.default,e),(0,r.createElement)(i.default,e))};t.default=u},164:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),r=function(e){return(0,o.createElement)(wp.serverSideRender,{block:"novablocks/openhours",attributes:e.attributes})};t.default=r},165:function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1),i=o(n(19)),a=n(2),u=n(3),s=n(166),l=n(9),c=function(e){var t=e.attributes,n=t.openHoursStyle,o=t.text,c=t.timeFormat,d=t.openNote,p=t.closedNote,f=t.closedLabel,m=t.compressOpeningHours,h=t.hideClosedDays,g=t.useShortName,y=e.setAttributes,_=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.ExternalLink,{href:"https://wordpress.org/support/article/formatting-date-and-time/"},(0,u.__)("Learn more about time formatting","nova-blocks")));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.ControlsSection,{id:"setup",label:(0,u.__)("Setup","nova-blocks")},(0,r.createElement)(a.ControlsTab,{label:(0,u.__)("Settings","nova-blocks")},(0,r.createElement)(l.TextareaControl,{key:"openhours-schedule-controls",label:(0,u.__)("Write your opening hours in a simple human readable format","nova-blocks"),value:o,className:"original-text",onChange:function(e){return y({text:e,parsedText:(0,s.parseContent)(e)})}}),(0,r.createElement)("div",{className:"components-base-control__label novablocks__label novablocks__example novablocks__example--multi"},(0,u.__)("Monday 10am - 3pm\nTuesday to Friday 9 - 17\nSat noon - 2am","nova-blocks")))),(0,r.createElement)(a.ControlsSection,{id:"display",label:(0,u.__)("Display","nova-blocks")},(0,r.createElement)(a.ControlsTab,{label:(0,u.__)("Settings","nova-blocks")},(0,r.createElement)(l.RadioControl,{key:"openhours-display-controls",label:(0,u.__)("Displaying the opening hours","nova-blocks"),value:n,selected:n,options:[{label:(0,u.__)("Overview","nova-blocks"),value:"overview"},{label:(0,u.__)("Current Status","nova-blocks"),value:"status"}],onChange:function(e){return y({openHoursStyle:e})}}),"status"===n&&(0,r.createElement)("div",{className:"components-base-control__label novablocks__label"},(0,u.__)('Write the "Open" and "Closed" messages using the tags displayed below.',"nova-blocks")),"status"===n&&(0,r.createElement)((function(){var e=(0,r.useState)(!1),t=(0,i.default)(e,2),n=t[0],o=t[1];return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.Button,{className:"novablocks__label",isLink:!0,onClick:function(){return o(!0)}},"See available tags"),n&&(0,r.createElement)(l.Modal,{onRequestClose:function(){return o(!1)},shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,className:"novablocks-openhours__modal"}))}),null),"status"===n&&(0,r.createElement)(l.TextControl,{label:(0,u.__)("Open Note","nova-blocks"),value:d,onChange:function(e){return y({openNote:e})}}),"status"===n&&(0,r.createElement)("div",{className:"components-base-control__label novablocks__label novablocks__example"},(0,u.__)("It's {time} and we're Open until {today-closing-time}.","nova-blocks")),"status"===n&&(0,r.createElement)("div",{className:"components-base-control__label novablocks__label novablocks__example"},(0,u.__)("{time} - It's today, we're Open.","nova-blocks")),"status"===n&&(0,r.createElement)(l.TextControl,{label:(0,u.__)("Closed Note","nova-blocks"),value:p,onChange:function(e){return y({closedNote:e})}}),"status"===n&&(0,r.createElement)("div",{className:"components-base-control__label novablocks__label novablocks__example"},(0,u.__)("We're closed until {next-opening-day} at {next-opening-time}.","nova-blocks")),"status"===n&&(0,r.createElement)("div",{className:"components-base-control__label novablocks__label novablocks__example"},(0,u.__)("{time} - it's closed now.","nova-blocks")),"overview"===n&&(0,r.createElement)(l.TextControl,{label:(0,u.__)("Closed Label","nova-blocks"),value:f,onChange:function(e){return y({closedLabel:e})}}),"overview"===n&&(0,r.createElement)(l.ToggleControl,{label:(0,u.__)("Compress Opening Hours","nova-blocks"),checked:m,onChange:function(){return y({compressOpeningHours:!m})}}),"overview"===n&&(0,r.createElement)(l.ToggleControl,{label:(0,u.__)("Hide Closed Days","nova-blocks"),checked:h,onChange:function(){return y({hideClosedDays:!h})}}),"overview"===n&&(0,r.createElement)(l.ToggleControl,{label:(0,u.__)("Use Short Day Name","nova-blocks"),checked:g,onChange:function(){return y({useShortName:!g})}}),(0,r.createElement)(l.TextControl,{label:(0,u.__)("Time Format","nova-blocks"),value:c,help:_,onChange:function(e){return y({timeFormat:e})}}))))};t.default=c},166:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseContent=void 0;var o=o||{};o.util=o.util||{},o.util.Hours={padTimes:function(e){return e=(e=(e=(e=(e=(e=e.replace(/([^0-9]|^)([0-9]{3})([^0-9]|$)/g,"$10$2$3")).replace(/([^0-9]|^)([0-9]{3})([^0-9]|$)/g,"$10$2$3")).replace(/([^0-9]|^)([0-9]{2})([^0-9]|$)/g,"$1$200$3")).replace(/([^0-9]|^)([0-9]{2})([^0-9]|$)/g,"$1$200$3")).replace(/([^0-9]|^)([0-9])([^0-9]|$)/g,"$10$200$3")).replace(/([^0-9]|^)([0-9])([^0-9]|$)/g,"$10$200$3")},toTimeframe:function(e,t,n){return t>=n&&n<=240&&(n+=1440),{days:e,open:[{start:o.util.Hours.formatMinutes(t),end:o.util.Hours.formatMinutes(n)}]}},formatMinutes:function(e){var t=Math.floor(e/60),n=e%60,o=t%24!==t;return(t%=24)%10===t&&(t="0"+t),o&&(t="+"+t),n%10===n&&(n="0"+n),t+""+n},minutesAfterMidnight:function(e,t,n){var o=parseInt(e,10),r=void 0!==t?parseInt(t,10):0;return 12===o&&n&&(o-=12),n&&"p"===n[0]&&(o+=12),60*o+r}},o.util.HoursParser={parse:function(e){e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.toLowerCase()).replace(/\n/g," ; ")).replace(/(12|12:00)?midnight/g,"1200a")).replace(/(12|12:00)?noon/g,"1200p")).replace(/(open)?\s*24\s*hours?/g,"1200a-1200a")).replace(/\s*(and|,|\+|&)\s*/g,"&")).replace(/\s*(-|to|thru|through|till?|'till?|until)\s*/g,"-")).replace(/\s*a\.?m?\.?/g,"a")).replace(/\s*p\.?m?\.?/g,"p")).replace(/([0-9])(h|:|\.)([0-9])([^0-9]|$)/g,"$1$2$30$4")).replace(/([0-9]+)\s*(h|:|\.)\s*([0-9]{2})/g,"$1$3"),e=o.util.Hours.padTimes(e);var t=_.map(_.range(1,8),(function(t){var n=o.util.HoursParser.dayAliases(t),r=_.head(n),i=_.tail(n);return i.reverse(),r&&i&&_.each(i,(function(t){e=e.replace(new RegExp(t,"g"),r)})),r})),n="("+t.join("|")+")",r="([0-9][0-9])([0-9][0-9])\\s*([ap])?",i="([0-9]{4}\\s*[ap]?[^0-9]+[0-9]{4}\\s*[ap]?)",a=n+".*?"+i,u=i+".*?"+n,s=e.search(new RegExp(a)),l=e.search(new RegExp(u)),c=-1!==s&&s<=l||-1===l;if(c)for(var d=n+"&"+n+"[^&]*?"+i,p=new RegExp(d,"g"),f=0;f<t.length;++f)e=e.replace(p,"$1 $3; $2 $3; ");else for(d=i+"([^0-9]*?)"+n+"&"+n,p=new RegExp(d,"g"),f=0;f<t.length;++f)e=e.replace(p,"$1 $2 $3; $1 $4; ");var m=n+"[^a-z0-9]*"+n+"?",h=r+"[^0-9]*"+r,g=new RegExp(c?m+".*?"+h:h+".*?"+m,"g"),y=[];do{var v=g.exec(e);v&&y.push(v)}while(v);if(y.length<=0){var b=new RegExp("(@!ZfW#)?(@!ZfW#)?"+h).exec(e);b&&y.push(b)}var x=_.map(y,(function(e){var n=c?e[1]:e[7],r=c?e[2]:e[8],i=void 0!==n?t.indexOf(n):0,a=null;void 0!==r?void 0===n?i=t.indexOf(r):a=t.indexOf(r):void 0===n&&(a=7),null===a&&(a=i),a<i&&(a+=7);var u=_.map(_.range(i,a+1),(function(e){return e%7+1})),s=c?e[3]:e[1],l=c?e[4]:e[2],d=c?e[5]:e[3],p=c?e[6]:e[4],f=c?e[7]:e[5],m=c?e[8]:e[6],h=o.util.Hours.minutesAfterMidnight(s,l,d),g=o.util.Hours.minutesAfterMidnight(p,f,m);return o.util.Hours.toTimeframe(u,h,g)}));return x.length?{timeframes:x}:null},dayAliases:function(e){var t="";switch(e){case 1:t=["mondays","monday","monda","mond","mon","mo","m"];break;case 2:t=["tuesdays","tuesday","tuesd","tues","tue","tu"];break;case 3:t=["wednesdays","wednesday","wednes","wedne","wedn","wed","we","w"];break;case 4:t=["thursdays","thursday","thurs","thur","thu","th"];break;case 5:t=["fridays","friday","frida","frid","fri","fr","f"];break;case 6:t=["saturdays","saturday","satur","satu","sat","sa"];break;case 7:t=["sundays","sunday","sunda","sund","sun","su"];break;default:return[]}return _.sortBy(t,(function(e){return e.length}))}};t.parseContent=function(e){e=function(e){for(var t="",n=e.split("\n"),o=0;o<n.length;o++)n[o].includes("closed")||n[o].includes("Closed")||!n[o].match(/\d+/g)||(t+=n[o]+"\n");return t}(e);var t=o.util.HoursParser.parse(e);return JSON.stringify(t)}},167:function(e){e.exports=JSON.parse('{"text":{"type":"string","default":"Monday 10am - 3pm\\nTuesday to Friday 9 - 17\\nSat noon - 2am"},"parsedText":{"type":"string","default":"{\\"timeframes\\":[{\\"days\\":[1],\\"open\\":[{\\"start\\":\\"1000\\",\\"end\\":\\"2200\\"}]},{\\"days\\":[2,3,4,5],\\"open\\":[{\\"start\\":\\"0900\\",\\"end\\":\\"1700\\"}]},{\\"days\\":[6],\\"open\\":[{\\"start\\":\\"1200\\",\\"end\\":\\"+0200\\"}]}]}"},"timeFormat":{"type":"string","default":"g:ia"},"openHoursStyle":{"type":"string","default":"overview"},"openNote":{"type":"string","default":"It\'s {time} and we\'re Open until {today-closing-time}"},"closedNote":{"type":"string","default":"We\'re closed until {next-opening-day} at {next-opening-time}"},"closedLabel":{"type":"string","default":"Closed"},"compressOpeningHours":{"type":"boolean","default":false},"hideClosedDays":{"type":"boolean","default":false},"useShortName":{"type":"boolean","default":false}}')},19:function(e,t,n){var o=n(20),r=n(21),i=n(16),a=n(22);e.exports=function(e,t){return o(e)||r(e,t)||i(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},2:function(e,t){e.exports=window.novablocks.blockEditor},20:function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},21:function(e,t){e.exports=function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var o,r,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw r}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},22:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},3:function(e,t){e.exports=window.wp.i18n},5:function(e,t){e.exports=window.wp.blocks},6:function(e,t,n){(function(t){var n;n=function(){"use strict";var e=function(e){var t=e.id,n=e.viewBox,o=e.content;this.id=t,this.viewBox=n,this.content=o};function n(e,t){return e(t={exports:{}},t.exports),t.exports}e.prototype.stringify=function(){return this.content},e.prototype.toString=function(){return this.stringify()},e.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))},"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var o=n((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var r;return n&&!0===n.clone&&e(t)?o((r=t,Array.isArray(r)?[]:{}),t,n):t}function n(n,r,i){var a=n.slice();return r.forEach((function(r,u){void 0===a[u]?a[u]=t(r,i):e(r)?a[u]=o(n[u],r,i):-1===n.indexOf(r)&&a.push(t(r,i))})),a}function o(r,i,a){var u=Array.isArray(i),s=(a||{arrayMerge:n}).arrayMerge||n;return u?Array.isArray(r)?s(r,i,a):t(i,a):function(n,r,i){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],i)})),Object.keys(r).forEach((function(u){e(r[u])&&n[u]?a[u]=o(n[u],r[u],i):a[u]=t(r[u],i)})),a}(r,i,a)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return o(e,n,t)}))},o}()})),r=n((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),i=r.svg,a=r.xlink,u={};u[i.name]=i.uri,u[a.name]=a.uri;var s=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(o(u,t||{}))+">"+e+"</svg>"};return function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}(s(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(e)},e.exports=n()}).call(this,n(8))},7:function(e,t,n){(function(t){var n;n=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var n=e((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var r;return n&&!0===n.clone&&e(t)?o((r=t,Array.isArray(r)?[]:{}),t,n):t}function n(n,r,i){var a=n.slice();return r.forEach((function(r,u){void 0===a[u]?a[u]=t(r,i):e(r)?a[u]=o(n[u],r,i):-1===n.indexOf(r)&&a.push(t(r,i))})),a}function o(r,i,a){var u=Array.isArray(i),s=(a||{arrayMerge:n}).arrayMerge||n;return u?Array.isArray(r)?s(r,i,a):t(i,a):function(n,r,i){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],i)})),Object.keys(r).forEach((function(u){e(r[u])&&n[u]?a[u]=o(n[u],r[u],i):a[u]=t(r[u],i)})),a}(r,i,a)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return o(e,n,t)}))},o}()})),o=e((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),r=o.svg,i=o.xlink,a={};a[r.name]=r.uri,a[i.name]=i.uri;var u,s=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(n(a,t||{}))+">"+e+"</svg>"},l=o.svg,c=o.xlink,d={attrs:(u={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},u[l.name]=l.uri,u[c.name]=c.uri,u)},p=function(e){this.config=n(d,e||{}),this.symbols=[]};p.prototype.add=function(e){var t=this.symbols,n=this.find(e.id);return n?(t[t.indexOf(n)]=e,!1):(t.push(e),!0)},p.prototype.remove=function(e){var t=this.symbols,n=this.find(e);return!!n&&(t.splice(t.indexOf(n),1),n.destroy(),!0)},p.prototype.find=function(e){return this.symbols.filter((function(t){return t.id===e}))[0]||null},p.prototype.has=function(e){return null!==this.find(e)},p.prototype.stringify=function(){var e=this.config.attrs,t=this.symbols.map((function(e){return e.stringify()})).join("");return s(t,e)},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){this.symbols.forEach((function(e){return e.destroy()}))};var f=function(e){var t=e.id,n=e.viewBox,o=e.content;this.id=t,this.viewBox=n,this.content=o};f.prototype.stringify=function(){return this.content},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var m=function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n},h=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return m(s(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(f),g={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},y=function(e){return Array.prototype.slice.call(e,0)},_=function(){return/firefox/i.test(navigator.userAgent)},v=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},b=function(){return/edge/i.test(navigator.userAgent)},x=function(e){return(e||window.location.href).split("#")[0]},w=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",(function(t,n,o){var r,i,a;r=e,i={oldUrl:o,newUrl:n},(a=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,i),window.dispatchEvent(a)}))}])},E=function(e,t){return void 0===t&&(t="linearGradient, radialGradient, pattern, mask, clipPath"),y(e.querySelectorAll("symbol")).forEach((function(e){y(e.querySelectorAll(t)).forEach((function(t){e.parentNode.insertBefore(t,e)}))})),e},C=o.xlink.uri,S=/[{}|\\\^\[\]`"<>]/g;function k(e){return e.replace(S,(function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()}))}var O,M=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],A=M.map((function(e){return"["+e+"]"})).join(","),$=function(e,t,n,o){var r=k(n),i=k(o);(function(e,t){return y(e).reduce((function(e,n){if(!n.attributes)return e;var o=y(n.attributes),r=t?o.filter(t):o;return e.concat(r)}),[])})(e.querySelectorAll(A),(function(e){var t=e.localName,n=e.value;return-1!==M.indexOf(t)&&-1!==n.indexOf("url("+r)})).forEach((function(e){return e.value=e.value.replace(new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(e,t,n){y(e).forEach((function(e){var o=e.getAttribute("xlink:href");if(o&&0===o.indexOf(t)){var r=o.replace(t,n);e.setAttributeNS(C,"xlink:href",r)}}))}(t,r,i)},N="mount",j="symbol_mount",T=function(e){function t(t){var o=this;void 0===t&&(t={}),e.call(this,n(g,t));var r,i=(r=r||Object.create(null),{on:function(e,t){(r[e]||(r[e]=[])).push(t)},off:function(e,t){r[e]&&r[e].splice(r[e].indexOf(t)>>>0,1)},emit:function(e,t){(r[e]||[]).map((function(e){e(t)})),(r["*"]||[]).map((function(n){n(e,t)}))}});this._emitter=i,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(t),a.syncUrlsWithBaseTag){var u=document.getElementsByTagName("base")[0].getAttribute("href");i.on(N,(function(){return o.updateUrls("#",u)}))}var s=this._handleLocationChange.bind(this);this._handleLocationChange=s,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,s),a.locationChangeAngularEmitter&&w(a.locationChangeEvent),i.on(N,(function(e){a.moveGradientsOutsideSymbol&&E(e)})),i.on(j,(function(e){var t;a.moveGradientsOutsideSymbol&&E(e.parentNode),(v()||b())&&(t=[],y(e.querySelectorAll("style")).forEach((function(e){e.textContent+="",t.push(e)})))}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},t.prototype._autoConfigure=function(e){var t=this.config;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=_())},t.prototype._handleLocationChange=function(e){var t=e.detail,n=t.oldUrl,o=t.newUrl;this.updateUrls(n,o)},t.prototype.add=function(t){var n=e.prototype.add.call(this,t);return this.isMounted&&n&&(t.mount(this.node),this._emitter.emit(j,t.node)),n},t.prototype.attach=function(e){var t=this,n=this;if(n.isMounted)return n.node;var o="string"==typeof e?document.querySelector(e):e;return n.node=o,this.symbols.forEach((function(e){e.mount(n.node),t._emitter.emit(j,e.node)})),y(o.querySelectorAll("symbol")).forEach((function(e){var t=h.createFromExistingNode(e);t.node=e,n.add(t)})),this._emitter.emit(N,o),o},t.prototype.destroy=function(){var e=this.config,t=this.symbols,n=this._emitter;t.forEach((function(e){return e.destroy()})),n.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},t.prototype.mount=function(e,t){if(void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1),this.isMounted)return this.node;var n="string"==typeof e?document.querySelector(e):e,o=this.render();return this.node=o,t&&n.childNodes[0]?n.insertBefore(o,n.childNodes[0]):n.appendChild(o),this._emitter.emit(N,o),o},t.prototype.render=function(){return m(this.stringify())},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},t.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return $(this.node,n,x(e)+"#",x(t)+"#"),!0},Object.defineProperties(t.prototype,o),t}(p),P=e((function(e){var t,n,o,r,i;e.exports=(n=[],o=document,r=o.documentElement.doScroll,(i=(r?/^loaded|^c/:/^loaded|^i|^c/).test(o.readyState))||o.addEventListener("DOMContentLoaded",t=function(){for(o.removeEventListener("DOMContentLoaded",t),i=1;t=n.shift();)t()}),function(e){i?setTimeout(e,0):n.push(e)})}));window.__SVG_SPRITE__?O=window.__SVG_SPRITE__:(O=new T({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=O);var B=function(){var e=document.getElementById("__SVG_SPRITE_NODE__");e?O.attach(e):O.mount(document.body,!0)};return document.body?B():P(B),O},e.exports=n()}).call(this,n(8))},8:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},9:function(e,t){e.exports=window.wp.components}}); -
nova-blocks/trunk/build/block-library/blocks/opentable/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks-utils', 'wp-blocks', 'wp-components', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => '1 1382fbdc8dc12514c3a0351a7ed15d2');1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks-utils', 'wp-blocks', 'wp-components', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => '1382ca170d7b1c505fa4805346a0c73b'); -
nova-blocks/trunk/build/block-library/blocks/opentable/index.js
r2738702 r2744078 1 !function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=16 9)}({0:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},1:function(t,e){t.exports=window.wp.element},10:function(t,e){t.exports=window.novablocks.utils},11:function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.default=t.exports,t.exports.__esModule=!0},12:function(t,e,n){var o;1 !function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=168)}({0:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},1:function(t,e){t.exports=window.wp.element},10:function(t,e){t.exports=window.novablocks.utils},11:function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.default=t.exports,t.exports.__esModule=!0},12:function(t,e,n){var o; 2 2 /*! 3 3 Copyright (c) 2017 Jed Watson. 4 4 Licensed under the MIT License (MIT), see 5 5 http://jedwatson.github.io/classnames 6 */!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var t=[],e=0;e<arguments.length;e++){var o=arguments[e];if(o){var i=typeof o;if("string"===i||"number"===i)t.push(o);else if(Array.isArray(o)&&o.length){var u=r.apply(null,o);u&&t.push(u)}else if("object"===i)for(var a in o)n.call(o,a)&&o[a]&&t.push(a)}}return t.join(" ")}t.exports?(r.default=r,t.exports=r):void 0===(o=function(){return r}.apply(e,[]))||(t.exports=o)}()},16 :function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},169:function(t,e,n){"use strict";var o=n(0),r=o(n(11)),i=n(3),u=n(5),a=n(25),l=o(n(170)),s=o(n(171)),c=o(n(175)),d=n(2);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){(0,r.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var y={paletteVariation:{type:"number",default:10},colorSignal:{type:"number",default:3}};(0,u.registerBlockType)("novablocks/opentable",{title:(0,i.__)("OpenTable Reservation","nova-blocks"),description:(0,i.__)("Add OpenTable online reservation booking to your site.","nova-blocks"),category:"nova-blocks",icon:(0,d.getSvg)(l.default),keywords:[(0,i.__)("reservations","nova-blocks"),(0,i.__)("bookings","nova-blocks")],attributes:{restaurantId:{type:"number",default:1},language:{type:"string",default:"en-US"},showOpenTableLogo:{type:"boolean",default:!0},layoutForm:{type:"string",default:"wide"}},supports:{html:!1,novaBlocks:{colorSignal:!0}},edit:s.default,save:c.default});(0,a.addFilter)("blocks.registerBlockType","novablocks/opentable/color-signal-attributes-overwrite",(function(t){return"novablocks/opentable"!==t.name?t:p(p({},t),{},{attributes:p(p({},t.attributes),y)})}),20)},170:function(t,e,n){"use strict";n.r(e);var o=n(6),r=n.n(o),i=n(7),u=n.n(i),a=new r.a({id:"block-library-opentable/icon",use:"block-library-opentable/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-opentable/icon"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0ZM8.855 12.4c0-3.31 2.678-6 6-6 3.309 0 5.987 2.69 6 6 0 3.31-2.691 6-6 6-3.31 0-6-2.69-6-6Zm4.496 0c0 .834.67 1.503 1.504 1.503.82 0 1.49-.67 1.503-1.503 0-.834-.67-1.503-1.503-1.503-.834 0-1.504.67-1.504 1.503Zm-7.528-1.503c-.834 0-1.503.67-1.503 1.503 0 .834.67 1.503 1.503 1.503.834 0 1.503-.67 1.503-1.503 0-.834-.67-1.503-1.503-1.503Z" fill="#6565F2" /></symbol>'});u.a.add(a);e.default=a},171:function(t,e,n){"use strict";var o=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(1),i=o(n(172)),u=o(n(174)),a=function(t){return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.default,t),(0,r.createElement)(u.default,t))};e.default=a},172:function(t,e,n){"use strict";var o=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(1),i=o(n(16)),u=o(n(18)),a=o(n(27)),l=o(n(28)),s=o(n(24)),c=o(n(12)),d=o(n(173)),f=n(9),p=n(10);function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=(0,s.default)(t);if(e){var r=(0,s.default)(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return(0,l.default)(this,n)}}var v=function(t){return t&&'<link rel="stylesheet" href="'.concat(t,'" type="text/css"/>')||""},h=function(t){(0,a.default)(n,t);var e=y(n);function n(){return(0,i.default)(this,n),e.apply(this,arguments)}return(0,u.default)(n,[{key:"shouldComponentUpdate",value:function(t){return!(0,d.default)(t.attributes,this.props.attributes)}},{key:"render",value:function(){var t,e,n,o,i,u,a,l,s=this.props,d=s.attributes,y=d.restaurantId,h=d.language,_=d.layoutForm,g=d.showOpenTableLogo,b=s.className,m=(0,c.default)(b,"novablocks-opentable","novablocks-opentable__".concat(_),{"has-opentable-logo":!0===g},(0,p.getColorSignalClassnames)(this.props.attributes,!0)),x='<div class="novablocks-opentable '.concat(m,'">')+"<script type='text/javascript' src='//www.opentable.com/widget/reservation/loader?rid=".concat(y,"&type=standard&theme=").concat(_,"&iframe=false&overlay=false&domain=com&lang=").concat(h,"'><\/script>")+v(null===(t=window)||void 0===t||null===(e=t.styleManager)||void 0===e?void 0:e.colorsCustomPropertiesUrl)+((null===(n=window)||void 0===n||null===(o=n.styleManager)||void 0===o?void 0:o.frontendOutput)&&"<style>".concat(window.styleManager.frontendOutput,"</style>")||"")+v(null===(i=novablocks_urls)||void 0===i?void 0:i.novablocks_core_frontend_stylesheet)+v(null===(u=novablocks_urls)||void 0===u?void 0:u.novablocks_components_frontend_stylesheet)+v(null===(a=novablocks_urls)||void 0===a?void 0:a.novablocks_opentable_frontend_stylesheet)+v(null===(l=novablocks_urls)||void 0===l?void 0:l.novablocks_opentable_editor_stylesheet)+"</div>";return(0,r.createElement)((function(t){return(0,r.createElement)(f.SandBox,t)}),{html:x,title:"Sandbox",type:"embed"})}}]),n}(r.Component);e.default=h},173:function(t,e){t.exports=window.wp.isShallowEqual},174:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(1),r=n(3),i=n(9),u=n(2),a=function(t){var e=t.attributes,n=e.restaurantId,a=e.language,l=e.layoutForm,s=e.showOpenTableLogo,c=t.setAttributes;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.ControlsSection,{id:"setup",label:(0,r.__)("Setup","nova-blocks")},(0,o.createElement)(u.ControlsTab,{label:(0,r.__)("Settings","nova-blocks")},(0,o.createElement)(i.TextControl,{key:"opentable-restaurant-id-controls",label:(0,r.__)("Restaurant ID","nova-blocks"),placeholder:(0,r.__)("1","nova-blocks"),help:(0,r.__)("You can find your restaurant ID on the OpenTable website.","nova-blocks"),type:"number",value:n,onChange:function(t){return c({restaurantId:t})}}),(0,o.createElement)(i.SelectControl,{key:"opentable-language-controls",label:(0,r.__)("Language","nova-blocks"),value:a,options:[{label:(0,r.__)("English-EN","nova-blocks"),value:"en-US"},{label:(0,r.__)("French-CA","nova-blocks"),value:"fr-CA"},{label:(0,r.__)("Deutsch-DE","nova-blocks"),value:"de-DE"},{label:(0,r.__)("Spanish-MX","nova-blocks"),value:"es-MX"},{label:(0,r.__)("Japanese-JP","nova-blocks"),value:"ja-JP"},{label:(0,r.__)("Dutch-NL","nova-blocks"),value:"nl-NL"},{label:(0,r.__)("Italian-IT","nova-blocks"),value:"it-IT"}],onChange:function(t){return c({language:t})}}))),(0,o.createElement)(u.ControlsSection,{id:"layout",label:(0,r.__)("Layout","nova-blocks")},(0,o.createElement)(u.ControlsTab,{label:(0,r.__)("Customize","nova-blocks")},(0,o.createElement)(i.RadioControl,{key:"opentable-layout-controls",label:(0,r.__)("Layout","nova-blocks"),value:l,selected:l,options:[{label:(0,r.__)("Horizontal","nova-blocks"),value:"wide"},{label:(0,r.__)("Vertical","nova-blocks"),value:"standard"}],onChange:function(t){return c({layoutForm:t})}}),(0,o.createElement)(i.ToggleControl,{key:"opentable-logo-controls",label:(0,r.__)("Show OpenTable Logo","nova-blocks"),checked:s,onChange:function(){return c({showOpenTableLogo:!s})}}))))};e.default=a},175:function(t,e,n){"use strict";var o=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(1),i=o(n(12)),u=n(10),a=function(t){var e=t.attributes,n=t.className,o=e.restaurantId,a=e.language,l=e.showOpenTableLogo,s=e.layoutForm,c="//www.opentable.com/widget/reservation/loader?rid=".concat(o,"&domain=com&type=standard&theme=").concat(s,"&iframe=false&overlay=false&domain=com&lang=").concat(a),d=(0,i.default)(n,"novablocks-opentable","novablocks-opentable__".concat(s),{"has-opentable-logo":!0===l},(0,u.getColorSignalClassnames)(e,!0));return(0,r.createElement)("div",{className:d},(0,r.createElement)("script",{type:"text/javascript",src:c}))};e.default=a},18:function(t,e){function n(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}t.exports=function(t,e,o){return e&&n(t.prototype,e),o&&n(t,o),t},t.exports.default=t.exports,t.exports.__esModule=!0},2:function(t,e){t.exports=window.novablocks.blockEditor},23:function(t,e){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=n=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),n(e)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},24:function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.default=t.exports,t.exports.__esModule=!0,n(e)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},25:function(t,e){t.exports=window.wp.hooks},27:function(t,e,n){var o=n(31);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)},t.exports.default=t.exports,t.exports.__esModule=!0},28:function(t,e,n){var o=n(23).default,r=n(30);t.exports=function(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?r(t):e},t.exports.default=t.exports,t.exports.__esModule=!0},3:function(t,e){t.exports=window.wp.i18n},30:function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.default=t.exports,t.exports.__esModule=!0},31:function(t,e){function n(e,o){return t.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},t.exports.default=t.exports,t.exports.__esModule=!0,n(e,o)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},5:function(t,e){t.exports=window.wp.blocks},6:function(t,e,n){(function(e){var n;n=function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,o=t.content;this.id=e,this.viewBox=n,this.content=o};function n(t,e){return t(e={exports:{}},e.exports),e.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))},"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var o=n((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var r;return n&&!0===n.clone&&t(e)?o((r=e,Array.isArray(r)?[]:{}),e,n):e}function n(n,r,i){var u=n.slice();return r.forEach((function(r,a){void 0===u[a]?u[a]=e(r,i):t(r)?u[a]=o(n[a],r,i):-1===n.indexOf(r)&&u.push(e(r,i))})),u}function o(r,i,u){var a=Array.isArray(i),l=(u||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(r)?l(r,i,u):e(i,u):function(n,r,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(r).forEach((function(a){t(r[a])&&n[a]?u[a]=o(n[a],r[a],i):u[a]=e(r[a],i)})),u}(r,i,u)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),r=n((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=r.svg,u=r.xlink,a={};a[i.name]=i.uri,a[u.name]=u.uri;var l=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(o(a,e||{}))+">"+t+"</svg>"};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(l(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)},t.exports=n()}).call(this,n(8))},7:function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=t((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var r;return n&&!0===n.clone&&t(e)?o((r=e,Array.isArray(r)?[]:{}),e,n):e}function n(n,r,i){var u=n.slice();return r.forEach((function(r,a){void 0===u[a]?u[a]=e(r,i):t(r)?u[a]=o(n[a],r,i):-1===n.indexOf(r)&&u.push(e(r,i))})),u}function o(r,i,u){var a=Array.isArray(i),l=(u||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(r)?l(r,i,u):e(i,u):function(n,r,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(r).forEach((function(a){t(r[a])&&n[a]?u[a]=o(n[a],r[a],i):u[a]=e(r[a],i)})),u}(r,i,u)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),o=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),r=o.svg,i=o.xlink,u={};u[r.name]=r.uri,u[i.name]=i.uri;var a,l=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(n(u,e||{}))+">"+t+"</svg>"},s=o.svg,c=o.xlink,d={attrs:(a={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},a[s.name]=s.uri,a[c.name]=c.uri,a)},f=function(t){this.config=n(d,t||{}),this.symbols=[]};f.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},f.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},f.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},f.prototype.has=function(t){return null!==this.find(t)},f.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map((function(t){return t.stringify()})).join("");return l(e,t)},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var p=function(t){var e=t.id,n=t.viewBox,o=t.content;this.id=e,this.viewBox=n,this.content=o};p.prototype.stringify=function(){return this.content},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var y=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},v=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return y(l(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(p),h={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},_=function(t){return Array.prototype.slice.call(t,0)},g=function(){return/firefox/i.test(navigator.userAgent)},b=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},m=function(){return/edge/i.test(navigator.userAgent)},x=function(t){return(t||window.location.href).split("#")[0]},w=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,o){var r,i,u;r=t,i={oldUrl:o,newUrl:n},(u=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,i),window.dispatchEvent(u)}))}])},O=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern, mask, clipPath"),_(t.querySelectorAll("symbol")).forEach((function(t){_(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t},E=o.xlink.uri,S=/[{}|\\\^\[\]`"<>]/g;function k(t){return t.replace(S,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var j,C=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],M=C.map((function(t){return"["+t+"]"})).join(","),A=function(t,e,n,o){var r=k(n),i=k(o);(function(t,e){return _(t).reduce((function(t,n){if(!n.attributes)return t;var o=_(n.attributes),r=e?o.filter(e):o;return t.concat(r)}),[])})(t.querySelectorAll(M),(function(t){var e=t.localName,n=t.value;return-1!==C.indexOf(e)&&-1!==n.indexOf("url("+r)})).forEach((function(t){return t.value=t.value.replace(new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,e,n){_(t).forEach((function(t){var o=t.getAttribute("xlink:href");if(o&&0===o.indexOf(e)){var r=o.replace(e,n);t.setAttributeNS(E,"xlink:href",r)}}))}(e,r,i)},P="mount",T="symbol_mount",N=function(t){function e(e){var o=this;void 0===e&&(e={}),t.call(this,n(h,e));var r,i=(r=r||Object.create(null),{on:function(t,e){(r[t]||(r[t]=[])).push(e)},off:function(t,e){r[t]&&r[t].splice(r[t].indexOf(e)>>>0,1)},emit:function(t,e){(r[t]||[]).map((function(t){t(e)})),(r["*"]||[]).map((function(n){n(t,e)}))}});this._emitter=i,this.node=null;var u=this.config;if(u.autoConfigure&&this._autoConfigure(e),u.syncUrlsWithBaseTag){var a=document.getElementsByTagName("base")[0].getAttribute("href");i.on(P,(function(){return o.updateUrls("#",a)}))}var l=this._handleLocationChange.bind(this);this._handleLocationChange=l,u.listenLocationChangeEvent&&window.addEventListener(u.locationChangeEvent,l),u.locationChangeAngularEmitter&&w(u.locationChangeEvent),i.on(P,(function(t){u.moveGradientsOutsideSymbol&&O(t)})),i.on(T,(function(t){var e;u.moveGradientsOutsideSymbol&&O(t.parentNode),(b()||m())&&(e=[],_(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})))}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=g())},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,o=e.newUrl;this.updateUrls(n,o)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit(T,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var o="string"==typeof t?document.querySelector(t):t;return n.node=o,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(T,t.node)})),_(o.querySelectorAll("symbol")).forEach((function(t){var e=v.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(P,o),o},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach((function(t){return t.destroy()})),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){if(void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1),this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,o=this.render();return this.node=o,e&&n.childNodes[0]?n.insertBefore(o,n.childNodes[0]):n.appendChild(o),this._emitter.emit(P,o),o},e.prototype.render=function(){return y(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return A(this.node,n,x(t)+"#",x(e)+"#"),!0},Object.defineProperties(e.prototype,o),e}(f),B=t((function(t){var e,n,o,r,i;t.exports=(n=[],o=document,r=o.documentElement.doScroll,(i=(r?/^loaded|^c/:/^loaded|^i|^c/).test(o.readyState))||o.addEventListener("DOMContentLoaded",e=function(){for(o.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),function(t){i?setTimeout(t,0):n.push(t)})}));window.__SVG_SPRITE__?j=window.__SVG_SPRITE__:(j=new N({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=j);var L=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?j.attach(t):j.mount(document.body,!0)};return document.body?L():B(L),j},t.exports=n()}).call(this,n(8))},8:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},9:function(t,e){t.exports=window.wp.components}});6 */!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var t=[],e=0;e<arguments.length;e++){var o=arguments[e];if(o){var i=typeof o;if("string"===i||"number"===i)t.push(o);else if(Array.isArray(o)&&o.length){var u=r.apply(null,o);u&&t.push(u)}else if("object"===i)for(var a in o)n.call(o,a)&&o[a]&&t.push(a)}}return t.join(" ")}t.exports?(r.default=r,t.exports=r):void 0===(o=function(){return r}.apply(e,[]))||(t.exports=o)}()},168:function(t,e,n){"use strict";var o=n(0),r=o(n(11)),i=n(3),u=n(5),a=n(24),l=o(n(169)),s=o(n(170)),c=o(n(174)),d=n(2);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){(0,r.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var y={paletteVariation:{type:"number",default:10},colorSignal:{type:"number",default:3}};(0,u.registerBlockType)("novablocks/opentable",{title:(0,i.__)("OpenTable Reservation","nova-blocks"),description:(0,i.__)("Add OpenTable online reservation booking to your site.","nova-blocks"),category:"nova-blocks",icon:(0,d.getSvg)(l.default),keywords:[(0,i.__)("reservations","nova-blocks"),(0,i.__)("bookings","nova-blocks")],attributes:{restaurantId:{type:"number",default:1},language:{type:"string",default:"en-US"},showOpenTableLogo:{type:"boolean",default:!0},layoutForm:{type:"string",default:"wide"}},supports:{html:!1,novaBlocks:{colorSignal:!0}},edit:s.default,save:c.default});(0,a.addFilter)("blocks.registerBlockType","novablocks/opentable/color-signal-attributes-overwrite",(function(t){return"novablocks/opentable"!==t.name?t:p(p({},t),{},{attributes:p(p({},t.attributes),y)})}),20)},169:function(t,e,n){"use strict";n.r(e);var o=n(6),r=n.n(o),i=n(7),u=n.n(i),a=new r.a({id:"block-library-opentable/icon",use:"block-library-opentable/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-opentable/icon"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0ZM8.855 12.4c0-3.31 2.678-6 6-6 3.309 0 5.987 2.69 6 6 0 3.31-2.691 6-6 6-3.31 0-6-2.69-6-6Zm4.496 0c0 .834.67 1.503 1.504 1.503.82 0 1.49-.67 1.503-1.503 0-.834-.67-1.503-1.503-1.503-.834 0-1.504.67-1.504 1.503Zm-7.528-1.503c-.834 0-1.503.67-1.503 1.503 0 .834.67 1.503 1.503 1.503.834 0 1.503-.67 1.503-1.503 0-.834-.67-1.503-1.503-1.503Z" fill="#6565F2" /></symbol>'});u.a.add(a);e.default=a},17:function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},170:function(t,e,n){"use strict";var o=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(1),i=o(n(171)),u=o(n(173)),a=function(t){return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.default,t),(0,r.createElement)(u.default,t))};e.default=a},171:function(t,e,n){"use strict";var o=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(1),i=o(n(17)),u=o(n(18)),a=o(n(27)),l=o(n(28)),s=o(n(26)),c=o(n(12)),d=o(n(172)),f=n(9),p=n(10);function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=(0,s.default)(t);if(e){var r=(0,s.default)(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return(0,l.default)(this,n)}}var v=function(t){return t&&'<link rel="stylesheet" href="'.concat(t,'" type="text/css"/>')||""},h=function(t){(0,a.default)(n,t);var e=y(n);function n(){return(0,i.default)(this,n),e.apply(this,arguments)}return(0,u.default)(n,[{key:"shouldComponentUpdate",value:function(t){return!(0,d.default)(t.attributes,this.props.attributes)}},{key:"render",value:function(){var t,e,n,o,i,u,a,l,s=this.props,d=s.attributes,y=d.restaurantId,h=d.language,_=d.layoutForm,g=d.showOpenTableLogo,b=s.className,m=(0,c.default)(b,"novablocks-opentable","novablocks-opentable__".concat(_),{"has-opentable-logo":!0===g},(0,p.getColorSignalClassnames)(this.props.attributes,!0)),x='<div class="novablocks-opentable '.concat(m,'">')+"<script type='text/javascript' src='//www.opentable.com/widget/reservation/loader?rid=".concat(y,"&type=standard&theme=").concat(_,"&iframe=false&overlay=false&domain=com&lang=").concat(h,"'><\/script>")+v(null===(t=window)||void 0===t||null===(e=t.styleManager)||void 0===e?void 0:e.colorsCustomPropertiesUrl)+((null===(n=window)||void 0===n||null===(o=n.styleManager)||void 0===o?void 0:o.frontendOutput)&&"<style>".concat(window.styleManager.frontendOutput,"</style>")||"")+v(null===(i=novablocks_urls)||void 0===i?void 0:i.novablocks_core_frontend_stylesheet)+v(null===(u=novablocks_urls)||void 0===u?void 0:u.novablocks_components_frontend_stylesheet)+v(null===(a=novablocks_urls)||void 0===a?void 0:a.novablocks_opentable_frontend_stylesheet)+v(null===(l=novablocks_urls)||void 0===l?void 0:l.novablocks_opentable_editor_stylesheet)+"</div>";return(0,r.createElement)((function(t){return(0,r.createElement)(f.SandBox,t)}),{html:x,title:"Sandbox",type:"embed"})}}]),n}(r.Component);e.default=h},172:function(t,e){t.exports=window.wp.isShallowEqual},173:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(1),r=n(3),i=n(9),u=n(2),a=function(t){var e=t.attributes,n=e.restaurantId,a=e.language,l=e.layoutForm,s=e.showOpenTableLogo,c=t.setAttributes;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(u.ControlsSection,{id:"setup",label:(0,r.__)("Setup","nova-blocks")},(0,o.createElement)(u.ControlsTab,{label:(0,r.__)("Settings","nova-blocks")},(0,o.createElement)(i.TextControl,{key:"opentable-restaurant-id-controls",label:(0,r.__)("Restaurant ID","nova-blocks"),placeholder:(0,r.__)("1","nova-blocks"),help:(0,r.__)("You can find your restaurant ID on the OpenTable website.","nova-blocks"),type:"number",value:n,onChange:function(t){return c({restaurantId:t})}}),(0,o.createElement)(i.SelectControl,{key:"opentable-language-controls",label:(0,r.__)("Language","nova-blocks"),value:a,options:[{label:(0,r.__)("English-EN","nova-blocks"),value:"en-US"},{label:(0,r.__)("French-CA","nova-blocks"),value:"fr-CA"},{label:(0,r.__)("Deutsch-DE","nova-blocks"),value:"de-DE"},{label:(0,r.__)("Spanish-MX","nova-blocks"),value:"es-MX"},{label:(0,r.__)("Japanese-JP","nova-blocks"),value:"ja-JP"},{label:(0,r.__)("Dutch-NL","nova-blocks"),value:"nl-NL"},{label:(0,r.__)("Italian-IT","nova-blocks"),value:"it-IT"}],onChange:function(t){return c({language:t})}}))),(0,o.createElement)(u.ControlsSection,{id:"layout",label:(0,r.__)("Layout","nova-blocks")},(0,o.createElement)(u.ControlsTab,{label:(0,r.__)("Customize","nova-blocks")},(0,o.createElement)(i.RadioControl,{key:"opentable-layout-controls",label:(0,r.__)("Layout","nova-blocks"),value:l,selected:l,options:[{label:(0,r.__)("Horizontal","nova-blocks"),value:"wide"},{label:(0,r.__)("Vertical","nova-blocks"),value:"standard"}],onChange:function(t){return c({layoutForm:t})}}),(0,o.createElement)(i.ToggleControl,{key:"opentable-logo-controls",label:(0,r.__)("Show OpenTable Logo","nova-blocks"),checked:s,onChange:function(){return c({showOpenTableLogo:!s})}}))))};e.default=a},174:function(t,e,n){"use strict";var o=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(1),i=o(n(12)),u=n(10),a=function(t){var e=t.attributes,n=t.className,o=e.restaurantId,a=e.language,l=e.showOpenTableLogo,s=e.layoutForm,c="//www.opentable.com/widget/reservation/loader?rid=".concat(o,"&domain=com&type=standard&theme=").concat(s,"&iframe=false&overlay=false&domain=com&lang=").concat(a),d=(0,i.default)(n,"novablocks-opentable","novablocks-opentable__".concat(s),{"has-opentable-logo":!0===l},(0,u.getColorSignalClassnames)(e,!0));return(0,r.createElement)("div",{className:d},(0,r.createElement)("script",{type:"text/javascript",src:c}))};e.default=a},18:function(t,e){function n(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}t.exports=function(t,e,o){return e&&n(t.prototype,e),o&&n(t,o),t},t.exports.default=t.exports,t.exports.__esModule=!0},2:function(t,e){t.exports=window.novablocks.blockEditor},23:function(t,e){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=n=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),n(e)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},24:function(t,e){t.exports=window.wp.hooks},26:function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.default=t.exports,t.exports.__esModule=!0,n(e)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},27:function(t,e,n){var o=n(31);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)},t.exports.default=t.exports,t.exports.__esModule=!0},28:function(t,e,n){var o=n(23).default,r=n(30);t.exports=function(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?r(t):e},t.exports.default=t.exports,t.exports.__esModule=!0},3:function(t,e){t.exports=window.wp.i18n},30:function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.default=t.exports,t.exports.__esModule=!0},31:function(t,e){function n(e,o){return t.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},t.exports.default=t.exports,t.exports.__esModule=!0,n(e,o)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},5:function(t,e){t.exports=window.wp.blocks},6:function(t,e,n){(function(e){var n;n=function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,o=t.content;this.id=e,this.viewBox=n,this.content=o};function n(t,e){return t(e={exports:{}},e.exports),e.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))},"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var o=n((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var r;return n&&!0===n.clone&&t(e)?o((r=e,Array.isArray(r)?[]:{}),e,n):e}function n(n,r,i){var u=n.slice();return r.forEach((function(r,a){void 0===u[a]?u[a]=e(r,i):t(r)?u[a]=o(n[a],r,i):-1===n.indexOf(r)&&u.push(e(r,i))})),u}function o(r,i,u){var a=Array.isArray(i),l=(u||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(r)?l(r,i,u):e(i,u):function(n,r,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(r).forEach((function(a){t(r[a])&&n[a]?u[a]=o(n[a],r[a],i):u[a]=e(r[a],i)})),u}(r,i,u)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),r=n((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=r.svg,u=r.xlink,a={};a[i.name]=i.uri,a[u.name]=u.uri;var l=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(o(a,e||{}))+">"+t+"</svg>"};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(l(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)},t.exports=n()}).call(this,n(8))},7:function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=t((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var r;return n&&!0===n.clone&&t(e)?o((r=e,Array.isArray(r)?[]:{}),e,n):e}function n(n,r,i){var u=n.slice();return r.forEach((function(r,a){void 0===u[a]?u[a]=e(r,i):t(r)?u[a]=o(n[a],r,i):-1===n.indexOf(r)&&u.push(e(r,i))})),u}function o(r,i,u){var a=Array.isArray(i),l=(u||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(r)?l(r,i,u):e(i,u):function(n,r,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(r).forEach((function(a){t(r[a])&&n[a]?u[a]=o(n[a],r[a],i):u[a]=e(r[a],i)})),u}(r,i,u)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),o=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),r=o.svg,i=o.xlink,u={};u[r.name]=r.uri,u[i.name]=i.uri;var a,l=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(n(u,e||{}))+">"+t+"</svg>"},s=o.svg,c=o.xlink,d={attrs:(a={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},a[s.name]=s.uri,a[c.name]=c.uri,a)},f=function(t){this.config=n(d,t||{}),this.symbols=[]};f.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},f.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},f.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},f.prototype.has=function(t){return null!==this.find(t)},f.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map((function(t){return t.stringify()})).join("");return l(e,t)},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var p=function(t){var e=t.id,n=t.viewBox,o=t.content;this.id=e,this.viewBox=n,this.content=o};p.prototype.stringify=function(){return this.content},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var y=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},v=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return y(l(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(p),h={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},_=function(t){return Array.prototype.slice.call(t,0)},g=function(){return/firefox/i.test(navigator.userAgent)},b=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},m=function(){return/edge/i.test(navigator.userAgent)},x=function(t){return(t||window.location.href).split("#")[0]},w=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,o){var r,i,u;r=t,i={oldUrl:o,newUrl:n},(u=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,i),window.dispatchEvent(u)}))}])},O=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern, mask, clipPath"),_(t.querySelectorAll("symbol")).forEach((function(t){_(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t},E=o.xlink.uri,S=/[{}|\\\^\[\]`"<>]/g;function k(t){return t.replace(S,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var j,C=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],M=C.map((function(t){return"["+t+"]"})).join(","),A=function(t,e,n,o){var r=k(n),i=k(o);(function(t,e){return _(t).reduce((function(t,n){if(!n.attributes)return t;var o=_(n.attributes),r=e?o.filter(e):o;return t.concat(r)}),[])})(t.querySelectorAll(M),(function(t){var e=t.localName,n=t.value;return-1!==C.indexOf(e)&&-1!==n.indexOf("url("+r)})).forEach((function(t){return t.value=t.value.replace(new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,e,n){_(t).forEach((function(t){var o=t.getAttribute("xlink:href");if(o&&0===o.indexOf(e)){var r=o.replace(e,n);t.setAttributeNS(E,"xlink:href",r)}}))}(e,r,i)},P="mount",T="symbol_mount",N=function(t){function e(e){var o=this;void 0===e&&(e={}),t.call(this,n(h,e));var r,i=(r=r||Object.create(null),{on:function(t,e){(r[t]||(r[t]=[])).push(e)},off:function(t,e){r[t]&&r[t].splice(r[t].indexOf(e)>>>0,1)},emit:function(t,e){(r[t]||[]).map((function(t){t(e)})),(r["*"]||[]).map((function(n){n(t,e)}))}});this._emitter=i,this.node=null;var u=this.config;if(u.autoConfigure&&this._autoConfigure(e),u.syncUrlsWithBaseTag){var a=document.getElementsByTagName("base")[0].getAttribute("href");i.on(P,(function(){return o.updateUrls("#",a)}))}var l=this._handleLocationChange.bind(this);this._handleLocationChange=l,u.listenLocationChangeEvent&&window.addEventListener(u.locationChangeEvent,l),u.locationChangeAngularEmitter&&w(u.locationChangeEvent),i.on(P,(function(t){u.moveGradientsOutsideSymbol&&O(t)})),i.on(T,(function(t){var e;u.moveGradientsOutsideSymbol&&O(t.parentNode),(b()||m())&&(e=[],_(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})))}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=g())},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,o=e.newUrl;this.updateUrls(n,o)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit(T,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var o="string"==typeof t?document.querySelector(t):t;return n.node=o,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(T,t.node)})),_(o.querySelectorAll("symbol")).forEach((function(t){var e=v.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(P,o),o},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach((function(t){return t.destroy()})),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){if(void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1),this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,o=this.render();return this.node=o,e&&n.childNodes[0]?n.insertBefore(o,n.childNodes[0]):n.appendChild(o),this._emitter.emit(P,o),o},e.prototype.render=function(){return y(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return A(this.node,n,x(t)+"#",x(e)+"#"),!0},Object.defineProperties(e.prototype,o),e}(f),B=t((function(t){var e,n,o,r,i;t.exports=(n=[],o=document,r=o.documentElement.doScroll,(i=(r?/^loaded|^c/:/^loaded|^i|^c/).test(o.readyState))||o.addEventListener("DOMContentLoaded",e=function(){for(o.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),function(t){i?setTimeout(t,0):n.push(t)})}));window.__SVG_SPRITE__?j=window.__SVG_SPRITE__:(j=new N({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=j);var L=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?j.attach(t):j.mount(document.body,!0)};return document.body?L():B(L),j},t.exports=n()}).call(this,n(8))},8:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},9:function(t,e){t.exports=window.wp.components}}); -
nova-blocks/trunk/build/block-library/blocks/post-comments/frontend.asset.php
r2737140 r2744078 1 <?php return array('dependencies' => array('novablocks-icons', 'wp-polyfill'), 'version' => ' 5b3862ae2e8134652d7ccd1b2482276b');1 <?php return array('dependencies' => array('novablocks-icons', 'wp-polyfill'), 'version' => 'f839678b8b20cabfa253392e3dca3bfc'); -
nova-blocks/trunk/build/block-library/blocks/post-comments/frontend.js
r2737140 r2744078 1 !function(n){var t={};function e(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return n[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}e.m=n,e.c=t,e.d=function(n,t,o){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:o})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var o=Object.create(null);if(e.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var r in n)e.d(o,r,function(t){return n[t]}.bind(null,r));return o},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=17 6)}({176:function(n,t,e){"use strict";e(37);!function(n,t,e){n(".novablocks-conversations");var o=n(".comment-list"),r=o.find(".comment-dropdown").children(),i=o.find(" .comment-dropdown-open"),c=n(".novablocks-conversations__notification-text");function a(t){i.length&&(n(t.target).is(r)||i.prop("checked",!1))}function s(t){t.preventDefault();var e,o=n(this).attr("href");c.removeClass("notification--is-visible"),document.addEventListener("copy",(function(n){n.clipboardData.setData("text/plain",o),n.preventDefault()}),!0);try{e=document.execCommand("copy")}catch(n){e=!1}e&&setTimeout((function(){c.addClass("notification--is-visible")}),0)}n(document).on("click",a),o.on("click",".copy-comment-link",s),o.on("click",".toggle-comment-highlight",(function(){var t=n(this),e=t.data("comment_id"),c="#wrapper-comment-"+e,a=n(c);return a.addClass("working"),n.ajax({url:nb_comments.ajaxUrl,type:"POST",data:{action:nb_comments.actions.toggleHighlight,comment_id:e,commentsListArgs:void 0!==nb_comments.commentsListArgs?nb_comments.commentsListArgs:[],nonce:t.data("nonce")},success:function(t){var e=n(n.parseHTML(t));a.replaceWith(e.find(c)),r=o.find(".comment-dropdown").children(),i=o.find(" .comment-dropdown-open")},error:function(n){},complete:function(){a.removeClass("working")}}),!1}))}(jQuery,window)},37:function(n,t){n.exports=window.novablocks.icons}});1 !function(n){var t={};function e(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return n[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}e.m=n,e.c=t,e.d=function(n,t,o){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:o})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var o=Object.create(null);if(e.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var r in n)e.d(o,r,function(t){return n[t]}.bind(null,r));return o},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=175)}({175:function(n,t,e){"use strict";e(37);!function(n,t,e){n(".novablocks-conversations");var o=n(".comment-list"),r=o.find(".comment-dropdown").children(),i=o.find(" .comment-dropdown-open"),c=n(".novablocks-conversations__notification-text");function a(t){i.length&&(n(t.target).is(r)||i.prop("checked",!1))}function s(t){t.preventDefault();var e,o=n(this).attr("href");c.removeClass("notification--is-visible"),document.addEventListener("copy",(function(n){n.clipboardData.setData("text/plain",o),n.preventDefault()}),!0);try{e=document.execCommand("copy")}catch(n){e=!1}e&&setTimeout((function(){c.addClass("notification--is-visible")}),0)}n(document).on("click",a),o.on("click",".copy-comment-link",s),o.on("click",".toggle-comment-highlight",(function(){var t=n(this),e=t.data("comment_id"),c="#wrapper-comment-"+e,a=n(c);return a.addClass("working"),n.ajax({url:nb_comments.ajaxUrl,type:"POST",data:{action:nb_comments.actions.toggleHighlight,comment_id:e,commentsListArgs:void 0!==nb_comments.commentsListArgs?nb_comments.commentsListArgs:[],nonce:t.data("nonce")},success:function(t){var e=n(n.parseHTML(t));a.replaceWith(e.find(c)),r=o.find(".comment-dropdown").children(),i=o.find(" .comment-dropdown-open")},error:function(n){},complete:function(){a.removeClass("working")}}),!1}))}(jQuery,window)},37:function(n,t){n.exports=window.novablocks.icons}}); -
nova-blocks/trunk/build/block-library/blocks/post-comments/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => ' ddb5f731087d0b9cf7adc553e4aabbb8');1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'cac2e480003eb8f5f71ccc78bd6b5a92'); -
nova-blocks/trunk/build/block-library/blocks/post-comments/index.js
r2738702 r2744078 1 !function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=17 7)}({0:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},1:function(t,e){t.exports=window.wp.element},12:function(t,e,n){var o;1 !function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=176)}({0:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},1:function(t,e){t.exports=window.wp.element},12:function(t,e,n){var o; 2 2 /*! 3 3 Copyright (c) 2017 Jed Watson. 4 4 Licensed under the MIT License (MIT), see 5 5 http://jedwatson.github.io/classnames 6 */!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var t=[],e=0;e<arguments.length;e++){var o=arguments[e];if(o){var i=typeof o;if("string"===i||"number"===i)t.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&t.push(a)}else if("object"===i)for(var u in o)n.call(o,u)&&o[u]&&t.push(u)}}return t.join(" ")}t.exports?(r.default=r,t.exports=r):void 0===(o=function(){return r}.apply(e,[]))||(t.exports=o)}()},13:function(t,e){t.exports=window.wp.data},17 7:function(t,e,n){"use strict";var o=n(0),r=n(1),i=o(n(178)),a=o(n(179)),u=n(5),c=n(4),s=n(2);(0,u.registerBlockType)("novablocks/post-comments",{icon:(0,s.getSvg)(i.default),edit:a.default,save:function(){return(0,r.createElement)(c.InnerBlocks.Content,null)},getEditWrapperProps:function(){return wp.data.select("core/block-editor").getSettings().alignWide?{"data-align":"full"}:{}}})},178:function(t,e,n){"use strict";n.r(e);var o=n(6),r=n.n(o),i=n(7),a=n.n(i),u=new r.a({id:"block-library-post-comments/icon",use:"block-library-post-comments/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-post-comments/icon"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0ZM7 7a4 4 0 0 0-4 4 2 2 0 0 0 2 2h3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2H7Zm9-3a4 4 0 0 1 4 4v8a3.999 3.999 0 0 1-2.082 3.511C16.949 20.041 16 19.105 16 18v-3a2 2 0 0 0-2-2 2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2ZM8 15a2 2 0 0 0-2 2 4 4 0 0 0 4 4h2a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H8Z" fill="#6565F2" /></symbol>'});a.a.add(u);e.default=u},179:function(t,e,n){"use strict";var o=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(1),i=o(n(12)),a=n(9),u=n(3),c=n(13),s=n(4);function l(t){var e=t.postId;return(0,c.useSelect)((function(t){var n=t("core").getEntityRecords("root","comment",{post:e});return n&&n.length?n.map((function(t){return(0,r.createElement)("div",{className:"comment",key:"comment_"+t.id},(0,r.createElement)("div",{className:"comment-body comment-grid"},(0,r.createElement)("div",{className:"comment-content"},(0,r.createElement)("div",{className:"comment-author-avatar vcard"},(0,r.createElement)("img",{className:"avatar",src:t.author_avatar_urls[48],alt:""})),(0,r.createElement)("div",{className:"comment-author-info"},(0,r.createElement)("span",{className:"comment-author"},t.author_name)),(0,r.createElement)("div",{className:"comment-text"},(0,r.createElement)(r.RawHTML,null,t.content.rendered)),(0,r.createElement)("div",{className:"comment-footer"},(0,r.createElement)("span",{className:"comment-posted-time"},moment(t.date).fromNow())))))})):(0,u.__)("No comments.","nova-blocks")}),[e])}var d=function(t){t.attributes;var e=t.context,n=e.postId,o=e.postType,c=(0,i.default)("novablocks-conversations",t.className),d=(0,s.useBlockProps)({className:c,style:t.style});return o&&n?(0,r.createElement)("div",d,(0,r.createElement)("div",{className:"novablocks-conversations__container"},(0,r.createElement)("h3",{className:"novablocks-conversations__title"},(0,u.__)("Conversations","nova-blocks")),(0,r.createElement)("div",{className:"comment-form form-grid"},(0,r.createElement)("img",{className:"avatar",alt:""}),(0,r.createElement)("p",{className:"comment-form-comment"},(0,r.createElement)("span",{className:"comment-label__container"},(0,r.createElement)("label",{htmlFor:"comment"},(0,u.__)("What’s your comment or question?","nova-blocks")),(0,r.createElement)("span",{className:"field-description"},(0,u.__)("Let’s start a personal and a meaningful conversation. ","nova-blocks"))),(0,r.createElement)("textarea",{name:"comment",id:"comment",cols:"30",rows:"1",placeholder:(0,u.__)("Join the conversation, share your knowledge or ask a question...","nova-blocks")})),(0,r.createElement)("div",{className:"second-column"},(0,r.createElement)("p",{className:"comment-form-background"},(0,r.createElement)("label",{htmlFor:"experience"},(0,u.__)("What is your expertise or qualification in this topic?","nova-blocks")),(0,r.createElement)("span",{className:"field-description"},(0,u.__)("Example: Practical philosopher, therapist and writer.","nova-blocks")),(0,r.createElement)("input",{id:"experience",name:"experience",type:"text",value:"",size:"30",maxLength:"245",required:"required",placeholder:(0,u.__)("Your relevant experience or expertise...","nova-blocks")})),(0,r.createElement)("p",{className:"comment-form-author"},(0,r.createElement)("label",{htmlFor:"author"},(0,u.__)("What is your name?","nova-blocks")),(0,r.createElement)("span",{className:"required"},"*"),(0,r.createElement)("input",{id:"author",name:"author",type:"text",value:"",size:"30",maxLength:"245",required:"required",placeholder:(0,u.__)("eg. John Doe","nova-blocks")})),(0,r.createElement)("p",{className:"comment-form-email"},(0,r.createElement)("label",{htmlFor:"email"},(0,u.__)("What is your email address?","nova-blocks")),(0,r.createElement)("span",{className:"field-description"},(0,u.__)("Your email address will not be published.","nova-blocks")),(0,r.createElement)("input",{id:"email",name:"email",type:"email",value:"",size:"30",maxLength:"100",required:"required",placeholder:(0,u.__)("[email protected]","nova-blocks")})),(0,r.createElement)("div",{className:"form-submit"},(0,r.createElement)("div",{className:"wp-block-button"},(0,r.createElement)("div",{className:"wp-block-button__link"},(0,u.__)("Add this comment","nova-blocks")))))),(0,r.createElement)("div",{className:"novablocks-conversations__comment-list comment-list"},(0,r.createElement)(l,{postId:n})))):(0,r.createElement)("div",d,(0,r.createElement)(a.Placeholder,null,(0,u.__)("Nova Blocks: Conversation System Block.","nova-blocks")))};e.default=d},2:function(t,e){t.exports=window.novablocks.blockEditor},3:function(t,e){t.exports=window.wp.i18n},4:function(t,e){t.exports=window.wp.blockEditor},5:function(t,e){t.exports=window.wp.blocks},6:function(t,e,n){(function(e){var n;n=function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,o=t.content;this.id=e,this.viewBox=n,this.content=o};function n(t,e){return t(e={exports:{}},e.exports),e.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))},"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var o=n((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var r;return n&&!0===n.clone&&t(e)?o((r=e,Array.isArray(r)?[]:{}),e,n):e}function n(n,r,i){var a=n.slice();return r.forEach((function(r,u){void 0===a[u]?a[u]=e(r,i):t(r)?a[u]=o(n[u],r,i):-1===n.indexOf(r)&&a.push(e(r,i))})),a}function o(r,i,a){var u=Array.isArray(i),c=(a||{arrayMerge:n}).arrayMerge||n;return u?Array.isArray(r)?c(r,i,a):e(i,a):function(n,r,i){var a={};return t(n)&&Object.keys(n).forEach((function(t){a[t]=e(n[t],i)})),Object.keys(r).forEach((function(u){t(r[u])&&n[u]?a[u]=o(n[u],r[u],i):a[u]=e(r[u],i)})),a}(r,i,a)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),r=n((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=r.svg,a=r.xlink,u={};u[i.name]=i.uri,u[a.name]=a.uri;var c=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(o(u,e||{}))+">"+t+"</svg>"};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(c(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)},t.exports=n()}).call(this,n(8))},7:function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=t((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var r;return n&&!0===n.clone&&t(e)?o((r=e,Array.isArray(r)?[]:{}),e,n):e}function n(n,r,i){var a=n.slice();return r.forEach((function(r,u){void 0===a[u]?a[u]=e(r,i):t(r)?a[u]=o(n[u],r,i):-1===n.indexOf(r)&&a.push(e(r,i))})),a}function o(r,i,a){var u=Array.isArray(i),c=(a||{arrayMerge:n}).arrayMerge||n;return u?Array.isArray(r)?c(r,i,a):e(i,a):function(n,r,i){var a={};return t(n)&&Object.keys(n).forEach((function(t){a[t]=e(n[t],i)})),Object.keys(r).forEach((function(u){t(r[u])&&n[u]?a[u]=o(n[u],r[u],i):a[u]=e(r[u],i)})),a}(r,i,a)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),o=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),r=o.svg,i=o.xlink,a={};a[r.name]=r.uri,a[i.name]=i.uri;var u,c=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(n(a,e||{}))+">"+t+"</svg>"},s=o.svg,l=o.xlink,d={attrs:(u={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},u[s.name]=s.uri,u[l.name]=l.uri,u)},m=function(t){this.config=n(d,t||{}),this.symbols=[]};m.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},m.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},m.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},m.prototype.has=function(t){return null!==this.find(t)},m.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map((function(t){return t.stringify()})).join("");return c(e,t)},m.prototype.toString=function(){return this.stringify()},m.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var f=function(t){var e=t.id,n=t.viewBox,o=t.content;this.id=e,this.viewBox=n,this.content=o};f.prototype.stringify=function(){return this.content},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var p=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},h=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return p(c(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(f),v={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},y=function(t){return Array.prototype.slice.call(t,0)},g=function(){return/firefox/i.test(navigator.userAgent)},_=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},w=function(){return/edge/i.test(navigator.userAgent)},x=function(t){return(t||window.location.href).split("#")[0]},b=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,o){var r,i,a;r=t,i={oldUrl:o,newUrl:n},(a=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,i),window.dispatchEvent(a)}))}])},E=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern, mask, clipPath"),y(t.querySelectorAll("symbol")).forEach((function(t){y(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t},N=o.xlink.uri,S=/[{}|\\\^\[\]`"<>]/g;function k(t){return t.replace(S,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var O,A=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],j=A.map((function(t){return"["+t+"]"})).join(","),C=function(t,e,n,o){var r=k(n),i=k(o);(function(t,e){return y(t).reduce((function(t,n){if(!n.attributes)return t;var o=y(n.attributes),r=e?o.filter(e):o;return t.concat(r)}),[])})(t.querySelectorAll(j),(function(t){var e=t.localName,n=t.value;return-1!==A.indexOf(e)&&-1!==n.indexOf("url("+r)})).forEach((function(t){return t.value=t.value.replace(new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,e,n){y(t).forEach((function(t){var o=t.getAttribute("xlink:href");if(o&&0===o.indexOf(e)){var r=o.replace(e,n);t.setAttributeNS(N,"xlink:href",r)}}))}(e,r,i)},M="mount",B="symbol_mount",P=function(t){function e(e){var o=this;void 0===e&&(e={}),t.call(this,n(v,e));var r,i=(r=r||Object.create(null),{on:function(t,e){(r[t]||(r[t]=[])).push(e)},off:function(t,e){r[t]&&r[t].splice(r[t].indexOf(e)>>>0,1)},emit:function(t,e){(r[t]||[]).map((function(t){t(e)})),(r["*"]||[]).map((function(n){n(t,e)}))}});this._emitter=i,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(e),a.syncUrlsWithBaseTag){var u=document.getElementsByTagName("base")[0].getAttribute("href");i.on(M,(function(){return o.updateUrls("#",u)}))}var c=this._handleLocationChange.bind(this);this._handleLocationChange=c,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,c),a.locationChangeAngularEmitter&&b(a.locationChangeEvent),i.on(M,(function(t){a.moveGradientsOutsideSymbol&&E(t)})),i.on(B,(function(t){var e;a.moveGradientsOutsideSymbol&&E(t.parentNode),(_()||w())&&(e=[],y(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})))}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=g())},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,o=e.newUrl;this.updateUrls(n,o)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit(B,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var o="string"==typeof t?document.querySelector(t):t;return n.node=o,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(B,t.node)})),y(o.querySelectorAll("symbol")).forEach((function(t){var e=h.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(M,o),o},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach((function(t){return t.destroy()})),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){if(void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1),this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,o=this.render();return this.node=o,e&&n.childNodes[0]?n.insertBefore(o,n.childNodes[0]):n.appendChild(o),this._emitter.emit(M,o),o},e.prototype.render=function(){return p(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return C(this.node,n,x(t)+"#",x(e)+"#"),!0},Object.defineProperties(e.prototype,o),e}(m),T=t((function(t){var e,n,o,r,i;t.exports=(n=[],o=document,r=o.documentElement.doScroll,(i=(r?/^loaded|^c/:/^loaded|^i|^c/).test(o.readyState))||o.addEventListener("DOMContentLoaded",e=function(){for(o.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),function(t){i?setTimeout(t,0):n.push(t)})}));window.__SVG_SPRITE__?O=window.__SVG_SPRITE__:(O=new P({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=O);var q=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?O.attach(t):O.mount(document.body,!0)};return document.body?q():T(q),O},t.exports=n()}).call(this,n(8))},8:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},9:function(t,e){t.exports=window.wp.components}});6 */!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var t=[],e=0;e<arguments.length;e++){var o=arguments[e];if(o){var i=typeof o;if("string"===i||"number"===i)t.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&t.push(a)}else if("object"===i)for(var u in o)n.call(o,u)&&o[u]&&t.push(u)}}return t.join(" ")}t.exports?(r.default=r,t.exports=r):void 0===(o=function(){return r}.apply(e,[]))||(t.exports=o)}()},13:function(t,e){t.exports=window.wp.data},176:function(t,e,n){"use strict";var o=n(0),r=n(1),i=o(n(177)),a=o(n(178)),u=n(5),c=n(4),s=n(2);(0,u.registerBlockType)("novablocks/post-comments",{icon:(0,s.getSvg)(i.default),edit:a.default,save:function(){return(0,r.createElement)(c.InnerBlocks.Content,null)},getEditWrapperProps:function(){return wp.data.select("core/block-editor").getSettings().alignWide?{"data-align":"full"}:{}}})},177:function(t,e,n){"use strict";n.r(e);var o=n(6),r=n.n(o),i=n(7),a=n.n(i),u=new r.a({id:"block-library-post-comments/icon",use:"block-library-post-comments/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-post-comments/icon"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0ZM7 7a4 4 0 0 0-4 4 2 2 0 0 0 2 2h3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2H7Zm9-3a4 4 0 0 1 4 4v8a3.999 3.999 0 0 1-2.082 3.511C16.949 20.041 16 19.105 16 18v-3a2 2 0 0 0-2-2 2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2ZM8 15a2 2 0 0 0-2 2 4 4 0 0 0 4 4h2a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H8Z" fill="#6565F2" /></symbol>'});a.a.add(u);e.default=u},178:function(t,e,n){"use strict";var o=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(1),i=o(n(12)),a=n(9),u=n(3),c=n(13),s=n(4);function l(t){var e=t.postId;return(0,c.useSelect)((function(t){var n=t("core").getEntityRecords("root","comment",{post:e});return n&&n.length?n.map((function(t){return(0,r.createElement)("div",{className:"comment",key:"comment_"+t.id},(0,r.createElement)("div",{className:"comment-body comment-grid"},(0,r.createElement)("div",{className:"comment-content"},(0,r.createElement)("div",{className:"comment-author-avatar vcard"},(0,r.createElement)("img",{className:"avatar",src:t.author_avatar_urls[48],alt:""})),(0,r.createElement)("div",{className:"comment-author-info"},(0,r.createElement)("span",{className:"comment-author"},t.author_name)),(0,r.createElement)("div",{className:"comment-text"},(0,r.createElement)(r.RawHTML,null,t.content.rendered)),(0,r.createElement)("div",{className:"comment-footer"},(0,r.createElement)("span",{className:"comment-posted-time"},moment(t.date).fromNow())))))})):(0,u.__)("No comments.","nova-blocks")}),[e])}var d=function(t){t.attributes;var e=t.context,n=e.postId,o=e.postType,c=(0,i.default)("novablocks-conversations",t.className),d=(0,s.useBlockProps)({className:c,style:t.style});return o&&n?(0,r.createElement)("div",d,(0,r.createElement)("div",{className:"novablocks-conversations__container"},(0,r.createElement)("h3",{className:"novablocks-conversations__title"},(0,u.__)("Conversations","nova-blocks")),(0,r.createElement)("div",{className:"comment-form form-grid"},(0,r.createElement)("img",{className:"avatar",alt:""}),(0,r.createElement)("p",{className:"comment-form-comment"},(0,r.createElement)("span",{className:"comment-label__container"},(0,r.createElement)("label",{htmlFor:"comment"},(0,u.__)("What’s your comment or question?","nova-blocks")),(0,r.createElement)("span",{className:"field-description"},(0,u.__)("Let’s start a personal and a meaningful conversation. ","nova-blocks"))),(0,r.createElement)("textarea",{name:"comment",id:"comment",cols:"30",rows:"1",placeholder:(0,u.__)("Join the conversation, share your knowledge or ask a question...","nova-blocks")})),(0,r.createElement)("div",{className:"second-column"},(0,r.createElement)("p",{className:"comment-form-background"},(0,r.createElement)("label",{htmlFor:"experience"},(0,u.__)("What is your expertise or qualification in this topic?","nova-blocks")),(0,r.createElement)("span",{className:"field-description"},(0,u.__)("Example: Practical philosopher, therapist and writer.","nova-blocks")),(0,r.createElement)("input",{id:"experience",name:"experience",type:"text",value:"",size:"30",maxLength:"245",required:"required",placeholder:(0,u.__)("Your relevant experience or expertise...","nova-blocks")})),(0,r.createElement)("p",{className:"comment-form-author"},(0,r.createElement)("label",{htmlFor:"author"},(0,u.__)("What is your name?","nova-blocks")),(0,r.createElement)("span",{className:"required"},"*"),(0,r.createElement)("input",{id:"author",name:"author",type:"text",value:"",size:"30",maxLength:"245",required:"required",placeholder:(0,u.__)("eg. John Doe","nova-blocks")})),(0,r.createElement)("p",{className:"comment-form-email"},(0,r.createElement)("label",{htmlFor:"email"},(0,u.__)("What is your email address?","nova-blocks")),(0,r.createElement)("span",{className:"field-description"},(0,u.__)("Your email address will not be published.","nova-blocks")),(0,r.createElement)("input",{id:"email",name:"email",type:"email",value:"",size:"30",maxLength:"100",required:"required",placeholder:(0,u.__)("[email protected]","nova-blocks")})),(0,r.createElement)("div",{className:"form-submit"},(0,r.createElement)("div",{className:"wp-block-button"},(0,r.createElement)("div",{className:"wp-block-button__link"},(0,u.__)("Add this comment","nova-blocks")))))),(0,r.createElement)("div",{className:"novablocks-conversations__comment-list comment-list"},(0,r.createElement)(l,{postId:n})))):(0,r.createElement)("div",d,(0,r.createElement)(a.Placeholder,null,(0,u.__)("Nova Blocks: Conversation System Block.","nova-blocks")))};e.default=d},2:function(t,e){t.exports=window.novablocks.blockEditor},3:function(t,e){t.exports=window.wp.i18n},4:function(t,e){t.exports=window.wp.blockEditor},5:function(t,e){t.exports=window.wp.blocks},6:function(t,e,n){(function(e){var n;n=function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,o=t.content;this.id=e,this.viewBox=n,this.content=o};function n(t,e){return t(e={exports:{}},e.exports),e.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))},"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var o=n((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var r;return n&&!0===n.clone&&t(e)?o((r=e,Array.isArray(r)?[]:{}),e,n):e}function n(n,r,i){var a=n.slice();return r.forEach((function(r,u){void 0===a[u]?a[u]=e(r,i):t(r)?a[u]=o(n[u],r,i):-1===n.indexOf(r)&&a.push(e(r,i))})),a}function o(r,i,a){var u=Array.isArray(i),c=(a||{arrayMerge:n}).arrayMerge||n;return u?Array.isArray(r)?c(r,i,a):e(i,a):function(n,r,i){var a={};return t(n)&&Object.keys(n).forEach((function(t){a[t]=e(n[t],i)})),Object.keys(r).forEach((function(u){t(r[u])&&n[u]?a[u]=o(n[u],r[u],i):a[u]=e(r[u],i)})),a}(r,i,a)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),r=n((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=r.svg,a=r.xlink,u={};u[i.name]=i.uri,u[a.name]=a.uri;var c=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(o(u,e||{}))+">"+t+"</svg>"};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(c(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)},t.exports=n()}).call(this,n(8))},7:function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=t((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var r;return n&&!0===n.clone&&t(e)?o((r=e,Array.isArray(r)?[]:{}),e,n):e}function n(n,r,i){var a=n.slice();return r.forEach((function(r,u){void 0===a[u]?a[u]=e(r,i):t(r)?a[u]=o(n[u],r,i):-1===n.indexOf(r)&&a.push(e(r,i))})),a}function o(r,i,a){var u=Array.isArray(i),c=(a||{arrayMerge:n}).arrayMerge||n;return u?Array.isArray(r)?c(r,i,a):e(i,a):function(n,r,i){var a={};return t(n)&&Object.keys(n).forEach((function(t){a[t]=e(n[t],i)})),Object.keys(r).forEach((function(u){t(r[u])&&n[u]?a[u]=o(n[u],r[u],i):a[u]=e(r[u],i)})),a}(r,i,a)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),o=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),r=o.svg,i=o.xlink,a={};a[r.name]=r.uri,a[i.name]=i.uri;var u,c=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(n(a,e||{}))+">"+t+"</svg>"},s=o.svg,l=o.xlink,d={attrs:(u={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},u[s.name]=s.uri,u[l.name]=l.uri,u)},m=function(t){this.config=n(d,t||{}),this.symbols=[]};m.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},m.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},m.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},m.prototype.has=function(t){return null!==this.find(t)},m.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map((function(t){return t.stringify()})).join("");return c(e,t)},m.prototype.toString=function(){return this.stringify()},m.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var f=function(t){var e=t.id,n=t.viewBox,o=t.content;this.id=e,this.viewBox=n,this.content=o};f.prototype.stringify=function(){return this.content},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var p=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},h=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return p(c(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(f),v={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},y=function(t){return Array.prototype.slice.call(t,0)},g=function(){return/firefox/i.test(navigator.userAgent)},_=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},w=function(){return/edge/i.test(navigator.userAgent)},x=function(t){return(t||window.location.href).split("#")[0]},b=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,o){var r,i,a;r=t,i={oldUrl:o,newUrl:n},(a=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,i),window.dispatchEvent(a)}))}])},E=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern, mask, clipPath"),y(t.querySelectorAll("symbol")).forEach((function(t){y(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t},N=o.xlink.uri,S=/[{}|\\\^\[\]`"<>]/g;function k(t){return t.replace(S,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var O,A=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],j=A.map((function(t){return"["+t+"]"})).join(","),C=function(t,e,n,o){var r=k(n),i=k(o);(function(t,e){return y(t).reduce((function(t,n){if(!n.attributes)return t;var o=y(n.attributes),r=e?o.filter(e):o;return t.concat(r)}),[])})(t.querySelectorAll(j),(function(t){var e=t.localName,n=t.value;return-1!==A.indexOf(e)&&-1!==n.indexOf("url("+r)})).forEach((function(t){return t.value=t.value.replace(new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,e,n){y(t).forEach((function(t){var o=t.getAttribute("xlink:href");if(o&&0===o.indexOf(e)){var r=o.replace(e,n);t.setAttributeNS(N,"xlink:href",r)}}))}(e,r,i)},M="mount",B="symbol_mount",P=function(t){function e(e){var o=this;void 0===e&&(e={}),t.call(this,n(v,e));var r,i=(r=r||Object.create(null),{on:function(t,e){(r[t]||(r[t]=[])).push(e)},off:function(t,e){r[t]&&r[t].splice(r[t].indexOf(e)>>>0,1)},emit:function(t,e){(r[t]||[]).map((function(t){t(e)})),(r["*"]||[]).map((function(n){n(t,e)}))}});this._emitter=i,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(e),a.syncUrlsWithBaseTag){var u=document.getElementsByTagName("base")[0].getAttribute("href");i.on(M,(function(){return o.updateUrls("#",u)}))}var c=this._handleLocationChange.bind(this);this._handleLocationChange=c,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,c),a.locationChangeAngularEmitter&&b(a.locationChangeEvent),i.on(M,(function(t){a.moveGradientsOutsideSymbol&&E(t)})),i.on(B,(function(t){var e;a.moveGradientsOutsideSymbol&&E(t.parentNode),(_()||w())&&(e=[],y(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})))}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=g())},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,o=e.newUrl;this.updateUrls(n,o)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit(B,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var o="string"==typeof t?document.querySelector(t):t;return n.node=o,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(B,t.node)})),y(o.querySelectorAll("symbol")).forEach((function(t){var e=h.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(M,o),o},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach((function(t){return t.destroy()})),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){if(void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1),this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,o=this.render();return this.node=o,e&&n.childNodes[0]?n.insertBefore(o,n.childNodes[0]):n.appendChild(o),this._emitter.emit(M,o),o},e.prototype.render=function(){return p(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return C(this.node,n,x(t)+"#",x(e)+"#"),!0},Object.defineProperties(e.prototype,o),e}(m),T=t((function(t){var e,n,o,r,i;t.exports=(n=[],o=document,r=o.documentElement.doScroll,(i=(r?/^loaded|^c/:/^loaded|^i|^c/).test(o.readyState))||o.addEventListener("DOMContentLoaded",e=function(){for(o.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),function(t){i?setTimeout(t,0):n.push(t)})}));window.__SVG_SPRITE__?O=window.__SVG_SPRITE__:(O=new P({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=O);var q=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?O.attach(t):O.mount(document.body,!0)};return document.body?q():T(q),O},t.exports=n()}).call(this,n(8))},8:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},9:function(t,e){t.exports=window.wp.components}}); -
nova-blocks/trunk/build/block-library/blocks/post-meta/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-element', 'wp-polyfill', 'wp-server-side-render'), 'version' => '3 05c110ac32b1cc82a2c5a0322a7309a');1 <?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-element', 'wp-polyfill', 'wp-server-side-render'), 'version' => '35e4d4f5d7b376494fc56e9f853290b9'); -
nova-blocks/trunk/build/block-library/blocks/post-meta/index.js
r2738702 r2744078 1 !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1 80)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},14:function(e,t){e.exports=window.wp.serverSideRender},180:function(e,t,r){"use strict";var n=r(0),o=r(1),u=r(5),i=r(4),c=n(r(14)),l=n(r(181));(0,u.registerBlockType)("novablocks/post-meta",{attributes:l.default,edit:function(e){var t=(0,i.useBlockProps)();return(0,o.createElement)("div",t,(0,o.createElement)(c.default,{block:"novablocks/post-meta",attributes:e.attributes}))},save:function(){return!1}})},181:function(e){e.exports=JSON.parse("{}")},4:function(e,t){e.exports=window.wp.blockEditor},5:function(e,t){e.exports=window.wp.blocks}});1 !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=179)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},14:function(e,t){e.exports=window.wp.serverSideRender},179:function(e,t,r){"use strict";var n=r(0),o=r(1),u=r(5),i=r(4),c=n(r(14)),l=n(r(180));(0,u.registerBlockType)("novablocks/post-meta",{attributes:l.default,edit:function(e){var t=(0,i.useBlockProps)();return(0,o.createElement)("div",t,(0,o.createElement)(c.default,{block:"novablocks/post-meta",attributes:e.attributes}))},save:function(){return!1}})},180:function(e){e.exports=JSON.parse("{}")},4:function(e,t){e.exports=window.wp.blockEditor},5:function(e,t){e.exports=window.wp.blocks}}); -
nova-blocks/trunk/build/block-library/blocks/post-navigation/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-element', 'wp-polyfill', 'wp-server-side-render'), 'version' => ' 49cd8a4d73d0ccae3d1a34d30d6d380e');1 <?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-element', 'wp-polyfill', 'wp-server-side-render'), 'version' => '6f4063d960d2e1a3ab0d2baf6a2171f1'); -
nova-blocks/trunk/build/block-library/blocks/post-navigation/index.js
r2738702 r2744078 1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=18 2)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},14:function(e,t){e.exports=window.wp.serverSideRender},182:function(e,t,n){"use strict";var r=n(0),o=n(1),u=n(5),i=n(4),l=r(n(14)),s=r(n(183));(0,u.registerBlockType)("novablocks/post-navigation",{attributes:s.default,edit:function(e){var t=(0,i.useBlockProps)({className:e.className,style:e.style});return(0,o.createElement)("div",t,(0,o.createElement)(l.default,{block:"novablocks/post-navigation",attributes:e.attributes}))},save:function(){return!1}})},183:function(e){e.exports=JSON.parse("{}")},4:function(e,t){e.exports=window.wp.blockEditor},5:function(e,t){e.exports=window.wp.blocks}});1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=181)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},14:function(e,t){e.exports=window.wp.serverSideRender},181:function(e,t,n){"use strict";var r=n(0),o=n(1),u=n(5),i=n(4),l=r(n(14)),s=r(n(182));(0,u.registerBlockType)("novablocks/post-navigation",{attributes:s.default,edit:function(e){var t=(0,i.useBlockProps)({className:e.className,style:e.style});return(0,o.createElement)("div",t,(0,o.createElement)(l.default,{block:"novablocks/post-navigation",attributes:e.attributes}))},save:function(){return!1}})},182:function(e){e.exports=JSON.parse("{}")},4:function(e,t){e.exports=window.wp.blockEditor},5:function(e,t){e.exports=window.wp.blocks}}); -
nova-blocks/trunk/build/block-library/blocks/sharing-overlay/frontend.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('jquery', 'novablocks-icons', 'novablocks-utils', 'wp-i18n', 'wp-polyfill'), 'version' => '0 a51b175fa61808f9945089b47d04078');1 <?php return array('dependencies' => array('jquery', 'novablocks-icons', 'novablocks-utils', 'wp-i18n', 'wp-polyfill'), 'version' => '0e0733e7384330955ebd257d94d0ffef'); -
nova-blocks/trunk/build/block-library/blocks/sharing-overlay/frontend.js
r2738702 r2744078 1 !function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(a,n,function(t){return e[t]}.bind(null,n));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=18 4)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},10:function(e,t){e.exports=window.novablocks.utils},184:function(e,t,r){"use strict";var a=r(0),n=a(r(185)),i=r(10),o=r(37),s=a(r(186)),l=a(r(58)),p=r(3);!function(){var e=(0,n.default)("#wpadminbar");(0,n.default)(".novablocks-sharing").each((function(t,l){var d,c,h,f,m=(0,n.default)(l),b=m.find(".js-sharing-overlay").appendTo("body"),g=m.data(),v=b.find(".novablocks-sharing__wrap"),k=b.find(".novablocks-sharing__content"),j=m.find(".js-sharing-overlay-trigger"),y=j.closest(".wp-block-button"),w=b.find(".novablocks-sharing__close"),z=(0,n.default)("<h".concat(g.headingLevel,">"),{class:"novablocks-sharing__title"}).text((0,p.__)("Sharing Options","nova-blocks")),T=(0,n.default)("<div>",{class:"novablocks-sharing__footer"}).text((0,p.__)("Thanks for spreading the word!","nova-blocks"));function P(){var t=y.length?y:j,r=t.closest(".entry-content, body");b.css({top:"",left:""});var a=r.offset(),n=r.outerWidth()||0,i=a.left,o=b.offset(),s=b.outerHeight()||0,l=b.outerWidth()||0,p=t.offset(),u=v.offset(),d=u.left-o.left,c=i+n-l+d,h=i-d,f=e.outerHeight()||0,m=Math.max(f,Math.min(document.documentElement.scrollHeight-s,p.top)),g=Math.max(h,Math.min(p.left-u.left,c));b.css({top:m,left:g})}j.prepend((0,o.getIcon)("share")),w.prepend((0,o.getIcon)("cancel")),g.showCopy&&k.append(function(e){var t=(0,p.__)("Use a link for everything","nova-blocks"),r=(0,p.__)("Copy link and paste it anywhere you want it.","nova-blocks"),i=(0,n.default)('<input class="novablocks-sharing__copy-input sm-palette-1 sm-variation-1" type="text" value="'.concat(window.location.href,'" readonly />')),s=(0,n.default)('<div class="novablocks-sharing__notification-wrap">'),l=(0,n.default)('<div class="novablocks-sharing__notification">'),d=(0,n.default)('<span class="novablocks-sharing__notification-text">'+(0,p.__)("Link copied to your clipboard","nova-blocks")+"</span>"),c=(0,n.default)('<span class="novablocks-sharing__notification-icon">').append((0,o.getIcon)("tick"));l.append(c).append(d),l.appendTo(s);var h=a([{label:(0,p.__)("Copy link to clipboard","nova-blocks"),url:"#",icon:"link",classes:"novablocks-sharing__link--copy",callback:function(){var e,t=i.get(0);s.removeClass("novablocks-sharing__notification--visible"),t.focus(),t.setSelectionRange(0,t.value.length),t.blur();try{e=document.execCommand("copy")}catch(t){e=!1}e&&setTimeout((function(){s.addClass("novablocks-sharing__notification--visible")}),0)}}]),f=h.get(0).querySelector(".novablocks-sharing__link");f&&(f.dataset.colorSignal=2,f.dataset.palette=2,f.dataset.paletteVariation=1,f.dataset.useSourceColorAsReference=!0);return u({id:"copy-link",title:t,description:r,content:i.add(h).add(s)},e)}(g)),g.showSharePrivately&&k.append(function(e){var t=e.title,r=e.url,n=[];(0,i.isMobileDevice)()&&n.push({label:"Messenger",url:"#",icon:"messenger"});return n.push({label:"Email",url:"mailto:?subject=".concat(t,"&body=").concat(r),icon:"email"}),u({id:"private",title:(0,p.__)("Share privately with friends","nova-blocks"),description:"",content:a(n)},e)}(g)),g.showSocialIcons&&k.append((d=g,c=(0,n.default)("<div>"),h=d.title,f=d.url,new s.default(c,{orientation:"vertical",title:h,url:f,services:r(d),lang:"en"}),function(e,t){var r=e.find("ul").removeAttr("class").addClass("novablocks-sharing__list");return e.find(".".concat("shariff-button")).toArray().reduce((function(e,t){var a=(0,n.default)(t),s=a.attr("class").split(/\s+/).find((function(e){return"shariff-button"!==e})),l=a.find("a").addClass("novablocks-sharing__link"),p=(0,n.default)('<div class="novablocks-sharing__link-label">').text((0,i.titleCase)(s)),u=(0,n.default)('<div class="novablocks-sharing__link-icon">').clone(),d=a.addClass("novablocks-sharing__list-item"),c=(0,o.getIcon)(s)||(0,o.getIcon)("share");return u.html(c),l.empty().append(u).append(p),d.appendTo(r),e[s]=l,e}),{}),u({id:"public",title:(0,p.__)("Share publicly on social networks","nova-blocks"),description:"",content:r},t)}(c,d))),g.showShareInPerson&&k.append(function(e){var t=[{label:"Print",url:"#",icon:"printer",callback:function(){window.print()}}];0;return u({id:"in-person",title:(0,p.__)("Or maybe you want in person?","nova-blocks"),description:"",content:a(t)},e)}(g)),z.prependTo(k),T.appendTo(k);var x=(0,i.debounce)(P,100);function C(){k.find(".novablocks-sharing__notification--visible").removeClass("novablocks-sharing__notification--visible"),b.removeClass("is-visible")}(0,n.default)(window).on("resize",x),j.on("click",(function(){b.addClass("is-visible"),P()})),w.on("click",(function(e){C()})),j.add(v).on("click",(function(e){e.stopPropagation()})),(0,n.default)("body").on("click",(function(e){C()}))}));var t=new Event("nb:updateColors");function r(e){return l.default.filter((function(t){var r=t.charAt(0).toUpperCase()+t.slice(1),a="show".concat(r);return!!e[a]}))}function a(e){var t=(0,n.default)('<div class="novablocks-sharing__list">');return e.forEach((function(e){var r,a=e.label,i=e.url,s=e.callback,l=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"share",a=arguments.length>3?arguments[3]:void 0,i=(0,n.default)('<a class="novablocks-sharing__link" />').attr("href",t).addClass(a),s=(0,n.default)('<div class="novablocks-sharing__link-label" />').text(e),l=(0,n.default)('<div class="novablocks-sharing__link-icon" />');return l.html((0,o.getIcon)(r)),i.append(l).append(s),i}(a,i,e.icon,e.classes);"function"==typeof s&&l.on("click",(function(e){e.stopPropagation(),e.preventDefault(),s()})),(r=l,(0,n.default)('<div class="novablocks-sharing__list-item">').append(r)).appendTo(t)})),t}function u(e,t){var r=e.id,a=e.title,i=e.description,o=e.content,s=(0,n.default)('<div class="'.concat("novablocks-sharing__group"," ").concat("novablocks-sharing__group","--").concat(r,'">'));return function(e){var t=e.headingLevel;return(0,n.default)("<h".concat(t+1,' class="novablocks-sharing__group-title" />'))}(t).text(a).appendTo(s),(0,n.default)('<div class="novablocks-sharing__group-description">').text(i).appendTo(s),(0,n.default)('<div class="novablocks-sharing__group-content">').append(o).appendTo(s),s}window.dispatchEvent(t)}()},185:function(e,t){e.exports=window.jQuery},186:function(e,t,r){"use strict";(function(t){const a=r(187),n=r(188),i=r(40),o={theme:"color",backendUrl:null,infoUrl:"http://ct.de/-2467514",infoDisplay:"blank",lang:"de",langFallback:"en",mailUrl:function(){var e=i.parse(this.getURL(),!0);return e.query.view="mail",delete e.search,i.format(e)},mailBody:function(){return this.getURL()},mediaUrl:null,orientation:"horizontal",buttonStyle:"standard",referrerTrack:null,services:["twitter","facebook","info"],title:t.document.title,twitterVia:null,flattrUser:null,flattrCategory:null,url:function(){var e=t.document.location.href,r=a("link[rel=canonical]").attr("href")||this.getMeta("og:url")||"";return r.length>0&&(r.indexOf("http")<0&&(r=0!==r.indexOf("//")?t.document.location.protocol+"//"+t.document.location.host+r:t.document.location.protocol+r),e=r),e}};class s{constructor(e,t){this.element=e,a(e).empty(),this.options=a.extend({},o,t,a(e).data()),this.services=Object.keys(n).filter(e=>this.isEnabledService(e)).sort((e,t)=>{let r=this.options.services;return r.indexOf(e)-r.indexOf(t)}).map(e=>n[e](this)),this._addButtonList(),null!==this.options.backendUrl&&"icon"!==this.options.buttonStyle&&this.getShares(this._updateCounts.bind(this))}isEnabledService(e){return this.options.services.indexOf(e)>-1}$socialshareElement(){return a(this.element)}getLocalized(e,t){return"object"==typeof e[t]?void 0===e[t][this.options.lang]?e[t][this.options.langFallback]:e[t][this.options.lang]:"string"==typeof e[t]?e[t]:void 0}getMeta(e){return a(`meta[name="${e}"],[property="${e}"]`).attr("content")||""}getInfoUrl(){return this.options.infoUrl}getInfoDisplayPopup(){return"popup"===this.options.infoDisplay}getInfoDisplayBlank(){return"popup"!==this.options.infoDisplay&&"self"!==this.options.infoDisplay}getURL(){return this.getOption("url")}getOption(e){var t=this.options[e];return"function"==typeof t?t.call(this):t}getTitle(){let e=this.getOption("title");if(a(this.element).data().title)return e;e=e||this.getMeta("DC.title");let t=this.getMeta("DC.creator");return e&&t?`${e} - ${t}`:e}getReferrerTrack(){return this.options.referrerTrack||""}getShares(e){var t=i.parse(this.options.backendUrl,!0);return t.query.url=this.getURL(),delete t.search,a.getJSON(i.format(t),e)}_updateCounts(e,t,r){e&&a.each(e,(e,t)=>{this.isEnabledService(e)&&(t>=1e3&&(t=Math.round(t/1e3)+"k"),a(this.element).find(`.${e} a`).append(a("<span/>").addClass("share_count").text(t)))})}_addButtonList(){var e=a("<ul/>").addClass(["theme-"+this.options.theme,"orientation-"+this.options.orientation,"button-style-"+this.options.buttonStyle,"shariff-col-"+this.options.services.length].join(" "));this.services.forEach(t=>{var r=a("<li/>").addClass("shariff-button "+t.name),n=a("<a/>").attr("href",t.shareUrl);if("standard"===this.options.buttonStyle){var i=a("<span/>").addClass("share_text").text(this.getLocalized(t,"shareText"));n.append(i)}void 0!==t.faPrefix&&void 0!==t.faName&&n.prepend(a("<span/>").addClass(`${t.faPrefix} ${t.faName}`)),t.popup?(n.attr("data-rel","popup"),"info"!==t.name&&n.attr("rel","nofollow")):t.blank?(n.attr("target","_blank"),"info"===t.name?n.attr("rel","noopener noreferrer"):n.attr("rel","nofollow noopener noreferrer")):"info"!==t.name&&n.attr("rel","nofollow"),n.attr("title",this.getLocalized(t,"title")),n.attr("role","button"),n.attr("aria-label",this.getLocalized(t,"title")),r.append(n),e.append(r)}),e.on("click",'[data-rel="popup"]',(function(e){e.preventDefault();var r=a(this).attr("href");if(r.match(/twitter\.com\/intent\/(\w+)/)){var n=t.window;if(n.__twttr&&n.__twttr.widgets&&n.__twttr.widgets.loaded)return}t.window.open(r,"_blank","width=600,height=460")})),this.$socialshareElement().append(e)}}e.exports=s,t.Shariff=s,a((function(){a(".shariff").each((function(){this.hasOwnProperty("shariff")||(this.shariff=new s(this))}))}))}).call(this,r(8))},187:function(e,t,r){"use strict";function a(e,t){var r=[];return t=t||document,"function"==typeof e?(t.attachEvent?"complete"===t.readyState:"loading"!==t.readyState)?e():t.addEventListener("DOMContentLoaded",e):r=e instanceof Element?[e]:"string"==typeof e?"<"===e[0]?Array.prototype.slice.call(u(e)):Array.prototype.slice.call(t.querySelectorAll(e)):e,new n(r,t)}function n(e,t){this.length=e.length,this.context=t;var r=this;p(e,(function(e){r[e]=this}))}"function"!=typeof Object.assign&&(Object.assign=function(e,t){if(null===e)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(e),a=1;a<arguments.length;a++){var n=arguments[a];if(null!==n)for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r}),n.prototype.each=function(e){for(var t=this.length-1;t>=0;t--)e.call(this[t],t,this[t]);return this},n.prototype.empty=function(){return this.each(s)},n.prototype.text=function(e){return void 0===e?this[0].textContent:this.each((function(){this.textContent=e}))},n.prototype.attr=function(e,t){return this.length<1?null:void 0===t?this[0].getAttribute(e):this.each((function(){this.setAttribute(e,t)}))},n.prototype.data=function(e,t){if(t)return this.attr("data-"+e,t);if(e)return this.attr("data-"+e);var r=Object.assign({},this[0].dataset);return p(r,(function(e,t){r[e]=b(t)})),r},n.prototype.find=function(e){var t;return t=l(this,(function(t){return t.querySelectorAll(e)})),t=l(t,(function(e){return Array.prototype.slice.call(e)})),new n(t=Array.prototype.concat.apply([],t))},n.prototype.append=function(e){return"string"==typeof e&&(e=u(e)),d(this[0],e),this},n.prototype.prepend=function(e){return"string"==typeof e&&(e=u(e)),c(this[0],e),this},n.prototype.addClass=function(e){return this.each((function(){e.split(" ").forEach(e=>{this.classList.add(e)})}))},n.prototype.removeClass=function(e){return this.each((function(){this.classList.remove(e)}))},n.prototype.on=function(e,t,r){return this.each((function(){f(t,e,r,this)}))};var i,o,s=function(){for(;this.hasChildNodes();)this.removeChild(this.firstChild)},l=function(e,t){return Array.prototype.map.call(e,t)},p=function(e,t){if(e instanceof Array)for(var r=0;r<e.length;r++)t.call(e[r],r,e[r]);else if(e instanceof Object)for(var a in e)t.call(e[a],a,e[a],e);return e},u=function(e){var t=document.createElement("div");return t.innerHTML=e,t.children},d=function(e,t){for(var r=0;r<t.length;r++)e.appendChild(t[r])},c=function(e,t){for(var r=t.length-1;r>=0;r--)e.insertBefore(t[t.length-1],e.firstChild)},h=(i=HTMLElement.prototype,o=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector,function e(t,r){if(null!==t)return o.call(t,r)?t:e(t.parentElement,r)}),f=function(e,t,r,a){(a||document).addEventListener(t,(function(t){var a=h(t.target,e);a&&r.call(a,t)}))},m=function(e){var t={},r=!1,a=0,n=arguments.length;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(r=arguments[0],a++);for(var i=function(e){for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r&&"[object Object]"===Object.prototype.toString.call(e[a])?t[a]=m(!0,t[a],e[a]):t[a]=e[a])};a<n;a++){var o=arguments[a];i(o)}return t},b=function(e){if("true"===e)return!0;if("false"===e)return!1;if("null"===e)return null;if(+e+""===e)return+e;if(/^[[{]/.test(e))try{return JSON.parse(e)}catch(t){return e}return e};a.extend=m,a.map=l,a.each=p,a.getJSON=function(e,t){var r=new XMLHttpRequest;r.open("GET",e,!0),r.setRequestHeader("Content-Type","application/json"),r.setRequestHeader("Accept","application/json"),r.onload=function(){if(r.status>=200&&r.status<400){var e=JSON.parse(r.responseText);t(e,r.status,r)}else t(null,r.status,r)},r.onerror=function(e){t(new Error(e),null,r)},r.send()},e.exports=a},188:function(e,t,r){e.exports={addthis:r(189),buffer:r(190),diaspora:r(191),facebook:r(198),flattr:r(199),flipboard:r(200),info:r(201),linkedin:r(202),mail:r(203),pinterest:r(204),pocket:r(205),print:r(206),qzone:r(207),reddit:r(208),stumbleupon:r(209),telegram:r(210),tencent:r(211),threema:r(212),tumblr:r(213),twitter:r(214),vk:r(215),weibo:r(216),whatsapp:r(217),xing:r(218)}},189:function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"addthis",faPrefix:"fas",faName:"fa-plus",title:{bg:"Сподели в AddThis",cs:"Sdílet na AddThis",da:"Del på AddThis",de:"Bei AddThis teilen",en:"Share on AddThis",es:"Compartir en AddThis",fi:"Jaa AddThisissä",fr:"Partager sur AddThis",hr:"Podijelite na AddThis",hu:"Megosztás AddThisen",it:"Condividi su AddThis",ja:"AddThis上で共有",ko:"AddThis에서 공유하기",nl:"Delen op AddThis",no:"Del på AddThis",pl:"Udostępnij przez AddThis",pt:"Compartilhar no AddThis",ro:"Partajează pe AddThis",ru:"Поделиться на AddThis",sk:"Zdieľať na AddThis",sl:"Deli na AddThis",sr:"Podeli na AddThis",sv:"Dela på AddThis",tr:"AddThis'ta paylaş",zh:"在AddThis上分享"},shareUrl:"http://api.addthis.com/oexchange/0.8/offer?url="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},190:function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL());return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"buffer",faPrefix:"fab",faName:"fa-buffer",title:{bg:"Сподели в buffer",cs:"Sdílet na buffer",da:"Del på buffer",de:"Bei buffer teilen",en:"Share on buffer",es:"Compartir en buffer",fi:"Jaa bufferissä",fr:"Partager sur buffer",hr:"Podijelite na buffer",hu:"Megosztás bufferen",it:"Condividi su buffer",ja:"buffer上で共有",ko:"buffer에서 공유하기",nl:"Delen op buffer",no:"Del på buffer",pl:"Udostępnij przez buffer",pt:"Compartilhar no buffer",ro:"Partajează pe buffer",ru:"Поделиться на buffer",sk:"Zdieľať na buffer",sl:"Deli na buffer",sr:"Podeli na buffer",sv:"Dela på buffer",tr:"buffer'ta paylaş",zh:"在buffer上分享"},shareUrl:"https://buffer.com/add?text="+encodeURIComponent(e.getTitle())+"&url="+t+e.getReferrerTrack()}}},191:function(e,t,r){"use strict";var a=r(40);e.exports=function(e){var t=a.parse("https://share.diasporafoundation.org/",!0);return t.query.url=e.getURL(),t.query.title=e.getTitle(),t.protocol="https",delete t.search,{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"diaspora",faPrefix:"fas",faName:"fa-asterisk",title:{bg:"Сподели в diaspora*",cs:"Sdílet na diaspora*",da:"Del på diaspora*",de:"Bei diaspora* teilen",en:"Share on diaspora*",es:"Compartir en diaspora*",fi:"Jaa Diasporaissä",fr:"Partager sur diaspora*",hr:"Podijelite na diaspora*",hu:"Megosztás diaspora*",it:"Condividi su diaspora*",ja:"diaspora*上で共有",ko:"diaspora*에서 공유하기",nl:"Delen op diaspora*",no:"Del på diaspora*",pl:"Udostępnij przez diaspora*",pt:"Compartilhar no diaspora*",ro:"Partajează pe diaspora*",ru:"Поделиться на diaspora*",sk:"Zdieľať na diaspora*",sl:"Deli na diaspora*",sr:"Podeli na diaspora*-u",sv:"Dela på diaspora*",tr:"diaspora*'ta paylaş",zh:"分享至diaspora*"},shareUrl:a.format(t)+e.getReferrerTrack()}}},192:function(e,t,r){(function(e,a){var n;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(i){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof a&&a;o.global!==o&&o.window!==o&&o.self;var s,l=2147483647,p=/^xn--/,u=/[^\x20-\x7E]/,d=/[\x2E\u3002\uFF0E\uFF61]/g,c={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,f=String.fromCharCode;function m(e){throw new RangeError(c[e])}function b(e,t){for(var r=e.length,a=[];r--;)a[r]=t(e[r]);return a}function g(e,t){var r=e.split("@"),a="";return r.length>1&&(a=r[0]+"@",e=r[1]),a+b((e=e.replace(d,".")).split("."),t).join(".")}function v(e){for(var t,r,a=[],n=0,i=e.length;n<i;)(t=e.charCodeAt(n++))>=55296&&t<=56319&&n<i?56320==(64512&(r=e.charCodeAt(n++)))?a.push(((1023&t)<<10)+(1023&r)+65536):(a.push(t),n--):a.push(t);return a}function k(e){return b(e,(function(e){var t="";return e>65535&&(t+=f((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=f(e)})).join("")}function j(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function y(e,t,r){var a=0;for(e=r?h(e/700):e>>1,e+=h(e/t);e>455;a+=36)e=h(e/35);return h(a+36*e/(e+38))}function w(e){var t,r,a,n,i,o,s,p,u,d,c,f=[],b=e.length,g=0,v=128,j=72;for((r=e.lastIndexOf("-"))<0&&(r=0),a=0;a<r;++a)e.charCodeAt(a)>=128&&m("not-basic"),f.push(e.charCodeAt(a));for(n=r>0?r+1:0;n<b;){for(i=g,o=1,s=36;n>=b&&m("invalid-input"),((p=(c=e.charCodeAt(n++))-48<10?c-22:c-65<26?c-65:c-97<26?c-97:36)>=36||p>h((l-g)/o))&&m("overflow"),g+=p*o,!(p<(u=s<=j?1:s>=j+26?26:s-j));s+=36)o>h(l/(d=36-u))&&m("overflow"),o*=d;j=y(g-i,t=f.length+1,0==i),h(g/t)>l-v&&m("overflow"),v+=h(g/t),g%=t,f.splice(g++,0,v)}return k(f)}function z(e){var t,r,a,n,i,o,s,p,u,d,c,b,g,k,w,z=[];for(b=(e=v(e)).length,t=128,r=0,i=72,o=0;o<b;++o)(c=e[o])<128&&z.push(f(c));for(a=n=z.length,n&&z.push("-");a<b;){for(s=l,o=0;o<b;++o)(c=e[o])>=t&&c<s&&(s=c);for(s-t>h((l-r)/(g=a+1))&&m("overflow"),r+=(s-t)*g,t=s,o=0;o<b;++o)if((c=e[o])<t&&++r>l&&m("overflow"),c==t){for(p=r,u=36;!(p<(d=u<=i?1:u>=i+26?26:u-i));u+=36)w=p-d,k=36-d,z.push(f(j(d+w%k,0))),p=h(w/k);z.push(f(j(p,0))),i=y(r,g,a==n),r=0,++a}++r,++t}return z.join("")}s={version:"1.4.1",ucs2:{decode:v,encode:k},decode:w,encode:z,toASCII:function(e){return g(e,(function(e){return u.test(e)?"xn--"+z(e):e}))},toUnicode:function(e){return g(e,(function(e){return p.test(e)?w(e.slice(4).toLowerCase()):e}))}},void 0===(n=function(){return s}.call(t,r,t,e))||(e.exports=n)}()}).call(this,r(193)(e),r(8))},193:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},194:function(e,t,r){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},195:function(e,t,r){"use strict";t.decode=t.parse=r(196),t.encode=t.stringify=r(197)},196:function(e,t,r){"use strict";function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,i){t=t||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var s=/\+/g;e=e.split(t);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var p=e.length;l>0&&p>l&&(p=l);for(var u=0;u<p;++u){var d,c,h,f,m=e[u].replace(s,"%20"),b=m.indexOf(r);b>=0?(d=m.substr(0,b),c=m.substr(b+1)):(d=m,c=""),h=decodeURIComponent(d),f=decodeURIComponent(c),a(o,h)?n(o[h])?o[h].push(f):o[h]=[o[h],f]:o[h]=f}return o};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},197:function(e,t,r){"use strict";var a=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?i(o(e),(function(o){var s=encodeURIComponent(a(o))+r;return n(e[o])?i(e[o],(function(e){return s+encodeURIComponent(a(e))})).join(t):s+encodeURIComponent(a(e[o]))})).join(t):s?encodeURIComponent(a(s))+r+encodeURIComponent(a(e)):""};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(e,t){if(e.map)return e.map(t);for(var r=[],a=0;a<e.length;a++)r.push(t(e[a],a));return r}var o=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},198:function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"facebook",faPrefix:"fab",faName:"fa-facebook-f",title:{bg:"Сподели във Facebook",cs:"Sdílet na Facebooku",da:"Del på Facebook",de:"Bei Facebook teilen",en:"Share on Facebook",es:"Compartir en Facebook",fi:"Jaa Facebookissa",fr:"Partager sur Facebook",hr:"Podijelite na Facebooku",hu:"Megosztás Facebookon",it:"Condividi su Facebook",ja:"フェイスブック上で共有",ko:"페이스북에서 공유하기",nl:"Delen op Facebook",no:"Del på Facebook",pl:"Udostępnij na Facebooku",pt:"Compartilhar no Facebook",ro:"Partajează pe Facebook",ru:"Поделиться на Facebook",sk:"Zdieľať na Facebooku",sl:"Deli na Facebooku",sr:"Podeli na Facebook-u",sv:"Dela på Facebook",tr:"Facebook'ta paylaş",zh:"在Facebook上分享"},shareUrl:"https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},199:function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=e.getTitle(),a=e.getMeta("description");return{popup:!0,shareText:"Flattr",name:"flattr",faPrefix:"far",faName:"fa-money-bill-alt",title:{de:"Artikel flattrn",en:"Flattr this"},shareUrl:"https://flattr.com/submit/auto?title="+encodeURIComponent(r)+"&description="+encodeURIComponent(a)+"&category="+encodeURIComponent(e.options.flattrCategory||"text")+"&user_id="+encodeURIComponent(e.options.flattrUser)+"&url="+t+e.getReferrerTrack()}}},200:function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL());return{popup:!0,shareText:"flip it",name:"flipboard",faPrefix:"fab",faName:"fa-flipboard",title:{bg:"Сподели в Flipboard",cs:"Sdílet na Flipboardu",da:"Del på Flipboard",de:"Bei Flipboard teilen",en:"Share on Flipboard",es:"Compartir en Flipboard",fi:"Jaa Flipboardissä",fr:"Partager sur Flipboard",hr:"Podijelite na Flipboardu",hu:"Megosztás Flipboardon",it:"Condividi su Flipboard",ja:"Flipboard上で共有",ko:"Flipboard에서 공유하기",nl:"Delen op Flipboard",no:"Del på Flipboard",pl:"Udostępnij na Flipboardu",pt:"Compartilhar no Flipboard",ro:"Partajează pe Flipboard",ru:"Поделиться на Flipboard",sk:"Zdieľať na Flipboardu",sl:"Deli na Flipboardu",sr:"Podeli na Flipboard-u",sv:"Dela på Flipboard",tr:"Flipboard'ta paylaş",zh:"在Flipboard上分享"},shareUrl:"https://share.flipboard.com/bookmarklet/popout?v=2&title="+encodeURIComponent(e.getTitle())+"&url="+t+e.getReferrerTrack()}}},201:function(e,t,r){"use strict";e.exports=function(e){return{blank:e.getInfoDisplayBlank(),popup:e.getInfoDisplayPopup(),shareText:"Info",name:"info",faPrefix:"fas",faName:"fa-info",title:{bg:"Повече информация",cs:"Více informací",da:"Flere oplysninger",de:"Weitere Informationen",en:"More information",es:"Más informaciones",fi:"Lisätietoja",fr:"Plus d'informations",hr:"Više informacija",hu:"Több információ",it:"Maggiori informazioni",ja:"詳しい情報",ko:"추가 정보",nl:"Verdere informatie",no:"Mer informasjon",pl:"Więcej informacji",pt:"Mais informações",ro:"Mai multe informatii",ru:"Больше информации",sk:"Viac informácií",sl:"Več informacij",sr:"Više informacija",sv:"Mer information",tr:"Daha fazla bilgi",zh:"更多信息"},shareUrl:e.getInfoUrl()}}},202:function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=encodeURIComponent(e.getTitle());return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"mitteilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"シェア",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"distribuiți",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"linkedin",faPrefix:"fab",faName:"fa-linkedin-in",title:{bg:"Сподели в LinkedIn",cs:"Sdílet na LinkedIn",da:"Del på LinkedIn",de:"Bei LinkedIn teilen",en:"Share on LinkedIn",es:"Compartir en LinkedIn",fi:"Jaa LinkedInissä",fr:"Partager sur LinkedIn",hr:"Podijelite na LinkedIn",hu:"Megosztás LinkedInen",it:"Condividi su LinkedIn",ja:"LinkedIn上で共有",ko:"LinkedIn에서 공유하기",nl:"Delen op LinkedIn",no:"Del på LinkedIn",pl:"Udostępnij przez LinkedIn",pt:"Compartilhar no LinkedIn",ro:"Partajează pe LinkedIn",ru:"Поделиться на LinkedIn",sk:"Zdieľať na LinkedIn",sl:"Deli na LinkedIn",sr:"Podeli na LinkedIn-u",sv:"Dela på LinkedIn",tr:"LinkedIn'ta paylaş",zh:"在LinkedIn上分享"},shareUrl:"https://www.linkedin.com/shareArticle?mini=true&summary="+encodeURIComponent(e.getMeta("description"))+"&title="+r+"&url="+t}}},203:function(e,t,r){"use strict";e.exports=function(e){var t=e.getOption("mailUrl");return 0===t.indexOf("mailto:")&&(t+="?subject="+encodeURIComponent(e.getOption("mailSubject")||e.getTitle()),t+="&body="+encodeURIComponent(e.getOption("mailBody").replace(/\{url\}/i,e.getURL()))),{blank:0===t.indexOf("http"),popup:!1,shareText:{en:"mail",zh:"分享"},name:"mail",faPrefix:"fas",faName:"fa-envelope",title:{bg:"Изпрати по имейл",cs:"Poslat mailem",da:"Sende via e-mail",de:"Per E-Mail versenden",en:"Send by email",es:"Enviar por email",fi:"Lähetä sähköpostitse",fr:"Envoyer par courriel",hr:"Pošaljite emailom",hu:"Elküldés e-mailben",it:"Inviare via email",ja:"電子メールで送信",ko:"이메일로 보내기",nl:"Sturen via e-mail",no:"Send via epost",pl:"Wyślij e-mailem",pt:"Enviar por e-mail",ro:"Trimite prin e-mail",ru:"Отправить по эл. почте",sk:"Poslať e-mailom",sl:"Pošlji po elektronski pošti",sr:"Pošalji putem email-a",sv:"Skicka via e-post",tr:"E-posta ile gönder",zh:"通过电子邮件传送"},shareUrl:t}}},204:function(e,t,r){"use strict";var a=r(40);e.exports=function(e){var t=e.getTitle(),r=e.getMeta("DC.creator");r.length>0&&(t+=" - "+r);var n=e.getOption("mediaUrl");(!n||n.length<=0)&&(n=e.getMeta("og:image"));var i=a.parse("https://www.pinterest.com/pin/create/link/",!0);return i.query.url=e.getURL(),i.query.media=n,i.query.description=t,delete i.search,{popup:!0,shareText:"pin it",name:"pinterest",faPrefix:"fab",faName:"fa-pinterest-p",title:{bg:"Сподели в Pinterest",cs:"Přidat na Pinterest",da:"Del på Pinterest",de:"Bei Pinterest pinnen",en:"Pin it on Pinterest",es:"Compartir en Pinterest",fi:"Jaa Pinterestissä",fr:"Partager sur Pinterest",hr:"Podijelite na Pinterest",hu:"Megosztás Pinteresten",it:"Condividi su Pinterest",ja:"Pinterest上で共有",ko:"Pinterest에서 공유하기",nl:"Delen op Pinterest",no:"Del på Pinterest",pl:"Udostępnij przez Pinterest",pt:"Compartilhar no Pinterest",ro:"Partajează pe Pinterest",ru:"Поделиться на Pinterest",sk:"Zdieľať na Pinterest",sl:"Deli na Pinterest",sr:"Podeli na Pinterest-u",sv:"Dela på Pinterest",tr:"Pinterest'ta paylaş",zh:"分享至Pinterest"},shareUrl:a.format(i)+e.getReferrerTrack()}}},205:function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL());return{popup:!0,shareText:"Pocket",name:"pocket",faPrefix:"fab",faName:"fa-get-pocket",title:{bg:"Запазване в Pocket",cs:"Uložit do Pocket",da:"Gem i Pocket",de:"In Pocket speichern",en:"Save to Pocket",es:"Guardar en Pocket",fi:"Tallenna kohtaan Pocket",fr:"Enregistrer dans Pocket",hr:"Spremi u Pocket",hu:'Mentés "Pocket"-be',it:"Salva in Pocket",ja:"「ポケット」に保存",ko:"Pocket에 저장",nl:"Opslaan in Pocket",no:"Lagre i Pocket",pl:"Zapisz w Pocket",pt:"Salvar em Pocket",ro:"Salvați în Pocket",ru:"Сохранить в Pocket",sk:"Uložiť do priečinka Pocket",sl:"Shrani v Pocket",sr:"Sačuvaj u Pocket",sv:"Spara till Pocket",tr:"Pocket e kaydet",zh:"保存到Pocket"},shareUrl:"https://getpocket.com/save?title="+encodeURIComponent(e.getTitle())+"&url="+t+e.getReferrerTrack()}}},206:function(e,t,r){"use strict";e.exports=function(e){return{name:"print",faPrefix:"fas",faName:"fa-print",popup:!1,shareText:{bg:"",cs:"tlačit",da:"",de:"drucken",en:"print",es:"impresión",fi:"",fr:"imprimer",hr:"",hu:"",it:"stampa",ja:"",ko:"",nl:"afdrukken",no:"",pl:"drukuj",pt:"",ro:"",ru:"Распечатать",sk:"",sl:"",sr:"",sv:"",tr:"",zh:""},title:{bg:"",cs:"tlačit",da:"",de:"drucken",en:"print",es:"impresión",fi:"",fr:"imprimer",hr:"",hu:"",it:"stampa",ja:"",ko:"",nl:"afdrukken",no:"",pl:"drukuj",pt:"",ro:"",ru:"Распечатать",sk:"",sl:"",sr:"",sv:"",tr:"",zh:""},shareUrl:"javascript:window.print();"}}},207:function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"qzone",faPrefix:"fab",faName:"fa-qq",title:{bg:"Сподели в Qzone",cs:"Sdílet na Qzone",da:"Del på Qzone",de:"Bei Qzone teilen",en:"Share on Qzone",es:"Compartir en Qzone",fi:"Jaa Qzoneissä",fr:"Partager sur Qzone",hr:"Podijelite na Qzone",hu:"Megosztás Qzone",it:"Condividi su Qzone",ja:"Qzone上で共有",ko:"Qzone에서 공유하기",nl:"Delen op Qzone",no:"Del på Qzone",pl:"Udostępnij przez Qzone",pt:"Compartilhar no Qzone",ro:"Partajează pe Qzone",ru:"Поделиться на Qzone",sk:"Zdieľať na Qzone",sl:"Deli na Qzone",sr:"Podeli na Qzone-u",sv:"Dela på Qzone",tr:"Qzone'ta paylaş",zh:"分享至QQ空间"},shareUrl:"http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url="+encodeURIComponent(e.getURL())+"&title="+e.getTitle()+e.getReferrerTrack()}}},208:function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=encodeURIComponent(e.getTitle());return""!==r&&(r="&title="+r),{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"reddit",faPrefix:"fab",faName:"fa-reddit-alien",title:{bg:"Сподели в Reddit",cs:"Sdílet na Redditu",da:"Del på Reddit",de:"Bei Reddit teilen",en:"Share on Reddit",es:"Compartir en Reddit",fi:"Jaa Redditissä",fr:"Partager sur Reddit",hr:"Podijelite na Reddit",hu:"Megosztás Redditen",it:"Condividi su Reddit",ja:"Reddit上で共有",ko:"Reddit에서 공유하기",nl:"Delen op Reddit",no:"Del på Reddit",pl:"Udostępnij przez Reddit",pt:"Compartilhar no Reddit",ro:"Partajează pe Reddit",ru:"Поделиться на Reddit",sk:"Zdieľať na Reddit",sl:"Deli na Reddit",sr:"Podeli na Reddit-u",sv:"Dela på Reddit",tr:"Reddit'ta paylaş",zh:"分享至Reddit"},shareUrl:"https://reddit.com/submit?url="+t+r+e.getReferrerTrack()}}},209:function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=encodeURIComponent(e.getTitle());return""!==r&&(r="&title="+r),{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"stumbleupon",faPrefix:"fab",faName:"fa-stumbleupon",title:{bg:"Сподели в Stumbleupon",cs:"Sdílet na Stumbleuponu",da:"Del på Stumbleupon",de:"Bei Stumbleupon teilen",en:"Share on Stumbleupon",es:"Compartir en Stumbleupon",fi:"Jaa Stumbleuponissä",fr:"Partager sur Stumbleupon",hr:"Podijelite na Stumbleupon",hu:"Megosztás Stumbleupon",it:"Condividi su Stumbleupon",ja:"Stumbleupon上で共有",ko:"Stumbleupon에서 공유하기",nl:"Delen op Stumbleupon",no:"Del på Stumbleupon",pl:"Udostępnij przez Stumbleupon",pt:"Compartilhar no Stumbleupon",ro:"Partajează pe Stumbleupon",ru:"Поделиться на Stumbleupon",sk:"Zdieľať na Stumbleupon",sl:"Deli na Stumbleupon",sr:"Podeli na Stumbleupon-u",sv:"Dela på Stumbleupon",tr:"Stumbleupon'ta paylaş",zh:"分享至Stumbleupon"},shareUrl:"https://www.stumbleupon.com/submit?url="+t+r+e.getReferrerTrack()}}},210:function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"telegram",faPrefix:"fab",faName:"fa-telegram",title:{bg:"Сподели в Telegram",cs:"Sdílet na Telegramu",da:"Del på Telegram",de:"Bei Telegram teilen",en:"Share on Telegram",es:"Compartir en Telegram",fi:"Jaa Telegramissä",fr:"Partager sur Telegram",hr:"Podijelite na Telegram",hu:"Megosztás Telegramen",it:"Condividi su Telegram",ja:"Telegram上で共有",ko:"Telegram에서 공유하기",nl:"Delen op Telegram",no:"Del på Telegram",pl:"Udostępnij przez Telegram",pt:"Compartilhar no Telegram",ro:"Partajează pe Telegram",ru:"Поделиться на Telegram",sk:"Zdieľať na Telegram",sl:"Deli na Telegram",sr:"Podeli na Telegram-u",sv:"Dela på Telegram",tr:"Telegram'ta paylaş",zh:"在Telegram上分享"},shareUrl:"https://t.me/share/url?url="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},211:function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"tencent-weibo",faPrefix:"fab",faName:"fa-tencent-weibo",title:{bg:"Сподели в tencent weibo",cs:"Sdílet na tencent weibo",da:"Del på tencent weibo",de:"Bei tencent weibo teilen",en:"Share on tencent weibo",es:"Compartir en tencent weibo",fi:"Jaa tencent weiboissä",fr:"Partager sur tencent weibo",hr:"Podijelite na tencent weibo",hu:"Megosztás tencent weiboen",it:"Condividi su tencent weibo",ja:"Tencent weibo上で共有",ko:"Tencent weibo에서 공유하기",nl:"Delen op tencent weibo",no:"Del på tencent weibo",pl:"Udostępnij przez tencent weibo",pt:"Compartilhar no tencent weibo",ro:"Partajează pe tencent weibo",ru:"Поделиться на tencent weibo",sk:"Zdieľať na tencent weibo",sl:"Deli na tencent weibo",sr:"Podeli na tencent weibo-u",sv:"Dela på tencent weibo",tr:"Tencent weibo'ta paylaş",zh:"分享至腾讯微博"},shareUrl:"http://v.t.qq.com/share/share.php?url="+encodeURIComponent(e.getURL())+"&title="+e.getTitle()+e.getReferrerTrack()}}},212:function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=e.getTitle();return{popup:!1,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"threema",faPrefix:"fas",faName:"fa-lock",title:{bg:"Сподели в Threema",cs:"Sdílet na Threema",da:"Del på Threema",de:"Bei Threema teilen",en:"Share on Threema",es:"Compartir en Threema",fi:"Jaa Threemaissä",fr:"Partager sur Threema",hr:"Podijelite na Threema",hu:"Megosztás Threemaen",it:"Condividi su Threema",ja:"Threema上で共有",ko:"Threema에서 공유하기",nl:"Delen op Threema",no:"Del på Threema",pl:"Udostępnij przez Threema",pt:"Compartilhar no Threema",ro:"Partajează pe Threema",ru:"Поделиться на Threema",sk:"Zdieľať na Threema",sl:"Deli na Threema",sr:"Podeli na Threema-u",sv:"Dela på Threema",tr:"Threema'ta paylaş",zh:"在Threema上分享"},shareUrl:"threema://compose?text="+encodeURIComponent(r)+"%20"+t+e.getReferrerTrack()}}},213:function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"tumblr",faPrefix:"fab",faName:"fa-tumblr",title:{bg:"Сподели в tumblr",cs:"Sdílet na tumblru",da:"Del på tumblr",de:"Bei tumblr teilen",en:"Share on tumblr",es:"Compartir en tumblr",fi:"Jaa tumblrissä",fr:"Partager sur tumblr",hr:"Podijelite na tumblr",hu:"Megosztás tumblren",it:"Condividi su tumblr",ja:"tumblr上で共有",ko:"tumblr에서 공유하기",nl:"Delen op tumblr",no:"Del på tumblr",pl:"Udostępnij przez tumblr",pt:"Compartilhar no tumblr",ro:"Partajează pe tumblr",ru:"Поделиться на tumblr",sk:"Zdieľať na tumblr",sl:"Deli na tumblr",sr:"Podeli na tumblr-u",sv:"Dela på tumblr",tr:"tumblr'ta paylaş",zh:"在tumblr上分享"},shareUrl:"http://tumblr.com/widgets/share/tool?canonicalUrl="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},214:function(e,t,r){"use strict";var a=r(40);e.exports=function(e){var t=a.parse("https://twitter.com/intent/tweet",!0),r=e.getTitle();return t.query.text=function(e,t){var r=document.createElement("div"),a=document.createTextNode(e);r.appendChild(a);var n=r.textContent;if(n.length<=t)return e;var i=n.substring(0,t-1).lastIndexOf(" ");return n=n.substring(0,i)+"…"}(r,120),t.query.url=e.getURL(),null!==e.options.twitterVia&&(t.query.via=e.options.twitterVia),delete t.search,{popup:!0,shareText:{en:"tweet",ja:"のつぶやき",ko:"짹짹",ru:"твит",sr:"твеет",zh:"鸣叫"},name:"twitter",faPrefix:"fab",faName:"fa-twitter",title:{bg:"Сподели в Twitter",cs:"Sdílet na Twiiteru",da:"Del på Twitter",de:"Bei Twitter teilen",en:"Share on Twitter",es:"Compartir en Twitter",fi:"Jaa Twitterissä",fr:"Partager sur Twitter",hr:"Podijelite na Twitteru",hu:"Megosztás Twitteren",it:"Condividi su Twitter",ja:"ツイッター上で共有",ko:"트위터에서 공유하기",nl:"Delen op Twitter",no:"Del på Twitter",pl:"Udostępnij na Twitterze",pt:"Compartilhar no Twitter",ro:"Partajează pe Twitter",ru:"Поделиться на Twitter",sk:"Zdieľať na Twitteri",sl:"Deli na Twitterju",sr:"Podeli na Twitter-u",sv:"Dela på Twitter",tr:"Twitter'da paylaş",zh:"在Twitter上分享"},shareUrl:a.format(t)+e.getReferrerTrack()}}},215:function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"vk",faPrefix:"fab",faName:"fa-vk",title:{bg:"Сподели във VK",cs:"Sdílet na VKu",da:"Del på VK",de:"Bei VK teilen",en:"Share on VK",es:"Compartir en VK",fi:"Jaa VKissa",fr:"Partager sur VK",hr:"Podijelite na VKu",hu:"Megosztás VKon",it:"Condividi su VK",ja:"フェイスブック上で共有",ko:"페이스북에서 공유하기",nl:"Delen op VK",no:"Del på VK",pl:"Udostępnij na VKu",pt:"Compartilhar no VK",ro:"Partajează pe VK",ru:"Поделиться на ВКонтакте",sk:"Zdieľať na VKu",sl:"Deli na VKu",sr:"Podeli na VK-u",sv:"Dela på VK",tr:"VK'ta paylaş",zh:"在VK上分享"},shareUrl:"https://vk.com/share.php?url="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},216:function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"weibo",faPrefix:"fab",faName:"fa-weibo",title:{bg:"Сподели в weibo",cs:"Sdílet na weibo",da:"Del på weibo",de:"Bei weibo teilen",en:"Share on weibo",es:"Compartir en weibo",fi:"Jaa weiboissä",fr:"Partager sur weibo",hr:"Podijelite na weibo",hu:"Megosztás weiboen",it:"Condividi su weibo",ja:"Weibo上で共有",ko:"Weibo에서 공유하기",nl:"Delen op weibo",no:"Del på weibo",pl:"Udostępnij przez weibo",pt:"Compartilhar no weibo",ro:"Partajează pe weibo",ru:"Поделиться на weibo",sk:"Zdieľať na weibo",sl:"Deli na weibo",sr:"Podeli na weibo-u",sv:"Dela på weibo",tr:"Weibo'ta paylaş",zh:"分享至新浪微博"},shareUrl:"http://service.weibo.com/share/share.php?url="+encodeURIComponent(e.getURL())+"&title="+e.getTitle()+e.getReferrerTrack()}}},217:function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=e.getTitle();return{popup:!1,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"whatsapp",faPrefix:"fab",faName:"fa-whatsapp",title:{bg:"Сподели в Whatsapp",cs:"Sdílet na Whatsappu",da:"Del på Whatsapp",de:"Bei Whatsapp teilen",en:"Share on Whatsapp",es:"Compartir en Whatsapp",fi:"Jaa WhatsAppissä",fr:"Partager sur Whatsapp",hr:"Podijelite na Whatsapp",hu:"Megosztás WhatsAppen",it:"Condividi su Whatsapp",ja:"Whatsapp上で共有",ko:"Whatsapp에서 공유하기",nl:"Delen op Whatsapp",no:"Del på Whatsapp",pl:"Udostępnij przez WhatsApp",pt:"Compartilhar no Whatsapp",ro:"Partajează pe Whatsapp",ru:"Поделиться на Whatsapp",sk:"Zdieľať na Whatsapp",sl:"Deli na Whatsapp",sr:"Podeli na WhatsApp-u",sv:"Dela på Whatsapp",tr:"Whatsapp'ta paylaş",zh:"在Whatsapp上分享"},shareUrl:"whatsapp://send?text="+encodeURIComponent(r)+"%20"+t+e.getReferrerTrack()}}},218:function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"xing",faPrefix:"fab",faName:"fa-xing",title:{bg:"Сподели в XING",cs:"Sdílet na XINGu",da:"Del på XING",de:"Bei XING teilen",en:"Share on XING",es:"Compartir en XING",fi:"Jaa XINGissä",fr:"Partager sur XING",hr:"Podijelite na XING",hu:"Megosztás XINGen",it:"Condividi su XING",ja:"XING上で共有",ko:"XING에서 공유하기",nl:"Delen op XING",no:"Del på XING",pl:"Udostępnij przez XING",pt:"Compartilhar no XING",ro:"Partajează pe XING",ru:"Поделиться на XING",sk:"Zdieľať na XING",sl:"Deli na XING",sr:"Podeli na XING-u",sv:"Dela på XING",tr:"XING'ta paylaş",zh:"分享至XING"},shareUrl:"https://www.xing.com/spi/shares/new?url="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},3:function(e,t){e.exports=window.wp.i18n},37:function(e,t){e.exports=window.novablocks.icons},40:function(e,t,r){"use strict";var a=r(192),n=r(194);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=k,t.resolve=function(e,t){return k(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?k(e,!1,!0).resolveObject(t):t},t.format=function(e){n.isString(e)&&(e=k(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,p=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(p),d=["%","/","?",";","#"].concat(u),c=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},b={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=r(195);function k(e,t,r){if(e&&n.isObject(e)&&e instanceof i)return e;var a=new i;return a.parse(e,t,r),a}i.prototype.parse=function(e,t,r){if(!n.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),s=-1!==i&&i<e.indexOf("#")?"?":"#",p=e.split(s);p[0]=p[0].replace(/\\/g,"/");var k=e=p.join(s);if(k=k.trim(),!r&&1===e.split("#").length){var j=l.exec(k);if(j)return this.path=k,this.href=k,this.pathname=j[1],j[2]?(this.search=j[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var y=o.exec(k);if(y){var w=(y=y[0]).toLowerCase();this.protocol=w,k=k.substr(y.length)}if(r||y||k.match(/^\/\/[^@\/]+@[^@\/]+/)){var z="//"===k.substr(0,2);!z||y&&b[y]||(k=k.substr(2),this.slashes=!0)}if(!b[y]&&(z||y&&!g[y])){for(var T,P,x=-1,C=0;C<c.length;C++){-1!==(_=k.indexOf(c[C]))&&(-1===x||_<x)&&(x=_)}-1!==(P=-1===x?k.lastIndexOf("@"):k.lastIndexOf("@",x))&&(T=k.slice(0,P),k=k.slice(P+1),this.auth=decodeURIComponent(T)),x=-1;for(C=0;C<d.length;C++){var _;-1!==(_=k.indexOf(d[C]))&&(-1===x||_<x)&&(x=_)}-1===x&&(x=k.length),this.host=k.slice(0,x),k=k.slice(x),this.parseHost(),this.hostname=this.hostname||"";var U="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!U)for(var I=this.hostname.split(/\./),R=(C=0,I.length);C<R;C++){var S=I[C];if(S&&!S.match(h)){for(var D="",O=0,L=S.length;O<L;O++)S.charCodeAt(O)>127?D+="x":D+=S[O];if(!D.match(h)){var A=I.slice(0,C),N=I.slice(C+1),F=S.match(f);F&&(A.push(F[1]),N.unshift(F[2])),N.length&&(k="/"+N.join(".")+k),this.hostname=A.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),U||(this.hostname=a.toASCII(this.hostname));var M=this.port?":"+this.port:"",q=this.hostname||"";this.host=q+M,this.href+=this.host,U&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==k[0]&&(k="/"+k))}if(!m[w])for(C=0,R=u.length;C<R;C++){var J=u[C];if(-1!==k.indexOf(J)){var E=encodeURIComponent(J);E===J&&(E=escape(J)),k=k.split(J).join(E)}}var W=k.indexOf("#");-1!==W&&(this.hash=k.substr(W),k=k.slice(0,W));var V=k.indexOf("?");if(-1!==V?(this.search=k.substr(V),this.query=k.substr(V+1),t&&(this.query=v.parse(this.query)),k=k.slice(0,V)):t&&(this.search="",this.query={}),k&&(this.pathname=k),g[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){M=this.pathname||"";var G=this.search||"";this.path=M+G}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",a=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&n.isObject(this.query)&&Object.keys(this.query).length&&(o=v.stringify(this.query));var s=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),a&&"#"!==a.charAt(0)&&(a="#"+a),s&&"?"!==s.charAt(0)&&(s="?"+s),t+i+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+a},i.prototype.resolve=function(e){return this.resolveObject(k(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(n.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var r=new i,a=Object.keys(this),o=0;o<a.length;o++){var s=a[o];r[s]=this[s]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),p=0;p<l.length;p++){var u=l[p];"protocol"!==u&&(r[u]=e[u])}return g[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!g[e.protocol]){for(var d=Object.keys(e),c=0;c<d.length;c++){var h=d[c];r[h]=e[h]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||b[e.protocol])r.pathname=e.pathname;else{for(var f=(e.pathname||"").split("/");f.length&&!(e.host=f.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),r.pathname=f.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var m=r.pathname||"",v=r.search||"";r.path=m+v}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var k=r.pathname&&"/"===r.pathname.charAt(0),j=e.host||e.pathname&&"/"===e.pathname.charAt(0),y=j||k||r.host&&e.pathname,w=y,z=r.pathname&&r.pathname.split("/")||[],T=(f=e.pathname&&e.pathname.split("/")||[],r.protocol&&!g[r.protocol]);if(T&&(r.hostname="",r.port=null,r.host&&(""===z[0]?z[0]=r.host:z.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===f[0]?f[0]=e.host:f.unshift(e.host)),e.host=null),y=y&&(""===f[0]||""===z[0])),j)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,z=f;else if(f.length)z||(z=[]),z.pop(),z=z.concat(f),r.search=e.search,r.query=e.query;else if(!n.isNullOrUndefined(e.search)){if(T)r.hostname=r.host=z.shift(),(U=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=U.shift(),r.host=r.hostname=U.shift());return r.search=e.search,r.query=e.query,n.isNull(r.pathname)&&n.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!z.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var P=z.slice(-1)[0],x=(r.host||e.host||z.length>1)&&("."===P||".."===P)||""===P,C=0,_=z.length;_>=0;_--)"."===(P=z[_])?z.splice(_,1):".."===P?(z.splice(_,1),C++):C&&(z.splice(_,1),C--);if(!y&&!w)for(;C--;C)z.unshift("..");!y||""===z[0]||z[0]&&"/"===z[0].charAt(0)||z.unshift(""),x&&"/"!==z.join("/").substr(-1)&&z.push("");var U,I=""===z[0]||z[0]&&"/"===z[0].charAt(0);T&&(r.hostname=r.host=I?"":z.length?z.shift():"",(U=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=U.shift(),r.host=r.hostname=U.shift()));return(y=y||r.host&&z.length)&&!I&&z.unshift(""),z.length?r.pathname=z.join("/"):(r.pathname=null,r.path=null),n.isNull(r.pathname)&&n.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},58:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=["twitter","facebook","linkedin","pinterest","whatsapp"]},8:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r}});1 !function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(a,n,function(t){return e[t]}.bind(null,n));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=183)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},10:function(e,t){e.exports=window.novablocks.utils},183:function(e,t,r){"use strict";var a=r(0),n=a(r(184)),i=r(10),o=r(37),s=a(r(185)),l=a(r(57)),p=r(3);!function(){var e=(0,n.default)("#wpadminbar");(0,n.default)(".novablocks-sharing").each((function(t,l){var d,c,h,f,m=(0,n.default)(l),b=m.find(".js-sharing-overlay").appendTo("body"),g=m.data(),v=b.find(".novablocks-sharing__wrap"),k=b.find(".novablocks-sharing__content"),j=m.find(".js-sharing-overlay-trigger"),y=j.closest(".wp-block-button"),w=b.find(".novablocks-sharing__close"),z=(0,n.default)("<h".concat(g.headingLevel,">"),{class:"novablocks-sharing__title"}).text((0,p.__)("Sharing Options","nova-blocks")),T=(0,n.default)("<div>",{class:"novablocks-sharing__footer"}).text((0,p.__)("Thanks for spreading the word!","nova-blocks"));function P(){var t=y.length?y:j,r=t.closest(".entry-content, body");b.css({top:"",left:""});var a=r.offset(),n=r.outerWidth()||0,i=a.left,o=b.offset(),s=b.outerHeight()||0,l=b.outerWidth()||0,p=t.offset(),u=v.offset(),d=u.left-o.left,c=i+n-l+d,h=i-d,f=e.outerHeight()||0,m=Math.max(f,Math.min(document.documentElement.scrollHeight-s,p.top)),g=Math.max(h,Math.min(p.left-u.left,c));b.css({top:m,left:g})}j.prepend((0,o.getIcon)("share")),w.prepend((0,o.getIcon)("cancel")),g.showCopy&&k.append(function(e){var t=(0,p.__)("Use a link for everything","nova-blocks"),r=(0,p.__)("Copy link and paste it anywhere you want it.","nova-blocks"),i=(0,n.default)('<input class="novablocks-sharing__copy-input sm-palette-1 sm-variation-1" type="text" value="'.concat(window.location.href,'" readonly />')),s=(0,n.default)('<div class="novablocks-sharing__notification-wrap">'),l=(0,n.default)('<div class="novablocks-sharing__notification">'),d=(0,n.default)('<span class="novablocks-sharing__notification-text">'+(0,p.__)("Link copied to your clipboard","nova-blocks")+"</span>"),c=(0,n.default)('<span class="novablocks-sharing__notification-icon">').append((0,o.getIcon)("tick"));l.append(c).append(d),l.appendTo(s);var h=a([{label:(0,p.__)("Copy link to clipboard","nova-blocks"),url:"#",icon:"link",classes:"novablocks-sharing__link--copy",callback:function(){var e,t=i.get(0);s.removeClass("novablocks-sharing__notification--visible"),t.focus(),t.setSelectionRange(0,t.value.length),t.blur();try{e=document.execCommand("copy")}catch(t){e=!1}e&&setTimeout((function(){s.addClass("novablocks-sharing__notification--visible")}),0)}}]),f=h.get(0).querySelector(".novablocks-sharing__link");f&&(f.dataset.colorSignal=2,f.dataset.palette=2,f.dataset.paletteVariation=1,f.dataset.useSourceColorAsReference=!0);return u({id:"copy-link",title:t,description:r,content:i.add(h).add(s)},e)}(g)),g.showSharePrivately&&k.append(function(e){var t=e.title,r=e.url,n=[];(0,i.isMobileDevice)()&&n.push({label:"Messenger",url:"#",icon:"messenger"});return n.push({label:"Email",url:"mailto:?subject=".concat(t,"&body=").concat(r),icon:"email"}),u({id:"private",title:(0,p.__)("Share privately with friends","nova-blocks"),description:"",content:a(n)},e)}(g)),g.showSocialIcons&&k.append((d=g,c=(0,n.default)("<div>"),h=d.title,f=d.url,new s.default(c,{orientation:"vertical",title:h,url:f,services:r(d),lang:"en"}),function(e,t){var r=e.find("ul").removeAttr("class").addClass("novablocks-sharing__list");return e.find(".".concat("shariff-button")).toArray().reduce((function(e,t){var a=(0,n.default)(t),s=a.attr("class").split(/\s+/).find((function(e){return"shariff-button"!==e})),l=a.find("a").addClass("novablocks-sharing__link"),p=(0,n.default)('<div class="novablocks-sharing__link-label">').text((0,i.titleCase)(s)),u=(0,n.default)('<div class="novablocks-sharing__link-icon">').clone(),d=a.addClass("novablocks-sharing__list-item"),c=(0,o.getIcon)(s)||(0,o.getIcon)("share");return u.html(c),l.empty().append(u).append(p),d.appendTo(r),e[s]=l,e}),{}),u({id:"public",title:(0,p.__)("Share publicly on social networks","nova-blocks"),description:"",content:r},t)}(c,d))),g.showShareInPerson&&k.append(function(e){var t=[{label:"Print",url:"#",icon:"printer",callback:function(){window.print()}}];0;return u({id:"in-person",title:(0,p.__)("Or maybe you want in person?","nova-blocks"),description:"",content:a(t)},e)}(g)),z.prependTo(k),T.appendTo(k);var x=(0,i.debounce)(P,100);function C(){k.find(".novablocks-sharing__notification--visible").removeClass("novablocks-sharing__notification--visible"),b.removeClass("is-visible")}(0,n.default)(window).on("resize",x),j.on("click",(function(){b.addClass("is-visible"),P()})),w.on("click",(function(e){C()})),j.add(v).on("click",(function(e){e.stopPropagation()})),(0,n.default)("body").on("click",(function(e){C()}))}));var t=new Event("nb:updateColors");function r(e){return l.default.filter((function(t){var r=t.charAt(0).toUpperCase()+t.slice(1),a="show".concat(r);return!!e[a]}))}function a(e){var t=(0,n.default)('<div class="novablocks-sharing__list">');return e.forEach((function(e){var r,a=e.label,i=e.url,s=e.callback,l=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"share",a=arguments.length>3?arguments[3]:void 0,i=(0,n.default)('<a class="novablocks-sharing__link" />').attr("href",t).addClass(a),s=(0,n.default)('<div class="novablocks-sharing__link-label" />').text(e),l=(0,n.default)('<div class="novablocks-sharing__link-icon" />');return l.html((0,o.getIcon)(r)),i.append(l).append(s),i}(a,i,e.icon,e.classes);"function"==typeof s&&l.on("click",(function(e){e.stopPropagation(),e.preventDefault(),s()})),(r=l,(0,n.default)('<div class="novablocks-sharing__list-item">').append(r)).appendTo(t)})),t}function u(e,t){var r=e.id,a=e.title,i=e.description,o=e.content,s=(0,n.default)('<div class="'.concat("novablocks-sharing__group"," ").concat("novablocks-sharing__group","--").concat(r,'">'));return function(e){var t=e.headingLevel;return(0,n.default)("<h".concat(t+1,' class="novablocks-sharing__group-title" />'))}(t).text(a).appendTo(s),(0,n.default)('<div class="novablocks-sharing__group-description">').text(i).appendTo(s),(0,n.default)('<div class="novablocks-sharing__group-content">').append(o).appendTo(s),s}window.dispatchEvent(t)}()},184:function(e,t){e.exports=window.jQuery},185:function(e,t,r){"use strict";(function(t){const a=r(186),n=r(187),i=r(39),o={theme:"color",backendUrl:null,infoUrl:"http://ct.de/-2467514",infoDisplay:"blank",lang:"de",langFallback:"en",mailUrl:function(){var e=i.parse(this.getURL(),!0);return e.query.view="mail",delete e.search,i.format(e)},mailBody:function(){return this.getURL()},mediaUrl:null,orientation:"horizontal",buttonStyle:"standard",referrerTrack:null,services:["twitter","facebook","info"],title:t.document.title,twitterVia:null,flattrUser:null,flattrCategory:null,url:function(){var e=t.document.location.href,r=a("link[rel=canonical]").attr("href")||this.getMeta("og:url")||"";return r.length>0&&(r.indexOf("http")<0&&(r=0!==r.indexOf("//")?t.document.location.protocol+"//"+t.document.location.host+r:t.document.location.protocol+r),e=r),e}};class s{constructor(e,t){this.element=e,a(e).empty(),this.options=a.extend({},o,t,a(e).data()),this.services=Object.keys(n).filter(e=>this.isEnabledService(e)).sort((e,t)=>{let r=this.options.services;return r.indexOf(e)-r.indexOf(t)}).map(e=>n[e](this)),this._addButtonList(),null!==this.options.backendUrl&&"icon"!==this.options.buttonStyle&&this.getShares(this._updateCounts.bind(this))}isEnabledService(e){return this.options.services.indexOf(e)>-1}$socialshareElement(){return a(this.element)}getLocalized(e,t){return"object"==typeof e[t]?void 0===e[t][this.options.lang]?e[t][this.options.langFallback]:e[t][this.options.lang]:"string"==typeof e[t]?e[t]:void 0}getMeta(e){return a(`meta[name="${e}"],[property="${e}"]`).attr("content")||""}getInfoUrl(){return this.options.infoUrl}getInfoDisplayPopup(){return"popup"===this.options.infoDisplay}getInfoDisplayBlank(){return"popup"!==this.options.infoDisplay&&"self"!==this.options.infoDisplay}getURL(){return this.getOption("url")}getOption(e){var t=this.options[e];return"function"==typeof t?t.call(this):t}getTitle(){let e=this.getOption("title");if(a(this.element).data().title)return e;e=e||this.getMeta("DC.title");let t=this.getMeta("DC.creator");return e&&t?`${e} - ${t}`:e}getReferrerTrack(){return this.options.referrerTrack||""}getShares(e){var t=i.parse(this.options.backendUrl,!0);return t.query.url=this.getURL(),delete t.search,a.getJSON(i.format(t),e)}_updateCounts(e,t,r){e&&a.each(e,(e,t)=>{this.isEnabledService(e)&&(t>=1e3&&(t=Math.round(t/1e3)+"k"),a(this.element).find(`.${e} a`).append(a("<span/>").addClass("share_count").text(t)))})}_addButtonList(){var e=a("<ul/>").addClass(["theme-"+this.options.theme,"orientation-"+this.options.orientation,"button-style-"+this.options.buttonStyle,"shariff-col-"+this.options.services.length].join(" "));this.services.forEach(t=>{var r=a("<li/>").addClass("shariff-button "+t.name),n=a("<a/>").attr("href",t.shareUrl);if("standard"===this.options.buttonStyle){var i=a("<span/>").addClass("share_text").text(this.getLocalized(t,"shareText"));n.append(i)}void 0!==t.faPrefix&&void 0!==t.faName&&n.prepend(a("<span/>").addClass(`${t.faPrefix} ${t.faName}`)),t.popup?(n.attr("data-rel","popup"),"info"!==t.name&&n.attr("rel","nofollow")):t.blank?(n.attr("target","_blank"),"info"===t.name?n.attr("rel","noopener noreferrer"):n.attr("rel","nofollow noopener noreferrer")):"info"!==t.name&&n.attr("rel","nofollow"),n.attr("title",this.getLocalized(t,"title")),n.attr("role","button"),n.attr("aria-label",this.getLocalized(t,"title")),r.append(n),e.append(r)}),e.on("click",'[data-rel="popup"]',(function(e){e.preventDefault();var r=a(this).attr("href");if(r.match(/twitter\.com\/intent\/(\w+)/)){var n=t.window;if(n.__twttr&&n.__twttr.widgets&&n.__twttr.widgets.loaded)return}t.window.open(r,"_blank","width=600,height=460")})),this.$socialshareElement().append(e)}}e.exports=s,t.Shariff=s,a((function(){a(".shariff").each((function(){this.hasOwnProperty("shariff")||(this.shariff=new s(this))}))}))}).call(this,r(8))},186:function(e,t,r){"use strict";function a(e,t){var r=[];return t=t||document,"function"==typeof e?(t.attachEvent?"complete"===t.readyState:"loading"!==t.readyState)?e():t.addEventListener("DOMContentLoaded",e):r=e instanceof Element?[e]:"string"==typeof e?"<"===e[0]?Array.prototype.slice.call(u(e)):Array.prototype.slice.call(t.querySelectorAll(e)):e,new n(r,t)}function n(e,t){this.length=e.length,this.context=t;var r=this;p(e,(function(e){r[e]=this}))}"function"!=typeof Object.assign&&(Object.assign=function(e,t){if(null===e)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(e),a=1;a<arguments.length;a++){var n=arguments[a];if(null!==n)for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r}),n.prototype.each=function(e){for(var t=this.length-1;t>=0;t--)e.call(this[t],t,this[t]);return this},n.prototype.empty=function(){return this.each(s)},n.prototype.text=function(e){return void 0===e?this[0].textContent:this.each((function(){this.textContent=e}))},n.prototype.attr=function(e,t){return this.length<1?null:void 0===t?this[0].getAttribute(e):this.each((function(){this.setAttribute(e,t)}))},n.prototype.data=function(e,t){if(t)return this.attr("data-"+e,t);if(e)return this.attr("data-"+e);var r=Object.assign({},this[0].dataset);return p(r,(function(e,t){r[e]=b(t)})),r},n.prototype.find=function(e){var t;return t=l(this,(function(t){return t.querySelectorAll(e)})),t=l(t,(function(e){return Array.prototype.slice.call(e)})),new n(t=Array.prototype.concat.apply([],t))},n.prototype.append=function(e){return"string"==typeof e&&(e=u(e)),d(this[0],e),this},n.prototype.prepend=function(e){return"string"==typeof e&&(e=u(e)),c(this[0],e),this},n.prototype.addClass=function(e){return this.each((function(){e.split(" ").forEach(e=>{this.classList.add(e)})}))},n.prototype.removeClass=function(e){return this.each((function(){this.classList.remove(e)}))},n.prototype.on=function(e,t,r){return this.each((function(){f(t,e,r,this)}))};var i,o,s=function(){for(;this.hasChildNodes();)this.removeChild(this.firstChild)},l=function(e,t){return Array.prototype.map.call(e,t)},p=function(e,t){if(e instanceof Array)for(var r=0;r<e.length;r++)t.call(e[r],r,e[r]);else if(e instanceof Object)for(var a in e)t.call(e[a],a,e[a],e);return e},u=function(e){var t=document.createElement("div");return t.innerHTML=e,t.children},d=function(e,t){for(var r=0;r<t.length;r++)e.appendChild(t[r])},c=function(e,t){for(var r=t.length-1;r>=0;r--)e.insertBefore(t[t.length-1],e.firstChild)},h=(i=HTMLElement.prototype,o=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector,function e(t,r){if(null!==t)return o.call(t,r)?t:e(t.parentElement,r)}),f=function(e,t,r,a){(a||document).addEventListener(t,(function(t){var a=h(t.target,e);a&&r.call(a,t)}))},m=function(e){var t={},r=!1,a=0,n=arguments.length;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(r=arguments[0],a++);for(var i=function(e){for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r&&"[object Object]"===Object.prototype.toString.call(e[a])?t[a]=m(!0,t[a],e[a]):t[a]=e[a])};a<n;a++){var o=arguments[a];i(o)}return t},b=function(e){if("true"===e)return!0;if("false"===e)return!1;if("null"===e)return null;if(+e+""===e)return+e;if(/^[[{]/.test(e))try{return JSON.parse(e)}catch(t){return e}return e};a.extend=m,a.map=l,a.each=p,a.getJSON=function(e,t){var r=new XMLHttpRequest;r.open("GET",e,!0),r.setRequestHeader("Content-Type","application/json"),r.setRequestHeader("Accept","application/json"),r.onload=function(){if(r.status>=200&&r.status<400){var e=JSON.parse(r.responseText);t(e,r.status,r)}else t(null,r.status,r)},r.onerror=function(e){t(new Error(e),null,r)},r.send()},e.exports=a},187:function(e,t,r){e.exports={addthis:r(188),buffer:r(189),diaspora:r(190),facebook:r(197),flattr:r(198),flipboard:r(199),info:r(200),linkedin:r(201),mail:r(202),pinterest:r(203),pocket:r(204),print:r(205),qzone:r(206),reddit:r(207),stumbleupon:r(208),telegram:r(209),tencent:r(210),threema:r(211),tumblr:r(212),twitter:r(213),vk:r(214),weibo:r(215),whatsapp:r(216),xing:r(217)}},188:function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"addthis",faPrefix:"fas",faName:"fa-plus",title:{bg:"Сподели в AddThis",cs:"Sdílet na AddThis",da:"Del på AddThis",de:"Bei AddThis teilen",en:"Share on AddThis",es:"Compartir en AddThis",fi:"Jaa AddThisissä",fr:"Partager sur AddThis",hr:"Podijelite na AddThis",hu:"Megosztás AddThisen",it:"Condividi su AddThis",ja:"AddThis上で共有",ko:"AddThis에서 공유하기",nl:"Delen op AddThis",no:"Del på AddThis",pl:"Udostępnij przez AddThis",pt:"Compartilhar no AddThis",ro:"Partajează pe AddThis",ru:"Поделиться на AddThis",sk:"Zdieľať na AddThis",sl:"Deli na AddThis",sr:"Podeli na AddThis",sv:"Dela på AddThis",tr:"AddThis'ta paylaş",zh:"在AddThis上分享"},shareUrl:"http://api.addthis.com/oexchange/0.8/offer?url="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},189:function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL());return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"buffer",faPrefix:"fab",faName:"fa-buffer",title:{bg:"Сподели в buffer",cs:"Sdílet na buffer",da:"Del på buffer",de:"Bei buffer teilen",en:"Share on buffer",es:"Compartir en buffer",fi:"Jaa bufferissä",fr:"Partager sur buffer",hr:"Podijelite na buffer",hu:"Megosztás bufferen",it:"Condividi su buffer",ja:"buffer上で共有",ko:"buffer에서 공유하기",nl:"Delen op buffer",no:"Del på buffer",pl:"Udostępnij przez buffer",pt:"Compartilhar no buffer",ro:"Partajează pe buffer",ru:"Поделиться на buffer",sk:"Zdieľať na buffer",sl:"Deli na buffer",sr:"Podeli na buffer",sv:"Dela på buffer",tr:"buffer'ta paylaş",zh:"在buffer上分享"},shareUrl:"https://buffer.com/add?text="+encodeURIComponent(e.getTitle())+"&url="+t+e.getReferrerTrack()}}},190:function(e,t,r){"use strict";var a=r(39);e.exports=function(e){var t=a.parse("https://share.diasporafoundation.org/",!0);return t.query.url=e.getURL(),t.query.title=e.getTitle(),t.protocol="https",delete t.search,{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"diaspora",faPrefix:"fas",faName:"fa-asterisk",title:{bg:"Сподели в diaspora*",cs:"Sdílet na diaspora*",da:"Del på diaspora*",de:"Bei diaspora* teilen",en:"Share on diaspora*",es:"Compartir en diaspora*",fi:"Jaa Diasporaissä",fr:"Partager sur diaspora*",hr:"Podijelite na diaspora*",hu:"Megosztás diaspora*",it:"Condividi su diaspora*",ja:"diaspora*上で共有",ko:"diaspora*에서 공유하기",nl:"Delen op diaspora*",no:"Del på diaspora*",pl:"Udostępnij przez diaspora*",pt:"Compartilhar no diaspora*",ro:"Partajează pe diaspora*",ru:"Поделиться на diaspora*",sk:"Zdieľať na diaspora*",sl:"Deli na diaspora*",sr:"Podeli na diaspora*-u",sv:"Dela på diaspora*",tr:"diaspora*'ta paylaş",zh:"分享至diaspora*"},shareUrl:a.format(t)+e.getReferrerTrack()}}},191:function(e,t,r){(function(e,a){var n;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(i){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof a&&a;o.global!==o&&o.window!==o&&o.self;var s,l=2147483647,p=/^xn--/,u=/[^\x20-\x7E]/,d=/[\x2E\u3002\uFF0E\uFF61]/g,c={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,f=String.fromCharCode;function m(e){throw new RangeError(c[e])}function b(e,t){for(var r=e.length,a=[];r--;)a[r]=t(e[r]);return a}function g(e,t){var r=e.split("@"),a="";return r.length>1&&(a=r[0]+"@",e=r[1]),a+b((e=e.replace(d,".")).split("."),t).join(".")}function v(e){for(var t,r,a=[],n=0,i=e.length;n<i;)(t=e.charCodeAt(n++))>=55296&&t<=56319&&n<i?56320==(64512&(r=e.charCodeAt(n++)))?a.push(((1023&t)<<10)+(1023&r)+65536):(a.push(t),n--):a.push(t);return a}function k(e){return b(e,(function(e){var t="";return e>65535&&(t+=f((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=f(e)})).join("")}function j(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function y(e,t,r){var a=0;for(e=r?h(e/700):e>>1,e+=h(e/t);e>455;a+=36)e=h(e/35);return h(a+36*e/(e+38))}function w(e){var t,r,a,n,i,o,s,p,u,d,c,f=[],b=e.length,g=0,v=128,j=72;for((r=e.lastIndexOf("-"))<0&&(r=0),a=0;a<r;++a)e.charCodeAt(a)>=128&&m("not-basic"),f.push(e.charCodeAt(a));for(n=r>0?r+1:0;n<b;){for(i=g,o=1,s=36;n>=b&&m("invalid-input"),((p=(c=e.charCodeAt(n++))-48<10?c-22:c-65<26?c-65:c-97<26?c-97:36)>=36||p>h((l-g)/o))&&m("overflow"),g+=p*o,!(p<(u=s<=j?1:s>=j+26?26:s-j));s+=36)o>h(l/(d=36-u))&&m("overflow"),o*=d;j=y(g-i,t=f.length+1,0==i),h(g/t)>l-v&&m("overflow"),v+=h(g/t),g%=t,f.splice(g++,0,v)}return k(f)}function z(e){var t,r,a,n,i,o,s,p,u,d,c,b,g,k,w,z=[];for(b=(e=v(e)).length,t=128,r=0,i=72,o=0;o<b;++o)(c=e[o])<128&&z.push(f(c));for(a=n=z.length,n&&z.push("-");a<b;){for(s=l,o=0;o<b;++o)(c=e[o])>=t&&c<s&&(s=c);for(s-t>h((l-r)/(g=a+1))&&m("overflow"),r+=(s-t)*g,t=s,o=0;o<b;++o)if((c=e[o])<t&&++r>l&&m("overflow"),c==t){for(p=r,u=36;!(p<(d=u<=i?1:u>=i+26?26:u-i));u+=36)w=p-d,k=36-d,z.push(f(j(d+w%k,0))),p=h(w/k);z.push(f(j(p,0))),i=y(r,g,a==n),r=0,++a}++r,++t}return z.join("")}s={version:"1.4.1",ucs2:{decode:v,encode:k},decode:w,encode:z,toASCII:function(e){return g(e,(function(e){return u.test(e)?"xn--"+z(e):e}))},toUnicode:function(e){return g(e,(function(e){return p.test(e)?w(e.slice(4).toLowerCase()):e}))}},void 0===(n=function(){return s}.call(t,r,t,e))||(e.exports=n)}()}).call(this,r(192)(e),r(8))},192:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},193:function(e,t,r){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},194:function(e,t,r){"use strict";t.decode=t.parse=r(195),t.encode=t.stringify=r(196)},195:function(e,t,r){"use strict";function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,i){t=t||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var s=/\+/g;e=e.split(t);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var p=e.length;l>0&&p>l&&(p=l);for(var u=0;u<p;++u){var d,c,h,f,m=e[u].replace(s,"%20"),b=m.indexOf(r);b>=0?(d=m.substr(0,b),c=m.substr(b+1)):(d=m,c=""),h=decodeURIComponent(d),f=decodeURIComponent(c),a(o,h)?n(o[h])?o[h].push(f):o[h]=[o[h],f]:o[h]=f}return o};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},196:function(e,t,r){"use strict";var a=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?i(o(e),(function(o){var s=encodeURIComponent(a(o))+r;return n(e[o])?i(e[o],(function(e){return s+encodeURIComponent(a(e))})).join(t):s+encodeURIComponent(a(e[o]))})).join(t):s?encodeURIComponent(a(s))+r+encodeURIComponent(a(e)):""};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(e,t){if(e.map)return e.map(t);for(var r=[],a=0;a<e.length;a++)r.push(t(e[a],a));return r}var o=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},197:function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"facebook",faPrefix:"fab",faName:"fa-facebook-f",title:{bg:"Сподели във Facebook",cs:"Sdílet na Facebooku",da:"Del på Facebook",de:"Bei Facebook teilen",en:"Share on Facebook",es:"Compartir en Facebook",fi:"Jaa Facebookissa",fr:"Partager sur Facebook",hr:"Podijelite na Facebooku",hu:"Megosztás Facebookon",it:"Condividi su Facebook",ja:"フェイスブック上で共有",ko:"페이스북에서 공유하기",nl:"Delen op Facebook",no:"Del på Facebook",pl:"Udostępnij na Facebooku",pt:"Compartilhar no Facebook",ro:"Partajează pe Facebook",ru:"Поделиться на Facebook",sk:"Zdieľať na Facebooku",sl:"Deli na Facebooku",sr:"Podeli na Facebook-u",sv:"Dela på Facebook",tr:"Facebook'ta paylaş",zh:"在Facebook上分享"},shareUrl:"https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},198:function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=e.getTitle(),a=e.getMeta("description");return{popup:!0,shareText:"Flattr",name:"flattr",faPrefix:"far",faName:"fa-money-bill-alt",title:{de:"Artikel flattrn",en:"Flattr this"},shareUrl:"https://flattr.com/submit/auto?title="+encodeURIComponent(r)+"&description="+encodeURIComponent(a)+"&category="+encodeURIComponent(e.options.flattrCategory||"text")+"&user_id="+encodeURIComponent(e.options.flattrUser)+"&url="+t+e.getReferrerTrack()}}},199:function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL());return{popup:!0,shareText:"flip it",name:"flipboard",faPrefix:"fab",faName:"fa-flipboard",title:{bg:"Сподели в Flipboard",cs:"Sdílet na Flipboardu",da:"Del på Flipboard",de:"Bei Flipboard teilen",en:"Share on Flipboard",es:"Compartir en Flipboard",fi:"Jaa Flipboardissä",fr:"Partager sur Flipboard",hr:"Podijelite na Flipboardu",hu:"Megosztás Flipboardon",it:"Condividi su Flipboard",ja:"Flipboard上で共有",ko:"Flipboard에서 공유하기",nl:"Delen op Flipboard",no:"Del på Flipboard",pl:"Udostępnij na Flipboardu",pt:"Compartilhar no Flipboard",ro:"Partajează pe Flipboard",ru:"Поделиться на Flipboard",sk:"Zdieľať na Flipboardu",sl:"Deli na Flipboardu",sr:"Podeli na Flipboard-u",sv:"Dela på Flipboard",tr:"Flipboard'ta paylaş",zh:"在Flipboard上分享"},shareUrl:"https://share.flipboard.com/bookmarklet/popout?v=2&title="+encodeURIComponent(e.getTitle())+"&url="+t+e.getReferrerTrack()}}},200:function(e,t,r){"use strict";e.exports=function(e){return{blank:e.getInfoDisplayBlank(),popup:e.getInfoDisplayPopup(),shareText:"Info",name:"info",faPrefix:"fas",faName:"fa-info",title:{bg:"Повече информация",cs:"Více informací",da:"Flere oplysninger",de:"Weitere Informationen",en:"More information",es:"Más informaciones",fi:"Lisätietoja",fr:"Plus d'informations",hr:"Više informacija",hu:"Több információ",it:"Maggiori informazioni",ja:"詳しい情報",ko:"추가 정보",nl:"Verdere informatie",no:"Mer informasjon",pl:"Więcej informacji",pt:"Mais informações",ro:"Mai multe informatii",ru:"Больше информации",sk:"Viac informácií",sl:"Več informacij",sr:"Više informacija",sv:"Mer information",tr:"Daha fazla bilgi",zh:"更多信息"},shareUrl:e.getInfoUrl()}}},201:function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=encodeURIComponent(e.getTitle());return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"mitteilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"シェア",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"distribuiți",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"linkedin",faPrefix:"fab",faName:"fa-linkedin-in",title:{bg:"Сподели в LinkedIn",cs:"Sdílet na LinkedIn",da:"Del på LinkedIn",de:"Bei LinkedIn teilen",en:"Share on LinkedIn",es:"Compartir en LinkedIn",fi:"Jaa LinkedInissä",fr:"Partager sur LinkedIn",hr:"Podijelite na LinkedIn",hu:"Megosztás LinkedInen",it:"Condividi su LinkedIn",ja:"LinkedIn上で共有",ko:"LinkedIn에서 공유하기",nl:"Delen op LinkedIn",no:"Del på LinkedIn",pl:"Udostępnij przez LinkedIn",pt:"Compartilhar no LinkedIn",ro:"Partajează pe LinkedIn",ru:"Поделиться на LinkedIn",sk:"Zdieľať na LinkedIn",sl:"Deli na LinkedIn",sr:"Podeli na LinkedIn-u",sv:"Dela på LinkedIn",tr:"LinkedIn'ta paylaş",zh:"在LinkedIn上分享"},shareUrl:"https://www.linkedin.com/shareArticle?mini=true&summary="+encodeURIComponent(e.getMeta("description"))+"&title="+r+"&url="+t}}},202:function(e,t,r){"use strict";e.exports=function(e){var t=e.getOption("mailUrl");return 0===t.indexOf("mailto:")&&(t+="?subject="+encodeURIComponent(e.getOption("mailSubject")||e.getTitle()),t+="&body="+encodeURIComponent(e.getOption("mailBody").replace(/\{url\}/i,e.getURL()))),{blank:0===t.indexOf("http"),popup:!1,shareText:{en:"mail",zh:"分享"},name:"mail",faPrefix:"fas",faName:"fa-envelope",title:{bg:"Изпрати по имейл",cs:"Poslat mailem",da:"Sende via e-mail",de:"Per E-Mail versenden",en:"Send by email",es:"Enviar por email",fi:"Lähetä sähköpostitse",fr:"Envoyer par courriel",hr:"Pošaljite emailom",hu:"Elküldés e-mailben",it:"Inviare via email",ja:"電子メールで送信",ko:"이메일로 보내기",nl:"Sturen via e-mail",no:"Send via epost",pl:"Wyślij e-mailem",pt:"Enviar por e-mail",ro:"Trimite prin e-mail",ru:"Отправить по эл. почте",sk:"Poslať e-mailom",sl:"Pošlji po elektronski pošti",sr:"Pošalji putem email-a",sv:"Skicka via e-post",tr:"E-posta ile gönder",zh:"通过电子邮件传送"},shareUrl:t}}},203:function(e,t,r){"use strict";var a=r(39);e.exports=function(e){var t=e.getTitle(),r=e.getMeta("DC.creator");r.length>0&&(t+=" - "+r);var n=e.getOption("mediaUrl");(!n||n.length<=0)&&(n=e.getMeta("og:image"));var i=a.parse("https://www.pinterest.com/pin/create/link/",!0);return i.query.url=e.getURL(),i.query.media=n,i.query.description=t,delete i.search,{popup:!0,shareText:"pin it",name:"pinterest",faPrefix:"fab",faName:"fa-pinterest-p",title:{bg:"Сподели в Pinterest",cs:"Přidat na Pinterest",da:"Del på Pinterest",de:"Bei Pinterest pinnen",en:"Pin it on Pinterest",es:"Compartir en Pinterest",fi:"Jaa Pinterestissä",fr:"Partager sur Pinterest",hr:"Podijelite na Pinterest",hu:"Megosztás Pinteresten",it:"Condividi su Pinterest",ja:"Pinterest上で共有",ko:"Pinterest에서 공유하기",nl:"Delen op Pinterest",no:"Del på Pinterest",pl:"Udostępnij przez Pinterest",pt:"Compartilhar no Pinterest",ro:"Partajează pe Pinterest",ru:"Поделиться на Pinterest",sk:"Zdieľať na Pinterest",sl:"Deli na Pinterest",sr:"Podeli na Pinterest-u",sv:"Dela på Pinterest",tr:"Pinterest'ta paylaş",zh:"分享至Pinterest"},shareUrl:a.format(i)+e.getReferrerTrack()}}},204:function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL());return{popup:!0,shareText:"Pocket",name:"pocket",faPrefix:"fab",faName:"fa-get-pocket",title:{bg:"Запазване в Pocket",cs:"Uložit do Pocket",da:"Gem i Pocket",de:"In Pocket speichern",en:"Save to Pocket",es:"Guardar en Pocket",fi:"Tallenna kohtaan Pocket",fr:"Enregistrer dans Pocket",hr:"Spremi u Pocket",hu:'Mentés "Pocket"-be',it:"Salva in Pocket",ja:"「ポケット」に保存",ko:"Pocket에 저장",nl:"Opslaan in Pocket",no:"Lagre i Pocket",pl:"Zapisz w Pocket",pt:"Salvar em Pocket",ro:"Salvați în Pocket",ru:"Сохранить в Pocket",sk:"Uložiť do priečinka Pocket",sl:"Shrani v Pocket",sr:"Sačuvaj u Pocket",sv:"Spara till Pocket",tr:"Pocket e kaydet",zh:"保存到Pocket"},shareUrl:"https://getpocket.com/save?title="+encodeURIComponent(e.getTitle())+"&url="+t+e.getReferrerTrack()}}},205:function(e,t,r){"use strict";e.exports=function(e){return{name:"print",faPrefix:"fas",faName:"fa-print",popup:!1,shareText:{bg:"",cs:"tlačit",da:"",de:"drucken",en:"print",es:"impresión",fi:"",fr:"imprimer",hr:"",hu:"",it:"stampa",ja:"",ko:"",nl:"afdrukken",no:"",pl:"drukuj",pt:"",ro:"",ru:"Распечатать",sk:"",sl:"",sr:"",sv:"",tr:"",zh:""},title:{bg:"",cs:"tlačit",da:"",de:"drucken",en:"print",es:"impresión",fi:"",fr:"imprimer",hr:"",hu:"",it:"stampa",ja:"",ko:"",nl:"afdrukken",no:"",pl:"drukuj",pt:"",ro:"",ru:"Распечатать",sk:"",sl:"",sr:"",sv:"",tr:"",zh:""},shareUrl:"javascript:window.print();"}}},206:function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"qzone",faPrefix:"fab",faName:"fa-qq",title:{bg:"Сподели в Qzone",cs:"Sdílet na Qzone",da:"Del på Qzone",de:"Bei Qzone teilen",en:"Share on Qzone",es:"Compartir en Qzone",fi:"Jaa Qzoneissä",fr:"Partager sur Qzone",hr:"Podijelite na Qzone",hu:"Megosztás Qzone",it:"Condividi su Qzone",ja:"Qzone上で共有",ko:"Qzone에서 공유하기",nl:"Delen op Qzone",no:"Del på Qzone",pl:"Udostępnij przez Qzone",pt:"Compartilhar no Qzone",ro:"Partajează pe Qzone",ru:"Поделиться на Qzone",sk:"Zdieľať na Qzone",sl:"Deli na Qzone",sr:"Podeli na Qzone-u",sv:"Dela på Qzone",tr:"Qzone'ta paylaş",zh:"分享至QQ空间"},shareUrl:"http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url="+encodeURIComponent(e.getURL())+"&title="+e.getTitle()+e.getReferrerTrack()}}},207:function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=encodeURIComponent(e.getTitle());return""!==r&&(r="&title="+r),{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"reddit",faPrefix:"fab",faName:"fa-reddit-alien",title:{bg:"Сподели в Reddit",cs:"Sdílet na Redditu",da:"Del på Reddit",de:"Bei Reddit teilen",en:"Share on Reddit",es:"Compartir en Reddit",fi:"Jaa Redditissä",fr:"Partager sur Reddit",hr:"Podijelite na Reddit",hu:"Megosztás Redditen",it:"Condividi su Reddit",ja:"Reddit上で共有",ko:"Reddit에서 공유하기",nl:"Delen op Reddit",no:"Del på Reddit",pl:"Udostępnij przez Reddit",pt:"Compartilhar no Reddit",ro:"Partajează pe Reddit",ru:"Поделиться на Reddit",sk:"Zdieľať na Reddit",sl:"Deli na Reddit",sr:"Podeli na Reddit-u",sv:"Dela på Reddit",tr:"Reddit'ta paylaş",zh:"分享至Reddit"},shareUrl:"https://reddit.com/submit?url="+t+r+e.getReferrerTrack()}}},208:function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=encodeURIComponent(e.getTitle());return""!==r&&(r="&title="+r),{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"stumbleupon",faPrefix:"fab",faName:"fa-stumbleupon",title:{bg:"Сподели в Stumbleupon",cs:"Sdílet na Stumbleuponu",da:"Del på Stumbleupon",de:"Bei Stumbleupon teilen",en:"Share on Stumbleupon",es:"Compartir en Stumbleupon",fi:"Jaa Stumbleuponissä",fr:"Partager sur Stumbleupon",hr:"Podijelite na Stumbleupon",hu:"Megosztás Stumbleupon",it:"Condividi su Stumbleupon",ja:"Stumbleupon上で共有",ko:"Stumbleupon에서 공유하기",nl:"Delen op Stumbleupon",no:"Del på Stumbleupon",pl:"Udostępnij przez Stumbleupon",pt:"Compartilhar no Stumbleupon",ro:"Partajează pe Stumbleupon",ru:"Поделиться на Stumbleupon",sk:"Zdieľať na Stumbleupon",sl:"Deli na Stumbleupon",sr:"Podeli na Stumbleupon-u",sv:"Dela på Stumbleupon",tr:"Stumbleupon'ta paylaş",zh:"分享至Stumbleupon"},shareUrl:"https://www.stumbleupon.com/submit?url="+t+r+e.getReferrerTrack()}}},209:function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"telegram",faPrefix:"fab",faName:"fa-telegram",title:{bg:"Сподели в Telegram",cs:"Sdílet na Telegramu",da:"Del på Telegram",de:"Bei Telegram teilen",en:"Share on Telegram",es:"Compartir en Telegram",fi:"Jaa Telegramissä",fr:"Partager sur Telegram",hr:"Podijelite na Telegram",hu:"Megosztás Telegramen",it:"Condividi su Telegram",ja:"Telegram上で共有",ko:"Telegram에서 공유하기",nl:"Delen op Telegram",no:"Del på Telegram",pl:"Udostępnij przez Telegram",pt:"Compartilhar no Telegram",ro:"Partajează pe Telegram",ru:"Поделиться на Telegram",sk:"Zdieľať na Telegram",sl:"Deli na Telegram",sr:"Podeli na Telegram-u",sv:"Dela på Telegram",tr:"Telegram'ta paylaş",zh:"在Telegram上分享"},shareUrl:"https://t.me/share/url?url="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},210:function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"tencent-weibo",faPrefix:"fab",faName:"fa-tencent-weibo",title:{bg:"Сподели в tencent weibo",cs:"Sdílet na tencent weibo",da:"Del på tencent weibo",de:"Bei tencent weibo teilen",en:"Share on tencent weibo",es:"Compartir en tencent weibo",fi:"Jaa tencent weiboissä",fr:"Partager sur tencent weibo",hr:"Podijelite na tencent weibo",hu:"Megosztás tencent weiboen",it:"Condividi su tencent weibo",ja:"Tencent weibo上で共有",ko:"Tencent weibo에서 공유하기",nl:"Delen op tencent weibo",no:"Del på tencent weibo",pl:"Udostępnij przez tencent weibo",pt:"Compartilhar no tencent weibo",ro:"Partajează pe tencent weibo",ru:"Поделиться на tencent weibo",sk:"Zdieľať na tencent weibo",sl:"Deli na tencent weibo",sr:"Podeli na tencent weibo-u",sv:"Dela på tencent weibo",tr:"Tencent weibo'ta paylaş",zh:"分享至腾讯微博"},shareUrl:"http://v.t.qq.com/share/share.php?url="+encodeURIComponent(e.getURL())+"&title="+e.getTitle()+e.getReferrerTrack()}}},211:function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=e.getTitle();return{popup:!1,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"threema",faPrefix:"fas",faName:"fa-lock",title:{bg:"Сподели в Threema",cs:"Sdílet na Threema",da:"Del på Threema",de:"Bei Threema teilen",en:"Share on Threema",es:"Compartir en Threema",fi:"Jaa Threemaissä",fr:"Partager sur Threema",hr:"Podijelite na Threema",hu:"Megosztás Threemaen",it:"Condividi su Threema",ja:"Threema上で共有",ko:"Threema에서 공유하기",nl:"Delen op Threema",no:"Del på Threema",pl:"Udostępnij przez Threema",pt:"Compartilhar no Threema",ro:"Partajează pe Threema",ru:"Поделиться на Threema",sk:"Zdieľať na Threema",sl:"Deli na Threema",sr:"Podeli na Threema-u",sv:"Dela på Threema",tr:"Threema'ta paylaş",zh:"在Threema上分享"},shareUrl:"threema://compose?text="+encodeURIComponent(r)+"%20"+t+e.getReferrerTrack()}}},212:function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"tumblr",faPrefix:"fab",faName:"fa-tumblr",title:{bg:"Сподели в tumblr",cs:"Sdílet na tumblru",da:"Del på tumblr",de:"Bei tumblr teilen",en:"Share on tumblr",es:"Compartir en tumblr",fi:"Jaa tumblrissä",fr:"Partager sur tumblr",hr:"Podijelite na tumblr",hu:"Megosztás tumblren",it:"Condividi su tumblr",ja:"tumblr上で共有",ko:"tumblr에서 공유하기",nl:"Delen op tumblr",no:"Del på tumblr",pl:"Udostępnij przez tumblr",pt:"Compartilhar no tumblr",ro:"Partajează pe tumblr",ru:"Поделиться на tumblr",sk:"Zdieľať na tumblr",sl:"Deli na tumblr",sr:"Podeli na tumblr-u",sv:"Dela på tumblr",tr:"tumblr'ta paylaş",zh:"在tumblr上分享"},shareUrl:"http://tumblr.com/widgets/share/tool?canonicalUrl="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},213:function(e,t,r){"use strict";var a=r(39);e.exports=function(e){var t=a.parse("https://twitter.com/intent/tweet",!0),r=e.getTitle();return t.query.text=function(e,t){var r=document.createElement("div"),a=document.createTextNode(e);r.appendChild(a);var n=r.textContent;if(n.length<=t)return e;var i=n.substring(0,t-1).lastIndexOf(" ");return n=n.substring(0,i)+"…"}(r,120),t.query.url=e.getURL(),null!==e.options.twitterVia&&(t.query.via=e.options.twitterVia),delete t.search,{popup:!0,shareText:{en:"tweet",ja:"のつぶやき",ko:"짹짹",ru:"твит",sr:"твеет",zh:"鸣叫"},name:"twitter",faPrefix:"fab",faName:"fa-twitter",title:{bg:"Сподели в Twitter",cs:"Sdílet na Twiiteru",da:"Del på Twitter",de:"Bei Twitter teilen",en:"Share on Twitter",es:"Compartir en Twitter",fi:"Jaa Twitterissä",fr:"Partager sur Twitter",hr:"Podijelite na Twitteru",hu:"Megosztás Twitteren",it:"Condividi su Twitter",ja:"ツイッター上で共有",ko:"트위터에서 공유하기",nl:"Delen op Twitter",no:"Del på Twitter",pl:"Udostępnij na Twitterze",pt:"Compartilhar no Twitter",ro:"Partajează pe Twitter",ru:"Поделиться на Twitter",sk:"Zdieľať na Twitteri",sl:"Deli na Twitterju",sr:"Podeli na Twitter-u",sv:"Dela på Twitter",tr:"Twitter'da paylaş",zh:"在Twitter上分享"},shareUrl:a.format(t)+e.getReferrerTrack()}}},214:function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"vk",faPrefix:"fab",faName:"fa-vk",title:{bg:"Сподели във VK",cs:"Sdílet na VKu",da:"Del på VK",de:"Bei VK teilen",en:"Share on VK",es:"Compartir en VK",fi:"Jaa VKissa",fr:"Partager sur VK",hr:"Podijelite na VKu",hu:"Megosztás VKon",it:"Condividi su VK",ja:"フェイスブック上で共有",ko:"페이스북에서 공유하기",nl:"Delen op VK",no:"Del på VK",pl:"Udostępnij na VKu",pt:"Compartilhar no VK",ro:"Partajează pe VK",ru:"Поделиться на ВКонтакте",sk:"Zdieľať na VKu",sl:"Deli na VKu",sr:"Podeli na VK-u",sv:"Dela på VK",tr:"VK'ta paylaş",zh:"在VK上分享"},shareUrl:"https://vk.com/share.php?url="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},215:function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"weibo",faPrefix:"fab",faName:"fa-weibo",title:{bg:"Сподели в weibo",cs:"Sdílet na weibo",da:"Del på weibo",de:"Bei weibo teilen",en:"Share on weibo",es:"Compartir en weibo",fi:"Jaa weiboissä",fr:"Partager sur weibo",hr:"Podijelite na weibo",hu:"Megosztás weiboen",it:"Condividi su weibo",ja:"Weibo上で共有",ko:"Weibo에서 공유하기",nl:"Delen op weibo",no:"Del på weibo",pl:"Udostępnij przez weibo",pt:"Compartilhar no weibo",ro:"Partajează pe weibo",ru:"Поделиться на weibo",sk:"Zdieľať na weibo",sl:"Deli na weibo",sr:"Podeli na weibo-u",sv:"Dela på weibo",tr:"Weibo'ta paylaş",zh:"分享至新浪微博"},shareUrl:"http://service.weibo.com/share/share.php?url="+encodeURIComponent(e.getURL())+"&title="+e.getTitle()+e.getReferrerTrack()}}},216:function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=e.getTitle();return{popup:!1,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"whatsapp",faPrefix:"fab",faName:"fa-whatsapp",title:{bg:"Сподели в Whatsapp",cs:"Sdílet na Whatsappu",da:"Del på Whatsapp",de:"Bei Whatsapp teilen",en:"Share on Whatsapp",es:"Compartir en Whatsapp",fi:"Jaa WhatsAppissä",fr:"Partager sur Whatsapp",hr:"Podijelite na Whatsapp",hu:"Megosztás WhatsAppen",it:"Condividi su Whatsapp",ja:"Whatsapp上で共有",ko:"Whatsapp에서 공유하기",nl:"Delen op Whatsapp",no:"Del på Whatsapp",pl:"Udostępnij przez WhatsApp",pt:"Compartilhar no Whatsapp",ro:"Partajează pe Whatsapp",ru:"Поделиться на Whatsapp",sk:"Zdieľať na Whatsapp",sl:"Deli na Whatsapp",sr:"Podeli na WhatsApp-u",sv:"Dela på Whatsapp",tr:"Whatsapp'ta paylaş",zh:"在Whatsapp上分享"},shareUrl:"whatsapp://send?text="+encodeURIComponent(r)+"%20"+t+e.getReferrerTrack()}}},217:function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"xing",faPrefix:"fab",faName:"fa-xing",title:{bg:"Сподели в XING",cs:"Sdílet na XINGu",da:"Del på XING",de:"Bei XING teilen",en:"Share on XING",es:"Compartir en XING",fi:"Jaa XINGissä",fr:"Partager sur XING",hr:"Podijelite na XING",hu:"Megosztás XINGen",it:"Condividi su XING",ja:"XING上で共有",ko:"XING에서 공유하기",nl:"Delen op XING",no:"Del på XING",pl:"Udostępnij przez XING",pt:"Compartilhar no XING",ro:"Partajează pe XING",ru:"Поделиться на XING",sk:"Zdieľať na XING",sl:"Deli na XING",sr:"Podeli na XING-u",sv:"Dela på XING",tr:"XING'ta paylaş",zh:"分享至XING"},shareUrl:"https://www.xing.com/spi/shares/new?url="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},3:function(e,t){e.exports=window.wp.i18n},37:function(e,t){e.exports=window.novablocks.icons},39:function(e,t,r){"use strict";var a=r(191),n=r(193);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=k,t.resolve=function(e,t){return k(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?k(e,!1,!0).resolveObject(t):t},t.format=function(e){n.isString(e)&&(e=k(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,p=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(p),d=["%","/","?",";","#"].concat(u),c=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},b={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=r(194);function k(e,t,r){if(e&&n.isObject(e)&&e instanceof i)return e;var a=new i;return a.parse(e,t,r),a}i.prototype.parse=function(e,t,r){if(!n.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),s=-1!==i&&i<e.indexOf("#")?"?":"#",p=e.split(s);p[0]=p[0].replace(/\\/g,"/");var k=e=p.join(s);if(k=k.trim(),!r&&1===e.split("#").length){var j=l.exec(k);if(j)return this.path=k,this.href=k,this.pathname=j[1],j[2]?(this.search=j[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var y=o.exec(k);if(y){var w=(y=y[0]).toLowerCase();this.protocol=w,k=k.substr(y.length)}if(r||y||k.match(/^\/\/[^@\/]+@[^@\/]+/)){var z="//"===k.substr(0,2);!z||y&&b[y]||(k=k.substr(2),this.slashes=!0)}if(!b[y]&&(z||y&&!g[y])){for(var T,P,x=-1,C=0;C<c.length;C++){-1!==(_=k.indexOf(c[C]))&&(-1===x||_<x)&&(x=_)}-1!==(P=-1===x?k.lastIndexOf("@"):k.lastIndexOf("@",x))&&(T=k.slice(0,P),k=k.slice(P+1),this.auth=decodeURIComponent(T)),x=-1;for(C=0;C<d.length;C++){var _;-1!==(_=k.indexOf(d[C]))&&(-1===x||_<x)&&(x=_)}-1===x&&(x=k.length),this.host=k.slice(0,x),k=k.slice(x),this.parseHost(),this.hostname=this.hostname||"";var U="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!U)for(var I=this.hostname.split(/\./),R=(C=0,I.length);C<R;C++){var S=I[C];if(S&&!S.match(h)){for(var D="",O=0,L=S.length;O<L;O++)S.charCodeAt(O)>127?D+="x":D+=S[O];if(!D.match(h)){var A=I.slice(0,C),N=I.slice(C+1),F=S.match(f);F&&(A.push(F[1]),N.unshift(F[2])),N.length&&(k="/"+N.join(".")+k),this.hostname=A.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),U||(this.hostname=a.toASCII(this.hostname));var M=this.port?":"+this.port:"",q=this.hostname||"";this.host=q+M,this.href+=this.host,U&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==k[0]&&(k="/"+k))}if(!m[w])for(C=0,R=u.length;C<R;C++){var J=u[C];if(-1!==k.indexOf(J)){var E=encodeURIComponent(J);E===J&&(E=escape(J)),k=k.split(J).join(E)}}var W=k.indexOf("#");-1!==W&&(this.hash=k.substr(W),k=k.slice(0,W));var V=k.indexOf("?");if(-1!==V?(this.search=k.substr(V),this.query=k.substr(V+1),t&&(this.query=v.parse(this.query)),k=k.slice(0,V)):t&&(this.search="",this.query={}),k&&(this.pathname=k),g[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){M=this.pathname||"";var G=this.search||"";this.path=M+G}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",a=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&n.isObject(this.query)&&Object.keys(this.query).length&&(o=v.stringify(this.query));var s=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),a&&"#"!==a.charAt(0)&&(a="#"+a),s&&"?"!==s.charAt(0)&&(s="?"+s),t+i+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+a},i.prototype.resolve=function(e){return this.resolveObject(k(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(n.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var r=new i,a=Object.keys(this),o=0;o<a.length;o++){var s=a[o];r[s]=this[s]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),p=0;p<l.length;p++){var u=l[p];"protocol"!==u&&(r[u]=e[u])}return g[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!g[e.protocol]){for(var d=Object.keys(e),c=0;c<d.length;c++){var h=d[c];r[h]=e[h]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||b[e.protocol])r.pathname=e.pathname;else{for(var f=(e.pathname||"").split("/");f.length&&!(e.host=f.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),r.pathname=f.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var m=r.pathname||"",v=r.search||"";r.path=m+v}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var k=r.pathname&&"/"===r.pathname.charAt(0),j=e.host||e.pathname&&"/"===e.pathname.charAt(0),y=j||k||r.host&&e.pathname,w=y,z=r.pathname&&r.pathname.split("/")||[],T=(f=e.pathname&&e.pathname.split("/")||[],r.protocol&&!g[r.protocol]);if(T&&(r.hostname="",r.port=null,r.host&&(""===z[0]?z[0]=r.host:z.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===f[0]?f[0]=e.host:f.unshift(e.host)),e.host=null),y=y&&(""===f[0]||""===z[0])),j)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,z=f;else if(f.length)z||(z=[]),z.pop(),z=z.concat(f),r.search=e.search,r.query=e.query;else if(!n.isNullOrUndefined(e.search)){if(T)r.hostname=r.host=z.shift(),(U=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=U.shift(),r.host=r.hostname=U.shift());return r.search=e.search,r.query=e.query,n.isNull(r.pathname)&&n.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!z.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var P=z.slice(-1)[0],x=(r.host||e.host||z.length>1)&&("."===P||".."===P)||""===P,C=0,_=z.length;_>=0;_--)"."===(P=z[_])?z.splice(_,1):".."===P?(z.splice(_,1),C++):C&&(z.splice(_,1),C--);if(!y&&!w)for(;C--;C)z.unshift("..");!y||""===z[0]||z[0]&&"/"===z[0].charAt(0)||z.unshift(""),x&&"/"!==z.join("/").substr(-1)&&z.push("");var U,I=""===z[0]||z[0]&&"/"===z[0].charAt(0);T&&(r.hostname=r.host=I?"":z.length?z.shift():"",(U=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=U.shift(),r.host=r.hostname=U.shift()));return(y=y||r.host&&z.length)&&!I&&z.unshift(""),z.length?r.pathname=z.join("/"):(r.pathname=null,r.path=null),n.isNull(r.pathname)&&n.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},57:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=["twitter","facebook","linkedin","pinterest","whatsapp"]},8:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r}}); -
nova-blocks/trunk/build/block-library/blocks/sharing-overlay/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks-utils', 'wp-blocks', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => ' 44f845ef9e91bbd40b915410d6566c24');1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks-utils', 'wp-blocks', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => '55b1e9cb16f78fd00db7f65119fec37c'); -
nova-blocks/trunk/build/block-library/blocks/sharing-overlay/index.js
r2738702 r2744078 1 !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=21 9)}({0:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},1:function(t,e){t.exports=window.wp.element},10:function(t,e){t.exports=window.novablocks.utils},11:function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.default=t.exports,t.exports.__esModule=!0},12:function(t,e,n){var r;1 !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=218)}({0:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},1:function(t,e){t.exports=window.wp.element},10:function(t,e){t.exports=window.novablocks.utils},11:function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.default=t.exports,t.exports.__esModule=!0},12:function(t,e,n){var r; 2 2 /*! 3 3 Copyright (c) 2017 Jed Watson. 4 4 Licensed under the MIT License (MIT), see 5 5 http://jedwatson.github.io/classnames 6 */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&t.push(a)}else if("object"===i)for(var s in r)n.call(r,s)&&r[s]&&t.push(s)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},2:function(t,e){t.exports=window.novablocks.blockEditor},21 9:function(t,e,n){"use strict";var r=n(0),o=r(n(11)),i=n(5),a=n(2),s=n(25),u=r(n(220)),c=r(n(221)),l=r(n(223));function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){(0,o.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var p={colorSignal:{type:"number",default:3},paletteVariation:{type:"number",default:12}};(0,s.addFilter)("blocks.registerBlockType","novablocks/sharing-overlay/attributes-overwrite",(function(t){return"novablocks/sharing-overlay"!==t.name?t:f(f({},t),{},{attributes:f(f({},t.attributes),p)})}),Number.MAX_SAFE_INTEGER),(0,i.registerBlockType)("novablocks/sharing-overlay",{icon:(0,a.getSvg)(u.default),attributes:l.default,edit:c.default,save:function(){return null}})},220:function(t,e,n){"use strict";n.r(e);var r=n(6),o=n.n(r),i=n(7),a=n.n(i),s=new o.a({id:"block-library-sharing-overlay/icon",use:"block-library-sharing-overlay/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-sharing-overlay/icon"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0ZM8.855 12.4c0-3.31 2.678-6 6-6 3.309 0 5.987 2.69 6 6 0 3.31-2.691 6-6 6-3.31 0-6-2.69-6-6Zm4.496 0c0 .834.67 1.503 1.504 1.503.82 0 1.49-.67 1.503-1.503 0-.834-.67-1.503-1.503-1.503-.834 0-1.504.67-1.504 1.503Zm-7.528-1.503c-.834 0-1.503.67-1.503 1.503 0 .834.67 1.503 1.503 1.503.834 0 1.503-.67 1.503-1.503 0-.834-.67-1.503-1.503-1.503Z" fill="#6565F2" /></symbol>'});a.a.add(s);e.default=s},221:function(t,e,n){"use strict";var r=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(1),i=r(n(12)),a=n(2),s=n(10),u=r(n(222)),c=function(t){var e=t.attributes,n=e.showCopy,r=e.showSharePrivately,u=e.showSocialIcons,c=e.showShareInPerson,f=e.showTwitter,p=e.showFacebook,h=e.showLinkedin,v=e.showPinterest,y=e.showWhatsapp,m=e.headingLevel,g=(e.buttonLabel,(0,i.default)("novablocks-sharing__wrap",(0,s.getColorSignalClassnames)(e,!0))),b="h".concat(m);return(0,o.createElement)("div",{className:g},(0,o.createElement)("div",{className:"novablocks-sharing__container"},(0,o.createElement)("div",{className:"novablocks-sharing__content"},(0,o.createElement)(b,{className:"novablocks-sharing__title"},"Sharing Options"),n&&(0,o.createElement)(l,{title:"Use a link for everything",description:"Copy link and paste it anywhere you want it"},(0,o.createElement)("input",{className:"novablocks-sharing__copy-input",type:"text",value:"http://rosa2.work/reservations/",readOnly:""}),(0,o.createElement)("div",{className:"novablocks-sharing__list"},(0,o.createElement)(d,{icon:"link",label:"Copy link to clipboard"}))),r&&(0,o.createElement)(l,{title:"Share privately with friends"},(0,o.createElement)("div",{className:"novablocks-sharing__list"},(0,o.createElement)(d,{icon:"email",label:"Email"}))),u&&(f||p||h)&&(0,o.createElement)(l,{title:"Share publicly on social networks"},(0,o.createElement)("div",{className:"novablocks-sharing__list"},f&&(0,o.createElement)(d,{icon:"twitter",label:"Twitter"}),p&&(0,o.createElement)(d,{icon:"facebook",label:"Facebook"}),h&&(0,o.createElement)(d,{icon:"linkedin",label:"Linkedin"}),v&&(0,o.createElement)(d,{icon:"share",label:"Pinterest"}),y&&(0,o.createElement)(d,{icon:"whatsapp",label:"WhatsApp"}))),c&&(0,o.createElement)(l,{title:"Or maybe you want in person?"},(0,o.createElement)("div",{className:"novablocks-sharing__list"},(0,o.createElement)(d,{icon:"printer",label:"Print"}))),(0,o.createElement)("div",{className:"novablocks-sharing__footer"},"Thanks for spreading the word!"))),(0,o.createElement)("div",{className:"novablocks-sharing__close"},(0,a.getIconSvg)("cancel")))},l=function(t){var e=t.title,n=t.description,r=t.children;return(0,o.createElement)("div",{className:"novablocks-sharing__group novablocks-sharing__group--public"},e&&(0,o.createElement)("h5",{className:"novablocks-sharing__group-title"},e),n&&(0,o.createElement)("div",{className:"novablocks-sharing__group-description"},n),r&&(0,o.createElement)("div",{className:"novablocks-sharing__group-content"},r))},d=function(t){var e=t.icon,n=t.label;return(0,o.createElement)("div",{className:"novablocks-sharing__list-item"},(0,o.createElement)("a",{className:"novablocks-sharing__link",href:"#"},(0,o.createElement)("div",{className:"novablocks-sharing__link-icon"},(0,a.getIconSvg)(e)),(0,o.createElement)("div",{className:"novablocks-sharing__link-label"},n)))},f=function(t){var e=t.isSelected;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"wp-block-buttons"},(0,o.createElement)("div",{className:"wp-block-button"},(0,o.createElement)("button",{className:"wp-block-button__link"},"View sharing options"))),e&&(0,o.createElement)(c,t),(0,o.createElement)(u.default,t))};e.default=f},222:function(t,e,n){"use strict";var r=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(1),i=r(n(11)),a=n(3),s=n(2);function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){(0,i.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var l=r(n(58)).default.map((function(t){var e=t.charAt(0).toUpperCase()+t.slice(1);return{label:e,attribute:"show".concat(e)}})),d=[{label:(0,a.__)("Copy Link","nova-blocks"),attribute:"showCopy"},{label:(0,a.__)("Share Privately","nova-blocks"),attribute:"showSharePrivately"},{label:(0,a.__)("Social Icons","nova-blocks"),attribute:"showSocialIcons"},{label:(0,a.__)("Show Print","nova-blocks"),attribute:"showShareInPerson"}],f=function(t){var e=t.attributes,n=t.setAttributes,r=e.headingLevel,i=e.showSocialIcons;return(0,o.createElement)(s.ControlsSection,{id:"display",label:(0,a.__)("Display","nova-blocks")},(0,o.createElement)(s.ControlsTab,{label:(0,a.__)("Settings","nova-blocks")},(0,o.createElement)(s.HeadingToolbar,{minLevel:2,maxLevel:5,selectedLevel:r,onChange:function(t){return n({headingLevel:t})}}),(0,o.createElement)(s.ControlsGroup,{title:(0,a.__)("Set up sections for this block","nova-blocks")},(0,o.createElement)(s.ToggleGroup,{onChange:n,toggles:d.map((function(t){return c(c({},t),{},{value:e[t.attribute]})}))})),i&&(0,o.createElement)(s.ControlsGroup,{title:(0,a.__)("Set up social icons","nova-blocks")},(0,o.createElement)(s.ToggleGroup,{onChange:n,toggles:l.map((function(t){return c(c({},t),{},{value:e[t.attribute]})}))}))))};e.default=f},223:function(t){t.exports=JSON.parse('{"showCopy":{"type":"boolean","default":true},"showSharePrivately":{"type":"boolean","default":true},"showSocialIcons":{"type":"boolean","default":true},"showShareInPerson":{"type":"boolean","default":true},"showTwitter":{"type":"boolean","default":true},"showFacebook":{"type":"boolean","default":true},"showLinkedin":{"type":"boolean","default":true},"showPinterest":{"type":"boolean","default":false},"showWhatsapp":{"type":"boolean","default":false},"headingLevel":{"type":"number","default":4},"buttonLabel":{"type":"string","default":"View sharing options"}}')},25:function(t,e){t.exports=window.wp.hooks},3:function(t,e){t.exports=window.wp.i18n},5:function(t,e){t.exports=window.wp.blocks},58:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=["twitter","facebook","linkedin","pinterest","whatsapp"]},6:function(t,e,n){(function(e){var n;n=function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};function n(t,e){return t(e={exports:{}},e.exports),e.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))},"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var r=n((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o;return n&&!0===n.clone&&t(e)?r((o=e,Array.isArray(o)?[]:{}),e,n):e}function n(n,o,i){var a=n.slice();return o.forEach((function(o,s){void 0===a[s]?a[s]=e(o,i):t(o)?a[s]=r(n[s],o,i):-1===n.indexOf(o)&&a.push(e(o,i))})),a}function r(o,i,a){var s=Array.isArray(i),u=(a||{arrayMerge:n}).arrayMerge||n;return s?Array.isArray(o)?u(o,i,a):e(i,a):function(n,o,i){var a={};return t(n)&&Object.keys(n).forEach((function(t){a[t]=e(n[t],i)})),Object.keys(o).forEach((function(s){t(o[s])&&n[s]?a[s]=r(n[s],o[s],i):a[s]=e(o[s],i)})),a}(o,i,a)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return r(t,n,e)}))},r}()})),o=n((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=o.svg,a=o.xlink,s={};s[i.name]=i.uri,s[a.name]=a.uri;var u=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(r(s,e||{}))+">"+t+"</svg>"};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(u(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)},t.exports=n()}).call(this,n(8))},7:function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=t((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o;return n&&!0===n.clone&&t(e)?r((o=e,Array.isArray(o)?[]:{}),e,n):e}function n(n,o,i){var a=n.slice();return o.forEach((function(o,s){void 0===a[s]?a[s]=e(o,i):t(o)?a[s]=r(n[s],o,i):-1===n.indexOf(o)&&a.push(e(o,i))})),a}function r(o,i,a){var s=Array.isArray(i),u=(a||{arrayMerge:n}).arrayMerge||n;return s?Array.isArray(o)?u(o,i,a):e(i,a):function(n,o,i){var a={};return t(n)&&Object.keys(n).forEach((function(t){a[t]=e(n[t],i)})),Object.keys(o).forEach((function(s){t(o[s])&&n[s]?a[s]=r(n[s],o[s],i):a[s]=e(o[s],i)})),a}(o,i,a)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return r(t,n,e)}))},r}()})),r=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),o=r.svg,i=r.xlink,a={};a[o.name]=o.uri,a[i.name]=i.uri;var s,u=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(n(a,e||{}))+">"+t+"</svg>"},c=r.svg,l=r.xlink,d={attrs:(s={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},s[c.name]=c.uri,s[l.name]=l.uri,s)},f=function(t){this.config=n(d,t||{}),this.symbols=[]};f.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},f.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},f.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},f.prototype.has=function(t){return null!==this.find(t)},f.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map((function(t){return t.stringify()})).join("");return u(e,t)},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var p=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};p.prototype.stringify=function(){return this.content},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var h=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},v=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return h(u(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(p),y={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},m=function(t){return Array.prototype.slice.call(t,0)},g=function(){return/firefox/i.test(navigator.userAgent)},b=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},w=function(){return/edge/i.test(navigator.userAgent)},_=function(t){return(t||window.location.href).split("#")[0]},E=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,r){var o,i,a;o=t,i={oldUrl:r,newUrl:n},(a=document.createEvent("CustomEvent")).initCustomEvent(o,!1,!1,i),window.dispatchEvent(a)}))}])},x=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern, mask, clipPath"),m(t.querySelectorAll("symbol")).forEach((function(t){m(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t},k=r.xlink.uri,O=/[{}|\\\^\[\]`"<>]/g;function S(t){return t.replace(O,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var j,P=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],C=P.map((function(t){return"["+t+"]"})).join(","),N=function(t,e,n,r){var o=S(n),i=S(r);(function(t,e){return m(t).reduce((function(t,n){if(!n.attributes)return t;var r=m(n.attributes),o=e?r.filter(e):r;return t.concat(o)}),[])})(t.querySelectorAll(C),(function(t){var e=t.localName,n=t.value;return-1!==P.indexOf(e)&&-1!==n.indexOf("url("+o)})).forEach((function(t){return t.value=t.value.replace(new RegExp(o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,e,n){m(t).forEach((function(t){var r=t.getAttribute("xlink:href");if(r&&0===r.indexOf(e)){var o=r.replace(e,n);t.setAttributeNS(k,"xlink:href",o)}}))}(e,o,i)},A="mount",M="symbol_mount",T=function(t){function e(e){var r=this;void 0===e&&(e={}),t.call(this,n(y,e));var o,i=(o=o||Object.create(null),{on:function(t,e){(o[t]||(o[t]=[])).push(e)},off:function(t,e){o[t]&&o[t].splice(o[t].indexOf(e)>>>0,1)},emit:function(t,e){(o[t]||[]).map((function(t){t(e)})),(o["*"]||[]).map((function(n){n(t,e)}))}});this._emitter=i,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(e),a.syncUrlsWithBaseTag){var s=document.getElementsByTagName("base")[0].getAttribute("href");i.on(A,(function(){return r.updateUrls("#",s)}))}var u=this._handleLocationChange.bind(this);this._handleLocationChange=u,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,u),a.locationChangeAngularEmitter&&E(a.locationChangeEvent),i.on(A,(function(t){a.moveGradientsOutsideSymbol&&x(t)})),i.on(M,(function(t){var e;a.moveGradientsOutsideSymbol&&x(t.parentNode),(b()||w())&&(e=[],m(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})))}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=g())},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,r=e.newUrl;this.updateUrls(n,r)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit(M,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var r="string"==typeof t?document.querySelector(t):t;return n.node=r,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(M,t.node)})),m(r.querySelectorAll("symbol")).forEach((function(t){var e=v.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(A,r),r},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach((function(t){return t.destroy()})),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){if(void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1),this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,r=this.render();return this.node=r,e&&n.childNodes[0]?n.insertBefore(r,n.childNodes[0]):n.appendChild(r),this._emitter.emit(A,r),r},e.prototype.render=function(){return h(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return N(this.node,n,_(t)+"#",_(e)+"#"),!0},Object.defineProperties(e.prototype,r),e}(f),L=t((function(t){var e,n,r,o,i;t.exports=(n=[],r=document,o=r.documentElement.doScroll,(i=(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState))||r.addEventListener("DOMContentLoaded",e=function(){for(r.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),function(t){i?setTimeout(t,0):n.push(t)})}));window.__SVG_SPRITE__?j=window.__SVG_SPRITE__:(j=new T({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=j);var B=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?j.attach(t):j.mount(document.body,!0)};return document.body?B():L(B),j},t.exports=n()}).call(this,n(8))},8:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n}});6 */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&t.push(a)}else if("object"===i)for(var s in r)n.call(r,s)&&r[s]&&t.push(s)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},2:function(t,e){t.exports=window.novablocks.blockEditor},218:function(t,e,n){"use strict";var r=n(0),o=r(n(11)),i=n(5),a=n(2),s=n(24),u=r(n(219)),c=r(n(220)),l=r(n(222));function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){(0,o.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var p={colorSignal:{type:"number",default:3},paletteVariation:{type:"number",default:12}};(0,s.addFilter)("blocks.registerBlockType","novablocks/sharing-overlay/attributes-overwrite",(function(t){return"novablocks/sharing-overlay"!==t.name?t:f(f({},t),{},{attributes:f(f({},t.attributes),p)})}),Number.MAX_SAFE_INTEGER),(0,i.registerBlockType)("novablocks/sharing-overlay",{icon:(0,a.getSvg)(u.default),attributes:l.default,edit:c.default,save:function(){return null}})},219:function(t,e,n){"use strict";n.r(e);var r=n(6),o=n.n(r),i=n(7),a=n.n(i),s=new o.a({id:"block-library-sharing-overlay/icon",use:"block-library-sharing-overlay/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-sharing-overlay/icon"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0ZM8.855 12.4c0-3.31 2.678-6 6-6 3.309 0 5.987 2.69 6 6 0 3.31-2.691 6-6 6-3.31 0-6-2.69-6-6Zm4.496 0c0 .834.67 1.503 1.504 1.503.82 0 1.49-.67 1.503-1.503 0-.834-.67-1.503-1.503-1.503-.834 0-1.504.67-1.504 1.503Zm-7.528-1.503c-.834 0-1.503.67-1.503 1.503 0 .834.67 1.503 1.503 1.503.834 0 1.503-.67 1.503-1.503 0-.834-.67-1.503-1.503-1.503Z" fill="#6565F2" /></symbol>'});a.a.add(s);e.default=s},220:function(t,e,n){"use strict";var r=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(1),i=r(n(12)),a=n(2),s=n(10),u=r(n(221)),c=function(t){var e=t.attributes,n=e.showCopy,r=e.showSharePrivately,u=e.showSocialIcons,c=e.showShareInPerson,f=e.showTwitter,p=e.showFacebook,h=e.showLinkedin,v=e.showPinterest,y=e.showWhatsapp,m=e.headingLevel,g=(e.buttonLabel,(0,i.default)("novablocks-sharing__wrap",(0,s.getColorSignalClassnames)(e,!0))),b="h".concat(m);return(0,o.createElement)("div",{className:g},(0,o.createElement)("div",{className:"novablocks-sharing__container"},(0,o.createElement)("div",{className:"novablocks-sharing__content"},(0,o.createElement)(b,{className:"novablocks-sharing__title"},"Sharing Options"),n&&(0,o.createElement)(l,{title:"Use a link for everything",description:"Copy link and paste it anywhere you want it"},(0,o.createElement)("input",{className:"novablocks-sharing__copy-input",type:"text",value:"http://rosa2.work/reservations/",readOnly:""}),(0,o.createElement)("div",{className:"novablocks-sharing__list"},(0,o.createElement)(d,{icon:"link",label:"Copy link to clipboard"}))),r&&(0,o.createElement)(l,{title:"Share privately with friends"},(0,o.createElement)("div",{className:"novablocks-sharing__list"},(0,o.createElement)(d,{icon:"email",label:"Email"}))),u&&(f||p||h)&&(0,o.createElement)(l,{title:"Share publicly on social networks"},(0,o.createElement)("div",{className:"novablocks-sharing__list"},f&&(0,o.createElement)(d,{icon:"twitter",label:"Twitter"}),p&&(0,o.createElement)(d,{icon:"facebook",label:"Facebook"}),h&&(0,o.createElement)(d,{icon:"linkedin",label:"Linkedin"}),v&&(0,o.createElement)(d,{icon:"share",label:"Pinterest"}),y&&(0,o.createElement)(d,{icon:"whatsapp",label:"WhatsApp"}))),c&&(0,o.createElement)(l,{title:"Or maybe you want in person?"},(0,o.createElement)("div",{className:"novablocks-sharing__list"},(0,o.createElement)(d,{icon:"printer",label:"Print"}))),(0,o.createElement)("div",{className:"novablocks-sharing__footer"},"Thanks for spreading the word!"))),(0,o.createElement)("div",{className:"novablocks-sharing__close"},(0,a.getIconSvg)("cancel")))},l=function(t){var e=t.title,n=t.description,r=t.children;return(0,o.createElement)("div",{className:"novablocks-sharing__group novablocks-sharing__group--public"},e&&(0,o.createElement)("h5",{className:"novablocks-sharing__group-title"},e),n&&(0,o.createElement)("div",{className:"novablocks-sharing__group-description"},n),r&&(0,o.createElement)("div",{className:"novablocks-sharing__group-content"},r))},d=function(t){var e=t.icon,n=t.label;return(0,o.createElement)("div",{className:"novablocks-sharing__list-item"},(0,o.createElement)("a",{className:"novablocks-sharing__link",href:"#"},(0,o.createElement)("div",{className:"novablocks-sharing__link-icon"},(0,a.getIconSvg)(e)),(0,o.createElement)("div",{className:"novablocks-sharing__link-label"},n)))},f=function(t){var e=t.isSelected;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"wp-block-buttons"},(0,o.createElement)("div",{className:"wp-block-button"},(0,o.createElement)("button",{className:"wp-block-button__link"},"View sharing options"))),e&&(0,o.createElement)(c,t),(0,o.createElement)(u.default,t))};e.default=f},221:function(t,e,n){"use strict";var r=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(1),i=r(n(11)),a=n(3),s=n(2);function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){(0,i.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var l=r(n(57)).default.map((function(t){var e=t.charAt(0).toUpperCase()+t.slice(1);return{label:e,attribute:"show".concat(e)}})),d=[{label:(0,a.__)("Copy Link","nova-blocks"),attribute:"showCopy"},{label:(0,a.__)("Share Privately","nova-blocks"),attribute:"showSharePrivately"},{label:(0,a.__)("Social Icons","nova-blocks"),attribute:"showSocialIcons"},{label:(0,a.__)("Show Print","nova-blocks"),attribute:"showShareInPerson"}],f=function(t){var e=t.attributes,n=t.setAttributes,r=e.headingLevel,i=e.showSocialIcons;return(0,o.createElement)(s.ControlsSection,{id:"display",label:(0,a.__)("Display","nova-blocks")},(0,o.createElement)(s.ControlsTab,{label:(0,a.__)("Settings","nova-blocks")},(0,o.createElement)(s.HeadingToolbar,{minLevel:2,maxLevel:5,selectedLevel:r,onChange:function(t){return n({headingLevel:t})}}),(0,o.createElement)(s.ControlsGroup,{title:(0,a.__)("Set up sections for this block","nova-blocks")},(0,o.createElement)(s.ToggleGroup,{onChange:n,toggles:d.map((function(t){return c(c({},t),{},{value:e[t.attribute]})}))})),i&&(0,o.createElement)(s.ControlsGroup,{title:(0,a.__)("Set up social icons","nova-blocks")},(0,o.createElement)(s.ToggleGroup,{onChange:n,toggles:l.map((function(t){return c(c({},t),{},{value:e[t.attribute]})}))}))))};e.default=f},222:function(t){t.exports=JSON.parse('{"showCopy":{"type":"boolean","default":true},"showSharePrivately":{"type":"boolean","default":true},"showSocialIcons":{"type":"boolean","default":true},"showShareInPerson":{"type":"boolean","default":true},"showTwitter":{"type":"boolean","default":true},"showFacebook":{"type":"boolean","default":true},"showLinkedin":{"type":"boolean","default":true},"showPinterest":{"type":"boolean","default":false},"showWhatsapp":{"type":"boolean","default":false},"headingLevel":{"type":"number","default":4},"buttonLabel":{"type":"string","default":"View sharing options"}}')},24:function(t,e){t.exports=window.wp.hooks},3:function(t,e){t.exports=window.wp.i18n},5:function(t,e){t.exports=window.wp.blocks},57:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=["twitter","facebook","linkedin","pinterest","whatsapp"]},6:function(t,e,n){(function(e){var n;n=function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};function n(t,e){return t(e={exports:{}},e.exports),e.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))},"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var r=n((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o;return n&&!0===n.clone&&t(e)?r((o=e,Array.isArray(o)?[]:{}),e,n):e}function n(n,o,i){var a=n.slice();return o.forEach((function(o,s){void 0===a[s]?a[s]=e(o,i):t(o)?a[s]=r(n[s],o,i):-1===n.indexOf(o)&&a.push(e(o,i))})),a}function r(o,i,a){var s=Array.isArray(i),u=(a||{arrayMerge:n}).arrayMerge||n;return s?Array.isArray(o)?u(o,i,a):e(i,a):function(n,o,i){var a={};return t(n)&&Object.keys(n).forEach((function(t){a[t]=e(n[t],i)})),Object.keys(o).forEach((function(s){t(o[s])&&n[s]?a[s]=r(n[s],o[s],i):a[s]=e(o[s],i)})),a}(o,i,a)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return r(t,n,e)}))},r}()})),o=n((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=o.svg,a=o.xlink,s={};s[i.name]=i.uri,s[a.name]=a.uri;var u=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(r(s,e||{}))+">"+t+"</svg>"};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(u(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)},t.exports=n()}).call(this,n(8))},7:function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=t((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o;return n&&!0===n.clone&&t(e)?r((o=e,Array.isArray(o)?[]:{}),e,n):e}function n(n,o,i){var a=n.slice();return o.forEach((function(o,s){void 0===a[s]?a[s]=e(o,i):t(o)?a[s]=r(n[s],o,i):-1===n.indexOf(o)&&a.push(e(o,i))})),a}function r(o,i,a){var s=Array.isArray(i),u=(a||{arrayMerge:n}).arrayMerge||n;return s?Array.isArray(o)?u(o,i,a):e(i,a):function(n,o,i){var a={};return t(n)&&Object.keys(n).forEach((function(t){a[t]=e(n[t],i)})),Object.keys(o).forEach((function(s){t(o[s])&&n[s]?a[s]=r(n[s],o[s],i):a[s]=e(o[s],i)})),a}(o,i,a)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return r(t,n,e)}))},r}()})),r=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),o=r.svg,i=r.xlink,a={};a[o.name]=o.uri,a[i.name]=i.uri;var s,u=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(n(a,e||{}))+">"+t+"</svg>"},c=r.svg,l=r.xlink,d={attrs:(s={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},s[c.name]=c.uri,s[l.name]=l.uri,s)},f=function(t){this.config=n(d,t||{}),this.symbols=[]};f.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},f.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},f.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},f.prototype.has=function(t){return null!==this.find(t)},f.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map((function(t){return t.stringify()})).join("");return u(e,t)},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var p=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};p.prototype.stringify=function(){return this.content},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var h=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},v=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return h(u(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(p),y={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},m=function(t){return Array.prototype.slice.call(t,0)},g=function(){return/firefox/i.test(navigator.userAgent)},b=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},w=function(){return/edge/i.test(navigator.userAgent)},_=function(t){return(t||window.location.href).split("#")[0]},E=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,r){var o,i,a;o=t,i={oldUrl:r,newUrl:n},(a=document.createEvent("CustomEvent")).initCustomEvent(o,!1,!1,i),window.dispatchEvent(a)}))}])},x=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern, mask, clipPath"),m(t.querySelectorAll("symbol")).forEach((function(t){m(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t},k=r.xlink.uri,O=/[{}|\\\^\[\]`"<>]/g;function S(t){return t.replace(O,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var j,P=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],C=P.map((function(t){return"["+t+"]"})).join(","),N=function(t,e,n,r){var o=S(n),i=S(r);(function(t,e){return m(t).reduce((function(t,n){if(!n.attributes)return t;var r=m(n.attributes),o=e?r.filter(e):r;return t.concat(o)}),[])})(t.querySelectorAll(C),(function(t){var e=t.localName,n=t.value;return-1!==P.indexOf(e)&&-1!==n.indexOf("url("+o)})).forEach((function(t){return t.value=t.value.replace(new RegExp(o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,e,n){m(t).forEach((function(t){var r=t.getAttribute("xlink:href");if(r&&0===r.indexOf(e)){var o=r.replace(e,n);t.setAttributeNS(k,"xlink:href",o)}}))}(e,o,i)},A="mount",M="symbol_mount",T=function(t){function e(e){var r=this;void 0===e&&(e={}),t.call(this,n(y,e));var o,i=(o=o||Object.create(null),{on:function(t,e){(o[t]||(o[t]=[])).push(e)},off:function(t,e){o[t]&&o[t].splice(o[t].indexOf(e)>>>0,1)},emit:function(t,e){(o[t]||[]).map((function(t){t(e)})),(o["*"]||[]).map((function(n){n(t,e)}))}});this._emitter=i,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(e),a.syncUrlsWithBaseTag){var s=document.getElementsByTagName("base")[0].getAttribute("href");i.on(A,(function(){return r.updateUrls("#",s)}))}var u=this._handleLocationChange.bind(this);this._handleLocationChange=u,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,u),a.locationChangeAngularEmitter&&E(a.locationChangeEvent),i.on(A,(function(t){a.moveGradientsOutsideSymbol&&x(t)})),i.on(M,(function(t){var e;a.moveGradientsOutsideSymbol&&x(t.parentNode),(b()||w())&&(e=[],m(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})))}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=g())},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,r=e.newUrl;this.updateUrls(n,r)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit(M,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var r="string"==typeof t?document.querySelector(t):t;return n.node=r,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(M,t.node)})),m(r.querySelectorAll("symbol")).forEach((function(t){var e=v.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(A,r),r},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach((function(t){return t.destroy()})),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){if(void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1),this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,r=this.render();return this.node=r,e&&n.childNodes[0]?n.insertBefore(r,n.childNodes[0]):n.appendChild(r),this._emitter.emit(A,r),r},e.prototype.render=function(){return h(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return N(this.node,n,_(t)+"#",_(e)+"#"),!0},Object.defineProperties(e.prototype,r),e}(f),L=t((function(t){var e,n,r,o,i;t.exports=(n=[],r=document,o=r.documentElement.doScroll,(i=(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState))||r.addEventListener("DOMContentLoaded",e=function(){for(r.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),function(t){i?setTimeout(t,0):n.push(t)})}));window.__SVG_SPRITE__?j=window.__SVG_SPRITE__:(j=new T({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=j);var B=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?j.attach(t):j.mount(document.body,!0)};return document.body?B():L(B),j},t.exports=n()}).call(this,n(8))},8:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n}}); -
nova-blocks/trunk/build/block-library/blocks/sidecar-area/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-polyfill'), 'version' => ' 5f3cf06dd3c6ecc94a566ffa3c80f655');1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-polyfill'), 'version' => 'dd2eb818bfb7a3f013aee94ef7a759d3'); -
nova-blocks/trunk/build/block-library/blocks/sidecar-area/index.js
r2738702 r2744078 1 !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=22 4)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},11:function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0},12:function(e,t,r){var n;1 !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=223)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},11:function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0},12:function(e,t,r){var n; 2 2 /*! 3 3 Copyright (c) 2017 Jed Watson. 4 4 Licensed under the MIT License (MIT), see 5 5 http://jedwatson.github.io/classnames 6 */!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)&&n.length){var u=o.apply(null,n);u&&e.push(u)}else if("object"===a)for(var c in n)r.call(n,c)&&n[c]&&e.push(c)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},2:function(e,t){e.exports=window.novablocks.blockEditor},22 4:function(e,t,r){"use strict";var n=r(0),o=r(1),a=n(r(11)),u=r(5),c=r(4),i=n(r(225));function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){(0,a.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f={areaName:{type:"string",default:"content"}};(0,u.registerBlockType)("novablocks/sidecar-area",{attributes:f,edit:i.default,save:function(){return(0,o.createElement)(c.InnerBlocks.Content,null)},deprecated:[{attributes:f,isEligible:function(e,t){return"string"==typeof(null==e?void 0:e.className)&&(null==e?void 0:e.className.indexOf("novablocks-sidebar"))>-1},migrate:function(e,t){var r=e.className.replace("novablocks-sidebar","");return[s(s({},e),{},{areaName:"sidebar",className:r}),t]},save:function(){return(0,o.createElement)(c.InnerBlocks.Content,null)}}]})},225:function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(1),a=n(r(12)),u=r(2),c=r(4),i=function(e){(0,u.useSelectParent)(e);var t=(0,a.default)(e.className,"nb-sidecar-area","nb-sidecar-area--".concat(e.attributes.areaName),{"nb-content-layout-grid":"content"===e.attributes.areaName}),r=(0,c.useBlockProps)({className:t,style:e.style}),n=(0,c.useInnerBlocksProps)(r,{templateLock:!1,renderAppender:c.InnerBlocks.ButtonBlockAppender});return(0,o.createElement)("div",n)};t.default=i},4:function(e,t){e.exports=window.wp.blockEditor},5:function(e,t){e.exports=window.wp.blocks}});6 */!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)&&n.length){var u=o.apply(null,n);u&&e.push(u)}else if("object"===a)for(var c in n)r.call(n,c)&&n[c]&&e.push(c)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},2:function(e,t){e.exports=window.novablocks.blockEditor},223:function(e,t,r){"use strict";var n=r(0),o=r(1),a=n(r(11)),u=r(5),c=r(4),i=n(r(224));function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){(0,a.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f={areaName:{type:"string",default:"content"}};(0,u.registerBlockType)("novablocks/sidecar-area",{attributes:f,edit:i.default,save:function(){return(0,o.createElement)(c.InnerBlocks.Content,null)},deprecated:[{attributes:f,isEligible:function(e,t){return"string"==typeof(null==e?void 0:e.className)&&(null==e?void 0:e.className.indexOf("novablocks-sidebar"))>-1},migrate:function(e,t){var r=e.className.replace("novablocks-sidebar","");return[s(s({},e),{},{areaName:"sidebar",className:r}),t]},save:function(){return(0,o.createElement)(c.InnerBlocks.Content,null)}}]})},224:function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(1),a=n(r(12)),u=r(2),c=r(4),i=function(e){(0,u.useSelectParent)(e);var t=(0,a.default)(e.className,"nb-sidecar-area","nb-sidecar-area--".concat(e.attributes.areaName),{"nb-content-layout-grid":"content"===e.attributes.areaName}),r=(0,c.useBlockProps)({className:t,style:e.style}),n=(0,c.useInnerBlocksProps)(r,{templateLock:!1,renderAppender:c.InnerBlocks.ButtonBlockAppender});return(0,o.createElement)("div",n)};t.default=i},4:function(e,t){e.exports=window.wp.blockEditor},5:function(e,t){e.exports=window.wp.blocks}}); -
nova-blocks/trunk/build/block-library/blocks/sidecar/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => ' 7ebb9b70af574f240befd2f907dbc8af');1 <?php return array('dependencies' => array('novablocks-block-editor', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '464cd904f932c274b65c3d6ac45b98eb'); -
nova-blocks/trunk/build/block-library/blocks/sidecar/index.js
r2738702 r2744078 1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=22 6)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},11:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},12:function(e,t,n){var r;1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=225)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.wp.element},11:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},12:function(e,t,n){var r; 2 2 /*! 3 3 Copyright (c) 2017 Jed Watson. 4 4 Licensed under the MIT License (MIT), see 5 5 http://jedwatson.github.io/classnames 6 */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var l in r)n.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},13:function(e,t){e.exports=window.wp.data},2:function(e,t){e.exports=window.novablocks.blockEditor},22 6:function(e,t,n){"use strict";var r=n(0),o=n(1),i=n(5),a=n(4),l=n(2),u=r(n(227)),s=r(n(67)),c=r(n(231)),d=r(n(232)),f=r(n(233));(0,i.registerBlockType)("novablocks/sidecar",{icon:(0,l.getSvg)(c.default),attributes:d.default,edit:u.default,save:function(){return(0,o.createElement)(a.InnerBlocks.Content,null)},transforms:f.default,variations:s.default})},227:function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=r(n(11)),a=r(n(12)),l=n(4),u=(r(n(67)),n(2)),s=r(n(229)),c=r(n(230));function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=function(e){var t=e.attributes,n=t.sidebarWidth,r=t.sidebarPosition,i=t.lastItemIsSticky,d=t.contentFontSize,p=t.sidebarFontSize,h=e.clientId,y=(0,u.useInnerBlocks)(h),m=(0,a.default)("nb-sidecar","nb-sidecar--sidebar-".concat(r),"nb-sidecar--sidebar-".concat(n),"nb-content-layout-grid",{"nb-sidecar--sticky-sidebar":!0===i},"alignfull"),b=(0,l.useBlockProps)({style:f(f({},e.style),{},{"--nb-sidecar-content-font-size-base":"var(--nb-font-size-".concat(d,")"),"--nb-sidecar-sidebar-font-size-base":"var(--nb-font-size-".concat(p,")")}),className:m}),g=(0,l.useInnerBlocksProps)(b,{renderAppender:!1,templateLock:"all",allowedBlocks:["novablocks/sidecar-area"]});return y.length?(0,o.createElement)(o.Fragment,null,(0,o.createElement)(c.default,e),(0,o.createElement)(s.default,e),(0,o.createElement)("div",g)):(0,o.createElement)(u.VariationPicker,e)};t.default=p},228:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sidebarRight=t.sidebarNone=t.sidebarLeft=void 0;var r=n(1),o=(0,r.createElement)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("rect",{x:"0.5",y:"0.5",width:"47",height:"47",fill:"white",stroke:"#F4F5F8"}),(0,r.createElement)("rect",{x:"4",y:"10",width:"27",height:"28",fill:"#C4C7D5"}),(0,r.createElement)("rect",{x:"34",y:"10",width:"10",height:"28",fill:"#FAC919"}));t.sidebarRight=o;var i=(0,r.createElement)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("rect",{x:"0.5",y:"0.5",width:"47",height:"47",fill:"white",stroke:"#F4F5F8"}),(0,r.createElement)("rect",{x:"17",y:"10",width:"27",height:"28",fill:"#C4C7D5"}),(0,r.createElement)("rect",{x:"4",y:"10",width:"10",height:"28",fill:"#FAC919"}));t.sidebarLeft=i;var a=(0,r.createElement)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("rect",{x:"0.5",y:"0.5",width:"47",height:"47",fill:"white",stroke:"#F4F5F8"}),(0,r.createElement)("rect",{x:"10",y:"10",width:"28",height:"28",fill:"#C4C7D5"}));t.sidebarNone=a},229:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1),o=n(3),i=n(9),a=n(4),l=n(2),u=n(13),s=n(5),c=function(e){var t=e.attributes,n=e.setAttributes,a=t.contentFontSize,u=t.sidebarFontSize,s=[{label:(0,o.__)("Smallest","nova-blocks"),value:"smallest"},{label:(0,o.__)("Smaller","nova-blocks"),value:"smaller"},{label:(0,o.__)("Normal","nova-blocks"),value:"normal"},{label:(0,o.__)("Larger","nova-blocks"),value:"larger"},{label:(0,o.__)("Largest","nova-blocks"),value:"largest"}];return(0,r.createElement)(l.ControlsGroup,null,(0,r.createElement)(i.SelectControl,{key:"sidecar-content-font-controls",label:(0,o.__)("Content Font Size","nova-blocks"),value:a,options:s,onChange:function(e){n({contentFontSize:e})}}),(0,r.createElement)(i.SelectControl,{key:"sidecar-sidebar-font-controls",label:(0,o.__)("Sidebar Font Size","nova-blocks"),value:u,options:s,onChange:function(e){n({sidebarFontSize:e})}}))},d=function(e){var t=e.attributes,n=e.setAttributes,d=e.clientId,f=t.sidebarWidth,p=t.sidebarPosition,h=t.lastItemIsSticky,y=t.tagName,m=void 0===y?"div":y,b=(0,u.useDispatch)("core/block-editor").replaceInnerBlocks,g=(0,l.useInnerBlocks)(d),_=(0,r.useRef)([]),v={header:(0,o.__)("The <header> element should represent introductory content, typically a group of introductory or navigational aids.","nova-blocks"),main:(0,o.__)("The <main> element should be used for the primary content of your document only. ","nova-blocks"),section:(0,o.__)("The <section> element should represent a standalone portion of the document that can't be better represented by another element.","nova-blocks"),article:(0,o.__)("The <article> element should represent a self-contained, syndicatable portion of the document.","nova-blocks"),aside:(0,o.__)("The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content.","nova-blocks"),footer:(0,o.__)("The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).","nova-blocks")};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.ControlsSection,{id:"layout",order:10,label:(0,o.__)("Sidecar Layout","nova-blocks"),group:(0,o.__)("Block Anatomy","nova-blocks"),key:"sidecar_layout"},(0,r.createElement)(l.ControlsTab,{label:(0,o.__)("Settings","nova-blocks")},(0,r.createElement)(l.ControlsGroup,null,(0,r.createElement)(i.RadioControl,{key:"sidecar-sidebar-position",label:(0,o.__)("Sidebar Position","nova-blocks"),selected:p,options:[{label:(0,o.__)("Show sidebar on left","nova-blocks"),value:"left"},{label:(0,o.__)("Show sidebar on right","nova-blocks"),value:"right"},{label:(0,o.__)("No sidebar","nova-blocks"),value:"none"}],onChange:function(e){if("none"===e){var t=g.find((function(e){return"sidebar"===e.attributes.areaName}));_.current=(null==t?void 0:t.innerBlocks)||[],b(d,g.filter((function(e){return"sidebar"!==e.attributes.areaName})))}else{var r=(0,s.createBlock)("novablocks/sidecar-area",{areaName:"sidebar"},_.current);b(d,g.concat([r]))}n({sidebarPosition:e})}}),(0,r.createElement)(i.RadioControl,{key:"sidecar-sidebar-controls",label:(0,o.__)("Sidebar Size","nova-blocks"),selected:f,options:[{label:(0,o.__)("Small","nova-blocks"),value:"small"},{label:(0,o.__)("Medium","nova-blocks"),value:"medium"},{label:(0,o.__)("Large","nova-blocks"),value:"large"}],onChange:function(e){n({sidebarWidth:e})}})),"none"!==p&&(0,r.createElement)(l.ControlsGroup,null,(0,r.createElement)(i.ToggleControl,{label:(0,o.__)("Enable sticky sidebar on scroll","nova-blocks"),help:h?(0,o.__)("The last item inside sidebar will be sticky on scroll.","nova-blocks"):(0,o.__)("All blocks inside sidebar will be static.","nova-blocks"),checked:h,onChange:function(){return n({lastItemIsSticky:!h})}})),(0,r.createElement)(c,e))),(0,r.createElement)(a.InspectorControls,{__experimentalGroup:"advanced"},(0,r.createElement)(i.SelectControl,{label:(0,o.__)("HTML element","nova-blocks"),options:[{label:(0,o.__)("Default (<div>)","nova-blocks"),value:"div"},{label:"<header>",value:"header"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<article>",value:"article"},{label:"<aside>",value:"aside"},{label:"<footer>",value:"footer"}],value:m,onChange:function(e){return n({tagName:e})},help:v[m]})))};t.default=d},23:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},230:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1),o=n(3),i=n(4),a=n(9),l={left:{icon:"align-pull-left",label:(0,o.__)("Show Sidebar on Left Side","nova-blocks")},right:{icon:"align-pull-right",label:(0,o.__)("Show Sidebar on Right Side","nova-blocks")}},u=function(e){var t=e.attributes,n=e.setAttributes,o=t.sidebarPosition;return"none"===o?null:(0,r.createElement)(i.BlockControls,null,(0,r.createElement)(a.ToolbarGroup,null,Object.keys(l).map((function(e){return(0,r.createElement)(a.ToolbarButton,{icon:l[e].icon,label:l[e].label,key:e,isActive:e===o,onClick:function(){n({sidebarPosition:e})}})}))))};t.default=u},231:function(e,t,n){"use strict";n.r(t);var r=n(6),o=n.n(r),i=n(7),a=n.n(i),l=new o.a({id:"block-library-sidecar/sidecar",use:"block-library-sidecar/sidecar-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-sidecar/sidecar"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12Zm-10.014 3.187L9.244 18.95C7.933 19.991 6 19.058 6 17.385V6.615c0-1.673 1.933-2.607 3.244-1.566l4.742 3.765-2.032 1.624a2 2 0 0 0 0 3.124l2.032 1.625Z" fill="#6565F2" /><path d="M13.03 11.208a1 1 0 0 0 0 1.584l4.11 3.165a1 1 0 0 0 1.61-.793V8.836a1 1 0 0 0-1.61-.793l-4.11 3.165Z" fill="#FFE42E" /></symbol>'});a.a.add(l);t.default=l},232:function(e){e.exports=JSON.parse('{"sidebarWidth":{"type":"string","default":"small"},"sidebarPosition":{"type":"string","default":"none"},"lastItemIsSticky":{"type":"boolean","default":false},"tagName":{"type":"string","default":"div"},"anchor":{"type":"string","default":""},"templateLock":{"type":["string","boolean"],"enum":["all","insert",false]},"contentFontSize":{"type":"string","default":"normal"},"sidebarFontSize":{"type":"string","default":"normal"}}')},233:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(5),o={from:[{type:"block",blocks:["core/group"],transform:function(e,t){var n=(0,r.createBlock)("novablocks/sidecar-area",{areaName:"content"},t);return(0,r.createBlock)("novablocks/sidecar",e,[n])}}]};t.default=o},3:function(e,t){e.exports=window.wp.i18n},4:function(e,t){e.exports=window.wp.blockEditor},5:function(e,t){e.exports=window.wp.blocks},6:function(e,t,n){(function(t){var n;n=function(){"use strict";var e=function(e){var t=e.id,n=e.viewBox,r=e.content;this.id=t,this.viewBox=n,this.content=r};function n(e,t){return e(t={exports:{}},t.exports),t.exports}e.prototype.stringify=function(){return this.content},e.prototype.toString=function(){return this.stringify()},e.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))},"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var r=n((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var o;return n&&!0===n.clone&&e(t)?r((o=t,Array.isArray(o)?[]:{}),t,n):t}function n(n,o,i){var a=n.slice();return o.forEach((function(o,l){void 0===a[l]?a[l]=t(o,i):e(o)?a[l]=r(n[l],o,i):-1===n.indexOf(o)&&a.push(t(o,i))})),a}function r(o,i,a){var l=Array.isArray(i),u=(a||{arrayMerge:n}).arrayMerge||n;return l?Array.isArray(o)?u(o,i,a):t(i,a):function(n,o,i){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],i)})),Object.keys(o).forEach((function(l){e(o[l])&&n[l]?a[l]=r(n[l],o[l],i):a[l]=t(o[l],i)})),a}(o,i,a)}return r.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return r(e,n,t)}))},r}()})),o=n((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),i=o.svg,a=o.xlink,l={};l[i.name]=i.uri,l[a.name]=a.uri;var u=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(r(l,t||{}))+">"+e+"</svg>"};return function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}(u(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(e)},e.exports=n()}).call(this,n(8))},67:function(e,t,n){"use strict";var r=n(23);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(3),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=i?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=e[l]}o.default=e,n&&n.set(e,o);return o}(n(228));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}var l=[{name:"sidebar-left",title:(0,o.__)("Sidebar Left with Content on the right","nova-blocks"),icon:i.sidebarLeft,attributes:{sidebarPosition:"left"},innerBlocks:[["novablocks/sidecar-area",{areaName:"content"}],["novablocks/sidecar-area",{areaName:"sidebar"}]],scope:["block"]},{name:"sidebar-right",title:(0,o.__)("Sidebar Right with Content on the left","nova-blocks"),icon:i.sidebarRight,attributes:{sidebarPosition:"right"},innerBlocks:[["novablocks/sidecar-area",{areaName:"content"}],["novablocks/sidecar-area",{areaName:"sidebar"}]],scope:["block"]},{name:"none",isDefault:!0,title:(0,o.__)("Centered Content with no Sidebar","nova-blocks"),icon:i.sidebarNone,attributes:{sidebarPosition:"none"},innerBlocks:[["novablocks/sidecar-area",{areaName:"content"}]],scope:["block"]}];t.default=l},7:function(e,t,n){(function(t){var n;n=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var n=e((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var o;return n&&!0===n.clone&&e(t)?r((o=t,Array.isArray(o)?[]:{}),t,n):t}function n(n,o,i){var a=n.slice();return o.forEach((function(o,l){void 0===a[l]?a[l]=t(o,i):e(o)?a[l]=r(n[l],o,i):-1===n.indexOf(o)&&a.push(t(o,i))})),a}function r(o,i,a){var l=Array.isArray(i),u=(a||{arrayMerge:n}).arrayMerge||n;return l?Array.isArray(o)?u(o,i,a):t(i,a):function(n,o,i){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],i)})),Object.keys(o).forEach((function(l){e(o[l])&&n[l]?a[l]=r(n[l],o[l],i):a[l]=t(o[l],i)})),a}(o,i,a)}return r.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return r(e,n,t)}))},r}()})),r=e((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),o=r.svg,i=r.xlink,a={};a[o.name]=o.uri,a[i.name]=i.uri;var l,u=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(n(a,t||{}))+">"+e+"</svg>"},s=r.svg,c=r.xlink,d={attrs:(l={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},l[s.name]=s.uri,l[c.name]=c.uri,l)},f=function(e){this.config=n(d,e||{}),this.symbols=[]};f.prototype.add=function(e){var t=this.symbols,n=this.find(e.id);return n?(t[t.indexOf(n)]=e,!1):(t.push(e),!0)},f.prototype.remove=function(e){var t=this.symbols,n=this.find(e);return!!n&&(t.splice(t.indexOf(n),1),n.destroy(),!0)},f.prototype.find=function(e){return this.symbols.filter((function(t){return t.id===e}))[0]||null},f.prototype.has=function(e){return null!==this.find(e)},f.prototype.stringify=function(){var e=this.config.attrs,t=this.symbols.map((function(e){return e.stringify()})).join("");return u(t,e)},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){this.symbols.forEach((function(e){return e.destroy()}))};var p=function(e){var t=e.id,n=e.viewBox,r=e.content;this.id=t,this.viewBox=n,this.content=r};p.prototype.stringify=function(){return this.content},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var h=function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n},y=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return h(u(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(p),m={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},b=function(e){return Array.prototype.slice.call(e,0)},g=function(){return/firefox/i.test(navigator.userAgent)},_=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},v=function(){return/edge/i.test(navigator.userAgent)},w=function(e){return(e||window.location.href).split("#")[0]},x=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",(function(t,n,r){var o,i,a;o=e,i={oldUrl:r,newUrl:n},(a=document.createEvent("CustomEvent")).initCustomEvent(o,!1,!1,i),window.dispatchEvent(a)}))}])},E=function(e,t){return void 0===t&&(t="linearGradient, radialGradient, pattern, mask, clipPath"),b(e.querySelectorAll("symbol")).forEach((function(e){b(e.querySelectorAll(t)).forEach((function(t){e.parentNode.insertBefore(t,e)}))})),e},S=r.xlink.uri,k=/[{}|\\\^\[\]`"<>]/g;function O(e){return e.replace(k,(function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()}))}var C,j=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],P=j.map((function(e){return"["+e+"]"})).join(","),A=function(e,t,n,r){var o=O(n),i=O(r);(function(e,t){return b(e).reduce((function(e,n){if(!n.attributes)return e;var r=b(n.attributes),o=t?r.filter(t):r;return e.concat(o)}),[])})(e.querySelectorAll(P),(function(e){var t=e.localName,n=e.value;return-1!==j.indexOf(t)&&-1!==n.indexOf("url("+o)})).forEach((function(e){return e.value=e.value.replace(new RegExp(o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(e,t,n){b(e).forEach((function(e){var r=e.getAttribute("xlink:href");if(r&&0===r.indexOf(t)){var o=r.replace(t,n);e.setAttributeNS(S,"xlink:href",o)}}))}(t,o,i)},M="mount",B="symbol_mount",N=function(e){function t(t){var r=this;void 0===t&&(t={}),e.call(this,n(m,t));var o,i=(o=o||Object.create(null),{on:function(e,t){(o[e]||(o[e]=[])).push(t)},off:function(e,t){o[e]&&o[e].splice(o[e].indexOf(t)>>>0,1)},emit:function(e,t){(o[e]||[]).map((function(e){e(t)})),(o["*"]||[]).map((function(n){n(e,t)}))}});this._emitter=i,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(t),a.syncUrlsWithBaseTag){var l=document.getElementsByTagName("base")[0].getAttribute("href");i.on(M,(function(){return r.updateUrls("#",l)}))}var u=this._handleLocationChange.bind(this);this._handleLocationChange=u,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,u),a.locationChangeAngularEmitter&&x(a.locationChangeEvent),i.on(M,(function(e){a.moveGradientsOutsideSymbol&&E(e)})),i.on(B,(function(e){var t;a.moveGradientsOutsideSymbol&&E(e.parentNode),(_()||v())&&(t=[],b(e.querySelectorAll("style")).forEach((function(e){e.textContent+="",t.push(e)})))}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},t.prototype._autoConfigure=function(e){var t=this.config;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=g())},t.prototype._handleLocationChange=function(e){var t=e.detail,n=t.oldUrl,r=t.newUrl;this.updateUrls(n,r)},t.prototype.add=function(t){var n=e.prototype.add.call(this,t);return this.isMounted&&n&&(t.mount(this.node),this._emitter.emit(B,t.node)),n},t.prototype.attach=function(e){var t=this,n=this;if(n.isMounted)return n.node;var r="string"==typeof e?document.querySelector(e):e;return n.node=r,this.symbols.forEach((function(e){e.mount(n.node),t._emitter.emit(B,e.node)})),b(r.querySelectorAll("symbol")).forEach((function(e){var t=y.createFromExistingNode(e);t.node=e,n.add(t)})),this._emitter.emit(M,r),r},t.prototype.destroy=function(){var e=this.config,t=this.symbols,n=this._emitter;t.forEach((function(e){return e.destroy()})),n.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},t.prototype.mount=function(e,t){if(void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1),this.isMounted)return this.node;var n="string"==typeof e?document.querySelector(e):e,r=this.render();return this.node=r,t&&n.childNodes[0]?n.insertBefore(r,n.childNodes[0]):n.appendChild(r),this._emitter.emit(M,r),r},t.prototype.render=function(){return h(this.stringify())},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},t.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return A(this.node,n,w(e)+"#",w(t)+"#"),!0},Object.defineProperties(t.prototype,r),t}(f),T=e((function(e){var t,n,r,o,i;e.exports=(n=[],r=document,o=r.documentElement.doScroll,(i=(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState))||r.addEventListener("DOMContentLoaded",t=function(){for(r.removeEventListener("DOMContentLoaded",t),i=1;t=n.shift();)t()}),function(e){i?setTimeout(e,0):n.push(e)})}));window.__SVG_SPRITE__?C=window.__SVG_SPRITE__:(C=new N({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=C);var F=function(){var e=document.getElementById("__SVG_SPRITE_NODE__");e?C.attach(e):C.mount(document.body,!0)};return document.body?F():T(F),C},e.exports=n()}).call(this,n(8))},8:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},9:function(e,t){e.exports=window.wp.components}});6 */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var l in r)n.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},13:function(e,t){e.exports=window.wp.data},2:function(e,t){e.exports=window.novablocks.blockEditor},225:function(e,t,n){"use strict";var r=n(0),o=n(1),i=n(5),a=n(4),l=n(2),u=r(n(226)),s=r(n(67)),c=r(n(230)),d=r(n(231)),f=r(n(232));(0,i.registerBlockType)("novablocks/sidecar",{icon:(0,l.getSvg)(c.default),attributes:d.default,edit:u.default,save:function(){return(0,o.createElement)(a.InnerBlocks.Content,null)},transforms:f.default,variations:s.default})},226:function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),i=r(n(11)),a=r(n(12)),l=n(4),u=(r(n(67)),n(2)),s=r(n(228)),c=r(n(229));function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=function(e){var t=e.attributes,n=t.sidebarWidth,r=t.sidebarPosition,i=t.lastItemIsSticky,d=t.contentFontSize,p=t.sidebarFontSize,h=e.clientId,y=(0,u.useInnerBlocks)(h),m=(0,a.default)("nb-sidecar","nb-sidecar--sidebar-".concat(r),"nb-sidecar--sidebar-".concat(n),"nb-content-layout-grid",{"nb-sidecar--sticky-sidebar":!0===i},"alignfull"),b=(0,l.useBlockProps)({style:f(f({},e.style),{},{"--nb-sidecar-content-font-size-base":"var(--nb-font-size-".concat(d,")"),"--nb-sidecar-sidebar-font-size-base":"var(--nb-font-size-".concat(p,")")}),className:m}),g=(0,l.useInnerBlocksProps)(b,{renderAppender:!1,templateLock:"all",allowedBlocks:["novablocks/sidecar-area"]});return y.length?(0,o.createElement)(o.Fragment,null,(0,o.createElement)(c.default,e),(0,o.createElement)(s.default,e),(0,o.createElement)("div",g)):(0,o.createElement)(u.VariationPicker,e)};t.default=p},227:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sidebarRight=t.sidebarNone=t.sidebarLeft=void 0;var r=n(1),o=(0,r.createElement)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("rect",{x:"0.5",y:"0.5",width:"47",height:"47",fill:"white",stroke:"#F4F5F8"}),(0,r.createElement)("rect",{x:"4",y:"10",width:"27",height:"28",fill:"#C4C7D5"}),(0,r.createElement)("rect",{x:"34",y:"10",width:"10",height:"28",fill:"#FAC919"}));t.sidebarRight=o;var i=(0,r.createElement)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("rect",{x:"0.5",y:"0.5",width:"47",height:"47",fill:"white",stroke:"#F4F5F8"}),(0,r.createElement)("rect",{x:"17",y:"10",width:"27",height:"28",fill:"#C4C7D5"}),(0,r.createElement)("rect",{x:"4",y:"10",width:"10",height:"28",fill:"#FAC919"}));t.sidebarLeft=i;var a=(0,r.createElement)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("rect",{x:"0.5",y:"0.5",width:"47",height:"47",fill:"white",stroke:"#F4F5F8"}),(0,r.createElement)("rect",{x:"10",y:"10",width:"28",height:"28",fill:"#C4C7D5"}));t.sidebarNone=a},228:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1),o=n(3),i=n(9),a=n(4),l=n(2),u=n(13),s=n(5),c=function(e){var t=e.attributes,n=e.setAttributes,a=t.contentFontSize,u=t.sidebarFontSize,s=[{label:(0,o.__)("Smallest","nova-blocks"),value:"smallest"},{label:(0,o.__)("Smaller","nova-blocks"),value:"smaller"},{label:(0,o.__)("Normal","nova-blocks"),value:"normal"},{label:(0,o.__)("Larger","nova-blocks"),value:"larger"},{label:(0,o.__)("Largest","nova-blocks"),value:"largest"}];return(0,r.createElement)(l.ControlsGroup,null,(0,r.createElement)(i.SelectControl,{key:"sidecar-content-font-controls",label:(0,o.__)("Content Font Size","nova-blocks"),value:a,options:s,onChange:function(e){n({contentFontSize:e})}}),(0,r.createElement)(i.SelectControl,{key:"sidecar-sidebar-font-controls",label:(0,o.__)("Sidebar Font Size","nova-blocks"),value:u,options:s,onChange:function(e){n({sidebarFontSize:e})}}))},d=function(e){var t=e.attributes,n=e.setAttributes,d=e.clientId,f=t.sidebarWidth,p=t.sidebarPosition,h=t.lastItemIsSticky,y=t.tagName,m=void 0===y?"div":y,b=(0,u.useDispatch)("core/block-editor").replaceInnerBlocks,g=(0,l.useInnerBlocks)(d),_=(0,r.useRef)([]),v={header:(0,o.__)("The <header> element should represent introductory content, typically a group of introductory or navigational aids.","nova-blocks"),main:(0,o.__)("The <main> element should be used for the primary content of your document only. ","nova-blocks"),section:(0,o.__)("The <section> element should represent a standalone portion of the document that can't be better represented by another element.","nova-blocks"),article:(0,o.__)("The <article> element should represent a self-contained, syndicatable portion of the document.","nova-blocks"),aside:(0,o.__)("The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content.","nova-blocks"),footer:(0,o.__)("The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).","nova-blocks")};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.ControlsSection,{id:"layout",order:10,label:(0,o.__)("Sidecar Layout","nova-blocks"),group:(0,o.__)("Block Anatomy","nova-blocks"),key:"sidecar_layout"},(0,r.createElement)(l.ControlsTab,{label:(0,o.__)("Settings","nova-blocks")},(0,r.createElement)(l.ControlsGroup,null,(0,r.createElement)(i.RadioControl,{key:"sidecar-sidebar-position",label:(0,o.__)("Sidebar Position","nova-blocks"),selected:p,options:[{label:(0,o.__)("Show sidebar on left","nova-blocks"),value:"left"},{label:(0,o.__)("Show sidebar on right","nova-blocks"),value:"right"},{label:(0,o.__)("No sidebar","nova-blocks"),value:"none"}],onChange:function(e){if("none"===e){var t=g.find((function(e){return"sidebar"===e.attributes.areaName}));_.current=(null==t?void 0:t.innerBlocks)||[],b(d,g.filter((function(e){return"sidebar"!==e.attributes.areaName})))}else{var r=(0,s.createBlock)("novablocks/sidecar-area",{areaName:"sidebar"},_.current);b(d,g.concat([r]))}n({sidebarPosition:e})}}),(0,r.createElement)(i.RadioControl,{key:"sidecar-sidebar-controls",label:(0,o.__)("Sidebar Size","nova-blocks"),selected:f,options:[{label:(0,o.__)("Small","nova-blocks"),value:"small"},{label:(0,o.__)("Medium","nova-blocks"),value:"medium"},{label:(0,o.__)("Large","nova-blocks"),value:"large"}],onChange:function(e){n({sidebarWidth:e})}})),"none"!==p&&(0,r.createElement)(l.ControlsGroup,null,(0,r.createElement)(i.ToggleControl,{label:(0,o.__)("Enable sticky sidebar on scroll","nova-blocks"),help:h?(0,o.__)("The last item inside sidebar will be sticky on scroll.","nova-blocks"):(0,o.__)("All blocks inside sidebar will be static.","nova-blocks"),checked:h,onChange:function(){return n({lastItemIsSticky:!h})}})),(0,r.createElement)(c,e))),(0,r.createElement)(a.InspectorControls,{__experimentalGroup:"advanced"},(0,r.createElement)(i.SelectControl,{label:(0,o.__)("HTML element","nova-blocks"),options:[{label:(0,o.__)("Default (<div>)","nova-blocks"),value:"div"},{label:"<header>",value:"header"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<article>",value:"article"},{label:"<aside>",value:"aside"},{label:"<footer>",value:"footer"}],value:m,onChange:function(e){return n({tagName:e})},help:v[m]})))};t.default=d},229:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1),o=n(3),i=n(4),a=n(9),l={left:{icon:"align-pull-left",label:(0,o.__)("Show Sidebar on Left Side","nova-blocks")},right:{icon:"align-pull-right",label:(0,o.__)("Show Sidebar on Right Side","nova-blocks")}},u=function(e){var t=e.attributes,n=e.setAttributes,o=t.sidebarPosition;return"none"===o?null:(0,r.createElement)(i.BlockControls,null,(0,r.createElement)(a.ToolbarGroup,null,Object.keys(l).map((function(e){return(0,r.createElement)(a.ToolbarButton,{icon:l[e].icon,label:l[e].label,key:e,isActive:e===o,onClick:function(){n({sidebarPosition:e})}})}))))};t.default=u},23:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},230:function(e,t,n){"use strict";n.r(t);var r=n(6),o=n.n(r),i=n(7),a=n.n(i),l=new o.a({id:"block-library-sidecar/sidecar",use:"block-library-sidecar/sidecar-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-sidecar/sidecar"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12Zm-10.014 3.187L9.244 18.95C7.933 19.991 6 19.058 6 17.385V6.615c0-1.673 1.933-2.607 3.244-1.566l4.742 3.765-2.032 1.624a2 2 0 0 0 0 3.124l2.032 1.625Z" fill="#6565F2" /><path d="M13.03 11.208a1 1 0 0 0 0 1.584l4.11 3.165a1 1 0 0 0 1.61-.793V8.836a1 1 0 0 0-1.61-.793l-4.11 3.165Z" fill="#FFE42E" /></symbol>'});a.a.add(l);t.default=l},231:function(e){e.exports=JSON.parse('{"sidebarWidth":{"type":"string","default":"small"},"sidebarPosition":{"type":"string","default":"none"},"lastItemIsSticky":{"type":"boolean","default":false},"tagName":{"type":"string","default":"div"},"anchor":{"type":"string","default":""},"templateLock":{"type":["string","boolean"],"enum":["all","insert",false]},"contentFontSize":{"type":"string","default":"normal"},"sidebarFontSize":{"type":"string","default":"normal"}}')},232:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(5),o={from:[{type:"block",blocks:["core/group"],transform:function(e,t){var n=(0,r.createBlock)("novablocks/sidecar-area",{areaName:"content"},t);return(0,r.createBlock)("novablocks/sidecar",e,[n])}}]};t.default=o},3:function(e,t){e.exports=window.wp.i18n},4:function(e,t){e.exports=window.wp.blockEditor},5:function(e,t){e.exports=window.wp.blocks},6:function(e,t,n){(function(t){var n;n=function(){"use strict";var e=function(e){var t=e.id,n=e.viewBox,r=e.content;this.id=t,this.viewBox=n,this.content=r};function n(e,t){return e(t={exports:{}},t.exports),t.exports}e.prototype.stringify=function(){return this.content},e.prototype.toString=function(){return this.stringify()},e.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))},"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var r=n((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var o;return n&&!0===n.clone&&e(t)?r((o=t,Array.isArray(o)?[]:{}),t,n):t}function n(n,o,i){var a=n.slice();return o.forEach((function(o,l){void 0===a[l]?a[l]=t(o,i):e(o)?a[l]=r(n[l],o,i):-1===n.indexOf(o)&&a.push(t(o,i))})),a}function r(o,i,a){var l=Array.isArray(i),u=(a||{arrayMerge:n}).arrayMerge||n;return l?Array.isArray(o)?u(o,i,a):t(i,a):function(n,o,i){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],i)})),Object.keys(o).forEach((function(l){e(o[l])&&n[l]?a[l]=r(n[l],o[l],i):a[l]=t(o[l],i)})),a}(o,i,a)}return r.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return r(e,n,t)}))},r}()})),o=n((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),i=o.svg,a=o.xlink,l={};l[i.name]=i.uri,l[a.name]=a.uri;var u=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(r(l,t||{}))+">"+e+"</svg>"};return function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}(u(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(e)},e.exports=n()}).call(this,n(8))},67:function(e,t,n){"use strict";var r=n(23);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(3),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=i?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=e[l]}o.default=e,n&&n.set(e,o);return o}(n(227));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}var l=[{name:"sidebar-left",title:(0,o.__)("Sidebar Left with Content on the right","nova-blocks"),icon:i.sidebarLeft,attributes:{sidebarPosition:"left"},innerBlocks:[["novablocks/sidecar-area",{areaName:"content"}],["novablocks/sidecar-area",{areaName:"sidebar"}]],scope:["block"]},{name:"sidebar-right",title:(0,o.__)("Sidebar Right with Content on the left","nova-blocks"),icon:i.sidebarRight,attributes:{sidebarPosition:"right"},innerBlocks:[["novablocks/sidecar-area",{areaName:"content"}],["novablocks/sidecar-area",{areaName:"sidebar"}]],scope:["block"]},{name:"none",isDefault:!0,title:(0,o.__)("Centered Content with no Sidebar","nova-blocks"),icon:i.sidebarNone,attributes:{sidebarPosition:"none"},innerBlocks:[["novablocks/sidecar-area",{areaName:"content"}]],scope:["block"]}];t.default=l},7:function(e,t,n){(function(t){var n;n=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var n=e((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var o;return n&&!0===n.clone&&e(t)?r((o=t,Array.isArray(o)?[]:{}),t,n):t}function n(n,o,i){var a=n.slice();return o.forEach((function(o,l){void 0===a[l]?a[l]=t(o,i):e(o)?a[l]=r(n[l],o,i):-1===n.indexOf(o)&&a.push(t(o,i))})),a}function r(o,i,a){var l=Array.isArray(i),u=(a||{arrayMerge:n}).arrayMerge||n;return l?Array.isArray(o)?u(o,i,a):t(i,a):function(n,o,i){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],i)})),Object.keys(o).forEach((function(l){e(o[l])&&n[l]?a[l]=r(n[l],o[l],i):a[l]=t(o[l],i)})),a}(o,i,a)}return r.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return r(e,n,t)}))},r}()})),r=e((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),o=r.svg,i=r.xlink,a={};a[o.name]=o.uri,a[i.name]=i.uri;var l,u=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(n(a,t||{}))+">"+e+"</svg>"},s=r.svg,c=r.xlink,d={attrs:(l={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},l[s.name]=s.uri,l[c.name]=c.uri,l)},f=function(e){this.config=n(d,e||{}),this.symbols=[]};f.prototype.add=function(e){var t=this.symbols,n=this.find(e.id);return n?(t[t.indexOf(n)]=e,!1):(t.push(e),!0)},f.prototype.remove=function(e){var t=this.symbols,n=this.find(e);return!!n&&(t.splice(t.indexOf(n),1),n.destroy(),!0)},f.prototype.find=function(e){return this.symbols.filter((function(t){return t.id===e}))[0]||null},f.prototype.has=function(e){return null!==this.find(e)},f.prototype.stringify=function(){var e=this.config.attrs,t=this.symbols.map((function(e){return e.stringify()})).join("");return u(t,e)},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){this.symbols.forEach((function(e){return e.destroy()}))};var p=function(e){var t=e.id,n=e.viewBox,r=e.content;this.id=t,this.viewBox=n,this.content=r};p.prototype.stringify=function(){return this.content},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var h=function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n},y=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return h(u(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(p),m={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},b=function(e){return Array.prototype.slice.call(e,0)},g=function(){return/firefox/i.test(navigator.userAgent)},_=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},v=function(){return/edge/i.test(navigator.userAgent)},w=function(e){return(e||window.location.href).split("#")[0]},x=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",(function(t,n,r){var o,i,a;o=e,i={oldUrl:r,newUrl:n},(a=document.createEvent("CustomEvent")).initCustomEvent(o,!1,!1,i),window.dispatchEvent(a)}))}])},E=function(e,t){return void 0===t&&(t="linearGradient, radialGradient, pattern, mask, clipPath"),b(e.querySelectorAll("symbol")).forEach((function(e){b(e.querySelectorAll(t)).forEach((function(t){e.parentNode.insertBefore(t,e)}))})),e},S=r.xlink.uri,k=/[{}|\\\^\[\]`"<>]/g;function O(e){return e.replace(k,(function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()}))}var C,j=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],P=j.map((function(e){return"["+e+"]"})).join(","),A=function(e,t,n,r){var o=O(n),i=O(r);(function(e,t){return b(e).reduce((function(e,n){if(!n.attributes)return e;var r=b(n.attributes),o=t?r.filter(t):r;return e.concat(o)}),[])})(e.querySelectorAll(P),(function(e){var t=e.localName,n=e.value;return-1!==j.indexOf(t)&&-1!==n.indexOf("url("+o)})).forEach((function(e){return e.value=e.value.replace(new RegExp(o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(e,t,n){b(e).forEach((function(e){var r=e.getAttribute("xlink:href");if(r&&0===r.indexOf(t)){var o=r.replace(t,n);e.setAttributeNS(S,"xlink:href",o)}}))}(t,o,i)},M="mount",B="symbol_mount",N=function(e){function t(t){var r=this;void 0===t&&(t={}),e.call(this,n(m,t));var o,i=(o=o||Object.create(null),{on:function(e,t){(o[e]||(o[e]=[])).push(t)},off:function(e,t){o[e]&&o[e].splice(o[e].indexOf(t)>>>0,1)},emit:function(e,t){(o[e]||[]).map((function(e){e(t)})),(o["*"]||[]).map((function(n){n(e,t)}))}});this._emitter=i,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(t),a.syncUrlsWithBaseTag){var l=document.getElementsByTagName("base")[0].getAttribute("href");i.on(M,(function(){return r.updateUrls("#",l)}))}var u=this._handleLocationChange.bind(this);this._handleLocationChange=u,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,u),a.locationChangeAngularEmitter&&x(a.locationChangeEvent),i.on(M,(function(e){a.moveGradientsOutsideSymbol&&E(e)})),i.on(B,(function(e){var t;a.moveGradientsOutsideSymbol&&E(e.parentNode),(_()||v())&&(t=[],b(e.querySelectorAll("style")).forEach((function(e){e.textContent+="",t.push(e)})))}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},t.prototype._autoConfigure=function(e){var t=this.config;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=g())},t.prototype._handleLocationChange=function(e){var t=e.detail,n=t.oldUrl,r=t.newUrl;this.updateUrls(n,r)},t.prototype.add=function(t){var n=e.prototype.add.call(this,t);return this.isMounted&&n&&(t.mount(this.node),this._emitter.emit(B,t.node)),n},t.prototype.attach=function(e){var t=this,n=this;if(n.isMounted)return n.node;var r="string"==typeof e?document.querySelector(e):e;return n.node=r,this.symbols.forEach((function(e){e.mount(n.node),t._emitter.emit(B,e.node)})),b(r.querySelectorAll("symbol")).forEach((function(e){var t=y.createFromExistingNode(e);t.node=e,n.add(t)})),this._emitter.emit(M,r),r},t.prototype.destroy=function(){var e=this.config,t=this.symbols,n=this._emitter;t.forEach((function(e){return e.destroy()})),n.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},t.prototype.mount=function(e,t){if(void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1),this.isMounted)return this.node;var n="string"==typeof e?document.querySelector(e):e,r=this.render();return this.node=r,t&&n.childNodes[0]?n.insertBefore(r,n.childNodes[0]):n.appendChild(r),this._emitter.emit(M,r),r},t.prototype.render=function(){return h(this.stringify())},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},t.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return A(this.node,n,w(e)+"#",w(t)+"#"),!0},Object.defineProperties(t.prototype,r),t}(f),T=e((function(e){var t,n,r,o,i;e.exports=(n=[],r=document,o=r.documentElement.doScroll,(i=(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState))||r.addEventListener("DOMContentLoaded",t=function(){for(r.removeEventListener("DOMContentLoaded",t),i=1;t=n.shift();)t()}),function(e){i?setTimeout(e,0):n.push(e)})}));window.__SVG_SPRITE__?C=window.__SVG_SPRITE__:(C=new N({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=C);var F=function(){var e=document.getElementById("__SVG_SPRITE_NODE__");e?C.attach(e):C.mount(document.body,!0)};return document.body?F():T(F),C},e.exports=n()}).call(this,n(8))},8:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},9:function(e,t){e.exports=window.wp.components}}); -
nova-blocks/trunk/build/block-library/blocks/supernova-item/attributes.json
r2719178 r2744078 55 55 "type": "string", 56 56 "default": "fields" 57 }, 58 "anchor": { 59 "type": "string", 60 "default": "" 57 61 } 58 62 } -
nova-blocks/trunk/build/block-library/blocks/supernova-item/block.json
r2710156 r2744078 28 28 "supports": { 29 29 "html": false, 30 "anchor": true, 30 31 "inserter": false, 31 32 "reusable": false, -
nova-blocks/trunk/build/block-library/blocks/supernova-item/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks-media-composition', 'novablocks-scrolling-effect', 'novablocks-shape-modeling', 'novablocks-utils', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => ' ad8a38f671aaf15492fe0343ccd10c72');1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks-media-composition', 'novablocks-scrolling-effect', 'novablocks-shape-modeling', 'novablocks-utils', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'da455eb96aadc43cd8f127868b2a9d81'); -
nova-blocks/trunk/build/block-library/blocks/supernova-item/index.js
r2738702 r2744078 1 !function(t){var e={};function n( o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=234)}({0:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},1:function(t,e){t.exports=window.wp.element},10:function(t,e){t.exports=window.novablocks.utils},11:function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.default=t.exports,t.exports.__esModule=!0},13:function(t,e){t.exports=window.wp.data},15:function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o},t.exports.default=t.exports,t.exports.__esModule=!0},17:function(t,e,n){var o=n(15);t.exports=function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},19:function(t,e,n){var o=n(20),r=n(21),i=n(17),u=n(22);t.exports=function(t,e){return o(t)||r(t,e)||i(t,e)||u()},t.exports.default=t.exports,t.exports.__esModule=!0},2:function(t,e){t.exports=window.novablocks.blockEditor},20:function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0},21:function(t,e){t.exports=function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var o,r,i=[],u=!0,a=!1;try{for(n=n.call(t);!(u=(o=n.next()).done)&&(i.push(o.value),!e||i.length!==e);u=!0);}catch(t){a=!0,r=t}finally{try{u||null==n.return||n.return()}finally{if(a)throw r}}return i}},t.exports.default=t.exports,t.exports.__esModule=!0},22:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0},234:function(t,e,n){"use strict";var o=n(0),r=n(1),i=n(5),u=n(4),a=n(2),s=o(n(235)),c=o(n(239));(0,i.registerBlockType)("novablocks/supernova-item",{icon:(0,a.getSvg)(c.default),attributes:{preview:{type:"boolean",default:!0},level:{type:"number",default:2},metaAboveTitle:{type:"string",default:"Meta Data"},metaBelowTitle:{type:"string",default:""},title:{type:"string",default:"This is a catchy title"},subtitle:{type:"string",default:""},description:{type:"string",default:"A brilliant subtitle to explain its catchiness"},buttonText:{type:"string",default:""},buttonUrl:{type:"string",default:""},buttonOpensInNewTab:{type:"boolean",default:!1},defaultsGenerated:{type:"boolean",default:!1},multiplePlaceholderImages:{type:"boolean",default:!1},lock:{type:"object",default:{}},contentType:{type:"string",default:"fields"}},edit:s.default,save:function(){return(0,r.createElement)(u.InnerBlocks.Content,null)}})},235:function(t,e,n){"use strict";var o=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(1),i=o(n(26)),u=o(n(19)),a=n(9),s=n(13),c=n(4),l=n(59),f=n(10),d=n(38),p=n(2),h=n(60),m=n(236),y=(0,l.withScrollingEffect)((function(t){var e=t.attributes.images,n=(0,l.useScrollingEffect)();return Array.isArray(e)&&1===e.length&&(0,r.createElement)(v,t),(0,r.createElement)("div",{style:null==n?void 0:n.style},(0,r.createElement)(d.MediaCompositionPreview,t))})),v=(0,h.withShapeModelingDecoration)((function(t){var e=t.attributes.images,n=(0,f.normalizeMedia)(e[0]),o=(0,l.useScrollingEffect)();return(0,r.createElement)("img",{className:"nb-supernova-item__media",src:n.url,width:n.width,height:n.height,style:null==o?void 0:o.style,alt:n.alt})})),g=function(t){var e=t.attributes,n=t.setAttributes,o=e.contentType,i=e.metaAboveTitle,u=e.metaBelowTitle,a=e.title,s=e.subtitle,l=e.description,f=e.showTitle,d=e.showSubtitle,p=e.showDescription,h=(e.showButtons,e.showMeta),m=e.displayInnerContent,y=e.cardTitleLevel,v=e.cardTitleFontSize,g="h".concat(y),w="has-".concat(v,"-font-size"),x="h".concat(y+1),_={className:"nb-supernova-item__inner-container"},E=(0,c.useInnerBlocksProps)(_);return"fields"===o?(0,r.createElement)("div",_,h&&(0,r.createElement)(c.RichText,{className:"nb-card__meta is-style-meta",placeholder:"Meta",tagName:"p",value:i,onChange:function(t){n({metaAboveTitle:t})},allowedFormats:[]}),f&&(0,r.createElement)(c.RichText,{className:"nb-card__title ".concat(w),placeholder:"Title",tagName:g,value:a,onChange:function(t){n({title:t})},allowedFormats:[]}),d&&(0,r.createElement)(c.RichText,{className:"nb-card__subtitle",placeholder:"Subtitle",tagName:x,value:s,onChange:function(t){n({subtitle:t})},allowedFormats:[]}),h&&(0,r.createElement)(c.RichText,{className:"nb-card__meta is-style-meta",placeholder:"Meta",tagName:"p",value:u,onChange:function(t){n({metaBelowTitle:t})},allowedFormats:[]}),p&&(0,r.createElement)(c.RichText,{className:"nb-card__description",placeholder:"Content",tagName:"p",value:l,onChange:function(t){n({description:t})}}),(0,r.createElement)(b,t)):m&&(0,r.createElement)("div",E)},b=function(t){var e=t.attributes,n=t.setAttributes,o=(0,r.useState)(!1),a=(0,u.default)(o,2),s=a[0],l=a[1],f=e.showButtons,d=e.buttonText;return f?(0,r.createElement)(p.CardButton,t,(0,r.createElement)(c.RichText,{placeholder:"Button",tagName:"span",value:d,onChange:function(t){n({buttonText:t})},allowedFormats:[],onClick:function(){l(!s)}}),(0,r.createElement)(w,(0,i.default)({},t,{show:s}))):null},w=function(t){var e=t.show,n=t.attributes,o=t.setAttributes,i=n.buttonUrl,u=n.buttonOpensInNewTab;return e?(0,r.createElement)(a.Popover,{position:"bottom center",focusOnMount:!1},(0,r.createElement)(c.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:{url:i,opensInNewTab:u},onChange:function(t){var e=t.url,n=t.opensInNewTab;o({buttonUrl:e,buttonOpensInNewTab:n})}})):null},x=function(t){var e=t.attributes,n=t.setControlsVisibility,o=t.clientId,i=e.showMedia,u=(0,s.useSelect)((function(t){var e=(0,t("core/block-editor").getBlockParents)(o).slice();return e.length?e[e.length-1]:null}),[o]),a=(0,p.useInnerBlocks)(u),l=(0,r.useMemo)((function(){return 1===a.length}),[a]);(0,p.useSelectParent)(t,l),(0,p.useCustomDefaults)(o,e,m.getNewDefaults),(0,r.useEffect)((function(){n({"media-composition-block-controls":i})}),[i]);var f=(0,c.useBlockProps)({className:"nb-collection__layout-item"});return(0,r.createElement)("div",f,(0,r.createElement)(p.Card,t,i&&(0,r.createElement)(p.CardMediaWrapper,t,(0,r.createElement)(y,t)),(0,r.createElement)(g,t)))};e.default=x},236:function(t,e,n){"use strict";var o=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.getNewDefaults=function(t){return d.apply(this,arguments)};var r=o(n(237)),i=o(n(11)),u=o(n(238)),a=(n(1),n(10)),s=n(2),c=n(38);function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){(0,i.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function d(){return(d=(0,u.default)(r.default.mark((function t(e){var n,o,i,u,l;return r.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.multiplePlaceholderImages,o=n?(0,a.getRandomBetween)(2,4):1,t.next=4,(0,s.getPlaceholderImages)();case 4:return i=t.sent,u=(0,a.getRandomArrayFromArray)(i,o),l=(0,c.getRandomAttributes)(),u.forEach((function(t){delete t.caption,delete t.title,"function"==typeof(null==t?void 0:t.download)&&t.download()})),t.abrupt("return",f(f({},l),{},{images:u}));case 9:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},237:function(t,e){t.exports=window.regeneratorRuntime},238:function(t,e){function n(t,e,n,o,r,i,u){try{var a=t[i](u),s=a.value}catch(t){return void n(t)}a.done?e(s):Promise.resolve(s).then(o,r)}t.exports=function(t){return function(){var e=this,o=arguments;return new Promise((function(r,i){var u=t.apply(e,o);function a(t){n(u,r,i,a,s,"next",t)}function s(t){n(u,r,i,a,s,"throw",t)}a(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},239:function(t,e,n){"use strict";n.r(e);var o=n(6),r=n.n(o),i=n(7),u=n.n(i),a=new r.a({id:"block-library-supernova-item/icon",use:"block-library-supernova-item/icon-usage",viewBox:"0 0 36 36",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" id="block-library-supernova-item/icon"><circle cx="18" cy="18" r="18" fill="#6565F2" /><path d="M17.081 8.133c.348-.806 1.49-.806 1.838 0l2.09 4.856a1 1 0 0 0 .827.6l5.265.488c.873.081 1.226 1.168.567 1.747l-3.972 3.49a1 1 0 0 0-.316.971l1.163 5.158c.193.856-.732 1.528-1.486 1.08l-4.546-2.7a1 1 0 0 0-1.022 0l-4.546 2.7c-.754.448-1.679-.224-1.486-1.08l1.163-5.158a1 1 0 0 0-.316-.971l-3.972-3.49c-.66-.579-.306-1.666.567-1.747l5.265-.488a1 1 0 0 0 .826-.6l2.091-4.856Z" fill="#fff" /></symbol>'});u.a.add(a);e.default=a},26:function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},t.exports.default=t.exports,t.exports.__esModule=!0,n.apply(this,arguments)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},38:function(t,e){t.exports=window.novablocks.mediaComposition},4:function(t,e){t.exports=window.wp.blockEditor},5:function(t,e){t.exports=window.wp.blocks},59:function(t,e){t.exports=window.novablocks.scrollingEffect},6:function(t,e,n){(function(e){var n;n=function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,o=t.content;this.id=e,this.viewBox=n,this.content=o};function n(t,e){return t(e={exports:{}},e.exports),e.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))},"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var o=n((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var r;return n&&!0===n.clone&&t(e)?o((r=e,Array.isArray(r)?[]:{}),e,n):e}function n(n,r,i){var u=n.slice();return r.forEach((function(r,a){void 0===u[a]?u[a]=e(r,i):t(r)?u[a]=o(n[a],r,i):-1===n.indexOf(r)&&u.push(e(r,i))})),u}function o(r,i,u){var a=Array.isArray(i),s=(u||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(r)?s(r,i,u):e(i,u):function(n,r,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(r).forEach((function(a){t(r[a])&&n[a]?u[a]=o(n[a],r[a],i):u[a]=e(r[a],i)})),u}(r,i,u)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),r=n((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=r.svg,u=r.xlink,a={};a[i.name]=i.uri,a[u.name]=u.uri;var s=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(o(a,e||{}))+">"+t+"</svg>"};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(s(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)},t.exports=n()}).call(this,n(8))},60:function(t,e){t.exports=window.novablocks.shapeModeling},7:function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=t((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var r;return n&&!0===n.clone&&t(e)?o((r=e,Array.isArray(r)?[]:{}),e,n):e}function n(n,r,i){var u=n.slice();return r.forEach((function(r,a){void 0===u[a]?u[a]=e(r,i):t(r)?u[a]=o(n[a],r,i):-1===n.indexOf(r)&&u.push(e(r,i))})),u}function o(r,i,u){var a=Array.isArray(i),s=(u||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(r)?s(r,i,u):e(i,u):function(n,r,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(r).forEach((function(a){t(r[a])&&n[a]?u[a]=o(n[a],r[a],i):u[a]=e(r[a],i)})),u}(r,i,u)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),o=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),r=o.svg,i=o.xlink,u={};u[r.name]=r.uri,u[i.name]=i.uri;var a,s=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(n(u,e||{}))+">"+t+"</svg>"},c=o.svg,l=o.xlink,f={attrs:(a={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},a[c.name]=c.uri,a[l.name]=l.uri,a)},d=function(t){this.config=n(f,t||{}),this.symbols=[]};d.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},d.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},d.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},d.prototype.has=function(t){return null!==this.find(t)},d.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map((function(t){return t.stringify()})).join("");return s(e,t)},d.prototype.toString=function(){return this.stringify()},d.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var p=function(t){var e=t.id,n=t.viewBox,o=t.content;this.id=e,this.viewBox=n,this.content=o};p.prototype.stringify=function(){return this.content},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var h=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},m=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return h(s(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(p),y={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},v=function(t){return Array.prototype.slice.call(t,0)},g=function(){return/firefox/i.test(navigator.userAgent)},b=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},w=function(){return/edge/i.test(navigator.userAgent)},x=function(t){return(t||window.location.href).split("#")[0]},_=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,o){var r,i,u;r=t,i={oldUrl:o,newUrl:n},(u=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,i),window.dispatchEvent(u)}))}])},E=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern, mask, clipPath"),v(t.querySelectorAll("symbol")).forEach((function(t){v(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t},O=o.xlink.uri,S=/[{}|\\\^\[\]`"<>]/g;function M(t){return t.replace(S,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var A,j=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],k=j.map((function(t){return"["+t+"]"})).join(","),C=function(t,e,n,o){var r=M(n),i=M(o);(function(t,e){return v(t).reduce((function(t,n){if(!n.attributes)return t;var o=v(n.attributes),r=e?o.filter(e):o;return t.concat(r)}),[])})(t.querySelectorAll(k),(function(t){var e=t.localName,n=t.value;return-1!==j.indexOf(e)&&-1!==n.indexOf("url("+r)})).forEach((function(t){return t.value=t.value.replace(new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,e,n){v(t).forEach((function(t){var o=t.getAttribute("xlink:href");if(o&&0===o.indexOf(e)){var r=o.replace(e,n);t.setAttributeNS(O,"xlink:href",r)}}))}(e,r,i)},T="mount",N="symbol_mount",P=function(t){function e(e){var o=this;void 0===e&&(e={}),t.call(this,n(y,e));var r,i=(r=r||Object.create(null),{on:function(t,e){(r[t]||(r[t]=[])).push(e)},off:function(t,e){r[t]&&r[t].splice(r[t].indexOf(e)>>>0,1)},emit:function(t,e){(r[t]||[]).map((function(t){t(e)})),(r["*"]||[]).map((function(n){n(t,e)}))}});this._emitter=i,this.node=null;var u=this.config;if(u.autoConfigure&&this._autoConfigure(e),u.syncUrlsWithBaseTag){var a=document.getElementsByTagName("base")[0].getAttribute("href");i.on(T,(function(){return o.updateUrls("#",a)}))}var s=this._handleLocationChange.bind(this);this._handleLocationChange=s,u.listenLocationChangeEvent&&window.addEventListener(u.locationChangeEvent,s),u.locationChangeAngularEmitter&&_(u.locationChangeEvent),i.on(T,(function(t){u.moveGradientsOutsideSymbol&&E(t)})),i.on(N,(function(t){var e;u.moveGradientsOutsideSymbol&&E(t.parentNode),(b()||w())&&(e=[],v(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})))}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=g())},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,o=e.newUrl;this.updateUrls(n,o)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit(N,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var o="string"==typeof t?document.querySelector(t):t;return n.node=o,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(N,t.node)})),v(o.querySelectorAll("symbol")).forEach((function(t){var e=m.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(T,o),o},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach((function(t){return t.destroy()})),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){if(void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1),this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,o=this.render();return this.node=o,e&&n.childNodes[0]?n.insertBefore(o,n.childNodes[0]):n.appendChild(o),this._emitter.emit(T,o),o},e.prototype.render=function(){return h(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return C(this.node,n,x(t)+"#",x(e)+"#"),!0},Object.defineProperties(e.prototype,o),e}(d),B=t((function(t){var e,n,o,r,i;t.exports=(n=[],o=document,r=o.documentElement.doScroll,(i=(r?/^loaded|^c/:/^loaded|^i|^c/).test(o.readyState))||o.addEventListener("DOMContentLoaded",e=function(){for(o.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),function(t){i?setTimeout(t,0):n.push(t)})}));window.__SVG_SPRITE__?A=window.__SVG_SPRITE__:(A=new P({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=A);var I=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?A.attach(t):A.mount(document.body,!0)};return document.body?I():B(I),A},t.exports=n()}).call(this,n(8))},8:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},9:function(t,e){t.exports=window.wp.components}});1 !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=233)}({0:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},1:function(t,e){t.exports=window.wp.element},10:function(t,e){t.exports=window.novablocks.utils},11:function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.default=t.exports,t.exports.__esModule=!0},13:function(t,e){t.exports=window.wp.data},15:function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r},t.exports.default=t.exports,t.exports.__esModule=!0},16:function(t,e,n){var r=n(15);t.exports=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},19:function(t,e,n){var r=n(20),o=n(21),i=n(16),u=n(22);t.exports=function(t,e){return r(t)||o(t,e)||i(t,e)||u()},t.exports.default=t.exports,t.exports.__esModule=!0},2:function(t,e){t.exports=window.novablocks.blockEditor},20:function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0},21:function(t,e){t.exports=function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var r,o,i=[],u=!0,a=!1;try{for(n=n.call(t);!(u=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);u=!0);}catch(t){a=!0,o=t}finally{try{u||null==n.return||n.return()}finally{if(a)throw o}}return i}},t.exports.default=t.exports,t.exports.__esModule=!0},22:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0},233:function(t,e,n){"use strict";var r=n(0),o=n(1),i=n(5),u=n(4),a=n(2),s=r(n(234)),c=r(n(238));(0,i.registerBlockType)("novablocks/supernova-item",{icon:(0,a.getSvg)(c.default),attributes:{preview:{type:"boolean",default:!0},level:{type:"number",default:2},metaAboveTitle:{type:"string",default:"Meta Data"},metaBelowTitle:{type:"string",default:""},title:{type:"string",default:"This is a catchy title"},subtitle:{type:"string",default:""},description:{type:"string",default:"A brilliant subtitle to explain its catchiness"},buttonText:{type:"string",default:""},buttonUrl:{type:"string",default:""},buttonOpensInNewTab:{type:"boolean",default:!1},defaultsGenerated:{type:"boolean",default:!1},multiplePlaceholderImages:{type:"boolean",default:!1},lock:{type:"object",default:{}},contentType:{type:"string",default:"fields"},anchor:{type:"string",default:""}},edit:s.default,save:function(){return(0,o.createElement)(u.InnerBlocks.Content,null)}})},234:function(t,e,n){"use strict";var r=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(1),i=r(n(25)),u=r(n(19)),a=n(9),s=n(13),c=n(4),l=n(58),f=n(10),d=n(38),p=n(2),h=n(59),m=n(235),y=(0,l.withScrollingEffect)((function(t){var e=t.attributes.images,n=(0,l.useScrollingEffect)();return Array.isArray(e)&&1===e.length&&(0,o.createElement)(v,t),(0,o.createElement)("div",{style:null==n?void 0:n.style},(0,o.createElement)(d.MediaCompositionPreview,t))})),v=(0,h.withShapeModelingDecoration)((function(t){var e=t.attributes.images,n=(0,f.normalizeMedia)(e[0]),r=(0,l.useScrollingEffect)();return(0,o.createElement)("img",{className:"nb-supernova-item__media",src:n.url,width:n.width,height:n.height,style:null==r?void 0:r.style,alt:n.alt})})),g=function(t){var e=t.attributes,n=t.setAttributes,r=e.contentType,i=e.metaAboveTitle,u=e.metaBelowTitle,a=e.title,s=e.subtitle,l=e.description,f=e.showTitle,d=e.showSubtitle,p=e.showDescription,h=(e.showButtons,e.showMeta),m=e.displayInnerContent,y=e.cardTitleLevel,v=e.cardTitleFontSize,g="h".concat(y),w="has-".concat(v,"-font-size"),x="h".concat(y+1),_={className:"nb-supernova-item__inner-container"},E=(0,c.useInnerBlocksProps)(_,{renderAppender:c.InnerBlocks.ButtonBlockAppender});return"fields"===r?(0,o.createElement)("div",_,h&&(0,o.createElement)(c.RichText,{className:"nb-card__meta is-style-meta",placeholder:"Meta",tagName:"p",value:i,onChange:function(t){n({metaAboveTitle:t})},allowedFormats:[]}),f&&(0,o.createElement)(c.RichText,{className:"nb-card__title ".concat(w),placeholder:"Title",tagName:g,value:a,onChange:function(t){n({title:t})},allowedFormats:[]}),d&&(0,o.createElement)(c.RichText,{className:"nb-card__subtitle",placeholder:"Subtitle",tagName:x,value:s,onChange:function(t){n({subtitle:t})},allowedFormats:[]}),h&&(0,o.createElement)(c.RichText,{className:"nb-card__meta is-style-meta",placeholder:"Meta",tagName:"p",value:u,onChange:function(t){n({metaBelowTitle:t})},allowedFormats:[]}),p&&(0,o.createElement)(c.RichText,{className:"nb-card__description",placeholder:"Content",tagName:"p",value:l,onChange:function(t){n({description:t})}}),(0,o.createElement)(b,t)):m&&(0,o.createElement)("div",E)},b=function(t){var e=t.attributes,n=t.setAttributes,r=(0,o.useState)(!1),a=(0,u.default)(r,2),s=a[0],l=a[1],f=e.showButtons,d=e.buttonText;return f?(0,o.createElement)(p.CardButton,t,(0,o.createElement)(c.RichText,{placeholder:"Button",tagName:"span",value:d,onChange:function(t){n({buttonText:t})},allowedFormats:[],onClick:function(){l(!s)}}),(0,o.createElement)(w,(0,i.default)({},t,{show:s}))):null},w=function(t){var e=t.show,n=t.attributes,r=t.setAttributes,i=n.buttonUrl,u=n.buttonOpensInNewTab;return e?(0,o.createElement)(a.Popover,{position:"bottom center",focusOnMount:!1},(0,o.createElement)(c.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:{url:i,opensInNewTab:u},onChange:function(t){var e=t.url,n=t.opensInNewTab;r({buttonUrl:e,buttonOpensInNewTab:n})}})):null},x=function(t){var e=t.attributes,n=t.setControlsVisibility,r=t.clientId,i=e.showMedia,u=(0,s.useSelect)((function(t){var e=(0,t("core/block-editor").getBlockParents)(r).slice();return e.length?e[e.length-1]:null}),[r]),a=(0,p.useInnerBlocks)(u),l=(0,o.useMemo)((function(){return 1===a.length}),[a]);(0,p.useSelectParent)(t,l),(0,p.useCustomDefaults)(r,e,m.getNewDefaults),(0,o.useEffect)((function(){n({"media-composition-block-controls":i})}),[i]);var f=(0,c.useBlockProps)({className:"nb-collection__layout-item"});return(0,o.createElement)("div",f,(0,o.createElement)(p.Card,t,i&&(0,o.createElement)(p.CardMediaWrapper,t,(0,o.createElement)(y,t)),(0,o.createElement)(g,t)))};e.default=x},235:function(t,e,n){"use strict";var r=n(0);Object.defineProperty(e,"__esModule",{value:!0}),e.getNewDefaults=function(t){return d.apply(this,arguments)};var o=r(n(236)),i=r(n(11)),u=r(n(237)),a=(n(1),n(10)),s=n(2),c=n(38);function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){(0,i.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function d(){return(d=(0,u.default)(o.default.mark((function t(e){var n,r,i,u,l;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.multiplePlaceholderImages,r=n?(0,a.getRandomBetween)(2,4):1,t.next=4,(0,s.getPlaceholderImages)();case 4:return i=t.sent,u=(0,a.getRandomArrayFromArray)(i,r),l=(0,c.getRandomAttributes)(),u.forEach((function(t){delete t.caption,delete t.title,"function"==typeof(null==t?void 0:t.download)&&t.download()})),t.abrupt("return",f(f({},l),{},{images:u}));case 9:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},236:function(t,e){t.exports=window.regeneratorRuntime},237:function(t,e){function n(t,e,n,r,o,i,u){try{var a=t[i](u),s=a.value}catch(t){return void n(t)}a.done?e(s):Promise.resolve(s).then(r,o)}t.exports=function(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var u=t.apply(e,r);function a(t){n(u,o,i,a,s,"next",t)}function s(t){n(u,o,i,a,s,"throw",t)}a(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},238:function(t,e,n){"use strict";n.r(e);var r=n(6),o=n.n(r),i=n(7),u=n.n(i),a=new o.a({id:"block-library-supernova-item/icon",use:"block-library-supernova-item/icon-usage",viewBox:"0 0 36 36",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" id="block-library-supernova-item/icon"><circle cx="18" cy="18" r="18" fill="#6565F2" /><path d="M17.081 8.133c.348-.806 1.49-.806 1.838 0l2.09 4.856a1 1 0 0 0 .827.6l5.265.488c.873.081 1.226 1.168.567 1.747l-3.972 3.49a1 1 0 0 0-.316.971l1.163 5.158c.193.856-.732 1.528-1.486 1.08l-4.546-2.7a1 1 0 0 0-1.022 0l-4.546 2.7c-.754.448-1.679-.224-1.486-1.08l1.163-5.158a1 1 0 0 0-.316-.971l-3.972-3.49c-.66-.579-.306-1.666.567-1.747l5.265-.488a1 1 0 0 0 .826-.6l2.091-4.856Z" fill="#fff" /></symbol>'});u.a.add(a);e.default=a},25:function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},t.exports.default=t.exports,t.exports.__esModule=!0,n.apply(this,arguments)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},38:function(t,e){t.exports=window.novablocks.mediaComposition},4:function(t,e){t.exports=window.wp.blockEditor},5:function(t,e){t.exports=window.wp.blocks},58:function(t,e){t.exports=window.novablocks.scrollingEffect},59:function(t,e){t.exports=window.novablocks.shapeModeling},6:function(t,e,n){(function(e){var n;n=function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};function n(t,e){return t(e={exports:{}},e.exports),e.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))},"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var r=n((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o;return n&&!0===n.clone&&t(e)?r((o=e,Array.isArray(o)?[]:{}),e,n):e}function n(n,o,i){var u=n.slice();return o.forEach((function(o,a){void 0===u[a]?u[a]=e(o,i):t(o)?u[a]=r(n[a],o,i):-1===n.indexOf(o)&&u.push(e(o,i))})),u}function r(o,i,u){var a=Array.isArray(i),s=(u||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(o)?s(o,i,u):e(i,u):function(n,o,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(o).forEach((function(a){t(o[a])&&n[a]?u[a]=r(n[a],o[a],i):u[a]=e(o[a],i)})),u}(o,i,u)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return r(t,n,e)}))},r}()})),o=n((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=o.svg,u=o.xlink,a={};a[i.name]=i.uri,a[u.name]=u.uri;var s=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(r(a,e||{}))+">"+t+"</svg>"};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(s(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)},t.exports=n()}).call(this,n(8))},7:function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=t((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o;return n&&!0===n.clone&&t(e)?r((o=e,Array.isArray(o)?[]:{}),e,n):e}function n(n,o,i){var u=n.slice();return o.forEach((function(o,a){void 0===u[a]?u[a]=e(o,i):t(o)?u[a]=r(n[a],o,i):-1===n.indexOf(o)&&u.push(e(o,i))})),u}function r(o,i,u){var a=Array.isArray(i),s=(u||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(o)?s(o,i,u):e(i,u):function(n,o,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(o).forEach((function(a){t(o[a])&&n[a]?u[a]=r(n[a],o[a],i):u[a]=e(o[a],i)})),u}(o,i,u)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return r(t,n,e)}))},r}()})),r=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),o=r.svg,i=r.xlink,u={};u[o.name]=o.uri,u[i.name]=i.uri;var a,s=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(n(u,e||{}))+">"+t+"</svg>"},c=r.svg,l=r.xlink,f={attrs:(a={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},a[c.name]=c.uri,a[l.name]=l.uri,a)},d=function(t){this.config=n(f,t||{}),this.symbols=[]};d.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},d.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},d.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},d.prototype.has=function(t){return null!==this.find(t)},d.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map((function(t){return t.stringify()})).join("");return s(e,t)},d.prototype.toString=function(){return this.stringify()},d.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var p=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};p.prototype.stringify=function(){return this.content},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var h=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},m=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return h(s(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(p),y={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},v=function(t){return Array.prototype.slice.call(t,0)},g=function(){return/firefox/i.test(navigator.userAgent)},b=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},w=function(){return/edge/i.test(navigator.userAgent)},x=function(t){return(t||window.location.href).split("#")[0]},_=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,r){var o,i,u;o=t,i={oldUrl:r,newUrl:n},(u=document.createEvent("CustomEvent")).initCustomEvent(o,!1,!1,i),window.dispatchEvent(u)}))}])},E=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern, mask, clipPath"),v(t.querySelectorAll("symbol")).forEach((function(t){v(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t},O=r.xlink.uri,S=/[{}|\\\^\[\]`"<>]/g;function A(t){return t.replace(S,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var M,j=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],k=j.map((function(t){return"["+t+"]"})).join(","),C=function(t,e,n,r){var o=A(n),i=A(r);(function(t,e){return v(t).reduce((function(t,n){if(!n.attributes)return t;var r=v(n.attributes),o=e?r.filter(e):r;return t.concat(o)}),[])})(t.querySelectorAll(k),(function(t){var e=t.localName,n=t.value;return-1!==j.indexOf(e)&&-1!==n.indexOf("url("+o)})).forEach((function(t){return t.value=t.value.replace(new RegExp(o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,e,n){v(t).forEach((function(t){var r=t.getAttribute("xlink:href");if(r&&0===r.indexOf(e)){var o=r.replace(e,n);t.setAttributeNS(O,"xlink:href",o)}}))}(e,o,i)},T="mount",N="symbol_mount",P=function(t){function e(e){var r=this;void 0===e&&(e={}),t.call(this,n(y,e));var o,i=(o=o||Object.create(null),{on:function(t,e){(o[t]||(o[t]=[])).push(e)},off:function(t,e){o[t]&&o[t].splice(o[t].indexOf(e)>>>0,1)},emit:function(t,e){(o[t]||[]).map((function(t){t(e)})),(o["*"]||[]).map((function(n){n(t,e)}))}});this._emitter=i,this.node=null;var u=this.config;if(u.autoConfigure&&this._autoConfigure(e),u.syncUrlsWithBaseTag){var a=document.getElementsByTagName("base")[0].getAttribute("href");i.on(T,(function(){return r.updateUrls("#",a)}))}var s=this._handleLocationChange.bind(this);this._handleLocationChange=s,u.listenLocationChangeEvent&&window.addEventListener(u.locationChangeEvent,s),u.locationChangeAngularEmitter&&_(u.locationChangeEvent),i.on(T,(function(t){u.moveGradientsOutsideSymbol&&E(t)})),i.on(N,(function(t){var e;u.moveGradientsOutsideSymbol&&E(t.parentNode),(b()||w())&&(e=[],v(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})))}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=g())},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,r=e.newUrl;this.updateUrls(n,r)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit(N,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var r="string"==typeof t?document.querySelector(t):t;return n.node=r,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(N,t.node)})),v(r.querySelectorAll("symbol")).forEach((function(t){var e=m.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(T,r),r},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach((function(t){return t.destroy()})),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){if(void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1),this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,r=this.render();return this.node=r,e&&n.childNodes[0]?n.insertBefore(r,n.childNodes[0]):n.appendChild(r),this._emitter.emit(T,r),r},e.prototype.render=function(){return h(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return C(this.node,n,x(t)+"#",x(e)+"#"),!0},Object.defineProperties(e.prototype,r),e}(d),B=t((function(t){var e,n,r,o,i;t.exports=(n=[],r=document,o=r.documentElement.doScroll,(i=(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState))||r.addEventListener("DOMContentLoaded",e=function(){for(r.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),function(t){i?setTimeout(t,0):n.push(t)})}));window.__SVG_SPRITE__?M=window.__SVG_SPRITE__:(M=new P({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=M);var I=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?M.attach(t):M.mount(document.body,!0)};return document.body?I():B(I),M},t.exports=n()}).call(this,n(8))},8:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},9:function(t,e){t.exports=window.wp.components}}); -
nova-blocks/trunk/build/block-library/blocks/supernova/attributes.json
r2719178 r2744078 1 1 { 2 "anchor": { 3 "type": "string", 4 "default": "" 5 }, 2 6 "variation": { 3 7 "type": "string", -
nova-blocks/trunk/build/block-library/blocks/supernova/block.json
r2710156 r2744078 19 19 "supports": { 20 20 "html": false, 21 "anchor": true, 21 22 "novaBlocks": { 22 23 "colorSignal": { -
nova-blocks/trunk/build/block-library/blocks/supernova/frontend.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-collection/frontend', 'novablocks-utils', 'wp-dom-ready', 'wp-polyfill'), 'version' => ' 02009218142758ffcac97c2dd35c81c3');1 <?php return array('dependencies' => array('novablocks-collection/frontend', 'novablocks-utils', 'wp-dom-ready', 'wp-polyfill'), 'version' => '6fbeff29e626592960e6cdc8dc3c0b3d'); -
nova-blocks/trunk/build/block-library/blocks/supernova/frontend.js
r2738702 r2744078 1 !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2 40)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},10:function(e,t){e.exports=window.novablocks.utils},240:function(e,t,n){"use strict";var o=n(0)(n(29));n(241);var r=n(10),u=Array.from(document.querySelectorAll(".nb-supernova-item__dropcap")),i=function(){u.forEach(r.resizeDropcap)},c=(0,r.debounce)(i,100);(0,o.default)(i),window.addEventListener("resize",c),window.addEventListener("nb:layout",i)},241:function(e,t){e.exports=window.novablocks["collection/frontend"]},29:function(e,t){e.exports=window.wp.domReady}});1 !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=239)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},10:function(e,t){e.exports=window.novablocks.utils},239:function(e,t,n){"use strict";var o=n(0)(n(29));n(240);var r=n(10),u=Array.from(document.querySelectorAll(".nb-supernova-item__dropcap")),i=function(){u.forEach(r.resizeDropcap)},c=(0,r.debounce)(i,100);(0,o.default)(i),window.addEventListener("resize",c),window.addEventListener("nb:layout",i)},240:function(e,t){e.exports=window.novablocks["collection/frontend"]},29:function(e,t){e.exports=window.wp.domReady}}); -
nova-blocks/trunk/build/block-library/blocks/supernova/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('lodash', 'novablocks-block-editor', 'novablocks-collection', 'novablocks-media-composition', 'novablocks-scrolling-effect', 'novablocks-shape-modeling', 'novablocks-utils', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => ' 6d331ab339ef22a81ee72e088b2fcbb5');1 <?php return array('dependencies' => array('lodash', 'novablocks-block-editor', 'novablocks-collection', 'novablocks-media-composition', 'novablocks-scrolling-effect', 'novablocks-shape-modeling', 'novablocks-utils', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => '962e3aebd48da9285b24d3c029d5c45c'); -
nova-blocks/trunk/build/block-library/blocks/supernova/index.js
r2738702 r2744078 1 !function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=24 2)}([function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.novablocks.blockEditor},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.wp.blocks},function(e,t,o){(function(t){var o;o=function(){"use strict";var e=function(e){var t=e.id,o=e.viewBox,n=e.content;this.id=t,this.viewBox=o,this.content=n};function o(e,t){return e(t={exports:{}},t.exports),t.exports}e.prototype.stringify=function(){return this.content},e.prototype.toString=function(){return this.stringify()},e.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))},"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var n=o((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,o){var r;return o&&!0===o.clone&&e(t)?n((r=t,Array.isArray(r)?[]:{}),t,o):t}function o(o,r,i){var a=o.slice();return r.forEach((function(r,l){void 0===a[l]?a[l]=t(r,i):e(r)?a[l]=n(o[l],r,i):-1===o.indexOf(r)&&a.push(t(r,i))})),a}function n(r,i,a){var l=Array.isArray(i),c=(a||{arrayMerge:o}).arrayMerge||o;return l?Array.isArray(r)?c(r,i,a):t(i,a):function(o,r,i){var a={};return e(o)&&Object.keys(o).forEach((function(e){a[e]=t(o[e],i)})),Object.keys(r).forEach((function(l){e(r[l])&&o[l]?a[l]=n(o[l],r[l],i):a[l]=t(r[l],i)})),a}(r,i,a)}return n.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,o){return n(e,o,t)}))},n}()})),r=o((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),i=r.svg,a=r.xlink,l={};l[i.name]=i.uri,l[a.name]=a.uri;var c=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(n(l,t||{}))+">"+e+"</svg>"};return function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,o=this.render();return this.node=o,t.appendChild(o),o},t.prototype.render=function(){var e=this.stringify();return function(e){var t=!!document.importNode,o=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(o,!0):o}(c(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,o),t}(e)},e.exports=o()}).call(this,o(8))},function(e,t,o){(function(t){var o;o=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var o=e((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,o){var r;return o&&!0===o.clone&&e(t)?n((r=t,Array.isArray(r)?[]:{}),t,o):t}function o(o,r,i){var a=o.slice();return r.forEach((function(r,l){void 0===a[l]?a[l]=t(r,i):e(r)?a[l]=n(o[l],r,i):-1===o.indexOf(r)&&a.push(t(r,i))})),a}function n(r,i,a){var l=Array.isArray(i),c=(a||{arrayMerge:o}).arrayMerge||o;return l?Array.isArray(r)?c(r,i,a):t(i,a):function(o,r,i){var a={};return e(o)&&Object.keys(o).forEach((function(e){a[e]=t(o[e],i)})),Object.keys(r).forEach((function(l){e(r[l])&&o[l]?a[l]=n(o[l],r[l],i):a[l]=t(r[l],i)})),a}(r,i,a)}return n.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,o){return n(e,o,t)}))},n}()})),n=e((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),r=n.svg,i=n.xlink,a={};a[r.name]=r.uri,a[i.name]=i.uri;var l,c=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(o(a,t||{}))+">"+e+"</svg>"},s=n.svg,u=n.xlink,d={attrs:(l={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},l[s.name]=s.uri,l[u.name]=u.uri,l)},p=function(e){this.config=o(d,e||{}),this.symbols=[]};p.prototype.add=function(e){var t=this.symbols,o=this.find(e.id);return o?(t[t.indexOf(o)]=e,!1):(t.push(e),!0)},p.prototype.remove=function(e){var t=this.symbols,o=this.find(e);return!!o&&(t.splice(t.indexOf(o),1),o.destroy(),!0)},p.prototype.find=function(e){return this.symbols.filter((function(t){return t.id===e}))[0]||null},p.prototype.has=function(e){return null!==this.find(e)},p.prototype.stringify=function(){var e=this.config.attrs,t=this.symbols.map((function(e){return e.stringify()})).join("");return c(t,e)},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){this.symbols.forEach((function(e){return e.destroy()}))};var f=function(e){var t=e.id,o=e.viewBox,n=e.content;this.id=t,this.viewBox=o,this.content=n};f.prototype.stringify=function(){return this.content},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var _=function(e){var t=!!document.importNode,o=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(o,!0):o},v=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,o=this.render();return this.node=o,t.appendChild(o),o},t.prototype.render=function(){var e=this.stringify();return _(c(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,o),t}(f),y={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},g=function(e){return Array.prototype.slice.call(e,0)},h=function(){return/firefox/i.test(navigator.userAgent)},m=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},b=function(){return/edge/i.test(navigator.userAgent)},w=function(e){return(e||window.location.href).split("#")[0]},C=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",(function(t,o,n){var r,i,a;r=e,i={oldUrl:n,newUrl:o},(a=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,i),window.dispatchEvent(a)}))}])},x=function(e,t){return void 0===t&&(t="linearGradient, radialGradient, pattern, mask, clipPath"),g(e.querySelectorAll("symbol")).forEach((function(e){g(e.querySelectorAll(t)).forEach((function(t){e.parentNode.insertBefore(t,e)}))})),e},k=n.xlink.uri,O=/[{}|\\\^\[\]`"<>]/g;function P(e){return e.replace(O,(function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()}))}var S,j=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],E=j.map((function(e){return"["+e+"]"})).join(","),M=function(e,t,o,n){var r=P(o),i=P(n);(function(e,t){return g(e).reduce((function(e,o){if(!o.attributes)return e;var n=g(o.attributes),r=t?n.filter(t):n;return e.concat(r)}),[])})(e.querySelectorAll(E),(function(e){var t=e.localName,o=e.value;return-1!==j.indexOf(t)&&-1!==o.indexOf("url("+r)})).forEach((function(e){return e.value=e.value.replace(new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(e,t,o){g(e).forEach((function(e){var n=e.getAttribute("xlink:href");if(n&&0===n.indexOf(t)){var r=n.replace(t,o);e.setAttributeNS(k,"xlink:href",r)}}))}(t,r,i)},A="mount",B="symbol_mount",T=function(e){function t(t){var n=this;void 0===t&&(t={}),e.call(this,o(y,t));var r,i=(r=r||Object.create(null),{on:function(e,t){(r[e]||(r[e]=[])).push(t)},off:function(e,t){r[e]&&r[e].splice(r[e].indexOf(t)>>>0,1)},emit:function(e,t){(r[e]||[]).map((function(e){e(t)})),(r["*"]||[]).map((function(o){o(e,t)}))}});this._emitter=i,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(t),a.syncUrlsWithBaseTag){var l=document.getElementsByTagName("base")[0].getAttribute("href");i.on(A,(function(){return n.updateUrls("#",l)}))}var c=this._handleLocationChange.bind(this);this._handleLocationChange=c,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,c),a.locationChangeAngularEmitter&&C(a.locationChangeEvent),i.on(A,(function(e){a.moveGradientsOutsideSymbol&&x(e)})),i.on(B,(function(e){var t;a.moveGradientsOutsideSymbol&&x(e.parentNode),(m()||b())&&(t=[],g(e.querySelectorAll("style")).forEach((function(e){e.textContent+="",t.push(e)})))}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.prototype._autoConfigure=function(e){var t=this.config;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=h())},t.prototype._handleLocationChange=function(e){var t=e.detail,o=t.oldUrl,n=t.newUrl;this.updateUrls(o,n)},t.prototype.add=function(t){var o=e.prototype.add.call(this,t);return this.isMounted&&o&&(t.mount(this.node),this._emitter.emit(B,t.node)),o},t.prototype.attach=function(e){var t=this,o=this;if(o.isMounted)return o.node;var n="string"==typeof e?document.querySelector(e):e;return o.node=n,this.symbols.forEach((function(e){e.mount(o.node),t._emitter.emit(B,e.node)})),g(n.querySelectorAll("symbol")).forEach((function(e){var t=v.createFromExistingNode(e);t.node=e,o.add(t)})),this._emitter.emit(A,n),n},t.prototype.destroy=function(){var e=this.config,t=this.symbols,o=this._emitter;t.forEach((function(e){return e.destroy()})),o.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},t.prototype.mount=function(e,t){if(void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1),this.isMounted)return this.node;var o="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t&&o.childNodes[0]?o.insertBefore(n,o.childNodes[0]):o.appendChild(n),this._emitter.emit(A,n),n},t.prototype.render=function(){return _(this.stringify())},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},t.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var o=document.querySelectorAll(this.config.usagesToUpdate);return M(this.node,o,w(e)+"#",w(t)+"#"),!0},Object.defineProperties(t.prototype,n),t}(p),D=e((function(e){var t,o,n,r,i;e.exports=(o=[],n=document,r=n.documentElement.doScroll,(i=(r?/^loaded|^c/:/^loaded|^i|^c/).test(n.readyState))||n.addEventListener("DOMContentLoaded",t=function(){for(n.removeEventListener("DOMContentLoaded",t),i=1;t=o.shift();)t()}),function(e){i?setTimeout(e,0):o.push(e)})}));window.__SVG_SPRITE__?S=window.__SVG_SPRITE__:(S=new T({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=S);var I=function(){var e=document.getElementById("__SVG_SPRITE_NODE__");e?S.attach(e):S.mount(document.body,!0)};return document.body?I():D(I),S},e.exports=o()}).call(this,o(8))},function(e,t){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(e){"object"==typeof window&&(o=window)}e.exports=o},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.novablocks.utils},function(e,t){e.exports=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var n;1 !function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=241)}([function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.novablocks.blockEditor},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.wp.blocks},function(e,t,o){(function(t){var o;o=function(){"use strict";var e=function(e){var t=e.id,o=e.viewBox,n=e.content;this.id=t,this.viewBox=o,this.content=n};function o(e,t){return e(t={exports:{}},t.exports),t.exports}e.prototype.stringify=function(){return this.content},e.prototype.toString=function(){return this.stringify()},e.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))},"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var n=o((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,o){var r;return o&&!0===o.clone&&e(t)?n((r=t,Array.isArray(r)?[]:{}),t,o):t}function o(o,r,i){var a=o.slice();return r.forEach((function(r,l){void 0===a[l]?a[l]=t(r,i):e(r)?a[l]=n(o[l],r,i):-1===o.indexOf(r)&&a.push(t(r,i))})),a}function n(r,i,a){var l=Array.isArray(i),c=(a||{arrayMerge:o}).arrayMerge||o;return l?Array.isArray(r)?c(r,i,a):t(i,a):function(o,r,i){var a={};return e(o)&&Object.keys(o).forEach((function(e){a[e]=t(o[e],i)})),Object.keys(r).forEach((function(l){e(r[l])&&o[l]?a[l]=n(o[l],r[l],i):a[l]=t(r[l],i)})),a}(r,i,a)}return n.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,o){return n(e,o,t)}))},n}()})),r=o((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),i=r.svg,a=r.xlink,l={};l[i.name]=i.uri,l[a.name]=a.uri;var c=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(n(l,t||{}))+">"+e+"</svg>"};return function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,o=this.render();return this.node=o,t.appendChild(o),o},t.prototype.render=function(){var e=this.stringify();return function(e){var t=!!document.importNode,o=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(o,!0):o}(c(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,o),t}(e)},e.exports=o()}).call(this,o(8))},function(e,t,o){(function(t){var o;o=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var o=e((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,o){var r;return o&&!0===o.clone&&e(t)?n((r=t,Array.isArray(r)?[]:{}),t,o):t}function o(o,r,i){var a=o.slice();return r.forEach((function(r,l){void 0===a[l]?a[l]=t(r,i):e(r)?a[l]=n(o[l],r,i):-1===o.indexOf(r)&&a.push(t(r,i))})),a}function n(r,i,a){var l=Array.isArray(i),c=(a||{arrayMerge:o}).arrayMerge||o;return l?Array.isArray(r)?c(r,i,a):t(i,a):function(o,r,i){var a={};return e(o)&&Object.keys(o).forEach((function(e){a[e]=t(o[e],i)})),Object.keys(r).forEach((function(l){e(r[l])&&o[l]?a[l]=n(o[l],r[l],i):a[l]=t(r[l],i)})),a}(r,i,a)}return n.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,o){return n(e,o,t)}))},n}()})),n=e((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),r=n.svg,i=n.xlink,a={};a[r.name]=r.uri,a[i.name]=i.uri;var l,c=function(e,t){return void 0===e&&(e=""),"<svg "+function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,""")+'"'})).join(" ")}(o(a,t||{}))+">"+e+"</svg>"},s=n.svg,u=n.xlink,d={attrs:(l={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},l[s.name]=s.uri,l[u.name]=u.uri,l)},p=function(e){this.config=o(d,e||{}),this.symbols=[]};p.prototype.add=function(e){var t=this.symbols,o=this.find(e.id);return o?(t[t.indexOf(o)]=e,!1):(t.push(e),!0)},p.prototype.remove=function(e){var t=this.symbols,o=this.find(e);return!!o&&(t.splice(t.indexOf(o),1),o.destroy(),!0)},p.prototype.find=function(e){return this.symbols.filter((function(t){return t.id===e}))[0]||null},p.prototype.has=function(e){return null!==this.find(e)},p.prototype.stringify=function(){var e=this.config.attrs,t=this.symbols.map((function(e){return e.stringify()})).join("");return c(t,e)},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){this.symbols.forEach((function(e){return e.destroy()}))};var f=function(e){var t=e.id,o=e.viewBox,n=e.content;this.id=t,this.viewBox=o,this.content=n};f.prototype.stringify=function(){return this.content},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var _=function(e){var t=!!document.importNode,o=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(o,!0):o},v=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,o=this.render();return this.node=o,t.appendChild(o),o},t.prototype.render=function(){var e=this.stringify();return _(c(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,o),t}(f),y={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},g=function(e){return Array.prototype.slice.call(e,0)},h=function(){return/firefox/i.test(navigator.userAgent)},m=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},b=function(){return/edge/i.test(navigator.userAgent)},w=function(e){return(e||window.location.href).split("#")[0]},C=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",(function(t,o,n){var r,i,a;r=e,i={oldUrl:n,newUrl:o},(a=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,i),window.dispatchEvent(a)}))}])},x=function(e,t){return void 0===t&&(t="linearGradient, radialGradient, pattern, mask, clipPath"),g(e.querySelectorAll("symbol")).forEach((function(e){g(e.querySelectorAll(t)).forEach((function(t){e.parentNode.insertBefore(t,e)}))})),e},k=n.xlink.uri,O=/[{}|\\\^\[\]`"<>]/g;function P(e){return e.replace(O,(function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()}))}var S,j=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],E=j.map((function(e){return"["+e+"]"})).join(","),M=function(e,t,o,n){var r=P(o),i=P(n);(function(e,t){return g(e).reduce((function(e,o){if(!o.attributes)return e;var n=g(o.attributes),r=t?n.filter(t):n;return e.concat(r)}),[])})(e.querySelectorAll(E),(function(e){var t=e.localName,o=e.value;return-1!==j.indexOf(t)&&-1!==o.indexOf("url("+r)})).forEach((function(e){return e.value=e.value.replace(new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(e,t,o){g(e).forEach((function(e){var n=e.getAttribute("xlink:href");if(n&&0===n.indexOf(t)){var r=n.replace(t,o);e.setAttributeNS(k,"xlink:href",r)}}))}(t,r,i)},A="mount",B="symbol_mount",T=function(e){function t(t){var n=this;void 0===t&&(t={}),e.call(this,o(y,t));var r,i=(r=r||Object.create(null),{on:function(e,t){(r[e]||(r[e]=[])).push(t)},off:function(e,t){r[e]&&r[e].splice(r[e].indexOf(t)>>>0,1)},emit:function(e,t){(r[e]||[]).map((function(e){e(t)})),(r["*"]||[]).map((function(o){o(e,t)}))}});this._emitter=i,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(t),a.syncUrlsWithBaseTag){var l=document.getElementsByTagName("base")[0].getAttribute("href");i.on(A,(function(){return n.updateUrls("#",l)}))}var c=this._handleLocationChange.bind(this);this._handleLocationChange=c,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,c),a.locationChangeAngularEmitter&&C(a.locationChangeEvent),i.on(A,(function(e){a.moveGradientsOutsideSymbol&&x(e)})),i.on(B,(function(e){var t;a.moveGradientsOutsideSymbol&&x(e.parentNode),(m()||b())&&(t=[],g(e.querySelectorAll("style")).forEach((function(e){e.textContent+="",t.push(e)})))}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.prototype._autoConfigure=function(e){var t=this.config;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=h())},t.prototype._handleLocationChange=function(e){var t=e.detail,o=t.oldUrl,n=t.newUrl;this.updateUrls(o,n)},t.prototype.add=function(t){var o=e.prototype.add.call(this,t);return this.isMounted&&o&&(t.mount(this.node),this._emitter.emit(B,t.node)),o},t.prototype.attach=function(e){var t=this,o=this;if(o.isMounted)return o.node;var n="string"==typeof e?document.querySelector(e):e;return o.node=n,this.symbols.forEach((function(e){e.mount(o.node),t._emitter.emit(B,e.node)})),g(n.querySelectorAll("symbol")).forEach((function(e){var t=v.createFromExistingNode(e);t.node=e,o.add(t)})),this._emitter.emit(A,n),n},t.prototype.destroy=function(){var e=this.config,t=this.symbols,o=this._emitter;t.forEach((function(e){return e.destroy()})),o.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},t.prototype.mount=function(e,t){if(void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1),this.isMounted)return this.node;var o="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t&&o.childNodes[0]?o.insertBefore(n,o.childNodes[0]):o.appendChild(n),this._emitter.emit(A,n),n},t.prototype.render=function(){return _(this.stringify())},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},t.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var o=document.querySelectorAll(this.config.usagesToUpdate);return M(this.node,o,w(e)+"#",w(t)+"#"),!0},Object.defineProperties(t.prototype,n),t}(p),D=e((function(e){var t,o,n,r,i;e.exports=(o=[],n=document,r=n.documentElement.doScroll,(i=(r?/^loaded|^c/:/^loaded|^i|^c/).test(n.readyState))||n.addEventListener("DOMContentLoaded",t=function(){for(n.removeEventListener("DOMContentLoaded",t),i=1;t=o.shift();)t()}),function(e){i?setTimeout(e,0):o.push(e)})}));window.__SVG_SPRITE__?S=window.__SVG_SPRITE__:(S=new T({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=S);var I=function(){var e=document.getElementById("__SVG_SPRITE_NODE__");e?S.attach(e):S.mount(document.body,!0)};return document.body?I():D(I),S},e.exports=o()}).call(this,o(8))},function(e,t){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(e){"object"==typeof window&&(o=window)}e.exports=o},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.novablocks.utils},function(e,t){e.exports=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var n; 2 2 /*! 3 3 Copyright (c) 2017 Jed Watson. 4 4 Licensed under the MIT License (MIT), see 5 5 http://jedwatson.github.io/classnames 6 */!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var a=r.apply(null,n);a&&e.push(a)}else if("object"===i)for(var l in n)o.call(n,l)&&n[l]&&e.push(l)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},function(e,t){e.exports=window.wp.data},,function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n},e.exports.default=e.exports,e.exports.__esModule=!0}, ,function(e,t,o){var n=o(15);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},,function(e,t,o){var n=o(20),r=o(21),i=o(17),a=o(22);e.exports=function(e,t){return n(e)||r(e,t)||i(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var o=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=o){var n,r,i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},,,function(e,t){e.exports=window.wp.hooks},function(e,t){function o(){return e.exports=o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,o.apply(this,arguments)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},,,,,,,,,,,,function(e,t){e.exports=window.novablocks.mediaComposition},,,function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.slideshowCollection=t.postsCollection=t.classicGrid=void 0;var n=o(1),r=o(9),i=(0,n.createElement)(r.SVG,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)("g",{"clip-path":"url(#clip0)"},(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 12C24 5.37258 18.6274 -2.34843e-07 12 -5.24537e-07C5.3726 -8.14229e-07 -2.34843e-07 5.37258 -5.24537e-07 12C-8.14229e-07 18.6274 5.3726 24 12 24C18.6274 24 24 18.6274 24 12ZM16 8.66667C16 7.74619 16.7462 7 17.6667 7C19.5076 7 21 8.49238 21 10.3333L21 13.6667C21 15.5076 19.5076 17 17.6667 17C16.7462 17 16 16.2538 16 15.3333L16 8.66667ZM11 6C9.89543 6 9 6.89543 9 8L9 16C9 17.1046 9.89543 18 11 18L13 18C14.1046 18 15 17.1046 15 16L15 8C15 6.89543 14.1046 6 13 6L11 6ZM3 10.3333C3 8.49238 4.49238 7 6.33333 7C7.25381 7 8 7.74619 8 8.66667L8 15.3333C8 16.2538 7.25381 17 6.33333 17C4.49238 17 3 15.5076 3 13.6667L3 10.3333Z",fill:"#6565F2"})),(0,n.createElement)("defs",null,(0,n.createElement)("clipPath",{id:"clip0"},(0,n.createElement)("rect",{width:"24",height:"24",fill:"white",transform:"translate(24) rotate(90)"}))));t.classicGrid=i;var a=(0,n.createElement)(r.SVG,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"novablocks-icon"},(0,n.createElement)(r.Circle,{cx:"12",cy:"12",r:"10",fill:"white"}),(0,n.createElement)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0ZM7 7C4.79086 7 3 8.79086 3 11C3 12.1046 3.89543 13 5 13H8C9.10457 13 10 12.1046 10 11V9C10 7.89543 9.10457 7 8 7H7ZM16 4C18.2091 4 20 5.79086 20 8V16C20 17.5142 19.1587 18.8319 17.9179 19.5111C16.949 20.0414 16 19.1046 16 18V15C16 13.8954 15.1046 13 14 13C12.8954 13 12 12.1046 12 11V6C12 4.89543 12.8954 4 14 4H16ZM8 15C6.89543 15 6 15.8954 6 17C6 19.2091 7.79086 21 10 21H12C13.1046 21 14 20.1046 14 19V17C14 15.8954 13.1046 15 12 15H8Z",fill:"#6565F2"}));t.postsCollection=a;var l=(0,n.createElement)(r.SVG,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"novablocks-icon"},(0,n.createElement)(r.Path,{d:"M24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24C18.6274 24 24 18.6274 24 12Z",fill:"#6565F2"}),(0,n.createElement)(r.Path,{d:"M0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12Z",fill:"#6565F2"}),(0,n.createElement)(r.Path,{d:"M17.3983 8.99272C17.8832 9.39271 17.8832 10.1357 17.3983 10.5356L14.9674 12.5406C14.3151 13.0786 13.3311 12.6146 13.3311 11.7691V7.75922C13.3311 6.91375 14.3151 6.44981 14.9674 6.98777L17.3983 8.99272Z",fill:"white"}),(0,n.createElement)(r.Path,{d:"M6.60199 8.99272C6.11704 9.39271 6.11704 10.1357 6.60199 10.5356L9.03287 12.5406C9.68511 13.0786 10.6692 12.6146 10.6692 11.7691V7.75922C10.6692 6.91375 9.68511 6.44981 9.03287 6.98777L6.60199 8.99272Z",fill:"white"}),(0,n.createElement)(r.Path,{d:"M7 18.2752C7 18.8034 7.42818 19.2315 7.95637 19.2315H8.2172C8.7774 19.2315 9.23154 18.7774 9.23154 18.2172V17.8583C9.23154 17.3843 8.84727 17 8.37325 17H8.27517C7.57091 17 7 17.5709 7 18.2752V18.2752Z",fill:"#FFE42E"}),(0,n.createElement)(r.Path,{d:"M10.7188 18.2752C10.7188 18.8034 11.1469 19.2315 11.6751 19.2315H11.936C12.4962 19.2315 12.9503 18.7774 12.9503 18.2172V17.8583C12.9503 17.3843 12.566 17 12.092 17H11.9939C11.2896 17 10.7188 17.5709 10.7188 18.2752V18.2752Z",fill:"#FFE42E"}),(0,n.createElement)(r.Path,{d:"M14.4385 18.2752C14.4385 18.8034 14.8667 19.2315 15.3948 19.2315H15.6557C16.2159 19.2315 16.67 18.7774 16.67 18.2172V17.8583C16.67 17.3843 16.2857 17 15.8117 17H15.7136C15.0094 17 14.4385 17.5709 14.4385 18.2752V18.2752Z",fill:"#FFE42E"}));t.slideshowCollection=l},,,,,,,,,,,,,,,,,,function(e,t){e.exports=window.novablocks.scrollingEffect},function(e,t){e.exports=window.novablocks.shapeModeling},function(e,t,o){var n=o(244);e.exports=function(e,t){if(null==e)return{};var o,r,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.novablocks.collection},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CardsCollectionLayout",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"PostCard",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"PostsCollectionLayout",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"SupernovaItemPreview",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"withControlsVisibility",{enumerable:!0,get:function(){return i.default}});var r=n(o(249)),i=n(o(250)),a=n(o(251)),l=n(o(252)),c=n(o(253))},,,,,function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.carouselCollection=t.cardsCollection=void 0;var n=o(1),r=o(9),i=(0,n.createElement)(r.SVG,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"novablocks-icon"},(0,n.createElement)(r.Circle,{cx:"12",cy:"12",r:"10",fill:"white"}),(0,n.createElement)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0ZM7 7C4.79086 7 3 8.79086 3 11C3 12.1046 3.89543 13 5 13H8C9.10457 13 10 12.1046 10 11V9C10 7.89543 9.10457 7 8 7H7ZM16 4C18.2091 4 20 5.79086 20 8V16C20 17.5142 19.1587 18.8319 17.9179 19.5111C16.949 20.0414 16 19.1046 16 18V15C16 13.8954 15.1046 13 14 13C12.8954 13 12 12.1046 12 11V6C12 4.89543 12.8954 4 14 4H16ZM8 15C6.89543 15 6 15.8954 6 17C6 19.2091 7.79086 21 10 21H12C13.1046 21 14 20.1046 14 19V17C14 15.8954 13.1046 15 12 15H8Z",fill:"#6565F2"}));t.cardsCollection=i;var a=(0,n.createElement)(r.SVG,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"novablocks-icon"},(0,n.createElement)(r.Path,{d:"M24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24C18.6274 24 24 18.6274 24 12Z",fill:"#6565F2"}),(0,n.createElement)(r.Path,{d:"M0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12Z",fill:"#6565F2"}),(0,n.createElement)(r.Path,{d:"M17.3983 8.99272C17.8832 9.39271 17.8832 10.1357 17.3983 10.5356L14.9674 12.5406C14.3151 13.0786 13.3311 12.6146 13.3311 11.7691V7.75922C13.3311 6.91375 14.3151 6.44981 14.9674 6.98777L17.3983 8.99272Z",fill:"white"}),(0,n.createElement)(r.Path,{d:"M6.60199 8.99272C6.11704 9.39271 6.11704 10.1357 6.60199 10.5356L9.03287 12.5406C9.68511 13.0786 10.6692 12.6146 10.6692 11.7691V7.75922C10.6692 6.91375 9.68511 6.44981 9.03287 6.98777L6.60199 8.99272Z",fill:"white"}),(0,n.createElement)(r.Path,{d:"M7 18.2752C7 18.8034 7.42818 19.2315 7.95637 19.2315H8.2172C8.7774 19.2315 9.23154 18.7774 9.23154 18.2172V17.8583C9.23154 17.3843 8.84727 17 8.37325 17H8.27517C7.57091 17 7 17.5709 7 18.2752V18.2752Z",fill:"#FFE42E"}),(0,n.createElement)(r.Path,{d:"M10.7188 18.2752C10.7188 18.8034 11.1469 19.2315 11.6751 19.2315H11.936C12.4962 19.2315 12.9503 18.7774 12.9503 18.2172V17.8583C12.9503 17.3843 12.566 17 12.092 17H11.9939C11.2896 17 10.7188 17.5709 10.7188 18.2752V18.2752Z",fill:"#FFE42E"}),(0,n.createElement)(r.Path,{d:"M14.4385 18.2752C14.4385 18.8034 14.8667 19.2315 15.3948 19.2315H15.6557C16.2159 19.2315 16.67 18.7774 16.67 18.2172V17.8583C16.67 17.3843 16.2857 17 15.8117 17H15.7136C15.0094 17 14.4385 17.5709 14.4385 18.2752V18.2752Z",fill:"#FFE42E"}));t.carouselCollection=a},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,o){"use strict";var n=o(0),r=o(1),i=n(o(11)),a=o(5),l=o(4),c=o(25),s=o(2),u=o(59),d=n(o(243)),p=n(o(254)),f=n(o(269)),_=n(o(270)),v=n(o(276)),y=n(o(277)),g=o(278);function h(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?h(Object(o),!0).forEach((function(t){(0,i.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}(0,o(282).registerQueryStore)("novablocks/supernova");(0,c.addFilter)("blocks.registerBlockType","novablocks/supernova/core-query-alterations",(function(e){return"core/query"!==e.name||(e.attributes.variation={type:"string"},e.supports.align=!1,e.supports.html=!1,e.supports.__experimentalLayout=!1,e.variations=[],_.default.forEach((function(t){e.variations.push(t)}))),e}),Number.MAX_SAFE_INTEGER);(0,c.addFilter)("blocks.registerBlockType","novablocks/supernova/with-variations",(function(e){return"novablocks/supernova"!==e.name?e:m(m({},e),{},{variations:p.default})}),Number.MAX_SAFE_INTEGER),(0,a.registerBlockType)("novablocks/supernova",{icon:(0,s.getSvg)(v.default),attributes:y.default,edit:d.default,transforms:f.default,save:function(){return(0,r.createElement)(l.InnerBlocks.Content,null)}});(0,c.addFilter)("editor.BlockEdit","novablocks/supernova/with-set-children-attributes",g.withSetChildrenAttributes,Number.MAX_SAFE_INTEGER),(0,c.addFilter)("editor.BlockEdit","novablocks/supernova/with-focal-point-image",(function(e){return function(t){var o=t.clientId,n=(0,s.useInnerBlocks)(o),i=(0,r.useMemo)((function(){if(n.length){var e=n[0].attributes.images;if(null!=e&&e.length)return Object.assign({},t,{focalPointImage:(0,u.getFocalPointImage)(e[0])})}return t}),[t]);return(0,r.createElement)(e,i)}}),Number.MAX_SAFE_INTEGER)},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(1),i=n(o(61)),a=n(o(19)),l=n(o(26)),c=n(o(11)),s=n(o(12)),u=o(4),d=o(13),p=o(245),f=o(2),_=o(62),v=o(38),y=n(o(246)),g=n(o(248)),h=o(10),m=o(63),b=["title","subtitle","contentColorSignal","contentPaletteVariation","contentType"];function w(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function C(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?w(Object(o),!0).forEach((function(t){(0,c.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):w(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var x=function(e){var t=e.clientId,o=(0,f.useInnerBlocks)(t),n=(0,d.useDispatch)("core/block-editor").updateBlockAttributes,i=(0,r.useCallback)((function(e){(0,f.normalizeImages)(e).then((function(e){n(o[0].clientId,{images:e})}))}));if(1!==o.length)return null;var a=C(C({},e),{},{attributes:C(C({},e.attributes),{},{images:o[0].attributes.images}),onSelectImages:i});return(0,r.createElement)(v.BlockControls,a)},k=function(e){var t=e.attributes,o=e.clientId,n=e.inQuery,i=t.align,a=t.columns,d=t.headerPosition,p=t.showCollectionTitle,f=t.showCollectionSubtitle,v=t.showPagination,y=t.cardLayout,g=t.carouselLayout,b=t.layoutStyle,w=n?"auto":(null==t?void 0:t.contentType)||"fields",C=(0,h.getAlignFromMatrix)(null==t?void 0:t.contentPosition),x=(0,s.default)("nb-supernova","nb-supernova--content-type-".concat(w),"nb-supernova--card-layout-".concat(y),"nb-supernova--layout-".concat(b),"nb-supernova--".concat(a,"-columns"),"nb-supernova--valign-".concat(C[0]),"nb-supernova--halign-".concat(C[1]),"nb-supernova--align-".concat(i),{"nb-supernova--show-pagination":v},(0,c.default)({},"nb-supernova--carousel-layout-".concat(g),"carousel"===b),e.className,"alignfull"),k=(0,u.useBlockProps)({className:x,style:e.style});return(0,r.createElement)("div",k,(0,r.createElement)(_.Collection,(0,l.default)({},e,{key:"collection_"+o}),0===d&&(p||f)&&(0,r.createElement)(_.CollectionHeader,(0,l.default)({},e,{key:"collection_header_"+o})),n?(0,r.createElement)(m.PostsCollectionLayout,(0,l.default)({},e,{key:"posts_collection_layout_"+o})):(0,r.createElement)(m.CardsCollectionLayout,(0,l.default)({},e,{key:"cards_collection_layout_"+o}))))},O=((0,r.memo)(k),(0,m.withControlsVisibility)((function(e){var t=e.attributes,o=e.setAttributes,n=e.context,c=e.clientId,s=t.postsToShow,u=n.queryId,_=Number.isFinite(u),v=(0,f.useMeta)("supernova_prevent_duplicate"),h=(0,a.default)(v,2),m=h[0],w=(h[1],(0,d.useSelect)((function(e){return e("novablocks/displayed-posts").previousPostIds(c)}),[t]));_&&"auto"!==t.contentType?o({contentType:"auto"}):_||["fields","custom"].includes(t.contentType)||o({contentType:"fields"});var O=(0,r.useMemo)((function(){t.title,t.subtitle;var e=t.contentColorSignal,o=t.contentPaletteVariation,n=(t.contentType,(0,i.default)(t,b));return Object.assign({},n,{colorSignal:e,paletteVariation:o,useSourceColorAsReference:!1})}),[t]);(0,f.useInnerBlocksCount)(c,s,"novablocks/supernova-item",O),_?(0,f.useInnerBlocksLock)(c,{remove:!0,move:!0},t,"novablocks/supernova-item"):(0,f.useInnerBlocksLock)(c,{remove:!1,move:!1},t,"novablocks/supernova-item");var P,S=n.query,j=(S=void 0===S?{}:S).perPage,E=S.offset,M=S.postType,A=S.order,B=S.orderBy,T=S.author,D=S.search,I=S.exclude,V=S.sticky,L=S.inherit,F=S.taxQuery,G=n.queryContext,Z=void 0===G?[{page:1}]:G,N=n.templateSlug,q=(0,a.default)(Z,1)[0].page;P=(0,d.useSelect)((function(e){if(!_)return{posts:!1};var t=e(p.store),o=t.getEntityRecords,n=t.getTaxonomies,r={postType:M||"post",offset:j?j*(q-1)+E:0,order:A,orderby:B};if(F){var i=n({type:M,per_page:-1,context:"view"}),l=Object.entries(F).reduce((function(e,t){var o=(0,a.default)(t,2),n=o[0],r=o[1],l=null==i?void 0:i.find((function(e){return e.slug===n}));return null!=l&&l.rest_base&&(e[null==l?void 0:l.rest_base]=r),e}),{});Object.keys(l).length&&Object.assign(r,l)}return j&&(r.per_page=j),T&&(r.author=T),D&&(r.search=D),null!=I&&I.length&&(r.exclude=I),V&&(r.sticky="only"===V),L&&null!=N&&N.startsWith("archive-")&&(r.postType=N.replace("archive-","")),m&&(r.exclude=w.join(",")),{posts:o("postType",r.postType,r)}}),[_,j,q,E,A,B,c,T,D,M,I,V,L,N,F,m,w]).posts;var H=!1,R=(0,d.select)("core/block-editor"),U=R.getBlockParentsByBlockName,z=R.getClientIdsOfDescendants,Q=R.getBlockName,W=U(c,"core/query");if(_){var Y=z([W]).filter((function(e){return"novablocks/supernova"===Q(e)}));1===Y.length&&Y[0]===c&&(H=!0)}var K=(0,d.useDispatch)("core/block-editor").updateBlockAttributes;(0,r.useEffect)((function(){H&&W&&parseInt(t.postsToShow)!==parseInt(j)&&K(W,{query:C(C({},n.query),{},{perPage:parseInt(t.postsToShow)})})}),[t]),(0,r.useEffect)((function(){H&&W&&parseInt(t.postsToShow)!==parseInt(n.query.perPage)&&o({postsToShow:parseInt(n.query.perPage)})}),[n]);var $=(0,d.useDispatch)("novablocks/displayed-posts"),X=$.markPostsAsDisplayed;$.markSpecificPostsAsDisplayed;return(0,r.useCallback)((function(e,t){X(e,t)}),[t])(c,P),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(k,(0,l.default)({},e,{posts:P,inQuery:_,key:"preview"})),(0,r.createElement)(y.default,(0,l.default)({},e,{inQuery:_,key:"block-controls"})),(0,r.createElement)(g.default,(0,l.default)({},e,{inQuery:_,key:"inspector-controls"})),(0,r.createElement)(x,(0,l.default)({},e,{key:"media-composition-block-controls"})))})));t.default=O},function(e,t){e.exports=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.coreData},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(1),i=(o(3),o(4)),a=(o(9),o(2),o(10),n(o(247))),l=function(e){var t=e.attributes,o=e.setAttributes,n=(e.inQuery,t.align);return(0,r.createElement)(i.BlockControls,{group:"block"},(0,r.createElement)(i.BlockAlignmentControl,{value:n,onChange:function(e){o({align:null!=e?e:"none"})}}),(0,r.createElement)(a.default,e))};t.default=l},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(1),r=o(3),i=o(4),a=o(9),l={left:{value:"horizontal",icon:"align-pull-left",label:(0,r.__)("Show Media on Left Side","nova-blocks")},right:{value:"horizontal-reverse",icon:"align-pull-right",label:(0,r.__)("Show Media on Right Side","nova-blocks")}},c=function(e){var t=e.attributes,o=e.setAttributes,r=t.cardLayout;return["horizontal","horizontal-reverse"].includes(r)?(0,n.createElement)(i.BlockControls,null,(0,n.createElement)(a.ToolbarGroup,null,Object.keys(l).map((function(e){var t=l[e];return(0,n.createElement)(a.ToolbarButton,{icon:t.icon,label:t.label,key:e,isActive:t.value===r,onClick:function(){o({cardLayout:t.value})}})})))):null};t.default=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(1),r=o(3),i=o(9),a=o(2),l=function(e){var t=e.attributes,o=e.setAttributes;if(e.inQuery)return null;var l=t.contentType,c=t.postsToShow,s=t.columns;return 1===c&&1===s?null:(0,n.createElement)(a.ControlsSection,{id:"content-type",label:(0,r.__)("Content Type","nova-blocks"),group:(0,r.__)("Card Anatomy","nova-blocks"),order:100},(0,n.createElement)(a.ControlsTab,{label:(0,r.__)("Settings","nova-blocks")},(0,n.createElement)(i.SelectControl,{key:"collection-content-type",label:(0,r.__)("Content Type","nova-blocks"),value:l,options:[{label:(0,r.__)("Pre-defined fields","nova-blocks"),value:"fields"},{label:(0,r.__)("Custom Blocks","nova-blocks"),value:"custom"}],onChange:function(e){o({contentType:e})}})))};t.default=l},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(1),i=n(o(26)),a=n(o(61)),l=o(2),c=o(38),s=o(10),u=["style"],d=function(e){var t=e.attributes,o=t.images;if(!t.showMedia)return null;if(Array.isArray(o)&&1===o.length){var n=(0,s.normalizeMedia)(o[0]);return(0,r.createElement)("img",{className:"nb-supernova-item__media",src:n.url,width:n.width,height:n.height,alt:n.alt})}return(0,r.createElement)(c.MediaCompositionPreview,e)},p=function(e){var t=e.attributes,o=t.showMedia,n=t.contentType,c=(0,s.getColorSignalClassnames)(t,!0),p=(e.style,(0,a.default)(e,u));return(0,r.createElement)(l.Card,(0,i.default)({},p,{className:c}),o&&(0,r.createElement)(l.CardMediaWrapper,e,(0,r.createElement)(d,e)),(0,r.createElement)("div",{className:"nb-supernova-item__inner-container"},"fields"===n&&(0,r.createElement)(l.CardFieldsPreview,(0,i.default)({},e,{key:"card_fields"})),"custom"===n&&(0,r.createElement)(l.InnerBlocksPreview,(0,i.default)({},e,{key:"inner_blocks"}))))};t.default=p},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(1),r=o(2),i=function(e){return function(t){var o=t.attributes,i=t.setControlsVisibility,a=t.clientId,l=(0,r.useInnerBlocks)(a);return(0,n.useEffect)((function(){var e=o.cardLayout,t=o.carouselLayout,n=o.layoutStyle,r=o.contentType,a=o.showCollectionTitle,c=o.showTitle,s=o.showMedia,u=o.showMeta,d=l.some((function(e){var t;return 1<(null===(t=e.attributes.images)||void 0===t?void 0:t.length)}));i({"minimum-container-height":"stacked"===e,"media-container-height":"variable"===t,"media-aspect-ratio":"stacked"!==e&&"variable"!==t&&s,"visual-balance":"parametric"!==n&&["horizontal","horizontal-reverse"].includes(e),"content-padding":!0,"media-padding":s,"content-to-media-spacing":"stacked"!==e&&s,"media-composition-section":d&&!!s&&"auto"!==r,"emphasis-area":["horizontal","horizontal-reverse"].includes(e),"card-details":!!a||!!c||!!u,"card-details-content":!!a||!!c,"collection-title-level":!!a,"card-title-level":!!c,"metadata-source":!!u,"metadata-position":!!u,"media-composition-block-controls":1===l.length&&s})}),[o,l]),(0,n.createElement)(e,t)}};t.default=i},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(1),i=n(o(26)),a=n(o(61)),l=o(4),c=o(2),s=o(62),u=o(10),d=o(63),p=["ref"],f=function(e){var t=(0,l.useInnerBlocksProps)({},{allowedBlocks:["novablocks/supernova-item"],renderAppender:!1,templateInsertUpdatesSelection:!1}),o=(t.ref,(0,a.default)(t,p));return(0,r.createElement)(s.CollectionBody,(0,i.default)({},e,o,{key:"body"}))},_=function(e){var t=e.clientId,o=(0,c.useInnerBlocks)(t);return(0,r.createElement)(s.CollectionBody,(0,i.default)({},e,{key:"body"}),o.map((function(e){return(0,r.createElement)(d.SupernovaItemPreview,(0,i.default)({},e,{key:"collection_item_preview_"+e.clientId}))})))},v=function(e){var t=e.attributes;return(0,u.needsPreview)(t)&&t.preview?(0,r.createElement)(_,e):(0,r.createElement)(f,e)};t.default=v},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(1),i=n(o(26)),a=o(9),l=o(3),c=o(2),s=o(62),u=o(63),d=function(e){var t=e.posts,o=e.clientId,n=(0,c.useInnerBlocks)(o),d=Object.assign({},e.attributes,{colorSignal:e.attributes.contentColorSignal,paletteVariation:e.attributes.contentPaletteVariation,useSourceColorAsReference:!1}),p=Object.assign({},e,{attributes:d});return delete p.posts,(0,r.createElement)(s.CollectionBody,(0,i.default)({},e,{key:"body_"+o}),t?t.length?t.map((function(e,t){return n[t]?(0,r.createElement)("div",{className:"nb-collection__layout-item",key:"collection_layout_item_"+e.id},(0,r.createElement)(u.PostCard,(0,i.default)({},p,{post:e,key:"collection_post_card_post_"+e.id}))):null})):(0,r.createElement)("p",null," ",(0,l.__)("No posts to display.","nova-blocks")):(0,r.createElement)(a.Spinner,null))};t.default=d},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(1),i=n(o(26)),a=o(2),l=(0,o(60).withShapeModelingDecoration)(a.PostCardMedia),c=function(e){var t=e.post;return(0,r.createElement)(a.PostCard,(0,i.default)({},e,{Media:l,key:"default_post_card_post_"+t.id}))};t.default=c},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(255)),i=o(257),a=o(262),l=[r.default,i.cardsCollectionCarousel,i.cardsCollectionClassicGrid,i.cardsCollectionParametricGrid,a.cardHero,a.cardMedia,a.cardVertical];t.default=l},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(11)),i=o(3),a=o(256);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){(0,r.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var s={contentType:"fields",layoutStyle:"classic",contentPadding:0,layoutGutter:0,postsToShow:1,columns:1,cardLayout:"vertical",contentPosition:"center left",cardMediaOpacity:100,showCollectionTitle:!1,showCollectionSubtitle:!1,showMedia:!0,showMeta:!1,showTitle:!1,showSubtitle:!1,showDescription:!1,showButtons:!1,defaultsGenerated:!1},u={name:"novablocks/supernova/advanced-gallery",title:(0,i.__)("Advanced Gallery","nova-blocks"),description:(0,i.__)("Display a gallery of images in a unique and creative composition.","nova-blocks"),keywords:[(0,i.__)("media","nova-blocks"),(0,i.__)("collection","nova-blocks"),(0,i.__)("layout","nova-blocks"),(0,i.__)("composition","nova-blocks")],icon:a.advancedGallery,attributes:s,innerBlocks:[["novablocks/supernova-item",c(c({},s),{},{multiplePlaceholderImages:!0})]],scope:["inserter"]};t.default=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.advancedGallery=void 0;var n=o(1),r=o(9),i=(0,n.createElement)(r.SVG,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"novablocks-icon"},(0,n.createElement)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24ZM17 17C19.2091 17 21 15.2091 21 13C21 11.8954 20.1046 11 19 11H16C14.8954 11 14 11.8954 14 13V15C14 16.1046 14.8954 17 16 17H17ZM8 20C5.79086 20 4 18.2091 4 16V8C4 6.48581 4.84135 5.16813 6.08206 4.48894C7.05095 3.95855 8 4.89543 8 6V9C8 10.1046 8.89543 11 10 11C11.1046 11 12 11.8954 12 13V18C12 19.1046 11.1046 20 10 20H8ZM16 9C17.1046 9 18 8.10457 18 7C18 4.79086 16.2091 3 14 3H12C10.8954 3 10 3.89543 10 5V7C10 8.10457 10.8954 9 12 9H16Z",fill:"#6565F2"}));t.advancedGallery=i},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"cardsCollectionCarousel",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"cardsCollectionClassicGrid",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"cardsCollectionParametricGrid",{enumerable:!0,get:function(){return a.default}});var r=n(o(258)),i=n(o(259)),a=n(o(261))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(3),r=o(68),i={showCollectionTitle:!1,showCollectionSubtitle:!1,align:"full",contentType:"fields",layoutStyle:"carousel",carouselLayout:"fixed",gridGap:30,spacingModifier:.5,mediaContainerHeight:50,contentPadding:0,layoutGutter:25,emphasisBySpace:1,emphasisTopSpacing:0,emphasisBottomSpacing:0,postsToShow:5,columns:3,cardLayout:"vertical",contentPosition:"center left",contentColorSignal:0,contentPaletteVariation:1,defaultsGenerated:!1},a=Object.assign({},i,{colorSignal:i.contentColorSignal,paletteVariation:i.contentPaletteVariation,useSourceColorAsReference:!1}),l={name:"novablocks/supernova/cards-collection/carousel",title:(0,n.__)("Cards Collection: Carousel","nova-blocks"),description:(0,n.__)("Display a list of related items in a carousel/slideshow layout.","nova-blocks"),keywords:[(0,n.__)("card","nova-blocks"),(0,n.__)("collection","nova-blocks"),(0,n.__)("layout","nova-blocks"),(0,n.__)("carousel","nova-blocks"),(0,n.__)("slideshow","nova-blocks"),(0,n.__)("slider","nova-blocks"),(0,n.__)("horizontal","nova-blocks"),(0,n.__)("section","nova-blocks")],icon:r.carouselCollection,attributes:i,innerBlocks:Array.from(Array(5)).map((function(){return["novablocks/supernova-item",a]})),scope:["inserter"]};t.default=l},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(3),i=o(2),a=n(o(260)),l={contentType:"fields",layoutStyle:"classic",emphasisTopSpacing:0,emphasisBottomSpacing:0,layoutGutter:25,postsToShow:3,columns:3,cardLayout:"vertical",contentPosition:"top left",cardMediaOpacity:100,showCollectionTitle:!0,showCollectionSubtitle:!0,showMedia:!0,showMeta:!1,showTitle:!0,showSubtitle:!1,showDescription:!0,showButtons:!0,defaultsGenerated:!1},c=Object.assign({},l,{colorSignal:l.contentColorSignal,paletteVariation:l.contentPaletteVariation,useSourceColorAsReference:!1}),s={name:"novablocks/supernova/cards-collection/classic-grid",title:(0,r.__)("Cards Collection: Classic Grid","nova-blocks"),description:(0,r.__)("Display a list of related items in a classic grid layout.","nova-blocks"),keywords:[(0,r.__)("card","nova-blocks"),(0,r.__)("collection","nova-blocks"),(0,r.__)("layout","nova-blocks"),(0,r.__)("grid","nova-blocks"),(0,r.__)("columns","nova-blocks"),(0,r.__)("rows","nova-blocks")],icon:(0,i.getSvg)(a.default),attributes:l,innerBlocks:Array.from(Array(3)).map((function(){return["novablocks/supernova-item",c]})),scope:["inserter"]};t.default=s},function(e,t,o){"use strict";o.r(t);var n=o(6),r=o.n(n),i=o(7),a=o.n(i),l=new r.a({id:"block-library-supernova/variations/cards-collection/classic-grid/icon",use:"block-library-supernova/variations/cards-collection/classic-grid/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-supernova/variations/cards-collection/classic-grid/icon"><g clip-path="url(#block-library-supernova/variations/cards-collection/classic-grid/icon_a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 12c0-6.627-5.373-12-12-12S0 5.373 0 12s5.373 12 12 12 12-5.373 12-12Zm-8-3.333C16 7.747 16.746 7 17.667 7A3.333 3.333 0 0 1 21 10.333v3.334A3.333 3.333 0 0 1 17.667 17c-.92 0-1.667-.746-1.667-1.667V8.667ZM11 6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-2Zm-8 4.333A3.333 3.333 0 0 1 6.333 7C7.253 7 8 7.746 8 8.667v6.666C8 16.253 7.254 17 6.333 17A3.333 3.333 0 0 1 3 13.667v-3.334Z" fill="#6565F2" /></g><defs><clipPath id="block-library-supernova/variations/cards-collection/classic-grid/icon_a"><path fill="#fff" transform="rotate(90 12 12)" d="M0 0h24v24H0z" /></clipPath></defs></symbol>'});a.a.add(l);t.default=l},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(3),r=o(68),i={contentType:"fields",layoutStyle:"parametric",emphasisTopSpacing:1,emphasisBottomSpacing:1,layoutGutter:10,postsToShow:5,columns:5,rows:5,cardLayout:"vertical",contentPosition:"top left",cardMediaOpacity:100,defaultsGenerated:!1},a=Object.assign({},i,{colorSignal:i.contentColorSignal,paletteVariation:i.contentPaletteVariation,useSourceColorAsReference:!1}),l={name:"novablocks/supernova/cards-collection/parametric-grid",title:(0,n.__)("Cards Collection: Parametric Grid","nova-blocks"),description:(0,n.__)("Display a list of related items in a parametric grid layout.","nova-blocks"),keywords:[(0,n.__)("card","nova-blocks"),(0,n.__)("collection","nova-blocks"),(0,n.__)("layout","nova-blocks"),(0,n.__)("grid","nova-blocks"),(0,n.__)("parametric","nova-blocks"),(0,n.__)("composition","nova-blocks"),(0,n.__)("columns","nova-blocks"),(0,n.__)("rows","nova-blocks")],icon:r.cardsCollection,attributes:i,innerBlocks:Array.from(Array(5)).map((function(){return["novablocks/supernova-item",a]})),scope:["inserter"]};t.default=l},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"cardHero",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"cardMedia",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"cardVertical",{enumerable:!0,get:function(){return a.default}});var r=n(o(263)),i=n(o(265)),a=n(o(267))},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(3),i=o(2),a=n(o(264)),l={variation:"novablocks-card-hero",showCollectionTitle:!1,showCollectionSubtitle:!1,contentType:"custom",layoutStyle:"classic",contentPadding:100,cardLayout:"stacked",postsToShow:1,columns:1,contentPosition:"center center",minHeightFallback:66,contentColorSignal:3,contentPaletteVariation:12,overlayFilterStrength:30,align:"full",blockTopSpacing:0,blockBottomSpacing:1,emphasisTopSpacing:0,emphasisBottomSpacing:0,scrollingEffect:"parallax",defaultsGenerated:!1},c=[["novablocks/supernova-item",Object.assign({},l,{colorSignal:3,paletteVariation:12}),[["core/heading",{level:1,content:(0,r.__)("This is a catchy title","nova-blocks")}],["core/paragraph",{content:(0,r.__)("A brilliant subtitle to explain its catchiness","nova-blocks"),className:"is-style-lead"}],["core/buttons",{layout:{type:"flex",justifyContent:"center"}},[["core/button",{text:(0,r.__)("Discover more","nova-blocks")}]]]]]],s={name:"novablocks/supernova/card/hero",title:(0,r.__)("Hero Card","nova-blocks"),description:(0,r.__)("A great way to get your visitors acquainted with your content.","nova-blocks"),keywords:[(0,r.__)("card","nova-blocks"),(0,r.__)("layout","nova-blocks"),(0,r.__)("hero","nova-blocks"),(0,r.__)("full-width","nova-blocks"),(0,r.__)("cover","nova-blocks")],icon:(0,i.getSvg)(a.default),attributes:l,innerBlocks:c,isActive:function(e,t){return e.variation===t.variation},scope:["inserter"]};t.default=s},function(e,t,o){"use strict";o.r(t);var n=o(6),r=o.n(n),i=o(7),a=o.n(i),l=new r.a({id:"block-library-supernova/variations/card/hero/icon",use:"block-library-supernova/variations/card/hero/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-supernova/variations/card/hero/icon"><mask id="block-library-supernova/variations/card/hero/icon_a" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24" style="mask-type:alpha"><rect width="24" height="24" rx="12" fill="#6565F2" /></mask><g mask="url(#block-library-supernova/variations/card/hero/icon_a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0ZM4 8.491C4 6.011 7.016 4 10.737 4h.882C16.248 4 20 6.502 20 9.587c0 2.806-3.411 5.08-7.619 5.08h-.802C7.393 14.667 4 12.405 4 9.614V8.491Z" fill="#6565F2" /><path d="M7 18.714C7 19.424 7.576 20 8.286 20H15.5a1.5 1.5 0 0 0 0-3H8.714C7.768 17 7 17.767 7 18.714Z" fill="#FFE42E" /></g></symbol>'});a.a.add(l);t.default=l},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(3),i=o(2),a=n(o(266)),l={variation:"novablocks-card-media",contentType:"custom",layoutStyle:"classic",contentPadding:0,layoutGutter:100,cardLayout:"horizontal",postsToShow:1,columns:1,showCollectionTitle:!1,showCollectionSubtitle:!1,contentPosition:"center left",cardMediaOpacity:100,align:"wide",blockTopSpacing:0,blockBottomSpacing:1,emphasisTopSpacing:0,emphasisBottomSpacing:0,defaultsGenerated:!1},c=[["core/heading",{level:5,content:(0,r.__)("Shoot for the moon, Even if You Miss.","nova-blocks")}],["core/heading",{level:1,content:(0,r.__)("A catchy title","nova-blocks")}],["core/paragraph",{content:(0,r.__)("A brilliant description to explain its catchiness. We have always defined ourselves by the ability to overcome the impossible. And we count these moments. These moments when we dare to aim higher, to break barriers, to make the unknown known.","nova-blocks")}],["core/button",{text:(0,r.__)("Discover more","nova-blocks")}]],s={name:"novablocks/supernova/media-card",title:(0,r.__)("Media Card","nova-blocks"),description:(0,r.__)("Display media alongside short pieces of content.","nova-blocks"),keywords:[(0,r.__)("card","nova-blocks"),(0,r.__)("layout","nova-blocks"),(0,r.__)("media-text","nova-blocks"),(0,r.__)("feature","nova-blocks"),(0,r.__)("section","nova-blocks")],icon:(0,i.getSvg)(a.default),attributes:l,innerBlocks:[["novablocks/supernova-item",l,c]],isActive:function(e,t){return e.variation===t.variation},scope:["inserter"]};t.default=s},function(e,t,o){"use strict";o.r(t);var n=o(6),r=o.n(n),i=o(7),a=o.n(i),l=new r.a({id:"block-library-supernova/variations/card/media/icon",use:"block-library-supernova/variations/card/media/icon-usage",viewBox:"0 0 36 36",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" id="block-library-supernova/variations/card/media/icon"><mask id="block-library-supernova/variations/card/media/icon_a" maskUnits="userSpaceOnUse" x="-2" y="-2" width="40" height="40" fill="#000"><path fill="#fff" d="M-2-2h40v40H-2z" /><path fill-rule="evenodd" clip-rule="evenodd" d="M18 0C8.059 0 0 8.059 0 18s8.059 18 18 18 18-8.059 18-18S27.941 0 18 0Zm5.474 25A5.474 5.474 0 0 1 18 19.526v-.716A6.81 6.81 0 0 1 24.81 12 6.19 6.19 0 0 1 31 18.19v.652C31 22.243 28.243 25 24.842 25h-1.368Z" /></mask><path fill-rule="evenodd" clip-rule="evenodd" d="M18 0C8.059 0 0 8.059 0 18s8.059 18 18 18 18-8.059 18-18S27.941 0 18 0Zm5.474 25A5.474 5.474 0 0 1 18 19.526v-.716A6.81 6.81 0 0 1 24.81 12 6.19 6.19 0 0 1 31 18.19v.652C31 22.243 28.243 25 24.842 25h-1.368Z" fill="#6565F2" /><path d="M2 18C2 9.163 9.163 2 18 2v-4C6.954-2-2 6.954-2 18h4Zm16 16C9.163 34 2 26.837 2 18h-4c0 11.046 8.954 20 20 20v-4Zm16-16c0 8.837-7.163 16-16 16v4c11.046 0 20-8.954 20-20h-4ZM18 2c8.837 0 16 7.163 16 16h4C38 6.954 29.046-2 18-2v4Zm-2 17.526A7.474 7.474 0 0 0 23.474 27v-4A3.474 3.474 0 0 1 20 19.526h-4Zm0-.716v.716h4v-.716h-4ZM24.81 10A8.81 8.81 0 0 0 16 18.81h4A4.81 4.81 0 0 1 24.81 14v-4ZM33 18.19A8.19 8.19 0 0 0 24.81 10v4A4.19 4.19 0 0 1 29 18.19h4Zm0 .652v-.651h-4v.651h4ZM24.842 27A8.158 8.158 0 0 0 33 18.842h-4A4.158 4.158 0 0 1 24.842 23v4Zm-1.368 0h1.368v-4h-1.368v4Z" fill="#fff" mask="url(#block-library-supernova/variations/card/media/icon_a)" /><path fill-rule="evenodd" clip-rule="evenodd" d="M12 30a6 6 0 0 1-6-6V14a8 8 0 0 1 8-8h2a5 5 0 0 1 4.999 4.9A8.905 8.905 0 0 0 16 18.905v.937a7.16 7.16 0 0 0 4.744 6.74A5.002 5.002 0 0 1 16 30h-4Z" fill="#FFE42E" /></symbol>'});a.a.add(l);t.default=l},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(3),i=o(2),a=n(o(268)),l={variation:"novablocks-card-hero",contentType:"custom",layoutStyle:"classic",contentPadding:0,layoutGutter:100,cardLayout:"vertical",postsToShow:1,columns:1,showCollectionTitle:!1,showCollectionSubtitle:!1,contentPosition:"center left",cardMediaOpacity:100,align:"wide",blockTopSpacing:0,blockBottomSpacing:1,emphasisTopSpacing:0,emphasisBottomSpacing:0,defaultsGenerated:!1},c=[["core/heading",{level:5,content:(0,r.__)("Shoot for the moon, Even if You Miss.","nova-blocks")}],["core/heading",{level:1,content:(0,r.__)("A catchy title","nova-blocks")}],["core/paragraph",{content:(0,r.__)("A brilliant description to explain its catchiness. We have always defined ourselves by the ability to overcome the impossible. And we count these moments. These moments when we dare to aim higher, to break barriers, to make the unknown known.","nova-blocks")}],["core/button",{text:(0,r.__)("Discover more","nova-blocks")}]],s={name:"novablocks/supernova/vertical-card",title:(0,r.__)("Vertical Card","nova-blocks"),description:(0,r.__)("Display media and short pieces of content, one after another.","nova-blocks"),keywords:[(0,r.__)("card","nova-blocks"),(0,r.__)("layout","nova-blocks"),(0,r.__)("vertical","nova-blocks"),(0,r.__)("panel","nova-blocks"),(0,r.__)("column","nova-blocks")],icon:(0,i.getSvg)(a.default),attributes:l,innerBlocks:[["novablocks/supernova-item",l,c]],isActive:function(e,t){return e.variation===t.variation},scope:["inserter"]};t.default=s},function(e,t,o){"use strict";o.r(t);var n=o(6),r=o.n(n),i=o(7),a=o.n(i),l=new r.a({id:"block-library-supernova/variations/card/vertical/icon",use:"block-library-supernova/variations/card/vertical/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-supernova/variations/card/vertical/icon"><mask id="block-library-supernova/variations/card/vertical/icon_a" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24" style="mask-type:alpha"><rect width="24" height="24" rx="12" fill="#6565F2" /></mask><g mask="url(#block-library-supernova/variations/card/vertical/icon_a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0ZM4 8.491C4 6.011 7.016 4 10.737 4h.882C16.248 4 20 6.502 20 9.587c0 2.806-3.411 5.08-7.619 5.08h-.802C7.393 14.667 4 12.405 4 9.614V8.491Z" fill="#6565F2" /><path d="M7 18.714C7 19.424 7.576 20 8.286 20H15.5a1.5 1.5 0 0 0 0-3H8.714C7.768 17 7 17.767 7 18.714Z" fill="#FFE42E" /></g></symbol>'});a.a.add(l);t.default=l},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(5),r=o(13),i={to:[{type:"block",blocks:["core/query"],isMatch:function(e,t){var o=(0,r.select)("core/block-editor"),n=o.getBlockParents,i=o.getBlockName,a=n(t.clientId);return!a.length||void 0===a.find((function(e){return"core/query"===i(e)}))},transform:function(e,t){var o={query:{perPage:(null==e?void 0:e.postsToShow)||6,pages:1,offset:0,postType:"post",order:"desc",orderBy:"date",author:"",search:"",sticky:"exclude",inherit:!1}},r=[["novablocks/supernova",e,t]];return(0,n.createBlock)("core/query",o,(0,n.createBlocksFromInnerBlocksTemplate)(r))}}]};t.default=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(271),r=[n.postsCollectionClassicGrid,n.postsCollectionSlideshow,n.postsCollectionParametricGrid,n.postsCollectionCarousel];t.default=r},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"postsCollectionCarousel",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"postsCollectionClassicGrid",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"postsCollectionParametricGrid",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"postsCollectionSlideshow",{enumerable:!0,get:function(){return i.default}});var r=n(o(272)),i=n(o(273)),a=n(o(274)),l=n(o(275))},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(11)),i=o(3),a=o(41);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){(0,r.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var s={query:{perPage:3,pages:1,offset:0,postType:"post",order:"desc",orderBy:"date",author:"",search:"",sticky:"exclude",inherit:!1}},u={showCollectionTitle:!0,showCollectionSubtitle:!1,title:(0,i.__)("Fresh posts from the grid","nova-blocks"),subtitle:(0,i.__)("A collection of our latest articles.","nova-blocks"),contentType:"auto",layoutStyle:"classic",emphasisBySpace:1,emphasisTopSpacing:0,emphasisBottomSpacing:0,layoutGutter:10,minHeightFallback:66,postsToShow:3,columns:3,cardLayout:"vertical",contentPosition:"top left",cardMediaOpacity:100},d=c(c({},u),{},{lock:{remove:!0,move:!0}}),p={name:"novablocks/supernova/query-posts-classic-grid",title:(0,i.__)("Query Loop → Posts Collection: Classic Grid","nova-blocks"),description:(0,i.__)("Display a queried set of posts in a classic grid format (columns and rows).","nova-blocks"),keywords:[(0,i.__)("query","nova-blocks"),(0,i.__)("post","nova-blocks"),(0,i.__)("collection","nova-blocks"),(0,i.__)("layout","nova-blocks"),(0,i.__)("grid","nova-blocks"),(0,i.__)("columns","nova-blocks"),(0,i.__)("rows","nova-blocks")],icon:a.classicGrid,attributes:s,innerBlocks:[["novablocks/supernova",u,Array.from(Array(3)).map((function(){return["novablocks/supernova-item",d]}))]],scope:["inserter","block"]};t.default=p},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(11)),i=o(3),a=o(41);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){(0,r.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var s={query:{perPage:3,pages:1,offset:0,postType:"post",order:"desc",orderBy:"date",author:"",search:"",sticky:"exclude",inherit:!1}},u={showCollectionTitle:!1,showCollectionSubtitle:!1,title:(0,i.__)("You should read these","nova-blocks"),subtitle:(0,i.__)("A fancy slideshow with our latest posts never hurt nobody.","nova-blocks"),align:"full",contentType:"auto",layoutStyle:"carousel",contentPadding:100,contentPosition:"center center",minHeightFallback:66,postsToShow:3,columns:1,emphasisBySpace:1,emphasisTopSpacing:0,emphasisBottomSpacing:0,cardTitleLevel:1,cardLayout:"stacked",scrollingEffect:"static",overlayFilterStrength:30,contentColorSignal:3,contentPaletteVariation:12},d=c(c({},u),{},{lock:{remove:!0,move:!0}}),p={name:"novablocks/supernova/query-posts-slideshow",title:(0,i.__)("Query Loop → Posts Collection: Slideshow","nova-blocks"),description:(0,i.__)("Display a queried set of posts in a slideshow layout.","nova-blocks"),keywords:[(0,i.__)("query","nova-blocks"),(0,i.__)("post","nova-blocks"),(0,i.__)("collection","nova-blocks"),(0,i.__)("layout","nova-blocks"),(0,i.__)("carousel","nova-blocks"),(0,i.__)("slideshow","nova-blocks"),(0,i.__)("slider","nova-blocks"),(0,i.__)("horizontal","nova-blocks"),(0,i.__)("section","nova-blocks")],icon:a.slideshowCollection,attributes:s,innerBlocks:[["novablocks/supernova",u,Array.from(Array(3)).map((function(){return["novablocks/supernova-item",d]}))]],scope:["inserter","block"]};t.default=p},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(11)),i=o(3),a=o(41);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){(0,r.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var s={query:{perPage:6,pages:1,offset:0,postType:"post",order:"desc",orderBy:"date",author:"",search:"",sticky:"exclude",inherit:!1}},u={showCollectionTitle:!0,showCollectionSubtitle:!0,title:(0,i.__)("Our latest brainy posts","nova-blocks"),subtitle:(0,i.__)("A super-duper-parametric collection of our latest brain-dumps.","nova-blocks"),emphasisBySpace:1,emphasisTopSpacing:0,emphasisBottomSpacing:0,contentType:"auto",layoutStyle:"parametric",contentPosition:"center left",contentPadding:0,layoutGutter:10,postsToShow:6},d=c(c({},u),{},{lock:{remove:!0,move:!0}}),p={name:"novablocks/supernova/query-posts-parametric",title:(0,i.__)("Query Loop → Posts Collection: Parametric Grid","nova-blocks"),description:(0,i.__)("Display a queried set of posts in a beautiful, consistent manner.","nova-blocks"),keywords:[(0,i.__)("query","nova-blocks"),(0,i.__)("post","nova-blocks"),(0,i.__)("collection","nova-blocks"),(0,i.__)("layout","nova-blocks"),(0,i.__)("grid","nova-blocks"),(0,i.__)("parametric","nova-blocks"),(0,i.__)("composition","nova-blocks"),(0,i.__)("columns","nova-blocks"),(0,i.__)("rows","nova-blocks")],icon:a.postsCollection,attributes:s,innerBlocks:[["novablocks/supernova",u,Array.from(Array(6)).map((function(){return["novablocks/supernova-item",d]}))]],scope:["inserter","block"]};t.default=p},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(11)),i=o(3),a=o(41);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){(0,r.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var s={query:{perPage:5,pages:1,offset:0,postType:"post",order:"desc",orderBy:"date",author:"",search:"",sticky:"exclude",inherit:!1}},u={showCollectionTitle:!1,showCollectionSubtitle:!1,align:"full",contentType:"auto",layoutStyle:"carousel",carouselLayout:"fixed",gridGap:30,spacingModifier:.5,mediaContainerHeight:50,contentPadding:0,layoutGutter:25,emphasisBySpace:1,emphasisTopSpacing:0,emphasisBottomSpacing:0,postsToShow:5,columns:3,cardLayout:"vertical",contentPosition:"center left",contentColorSignal:0,contentPaletteVariation:1},d=c(c({},u),{},{lock:{remove:!0,move:!0}}),p={name:"novablocks/supernova/query-posts-carousel",title:(0,i.__)("Query Loop → Posts Collection: Carousel","nova-blocks"),description:(0,i.__)("Display a queried set of posts in a carousel layout.","nova-blocks"),keywords:[(0,i.__)("query","nova-blocks"),(0,i.__)("post","nova-blocks"),(0,i.__)("collection","nova-blocks"),(0,i.__)("layout","nova-blocks"),(0,i.__)("carousel","nova-blocks"),(0,i.__)("slideshow","nova-blocks"),(0,i.__)("slider","nova-blocks"),(0,i.__)("horizontal","nova-blocks"),(0,i.__)("section","nova-blocks")],icon:a.slideshowCollection,attributes:s,innerBlocks:[["novablocks/supernova",u,Array.from(Array(5)).map((function(){return["novablocks/supernova-item",d]}))]],scope:["inserter","block"]};t.default=p},function(e,t,o){"use strict";o.r(t);var n=o(6),r=o.n(n),i=o(7),a=o.n(i),l=new r.a({id:"block-library-supernova/icon",use:"block-library-supernova/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-supernova/icon"><g clip-path="url(#block-library-supernova/icon_a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 12c0-6.627-5.373-12-12-12S0 5.373 0 12s5.373 12 12 12 12-5.373 12-12Zm-8-3.333C16 7.747 16.746 7 17.667 7A3.333 3.333 0 0 1 21 10.333v3.334A3.333 3.333 0 0 1 17.667 17c-.92 0-1.667-.746-1.667-1.667V8.667ZM11 6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-2Zm-8 4.333A3.333 3.333 0 0 1 6.333 7C7.253 7 8 7.746 8 8.667v6.666C8 16.253 7.254 17 6.333 17A3.333 3.333 0 0 1 3 13.667v-3.334Z" fill="#6565F2" /></g><defs><clipPath id="block-library-supernova/icon_a"><path fill="#fff" transform="rotate(90 12 12)" d="M0 0h24v24H0z" /></clipPath></defs></symbol>'});a.a.add(l);t.default=l},function(e){e.exports=JSON.parse('{"variation":{"type":"string","default":"supernova"},"align":{"type":"string","default":"wide"},"preview":{"type":"boolean","default":true},"headerPosition":{"type":"number","default":0},"title":{"type":"string","default":"Cards Collection"},"subtitle":{"type":"string","default":"A collection of individual cards displayed in a cohesive layout"},"collectionTitleLevel":{"type":"number","default":2},"contentType":{"type":"string","default":"fields"}}')},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"withSetChildrenAttributes",{enumerable:!0,get:function(){return r.default}});var r=n(o(279))},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(1),i=n(o(26)),a=n(o(11)),l=o(13),c=o(10),s=o(2),u=o(280);function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function p(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){(0,a.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var f=function(e){return function(t){if("novablocks/supernova"!==t.name)return(0,r.createElement)(e,t);var o=t.clientId,n=(0,l.useDispatch)("core/block-editor").updateBlockAttributes,a=(0,l.useSelect)((function(e){return e("core/block-editor")})).getBlock,d=(0,s.useInnerBlocks)(o),f=(0,r.useCallback)((function(e){var t=e.cardLayout;return void 0!==t&&"stacked"!==t&&(e.minHeightFallback=0),void 0===t||["horizontal","horizontal-reverse"].includes(t)||(e.emphasisArea=100),e}),[]),_=(0,r.useCallback)((function(e){var t=(0,u.getChildAttributes)(e);Array.isArray(d)&&d.filter((function(e){return"novablocks/supernova-item"===e.name})).forEach((function(o){if(n(o.clientId,t),e.contentPosition){var r=a(o.clientId).innerBlocks,i=(0,c.getAlignFromMatrix)(null==e?void 0:e.contentPosition);Array.isArray(r)&&(r.filter((function(e){return"novablocks/headline"===e.name})).forEach((function(e){n(e.clientId,{textAlign:i[1]})})),r.filter((function(e){return"core/heading"===e.name})).forEach((function(e){n(e.clientId,{textAlign:i[1]})})),r.filter((function(e){return"core/paragraph"===e.name})).forEach((function(e){n(e.clientId,{align:i[1]})})),r.filter((function(e){return"core/buttons"===e.name})).forEach((function(e){n(e.clientId,{layout:p(p({},e.attributes.layout),{},{type:"flex",justifyContent:i[1]})})})))}}))}),[d]);return(0,r.createElement)(e,(0,i.default)({},t,{setAttributes:function(e){var o=f(e);t.setAttributes(o),_(o)}}))}};t.default=f},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getChildAttributes",{enumerable:!0,get:function(){return r.default}});var r=n(o(281))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){var t=["useSourceColorAsReference","colorSignal","paletteVariation","contentColorSignal","contentPaletteVariation","defaultsGenerated","images","title","subtitle"],o=Object.keys(e).filter((function(e){return!t.includes(e)})),n={};return o.forEach((function(t){n[t]=e[t]})),n};t.default=n},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.registerQueryStore=t.STORE_NAME=void 0;var r=n(o(11)),i=o(283),a=o(13);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){(0,r.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var s="novablocks/displayed-posts";t.STORE_NAME=s;var u={queryBlocks:[],postsByBlock:{},specificPostsByBlock:{}},d={updateBlocks:function(e){return{type:"UPDATE_BLOCKS",blocks:e}},markPostsAsDisplayed:function(e,t){return{type:"MARK_POSTS_DISPLAYED",clientId:e,posts:t}},markSpecificPostsAsDisplayed:function(e,t){return{type:"MARK_SPECIFIC_POSTS_DISPLAYED",clientId:e,posts:t}}},p={previousPostIds:function(e,t){var o,n,r,a=e.queryBlocks,l=e.specificPostsByBlock,c=e.postsByBlock,s=a.filter((function(e){var t=e.clientId;return l[t]})).flatMap((function(e){var t=e.clientId;return l[t].map((function(e){return e.id}))})),u=(o=a,n=t,r=o.findIndex((function(e){return e.clientId===n})),o.slice(0,r)).filter((function(e){var t=e.clientId;return c[t]})).flatMap((function(e){var t=e.clientId;return c[t].map((function(e){return e.id}))}));return(0,i.uniq)(s.concat(u)).sort()}};t.registerQueryStore=function(e){var t=function t(o){return o.flatMap((function(o){var n=[];return o.name===e&&n.push(o),n.concat(t(o.innerBlocks))}))};(0,a.registerStore)(s,{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,o=arguments.length>1?arguments[1]:void 0;switch(o.type){case"UPDATE_BLOCKS":return c(c({},e),{},{queryBlocks:t(o.blocks)});case"MARK_POSTS_DISPLAYED":return c(c({},e),{},{postsByBlock:c(c({},e.postsByBlock),{},(0,r.default)({},o.clientId,o.posts))});case"MARK_SPECIFIC_POSTS_DISPLAYED":return c(c({},e),{},{specificPostsByBlock:c(c({},e.specificPostsByBlock),{},(0,r.default)({},o.clientId,o.posts))})}return e},actions:d,selectors:p,initialState:u});var o,n=(0,a.select)("core/block-editor"),i=n.getClientIdsWithDescendants,l=n.getBlocks,f=(0,a.dispatch)(s).updateBlocks;(0,a.subscribe)((function(){var e=i(),t=e!==o;o=e,t&&f(l())}))}},function(e,t){e.exports=window.lodash}]);6 */!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var a=r.apply(null,n);a&&e.push(a)}else if("object"===i)for(var l in n)o.call(n,l)&&n[l]&&e.push(l)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},function(e,t){e.exports=window.wp.data},,function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var n=o(15);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},,,function(e,t,o){var n=o(20),r=o(21),i=o(16),a=o(22);e.exports=function(e,t){return n(e)||r(e,t)||i(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var o=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=o){var n,r,i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},,function(e,t){e.exports=window.wp.hooks},function(e,t){function o(){return e.exports=o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,o.apply(this,arguments)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},,,,,,,,,,,,,function(e,t){e.exports=window.novablocks.mediaComposition},,function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.slideshowCollection=t.postsCollection=t.classicGrid=void 0;var n=o(1),r=o(9),i=(0,n.createElement)(r.SVG,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)("g",{"clip-path":"url(#clip0)"},(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 12C24 5.37258 18.6274 -2.34843e-07 12 -5.24537e-07C5.3726 -8.14229e-07 -2.34843e-07 5.37258 -5.24537e-07 12C-8.14229e-07 18.6274 5.3726 24 12 24C18.6274 24 24 18.6274 24 12ZM16 8.66667C16 7.74619 16.7462 7 17.6667 7C19.5076 7 21 8.49238 21 10.3333L21 13.6667C21 15.5076 19.5076 17 17.6667 17C16.7462 17 16 16.2538 16 15.3333L16 8.66667ZM11 6C9.89543 6 9 6.89543 9 8L9 16C9 17.1046 9.89543 18 11 18L13 18C14.1046 18 15 17.1046 15 16L15 8C15 6.89543 14.1046 6 13 6L11 6ZM3 10.3333C3 8.49238 4.49238 7 6.33333 7C7.25381 7 8 7.74619 8 8.66667L8 15.3333C8 16.2538 7.25381 17 6.33333 17C4.49238 17 3 15.5076 3 13.6667L3 10.3333Z",fill:"#6565F2"})),(0,n.createElement)("defs",null,(0,n.createElement)("clipPath",{id:"clip0"},(0,n.createElement)("rect",{width:"24",height:"24",fill:"white",transform:"translate(24) rotate(90)"}))));t.classicGrid=i;var a=(0,n.createElement)(r.SVG,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"novablocks-icon"},(0,n.createElement)(r.Circle,{cx:"12",cy:"12",r:"10",fill:"white"}),(0,n.createElement)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0ZM7 7C4.79086 7 3 8.79086 3 11C3 12.1046 3.89543 13 5 13H8C9.10457 13 10 12.1046 10 11V9C10 7.89543 9.10457 7 8 7H7ZM16 4C18.2091 4 20 5.79086 20 8V16C20 17.5142 19.1587 18.8319 17.9179 19.5111C16.949 20.0414 16 19.1046 16 18V15C16 13.8954 15.1046 13 14 13C12.8954 13 12 12.1046 12 11V6C12 4.89543 12.8954 4 14 4H16ZM8 15C6.89543 15 6 15.8954 6 17C6 19.2091 7.79086 21 10 21H12C13.1046 21 14 20.1046 14 19V17C14 15.8954 13.1046 15 12 15H8Z",fill:"#6565F2"}));t.postsCollection=a;var l=(0,n.createElement)(r.SVG,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"novablocks-icon"},(0,n.createElement)(r.Path,{d:"M24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24C18.6274 24 24 18.6274 24 12Z",fill:"#6565F2"}),(0,n.createElement)(r.Path,{d:"M0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12Z",fill:"#6565F2"}),(0,n.createElement)(r.Path,{d:"M17.3983 8.99272C17.8832 9.39271 17.8832 10.1357 17.3983 10.5356L14.9674 12.5406C14.3151 13.0786 13.3311 12.6146 13.3311 11.7691V7.75922C13.3311 6.91375 14.3151 6.44981 14.9674 6.98777L17.3983 8.99272Z",fill:"white"}),(0,n.createElement)(r.Path,{d:"M6.60199 8.99272C6.11704 9.39271 6.11704 10.1357 6.60199 10.5356L9.03287 12.5406C9.68511 13.0786 10.6692 12.6146 10.6692 11.7691V7.75922C10.6692 6.91375 9.68511 6.44981 9.03287 6.98777L6.60199 8.99272Z",fill:"white"}),(0,n.createElement)(r.Path,{d:"M7 18.2752C7 18.8034 7.42818 19.2315 7.95637 19.2315H8.2172C8.7774 19.2315 9.23154 18.7774 9.23154 18.2172V17.8583C9.23154 17.3843 8.84727 17 8.37325 17H8.27517C7.57091 17 7 17.5709 7 18.2752V18.2752Z",fill:"#FFE42E"}),(0,n.createElement)(r.Path,{d:"M10.7188 18.2752C10.7188 18.8034 11.1469 19.2315 11.6751 19.2315H11.936C12.4962 19.2315 12.9503 18.7774 12.9503 18.2172V17.8583C12.9503 17.3843 12.566 17 12.092 17H11.9939C11.2896 17 10.7188 17.5709 10.7188 18.2752V18.2752Z",fill:"#FFE42E"}),(0,n.createElement)(r.Path,{d:"M14.4385 18.2752C14.4385 18.8034 14.8667 19.2315 15.3948 19.2315H15.6557C16.2159 19.2315 16.67 18.7774 16.67 18.2172V17.8583C16.67 17.3843 16.2857 17 15.8117 17H15.7136C15.0094 17 14.4385 17.5709 14.4385 18.2752V18.2752Z",fill:"#FFE42E"}));t.slideshowCollection=l},,,,,,,,,,,,,,,,,,function(e,t){e.exports=window.novablocks.scrollingEffect},function(e,t){e.exports=window.novablocks.shapeModeling},function(e,t,o){var n=o(243);e.exports=function(e,t){if(null==e)return{};var o,r,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.novablocks.collection},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CardsCollectionLayout",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"PostCard",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"PostsCollectionLayout",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"SupernovaItemPreview",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"withControlsVisibility",{enumerable:!0,get:function(){return i.default}});var r=n(o(248)),i=n(o(249)),a=n(o(250)),l=n(o(251)),c=n(o(252))},,,,,,function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.carouselCollection=t.cardsCollection=void 0;var n=o(1),r=o(9),i=(0,n.createElement)(r.SVG,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"novablocks-icon"},(0,n.createElement)(r.Circle,{cx:"12",cy:"12",r:"10",fill:"white"}),(0,n.createElement)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0ZM7 7C4.79086 7 3 8.79086 3 11C3 12.1046 3.89543 13 5 13H8C9.10457 13 10 12.1046 10 11V9C10 7.89543 9.10457 7 8 7H7ZM16 4C18.2091 4 20 5.79086 20 8V16C20 17.5142 19.1587 18.8319 17.9179 19.5111C16.949 20.0414 16 19.1046 16 18V15C16 13.8954 15.1046 13 14 13C12.8954 13 12 12.1046 12 11V6C12 4.89543 12.8954 4 14 4H16ZM8 15C6.89543 15 6 15.8954 6 17C6 19.2091 7.79086 21 10 21H12C13.1046 21 14 20.1046 14 19V17C14 15.8954 13.1046 15 12 15H8Z",fill:"#6565F2"}));t.cardsCollection=i;var a=(0,n.createElement)(r.SVG,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"novablocks-icon"},(0,n.createElement)(r.Path,{d:"M24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24C18.6274 24 24 18.6274 24 12Z",fill:"#6565F2"}),(0,n.createElement)(r.Path,{d:"M0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12Z",fill:"#6565F2"}),(0,n.createElement)(r.Path,{d:"M17.3983 8.99272C17.8832 9.39271 17.8832 10.1357 17.3983 10.5356L14.9674 12.5406C14.3151 13.0786 13.3311 12.6146 13.3311 11.7691V7.75922C13.3311 6.91375 14.3151 6.44981 14.9674 6.98777L17.3983 8.99272Z",fill:"white"}),(0,n.createElement)(r.Path,{d:"M6.60199 8.99272C6.11704 9.39271 6.11704 10.1357 6.60199 10.5356L9.03287 12.5406C9.68511 13.0786 10.6692 12.6146 10.6692 11.7691V7.75922C10.6692 6.91375 9.68511 6.44981 9.03287 6.98777L6.60199 8.99272Z",fill:"white"}),(0,n.createElement)(r.Path,{d:"M7 18.2752C7 18.8034 7.42818 19.2315 7.95637 19.2315H8.2172C8.7774 19.2315 9.23154 18.7774 9.23154 18.2172V17.8583C9.23154 17.3843 8.84727 17 8.37325 17H8.27517C7.57091 17 7 17.5709 7 18.2752V18.2752Z",fill:"#FFE42E"}),(0,n.createElement)(r.Path,{d:"M10.7188 18.2752C10.7188 18.8034 11.1469 19.2315 11.6751 19.2315H11.936C12.4962 19.2315 12.9503 18.7774 12.9503 18.2172V17.8583C12.9503 17.3843 12.566 17 12.092 17H11.9939C11.2896 17 10.7188 17.5709 10.7188 18.2752V18.2752Z",fill:"#FFE42E"}),(0,n.createElement)(r.Path,{d:"M14.4385 18.2752C14.4385 18.8034 14.8667 19.2315 15.3948 19.2315H15.6557C16.2159 19.2315 16.67 18.7774 16.67 18.2172V17.8583C16.67 17.3843 16.2857 17 15.8117 17H15.7136C15.0094 17 14.4385 17.5709 14.4385 18.2752V18.2752Z",fill:"#FFE42E"}));t.carouselCollection=a},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,o){"use strict";var n=o(0),r=o(1),i=n(o(11)),a=o(5),l=o(4),c=o(24),s=o(2),u=o(58),d=n(o(242)),p=n(o(253)),f=n(o(268)),_=n(o(269)),v=n(o(275)),y=n(o(276)),g=o(277);function h(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?h(Object(o),!0).forEach((function(t){(0,i.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}(0,o(281).registerQueryStore)("novablocks/supernova");(0,c.addFilter)("blocks.registerBlockType","novablocks/supernova/core-query-alterations",(function(e){return"core/query"!==e.name||(e.attributes.variation={type:"string"},e.supports.align=!1,e.supports.html=!1,e.supports.__experimentalLayout=!1,e.variations=[],_.default.forEach((function(t){e.variations.push(t)}))),e}),Number.MAX_SAFE_INTEGER);(0,c.addFilter)("blocks.registerBlockType","novablocks/supernova/with-variations",(function(e){return"novablocks/supernova"!==e.name?e:m(m({},e),{},{variations:p.default})}),Number.MAX_SAFE_INTEGER),(0,a.registerBlockType)("novablocks/supernova",{icon:(0,s.getSvg)(v.default),attributes:y.default,edit:d.default,transforms:f.default,save:function(){return(0,r.createElement)(l.InnerBlocks.Content,null)}});(0,c.addFilter)("editor.BlockEdit","novablocks/supernova/with-set-children-attributes",g.withSetChildrenAttributes,Number.MAX_SAFE_INTEGER),(0,c.addFilter)("editor.BlockEdit","novablocks/supernova/with-focal-point-image",(function(e){return function(t){var o=t.clientId,n=(0,s.useInnerBlocks)(o),i=(0,r.useMemo)((function(){if(n.length){var e=n[0].attributes.images;if(null!=e&&e.length)return Object.assign({},t,{focalPointImage:(0,u.getFocalPointImage)(e[0])})}return t}),[t]);return(0,r.createElement)(e,i)}}),Number.MAX_SAFE_INTEGER)},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(1),i=n(o(60)),a=n(o(19)),l=n(o(25)),c=n(o(11)),s=n(o(12)),u=o(4),d=o(13),p=o(244),f=o(2),_=o(61),v=o(38),y=n(o(245)),g=n(o(247)),h=o(10),m=o(62),b=["title","subtitle","contentColorSignal","contentPaletteVariation","contentType"];function w(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function C(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?w(Object(o),!0).forEach((function(t){(0,c.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):w(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var x=function(e){var t=e.clientId,o=(0,f.useInnerBlocks)(t),n=(0,d.useDispatch)("core/block-editor").updateBlockAttributes,i=(0,r.useCallback)((function(e){(0,f.normalizeImages)(e).then((function(e){n(o[0].clientId,{images:e})}))}));if(1!==o.length)return null;var a=C(C({},e),{},{attributes:C(C({},e.attributes),{},{images:o[0].attributes.images}),onSelectImages:i});return(0,r.createElement)(v.BlockControls,a)},k=function(e){var t=e.attributes,o=e.clientId,n=e.inQuery,i=t.align,a=t.columns,d=t.headerPosition,p=t.showCollectionTitle,f=t.showCollectionSubtitle,v=t.showPagination,y=t.cardLayout,g=t.carouselLayout,b=t.layoutStyle,w=n?"auto":(null==t?void 0:t.contentType)||"fields",C=(0,h.getAlignFromMatrix)(null==t?void 0:t.contentPosition),x=(0,s.default)("nb-supernova","nb-supernova--content-type-".concat(w),"nb-supernova--card-layout-".concat(y),"nb-supernova--layout-".concat(b),"nb-supernova--".concat(a,"-columns"),"nb-supernova--valign-".concat(C[0]),"nb-supernova--halign-".concat(C[1]),"nb-supernova--align-".concat(i),{"nb-supernova--show-pagination":v},(0,c.default)({},"nb-supernova--carousel-layout-".concat(g),"carousel"===b),e.className,"alignfull"),k=(0,u.useBlockProps)({className:x,style:e.style});return(0,r.createElement)("div",k,(0,r.createElement)(_.Collection,(0,l.default)({},e,{key:"collection_"+o}),0===d&&(p||f)&&(0,r.createElement)(_.CollectionHeader,(0,l.default)({},e,{key:"collection_header_"+o})),n?(0,r.createElement)(m.PostsCollectionLayout,(0,l.default)({},e,{key:"posts_collection_layout_"+o})):(0,r.createElement)(m.CardsCollectionLayout,(0,l.default)({},e,{key:"cards_collection_layout_"+o}))))},O=((0,r.memo)(k),(0,m.withControlsVisibility)((function(e){var t=e.attributes,o=e.setAttributes,n=e.context,c=e.clientId,s=t.postsToShow,u=n.queryId,_=Number.isFinite(u),v=(0,f.useMeta)("supernova_prevent_duplicate"),h=(0,a.default)(v,2),m=h[0],w=(h[1],(0,d.useSelect)((function(e){return e("novablocks/displayed-posts").previousPostIds(c)}),[t]));_&&"auto"!==t.contentType?o({contentType:"auto"}):_||["fields","custom"].includes(t.contentType)||o({contentType:"fields"});var O=(0,r.useMemo)((function(){t.title,t.subtitle;var e=t.contentColorSignal,o=t.contentPaletteVariation,n=(t.contentType,(0,i.default)(t,b));return Object.assign({},n,{colorSignal:e,paletteVariation:o,useSourceColorAsReference:!1})}),[t]);(0,f.useInnerBlocksCount)(c,s,"novablocks/supernova-item",O),_?(0,f.useInnerBlocksLock)(c,{remove:!0,move:!0},t,"novablocks/supernova-item"):(0,f.useInnerBlocksLock)(c,{remove:!1,move:!1},t,"novablocks/supernova-item");var P,S=n.query,j=(S=void 0===S?{}:S).perPage,E=S.offset,M=S.postType,A=S.order,B=S.orderBy,T=S.author,D=S.search,I=S.exclude,V=S.sticky,L=S.inherit,F=S.taxQuery,G=n.queryContext,Z=void 0===G?[{page:1}]:G,N=n.templateSlug,q=(0,a.default)(Z,1)[0].page;P=(0,d.useSelect)((function(e){if(!_)return{posts:!1};var t=e(p.store),o=t.getEntityRecords,n=t.getTaxonomies,r={postType:M||"post",offset:j?j*(q-1)+E:0,order:A,orderby:B};if(F){var i=n({type:M,per_page:-1,context:"view"}),l=Object.entries(F).reduce((function(e,t){var o=(0,a.default)(t,2),n=o[0],r=o[1],l=null==i?void 0:i.find((function(e){return e.slug===n}));return null!=l&&l.rest_base&&(e[null==l?void 0:l.rest_base]=r),e}),{});Object.keys(l).length&&Object.assign(r,l)}return j&&(r.per_page=j),T&&(r.author=T),D&&(r.search=D),null!=I&&I.length&&(r.exclude=I),V&&(r.sticky="only"===V),L&&null!=N&&N.startsWith("archive-")&&(r.postType=N.replace("archive-","")),m&&(r.exclude=w.join(",")),{posts:o("postType",r.postType,r)}}),[_,j,q,E,A,B,c,T,D,M,I,V,L,N,F,m,w]).posts;var H=!1,R=(0,d.select)("core/block-editor"),U=R.getBlockParentsByBlockName,z=R.getClientIdsOfDescendants,Q=R.getBlockName,W=U(c,"core/query");if(_){var Y=z([W]).filter((function(e){return"novablocks/supernova"===Q(e)}));1===Y.length&&Y[0]===c&&(H=!0)}var K=(0,d.useDispatch)("core/block-editor").updateBlockAttributes;(0,r.useEffect)((function(){H&&W&&parseInt(t.postsToShow)!==parseInt(j)&&K(W,{query:C(C({},n.query),{},{perPage:parseInt(t.postsToShow)})})}),[t]),(0,r.useEffect)((function(){H&&W&&parseInt(t.postsToShow)!==parseInt(n.query.perPage)&&o({postsToShow:parseInt(n.query.perPage)})}),[n]);var $=(0,d.useDispatch)("novablocks/displayed-posts"),X=$.markPostsAsDisplayed;$.markSpecificPostsAsDisplayed;return(0,r.useCallback)((function(e,t){X(e,t)}),[t])(c,P),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(k,(0,l.default)({},e,{posts:P,inQuery:_,key:"preview"})),(0,r.createElement)(y.default,(0,l.default)({},e,{inQuery:_,key:"block-controls"})),(0,r.createElement)(g.default,(0,l.default)({},e,{inQuery:_,key:"inspector-controls"})),(0,r.createElement)(x,(0,l.default)({},e,{key:"media-composition-block-controls"})))})));t.default=O},function(e,t){e.exports=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.coreData},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(1),i=(o(3),o(4)),a=(o(9),o(2),o(10),n(o(246))),l=function(e){var t=e.attributes,o=e.setAttributes,n=(e.inQuery,t.align);return(0,r.createElement)(i.BlockControls,{group:"block"},(0,r.createElement)(i.BlockAlignmentControl,{value:n,onChange:function(e){o({align:null!=e?e:"none"})}}),(0,r.createElement)(a.default,e))};t.default=l},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(1),r=o(3),i=o(4),a=o(9),l={left:{value:"horizontal",icon:"align-pull-left",label:(0,r.__)("Show Media on Left Side","nova-blocks")},right:{value:"horizontal-reverse",icon:"align-pull-right",label:(0,r.__)("Show Media on Right Side","nova-blocks")}},c=function(e){var t=e.attributes,o=e.setAttributes,r=t.cardLayout;return["horizontal","horizontal-reverse"].includes(r)?(0,n.createElement)(i.BlockControls,null,(0,n.createElement)(a.ToolbarGroup,null,Object.keys(l).map((function(e){var t=l[e];return(0,n.createElement)(a.ToolbarButton,{icon:t.icon,label:t.label,key:e,isActive:t.value===r,onClick:function(){o({cardLayout:t.value})}})})))):null};t.default=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(1),r=o(3),i=o(9),a=o(2),l=function(e){var t=e.attributes,o=e.setAttributes;if(e.inQuery)return null;var l=t.contentType,c=t.postsToShow,s=t.columns;return 1===c&&1===s?null:(0,n.createElement)(a.ControlsSection,{id:"content-type",label:(0,r.__)("Content Type","nova-blocks"),group:(0,r.__)("Card Anatomy","nova-blocks"),order:100},(0,n.createElement)(a.ControlsTab,{label:(0,r.__)("Settings","nova-blocks")},(0,n.createElement)(i.SelectControl,{key:"collection-content-type",label:(0,r.__)("Content Type","nova-blocks"),value:l,options:[{label:(0,r.__)("Pre-defined fields","nova-blocks"),value:"fields"},{label:(0,r.__)("Custom Blocks","nova-blocks"),value:"custom"}],onChange:function(e){o({contentType:e})}})))};t.default=l},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(1),i=n(o(25)),a=n(o(60)),l=o(2),c=o(38),s=o(10),u=["style"],d=function(e){var t=e.attributes,o=t.images;if(!t.showMedia)return null;if(Array.isArray(o)&&1===o.length){var n=(0,s.normalizeMedia)(o[0]);return(0,r.createElement)("img",{className:"nb-supernova-item__media",src:n.url,width:n.width,height:n.height,alt:n.alt})}return(0,r.createElement)(c.MediaCompositionPreview,e)},p=function(e){var t=e.attributes,o=t.showMedia,n=t.contentType,c=(0,s.getColorSignalClassnames)(t,!0),p=(e.style,(0,a.default)(e,u));return(0,r.createElement)(l.Card,(0,i.default)({},p,{className:c}),o&&(0,r.createElement)(l.CardMediaWrapper,e,(0,r.createElement)(d,e)),(0,r.createElement)("div",{className:"nb-supernova-item__inner-container"},"fields"===n&&(0,r.createElement)(l.CardFieldsPreview,(0,i.default)({},e,{key:"card_fields"})),"custom"===n&&(0,r.createElement)(l.InnerBlocksPreview,(0,i.default)({},e,{key:"inner_blocks"}))))};t.default=p},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(1),r=o(2),i=function(e){return function(t){var o=t.attributes,i=t.setControlsVisibility,a=t.clientId,l=(0,r.useInnerBlocks)(a);return(0,n.useEffect)((function(){var e=o.cardLayout,t=o.carouselLayout,n=o.layoutStyle,r=o.contentType,a=o.showCollectionTitle,c=o.showTitle,s=o.showMedia,u=o.showMeta,d=l.some((function(e){var t;return 1<(null===(t=e.attributes.images)||void 0===t?void 0:t.length)}));i({"minimum-container-height":"stacked"===e,"media-container-height":"variable"===t,"media-aspect-ratio":"stacked"!==e&&"variable"!==t&&s,"visual-balance":"parametric"!==n&&["horizontal","horizontal-reverse"].includes(e),"content-padding":!0,"media-padding":s,"content-to-media-spacing":"stacked"!==e&&s,"media-composition-section":d&&!!s&&"auto"!==r,"emphasis-area":["horizontal","horizontal-reverse"].includes(e),"card-details":!!a||!!c||!!u,"card-details-content":!!a||!!c,"collection-title-level":!!a,"card-title-level":!!c,"metadata-source":!!u,"metadata-position":!!u,"media-composition-block-controls":1===l.length&&s})}),[o,l]),(0,n.createElement)(e,t)}};t.default=i},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(1),i=n(o(25)),a=n(o(60)),l=o(4),c=o(2),s=o(61),u=o(10),d=o(62),p=["ref"],f=function(e){var t=(0,l.useInnerBlocksProps)({},{allowedBlocks:["novablocks/supernova-item"],renderAppender:!1,templateInsertUpdatesSelection:!1}),o=(t.ref,(0,a.default)(t,p));return(0,r.createElement)(s.CollectionBody,(0,i.default)({},e,o,{key:"body"}))},_=function(e){var t=e.clientId,o=(0,c.useInnerBlocks)(t);return(0,r.createElement)(s.CollectionBody,(0,i.default)({},e,{key:"body"}),o.map((function(e){return(0,r.createElement)(d.SupernovaItemPreview,(0,i.default)({},e,{key:"collection_item_preview_"+e.clientId}))})))},v=function(e){var t=e.attributes;return(0,u.needsPreview)(t)&&t.preview?(0,r.createElement)(_,e):(0,r.createElement)(f,e)};t.default=v},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(1),i=n(o(25)),a=o(9),l=o(3),c=o(2),s=o(61),u=o(62),d=function(e){var t=e.posts,o=e.clientId,n=(0,c.useInnerBlocks)(o),d=Object.assign({},e.attributes,{colorSignal:e.attributes.contentColorSignal,paletteVariation:e.attributes.contentPaletteVariation,useSourceColorAsReference:!1}),p=Object.assign({},e,{attributes:d});return delete p.posts,(0,r.createElement)(s.CollectionBody,(0,i.default)({},e,{key:"body_"+o}),t?t.length?t.map((function(e,t){return n[t]?(0,r.createElement)("div",{className:"nb-collection__layout-item",key:"collection_layout_item_"+e.id},(0,r.createElement)(u.PostCard,(0,i.default)({},p,{post:e,key:"collection_post_card_post_"+e.id}))):null})):(0,r.createElement)("p",null," ",(0,l.__)("No posts to display.","nova-blocks")):(0,r.createElement)(a.Spinner,null))};t.default=d},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(1),i=n(o(25)),a=o(2),l=(0,o(59).withShapeModelingDecoration)(a.PostCardMedia),c=function(e){var t=e.post;return(0,r.createElement)(a.PostCard,(0,i.default)({},e,{Media:l,key:"default_post_card_post_"+t.id}))};t.default=c},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(254)),i=o(256),a=o(261),l=[r.default,i.cardsCollectionCarousel,i.cardsCollectionClassicGrid,i.cardsCollectionParametricGrid,a.cardHero,a.cardMedia,a.cardVertical];t.default=l},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(11)),i=o(3),a=o(255);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){(0,r.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var s={contentType:"fields",layoutStyle:"classic",contentPadding:0,layoutGutter:0,postsToShow:1,columns:1,cardLayout:"vertical",contentPosition:"center left",cardMediaOpacity:100,showCollectionTitle:!1,showCollectionSubtitle:!1,showMedia:!0,showMeta:!1,showTitle:!1,showSubtitle:!1,showDescription:!1,showButtons:!1,defaultsGenerated:!1},u={name:"novablocks/supernova/advanced-gallery",title:(0,i.__)("Advanced Gallery","nova-blocks"),description:(0,i.__)("Display a gallery of images in a unique and creative composition.","nova-blocks"),keywords:[(0,i.__)("media","nova-blocks"),(0,i.__)("collection","nova-blocks"),(0,i.__)("layout","nova-blocks"),(0,i.__)("composition","nova-blocks")],icon:a.advancedGallery,attributes:s,innerBlocks:[["novablocks/supernova-item",c(c({},s),{},{multiplePlaceholderImages:!0})]],scope:["inserter"]};t.default=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.advancedGallery=void 0;var n=o(1),r=o(9),i=(0,n.createElement)(r.SVG,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"novablocks-icon"},(0,n.createElement)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24ZM17 17C19.2091 17 21 15.2091 21 13C21 11.8954 20.1046 11 19 11H16C14.8954 11 14 11.8954 14 13V15C14 16.1046 14.8954 17 16 17H17ZM8 20C5.79086 20 4 18.2091 4 16V8C4 6.48581 4.84135 5.16813 6.08206 4.48894C7.05095 3.95855 8 4.89543 8 6V9C8 10.1046 8.89543 11 10 11C11.1046 11 12 11.8954 12 13V18C12 19.1046 11.1046 20 10 20H8ZM16 9C17.1046 9 18 8.10457 18 7C18 4.79086 16.2091 3 14 3H12C10.8954 3 10 3.89543 10 5V7C10 8.10457 10.8954 9 12 9H16Z",fill:"#6565F2"}));t.advancedGallery=i},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"cardsCollectionCarousel",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"cardsCollectionClassicGrid",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"cardsCollectionParametricGrid",{enumerable:!0,get:function(){return a.default}});var r=n(o(257)),i=n(o(258)),a=n(o(260))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(3),r=o(68),i={showCollectionTitle:!1,showCollectionSubtitle:!1,align:"full",contentType:"fields",layoutStyle:"carousel",carouselLayout:"fixed",gridGap:30,spacingModifier:.5,mediaContainerHeight:50,contentPadding:0,layoutGutter:25,emphasisBySpace:1,emphasisTopSpacing:0,emphasisBottomSpacing:0,postsToShow:5,columns:3,cardLayout:"vertical",contentPosition:"center left",contentColorSignal:0,contentPaletteVariation:1,defaultsGenerated:!1},a=Object.assign({},i,{colorSignal:i.contentColorSignal,paletteVariation:i.contentPaletteVariation,useSourceColorAsReference:!1}),l={name:"novablocks/supernova/cards-collection/carousel",title:(0,n.__)("Cards Collection: Carousel","nova-blocks"),description:(0,n.__)("Display a list of related items in a carousel/slideshow layout.","nova-blocks"),keywords:[(0,n.__)("card","nova-blocks"),(0,n.__)("collection","nova-blocks"),(0,n.__)("layout","nova-blocks"),(0,n.__)("carousel","nova-blocks"),(0,n.__)("slideshow","nova-blocks"),(0,n.__)("slider","nova-blocks"),(0,n.__)("horizontal","nova-blocks"),(0,n.__)("section","nova-blocks")],icon:r.carouselCollection,attributes:i,innerBlocks:Array.from(Array(5)).map((function(){return["novablocks/supernova-item",a]})),scope:["inserter"]};t.default=l},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(3),i=o(2),a=n(o(259)),l={contentType:"fields",layoutStyle:"classic",emphasisTopSpacing:0,emphasisBottomSpacing:0,layoutGutter:25,postsToShow:3,columns:3,cardLayout:"vertical",contentPosition:"top left",cardMediaOpacity:100,showCollectionTitle:!0,showCollectionSubtitle:!0,showMedia:!0,showMeta:!1,showTitle:!0,showSubtitle:!1,showDescription:!0,showButtons:!0,defaultsGenerated:!1},c=Object.assign({},l,{colorSignal:l.contentColorSignal,paletteVariation:l.contentPaletteVariation,useSourceColorAsReference:!1}),s={name:"novablocks/supernova/cards-collection/classic-grid",title:(0,r.__)("Cards Collection: Classic Grid","nova-blocks"),description:(0,r.__)("Display a list of related items in a classic grid layout.","nova-blocks"),keywords:[(0,r.__)("card","nova-blocks"),(0,r.__)("collection","nova-blocks"),(0,r.__)("layout","nova-blocks"),(0,r.__)("grid","nova-blocks"),(0,r.__)("columns","nova-blocks"),(0,r.__)("rows","nova-blocks")],icon:(0,i.getSvg)(a.default),attributes:l,innerBlocks:Array.from(Array(3)).map((function(){return["novablocks/supernova-item",c]})),scope:["inserter"]};t.default=s},function(e,t,o){"use strict";o.r(t);var n=o(6),r=o.n(n),i=o(7),a=o.n(i),l=new r.a({id:"block-library-supernova/variations/cards-collection/classic-grid/icon",use:"block-library-supernova/variations/cards-collection/classic-grid/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-supernova/variations/cards-collection/classic-grid/icon"><g clip-path="url(#block-library-supernova/variations/cards-collection/classic-grid/icon_a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 12c0-6.627-5.373-12-12-12S0 5.373 0 12s5.373 12 12 12 12-5.373 12-12Zm-8-3.333C16 7.747 16.746 7 17.667 7A3.333 3.333 0 0 1 21 10.333v3.334A3.333 3.333 0 0 1 17.667 17c-.92 0-1.667-.746-1.667-1.667V8.667ZM11 6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-2Zm-8 4.333A3.333 3.333 0 0 1 6.333 7C7.253 7 8 7.746 8 8.667v6.666C8 16.253 7.254 17 6.333 17A3.333 3.333 0 0 1 3 13.667v-3.334Z" fill="#6565F2" /></g><defs><clipPath id="block-library-supernova/variations/cards-collection/classic-grid/icon_a"><path fill="#fff" transform="rotate(90 12 12)" d="M0 0h24v24H0z" /></clipPath></defs></symbol>'});a.a.add(l);t.default=l},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(3),r=o(68),i={contentType:"fields",layoutStyle:"parametric",emphasisTopSpacing:1,emphasisBottomSpacing:1,layoutGutter:10,postsToShow:5,columns:5,rows:5,cardLayout:"vertical",contentPosition:"top left",cardMediaOpacity:100,defaultsGenerated:!1},a=Object.assign({},i,{colorSignal:i.contentColorSignal,paletteVariation:i.contentPaletteVariation,useSourceColorAsReference:!1}),l={name:"novablocks/supernova/cards-collection/parametric-grid",title:(0,n.__)("Cards Collection: Parametric Grid","nova-blocks"),description:(0,n.__)("Display a list of related items in a parametric grid layout.","nova-blocks"),keywords:[(0,n.__)("card","nova-blocks"),(0,n.__)("collection","nova-blocks"),(0,n.__)("layout","nova-blocks"),(0,n.__)("grid","nova-blocks"),(0,n.__)("parametric","nova-blocks"),(0,n.__)("composition","nova-blocks"),(0,n.__)("columns","nova-blocks"),(0,n.__)("rows","nova-blocks")],icon:r.cardsCollection,attributes:i,innerBlocks:Array.from(Array(5)).map((function(){return["novablocks/supernova-item",a]})),scope:["inserter"]};t.default=l},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"cardHero",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"cardMedia",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"cardVertical",{enumerable:!0,get:function(){return a.default}});var r=n(o(262)),i=n(o(264)),a=n(o(266))},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(3),i=o(2),a=n(o(263)),l={variation:"novablocks-card-hero",showCollectionTitle:!1,showCollectionSubtitle:!1,contentType:"custom",layoutStyle:"classic",contentPadding:100,cardLayout:"stacked",postsToShow:1,columns:1,contentPosition:"center center",minHeightFallback:66,contentColorSignal:3,contentPaletteVariation:12,overlayFilterStrength:30,align:"full",blockTopSpacing:0,blockBottomSpacing:1,emphasisTopSpacing:0,emphasisBottomSpacing:0,scrollingEffect:"parallax",defaultsGenerated:!1},c=[["novablocks/supernova-item",Object.assign({},l,{colorSignal:3,paletteVariation:12}),[["core/heading",{level:1,content:(0,r.__)("This is a catchy title","nova-blocks")}],["core/paragraph",{content:(0,r.__)("A brilliant subtitle to explain its catchiness","nova-blocks"),className:"is-style-lead"}],["core/buttons",{layout:{type:"flex",justifyContent:"center"}},[["core/button",{text:(0,r.__)("Discover more","nova-blocks")}]]]]]],s={name:"novablocks/supernova/card/hero",title:(0,r.__)("Hero Card","nova-blocks"),description:(0,r.__)("A great way to get your visitors acquainted with your content.","nova-blocks"),keywords:[(0,r.__)("card","nova-blocks"),(0,r.__)("layout","nova-blocks"),(0,r.__)("hero","nova-blocks"),(0,r.__)("full-width","nova-blocks"),(0,r.__)("cover","nova-blocks")],icon:(0,i.getSvg)(a.default),attributes:l,innerBlocks:c,isActive:function(e,t){return e.variation===t.variation},scope:["inserter"]};t.default=s},function(e,t,o){"use strict";o.r(t);var n=o(6),r=o.n(n),i=o(7),a=o.n(i),l=new r.a({id:"block-library-supernova/variations/card/hero/icon",use:"block-library-supernova/variations/card/hero/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-supernova/variations/card/hero/icon"><mask id="block-library-supernova/variations/card/hero/icon_a" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24" style="mask-type:alpha"><rect width="24" height="24" rx="12" fill="#6565F2" /></mask><g mask="url(#block-library-supernova/variations/card/hero/icon_a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0ZM4 8.491C4 6.011 7.016 4 10.737 4h.882C16.248 4 20 6.502 20 9.587c0 2.806-3.411 5.08-7.619 5.08h-.802C7.393 14.667 4 12.405 4 9.614V8.491Z" fill="#6565F2" /><path d="M7 18.714C7 19.424 7.576 20 8.286 20H15.5a1.5 1.5 0 0 0 0-3H8.714C7.768 17 7 17.767 7 18.714Z" fill="#FFE42E" /></g></symbol>'});a.a.add(l);t.default=l},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(3),i=o(2),a=n(o(265)),l={variation:"novablocks-card-media",contentType:"custom",layoutStyle:"classic",contentPadding:0,layoutGutter:100,cardLayout:"horizontal",postsToShow:1,columns:1,showCollectionTitle:!1,showCollectionSubtitle:!1,contentPosition:"center left",cardMediaOpacity:100,align:"wide",blockTopSpacing:0,blockBottomSpacing:1,emphasisTopSpacing:0,emphasisBottomSpacing:0,defaultsGenerated:!1},c=[["core/heading",{level:5,content:(0,r.__)("Shoot for the moon, Even if You Miss.","nova-blocks")}],["core/heading",{level:1,content:(0,r.__)("A catchy title","nova-blocks")}],["core/paragraph",{content:(0,r.__)("A brilliant description to explain its catchiness. We have always defined ourselves by the ability to overcome the impossible. And we count these moments. These moments when we dare to aim higher, to break barriers, to make the unknown known.","nova-blocks")}],["core/button",{text:(0,r.__)("Discover more","nova-blocks")}]],s={name:"novablocks/supernova/media-card",title:(0,r.__)("Media Card","nova-blocks"),description:(0,r.__)("Display media alongside short pieces of content.","nova-blocks"),keywords:[(0,r.__)("card","nova-blocks"),(0,r.__)("layout","nova-blocks"),(0,r.__)("media-text","nova-blocks"),(0,r.__)("feature","nova-blocks"),(0,r.__)("section","nova-blocks")],icon:(0,i.getSvg)(a.default),attributes:l,innerBlocks:[["novablocks/supernova-item",l,c]],isActive:function(e,t){return e.variation===t.variation},scope:["inserter"]};t.default=s},function(e,t,o){"use strict";o.r(t);var n=o(6),r=o.n(n),i=o(7),a=o.n(i),l=new r.a({id:"block-library-supernova/variations/card/media/icon",use:"block-library-supernova/variations/card/media/icon-usage",viewBox:"0 0 36 36",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" id="block-library-supernova/variations/card/media/icon"><mask id="block-library-supernova/variations/card/media/icon_a" maskUnits="userSpaceOnUse" x="-2" y="-2" width="40" height="40" fill="#000"><path fill="#fff" d="M-2-2h40v40H-2z" /><path fill-rule="evenodd" clip-rule="evenodd" d="M18 0C8.059 0 0 8.059 0 18s8.059 18 18 18 18-8.059 18-18S27.941 0 18 0Zm5.474 25A5.474 5.474 0 0 1 18 19.526v-.716A6.81 6.81 0 0 1 24.81 12 6.19 6.19 0 0 1 31 18.19v.652C31 22.243 28.243 25 24.842 25h-1.368Z" /></mask><path fill-rule="evenodd" clip-rule="evenodd" d="M18 0C8.059 0 0 8.059 0 18s8.059 18 18 18 18-8.059 18-18S27.941 0 18 0Zm5.474 25A5.474 5.474 0 0 1 18 19.526v-.716A6.81 6.81 0 0 1 24.81 12 6.19 6.19 0 0 1 31 18.19v.652C31 22.243 28.243 25 24.842 25h-1.368Z" fill="#6565F2" /><path d="M2 18C2 9.163 9.163 2 18 2v-4C6.954-2-2 6.954-2 18h4Zm16 16C9.163 34 2 26.837 2 18h-4c0 11.046 8.954 20 20 20v-4Zm16-16c0 8.837-7.163 16-16 16v4c11.046 0 20-8.954 20-20h-4ZM18 2c8.837 0 16 7.163 16 16h4C38 6.954 29.046-2 18-2v4Zm-2 17.526A7.474 7.474 0 0 0 23.474 27v-4A3.474 3.474 0 0 1 20 19.526h-4Zm0-.716v.716h4v-.716h-4ZM24.81 10A8.81 8.81 0 0 0 16 18.81h4A4.81 4.81 0 0 1 24.81 14v-4ZM33 18.19A8.19 8.19 0 0 0 24.81 10v4A4.19 4.19 0 0 1 29 18.19h4Zm0 .652v-.651h-4v.651h4ZM24.842 27A8.158 8.158 0 0 0 33 18.842h-4A4.158 4.158 0 0 1 24.842 23v4Zm-1.368 0h1.368v-4h-1.368v4Z" fill="#fff" mask="url(#block-library-supernova/variations/card/media/icon_a)" /><path fill-rule="evenodd" clip-rule="evenodd" d="M12 30a6 6 0 0 1-6-6V14a8 8 0 0 1 8-8h2a5 5 0 0 1 4.999 4.9A8.905 8.905 0 0 0 16 18.905v.937a7.16 7.16 0 0 0 4.744 6.74A5.002 5.002 0 0 1 16 30h-4Z" fill="#FFE42E" /></symbol>'});a.a.add(l);t.default=l},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(3),i=o(2),a=n(o(267)),l={variation:"novablocks-card-hero",contentType:"custom",layoutStyle:"classic",contentPadding:0,layoutGutter:100,cardLayout:"vertical",postsToShow:1,columns:1,showCollectionTitle:!1,showCollectionSubtitle:!1,contentPosition:"center left",cardMediaOpacity:100,align:"wide",blockTopSpacing:0,blockBottomSpacing:1,emphasisTopSpacing:0,emphasisBottomSpacing:0,defaultsGenerated:!1},c=[["core/heading",{level:5,content:(0,r.__)("Shoot for the moon, Even if You Miss.","nova-blocks")}],["core/heading",{level:1,content:(0,r.__)("A catchy title","nova-blocks")}],["core/paragraph",{content:(0,r.__)("A brilliant description to explain its catchiness. We have always defined ourselves by the ability to overcome the impossible. And we count these moments. These moments when we dare to aim higher, to break barriers, to make the unknown known.","nova-blocks")}],["core/button",{text:(0,r.__)("Discover more","nova-blocks")}]],s={name:"novablocks/supernova/vertical-card",title:(0,r.__)("Vertical Card","nova-blocks"),description:(0,r.__)("Display media and short pieces of content, one after another.","nova-blocks"),keywords:[(0,r.__)("card","nova-blocks"),(0,r.__)("layout","nova-blocks"),(0,r.__)("vertical","nova-blocks"),(0,r.__)("panel","nova-blocks"),(0,r.__)("column","nova-blocks")],icon:(0,i.getSvg)(a.default),attributes:l,innerBlocks:[["novablocks/supernova-item",l,c]],isActive:function(e,t){return e.variation===t.variation},scope:["inserter"]};t.default=s},function(e,t,o){"use strict";o.r(t);var n=o(6),r=o.n(n),i=o(7),a=o.n(i),l=new r.a({id:"block-library-supernova/variations/card/vertical/icon",use:"block-library-supernova/variations/card/vertical/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-supernova/variations/card/vertical/icon"><mask id="block-library-supernova/variations/card/vertical/icon_a" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24" style="mask-type:alpha"><rect width="24" height="24" rx="12" fill="#6565F2" /></mask><g mask="url(#block-library-supernova/variations/card/vertical/icon_a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0ZM4 8.491C4 6.011 7.016 4 10.737 4h.882C16.248 4 20 6.502 20 9.587c0 2.806-3.411 5.08-7.619 5.08h-.802C7.393 14.667 4 12.405 4 9.614V8.491Z" fill="#6565F2" /><path d="M7 18.714C7 19.424 7.576 20 8.286 20H15.5a1.5 1.5 0 0 0 0-3H8.714C7.768 17 7 17.767 7 18.714Z" fill="#FFE42E" /></g></symbol>'});a.a.add(l);t.default=l},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(5),r=o(13),i={to:[{type:"block",blocks:["core/query"],isMatch:function(e,t){var o=(0,r.select)("core/block-editor"),n=o.getBlockParents,i=o.getBlockName,a=n(t.clientId);return!a.length||void 0===a.find((function(e){return"core/query"===i(e)}))},transform:function(e,t){var o={query:{perPage:(null==e?void 0:e.postsToShow)||6,pages:1,offset:0,postType:"post",order:"desc",orderBy:"date",author:"",search:"",sticky:"exclude",inherit:!1}},r=[["novablocks/supernova",e,t]];return(0,n.createBlock)("core/query",o,(0,n.createBlocksFromInnerBlocksTemplate)(r))}}]};t.default=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(270),r=[n.postsCollectionClassicGrid,n.postsCollectionSlideshow,n.postsCollectionParametricGrid,n.postsCollectionCarousel];t.default=r},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"postsCollectionCarousel",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"postsCollectionClassicGrid",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"postsCollectionParametricGrid",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"postsCollectionSlideshow",{enumerable:!0,get:function(){return i.default}});var r=n(o(271)),i=n(o(272)),a=n(o(273)),l=n(o(274))},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(11)),i=o(3),a=o(40);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){(0,r.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var s={query:{perPage:3,pages:1,offset:0,postType:"post",order:"desc",orderBy:"date",author:"",search:"",sticky:"exclude",inherit:!1}},u={showCollectionTitle:!0,showCollectionSubtitle:!1,title:(0,i.__)("Fresh posts from the grid","nova-blocks"),subtitle:(0,i.__)("A collection of our latest articles.","nova-blocks"),contentType:"auto",layoutStyle:"classic",emphasisBySpace:1,emphasisTopSpacing:0,emphasisBottomSpacing:0,layoutGutter:10,minHeightFallback:66,postsToShow:3,columns:3,cardLayout:"vertical",contentPosition:"top left",cardMediaOpacity:100},d=c(c({},u),{},{lock:{remove:!0,move:!0}}),p={name:"novablocks/supernova/query-posts-classic-grid",title:(0,i.__)("Query Loop → Posts Collection: Classic Grid","nova-blocks"),description:(0,i.__)("Display a queried set of posts in a classic grid format (columns and rows).","nova-blocks"),keywords:[(0,i.__)("query","nova-blocks"),(0,i.__)("post","nova-blocks"),(0,i.__)("collection","nova-blocks"),(0,i.__)("layout","nova-blocks"),(0,i.__)("grid","nova-blocks"),(0,i.__)("columns","nova-blocks"),(0,i.__)("rows","nova-blocks")],icon:a.classicGrid,attributes:s,innerBlocks:[["novablocks/supernova",u,Array.from(Array(3)).map((function(){return["novablocks/supernova-item",d]}))]],scope:["inserter","block"]};t.default=p},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(11)),i=o(3),a=o(40);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){(0,r.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var s={query:{perPage:3,pages:1,offset:0,postType:"post",order:"desc",orderBy:"date",author:"",search:"",sticky:"exclude",inherit:!1}},u={showCollectionTitle:!1,showCollectionSubtitle:!1,title:(0,i.__)("You should read these","nova-blocks"),subtitle:(0,i.__)("A fancy slideshow with our latest posts never hurt nobody.","nova-blocks"),align:"full",contentType:"auto",layoutStyle:"carousel",contentPadding:100,contentPosition:"center center",minHeightFallback:66,postsToShow:3,columns:1,emphasisBySpace:1,emphasisTopSpacing:0,emphasisBottomSpacing:0,cardTitleLevel:1,cardLayout:"stacked",scrollingEffect:"static",overlayFilterStrength:30,contentColorSignal:3,contentPaletteVariation:12},d=c(c({},u),{},{lock:{remove:!0,move:!0}}),p={name:"novablocks/supernova/query-posts-slideshow",title:(0,i.__)("Query Loop → Posts Collection: Slideshow","nova-blocks"),description:(0,i.__)("Display a queried set of posts in a slideshow layout.","nova-blocks"),keywords:[(0,i.__)("query","nova-blocks"),(0,i.__)("post","nova-blocks"),(0,i.__)("collection","nova-blocks"),(0,i.__)("layout","nova-blocks"),(0,i.__)("carousel","nova-blocks"),(0,i.__)("slideshow","nova-blocks"),(0,i.__)("slider","nova-blocks"),(0,i.__)("horizontal","nova-blocks"),(0,i.__)("section","nova-blocks")],icon:a.slideshowCollection,attributes:s,innerBlocks:[["novablocks/supernova",u,Array.from(Array(3)).map((function(){return["novablocks/supernova-item",d]}))]],scope:["inserter","block"]};t.default=p},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(11)),i=o(3),a=o(40);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){(0,r.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var s={query:{perPage:6,pages:1,offset:0,postType:"post",order:"desc",orderBy:"date",author:"",search:"",sticky:"exclude",inherit:!1}},u={showCollectionTitle:!0,showCollectionSubtitle:!0,title:(0,i.__)("Our latest brainy posts","nova-blocks"),subtitle:(0,i.__)("A super-duper-parametric collection of our latest brain-dumps.","nova-blocks"),emphasisBySpace:1,emphasisTopSpacing:0,emphasisBottomSpacing:0,contentType:"auto",layoutStyle:"parametric",contentPosition:"center left",contentPadding:0,layoutGutter:10,postsToShow:6},d=c(c({},u),{},{lock:{remove:!0,move:!0}}),p={name:"novablocks/supernova/query-posts-parametric",title:(0,i.__)("Query Loop → Posts Collection: Parametric Grid","nova-blocks"),description:(0,i.__)("Display a queried set of posts in a beautiful, consistent manner.","nova-blocks"),keywords:[(0,i.__)("query","nova-blocks"),(0,i.__)("post","nova-blocks"),(0,i.__)("collection","nova-blocks"),(0,i.__)("layout","nova-blocks"),(0,i.__)("grid","nova-blocks"),(0,i.__)("parametric","nova-blocks"),(0,i.__)("composition","nova-blocks"),(0,i.__)("columns","nova-blocks"),(0,i.__)("rows","nova-blocks")],icon:a.postsCollection,attributes:s,innerBlocks:[["novablocks/supernova",u,Array.from(Array(6)).map((function(){return["novablocks/supernova-item",d]}))]],scope:["inserter","block"]};t.default=p},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(11)),i=o(3),a=o(40);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){(0,r.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var s={query:{perPage:5,pages:1,offset:0,postType:"post",order:"desc",orderBy:"date",author:"",search:"",sticky:"exclude",inherit:!1}},u={showCollectionTitle:!1,showCollectionSubtitle:!1,align:"full",contentType:"auto",layoutStyle:"carousel",carouselLayout:"fixed",gridGap:30,spacingModifier:.5,mediaContainerHeight:50,contentPadding:0,layoutGutter:25,emphasisBySpace:1,emphasisTopSpacing:0,emphasisBottomSpacing:0,postsToShow:5,columns:3,cardLayout:"vertical",contentPosition:"center left",contentColorSignal:0,contentPaletteVariation:1},d=c(c({},u),{},{lock:{remove:!0,move:!0}}),p={name:"novablocks/supernova/query-posts-carousel",title:(0,i.__)("Query Loop → Posts Collection: Carousel","nova-blocks"),description:(0,i.__)("Display a queried set of posts in a carousel layout.","nova-blocks"),keywords:[(0,i.__)("query","nova-blocks"),(0,i.__)("post","nova-blocks"),(0,i.__)("collection","nova-blocks"),(0,i.__)("layout","nova-blocks"),(0,i.__)("carousel","nova-blocks"),(0,i.__)("slideshow","nova-blocks"),(0,i.__)("slider","nova-blocks"),(0,i.__)("horizontal","nova-blocks"),(0,i.__)("section","nova-blocks")],icon:a.slideshowCollection,attributes:s,innerBlocks:[["novablocks/supernova",u,Array.from(Array(5)).map((function(){return["novablocks/supernova-item",d]}))]],scope:["inserter","block"]};t.default=p},function(e,t,o){"use strict";o.r(t);var n=o(6),r=o.n(n),i=o(7),a=o.n(i),l=new r.a({id:"block-library-supernova/icon",use:"block-library-supernova/icon-usage",viewBox:"0 0 24 24",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="block-library-supernova/icon"><g clip-path="url(#block-library-supernova/icon_a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 12c0-6.627-5.373-12-12-12S0 5.373 0 12s5.373 12 12 12 12-5.373 12-12Zm-8-3.333C16 7.747 16.746 7 17.667 7A3.333 3.333 0 0 1 21 10.333v3.334A3.333 3.333 0 0 1 17.667 17c-.92 0-1.667-.746-1.667-1.667V8.667ZM11 6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-2Zm-8 4.333A3.333 3.333 0 0 1 6.333 7C7.253 7 8 7.746 8 8.667v6.666C8 16.253 7.254 17 6.333 17A3.333 3.333 0 0 1 3 13.667v-3.334Z" fill="#6565F2" /></g><defs><clipPath id="block-library-supernova/icon_a"><path fill="#fff" transform="rotate(90 12 12)" d="M0 0h24v24H0z" /></clipPath></defs></symbol>'});a.a.add(l);t.default=l},function(e){e.exports=JSON.parse('{"anchor":{"type":"string","default":""},"variation":{"type":"string","default":"supernova"},"align":{"type":"string","default":"wide"},"preview":{"type":"boolean","default":true},"headerPosition":{"type":"number","default":0},"title":{"type":"string","default":"Cards Collection"},"subtitle":{"type":"string","default":"A collection of individual cards displayed in a cohesive layout"},"collectionTitleLevel":{"type":"number","default":2},"contentType":{"type":"string","default":"fields"}}')},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"withSetChildrenAttributes",{enumerable:!0,get:function(){return r.default}});var r=n(o(278))},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(1),i=n(o(25)),a=n(o(11)),l=o(13),c=o(10),s=o(2),u=o(279);function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function p(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){(0,a.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var f=function(e){return function(t){if("novablocks/supernova"!==t.name)return(0,r.createElement)(e,t);var o=t.clientId,n=(0,l.useDispatch)("core/block-editor").updateBlockAttributes,a=(0,l.useSelect)((function(e){return e("core/block-editor")})).getBlock,d=(0,s.useInnerBlocks)(o),f=(0,r.useCallback)((function(e){var t=e.cardLayout;return void 0!==t&&"stacked"!==t&&(e.minHeightFallback=0),void 0===t||["horizontal","horizontal-reverse"].includes(t)||(e.emphasisArea=100),e}),[]),_=(0,r.useCallback)((function(e){var t=(0,u.getChildAttributes)(e);Array.isArray(d)&&d.filter((function(e){return"novablocks/supernova-item"===e.name})).forEach((function(o){if(n(o.clientId,t),e.contentPosition){var r=a(o.clientId).innerBlocks,i=(0,c.getAlignFromMatrix)(null==e?void 0:e.contentPosition);Array.isArray(r)&&(r.filter((function(e){return"novablocks/headline"===e.name})).forEach((function(e){n(e.clientId,{textAlign:i[1]})})),r.filter((function(e){return"core/heading"===e.name})).forEach((function(e){n(e.clientId,{textAlign:i[1]})})),r.filter((function(e){return"core/paragraph"===e.name})).forEach((function(e){n(e.clientId,{align:i[1]})})),r.filter((function(e){return"core/buttons"===e.name})).forEach((function(e){n(e.clientId,{layout:p(p({},e.attributes.layout),{},{type:"flex",justifyContent:i[1]})})})))}}))}),[d]);return(0,r.createElement)(e,(0,i.default)({},t,{setAttributes:function(e){var o=f(e);t.setAttributes(o),_(o)}}))}};t.default=f},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getChildAttributes",{enumerable:!0,get:function(){return r.default}});var r=n(o(280))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){var t=["useSourceColorAsReference","colorSignal","paletteVariation","contentColorSignal","contentPaletteVariation","defaultsGenerated","images","title","subtitle"],o=Object.keys(e).filter((function(e){return!t.includes(e)})),n={};return o.forEach((function(t){n[t]=e[t]})),n};t.default=n},function(e,t,o){"use strict";var n=o(0);Object.defineProperty(t,"__esModule",{value:!0}),t.registerQueryStore=t.STORE_NAME=void 0;var r=n(o(11)),i=o(282),a=o(13);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){(0,r.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var s="novablocks/displayed-posts";t.STORE_NAME=s;var u={queryBlocks:[],postsByBlock:{},specificPostsByBlock:{}},d={updateBlocks:function(e){return{type:"UPDATE_BLOCKS",blocks:e}},markPostsAsDisplayed:function(e,t){return{type:"MARK_POSTS_DISPLAYED",clientId:e,posts:t}},markSpecificPostsAsDisplayed:function(e,t){return{type:"MARK_SPECIFIC_POSTS_DISPLAYED",clientId:e,posts:t}}},p={previousPostIds:function(e,t){var o,n,r,a=e.queryBlocks,l=e.specificPostsByBlock,c=e.postsByBlock,s=a.filter((function(e){var t=e.clientId;return l[t]})).flatMap((function(e){var t=e.clientId;return l[t].map((function(e){return e.id}))})),u=(o=a,n=t,r=o.findIndex((function(e){return e.clientId===n})),o.slice(0,r)).filter((function(e){var t=e.clientId;return c[t]})).flatMap((function(e){var t=e.clientId;return c[t].map((function(e){return e.id}))}));return(0,i.uniq)(s.concat(u)).sort()}};t.registerQueryStore=function(e){var t=function t(o){return o.flatMap((function(o){var n=[];return o.name===e&&n.push(o),n.concat(t(o.innerBlocks))}))};(0,a.registerStore)(s,{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,o=arguments.length>1?arguments[1]:void 0;switch(o.type){case"UPDATE_BLOCKS":return c(c({},e),{},{queryBlocks:t(o.blocks)});case"MARK_POSTS_DISPLAYED":return c(c({},e),{},{postsByBlock:c(c({},e.postsByBlock),{},(0,r.default)({},o.clientId,o.posts))});case"MARK_SPECIFIC_POSTS_DISPLAYED":return c(c({},e),{},{specificPostsByBlock:c(c({},e.specificPostsByBlock),{},(0,r.default)({},o.clientId,o.posts))})}return e},actions:d,selectors:p,initialState:u});var o,n=(0,a.select)("core/block-editor"),i=n.getClientIdsWithDescendants,l=n.getBlocks,f=(0,a.dispatch)(s).updateBlocks;(0,a.subscribe)((function(){var e=i(),t=e!==o;o=e,t&&f(l())}))}},function(e,t){e.exports=window.lodash}]); -
nova-blocks/trunk/build/block-library/blocks/supernova/init.php
r2727352 r2744078 77 77 'nb-supernova--halign-' . $align[1], 78 78 'nb-supernova--align-' . $attributes['align'], 79 'alignfull' 79 'alignfull', 80 80 ], 81 81 novablocks_get_color_signal_classes( $attributes ), 82 82 novablocks_get_grid_area_fallback_classnames( $attributes ) 83 83 ); 84 85 // Output the Additional CSS class(es) of the block 86 if ( ! empty( $attributes['className'] ) ) { 87 $classes[] = $attributes['className']; 88 } 84 89 85 90 // This refers to the carousel pagination, not the Query Loop pagination. … … 100 105 ); 101 106 107 // Output the HTML anchor (ID) of the block 108 if ( ! empty( $attributes['anchor'] ) ) { 109 $id = 'id="'. $attributes['anchor'] .'" '; 110 } 111 102 112 return '<div class="' . esc_attr( join( ' ', $classes ) ) . '" style="' . join( ';', $cssProps ) . '" 103 ' . join( ' ', $data_attributes ) . '>113 ' . $id . join( ' ', $data_attributes ) . '> 104 114 ' . novablocks_get_collection_output( $attributes, $content, $block ) . ' 105 115 </div>'; -
nova-blocks/trunk/build/block-library/blocks/supernova/style-rtl.css
r2737140 r2744078 1 @charset "UTF-8";.nb-supernova{--nb-card-layout-gap:calc(var(--nb-current-spacing)*2*var(--nb-card-layout-gap-modifier, 0));--nb-card-content-padding:calc(var(--nb-current-spacing)*2*var(--nb-card-content-padding-multiplier, 0));--nb-card-media-padding:calc(var(--nb-current-spacing)*2*var(--nb-card-media-padding-multiplier, 0));--nb-card-content-column-width:calc(var(--nb-card-content-area-width) - var(--nb-card-layout-gap)*0.5);--nb-card-media-column-width:calc(100% - var(--nb-card-content-column-width) - var(--nb-card-layout-gap));--nb-variable-width-card-media-height:calc(10em + 20em*var(--nb-card-media-container-height, 50)/100)}.nb-supernova-item{display:flex;flex-direction:column;gap:var(--nb-card-layout-gap);position:relative}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item{height:100%}.nb-supernova-item .nb-supernova-item__content{flex-grow:0}:root{--nb-supernova-item-carousel-padding-bottom:0px;--nb-header-neighbour-padding-top:0px}.nb-supernova-item{--nb-header-neighbour-padding-top:0px}.nb-supernova-item__inner-container{--nb-supernova-item-padding-top:max(var(--nb-header-neighbour-padding-top),var(--nb-card-content-padding));--nb-supernova-item-padding-bottom:max(var(--nb-supernova-item-carousel-padding-bottom),var(--nb-card-content-padding));--nb-supernova-item-padding :max(var(--nb-supernova-item-padding-top),var(--nb-supernova-item-padding-bottom));padding:var(--nb-supernova-item-padding);padding-bottom:var(--nb-supernova-item-padding-bottom,0px)!important;padding-top:var(--nb-supernova-item-padding-top,0px)!important}.nb-supernova--card-layout-stacked.nb-supernova--valign-center .nb-supernova-item__inner-container{padding-bottom:var(--nb-supernova-item-padding,0px)!important;padding-top:var(--nb-supernova-item-padding,0px)!important}.nb-supernova-item__media-wrapper .blob-mix__mask{background-color:var(--sm-current-bg-color,var(--nb-bg-color))}.nb-supernova-item__media[class]{height:100%;-o-object-fit:var(--nb-card-media-object-fit,cover);object-fit:var(--nb-card-media-object-fit,cover);width:100%}.nb-supernova-item__media--placeholder{align-items:center;display:flex;justify-content:center}.nb-supernova-item__content,.nb-supernova-item__media-wrapper{flex:0 0 auto}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-vertical-reverse{flex-direction:column-reverse}.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked),.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse{flex-direction:row}@media not screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked),.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse{flex-direction:column}}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__content,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal .nb-supernova-item__content,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse .nb-supernova-item__content{flex:1 0 var(--nb-card-content-column-width);width:var(--nb-card-content-column-width)}.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal .nb-supernova-item__media-wrapper,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse .nb-supernova-item__media-wrapper{flex:1 0 var(--nb-card-media-column-width);width:var(--nb-card-media-column-width)}}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse{flex-direction:row-reverse}@media not screen and (min-width:768px){.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse{flex-direction:column}}.nb-supernova-item--layout-stacked .nb-supernova-item__media-aspect-ratio:before{content:none}.nb-collection__layout.nb-collection__layout--variable-width .nb-supernova-item--layout-stacked .nb-supernova-item__content{height:100%;position:absolute;right:0;top:0;width:100%}.nb-collection__layout:not(.nb-collection__layout--variable-width) .nb-supernova-item--layout-stacked .nb-supernova-item__media-wrapper{height:100%;position:absolute;right:0;top:0;width:100%}.nb-supernova-item__media-aspect-ratio{min-height:100%;position:relative}.nb-supernova-item__media-aspect-ratio:before{content:"";display:block;padding-top:var(--nb-card-media-padding-top,100%);pointer-events:none}.nb-supernova-item__media-wrapper{padding:var(--nb-card-media-padding,0);position:relative;z-index:10}.nb-supernova-item__media-wrapper img,.nb-supernova-item__media-wrapper video{opacity:calc(1 - var(--nb-overlay-filter-strength, 0))}.nb-supernova-item__media-doppler{width:100%}.nb-supernova-item__content{position:relative;z-index:20}@media only screen and (min-width:768px){.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-vertical .nb-supernova-item__media-wrapper:not(:last-child){padding-bottom:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-vertical .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-top:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-vertical-reverse .nb-supernova-item__media-wrapper:not(:last-child){padding-top:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-vertical-reverse .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-bottom:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-horizontal .nb-supernova-item__media-wrapper:not(:last-child){padding-left:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-horizontal .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-right:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-horizontal-reverse .nb-supernova-item__media-wrapper:not(:last-child){padding-right:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-horizontal-reverse .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-left:0}.nb-collection__layout.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper:not(:last-child){padding-left:0}.nb-collection__layout.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-right:0}.nb-collection__layout.nb-collection__layout--parametric .nb-grid__area--portrait .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper:not(:last-child){padding-bottom:0}.nb-collection__layout.nb-collection__layout--parametric .nb-grid__area--portrait .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-top:0}}@media only screen and (min-width:768px){.nb-collection__layout--carousel.nb-collection__layout--variable-width .slick-track>*{flex-basis:1px}.nb-collection__layout--carousel.nb-collection__layout--variable-width .nb-supernova-item__media{height:var(--nb-variable-width-card-media-height);max-width:none;width:auto}.nb-collection__layout--carousel.nb-collection__layout--variable-width .slick-initialized .nb-supernova-item__media{height:auto}.nb-collection__layout--carousel.nb-collection__layout--variable-width .nb-supernova-item__media-aspect-ratio>*{position:static}.nb-collection__layout--carousel.nb-collection__layout--variable-width .nb-supernova-item__media-aspect-ratio:before{content:none}.nb-collection__layout--carousel.nb-collection__layout--variable-width .novablocks-media-composition{min-height:var(--nb-variable-width-card-media-height);width:var(--nb-variable-width-card-media-height)}}.nb-collection__layout--content-width .slick-slide{--slider-content-width:calc(100vw - (var(--nb-sidecar-sides) + var(--wds) + var(--wde) + var(--nb-sidecar-grid-gap))*2);width:var(--slider-content-width)!important}.nb-supernova-item__media-doppler{height:100%}a.nb-supernova-item__link{display:block}a.nb-supernova-item__link-overlay{bottom:0;display:block;left:0;margin:0!important;max-width:none!important;position:absolute;right:0;top:0}.nb-supernova-item .nb-supernova-item__inner-container>[class][class][class][class]:first-child{--nb-block-top-spacing:0}.nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-card__title[class][class][class]{--nb-block-top-spacing:0.35}.nb-card__buttons[class][class][class]{--nb-block-top-spacing:1;position:relative;z-index:1}.nb-card__meta-separator{box-sizing:content-box;display:inline-block;margin-left:0.25em;margin-right:0.25em;vertical-align:middle;width:2em}.nb-card__meta-separator:after{background:currentColor;content:"";display:block;height:0.075em;width:100%}.nb-card__title a:hover{color:var(--sm-current-accent-color)}.nb-collection .nb-collection__body[class]{margin-top:calc(var(--nb-block-top-spacing)*var(--nb-spacing)*1)}.nb-collection__layout{--nb-grid-spacing:calc(var(--nb-spacing)*var(--nb-grid-spacing-modifier)*0.02)}.nb-collection__layout>.nb-collection__layout-item[class]{margin:0}.nb-collection__layout--fixed-width .nb-supernova-item:not(.nb-supernova-item--aspect-ratio-auto) .nb-card__media-image{height:auto;max-width:none;min-height:100%;min-width:100%;position:absolute;right:0;top:0;width:auto}@supports (transform:translate(-50%,-50%)){.nb-collection__layout--fixed-width .nb-supernova-item:not(.nb-supernova-item--aspect-ratio-auto) .nb-card__media-image{right:50%;top:50%;transform:translate(50%,-50%)}}@supports ((-o-object-fit:cover) or (object-fit:cover)){.nb-collection__layout--fixed-width .nb-supernova-item:not(.nb-supernova-item--aspect-ratio-auto) .nb-card__media-image{height:100%;min-height:0;min-width:0;-o-object-fit:cover;object-fit:cover;right:0;top:0;transform:none;width:100%}}.nb-supernova-item--aspect-ratio-auto :is(.nb-supernova-item__media-aspect-ratio,#specific)>*{position:static}.nb-supernova-item--aspect-ratio-auto :is(.nb-supernova-item__media-aspect-ratio,#specific):before{content:none}.nb-supernova-item--aspect-ratio-auto .novablocks-media-composition{min-height:var(--nb-variable-width-card-media-height);width:var(--nb-variable-width-card-media-height)}.nb-supernova-item--aspect-ratio-auto .novablocks-media-composition__image{display:block;height:auto;min-height:0;min-width:0;position:static;transform:none;width:100%}.nb-supernova-item--aspect-ratio-auto .novablocks-media-composition__grid-item-media{flex-grow:0}.nb-supernova-item--aspect-ratio-auto .blob-mix{position:relative}.nb-supernova-item--aspect-ratio-auto .blob-mix__mask{height:auto;position:static}.nb-supernova-item--aspect-ratio-auto .blob-mix__media{height:auto;position:relative}.nb-collection__layout--classic,.nb-collection__layout--masonry,.nb-collection__layout--parametric{--nb-collection-columns:var(--nb-collection-columns-count);--nb-collection-columns-below-tablet:1;grid-gap:var(--nb-grid-spacing);display:grid;grid-template-columns:repeat(var(--nb-collection-columns,1),1fr)}.nb-collection__layout--classic>*,.nb-collection__layout--masonry>*,.nb-collection__layout--parametric>*{margin:0;width:100%}@media not screen and (min-width:768px){.nb-collection__layout--classic,.nb-collection__layout--masonry,.nb-collection__layout--parametric{--nb-collection-columns:var(--nb-collection-columns-below-tablet,1)}}.nb-collection__layout-column{display:flex;flex-direction:column;gap:var(--nb-grid-spacing)}.slick-slider{-webkit-tap-highlight-color:transparent;box-sizing:border-box;display:block;position:relative;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}.slick-slide{display:none;float:right;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:left}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-loading .slick-slide{visibility:hidden}.slick-vertical .slick-slide{border:1px solid transparent;display:block;height:auto}.slick-list{display:block;margin:0;overflow:hidden;padding:0;position:relative}.slick-list:focus{outline:none}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-track{align-items:stretch;display:block;display:flex;margin-left:auto;margin-right:auto;position:relative;right:0;top:0}.slick-track:after,.slick-track:before{content:"";display:table}.slick-track:after{clear:both}.slick-loading .slick-track{visibility:hidden}@media not screen and (min-width:1024px){.nb-collection__layout--carousel{margin-left:calc(var(--nb-sidecar-sides)*-1);margin-right:calc(var(--nb-sidecar-sides)*-1)}}.nb-collection__layout--carousel:not(.slick-initialized){display:flex}.nb-collection__layout--carousel:not(.slick-initialized)>.nb-collection__layout-item{flex:0 0 100%}.nb-collection__layout--carousel .slick-slide .nb-collection__layout-item{display:block!important}:is(.slick-arrow,.slick-dots,.specificity.x2){background:transparent}.slick-arrow{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border:none;border-radius:50%;color:transparent;cursor:pointer;display:block;font-size:0px!important;height:60px;line-height:0px;outline:none;padding:0;position:absolute;top:50%;transform:translateY(-50%);width:60px;z-index:1300}.slick-arrow:hover{background:transparent;color:transparent;outline:none}.slick-arrow:hover:before{opacity:1}.slick-arrow:hover:after{opacity:0.6}.slick-arrow:before{color:#fff;display:block;font-size:20px;height:32px;line-height:1;opacity:1;position:absolute;right:50%;top:50%;width:32px;z-index:1}.slick-arrow.slick-disabled:before{opacity:0.25}.slick-arrow.slick-hidden{display:none}.slick-arrow:after{background-color:#000;border:0;border-radius:50%;content:"";display:block;height:100%;margin-top:0;opacity:0.15;transform:none;transition:opacity 0.15s ease-in;width:100%}.slick-prev{right:25px}.slick-prev:before{content:"←"}.slick-next{left:25px}.slick-next:before{content:"→"}.slick-dots{display:block;list-style:none;margin:0;padding:var(--nb-spacing) 0 0 0;text-align:center;width:100%;z-index:1300}.slick-dots li{cursor:pointer;display:inline-block;position:relative}.slick-dots li button{background:none!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;color:inherit!important;cursor:pointer;margin:0 calc(var(--nb-spacing)/3);outline:0;padding:0!important;transition:opacity .15s ease}.slick-dots li button:hover{opacity:.6;outline:none}.slick-dots li button:hover:before{opacity:1}.slick-dots li.slick-active button{border-bottom-color:currentColor!important}.slick-dots li.slick-active button:before{color:#000;opacity:1}.nb-supernova--card-layout-stacked.nb-supernova--1-columns.nb-supernova--align-full.nb-supernova--show-pagination .nb-collection__layout--carousel .nb-supernova-item__inner-container{--nb-supernova-item-carousel-padding-bottom:calc(var(--nb-spacing)*2 + var(--current-font-size)*var(--current-line-height))}.nb-supernova--card-layout-stacked.nb-supernova--1-columns.nb-supernova--align-full .nb-collection__layout--carousel .slick-dots{bottom:0;padding-bottom:var(--nb-spacing);position:absolute}.nb-collection__layout--variable-width .nb-supernova-item__media-aspect-ratio>*{position:relative}@media only screen and (min-width:1024px){.nb-supernova:is(:not(.nb-supernova--card-layout-stacked.nb-supernova--1-columns),.nb-supernova--carousel-layout-variable) .slick-track{gap:var(--nb-grid-spacing)}}@media not screen and (min-width:1024px){.nb-supernova .slick-slide{padding-left:calc(var(--nb-grid-spacing)/4);padding-right:calc(var(--nb-grid-spacing)/4)}}.nb-supernova-item__content{display:flex;flex-direction:column;flex-grow:1;overflow:hidden}.nb-supernova-item__content:after,.nb-supernova-item__content:before{content:"";display:block;flex:1 0 auto;height:0}.nb-supernova-item__content--valign-bottom:after,.nb-supernova-item__content--valign-top:before{flex-grow:0}.nb-supernova--halign-left{text-align:right}.nb-supernova--halign-center{text-align:center}.nb-supernova--halign-right{text-align:left}.nb-supernova--halign-left .nb-supernova-item__inner-container[class]>*{margin-right:0}.nb-supernova--halign-right .nb-supernova-item__inner-container[class]>*{margin-left:0}@media not screen and (min-width:768px){.wp-block-query .nb-supernova--layout-carousel{text-align:center}.wp-block-query .nb-supernova--layout-carousel .nb-card__buttons,.wp-block-query .nb-supernova--layout-carousel .nb-card__description{display:none}.wp-block-query .nb-supernova--layout-carousel:not(.nb-supernova--card-layout-stacked){--nb-card-media-padding-top:100%!important}}.components-toolbar-group [aria-label="Grid view"],.components-toolbar-group [aria-label="List view"]{display:none}.nb-supernova[class*=sm-variation-]:not(.sm-color-signal-0){--emphasis-area-width:calc(var(--nb-emphasis-area, 100)*1%);--emphasis-area-gradient-direction:90deg;background:none!important;position:relative}.nb-supernova[class*=sm-variation-]:not(.sm-color-signal-0):before{background:linear-gradient(var(--emphasis-area-gradient-direction),var(--sm-current-bg-color,var(--nb-bg-color)) 0,var(--sm-current-bg-color,var(--nb-bg-color)) var(--emphasis-area-width),transparent var(--emphasis-area-width));bottom:0;content:"";grid-column:var(--block-full-start)/var(--block-full-end);left:0;position:absolute;right:0;top:0}.nb-supernova.nb-supernova--card-layout-horizontal{--emphasis-area-gradient-direction:-90deg}.nb-supernova-item.nb-supernova-item--layout-stacked{--nb-block-minimum-height:var(--nb-minimum-container-height);min-height:var(--nb-block-minimum-height)}[data-min-height-fallback="100"] .nb-supernova-item.nb-supernova-item--layout-stacked{--nb-block-minimum-height:calc(var(--nb-minimum-container-height) - var(--admin-bar-height, 0px) - var(--nb-promo-bar-height, 0px))}.nb-supernova-item.nb-supernova-item--layout-stacked.nb-supernova-item--scrolling-effect-doppler{--nb-block-minimum-height:calc(var(--nb-minimum-container-height)*2)}[data-min-height-fallback="50"] .nb-supernova-item.nb-supernova-item--layout-stacked.nb-supernova-item--scrolling-effect-doppler{--nb-block-minimum-height:calc(var(--nb-minimum-container-height)*2 - var(--admin-bar-height, 0px) - var(--nb-promo-bar-height, 0px))}.nb-supernova-item.nb-supernova-item--layout-stacked .nb-supernova-item__content{min-height:var(--nb-block-minimum-height)}.nb-supernova .nb-collection__header[class]{padding-bottom:calc(var(--emphasis-top-spacing)*-1*var(--nb-spacing))}.nb-collection__inner-container{position:relative}1 @charset "UTF-8";.nb-supernova{--nb-card-layout-gap:calc(var(--nb-current-spacing)*2*var(--nb-card-layout-gap-modifier, 0));--nb-card-content-padding:calc(var(--nb-current-spacing)*2*var(--nb-card-content-padding-multiplier, 0));--nb-card-media-padding:calc(var(--nb-current-spacing)*2*var(--nb-card-media-padding-multiplier, 0));--nb-card-content-column-width:calc(var(--nb-card-content-area-width) - var(--nb-card-layout-gap)*0.5);--nb-card-media-column-width:calc(100% - var(--nb-card-content-column-width) - var(--nb-card-layout-gap));--nb-variable-width-card-media-height:calc(10em + 20em*var(--nb-card-media-container-height, 50)/100)}.nb-supernova-item{display:flex;flex-direction:column;gap:var(--nb-card-layout-gap);position:relative}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item{height:100%}.nb-supernova-item .nb-supernova-item__content{flex-grow:0}:root{--nb-supernova-item-carousel-padding-bottom:0px;--nb-header-neighbour-padding-top:0px}.nb-supernova-item{--nb-header-neighbour-padding-top:0px}.nb-supernova-item__inner-container{--nb-supernova-item-padding-top:max(var(--nb-header-neighbour-padding-top),var(--nb-card-content-padding));--nb-supernova-item-padding-bottom:max(var(--nb-supernova-item-carousel-padding-bottom),var(--nb-card-content-padding));--nb-supernova-item-padding-max:max(var(--nb-supernova-item-padding-top),var(--nb-supernova-item-padding-bottom));padding:var(--nb-card-content-padding);padding-bottom:var(--nb-supernova-item-padding-bottom,0px)!important;padding-top:var(--nb-supernova-item-padding-top,0px)!important}.nb-supernova--card-layout-stacked.nb-supernova--valign-center .nb-supernova-item__inner-container{padding-bottom:var(--nb-supernova-item-padding-max,0px)!important;padding-top:var(--nb-supernova-item-padding-max,0px)!important}.nb-supernova-item__media-wrapper .blob-mix__mask{background-color:var(--sm-current-bg-color,var(--nb-bg-color))}.nb-supernova-item__media[class]{height:100%;-o-object-fit:var(--nb-card-media-object-fit,cover);object-fit:var(--nb-card-media-object-fit,cover);width:100%}.nb-supernova-item__media--placeholder{align-items:center;display:flex;justify-content:center}.nb-supernova-item__content,.nb-supernova-item__media-wrapper{flex:0 0 auto}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-vertical-reverse{flex-direction:column-reverse}.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked),.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse{flex-direction:row}@media not screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked),.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse{flex-direction:column}}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__content,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal .nb-supernova-item__content,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse .nb-supernova-item__content{flex:1 0 var(--nb-card-content-column-width);width:var(--nb-card-content-column-width)}.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal .nb-supernova-item__media-wrapper,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse .nb-supernova-item__media-wrapper{flex:1 0 var(--nb-card-media-column-width);width:var(--nb-card-media-column-width)}}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse{flex-direction:row-reverse}@media not screen and (min-width:768px){.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse{flex-direction:column}}.nb-supernova-item--layout-stacked .nb-supernova-item__media-aspect-ratio:before{content:none}.nb-collection__layout.nb-collection__layout--variable-width .nb-supernova-item--layout-stacked .nb-supernova-item__content{height:100%;position:absolute;right:0;top:0;width:100%}.nb-collection__layout:not(.nb-collection__layout--variable-width) .nb-supernova-item--layout-stacked .nb-supernova-item__media-wrapper{height:100%;position:absolute;right:0;top:0;width:100%}.nb-supernova-item__media-aspect-ratio{min-height:100%;position:relative}.nb-supernova-item__media-aspect-ratio:before{content:"";display:block;padding-top:var(--nb-card-media-padding-top,100%);pointer-events:none}.nb-supernova-item__media-wrapper{padding:var(--nb-card-media-padding,0);position:relative;z-index:10}.nb-supernova-item__media-wrapper img,.nb-supernova-item__media-wrapper video{opacity:calc(1 - var(--nb-overlay-filter-strength, 0))}.nb-supernova-item__media-doppler{width:100%}.nb-supernova-item__content{position:relative;z-index:20}@media only screen and (min-width:768px){.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-vertical .nb-supernova-item__media-wrapper:not(:last-child){padding-bottom:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-vertical .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-top:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-vertical-reverse .nb-supernova-item__media-wrapper:not(:last-child){padding-top:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-vertical-reverse .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-bottom:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-horizontal .nb-supernova-item__media-wrapper:not(:last-child){padding-left:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-horizontal .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-right:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-horizontal-reverse .nb-supernova-item__media-wrapper:not(:last-child){padding-right:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-horizontal-reverse .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-left:0}.nb-collection__layout.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper:not(:last-child){padding-left:0}.nb-collection__layout.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-right:0}.nb-collection__layout.nb-collection__layout--parametric .nb-grid__area--portrait .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper:not(:last-child){padding-bottom:0}.nb-collection__layout.nb-collection__layout--parametric .nb-grid__area--portrait .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-top:0}}@media only screen and (min-width:768px){.nb-collection__layout--carousel.nb-collection__layout--variable-width .slick-track>*{flex-basis:1px}.nb-collection__layout--carousel.nb-collection__layout--variable-width .nb-supernova-item__media{height:var(--nb-variable-width-card-media-height);max-width:none;width:auto}.nb-collection__layout--carousel.nb-collection__layout--variable-width .slick-initialized .nb-supernova-item__media{height:auto}.nb-collection__layout--carousel.nb-collection__layout--variable-width .nb-supernova-item__media-aspect-ratio>*{position:static}.nb-collection__layout--carousel.nb-collection__layout--variable-width .nb-supernova-item__media-aspect-ratio:before{content:none}.nb-collection__layout--carousel.nb-collection__layout--variable-width .novablocks-media-composition{min-height:var(--nb-variable-width-card-media-height);width:var(--nb-variable-width-card-media-height)}}.nb-collection__layout--content-width .slick-slide{--slider-content-width:calc(100vw - (var(--nb-sidecar-sides) + var(--wds) + var(--wde) + var(--nb-sidecar-grid-gap))*2);width:var(--slider-content-width)!important}.nb-supernova-item__media-doppler{height:100%}a.nb-supernova-item__link{display:block}a.nb-supernova-item__link-overlay{bottom:0;display:block;left:0;margin:0!important;max-width:none!important;position:absolute;right:0;top:0}.nb-supernova-item .nb-supernova-item__inner-container>[class][class][class][class]:first-child{--nb-block-top-spacing:0}.nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-card__title[class][class][class]{--nb-block-top-spacing:0.35}.nb-card__buttons[class][class][class]{--nb-block-top-spacing:1;position:relative;z-index:1}.nb-card__meta-separator{box-sizing:content-box;display:inline-block;margin-left:0.25em;margin-right:0.25em;vertical-align:middle;width:2em}.nb-card__meta-separator:after{background:currentColor;content:"";display:block;height:0.075em;width:100%}.nb-card__title a:hover{color:var(--sm-current-accent-color)}.nb-collection .nb-collection__body[class]{margin-top:calc(var(--nb-block-top-spacing)*var(--nb-spacing)*1)}.nb-collection__layout{--nb-grid-spacing:calc(var(--nb-spacing)*var(--nb-grid-spacing-modifier)*0.02)}.nb-collection__layout>.nb-collection__layout-item[class]{margin:0}.nb-collection__layout--fixed-width .nb-supernova-item:not(.nb-supernova-item--aspect-ratio-auto) .nb-card__media-image{height:auto;max-width:none;min-height:100%;min-width:100%;position:absolute;right:0;top:0;width:auto}@supports (transform:translate(-50%,-50%)){.nb-collection__layout--fixed-width .nb-supernova-item:not(.nb-supernova-item--aspect-ratio-auto) .nb-card__media-image{right:50%;top:50%;transform:translate(50%,-50%)}}@supports ((-o-object-fit:cover) or (object-fit:cover)){.nb-collection__layout--fixed-width .nb-supernova-item:not(.nb-supernova-item--aspect-ratio-auto) .nb-card__media-image{height:100%;min-height:0;min-width:0;-o-object-fit:cover;object-fit:cover;right:0;top:0;transform:none;width:100%}}.nb-supernova-item--aspect-ratio-auto :is(.nb-supernova-item__media-aspect-ratio,#specific)>*{position:static}.nb-supernova-item--aspect-ratio-auto :is(.nb-supernova-item__media-aspect-ratio,#specific):before{content:none}.nb-supernova-item--aspect-ratio-auto .novablocks-media-composition{min-height:var(--nb-variable-width-card-media-height);width:var(--nb-variable-width-card-media-height)}.nb-supernova-item--aspect-ratio-auto .novablocks-media-composition__image{display:block;height:auto;min-height:0;min-width:0;position:static;transform:none;width:100%}.nb-supernova-item--aspect-ratio-auto .novablocks-media-composition__grid-item-media{flex-grow:0}.nb-supernova-item--aspect-ratio-auto .blob-mix{position:relative}.nb-supernova-item--aspect-ratio-auto .blob-mix__mask{height:auto;position:static}.nb-supernova-item--aspect-ratio-auto .blob-mix__media{height:auto;position:relative}.nb-collection__layout--classic,.nb-collection__layout--masonry,.nb-collection__layout--parametric{--nb-collection-columns:var(--nb-collection-columns-count);--nb-collection-columns-below-tablet:1;grid-gap:var(--nb-grid-spacing);display:grid;grid-template-columns:repeat(var(--nb-collection-columns,1),1fr)}.nb-collection__layout--classic>*,.nb-collection__layout--masonry>*,.nb-collection__layout--parametric>*{margin:0;width:100%}@media not screen and (min-width:768px){.nb-collection__layout--classic,.nb-collection__layout--masonry,.nb-collection__layout--parametric{--nb-collection-columns:var(--nb-collection-columns-below-tablet,1)}}.nb-collection__layout-column{display:flex;flex-direction:column;gap:var(--nb-grid-spacing)}.slick-slider{-webkit-tap-highlight-color:transparent;box-sizing:border-box;display:block;position:relative;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}.slick-slide{display:none;min-height:1px}[dir=rtl] .slick-slide{float:left}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-loading .slick-slide{visibility:hidden}.slick-vertical .slick-slide{border:1px solid transparent;display:block;height:auto}.slick-list{display:block;margin:0;overflow:hidden;padding:0;position:relative}.slick-list:focus{outline:none}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-track{align-items:stretch;display:block;display:flex;margin-left:auto;margin-right:auto;position:relative;right:0;top:0}.slick-track:after,.slick-track:before{content:"";display:table}.slick-track:after{clear:both}.slick-loading .slick-track{visibility:hidden}@media not screen and (min-width:1024px){.nb-supernova:not(.nb-supernova--card-layout-stacked.nb-supernova--1-columns.nb-supernova--align-full) .nb-collection__layout--carousel{margin-left:calc(var(--nb-sidecar-sides)*-1);margin-right:calc(var(--nb-sidecar-sides)*-1)}}.nb-collection__layout--carousel:not(.slick-initialized){display:flex}.nb-collection__layout--carousel:not(.slick-initialized)>.nb-collection__layout-item{flex:0 0 100%}.nb-collection__layout--carousel .slick-slide .nb-collection__layout-item{display:block!important}:is(.slick-arrow,.slick-dots,.specificity.x2){background:transparent}.slick-arrow{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border:none;border-radius:50%;color:transparent;cursor:pointer;display:block;font-size:0px!important;height:60px;line-height:0px;outline:none;padding:0;position:absolute;top:50%;transform:translateY(-50%);width:60px;z-index:1300}.slick-arrow:hover{background:transparent;color:transparent;outline:none}.slick-arrow:hover:before{opacity:1}.slick-arrow:hover:after{opacity:0.6}.slick-arrow:before{color:#fff;display:block;font-size:20px;height:32px;line-height:1;opacity:1;position:absolute;right:50%;top:50%;width:32px;z-index:1}.slick-arrow.slick-disabled:before{opacity:0.25}.slick-arrow.slick-hidden{display:none}.slick-arrow:after{background-color:#000;border:0;border-radius:50%;content:"";display:block;height:100%;margin-top:0;opacity:0.15;transform:none;transition:opacity 0.15s ease-in;width:100%}.slick-prev{right:25px}.slick-prev:before{content:"←"}.slick-next{left:25px}.slick-next:before{content:"→"}.slick-dots{display:block;list-style:none;margin:0;padding:var(--nb-spacing) 0 0 0;text-align:center;width:100%;z-index:1300}.slick-dots li{cursor:pointer;display:inline-block;position:relative}.slick-dots li button{background:none!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;color:inherit!important;cursor:pointer;margin:0 calc(var(--nb-spacing)/3);outline:0;padding:0!important;transition:opacity .15s ease}.slick-dots li button:hover{opacity:.6;outline:none}.slick-dots li button:hover:before{opacity:1}.slick-dots li.slick-active button{border-bottom-color:currentColor!important}.slick-dots li.slick-active button:before{color:#000;opacity:1}.nb-supernova--card-layout-stacked.nb-supernova--1-columns.nb-supernova--align-full.nb-supernova--show-pagination .nb-collection__layout--carousel .nb-supernova-item__inner-container{--nb-supernova-item-carousel-padding-bottom:calc(var(--nb-spacing)*2 + var(--current-font-size)*var(--current-line-height))}.nb-supernova--card-layout-stacked.nb-supernova--1-columns.nb-supernova--align-full .nb-collection__layout--carousel .slick-dots{bottom:0;padding-bottom:var(--nb-spacing);position:absolute}.nb-collection__layout--variable-width .nb-supernova-item__media-aspect-ratio>*{position:relative}@media only screen and (min-width:1024px){.nb-supernova:is(:not(.nb-supernova--card-layout-stacked.nb-supernova--1-columns),.nb-supernova--carousel-layout-variable) .slick-track{gap:var(--nb-grid-spacing)}}@media not screen and (min-width:1024px){.nb-supernova .slick-slide{padding-left:calc(var(--nb-grid-spacing)/4);padding-right:calc(var(--nb-grid-spacing)/4)}}.nb-supernova-item__content{display:flex;flex-direction:column;flex-grow:1;overflow:hidden}.nb-supernova-item__content:after,.nb-supernova-item__content:before{content:"";display:block;flex:1 0 auto;height:0}.nb-supernova-item__content--valign-bottom:after,.nb-supernova-item__content--valign-top:before{flex-grow:0}.nb-supernova--halign-left{text-align:right}.nb-supernova--halign-center{text-align:center}.nb-supernova--halign-right{text-align:left}.nb-supernova--halign-left .nb-supernova-item__inner-container[class]>*{margin-right:0}.nb-supernova--halign-right .nb-supernova-item__inner-container[class]>*{margin-left:0}@media not screen and (min-width:768px){.wp-block-query .nb-supernova--layout-carousel{text-align:center}.wp-block-query .nb-supernova--layout-carousel .nb-card__buttons,.wp-block-query .nb-supernova--layout-carousel .nb-card__description{display:none}.wp-block-query .nb-supernova--layout-carousel:not(.nb-supernova--card-layout-stacked){--nb-card-media-padding-top:100%!important}}.components-toolbar-group [aria-label="Grid view"],.components-toolbar-group [aria-label="List view"]{display:none}.nb-supernova[class*=sm-variation-]:not(.sm-color-signal-0){--emphasis-area-width:calc(var(--nb-emphasis-area, 100)*1%);--emphasis-area-gradient-direction:90deg;background:none!important;position:relative}.nb-supernova[class*=sm-variation-]:not(.sm-color-signal-0):before{background:linear-gradient(var(--emphasis-area-gradient-direction),var(--sm-current-bg-color,var(--nb-bg-color)) 0,var(--sm-current-bg-color,var(--nb-bg-color)) var(--emphasis-area-width),transparent var(--emphasis-area-width));bottom:0;content:"";grid-column:var(--block-full-start)/var(--block-full-end);left:0;position:absolute;right:0;top:0}.nb-supernova.nb-supernova--card-layout-horizontal{--emphasis-area-gradient-direction:-90deg}.nb-supernova-item.nb-supernova-item--layout-stacked{--nb-block-minimum-height:var(--nb-minimum-container-height);min-height:var(--nb-block-minimum-height)}[data-min-height-fallback="100"] .nb-supernova-item.nb-supernova-item--layout-stacked{--nb-block-minimum-height:calc(var(--nb-minimum-container-height) - var(--admin-bar-height, 0px) - var(--nb-promo-bar-height, 0px))}.nb-supernova-item.nb-supernova-item--layout-stacked.nb-supernova-item--scrolling-effect-doppler{--nb-block-minimum-height:calc(var(--nb-minimum-container-height)*2)}[data-min-height-fallback="50"] .nb-supernova-item.nb-supernova-item--layout-stacked.nb-supernova-item--scrolling-effect-doppler{--nb-block-minimum-height:calc(var(--nb-minimum-container-height)*2 - var(--admin-bar-height, 0px) - var(--nb-promo-bar-height, 0px))}.nb-supernova-item.nb-supernova-item--layout-stacked .nb-supernova-item__content{min-height:var(--nb-block-minimum-height)}.nb-supernova .nb-collection__header[class]{padding-bottom:calc(var(--emphasis-top-spacing)*-1*var(--nb-spacing))}.nb-collection__inner-container{position:relative} -
nova-blocks/trunk/build/block-library/blocks/supernova/style.css
r2737140 r2744078 1 @charset "UTF-8";.nb-supernova{--nb-card-layout-gap:calc(var(--nb-current-spacing)*2*var(--nb-card-layout-gap-modifier, 0));--nb-card-content-padding:calc(var(--nb-current-spacing)*2*var(--nb-card-content-padding-multiplier, 0));--nb-card-media-padding:calc(var(--nb-current-spacing)*2*var(--nb-card-media-padding-multiplier, 0));--nb-card-content-column-width:calc(var(--nb-card-content-area-width) - var(--nb-card-layout-gap)*0.5);--nb-card-media-column-width:calc(100% - var(--nb-card-content-column-width) - var(--nb-card-layout-gap));--nb-variable-width-card-media-height:calc(10em + 20em*var(--nb-card-media-container-height, 50)/100)}.nb-supernova-item{display:flex;flex-direction:column;gap:var(--nb-card-layout-gap);position:relative}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item{height:100%}.nb-supernova-item .nb-supernova-item__content{flex-grow:0}:root{--nb-supernova-item-carousel-padding-bottom:0px;--nb-header-neighbour-padding-top:0px}.nb-supernova-item{--nb-header-neighbour-padding-top:0px}.nb-supernova-item__inner-container{--nb-supernova-item-padding-top:max(var(--nb-header-neighbour-padding-top),var(--nb-card-content-padding));--nb-supernova-item-padding-bottom:max(var(--nb-supernova-item-carousel-padding-bottom),var(--nb-card-content-padding));--nb-supernova-item-padding :max(var(--nb-supernova-item-padding-top),var(--nb-supernova-item-padding-bottom));padding:var(--nb-supernova-item-padding);padding-bottom:var(--nb-supernova-item-padding-bottom,0px)!important;padding-top:var(--nb-supernova-item-padding-top,0px)!important}.nb-supernova--card-layout-stacked.nb-supernova--valign-center .nb-supernova-item__inner-container{padding-bottom:var(--nb-supernova-item-padding,0px)!important;padding-top:var(--nb-supernova-item-padding,0px)!important}.nb-supernova-item__media-wrapper .blob-mix__mask{background-color:var(--sm-current-bg-color,var(--nb-bg-color))}.nb-supernova-item__media[class]{height:100%;-o-object-fit:var(--nb-card-media-object-fit,cover);object-fit:var(--nb-card-media-object-fit,cover);width:100%}.nb-supernova-item__media--placeholder{align-items:center;display:flex;justify-content:center}.nb-supernova-item__content,.nb-supernova-item__media-wrapper{flex:0 0 auto}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-vertical-reverse{flex-direction:column-reverse}.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked),.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse{flex-direction:row}@media not screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked),.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse{flex-direction:column}}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__content,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal .nb-supernova-item__content,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse .nb-supernova-item__content{flex:1 0 var(--nb-card-content-column-width);width:var(--nb-card-content-column-width)}.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal .nb-supernova-item__media-wrapper,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse .nb-supernova-item__media-wrapper{flex:1 0 var(--nb-card-media-column-width);width:var(--nb-card-media-column-width)}}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse{flex-direction:row-reverse}@media not screen and (min-width:768px){.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse{flex-direction:column}}.nb-supernova-item--layout-stacked .nb-supernova-item__media-aspect-ratio:before{content:none}.nb-collection__layout.nb-collection__layout--variable-width .nb-supernova-item--layout-stacked .nb-supernova-item__content{height:100%;left:0;position:absolute;top:0;width:100%}.nb-collection__layout:not(.nb-collection__layout--variable-width) .nb-supernova-item--layout-stacked .nb-supernova-item__media-wrapper{height:100%;left:0;position:absolute;top:0;width:100%}.nb-supernova-item__media-aspect-ratio{min-height:100%;position:relative}.nb-supernova-item__media-aspect-ratio:before{content:"";display:block;padding-top:var(--nb-card-media-padding-top,100%);pointer-events:none}.nb-supernova-item__media-wrapper{padding:var(--nb-card-media-padding,0);position:relative;z-index:10}.nb-supernova-item__media-wrapper img,.nb-supernova-item__media-wrapper video{opacity:calc(1 - var(--nb-overlay-filter-strength, 0))}.nb-supernova-item__media-doppler{width:100%}.nb-supernova-item__content{position:relative;z-index:20}@media only screen and (min-width:768px){.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-vertical .nb-supernova-item__media-wrapper:not(:last-child){padding-bottom:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-vertical .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-top:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-vertical-reverse .nb-supernova-item__media-wrapper:not(:last-child){padding-top:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-vertical-reverse .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-bottom:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-horizontal .nb-supernova-item__media-wrapper:not(:last-child){padding-right:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-horizontal .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-left:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-horizontal-reverse .nb-supernova-item__media-wrapper:not(:last-child){padding-left:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-horizontal-reverse .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-right:0}.nb-collection__layout.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper:not(:last-child){padding-right:0}.nb-collection__layout.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-left:0}.nb-collection__layout.nb-collection__layout--parametric .nb-grid__area--portrait .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper:not(:last-child){padding-bottom:0}.nb-collection__layout.nb-collection__layout--parametric .nb-grid__area--portrait .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-top:0}}@media only screen and (min-width:768px){.nb-collection__layout--carousel.nb-collection__layout--variable-width .slick-track>*{flex-basis:1px}.nb-collection__layout--carousel.nb-collection__layout--variable-width .nb-supernova-item__media{height:var(--nb-variable-width-card-media-height);max-width:none;width:auto}.nb-collection__layout--carousel.nb-collection__layout--variable-width .slick-initialized .nb-supernova-item__media{height:auto}.nb-collection__layout--carousel.nb-collection__layout--variable-width .nb-supernova-item__media-aspect-ratio>*{position:static}.nb-collection__layout--carousel.nb-collection__layout--variable-width .nb-supernova-item__media-aspect-ratio:before{content:none}.nb-collection__layout--carousel.nb-collection__layout--variable-width .novablocks-media-composition{min-height:var(--nb-variable-width-card-media-height);width:var(--nb-variable-width-card-media-height)}}.nb-collection__layout--content-width .slick-slide{--slider-content-width:calc(100vw - (var(--nb-sidecar-sides) + var(--wds) + var(--wde) + var(--nb-sidecar-grid-gap))*2);width:var(--slider-content-width)!important}.nb-supernova-item__media-doppler{height:100%}a.nb-supernova-item__link{display:block}a.nb-supernova-item__link-overlay{bottom:0;display:block;left:0;margin:0!important;max-width:none!important;position:absolute;right:0;top:0}.nb-supernova-item .nb-supernova-item__inner-container>[class][class][class][class]:first-child{--nb-block-top-spacing:0}.nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-card__title[class][class][class]{--nb-block-top-spacing:0.35}.nb-card__buttons[class][class][class]{--nb-block-top-spacing:1;position:relative;z-index:1}.nb-card__meta-separator{box-sizing:content-box;display:inline-block;margin-left:0.25em;margin-right:0.25em;vertical-align:middle;width:2em}.nb-card__meta-separator:after{background:currentColor;content:"";display:block;height:0.075em;width:100%}.nb-card__title a:hover{color:var(--sm-current-accent-color)}.nb-collection .nb-collection__body[class]{margin-top:calc(var(--nb-block-top-spacing)*var(--nb-spacing)*1)}.nb-collection__layout{--nb-grid-spacing:calc(var(--nb-spacing)*var(--nb-grid-spacing-modifier)*0.02)}.nb-collection__layout>.nb-collection__layout-item[class]{margin:0}.nb-collection__layout--fixed-width .nb-supernova-item:not(.nb-supernova-item--aspect-ratio-auto) .nb-card__media-image{height:auto;left:0;max-width:none;min-height:100%;min-width:100%;position:absolute;top:0;width:auto}@supports (transform:translate(-50%,-50%)){.nb-collection__layout--fixed-width .nb-supernova-item:not(.nb-supernova-item--aspect-ratio-auto) .nb-card__media-image{left:50%;top:50%;transform:translate(-50%,-50%)}}@supports ((-o-object-fit:cover) or (object-fit:cover)){.nb-collection__layout--fixed-width .nb-supernova-item:not(.nb-supernova-item--aspect-ratio-auto) .nb-card__media-image{height:100%;left:0;min-height:0;min-width:0;-o-object-fit:cover;object-fit:cover;top:0;transform:none;width:100%}}.nb-supernova-item--aspect-ratio-auto :is(.nb-supernova-item__media-aspect-ratio,#specific)>*{position:static}.nb-supernova-item--aspect-ratio-auto :is(.nb-supernova-item__media-aspect-ratio,#specific):before{content:none}.nb-supernova-item--aspect-ratio-auto .novablocks-media-composition{min-height:var(--nb-variable-width-card-media-height);width:var(--nb-variable-width-card-media-height)}.nb-supernova-item--aspect-ratio-auto .novablocks-media-composition__image{display:block;height:auto;min-height:0;min-width:0;position:static;transform:none;width:100%}.nb-supernova-item--aspect-ratio-auto .novablocks-media-composition__grid-item-media{flex-grow:0}.nb-supernova-item--aspect-ratio-auto .blob-mix{position:relative}.nb-supernova-item--aspect-ratio-auto .blob-mix__mask{height:auto;position:static}.nb-supernova-item--aspect-ratio-auto .blob-mix__media{height:auto;position:relative}.nb-collection__layout--classic,.nb-collection__layout--masonry,.nb-collection__layout--parametric{--nb-collection-columns:var(--nb-collection-columns-count);--nb-collection-columns-below-tablet:1;grid-gap:var(--nb-grid-spacing);display:grid;grid-template-columns:repeat(var(--nb-collection-columns,1),1fr)}.nb-collection__layout--classic>*,.nb-collection__layout--masonry>*,.nb-collection__layout--parametric>*{margin:0;width:100%}@media not screen and (min-width:768px){.nb-collection__layout--classic,.nb-collection__layout--masonry,.nb-collection__layout--parametric{--nb-collection-columns:var(--nb-collection-columns-below-tablet,1)}}.nb-collection__layout-column{display:flex;flex-direction:column;gap:var(--nb-grid-spacing)}.slick-slider{-webkit-tap-highlight-color:transparent;box-sizing:border-box;display:block;position:relative;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-loading .slick-slide{visibility:hidden}.slick-vertical .slick-slide{border:1px solid transparent;display:block;height:auto}.slick-list{display:block;margin:0;overflow:hidden;padding:0;position:relative}.slick-list:focus{outline:none}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-track{align-items:stretch;display:block;display:flex;left:0;margin-left:auto;margin-right:auto;position:relative;top:0}.slick-track:after,.slick-track:before{content:"";display:table}.slick-track:after{clear:both}.slick-loading .slick-track{visibility:hidden}@media not screen and (min-width:1024px){.nb-collection__layout--carousel{margin-left:calc(var(--nb-sidecar-sides)*-1);margin-right:calc(var(--nb-sidecar-sides)*-1)}}.nb-collection__layout--carousel:not(.slick-initialized){display:flex}.nb-collection__layout--carousel:not(.slick-initialized)>.nb-collection__layout-item{flex:0 0 100%}.nb-collection__layout--carousel .slick-slide .nb-collection__layout-item{display:block!important}:is(.slick-arrow,.slick-dots,.specificity.x2){background:transparent}.slick-arrow{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border:none;border-radius:50%;color:transparent;cursor:pointer;display:block;font-size:0px!important;height:60px;line-height:0px;outline:none;padding:0;position:absolute;top:50%;transform:translateY(-50%);width:60px;z-index:1300}.slick-arrow:hover{background:transparent;color:transparent;outline:none}.slick-arrow:hover:before{opacity:1}.slick-arrow:hover:after{opacity:0.6}.slick-arrow:before{color:#fff;display:block;font-size:20px;height:32px;left:50%;line-height:1;opacity:1;position:absolute;top:50%;width:32px;z-index:1}.slick-arrow.slick-disabled:before{opacity:0.25}.slick-arrow.slick-hidden{display:none}.slick-arrow:after{background-color:#000;border:0;border-radius:50%;content:"";display:block;height:100%;margin-top:0;opacity:0.15;transform:none;transition:opacity 0.15s ease-in;width:100%}.slick-prev{left:25px}.slick-prev:before{content:"←"}.slick-next{right:25px}.slick-next:before{content:"→"}.slick-dots{display:block;list-style:none;margin:0;padding:var(--nb-spacing) 0 0 0;text-align:center;width:100%;z-index:1300}.slick-dots li{cursor:pointer;display:inline-block;position:relative}.slick-dots li button{background:none!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;color:inherit!important;cursor:pointer;margin:0 calc(var(--nb-spacing)/3);outline:0;padding:0!important;transition:opacity .15s ease}.slick-dots li button:hover{opacity:.6;outline:none}.slick-dots li button:hover:before{opacity:1}.slick-dots li.slick-active button{border-bottom-color:currentColor!important}.slick-dots li.slick-active button:before{color:#000;opacity:1}.nb-supernova--card-layout-stacked.nb-supernova--1-columns.nb-supernova--align-full.nb-supernova--show-pagination .nb-collection__layout--carousel .nb-supernova-item__inner-container{--nb-supernova-item-carousel-padding-bottom:calc(var(--nb-spacing)*2 + var(--current-font-size)*var(--current-line-height))}.nb-supernova--card-layout-stacked.nb-supernova--1-columns.nb-supernova--align-full .nb-collection__layout--carousel .slick-dots{bottom:0;padding-bottom:var(--nb-spacing);position:absolute}.nb-collection__layout--variable-width .nb-supernova-item__media-aspect-ratio>*{position:relative}@media only screen and (min-width:1024px){.nb-supernova:is(:not(.nb-supernova--card-layout-stacked.nb-supernova--1-columns),.nb-supernova--carousel-layout-variable) .slick-track{gap:var(--nb-grid-spacing)}}@media not screen and (min-width:1024px){.nb-supernova .slick-slide{padding-left:calc(var(--nb-grid-spacing)/4);padding-right:calc(var(--nb-grid-spacing)/4)}}.nb-supernova-item__content{display:flex;flex-direction:column;flex-grow:1;overflow:hidden}.nb-supernova-item__content:after,.nb-supernova-item__content:before{content:"";display:block;flex:1 0 auto;height:0}.nb-supernova-item__content--valign-bottom:after,.nb-supernova-item__content--valign-top:before{flex-grow:0}.nb-supernova--halign-left{text-align:left}.nb-supernova--halign-center{text-align:center}.nb-supernova--halign-right{text-align:right}.nb-supernova--halign-left .nb-supernova-item__inner-container[class]>*{margin-left:0}.nb-supernova--halign-right .nb-supernova-item__inner-container[class]>*{margin-right:0}@media not screen and (min-width:768px){.wp-block-query .nb-supernova--layout-carousel{text-align:center}.wp-block-query .nb-supernova--layout-carousel .nb-card__buttons,.wp-block-query .nb-supernova--layout-carousel .nb-card__description{display:none}.wp-block-query .nb-supernova--layout-carousel:not(.nb-supernova--card-layout-stacked){--nb-card-media-padding-top:100%!important}}.components-toolbar-group [aria-label="Grid view"],.components-toolbar-group [aria-label="List view"]{display:none}.nb-supernova[class*=sm-variation-]:not(.sm-color-signal-0){--emphasis-area-width:calc(var(--nb-emphasis-area, 100)*1%);--emphasis-area-gradient-direction:90deg;background:none!important;position:relative}.nb-supernova[class*=sm-variation-]:not(.sm-color-signal-0):before{background:linear-gradient(var(--emphasis-area-gradient-direction),var(--sm-current-bg-color,var(--nb-bg-color)) 0,var(--sm-current-bg-color,var(--nb-bg-color)) var(--emphasis-area-width),transparent var(--emphasis-area-width));bottom:0;content:"";grid-column:var(--block-full-start)/var(--block-full-end);left:0;position:absolute;right:0;top:0}.nb-supernova.nb-supernova--card-layout-horizontal{--emphasis-area-gradient-direction:-90deg}.nb-supernova-item.nb-supernova-item--layout-stacked{--nb-block-minimum-height:var(--nb-minimum-container-height);min-height:var(--nb-block-minimum-height)}[data-min-height-fallback="100"] .nb-supernova-item.nb-supernova-item--layout-stacked{--nb-block-minimum-height:calc(var(--nb-minimum-container-height) - var(--admin-bar-height, 0px) - var(--nb-promo-bar-height, 0px))}.nb-supernova-item.nb-supernova-item--layout-stacked.nb-supernova-item--scrolling-effect-doppler{--nb-block-minimum-height:calc(var(--nb-minimum-container-height)*2)}[data-min-height-fallback="50"] .nb-supernova-item.nb-supernova-item--layout-stacked.nb-supernova-item--scrolling-effect-doppler{--nb-block-minimum-height:calc(var(--nb-minimum-container-height)*2 - var(--admin-bar-height, 0px) - var(--nb-promo-bar-height, 0px))}.nb-supernova-item.nb-supernova-item--layout-stacked .nb-supernova-item__content{min-height:var(--nb-block-minimum-height)}.nb-supernova .nb-collection__header[class]{padding-bottom:calc(var(--emphasis-top-spacing)*-1*var(--nb-spacing))}.nb-collection__inner-container{position:relative}1 @charset "UTF-8";.nb-supernova{--nb-card-layout-gap:calc(var(--nb-current-spacing)*2*var(--nb-card-layout-gap-modifier, 0));--nb-card-content-padding:calc(var(--nb-current-spacing)*2*var(--nb-card-content-padding-multiplier, 0));--nb-card-media-padding:calc(var(--nb-current-spacing)*2*var(--nb-card-media-padding-multiplier, 0));--nb-card-content-column-width:calc(var(--nb-card-content-area-width) - var(--nb-card-layout-gap)*0.5);--nb-card-media-column-width:calc(100% - var(--nb-card-content-column-width) - var(--nb-card-layout-gap));--nb-variable-width-card-media-height:calc(10em + 20em*var(--nb-card-media-container-height, 50)/100)}.nb-supernova-item{display:flex;flex-direction:column;gap:var(--nb-card-layout-gap);position:relative}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item{height:100%}.nb-supernova-item .nb-supernova-item__content{flex-grow:0}:root{--nb-supernova-item-carousel-padding-bottom:0px;--nb-header-neighbour-padding-top:0px}.nb-supernova-item{--nb-header-neighbour-padding-top:0px}.nb-supernova-item__inner-container{--nb-supernova-item-padding-top:max(var(--nb-header-neighbour-padding-top),var(--nb-card-content-padding));--nb-supernova-item-padding-bottom:max(var(--nb-supernova-item-carousel-padding-bottom),var(--nb-card-content-padding));--nb-supernova-item-padding-max:max(var(--nb-supernova-item-padding-top),var(--nb-supernova-item-padding-bottom));padding:var(--nb-card-content-padding);padding-bottom:var(--nb-supernova-item-padding-bottom,0px)!important;padding-top:var(--nb-supernova-item-padding-top,0px)!important}.nb-supernova--card-layout-stacked.nb-supernova--valign-center .nb-supernova-item__inner-container{padding-bottom:var(--nb-supernova-item-padding-max,0px)!important;padding-top:var(--nb-supernova-item-padding-max,0px)!important}.nb-supernova-item__media-wrapper .blob-mix__mask{background-color:var(--sm-current-bg-color,var(--nb-bg-color))}.nb-supernova-item__media[class]{height:100%;-o-object-fit:var(--nb-card-media-object-fit,cover);object-fit:var(--nb-card-media-object-fit,cover);width:100%}.nb-supernova-item__media--placeholder{align-items:center;display:flex;justify-content:center}.nb-supernova-item__content,.nb-supernova-item__media-wrapper{flex:0 0 auto}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-vertical-reverse{flex-direction:column-reverse}.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked),.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse{flex-direction:row}@media not screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked),.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse{flex-direction:column}}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__content,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal .nb-supernova-item__content,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse .nb-supernova-item__content{flex:1 0 var(--nb-card-content-column-width);width:var(--nb-card-content-column-width)}.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal .nb-supernova-item__media-wrapper,.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse .nb-supernova-item__media-wrapper{flex:1 0 var(--nb-card-media-column-width);width:var(--nb-card-media-column-width)}}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse{flex-direction:row-reverse}@media not screen and (min-width:768px){.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item--layout-horizontal-reverse{flex-direction:column}}.nb-supernova-item--layout-stacked .nb-supernova-item__media-aspect-ratio:before{content:none}.nb-collection__layout.nb-collection__layout--variable-width .nb-supernova-item--layout-stacked .nb-supernova-item__content{height:100%;left:0;position:absolute;top:0;width:100%}.nb-collection__layout:not(.nb-collection__layout--variable-width) .nb-supernova-item--layout-stacked .nb-supernova-item__media-wrapper{height:100%;left:0;position:absolute;top:0;width:100%}.nb-supernova-item__media-aspect-ratio{min-height:100%;position:relative}.nb-supernova-item__media-aspect-ratio:before{content:"";display:block;padding-top:var(--nb-card-media-padding-top,100%);pointer-events:none}.nb-supernova-item__media-wrapper{padding:var(--nb-card-media-padding,0);position:relative;z-index:10}.nb-supernova-item__media-wrapper img,.nb-supernova-item__media-wrapper video{opacity:calc(1 - var(--nb-overlay-filter-strength, 0))}.nb-supernova-item__media-doppler{width:100%}.nb-supernova-item__content{position:relative;z-index:20}@media only screen and (min-width:768px){.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-vertical .nb-supernova-item__media-wrapper:not(:last-child){padding-bottom:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-vertical .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-top:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-vertical-reverse .nb-supernova-item__media-wrapper:not(:last-child){padding-top:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-vertical-reverse .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-bottom:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-horizontal .nb-supernova-item__media-wrapper:not(:last-child){padding-right:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-horizontal .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-left:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-horizontal-reverse .nb-supernova-item__media-wrapper:not(:last-child){padding-left:0}.nb-collection__layout:not(.nb-collection__layout--parametric) .nb-supernova-item.nb-supernova-item--layout-horizontal-reverse .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-right:0}.nb-collection__layout.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper:not(:last-child){padding-right:0}.nb-collection__layout.nb-collection__layout--parametric .nb-grid__area--landscape .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-left:0}.nb-collection__layout.nb-collection__layout--parametric .nb-grid__area--portrait .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper:not(:last-child){padding-bottom:0}.nb-collection__layout.nb-collection__layout--parametric .nb-grid__area--portrait .nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-supernova-item__media-wrapper+.nb-supernova-item__content .nb-supernova-item__inner-container[class]{padding-top:0}}@media only screen and (min-width:768px){.nb-collection__layout--carousel.nb-collection__layout--variable-width .slick-track>*{flex-basis:1px}.nb-collection__layout--carousel.nb-collection__layout--variable-width .nb-supernova-item__media{height:var(--nb-variable-width-card-media-height);max-width:none;width:auto}.nb-collection__layout--carousel.nb-collection__layout--variable-width .slick-initialized .nb-supernova-item__media{height:auto}.nb-collection__layout--carousel.nb-collection__layout--variable-width .nb-supernova-item__media-aspect-ratio>*{position:static}.nb-collection__layout--carousel.nb-collection__layout--variable-width .nb-supernova-item__media-aspect-ratio:before{content:none}.nb-collection__layout--carousel.nb-collection__layout--variable-width .novablocks-media-composition{min-height:var(--nb-variable-width-card-media-height);width:var(--nb-variable-width-card-media-height)}}.nb-collection__layout--content-width .slick-slide{--slider-content-width:calc(100vw - (var(--nb-sidecar-sides) + var(--wds) + var(--wde) + var(--nb-sidecar-grid-gap))*2);width:var(--slider-content-width)!important}.nb-supernova-item__media-doppler{height:100%}a.nb-supernova-item__link{display:block}a.nb-supernova-item__link-overlay{bottom:0;display:block;left:0;margin:0!important;max-width:none!important;position:absolute;right:0;top:0}.nb-supernova-item .nb-supernova-item__inner-container>[class][class][class][class]:first-child{--nb-block-top-spacing:0}.nb-supernova-item:not(.nb-supernova-item--layout-stacked) .nb-card__title[class][class][class]{--nb-block-top-spacing:0.35}.nb-card__buttons[class][class][class]{--nb-block-top-spacing:1;position:relative;z-index:1}.nb-card__meta-separator{box-sizing:content-box;display:inline-block;margin-left:0.25em;margin-right:0.25em;vertical-align:middle;width:2em}.nb-card__meta-separator:after{background:currentColor;content:"";display:block;height:0.075em;width:100%}.nb-card__title a:hover{color:var(--sm-current-accent-color)}.nb-collection .nb-collection__body[class]{margin-top:calc(var(--nb-block-top-spacing)*var(--nb-spacing)*1)}.nb-collection__layout{--nb-grid-spacing:calc(var(--nb-spacing)*var(--nb-grid-spacing-modifier)*0.02)}.nb-collection__layout>.nb-collection__layout-item[class]{margin:0}.nb-collection__layout--fixed-width .nb-supernova-item:not(.nb-supernova-item--aspect-ratio-auto) .nb-card__media-image{height:auto;left:0;max-width:none;min-height:100%;min-width:100%;position:absolute;top:0;width:auto}@supports (transform:translate(-50%,-50%)){.nb-collection__layout--fixed-width .nb-supernova-item:not(.nb-supernova-item--aspect-ratio-auto) .nb-card__media-image{left:50%;top:50%;transform:translate(-50%,-50%)}}@supports ((-o-object-fit:cover) or (object-fit:cover)){.nb-collection__layout--fixed-width .nb-supernova-item:not(.nb-supernova-item--aspect-ratio-auto) .nb-card__media-image{height:100%;left:0;min-height:0;min-width:0;-o-object-fit:cover;object-fit:cover;top:0;transform:none;width:100%}}.nb-supernova-item--aspect-ratio-auto :is(.nb-supernova-item__media-aspect-ratio,#specific)>*{position:static}.nb-supernova-item--aspect-ratio-auto :is(.nb-supernova-item__media-aspect-ratio,#specific):before{content:none}.nb-supernova-item--aspect-ratio-auto .novablocks-media-composition{min-height:var(--nb-variable-width-card-media-height);width:var(--nb-variable-width-card-media-height)}.nb-supernova-item--aspect-ratio-auto .novablocks-media-composition__image{display:block;height:auto;min-height:0;min-width:0;position:static;transform:none;width:100%}.nb-supernova-item--aspect-ratio-auto .novablocks-media-composition__grid-item-media{flex-grow:0}.nb-supernova-item--aspect-ratio-auto .blob-mix{position:relative}.nb-supernova-item--aspect-ratio-auto .blob-mix__mask{height:auto;position:static}.nb-supernova-item--aspect-ratio-auto .blob-mix__media{height:auto;position:relative}.nb-collection__layout--classic,.nb-collection__layout--masonry,.nb-collection__layout--parametric{--nb-collection-columns:var(--nb-collection-columns-count);--nb-collection-columns-below-tablet:1;grid-gap:var(--nb-grid-spacing);display:grid;grid-template-columns:repeat(var(--nb-collection-columns,1),1fr)}.nb-collection__layout--classic>*,.nb-collection__layout--masonry>*,.nb-collection__layout--parametric>*{margin:0;width:100%}@media not screen and (min-width:768px){.nb-collection__layout--classic,.nb-collection__layout--masonry,.nb-collection__layout--parametric{--nb-collection-columns:var(--nb-collection-columns-below-tablet,1)}}.nb-collection__layout-column{display:flex;flex-direction:column;gap:var(--nb-grid-spacing)}.slick-slider{-webkit-tap-highlight-color:transparent;box-sizing:border-box;display:block;position:relative;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}.slick-slide{display:none;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-loading .slick-slide{visibility:hidden}.slick-vertical .slick-slide{border:1px solid transparent;display:block;height:auto}.slick-list{display:block;margin:0;overflow:hidden;padding:0;position:relative}.slick-list:focus{outline:none}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-track{align-items:stretch;display:block;display:flex;left:0;margin-left:auto;margin-right:auto;position:relative;top:0}.slick-track:after,.slick-track:before{content:"";display:table}.slick-track:after{clear:both}.slick-loading .slick-track{visibility:hidden}@media not screen and (min-width:1024px){.nb-supernova:not(.nb-supernova--card-layout-stacked.nb-supernova--1-columns.nb-supernova--align-full) .nb-collection__layout--carousel{margin-left:calc(var(--nb-sidecar-sides)*-1);margin-right:calc(var(--nb-sidecar-sides)*-1)}}.nb-collection__layout--carousel:not(.slick-initialized){display:flex}.nb-collection__layout--carousel:not(.slick-initialized)>.nb-collection__layout-item{flex:0 0 100%}.nb-collection__layout--carousel .slick-slide .nb-collection__layout-item{display:block!important}:is(.slick-arrow,.slick-dots,.specificity.x2){background:transparent}.slick-arrow{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border:none;border-radius:50%;color:transparent;cursor:pointer;display:block;font-size:0px!important;height:60px;line-height:0px;outline:none;padding:0;position:absolute;top:50%;transform:translateY(-50%);width:60px;z-index:1300}.slick-arrow:hover{background:transparent;color:transparent;outline:none}.slick-arrow:hover:before{opacity:1}.slick-arrow:hover:after{opacity:0.6}.slick-arrow:before{color:#fff;display:block;font-size:20px;height:32px;left:50%;line-height:1;opacity:1;position:absolute;top:50%;width:32px;z-index:1}.slick-arrow.slick-disabled:before{opacity:0.25}.slick-arrow.slick-hidden{display:none}.slick-arrow:after{background-color:#000;border:0;border-radius:50%;content:"";display:block;height:100%;margin-top:0;opacity:0.15;transform:none;transition:opacity 0.15s ease-in;width:100%}.slick-prev{left:25px}.slick-prev:before{content:"←"}.slick-next{right:25px}.slick-next:before{content:"→"}.slick-dots{display:block;list-style:none;margin:0;padding:var(--nb-spacing) 0 0 0;text-align:center;width:100%;z-index:1300}.slick-dots li{cursor:pointer;display:inline-block;position:relative}.slick-dots li button{background:none!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;color:inherit!important;cursor:pointer;margin:0 calc(var(--nb-spacing)/3);outline:0;padding:0!important;transition:opacity .15s ease}.slick-dots li button:hover{opacity:.6;outline:none}.slick-dots li button:hover:before{opacity:1}.slick-dots li.slick-active button{border-bottom-color:currentColor!important}.slick-dots li.slick-active button:before{color:#000;opacity:1}.nb-supernova--card-layout-stacked.nb-supernova--1-columns.nb-supernova--align-full.nb-supernova--show-pagination .nb-collection__layout--carousel .nb-supernova-item__inner-container{--nb-supernova-item-carousel-padding-bottom:calc(var(--nb-spacing)*2 + var(--current-font-size)*var(--current-line-height))}.nb-supernova--card-layout-stacked.nb-supernova--1-columns.nb-supernova--align-full .nb-collection__layout--carousel .slick-dots{bottom:0;padding-bottom:var(--nb-spacing);position:absolute}.nb-collection__layout--variable-width .nb-supernova-item__media-aspect-ratio>*{position:relative}@media only screen and (min-width:1024px){.nb-supernova:is(:not(.nb-supernova--card-layout-stacked.nb-supernova--1-columns),.nb-supernova--carousel-layout-variable) .slick-track{gap:var(--nb-grid-spacing)}}@media not screen and (min-width:1024px){.nb-supernova .slick-slide{padding-left:calc(var(--nb-grid-spacing)/4);padding-right:calc(var(--nb-grid-spacing)/4)}}.nb-supernova-item__content{display:flex;flex-direction:column;flex-grow:1;overflow:hidden}.nb-supernova-item__content:after,.nb-supernova-item__content:before{content:"";display:block;flex:1 0 auto;height:0}.nb-supernova-item__content--valign-bottom:after,.nb-supernova-item__content--valign-top:before{flex-grow:0}.nb-supernova--halign-left{text-align:left}.nb-supernova--halign-center{text-align:center}.nb-supernova--halign-right{text-align:right}.nb-supernova--halign-left .nb-supernova-item__inner-container[class]>*{margin-left:0}.nb-supernova--halign-right .nb-supernova-item__inner-container[class]>*{margin-right:0}@media not screen and (min-width:768px){.wp-block-query .nb-supernova--layout-carousel{text-align:center}.wp-block-query .nb-supernova--layout-carousel .nb-card__buttons,.wp-block-query .nb-supernova--layout-carousel .nb-card__description{display:none}.wp-block-query .nb-supernova--layout-carousel:not(.nb-supernova--card-layout-stacked){--nb-card-media-padding-top:100%!important}}.components-toolbar-group [aria-label="Grid view"],.components-toolbar-group [aria-label="List view"]{display:none}.nb-supernova[class*=sm-variation-]:not(.sm-color-signal-0){--emphasis-area-width:calc(var(--nb-emphasis-area, 100)*1%);--emphasis-area-gradient-direction:90deg;background:none!important;position:relative}.nb-supernova[class*=sm-variation-]:not(.sm-color-signal-0):before{background:linear-gradient(var(--emphasis-area-gradient-direction),var(--sm-current-bg-color,var(--nb-bg-color)) 0,var(--sm-current-bg-color,var(--nb-bg-color)) var(--emphasis-area-width),transparent var(--emphasis-area-width));bottom:0;content:"";grid-column:var(--block-full-start)/var(--block-full-end);left:0;position:absolute;right:0;top:0}.nb-supernova.nb-supernova--card-layout-horizontal{--emphasis-area-gradient-direction:-90deg}.nb-supernova-item.nb-supernova-item--layout-stacked{--nb-block-minimum-height:var(--nb-minimum-container-height);min-height:var(--nb-block-minimum-height)}[data-min-height-fallback="100"] .nb-supernova-item.nb-supernova-item--layout-stacked{--nb-block-minimum-height:calc(var(--nb-minimum-container-height) - var(--admin-bar-height, 0px) - var(--nb-promo-bar-height, 0px))}.nb-supernova-item.nb-supernova-item--layout-stacked.nb-supernova-item--scrolling-effect-doppler{--nb-block-minimum-height:calc(var(--nb-minimum-container-height)*2)}[data-min-height-fallback="50"] .nb-supernova-item.nb-supernova-item--layout-stacked.nb-supernova-item--scrolling-effect-doppler{--nb-block-minimum-height:calc(var(--nb-minimum-container-height)*2 - var(--admin-bar-height, 0px) - var(--nb-promo-bar-height, 0px))}.nb-supernova-item.nb-supernova-item--layout-stacked .nb-supernova-item__content{min-height:var(--nb-block-minimum-height)}.nb-supernova .nb-collection__header[class]{padding-bottom:calc(var(--emphasis-top-spacing)*-1*var(--nb-spacing))}.nb-collection__inner-container{position:relative} -
nova-blocks/trunk/build/collection/frontend.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('jquery', 'novablocks-utils', 'wp- polyfill'), 'version' => '7f2e00be9837f7d9189f285ce5442175');1 <?php return array('dependencies' => array('jquery', 'novablocks-utils', 'wp-dom-ready', 'wp-polyfill'), 'version' => '4c13b1d5fb6fc03431dd7b455b863c17'); -
nova-blocks/trunk/build/collection/frontend.js
r2738702 r2744078 1 !function(e){var t={};function n(o){if(t[o])return t[o].exports;var a=t[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(o,a,function(t){return e[t]}.bind(null,a));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1 1)}([function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.novablocks.utils},function(e,t){e.exports=window.jQuery},,,,,,,,,function(e,t,n){"use strict";var o=n(0)(n(2)),a=n(1);n(12);(0,o.default)((function(){a.IS_EDITOR||a.IS_CUSTOMIZER||r(".nb-collection__layout")}));var r=function(e){(0,o.default)(e).each((function(e,t){var n=(0,o.default)(t),r=n.closest("[data-layout-style]"),l=r.data();["classic","carousel"].includes(l.layoutStyle)&&function(e,t,n){e.addClass("nb-grid__area--".concat(n.isLandscape?"landscape":"portrait")),e.addClass((0,a.getAreaClassnameByWidthRatio)(1/n.columns)),t.addClass("novablocks-block--ready")}(n,r,l),"parametric"===l.layoutStyle&&function(e,t,n){var r=e.children(),l=r.length,c=t.find(".nb-collection__header").detach(),i=t.find(".nb-collection__body"),s=(0,a.debounce)((function(){e.contents().replaceWith(r),e.css({display:"",gridTemplateColumns:"",gridTemplateRowss:""}),r.removeClass("nb-card--portrait"),r.removeClass("nb-card--landscape"),d()}),100);function d(){var s=e.outerWidth();r.detach(),e.empty(),t.find(".js-collection-element-clone").remove();var d=0,u=(0,a.applyLayoutEngine)(n),f=u.length,p=Math.floor((f-1)/2),v=f-1-p;if((0,a.below)("lap")){for(var b=0;b<p;b++)(0,a.removeSmallestColumn)(u);if((0,a.below)("tablet"))for(var g=0;g<v;g++)(0,a.removeSmallestColumn)(u)}(0,a.redistributeCardsInAreas)(u,l,n);var m=n.flipcolsrows?n.gridrows:n.gridcolumns,y=n.flipcolsrows?n.gridcolumns:n.gridrows,h=u.reduce((function(e,t){return Math.max(e,t.col+t.width-1)}),0),_=u.reduce((function(e,t){return Math.max(e,t.row+t.height-1)}),0);m=Math.min(m,h),y=Math.min(y,_);var w=Object.assign({},n,{gridcolumns:n.flipcolsrows?y:m,gridrows:n.flipcolsrows?m:y});e.css((0,a.getGridStyle)(w)),((0,a.below)("lap")||0===n.headerPosition)&&c.clone().addClass("js-collection-element-clone").insertBefore(i);for(var C=0;C<u.length;C++){var x=u[C],S=x.areas,k=x.row,T=x.col,M=x.width,O=x.height,j=(0,o.default)('<div class="nb-grid__column">');j.css("grid-area","".concat(k," / ").concat(T," / span ").concat(O," / span ").concat(M)),j.attr("data-area","".concat(k," / ").concat(T," / span ").concat(O," / span ").concat(M));for(var P=function(e){var t=S[e],l=Math.min(1,s/1152),i=(0,a.getAreaClassname)(t,n,l);d+=t.postsCount;var u=(0,o.default)('<div class="'.concat(i,'">'));Array.from(Array(t.postsCount).keys()).map((function(e){var l=(0,o.default)('<div class="nb-grid__item">'),i=r.eq(d-t.postsCount+e),s=(0,a.isLandscape)(t,n);if(i.toggleClass("nb-card--landscape",!!s),i.toggleClass("nb-card--portrait",!s),i.appendTo(l),!(0,a.below)("lap")&&n.headerPosition===d-t.postsCount+e+1){var f=(0,o.default)('<div class="nb-grid__item js-collection-element-clone">');c.clone().appendTo(f),f.appendTo(u)}l.appendTo(u)})),u.appendTo(j)},E=0;E<S.length;E++)P(E);j.appendTo(e)}}d(),t.addClass("novablocks-block--ready"),(0,o.default)(window).on("resize",s)}(n,r,l),"masonry"===l.layoutStyle&&function(e,t,n){var a=e.children(),r=n.columns,l=a.toArray().reduce((function(e,t,n){return e[n%r]||(e[n%r]=[]),e[n%r].push(t),e}),[]);(0,o.default)();l.forEach((function(t){var n=(0,o.default)('<div class="nb-collection__layout-column">');t.forEach((function(e){(0,o.default)(e).appendTo(n)})),n.appendTo(e)}))}(n,0,l)}));var t=new CustomEvent("nb:layout");window.dispatchEvent(t)}},function(e,t,n){"use strict";var o=n(0)(n(2)),a=n(1),r=n(13);(0,o.default)((function(){l()}));var l=function(){a.IS_EDITOR||a.IS_CUSTOMIZER||(0,o.default)(".nb-collection__layout--carousel").each((function(e,t){var n=(0,o.default)(t),a=n.closest('[data-layout-style="carousel"]'),l=a.data(),c="sm-palette-".concat(l.palette),i="sm-variation-".concat(l.contentPaletteVariation),s="sm-color-signal-".concat(l.contentColorSignal),d='<button class="slick-prev '.concat(c," ").concat(i," ").concat(s,'" aria-label="Previous" type="button">Previous</button>'),u='<button class="slick-next '.concat(c," ").concat(i," ").concat(s,'" aria-label="Next" type="button">Next</button>'),f="variable"===l.carouselLayout||"content"===l.carouselLayout,p=1===l.showPagination,v=1===l.showArrows,b="static"===a.data("scrollingEffect"),g={dotsClass:"slick-dots ".concat(c," ").concat(i," ").concat(s),prevArrow:d,nextArrow:u,customPaging:function(e,t){var n=t+1,a=n<=9?"<span>0</span>".concat(n):n;return(0,o.default)('<button type="button" />').html(a)},mobileFirst:!0,dots:!0,arrows:!1,infinite:!0,slidesToShow:1,slidesToScroll:1,centerMode:!0,centerPadding:"calc(var(--nb-sidecar-sides) - var(--nb-grid-spacing) / 4)",variableWidth:!1,responsive:[{breakpoint:768,settings:{dots:p,arrows:v,slidesToShow:f?1:l.columns,centerMode:!1,variableWidth:f}}]};"stacked"===l.cardLayout&&1===l.columns&&"variable"!==l.carouselLayout&&(Object.assign(g,{fade:!0,speed:1e3}),n.on("beforeChange",(function(e,t,n,o){(0,r.onBeforeSlideChange)(e,t,n,o,b)}))),n.children().length>1&&n.slick(g)}))}},function(e,t,n){"use strict";var o=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.onBeforeSlideChange=t.hasFixedBackground=t.getDirection=void 0;var a=o(n(2)),r=o(n(14));t.hasFixedBackground=function(e){return"fixed"===e.find(".novablocks-doppler__target").css("position")};t.onBeforeSlideChange=function(e,t,n,o){var c=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=(0,a.default)(t.$slides[n]),s=(0,a.default)(t.$slides[o]),d=l(t,n,o);(0,r.default)(i,s,d,c)};var l=function(e,t,n){if(e.slideCount>2){if(0===t&&n===e.slideCount-1)return-1;if(n<t&&(0!==n||t!==e.slideCount-1))return-1}return 1};t.getDirection=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=".nb-supernova-item__media-wrapper",a=function(e,t,n){n?e.style.transform="translate3d(".concat(t,"px,0,0)"):e.style.left="".concat(t,"px")},r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],l=e.outerWidth(),c=300,i=t.children().get(0),s=t.find(".nb-supernova-item__content").get(0),d=t.find(o).get(0),u=e.find(o).get(0);e.velocity({tween:[0,1]},{duration:1e3,easing:"easeInOutCirc",begin:function(){e.addClass("slick-slide--current"),t.addClass("slick-slide--next"),i.style.position="relative",s&&(s.style.position="relative")},progress:function(e,t,o,f,p){i&&a(i,l*p*n,r),s&&a(s,-l*p*n,r),d&&a(d,(c-l)*p*n,r),u&&a(u,-c*(1-p)*n,r);var v=new CustomEvent("nb:slick-update");window.dispatchEvent(v)},complete:function(){e.removeClass("slick-slide--current"),t.removeClass("slick-slide--next")}})};t.default=r}]);1 !function(e){var t={};function n(o){if(t[o])return t[o].exports;var a=t[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(o,a,function(t){return e[t]}.bind(null,a));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=12)}([function(e,t){e.exports=window.novablocks.utils},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.domReady},function(e,t){e.exports=window.jQuery},,,,,,,,,function(e,t,n){"use strict";n(13),n(16)},function(e,t,n){"use strict";var o=n(1)(n(3)),a=n(0),r=n(14);(0,o.default)((function(){i()}));var i=function(){a.IS_EDITOR||a.IS_CUSTOMIZER||(0,o.default)(".nb-collection__layout--carousel").each((function(e,t){var n=(0,o.default)(t),a=n.closest('[data-layout-style="carousel"]'),i=a.data(),l="sm-palette-".concat(i.palette),c="sm-variation-".concat(i.contentPaletteVariation),s="sm-color-signal-".concat(i.contentColorSignal),d='<button class="slick-prev '.concat(l," ").concat(c," ").concat(s,'" aria-label="Previous" type="button">Previous</button>'),u='<button class="slick-next '.concat(l," ").concat(c," ").concat(s,'" aria-label="Next" type="button">Next</button>'),f="variable"===i.carouselLayout||"content"===i.carouselLayout,p=1===i.showPagination,v=1===i.showArrows,m="static"===a.data("scrollingEffect"),b={dotsClass:"slick-dots ".concat(l," ").concat(c," ").concat(s),prevArrow:d,nextArrow:u,customPaging:function(e,t){var n=t+1,a=n<=9?"<span>0</span>".concat(n):n;return(0,o.default)('<button type="button" />').html(a)},mobileFirst:!0,dots:!0,arrows:!1,infinite:!0,slidesToShow:1,slidesToScroll:1,centerMode:!0,centerPadding:"calc(var(--nb-sidecar-sides) - var(--nb-grid-spacing) / 4)",variableWidth:!1,responsive:[{breakpoint:768,settings:{dots:p,arrows:v,slidesToShow:f?1:i.columns,centerMode:!1,variableWidth:f}}]};"stacked"===i.cardLayout&&1===i.columns&&"variable"!==i.carouselLayout&&(Object.assign(b,{fade:!0,speed:1e3}),n.on("beforeChange",(function(e,t,n,o){(0,r.onBeforeSlideChange)(e,t,n,o,m)}))),n.children().length>1&&n.slick(b)}))}},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.onBeforeSlideChange=t.hasFixedBackground=t.getDirection=void 0;var a=o(n(3)),r=o(n(15));t.hasFixedBackground=function(e){return"fixed"===e.find(".novablocks-doppler__target").css("position")};t.onBeforeSlideChange=function(e,t,n,o){var l=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],c=(0,a.default)(t.$slides[n]),s=(0,a.default)(t.$slides[o]),d=i(t,n,o);(0,r.default)(c,s,d,l)};var i=function(e,t,n){if(e.slideCount>2){if(0===t&&n===e.slideCount-1)return-1;if(n<t&&(0!==n||t!==e.slideCount-1))return-1}return 1};t.getDirection=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=".nb-supernova-item__media-wrapper",a=function(e,t,n){n?e.style.transform="translate3d(".concat(t,"px,0,0)"):e.style.left="".concat(t,"px")},r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=e.outerWidth(),l=300,c=t.children().get(0),s=t.find(".nb-supernova-item__content").get(0),d=t.find(o).get(0),u=e.find(o).get(0);e.velocity({tween:[0,1]},{duration:1e3,easing:"easeInOutCirc",begin:function(){e.addClass("slick-slide--current"),t.addClass("slick-slide--next"),c.style.position="relative",s&&(s.style.position="relative")},progress:function(e,t,o,f,p){c&&a(c,i*p*n,r),s&&a(s,-i*p*n,r),d&&a(d,(l-i)*p*n,r),u&&a(u,-l*(1-p)*n,r);var v=new CustomEvent("nb:slick-update");window.dispatchEvent(v)},complete:function(){e.removeClass("slick-slide--current"),t.removeClass("slick-slide--next")}})};t.default=r},function(e,t,n){"use strict";var o=n(1)(n(2)),a=n(0),r=n(17),i=n(18),l=n(19);(0,o.default)((function(){if(!a.IS_EDITOR&&!a.IS_CUSTOMIZER){document.querySelectorAll(".nb-collection__layout").forEach((function(e){var t=e.closest("[data-layout-style]"),n=(0,a.getAttributes)(t);["classic","carousel"].includes(n.layoutStyle)&&(0,r.handleClassicGrid)(e,t,n),"parametric"===n.layoutStyle&&(0,l.handleParametricGrid)(e,t,n),"masonry"===n.layoutStyle&&(0,i.handleMasonryGrid)(e,n)}));var e=new CustomEvent("nb:layout");window.dispatchEvent(e)}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleClassicGrid=void 0;var o=n(0);t.handleClassicGrid=function(e,t,n){var a=n.columns,r=n.isLandscape?"landscape":"portrait",i=(0,o.getAreaClassnameByWidthRatio)(1/a);(0,o.addClass)(e,"nb-grid__area--".concat(r," ").concat(i)),(0,o.addClass)(t,"novablocks-block--ready")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleMasonryGrid=void 0;var o=n(0);t.handleMasonryGrid=function(e,t){var n=t.columns;Array.from(e.children).reduce((function(e,t,o){return e[o%n]||(e[o%n]=[]),e[o%n].push(t),e}),[]).forEach((function(t){var n=document.createElement("div");(0,o.addClass)(n,"nb-collection__layout-column"),t.forEach((function(e){n.appendChild(e)})),e.appendChild(n)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleParametricGrid=void 0;var o=n(0);t.handleParametricGrid=function(e,t,n){var a=Array.from(e.children),r=t.querySelector(".nb-collection__header"),i=t.querySelector(".nb-collection__body"),l=(0,o.debounce)((function(){e.innerHTML=a.reduce((function(e,t){return e+t.outerHTML}),""),(0,o.applyCSS)(e,{display:"",gridTemplateColumns:"",gridTemplateRowss:""}),a.forEach((function(e){(0,o.removeClass)(e,"nb-card--landscape nb-card--portrait")})),c()}),100);function c(){a.forEach(o.remove),(0,o.empty)(e);var l=t.querySelector(".js-collection-element-clone");(0,o.remove)(l);var c=0,s=(0,o.applyLayoutEngine)(n),d=s.length,u=Math.floor((d-1)/2),f=d-1-u;if((0,o.below)("lap")){for(var p=0;p<u;p++)(0,o.removeSmallestColumn)(s);if((0,o.below)("tablet"))for(var v=0;v<f;v++)(0,o.removeSmallestColumn)(s)}(0,o.redistributeCardsInAreas)(s,a.length,n);var m=n.flipcolsrows?n.gridrows:n.gridcolumns,b=n.flipcolsrows?n.gridcolumns:n.gridrows,h=s.reduce((function(e,t){return Math.max(e,t.col+t.width-1)}),0),y=s.reduce((function(e,t){return Math.max(e,t.row+t.height-1)}),0);m=Math.min(m,h),b=Math.min(b,y);var g=Object.assign({},n,{gridcolumns:n.flipcolsrows?b:m,gridrows:n.flipcolsrows?m:b});if((0,o.applyCSS)(e,(0,o.getGridStyle)(g)),r&&((0,o.below)("lap")||0===n.headerPosition)){var C=r.cloneNode(!0);(0,o.addClass)(C,"js-collection-element-clone"),i.insertAdjacentElement("beforeStart",C)}for(var _=0;_<s.length;_++){var w=s[_],S=w.areas,M=w.row,x=w.col,E=w.width,P=w.height,k=document.createElement("div");(0,o.addClass)(k,"nb-grid__column"),k.style["grid-area"]="".concat(M," / ").concat(x," / span ").concat(P," / span ").concat(E);for(var j=function(t){var i=S[t],l=Math.min(1,e.offsetWidth/1152),s=(0,o.getAreaClassname)(i,n,l);c+=i.postsCount;var d=document.createElement("div");(0,o.addClass)(d,s),Array.from(Array(i.postsCount).keys()).map((function(e){var t=document.createElement("div"),l=a[c-i.postsCount+e],s=(0,o.isLandscape)(i,n);if((0,o.addClass)(t,"nb-grid__item"),(0,o.toggleClass)(l,"nb-card--landscape",!!s),(0,o.toggleClass)(l,"nb-card--portrait",!s),t.appendChild(l),r&&!(0,o.below)("lap")&&n.headerPosition===c-i.postsCount+e+1){var u=document.createElement("div"),f=r.cloneElement(!0);(0,o.addClass)(u,"nb-grid__item js-collection-element-clone"),u.appendChild(f),d.appendChild(u)}d.appendChild(t)})),k.appendChild(d)},O=0;O<S.length;O++)j(O);e.appendChild(k)}}(0,o.remove)(r),c(),(0,o.addClass)(t,"novablocks-block--ready"),window.addEventListener("resize",l)}}]); -
nova-blocks/trunk/build/collection/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('jquery', 'novablocks-block-editor', 'novablocks-utils', 'react', 'wp-block-editor', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => ' 7971bd548392c598fc403c0c3383ca4f');1 <?php return array('dependencies' => array('jquery', 'novablocks-block-editor', 'novablocks-utils', 'react', 'wp-block-editor', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '0d8aad9da74be9be8cd6208f24261df9'); -
nova-blocks/trunk/build/collection/index.js
r2738702 r2744078 1 this.novablocks=this.novablocks||{},this.novablocks.collection=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7 6)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.i18n},,,function(e,t){e.exports=window.novablocks.utils},function(e,t){e.exports=window.novablocks.blockEditor},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},,,,function(e,t,n){var r;1 this.novablocks=this.novablocks||{},this.novablocks.collection=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=78)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.i18n},,,function(e,t){e.exports=window.novablocks.utils},function(e,t){e.exports=window.novablocks.blockEditor},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},,,,function(e,t,n){var r; 2 2 /*! 3 3 Copyright (c) 2017 Jed Watson. 4 4 Licensed under the MIT License (MIT), see 5 5 http://jedwatson.github.io/classnames 6 */!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=i.apply(null,r);a&&e.push(a)}else if("object"===o)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},,,,function(e,t){e.exports=window.React},function(e,t){e.exports=window.wp.blockEditor},,,,,,,,,,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,function(e,t){e.exports=window.jQuery},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clamp=l,t.canUseDOM=t.slidesOnLeft=t.slidesOnRight=t.siblingDirection=t.getTotalSlides=t.getPostClones=t.getPreClones=t.getTrackLeft=t.getTrackAnimateCSS=t.getTrackCSS=t.checkSpecKeys=t.getSlideCount=t.checkNavigable=t.getNavigableIndexes=t.swipeEnd=t.swipeMove=t.swipeStart=t.keyHandler=t.changeSlide=t.slideHandler=t.initializedState=t.extractObject=t.canGoNext=t.getSwipeDirection=t.getHeight=t.getWidth=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.lazyStartIndex=t.getRequiredLazySlides=t.getOnDemandLazySlides=t.safePreventDefault=void 0;var r,i=(r=n(15))&&r.__esModule?r:{default:r};function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t,n){return Math.max(t,Math.min(e,n))}var c=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=c;var u=function(e){for(var t=[],n=d(e),r=f(e),i=n;i<r;i++)e.lazyLoadedList.indexOf(i)<0&&t.push(i);return t};t.getOnDemandLazySlides=u;t.getRequiredLazySlides=function(e){for(var t=[],n=d(e),r=f(e),i=n;i<r;i++)t.push(i);return t};var d=function(e){return e.currentSlide-p(e)};t.lazyStartIndex=d;var f=function(e){return e.currentSlide+h(e)};t.lazyEndIndex=f;var p=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=p;var h=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=h;var v=function(e){return e&&e.offsetWidth||0};t.getWidth=v;var y=function(e){return e&&e.offsetHeight||0};t.getHeight=y;var b=function(e){var t,n,r,i,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,r=Math.atan2(n,t),(i=Math.round(180*r/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315?"left":i>=135&&i<=225?"right":!0===o?i>=35&&i<=135?"up":"down":"vertical"};t.getSwipeDirection=b;var g=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};t.canGoNext=g;t.extractObject=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n};t.initializedState=function(e){var t,n=i.default.Children.count(e.children),r=e.listRef,o=Math.ceil(v(r)),s=e.trackRef&&e.trackRef.node,l=Math.ceil(v(s));if(e.vertical)t=o;else{var c=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(c*=o/100),t=Math.ceil((o-c)/e.slidesToShow)}var d=r&&y(r.querySelector('[data-index="0"]')),f=d*e.slidesToShow,p=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(p=n-1-e.initialSlide);var h=e.lazyLoadedList||[],b=u(a(a({},e),{},{currentSlide:p,lazyLoadedList:h})),g={slideCount:n,slideWidth:t,listWidth:o,trackWidth:l,currentSlide:p,slideHeight:d,listHeight:f,lazyLoadedList:h=h.concat(b)};return null===e.autoplaying&&e.autoplay&&(g.autoplaying="playing"),g};t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,i=e.infinite,o=e.index,s=e.slideCount,c=e.lazyLoad,d=e.currentSlide,f=e.centerMode,p=e.slidesToScroll,h=e.slidesToShow,v=e.useCSS,y=e.lazyLoadedList;if(t&&n)return{};var b,m,w,S=o,O={},E={},T=i?o:l(o,0,s-1);if(r){if(!i&&(o<0||o>=s))return{};o<0?S=o+s:o>=s&&(S=o-s),c&&y.indexOf(S)<0&&(y=y.concat(S)),O={animating:!0,currentSlide:S,lazyLoadedList:y,targetSlide:S},E={animating:!1,targetSlide:S}}else b=S,S<0?(b=S+s,i?s%p!=0&&(b=s-s%p):b=0):!g(e)&&S>d?S=b=d:f&&S>=s?(S=i?s:s-1,b=i?0:s-1):S>=s&&(b=S-s,i?s%p!=0&&(b=0):b=s-h),!i&&S+h>=s&&(b=s-h),m=j(a(a({},e),{},{slideIndex:S})),w=j(a(a({},e),{},{slideIndex:b})),i||(m===w&&(S=b),m=w),c&&(y=y.concat(u(a(a({},e),{},{currentSlide:S})))),v?(O={animating:!0,currentSlide:b,trackStyle:_(a(a({},e),{},{left:m})),lazyLoadedList:y,targetSlide:T},E={animating:!1,currentSlide:b,trackStyle:k(a(a({},e),{},{left:w})),swipeLeft:null,targetSlide:T}):O={currentSlide:b,trackStyle:k(a(a({},e),{},{left:w})),lazyLoadedList:y,targetSlide:T};return{state:O,nextState:E}};t.changeSlide=function(e,t){var n,r,i,o,s=e.slidesToScroll,l=e.slidesToShow,c=e.slideCount,u=e.currentSlide,d=e.targetSlide,f=e.lazyLoad,p=e.infinite;if(n=c%s!=0?0:(c-u)%s,"previous"===t.message)o=u-(i=0===n?s:l-n),f&&!p&&(o=-1===(r=u-i)?c-1:r),p||(o=d-s);else if("next"===t.message)o=u+(i=0===n?s:n),f&&!p&&(o=(u+s)%c+n),p||(o=d+s);else if("dots"===t.message)o=t.index*t.slidesToScroll;else if("children"===t.message){if(o=t.index,p){var h=x(a(a({},e),{},{targetSlide:o}));o>t.currentSlide&&"left"===h?o-=c:o<t.currentSlide&&"right"===h&&(o+=c)}}else"index"===t.message&&(o=Number(t.index));return o};t.keyHandler=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""};t.swipeStart=function(e,t,n){return"IMG"===e.target.tagName&&c(e),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}};t.swipeMove=function(e,t){var n=t.scrolling,r=t.animating,i=t.vertical,o=t.swipeToSlide,s=t.verticalSwiping,l=t.rtl,u=t.currentSlide,d=t.edgeFriction,f=t.edgeDragged,p=t.onEdge,h=t.swiped,v=t.swiping,y=t.slideCount,m=t.slidesToScroll,w=t.infinite,S=t.touchObject,O=t.swipeEvent,_=t.listHeight,E=t.listWidth;if(!n){if(r)return c(e);i&&o&&s&&c(e);var T,P={},x=j(t);S.curX=e.touches?e.touches[0].pageX:e.clientX,S.curY=e.touches?e.touches[0].pageY:e.clientY,S.swipeLength=Math.round(Math.sqrt(Math.pow(S.curX-S.startX,2)));var C=Math.round(Math.sqrt(Math.pow(S.curY-S.startY,2)));if(!s&&!v&&C>10)return{scrolling:!0};s&&(S.swipeLength=C);var L=(l?-1:1)*(S.curX>S.startX?1:-1);s&&(L=S.curY>S.startY?1:-1);var M=Math.ceil(y/m),R=b(t.touchObject,s),z=S.swipeLength;return w||(0===u&&("right"===R||"down"===R)||u+1>=M&&("left"===R||"up"===R)||!g(t)&&("left"===R||"up"===R))&&(z=S.swipeLength*d,!1===f&&p&&(p(R),P.edgeDragged=!0)),!h&&O&&(O(R),P.swiped=!0),T=i?x+z*(_/E)*L:l?x-z*L:x+z*L,s&&(T=x+z*L),P=a(a({},P),{},{touchObject:S,swipeLeft:T,trackStyle:k(a(a({},t),{},{left:T}))}),Math.abs(S.curX-S.startX)<.8*Math.abs(S.curY-S.startY)?P:(S.swipeLength>10&&(P.swiping=!0,c(e)),P)}};t.swipeEnd=function(e,t){var n=t.dragging,r=t.swipe,i=t.touchObject,o=t.listWidth,s=t.touchThreshold,l=t.verticalSwiping,u=t.listHeight,d=t.swipeToSlide,f=t.scrolling,p=t.onSwipe,h=t.targetSlide,v=t.currentSlide,y=t.infinite;if(!n)return r&&c(e),{};var g=l?u/s:o/s,m=b(i,l),O={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(f)return O;if(!i.swipeLength)return O;if(i.swipeLength>g){var k,E;c(e),p&&p(m);var T=y?v:h;switch(m){case"left":case"up":E=T+S(t),k=d?w(t,E):E,O.currentDirection=0;break;case"right":case"down":E=T-S(t),k=d?w(t,E):E,O.currentDirection=1;break;default:k=T}O.triggerSlideHandler=k}else{var P=j(t);O.trackStyle=_(a(a({},t),{},{left:P}))}return O};var m=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,i=[];n<t;)i.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return i};t.getNavigableIndexes=m;var w=function(e,t){var n=m(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var i in n){if(t<n[i]){t=r;break}r=n[i]}return t};t.checkNavigable=w;var S=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,r=e.listRef,i=r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[];if(Array.from(i).every((function(r){if(e.vertical){if(r.offsetTop+y(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+v(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),!n)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1}return e.slidesToScroll};t.getSlideCount=S;var O=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=O;var k=function(e){var t,n;O(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=P(e)*e.slideWidth;var i={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";i=a(a({},i),{},{WebkitTransform:o,transform:s,msTransform:l})}else e.vertical?i.top=e.left:i.left=e.left;return e.fade&&(i={opacity:1}),t&&(i.width=t),n&&(i.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?i.marginTop=e.left+"px":i.marginLeft=e.left+"px"),i};t.getTrackCSS=k;var _=function(e){O(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=k(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=_;var j=function(e){if(e.unslick)return 0;O(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,r=e.slideIndex,i=e.trackRef,o=e.infinite,a=e.centerMode,s=e.slideCount,l=e.slidesToShow,c=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,f=e.variableWidth,p=e.slideHeight,h=e.fade,v=e.vertical;if(h||1===e.slideCount)return 0;var y=0;if(o?(y=-E(e),s%c!=0&&r+c>s&&(y=-(r>s?l-(r-s):s%c)),a&&(y+=parseInt(l/2))):(s%c!=0&&r+c>s&&(y=l-s%c),a&&(y=parseInt(l/2))),t=v?r*p*-1+y*p:r*u*-1+y*u,!0===f){var b,g=i&&i.node;if(b=r+E(e),t=(n=g&&g.childNodes[b])?-1*n.offsetLeft:0,!0===a){b=o?r+E(e):r,n=g&&g.children[b],t=0;for(var m=0;m<b;m++)t-=g&&g.children[m]&&g.children[m].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(d-n.offsetWidth)/2}}return t};t.getTrackLeft=j;var E=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=E;var T=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=T;var P=function(e){return 1===e.slideCount?1:E(e)+e.slideCount+T(e)};t.getTotalSlides=P;var x=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+C(e)?"left":"right":e.targetSlide<e.currentSlide-L(e)?"right":"left"};t.siblingDirection=x;var C=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r&&t%2==0&&(o+=1),o}return r?0:t-1};t.slidesOnRight=C;var L=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r||t%2!=0||(o+=1),o}return r?t-1:0};t.slidesOnLeft=L;t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},,,,,,,,,,, function(e,t){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}}},,,,,function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=((r=n(53))&&r.__esModule?r:{default:r}).default;t.default=i},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(15)),i=n(54),o=l(n(61)),a=l(n(63)),s=n(33);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var i=g(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=(0,s.canUseDOM)()&&n(64),S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(d,e);var t,n,l,c=v(d);function d(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),m(b(t=c.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),m(b(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),m(b(t),"slickNext",(function(){return t.innerSlider.slickNext()})),m(b(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,n)})),m(b(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),m(b(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=d,(n=[{key:"media",value:function(e,t){w.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,r){var i;i=0===r?(0,o.default)({minWidth:0,maxWidth:n}):(0,o.default)({minWidth:t[r-1]+1,maxWidth:n}),(0,s.canUseDOM)()&&e.media(i,(function(){e.setState({breakpoint:n})}))}));var n=(0,o.default)({minWidth:t.slice(-1)[0]});(0,s.canUseDOM)()&&this.media(n,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){w.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===n.state.breakpoint})))[0].settings?"unslick":f(f(f({},a.default),this.props),t[0].settings):f(f({},a.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var o=r.default.Children.toArray(this.props.children);o=o.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var s=[],l=null,c=0;c<o.length;c+=e.rows*e.slidesPerRow){for(var d=[],p=c;p<c+e.rows*e.slidesPerRow;p+=e.slidesPerRow){for(var h=[],v=p;v<p+e.slidesPerRow&&(e.variableWidth&&o[v].props.style&&(l=o[v].props.style.width),!(v>=o.length));v+=1)h.push(r.default.cloneElement(o[v],{key:100*c+10*p+v,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(r.default.createElement("div",{key:10*c+p},h))}e.variableWidth?s.push(r.default.createElement("div",{key:c,style:{width:l}},d)):s.push(r.default.createElement("div",{key:c},d))}if("unslick"===e){var y="regular slider "+(this.props.className||"");return r.default.createElement("div",{className:y},o)}return s.length<=e.slidesToShow&&(e.unslick=!0),r.default.createElement(i.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},e),s)}}])&&p(t.prototype,n),l&&p(t,l),d}(r.default.Component);t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var r=f(n(15)),i=f(n(55)),o=f(n(56)),a=f(n(11)),s=n(33),l=n(57),c=n(58),u=n(59),d=f(n(60));function f(e){return e&&e.__esModule?e:{default:e}}function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function v(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var i=k(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return S(this,n)}}function S(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(S,e);var t,n,f,y=w(S);function S(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,S),_(O(t=y.call(this,e)),"listRefHandler",(function(e){return t.list=e})),_(O(t),"trackRefHandler",(function(e){return t.track=e})),_(O(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,s.getHeight)(e)+"px"}})),_(O(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,s.getOnDemandLazySlides)(b(b({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var n=b({listRef:t.list,trackRef:t.track},t.props);t.updateState(n,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new d.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),_(O(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),_(O(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var n=(0,s.getOnDemandLazySlides)(b(b({},t.props),t.state));n.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(n)}})),t.props.onLazyLoad&&t.props.onLazyLoad(n))}t.adaptHeight();var i=b(b({listRef:t.list,trackRef:t.track},t.props),t.state),o=t.didPropsChange(e);o&&t.updateState(i,o,(function(){t.state.currentSlide>=r.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:r.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),_(O(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,o.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),_(O(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=Boolean(t.track&&t.track.node);if(n){var r=b(b({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(r,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),_(O(t),"updateState",(function(e,n,i){var o=(0,s.initializedState)(e);e=b(b(b({},e),o),{},{slideIndex:o.currentSlide});var a=(0,s.getTrackLeft)(e);e=b(b({},e),{},{left:a});var l=(0,s.getTrackCSS)(e);(n||r.default.Children.count(t.props.children)!==r.default.Children.count(e.children))&&(o.trackStyle=l),t.setState(o,i)})),_(O(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,n=0,i=[],o=(0,s.getPreClones)(b(b(b({},t.props),t.state),{},{slideCount:t.props.children.length})),a=(0,s.getPostClones)(b(b(b({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){i.push(t.props.style.width),e+=t.props.style.width}));for(var l=0;l<o;l++)n+=i[i.length-1-l],e+=i[i.length-1-l];for(var c=0;c<a;c++)e+=i[c];for(var u=0;u<t.state.currentSlide;u++)n+=i[u];var d={width:e+"px",left:-n+"px"};if(t.props.centerMode){var f="".concat(i[t.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(f,") / 2 ) ")}return{trackStyle:d}}var p=r.default.Children.count(t.props.children),h=b(b(b({},t.props),t.state),{},{slideCount:p}),v=(0,s.getPreClones)(h)+(0,s.getPostClones)(h)+p,y=100/t.props.slidesToShow*v,g=100/v,m=-g*((0,s.getPreClones)(h)+t.state.currentSlide)*y/100;return t.props.centerMode&&(m+=(100-g*y/100)/2),{slideWidth:g+"%",trackStyle:{width:y+"%",left:m+"%"}}})),_(O(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],n=e.length,r=0;Array.prototype.forEach.call(e,(function(e){var i=function(){return++r&&r>=n&&t.onWindowResized()};if(e.onclick){var o=e.onclick;e.onclick=function(){o(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=i,e.onerror=function(){i(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),_(O(t),"progressiveLazyLoad",(function(){for(var e=[],n=b(b({},t.props),t.state),r=t.state.currentSlide;r<t.state.slideCount+(0,s.getPostClones)(n);r++)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}for(var i=t.state.currentSlide-1;i>=-(0,s.getPreClones)(n);i--)if(t.state.lazyLoadedList.indexOf(i)<0){e.push(i);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),_(O(t),"slideHandler",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.props,i=r.asNavFor,o=r.beforeChange,a=r.onLazyLoad,l=r.speed,c=r.afterChange,u=t.state.currentSlide,d=(0,s.slideHandler)(b(b(b({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!n})),f=d.state,p=d.nextState;if(f){o&&o(u,f.currentSlide);var h=f.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));a&&h.length>0&&a(h),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),c&&c(u),delete t.animationEndCallback),t.setState(f,(function(){i&&t.asNavForIndex!==e&&(t.asNavForIndex=e,i.innerSlider.slideHandler(e)),p&&(t.animationEndCallback=setTimeout((function(){var e=p.animating,n=v(p,["animating"]);t.setState(n,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),c&&c(f.currentSlide),delete t.animationEndCallback}))}),l))}))}})),_(O(t),"changeSlide",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=b(b({},t.props),t.state),i=(0,s.changeSlide)(r,e);if((0===i||i)&&(!0===n?t.slideHandler(i,n):t.slideHandler(i),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var o=t.list.querySelectorAll(".slick-current");o[0]&&o[0].focus()}})),_(O(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),_(O(t),"keyHandler",(function(e){var n=(0,s.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==n&&t.changeSlide({message:n})})),_(O(t),"selectHandler",(function(e){t.changeSlide(e)})),_(O(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),_(O(t),"enableBodyScroll",(function(){window.ontouchmove=null})),_(O(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var n=(0,s.swipeStart)(e,t.props.swipe,t.props.draggable);""!==n&&t.setState(n)})),_(O(t),"swipeMove",(function(e){var n=(0,s.swipeMove)(e,b(b(b({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));n&&(n.swiping&&(t.clickable=!1),t.setState(n))})),_(O(t),"swipeEnd",(function(e){var n=(0,s.swipeEnd)(e,b(b(b({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(n){var r=n.triggerSlideHandler;delete n.triggerSlideHandler,t.setState(n),void 0!==r&&(t.slideHandler(r),t.props.verticalSwiping&&t.enableBodyScroll())}})),_(O(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),_(O(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),_(O(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),_(O(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},n)}),0))})),_(O(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,s.canGoNext)(b(b({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),_(O(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var n=t.state.autoplaying;if("update"===e){if("hovered"===n||"focused"===n||"paused"===n)return}else if("leave"===e){if("paused"===n||"focused"===n)return}else if("blur"===e&&("paused"===n||"hovered"===n))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),_(O(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var n=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==n&&"playing"!==n||t.setState({autoplaying:"focused"}):"playing"===n&&t.setState({autoplaying:"hovered"})})),_(O(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),_(O(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),_(O(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),_(O(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),_(O(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),_(O(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),_(O(t),"render",(function(){var e,n,i,o=(0,a.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),d=b(b({},t.props),t.state),f=(0,s.extractObject)(d,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),p=t.props.pauseOnHover;if(f=b(b({},f),{},{onMouseEnter:p?t.onTrackOver:null,onMouseLeave:p?t.onTrackLeave:null,onMouseOver:p?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var v=(0,s.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),y=t.props.pauseOnDotsHover;v=b(b({},v),{},{clickHandler:t.changeSlide,onMouseEnter:y?t.onDotsLeave:null,onMouseOver:y?t.onDotsOver:null,onMouseLeave:y?t.onDotsLeave:null}),e=r.default.createElement(c.Dots,v)}var g=(0,s.extractObject)(d,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);g.clickHandler=t.changeSlide,t.props.arrows&&(n=r.default.createElement(u.PrevArrow,g),i=r.default.createElement(u.NextArrow,g));var m=null;t.props.vertical&&(m={height:t.state.listHeight});var w=null;!1===t.props.vertical?!0===t.props.centerMode&&(w={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(w={padding:t.props.centerPadding+" 0px"});var S=b(b({},m),w),O=t.props.touchMove,k={className:"slick-list",style:S,onClick:t.clickHandler,onMouseDown:O?t.swipeStart:null,onMouseMove:t.state.dragging&&O?t.swipeMove:null,onMouseUp:O?t.swipeEnd:null,onMouseLeave:t.state.dragging&&O?t.swipeEnd:null,onTouchStart:O?t.swipeStart:null,onTouchMove:t.state.dragging&&O?t.swipeMove:null,onTouchEnd:O?t.touchEnd:null,onTouchCancel:t.state.dragging&&O?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},_={className:o,dir:"ltr",style:t.props.style};return t.props.unslick&&(k={className:"slick-list"},_={className:o}),r.default.createElement("div",_,t.props.unslick?"":n,r.default.createElement("div",h({ref:t.listRefHandler},k),r.default.createElement(l.Track,h({ref:t.trackRefHandler},f),t.props.children)),t.props.unslick?"":i,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=b(b({},i.default),{},{currentSlide:t.props.initialSlide,slideCount:r.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var n=t.ssrInit();return t.state=b(b({},t.state),n),t}return t=S,(n=[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,i=Object.keys(this.props);n<i.length;n++){var o=i[n];if(!e.hasOwnProperty(o)){t=!0;break}if("object"!==p(e[o])&&"function"!=typeof e[o]&&e[o]!==this.props[o]){t=!0;break}}return t||r.default.Children.count(this.props.children)!==r.default.Children.count(e.children)}}])&&g(t.prototype,n),f&&g(t,f),S}(r.default.Component);t.InnerSlider=j},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};t.default=r},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,a=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,l="object"==typeof self&&self&&self.Object===Object&&self,c=s||l||Function("return this")(),u=Object.prototype.toString,d=Math.max,f=Math.min,p=function(){return c.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==u.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var s=i.test(e);return s||o.test(e)?a(e.slice(2),s?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,n){var r,i,o,a,s,l,c=0,u=!1,y=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n)}function m(e){return c=e,s=setTimeout(S,t),u?g(e):a}function w(e){var n=e-l;return void 0===l||n>=t||n<0||y&&e-c>=o}function S(){var e=p();if(w(e))return O(e);s=setTimeout(S,function(e){var n=t-(e-l);return y?f(n,o-(e-c)):n}(e))}function O(e){return s=void 0,b&&r?g(e):(r=i=void 0,a)}function k(){var e=p(),n=w(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return m(l);if(y)return s=setTimeout(S,t),g(l)}return void 0===s&&(s=setTimeout(S,t)),a}return t=v(t)||0,h(n)&&(u=!!n.leading,o=(y="maxWait"in n)?d(v(n.maxWait)||0,t):o,b="trailing"in n?!!n.trailing:b),k.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=i=s=void 0},k.flush=function(){return void 0===s?a:O(p())},k}}).call(this,n(27))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var r=a(n(15)),i=a(n(11)),o=n(33);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var i=v(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=function(e){var t,n,r,i,o;return r=(o=e.rtl?e.slideCount-1-e.index:e.index)<0||o>=e.slideCount,e.centerMode?(i=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount==0,o>e.currentSlide-i-1&&o<=e.currentSlide+i&&(t=!0)):t=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":o===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},w=function(e,t){return e.key||t},S=function(e){var t,n=[],a=[],s=[],l=r.default.Children.count(e.children),c=(0,o.lazyStartIndex)(e),u=(0,o.lazyEndIndex)(e);return r.default.Children.forEach(e.children,(function(d,f){var p,h={message:"children",index:f,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};p=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(f)>=0?d:r.default.createElement("div",null);var v=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(b(b({},e),{},{index:f})),y=p.props.className||"",g=m(b(b({},e),{},{index:f}));if(n.push(r.default.cloneElement(p,{key:"original"+w(p,f),"data-index":f,className:(0,i.default)(g,y),tabIndex:"-1","aria-hidden":!g["slick-active"],style:b(b({outline:"none"},p.props.style||{}),v),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}})),e.infinite&&!1===e.fade){var S=l-f;S<=(0,o.getPreClones)(e)&&l!==e.slidesToShow&&((t=-S)>=c&&(p=d),g=m(b(b({},e),{},{index:t})),a.push(r.default.cloneElement(p,{key:"precloned"+w(p,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(g,y),"aria-hidden":!g["slick-active"],style:b(b({},p.props.style||{}),v),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}}))),l!==e.slidesToShow&&((t=l+f)<u&&(p=d),g=m(b(b({},e),{},{index:t})),s.push(r.default.cloneElement(p,{key:"postcloned"+w(p,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(g,y),"aria-hidden":!g["slick-active"],style:b(b({},p.props.style||{}),v),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}})))}})),e.rtl?a.concat(n,s).reverse():a.concat(n,s)},O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(a,e);var t,n,i,o=f(a);function a(){var e;c(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(h(e=o.call.apply(o,[this].concat(n))),"node",null),g(h(e),"handleRef",(function(t){e.node=t})),e}return t=a,(n=[{key:"render",value:function(){var e=S(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return r.default.createElement("div",l({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},n),e)}}])&&u(t.prototype,n),i&&u(t,i),a}(r.default.PureComponent);t.Track=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var r=a(n(15)),i=a(n(11)),o=n(33);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var i=v(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(h,e);var t,n,a,s=p(h);function h(){return u(this,h),s.apply(this,arguments)}return t=h,(n=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,n=t.onMouseEnter,a=t.onMouseOver,s=t.onMouseLeave,u=t.infinite,d=t.slidesToScroll,f=t.slidesToShow,p=t.slideCount,h=t.currentSlide,v=(e={slideCount:p,slidesToScroll:d,slidesToShow:f,infinite:u}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,y={onMouseEnter:n,onMouseOver:a,onMouseLeave:s},b=[],g=0;g<v;g++){var m=(g+1)*d-1,w=u?m:(0,o.clamp)(m,0,p-1),S=w-(d-1),O=u?S:(0,o.clamp)(S,0,p-1),k=(0,i.default)({"slick-active":u?h>=O&&h<=w:h===O}),_={message:"dots",index:g,slidesToScroll:d,currentSlide:h},j=this.clickHandler.bind(this,_);b=b.concat(r.default.createElement("li",{key:g,className:k},r.default.cloneElement(this.props.customPaging(g),{onClick:j})))}return r.default.cloneElement(this.props.appendDots(b),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:this.props.dotsClass},y))}}])&&d(t.prototype,n),a&&d(t,a),h}(r.default.PureComponent);t.Dots=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NextArrow=t.PrevArrow=void 0;var r=a(n(15)),i=a(n(11)),o=n(33);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(e){v(n,e);var t=b(n);function n(){return f(this,n),t.apply(this,arguments)}return h(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,i.default)(e),style:{display:"block"},onClick:t},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?r.default.cloneElement(this.props.prevArrow,u(u({},n),o)):r.default.createElement("button",l({key:"0",type:"button"},n)," ","Previous")}}]),n}(r.default.PureComponent);t.PrevArrow=w;var S=function(e){v(n,e);var t=b(n);function n(){return f(this,n),t.apply(this,arguments)}return h(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,o.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,i.default)(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?r.default.cloneElement(this.props.nextArrow,u(u({},n),a)):r.default.createElement("button",l({key:"1",type:"button"},n)," ","Next")}}]),n}(r.default.PureComponent);t.NextArrow=S},function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var a=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function a(){n&&(n=!1,e()),r&&l()}function s(){o(a)}function l(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);i=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;a.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),c=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},u=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},d=b(0,0,0,0);function f(e){return parseFloat(e)||0}function p(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+f(e["border-"+n+"-width"])}),0)}function h(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var r=u(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=f(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=f(r.width),l=f(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=p(r,"left","right")+o),Math.round(l+a)!==n&&(l-=p(r,"top","bottom")+a)),!function(e){return e===u(e).document.documentElement}(e)){var c=Math.round(s+o)-t,h=Math.round(l+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(h)&&(l-=h)}return b(i.left,i.top,s,l)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof u(e).SVGGraphicsElement}:function(e){return e instanceof u(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return r?v(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):h(e):d}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var g=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=y(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),m=function(e,t){var n,r,i,o,a,s,l,u=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),c(l,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),l);c(this,{target:e,contentRect:u})},w=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new g(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new m(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),S="undefined"!=typeof WeakMap?new WeakMap:new n,O=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),r=new w(t,n,this);S.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){O.prototype[e]=function(){var t;return(t=S.get(this))[e].apply(t,arguments)}}));var k=void 0!==i.ResizeObserver?i.ResizeObserver:O;t.default=k}.call(this,n(27))},function(e,t,n){var r=n(62),i=function(e){var t="",n=Object.keys(e);return n.forEach((function(i,o){var a=e[i];(function(e){return/[height|width]$/.test(e)})(i=r(i))&&"number"==typeof a&&(a+="px"),t+=!0===a?i:!1===a?"not "+i:"("+i+": "+a+")",o<n.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(n,r){t+=i(n),r<e.length-1&&(t+=", ")})),t):i(e)}},function(e,t){e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(15))&&r.__esModule?r:{default:r};var o={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return i.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return i.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=o},function(e,t,n){var r=n(65);e.exports=new r},function(e,t,n){var r=n(66),i=n(44),o=i.each,a=i.isFunction,s=i.isArray;function l(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(e,t,n){var i=this.queries,l=n&&this.browserIsIncapable;return i[e]||(i[e]=new r(e,l)),a(t)&&(t={match:t}),s(t)||(t=[t]),o(t,(function(t){a(t)&&(t={match:t}),i[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=l},function(e,t,n){var r=n(67),i=n(44).each;function o(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}o.prototype={constuctor:o,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;i(t,(function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){i(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";i(this.handlers,(function(t){t[e]()}))}},e.exports=o},function(e,t){function n(e){this.options=e,!e.deferSetup&&this.setup()}n.prototype={constructor:n,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=n},,,,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"Collection",(function(){return i})),n.d(t,"CollectionTitle",(function(){return s})),n.d(t,"CollectionSubtitle",(function(){return l})),n.d(t,"CollectionHeader",(function(){return u})),n.d(t,"CollectionBody",(function(){return f})),n.d(t,"CollectionLayout",(function(){return y})),n.d(t,"CarouselLayout",(function(){return S})),n.d(t,"ClassicLayout",(function(){return O})),n.d(t,"MasonryLayout",(function(){return k})),n.d(t,"ParametricLayout",(function(){return j})),n.d(t,"ScrollIndicator",(function(){return E}));var r=n(0),i=function(e){var t=e.attributes.align;return Object(r.createElement)("div",{className:"nb-collection align".concat(t," nb-block-spacing-container")},e.children)},o=n(1),a=n(16),s=function(e){var t=e.attributes,n=t.showCollectionTitle,i=t.title,s=t.collectionTitleLevel,l=t.collectionTitleFontSize,c=e.setAttributes;return n?Object(r.createElement)(a.RichText,{tagName:"h".concat(s),className:"nb-collection__title has-".concat(l,"-font-size alignfull"),value:i,placeholder:Object(o.__)("Collection title","nova-blocks"),onChange:function(e){c({title:e})},allowedFormats:["core/link"]}):null},l=function(e){var t=e.attributes,n=t.showCollectionSubtitle,i=t.subtitle,s=e.setAttributes;return n?Object(r.createElement)(a.RichText,{tagName:"p",className:"nb-collection__subtitle is-style-lead alignfull",value:i,placeholder:Object(o.__)("Collection subtitle","nova-blocks"),onChange:function(e){s({subtitle:e})},allowedFormats:[]}):null},c=n(7),u=function(e){var t=e.attributes,n=t.showCollectionTitle,i=t.showCollectionSubtitle,o=t.align;return n||i?Object(r.createElement)("div",{className:"nb-collection__header align".concat(o)},Object(r.createElement)("div",{className:"nb-collection__inner-container"},Object(r.createElement)(s,Object(c.a)({},e,{key:"title"})),Object(r.createElement)(l,Object(c.a)({},e,{key:"subtitle"})))):null},d=n(4),f=function(e){var t=e.attributes,n=Object(d.getColorSignalClassnames)({palette:t.palette,colorSignal:t.contentColorSignal,paletteVariation:t.contentPaletteVariation,useSourceColorAsReference:!1},!0);return Object(r.createElement)("div",{className:"nb-collection__body"},Object(r.createElement)(y,Object(c.a)({},e,{key:"layout"})),Object(r.createElement)(E,Object(c.a)({},e,{className:n,key:"scroll"})))},p=n(6),h=n(11),v=n.n(h),y=function(e){var t=e.attributes,n=t.layoutStyle,i=t.carouselLayout,o=v()(e.className,"nb-collection__layout","nb-collection__layout--".concat(n),Object(p.a)({},"nb-collection__layout--".concat(i,"-width"),"carousel"===n)),a=Object.assign({},e,{className:o});return Object(r.createElement)(r.Fragment,null,"classic"===n&&Object(r.createElement)(O,Object(c.a)({},a,{key:"classic_layout"})),"carousel"===n&&Object(r.createElement)(S,Object(c.a)({},a,{key:"carousel_layout"})),"masonry"===n&&Object(r.createElement)(k,Object(c.a)({},a,{key:"masonry_layout"})),"parametric"===n&&Object(r.createElement)(j,Object(c.a)({},a,{key:"parametric_layout"})))},b=(n(32),n(49)),g=n.n(b),m=function(e){var t=e.attributes,n=e.onClick,i=e.isNext,o=t.palette,a=t.contentPaletteVariation,s=t.contentColorSignal,l="sm-palette-".concat(o),c="sm-variation-".concat(a),u="sm-color-signal-".concat(s),d=i?"Next":"Previous",f=i?"slick-next":"slick-prev";return Object(r.createElement)("button",{className:"slick-arrow ".concat(f," ").concat(l," ").concat(c," ").concat(u),"aria-label":d,onClick:n},d)},w=function(e){var t=e.attributes,n=t.palette,r=t.contentPaletteVariation,i=t.contentColorSignal,o="sm-palette-".concat(n),a="sm-variation-".concat(r),s="sm-color-signal-".concat(i);return"slick-dots ".concat(o," ").concat(a," ").concat(s)},S=function(e){var t=e.attributes,n=t.columns,i=t.carouselLayout,o=t.showArrows,a=t.showPagination,s=Object(p.a)({arrows:o,dots:a,dotsClass:w(e),infinite:!0,variableWidth:"variable"===i||"content"===i,prevArrow:Object(r.createElement)(m,e),nextArrow:Object(r.createElement)(m,Object(c.a)({isNext:!0},e))},"infinite",!0);return"variable"!==i&&"content"!==i&&(s.slidesToShow=n),Object(r.createElement)(g.a,Object(c.a)({},s,{className:e.className}),e.children)},O=function(e){return Object(r.createElement)("div",{className:e.className},e.children)},k=function(e){var t=e.attributes,n=r.Children.toArray(e.children),i=t.columns,o=n.reduce((function(e,t,n){return e[n%i]||(e[n%i]=[]),e[n%i].push(t),e}),[]);return Object(r.createElement)("div",{className:e.className},o.map((function(e){return Object(r.createElement)("div",{className:"nb-collection__layout-column"},e)})))},_=n(5),j=function(e){var t=r.Children.toArray(e.children),n=Object(r.useCallback)((function(e){return t[e]}),[t]);return Object(r.createElement)(_.ParametricGrid,Object(c.a)({getContent:n,cardsCount:t.length},e,{key:"parametric_grid"}))},E=function(e){if(!e.attributes.scrollIndicatorBlock)return null;var t=v()("nb-scroll-indicator",e.className);return Object(r.createElement)("div",{className:t})}}]);6 */!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=i.apply(null,r);a&&e.push(a)}else if("object"===o)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},,,,function(e,t){e.exports=window.React},function(e,t){e.exports=window.wp.blockEditor},,,,,,,,,,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,function(e,t){e.exports=window.jQuery},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clamp=l,t.canUseDOM=t.slidesOnLeft=t.slidesOnRight=t.siblingDirection=t.getTotalSlides=t.getPostClones=t.getPreClones=t.getTrackLeft=t.getTrackAnimateCSS=t.getTrackCSS=t.checkSpecKeys=t.getSlideCount=t.checkNavigable=t.getNavigableIndexes=t.swipeEnd=t.swipeMove=t.swipeStart=t.keyHandler=t.changeSlide=t.slideHandler=t.initializedState=t.extractObject=t.canGoNext=t.getSwipeDirection=t.getHeight=t.getWidth=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.lazyStartIndex=t.getRequiredLazySlides=t.getOnDemandLazySlides=t.safePreventDefault=void 0;var r,i=(r=n(15))&&r.__esModule?r:{default:r};function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t,n){return Math.max(t,Math.min(e,n))}var c=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=c;var u=function(e){for(var t=[],n=d(e),r=f(e),i=n;i<r;i++)e.lazyLoadedList.indexOf(i)<0&&t.push(i);return t};t.getOnDemandLazySlides=u;t.getRequiredLazySlides=function(e){for(var t=[],n=d(e),r=f(e),i=n;i<r;i++)t.push(i);return t};var d=function(e){return e.currentSlide-p(e)};t.lazyStartIndex=d;var f=function(e){return e.currentSlide+h(e)};t.lazyEndIndex=f;var p=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=p;var h=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=h;var v=function(e){return e&&e.offsetWidth||0};t.getWidth=v;var y=function(e){return e&&e.offsetHeight||0};t.getHeight=y;var b=function(e){var t,n,r,i,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,r=Math.atan2(n,t),(i=Math.round(180*r/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315?"left":i>=135&&i<=225?"right":!0===o?i>=35&&i<=135?"up":"down":"vertical"};t.getSwipeDirection=b;var g=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};t.canGoNext=g;t.extractObject=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n};t.initializedState=function(e){var t,n=i.default.Children.count(e.children),r=e.listRef,o=Math.ceil(v(r)),s=e.trackRef&&e.trackRef.node,l=Math.ceil(v(s));if(e.vertical)t=o;else{var c=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(c*=o/100),t=Math.ceil((o-c)/e.slidesToShow)}var d=r&&y(r.querySelector('[data-index="0"]')),f=d*e.slidesToShow,p=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(p=n-1-e.initialSlide);var h=e.lazyLoadedList||[],b=u(a(a({},e),{},{currentSlide:p,lazyLoadedList:h})),g={slideCount:n,slideWidth:t,listWidth:o,trackWidth:l,currentSlide:p,slideHeight:d,listHeight:f,lazyLoadedList:h=h.concat(b)};return null===e.autoplaying&&e.autoplay&&(g.autoplaying="playing"),g};t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,i=e.infinite,o=e.index,s=e.slideCount,c=e.lazyLoad,d=e.currentSlide,f=e.centerMode,p=e.slidesToScroll,h=e.slidesToShow,v=e.useCSS,y=e.lazyLoadedList;if(t&&n)return{};var b,m,w,S=o,O={},E={},T=i?o:l(o,0,s-1);if(r){if(!i&&(o<0||o>=s))return{};o<0?S=o+s:o>=s&&(S=o-s),c&&y.indexOf(S)<0&&(y=y.concat(S)),O={animating:!0,currentSlide:S,lazyLoadedList:y,targetSlide:S},E={animating:!1,targetSlide:S}}else b=S,S<0?(b=S+s,i?s%p!=0&&(b=s-s%p):b=0):!g(e)&&S>d?S=b=d:f&&S>=s?(S=i?s:s-1,b=i?0:s-1):S>=s&&(b=S-s,i?s%p!=0&&(b=0):b=s-h),!i&&S+h>=s&&(b=s-h),m=j(a(a({},e),{},{slideIndex:S})),w=j(a(a({},e),{},{slideIndex:b})),i||(m===w&&(S=b),m=w),c&&(y=y.concat(u(a(a({},e),{},{currentSlide:S})))),v?(O={animating:!0,currentSlide:b,trackStyle:_(a(a({},e),{},{left:m})),lazyLoadedList:y,targetSlide:T},E={animating:!1,currentSlide:b,trackStyle:k(a(a({},e),{},{left:w})),swipeLeft:null,targetSlide:T}):O={currentSlide:b,trackStyle:k(a(a({},e),{},{left:w})),lazyLoadedList:y,targetSlide:T};return{state:O,nextState:E}};t.changeSlide=function(e,t){var n,r,i,o,s=e.slidesToScroll,l=e.slidesToShow,c=e.slideCount,u=e.currentSlide,d=e.targetSlide,f=e.lazyLoad,p=e.infinite;if(n=c%s!=0?0:(c-u)%s,"previous"===t.message)o=u-(i=0===n?s:l-n),f&&!p&&(o=-1===(r=u-i)?c-1:r),p||(o=d-s);else if("next"===t.message)o=u+(i=0===n?s:n),f&&!p&&(o=(u+s)%c+n),p||(o=d+s);else if("dots"===t.message)o=t.index*t.slidesToScroll;else if("children"===t.message){if(o=t.index,p){var h=x(a(a({},e),{},{targetSlide:o}));o>t.currentSlide&&"left"===h?o-=c:o<t.currentSlide&&"right"===h&&(o+=c)}}else"index"===t.message&&(o=Number(t.index));return o};t.keyHandler=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""};t.swipeStart=function(e,t,n){return"IMG"===e.target.tagName&&c(e),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}};t.swipeMove=function(e,t){var n=t.scrolling,r=t.animating,i=t.vertical,o=t.swipeToSlide,s=t.verticalSwiping,l=t.rtl,u=t.currentSlide,d=t.edgeFriction,f=t.edgeDragged,p=t.onEdge,h=t.swiped,v=t.swiping,y=t.slideCount,m=t.slidesToScroll,w=t.infinite,S=t.touchObject,O=t.swipeEvent,_=t.listHeight,E=t.listWidth;if(!n){if(r)return c(e);i&&o&&s&&c(e);var T,P={},x=j(t);S.curX=e.touches?e.touches[0].pageX:e.clientX,S.curY=e.touches?e.touches[0].pageY:e.clientY,S.swipeLength=Math.round(Math.sqrt(Math.pow(S.curX-S.startX,2)));var C=Math.round(Math.sqrt(Math.pow(S.curY-S.startY,2)));if(!s&&!v&&C>10)return{scrolling:!0};s&&(S.swipeLength=C);var L=(l?-1:1)*(S.curX>S.startX?1:-1);s&&(L=S.curY>S.startY?1:-1);var M=Math.ceil(y/m),R=b(t.touchObject,s),z=S.swipeLength;return w||(0===u&&("right"===R||"down"===R)||u+1>=M&&("left"===R||"up"===R)||!g(t)&&("left"===R||"up"===R))&&(z=S.swipeLength*d,!1===f&&p&&(p(R),P.edgeDragged=!0)),!h&&O&&(O(R),P.swiped=!0),T=i?x+z*(_/E)*L:l?x-z*L:x+z*L,s&&(T=x+z*L),P=a(a({},P),{},{touchObject:S,swipeLeft:T,trackStyle:k(a(a({},t),{},{left:T}))}),Math.abs(S.curX-S.startX)<.8*Math.abs(S.curY-S.startY)?P:(S.swipeLength>10&&(P.swiping=!0,c(e)),P)}};t.swipeEnd=function(e,t){var n=t.dragging,r=t.swipe,i=t.touchObject,o=t.listWidth,s=t.touchThreshold,l=t.verticalSwiping,u=t.listHeight,d=t.swipeToSlide,f=t.scrolling,p=t.onSwipe,h=t.targetSlide,v=t.currentSlide,y=t.infinite;if(!n)return r&&c(e),{};var g=l?u/s:o/s,m=b(i,l),O={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(f)return O;if(!i.swipeLength)return O;if(i.swipeLength>g){var k,E;c(e),p&&p(m);var T=y?v:h;switch(m){case"left":case"up":E=T+S(t),k=d?w(t,E):E,O.currentDirection=0;break;case"right":case"down":E=T-S(t),k=d?w(t,E):E,O.currentDirection=1;break;default:k=T}O.triggerSlideHandler=k}else{var P=j(t);O.trackStyle=_(a(a({},t),{},{left:P}))}return O};var m=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,i=[];n<t;)i.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return i};t.getNavigableIndexes=m;var w=function(e,t){var n=m(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var i in n){if(t<n[i]){t=r;break}r=n[i]}return t};t.checkNavigable=w;var S=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,r=e.listRef,i=r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[];if(Array.from(i).every((function(r){if(e.vertical){if(r.offsetTop+y(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+v(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),!n)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1}return e.slidesToScroll};t.getSlideCount=S;var O=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=O;var k=function(e){var t,n;O(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=P(e)*e.slideWidth;var i={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";i=a(a({},i),{},{WebkitTransform:o,transform:s,msTransform:l})}else e.vertical?i.top=e.left:i.left=e.left;return e.fade&&(i={opacity:1}),t&&(i.width=t),n&&(i.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?i.marginTop=e.left+"px":i.marginLeft=e.left+"px"),i};t.getTrackCSS=k;var _=function(e){O(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=k(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=_;var j=function(e){if(e.unslick)return 0;O(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,r=e.slideIndex,i=e.trackRef,o=e.infinite,a=e.centerMode,s=e.slideCount,l=e.slidesToShow,c=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,f=e.variableWidth,p=e.slideHeight,h=e.fade,v=e.vertical;if(h||1===e.slideCount)return 0;var y=0;if(o?(y=-E(e),s%c!=0&&r+c>s&&(y=-(r>s?l-(r-s):s%c)),a&&(y+=parseInt(l/2))):(s%c!=0&&r+c>s&&(y=l-s%c),a&&(y=parseInt(l/2))),t=v?r*p*-1+y*p:r*u*-1+y*u,!0===f){var b,g=i&&i.node;if(b=r+E(e),t=(n=g&&g.childNodes[b])?-1*n.offsetLeft:0,!0===a){b=o?r+E(e):r,n=g&&g.children[b],t=0;for(var m=0;m<b;m++)t-=g&&g.children[m]&&g.children[m].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(d-n.offsetWidth)/2}}return t};t.getTrackLeft=j;var E=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=E;var T=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=T;var P=function(e){return 1===e.slideCount?1:E(e)+e.slideCount+T(e)};t.getTotalSlides=P;var x=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+C(e)?"left":"right":e.targetSlide<e.currentSlide-L(e)?"right":"left"};t.siblingDirection=x;var C=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r&&t%2==0&&(o+=1),o}return r?0:t-1};t.slidesOnRight=C;var L=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r||t%2!=0||(o+=1),o}return r?t-1:0};t.slidesOnLeft=L;t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},,,,,,,,,,,,function(e,t){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}}},,,,,function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=((r=n(54))&&r.__esModule?r:{default:r}).default;t.default=i},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(15)),i=n(55),o=l(n(62)),a=l(n(64)),s=n(33);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var i=g(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=(0,s.canUseDOM)()&&n(65),S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(d,e);var t,n,l,c=v(d);function d(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),m(b(t=c.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),m(b(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),m(b(t),"slickNext",(function(){return t.innerSlider.slickNext()})),m(b(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,n)})),m(b(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),m(b(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=d,(n=[{key:"media",value:function(e,t){w.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,r){var i;i=0===r?(0,o.default)({minWidth:0,maxWidth:n}):(0,o.default)({minWidth:t[r-1]+1,maxWidth:n}),(0,s.canUseDOM)()&&e.media(i,(function(){e.setState({breakpoint:n})}))}));var n=(0,o.default)({minWidth:t.slice(-1)[0]});(0,s.canUseDOM)()&&this.media(n,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){w.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===n.state.breakpoint})))[0].settings?"unslick":f(f(f({},a.default),this.props),t[0].settings):f(f({},a.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var o=r.default.Children.toArray(this.props.children);o=o.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var s=[],l=null,c=0;c<o.length;c+=e.rows*e.slidesPerRow){for(var d=[],p=c;p<c+e.rows*e.slidesPerRow;p+=e.slidesPerRow){for(var h=[],v=p;v<p+e.slidesPerRow&&(e.variableWidth&&o[v].props.style&&(l=o[v].props.style.width),!(v>=o.length));v+=1)h.push(r.default.cloneElement(o[v],{key:100*c+10*p+v,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(r.default.createElement("div",{key:10*c+p},h))}e.variableWidth?s.push(r.default.createElement("div",{key:c,style:{width:l}},d)):s.push(r.default.createElement("div",{key:c},d))}if("unslick"===e){var y="regular slider "+(this.props.className||"");return r.default.createElement("div",{className:y},o)}return s.length<=e.slidesToShow&&(e.unslick=!0),r.default.createElement(i.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},e),s)}}])&&p(t.prototype,n),l&&p(t,l),d}(r.default.Component);t.default=S},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var r=f(n(15)),i=f(n(56)),o=f(n(57)),a=f(n(11)),s=n(33),l=n(58),c=n(59),u=n(60),d=f(n(61));function f(e){return e&&e.__esModule?e:{default:e}}function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function v(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var i=k(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return S(this,n)}}function S(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(S,e);var t,n,f,y=w(S);function S(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,S),_(O(t=y.call(this,e)),"listRefHandler",(function(e){return t.list=e})),_(O(t),"trackRefHandler",(function(e){return t.track=e})),_(O(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,s.getHeight)(e)+"px"}})),_(O(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,s.getOnDemandLazySlides)(b(b({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var n=b({listRef:t.list,trackRef:t.track},t.props);t.updateState(n,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new d.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),_(O(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),_(O(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var n=(0,s.getOnDemandLazySlides)(b(b({},t.props),t.state));n.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(n)}})),t.props.onLazyLoad&&t.props.onLazyLoad(n))}t.adaptHeight();var i=b(b({listRef:t.list,trackRef:t.track},t.props),t.state),o=t.didPropsChange(e);o&&t.updateState(i,o,(function(){t.state.currentSlide>=r.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:r.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),_(O(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,o.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),_(O(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=Boolean(t.track&&t.track.node);if(n){var r=b(b({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(r,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),_(O(t),"updateState",(function(e,n,i){var o=(0,s.initializedState)(e);e=b(b(b({},e),o),{},{slideIndex:o.currentSlide});var a=(0,s.getTrackLeft)(e);e=b(b({},e),{},{left:a});var l=(0,s.getTrackCSS)(e);(n||r.default.Children.count(t.props.children)!==r.default.Children.count(e.children))&&(o.trackStyle=l),t.setState(o,i)})),_(O(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,n=0,i=[],o=(0,s.getPreClones)(b(b(b({},t.props),t.state),{},{slideCount:t.props.children.length})),a=(0,s.getPostClones)(b(b(b({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){i.push(t.props.style.width),e+=t.props.style.width}));for(var l=0;l<o;l++)n+=i[i.length-1-l],e+=i[i.length-1-l];for(var c=0;c<a;c++)e+=i[c];for(var u=0;u<t.state.currentSlide;u++)n+=i[u];var d={width:e+"px",left:-n+"px"};if(t.props.centerMode){var f="".concat(i[t.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(f,") / 2 ) ")}return{trackStyle:d}}var p=r.default.Children.count(t.props.children),h=b(b(b({},t.props),t.state),{},{slideCount:p}),v=(0,s.getPreClones)(h)+(0,s.getPostClones)(h)+p,y=100/t.props.slidesToShow*v,g=100/v,m=-g*((0,s.getPreClones)(h)+t.state.currentSlide)*y/100;return t.props.centerMode&&(m+=(100-g*y/100)/2),{slideWidth:g+"%",trackStyle:{width:y+"%",left:m+"%"}}})),_(O(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],n=e.length,r=0;Array.prototype.forEach.call(e,(function(e){var i=function(){return++r&&r>=n&&t.onWindowResized()};if(e.onclick){var o=e.onclick;e.onclick=function(){o(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=i,e.onerror=function(){i(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),_(O(t),"progressiveLazyLoad",(function(){for(var e=[],n=b(b({},t.props),t.state),r=t.state.currentSlide;r<t.state.slideCount+(0,s.getPostClones)(n);r++)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}for(var i=t.state.currentSlide-1;i>=-(0,s.getPreClones)(n);i--)if(t.state.lazyLoadedList.indexOf(i)<0){e.push(i);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),_(O(t),"slideHandler",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.props,i=r.asNavFor,o=r.beforeChange,a=r.onLazyLoad,l=r.speed,c=r.afterChange,u=t.state.currentSlide,d=(0,s.slideHandler)(b(b(b({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!n})),f=d.state,p=d.nextState;if(f){o&&o(u,f.currentSlide);var h=f.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));a&&h.length>0&&a(h),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),c&&c(u),delete t.animationEndCallback),t.setState(f,(function(){i&&t.asNavForIndex!==e&&(t.asNavForIndex=e,i.innerSlider.slideHandler(e)),p&&(t.animationEndCallback=setTimeout((function(){var e=p.animating,n=v(p,["animating"]);t.setState(n,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),c&&c(f.currentSlide),delete t.animationEndCallback}))}),l))}))}})),_(O(t),"changeSlide",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=b(b({},t.props),t.state),i=(0,s.changeSlide)(r,e);if((0===i||i)&&(!0===n?t.slideHandler(i,n):t.slideHandler(i),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var o=t.list.querySelectorAll(".slick-current");o[0]&&o[0].focus()}})),_(O(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),_(O(t),"keyHandler",(function(e){var n=(0,s.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==n&&t.changeSlide({message:n})})),_(O(t),"selectHandler",(function(e){t.changeSlide(e)})),_(O(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),_(O(t),"enableBodyScroll",(function(){window.ontouchmove=null})),_(O(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var n=(0,s.swipeStart)(e,t.props.swipe,t.props.draggable);""!==n&&t.setState(n)})),_(O(t),"swipeMove",(function(e){var n=(0,s.swipeMove)(e,b(b(b({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));n&&(n.swiping&&(t.clickable=!1),t.setState(n))})),_(O(t),"swipeEnd",(function(e){var n=(0,s.swipeEnd)(e,b(b(b({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(n){var r=n.triggerSlideHandler;delete n.triggerSlideHandler,t.setState(n),void 0!==r&&(t.slideHandler(r),t.props.verticalSwiping&&t.enableBodyScroll())}})),_(O(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),_(O(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),_(O(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),_(O(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},n)}),0))})),_(O(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,s.canGoNext)(b(b({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),_(O(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var n=t.state.autoplaying;if("update"===e){if("hovered"===n||"focused"===n||"paused"===n)return}else if("leave"===e){if("paused"===n||"focused"===n)return}else if("blur"===e&&("paused"===n||"hovered"===n))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),_(O(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var n=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==n&&"playing"!==n||t.setState({autoplaying:"focused"}):"playing"===n&&t.setState({autoplaying:"hovered"})})),_(O(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),_(O(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),_(O(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),_(O(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),_(O(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),_(O(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),_(O(t),"render",(function(){var e,n,i,o=(0,a.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),d=b(b({},t.props),t.state),f=(0,s.extractObject)(d,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),p=t.props.pauseOnHover;if(f=b(b({},f),{},{onMouseEnter:p?t.onTrackOver:null,onMouseLeave:p?t.onTrackLeave:null,onMouseOver:p?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var v=(0,s.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),y=t.props.pauseOnDotsHover;v=b(b({},v),{},{clickHandler:t.changeSlide,onMouseEnter:y?t.onDotsLeave:null,onMouseOver:y?t.onDotsOver:null,onMouseLeave:y?t.onDotsLeave:null}),e=r.default.createElement(c.Dots,v)}var g=(0,s.extractObject)(d,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);g.clickHandler=t.changeSlide,t.props.arrows&&(n=r.default.createElement(u.PrevArrow,g),i=r.default.createElement(u.NextArrow,g));var m=null;t.props.vertical&&(m={height:t.state.listHeight});var w=null;!1===t.props.vertical?!0===t.props.centerMode&&(w={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(w={padding:t.props.centerPadding+" 0px"});var S=b(b({},m),w),O=t.props.touchMove,k={className:"slick-list",style:S,onClick:t.clickHandler,onMouseDown:O?t.swipeStart:null,onMouseMove:t.state.dragging&&O?t.swipeMove:null,onMouseUp:O?t.swipeEnd:null,onMouseLeave:t.state.dragging&&O?t.swipeEnd:null,onTouchStart:O?t.swipeStart:null,onTouchMove:t.state.dragging&&O?t.swipeMove:null,onTouchEnd:O?t.touchEnd:null,onTouchCancel:t.state.dragging&&O?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},_={className:o,dir:"ltr",style:t.props.style};return t.props.unslick&&(k={className:"slick-list"},_={className:o}),r.default.createElement("div",_,t.props.unslick?"":n,r.default.createElement("div",h({ref:t.listRefHandler},k),r.default.createElement(l.Track,h({ref:t.trackRefHandler},f),t.props.children)),t.props.unslick?"":i,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=b(b({},i.default),{},{currentSlide:t.props.initialSlide,slideCount:r.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var n=t.ssrInit();return t.state=b(b({},t.state),n),t}return t=S,(n=[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,i=Object.keys(this.props);n<i.length;n++){var o=i[n];if(!e.hasOwnProperty(o)){t=!0;break}if("object"!==p(e[o])&&"function"!=typeof e[o]&&e[o]!==this.props[o]){t=!0;break}}return t||r.default.Children.count(this.props.children)!==r.default.Children.count(e.children)}}])&&g(t.prototype,n),f&&g(t,f),S}(r.default.Component);t.InnerSlider=j},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};t.default=r},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,a=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,l="object"==typeof self&&self&&self.Object===Object&&self,c=s||l||Function("return this")(),u=Object.prototype.toString,d=Math.max,f=Math.min,p=function(){return c.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==u.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var s=i.test(e);return s||o.test(e)?a(e.slice(2),s?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,n){var r,i,o,a,s,l,c=0,u=!1,y=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n)}function m(e){return c=e,s=setTimeout(S,t),u?g(e):a}function w(e){var n=e-l;return void 0===l||n>=t||n<0||y&&e-c>=o}function S(){var e=p();if(w(e))return O(e);s=setTimeout(S,function(e){var n=t-(e-l);return y?f(n,o-(e-c)):n}(e))}function O(e){return s=void 0,b&&r?g(e):(r=i=void 0,a)}function k(){var e=p(),n=w(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return m(l);if(y)return s=setTimeout(S,t),g(l)}return void 0===s&&(s=setTimeout(S,t)),a}return t=v(t)||0,h(n)&&(u=!!n.leading,o=(y="maxWait"in n)?d(v(n.maxWait)||0,t):o,b="trailing"in n?!!n.trailing:b),k.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=i=s=void 0},k.flush=function(){return void 0===s?a:O(p())},k}}).call(this,n(27))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var r=a(n(15)),i=a(n(11)),o=n(33);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var i=v(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=function(e){var t,n,r,i,o;return r=(o=e.rtl?e.slideCount-1-e.index:e.index)<0||o>=e.slideCount,e.centerMode?(i=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount==0,o>e.currentSlide-i-1&&o<=e.currentSlide+i&&(t=!0)):t=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":o===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},w=function(e,t){return e.key||t},S=function(e){var t,n=[],a=[],s=[],l=r.default.Children.count(e.children),c=(0,o.lazyStartIndex)(e),u=(0,o.lazyEndIndex)(e);return r.default.Children.forEach(e.children,(function(d,f){var p,h={message:"children",index:f,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};p=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(f)>=0?d:r.default.createElement("div",null);var v=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(b(b({},e),{},{index:f})),y=p.props.className||"",g=m(b(b({},e),{},{index:f}));if(n.push(r.default.cloneElement(p,{key:"original"+w(p,f),"data-index":f,className:(0,i.default)(g,y),tabIndex:"-1","aria-hidden":!g["slick-active"],style:b(b({outline:"none"},p.props.style||{}),v),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}})),e.infinite&&!1===e.fade){var S=l-f;S<=(0,o.getPreClones)(e)&&l!==e.slidesToShow&&((t=-S)>=c&&(p=d),g=m(b(b({},e),{},{index:t})),a.push(r.default.cloneElement(p,{key:"precloned"+w(p,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(g,y),"aria-hidden":!g["slick-active"],style:b(b({},p.props.style||{}),v),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}}))),l!==e.slidesToShow&&((t=l+f)<u&&(p=d),g=m(b(b({},e),{},{index:t})),s.push(r.default.cloneElement(p,{key:"postcloned"+w(p,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(g,y),"aria-hidden":!g["slick-active"],style:b(b({},p.props.style||{}),v),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}})))}})),e.rtl?a.concat(n,s).reverse():a.concat(n,s)},O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(a,e);var t,n,i,o=f(a);function a(){var e;c(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(h(e=o.call.apply(o,[this].concat(n))),"node",null),g(h(e),"handleRef",(function(t){e.node=t})),e}return t=a,(n=[{key:"render",value:function(){var e=S(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return r.default.createElement("div",l({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},n),e)}}])&&u(t.prototype,n),i&&u(t,i),a}(r.default.PureComponent);t.Track=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var r=a(n(15)),i=a(n(11)),o=n(33);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var i=v(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(h,e);var t,n,a,s=p(h);function h(){return u(this,h),s.apply(this,arguments)}return t=h,(n=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,n=t.onMouseEnter,a=t.onMouseOver,s=t.onMouseLeave,u=t.infinite,d=t.slidesToScroll,f=t.slidesToShow,p=t.slideCount,h=t.currentSlide,v=(e={slideCount:p,slidesToScroll:d,slidesToShow:f,infinite:u}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,y={onMouseEnter:n,onMouseOver:a,onMouseLeave:s},b=[],g=0;g<v;g++){var m=(g+1)*d-1,w=u?m:(0,o.clamp)(m,0,p-1),S=w-(d-1),O=u?S:(0,o.clamp)(S,0,p-1),k=(0,i.default)({"slick-active":u?h>=O&&h<=w:h===O}),_={message:"dots",index:g,slidesToScroll:d,currentSlide:h},j=this.clickHandler.bind(this,_);b=b.concat(r.default.createElement("li",{key:g,className:k},r.default.cloneElement(this.props.customPaging(g),{onClick:j})))}return r.default.cloneElement(this.props.appendDots(b),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:this.props.dotsClass},y))}}])&&d(t.prototype,n),a&&d(t,a),h}(r.default.PureComponent);t.Dots=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NextArrow=t.PrevArrow=void 0;var r=a(n(15)),i=a(n(11)),o=n(33);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(e){v(n,e);var t=b(n);function n(){return f(this,n),t.apply(this,arguments)}return h(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,i.default)(e),style:{display:"block"},onClick:t},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?r.default.cloneElement(this.props.prevArrow,u(u({},n),o)):r.default.createElement("button",l({key:"0",type:"button"},n)," ","Previous")}}]),n}(r.default.PureComponent);t.PrevArrow=w;var S=function(e){v(n,e);var t=b(n);function n(){return f(this,n),t.apply(this,arguments)}return h(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,o.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,i.default)(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?r.default.cloneElement(this.props.nextArrow,u(u({},n),a)):r.default.createElement("button",l({key:"1",type:"button"},n)," ","Next")}}]),n}(r.default.PureComponent);t.NextArrow=S},function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var a=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function a(){n&&(n=!1,e()),r&&l()}function s(){o(a)}function l(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);i=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;a.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),c=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},u=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},d=b(0,0,0,0);function f(e){return parseFloat(e)||0}function p(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+f(e["border-"+n+"-width"])}),0)}function h(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var r=u(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=f(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=f(r.width),l=f(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=p(r,"left","right")+o),Math.round(l+a)!==n&&(l-=p(r,"top","bottom")+a)),!function(e){return e===u(e).document.documentElement}(e)){var c=Math.round(s+o)-t,h=Math.round(l+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(h)&&(l-=h)}return b(i.left,i.top,s,l)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof u(e).SVGGraphicsElement}:function(e){return e instanceof u(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return r?v(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):h(e):d}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var g=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=y(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),m=function(e,t){var n,r,i,o,a,s,l,u=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),c(l,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),l);c(this,{target:e,contentRect:u})},w=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new g(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new m(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),S="undefined"!=typeof WeakMap?new WeakMap:new n,O=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),r=new w(t,n,this);S.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){O.prototype[e]=function(){var t;return(t=S.get(this))[e].apply(t,arguments)}}));var k=void 0!==i.ResizeObserver?i.ResizeObserver:O;t.default=k}.call(this,n(27))},function(e,t,n){var r=n(63),i=function(e){var t="",n=Object.keys(e);return n.forEach((function(i,o){var a=e[i];(function(e){return/[height|width]$/.test(e)})(i=r(i))&&"number"==typeof a&&(a+="px"),t+=!0===a?i:!1===a?"not "+i:"("+i+": "+a+")",o<n.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(n,r){t+=i(n),r<e.length-1&&(t+=", ")})),t):i(e)}},function(e,t){e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(15))&&r.__esModule?r:{default:r};var o={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return i.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return i.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=o},function(e,t,n){var r=n(66);e.exports=new r},function(e,t,n){var r=n(67),i=n(45),o=i.each,a=i.isFunction,s=i.isArray;function l(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(e,t,n){var i=this.queries,l=n&&this.browserIsIncapable;return i[e]||(i[e]=new r(e,l)),a(t)&&(t={match:t}),s(t)||(t=[t]),o(t,(function(t){a(t)&&(t={match:t}),i[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=l},function(e,t,n){var r=n(68),i=n(45).each;function o(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}o.prototype={constuctor:o,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;i(t,(function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){i(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";i(this.handlers,(function(t){t[e]()}))}},e.exports=o},function(e,t){function n(e){this.options=e,!e.deferSetup&&this.setup()}n.prototype={constructor:n,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=n},,,,,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"Collection",(function(){return i})),n.d(t,"CollectionTitle",(function(){return s})),n.d(t,"CollectionSubtitle",(function(){return l})),n.d(t,"CollectionHeader",(function(){return u})),n.d(t,"CollectionBody",(function(){return f})),n.d(t,"CollectionLayout",(function(){return y})),n.d(t,"CarouselLayout",(function(){return S})),n.d(t,"ClassicLayout",(function(){return O})),n.d(t,"MasonryLayout",(function(){return k})),n.d(t,"ParametricLayout",(function(){return j})),n.d(t,"ScrollIndicator",(function(){return E}));var r=n(0),i=function(e){var t=e.attributes.align;return Object(r.createElement)("div",{className:"nb-collection align".concat(t," nb-block-spacing-container")},e.children)},o=n(1),a=n(16),s=function(e){var t=e.attributes,n=t.showCollectionTitle,i=t.title,s=t.collectionTitleLevel,l=t.collectionTitleFontSize,c=e.setAttributes;return n?Object(r.createElement)(a.RichText,{tagName:"h".concat(s),className:"nb-collection__title has-".concat(l,"-font-size alignfull"),value:i,placeholder:Object(o.__)("Collection title","nova-blocks"),onChange:function(e){c({title:e})},allowedFormats:["core/link"]}):null},l=function(e){var t=e.attributes,n=t.showCollectionSubtitle,i=t.subtitle,s=e.setAttributes;return n?Object(r.createElement)(a.RichText,{tagName:"p",className:"nb-collection__subtitle is-style-lead alignfull",value:i,placeholder:Object(o.__)("Collection subtitle","nova-blocks"),onChange:function(e){s({subtitle:e})},allowedFormats:[]}):null},c=n(7),u=function(e){var t=e.attributes,n=t.showCollectionTitle,i=t.showCollectionSubtitle,o=t.align;return n||i?Object(r.createElement)("div",{className:"nb-collection__header align".concat(o)},Object(r.createElement)("div",{className:"nb-collection__inner-container"},Object(r.createElement)(s,Object(c.a)({},e,{key:"title"})),Object(r.createElement)(l,Object(c.a)({},e,{key:"subtitle"})))):null},d=n(4),f=function(e){var t=e.attributes,n=Object(d.getColorSignalClassnames)({palette:t.palette,colorSignal:t.contentColorSignal,paletteVariation:t.contentPaletteVariation,useSourceColorAsReference:!1},!0);return Object(r.createElement)("div",{className:"nb-collection__body"},Object(r.createElement)(y,Object(c.a)({},e,{key:"layout"})),Object(r.createElement)(E,Object(c.a)({},e,{className:n,key:"scroll"})))},p=n(6),h=n(11),v=n.n(h),y=function(e){var t=e.attributes,n=t.layoutStyle,i=t.carouselLayout,o=v()(e.className,"nb-collection__layout","nb-collection__layout--".concat(n),Object(p.a)({},"nb-collection__layout--".concat(i,"-width"),"carousel"===n)),a=Object.assign({},e,{className:o});return Object(r.createElement)(r.Fragment,null,"classic"===n&&Object(r.createElement)(O,Object(c.a)({},a,{key:"classic_layout"})),"carousel"===n&&Object(r.createElement)(S,Object(c.a)({},a,{key:"carousel_layout"})),"masonry"===n&&Object(r.createElement)(k,Object(c.a)({},a,{key:"masonry_layout"})),"parametric"===n&&Object(r.createElement)(j,Object(c.a)({},a,{key:"parametric_layout"})))},b=(n(32),n(50)),g=n.n(b),m=function(e){var t=e.attributes,n=e.onClick,i=e.isNext,o=t.palette,a=t.contentPaletteVariation,s=t.contentColorSignal,l="sm-palette-".concat(o),c="sm-variation-".concat(a),u="sm-color-signal-".concat(s),d=i?"Next":"Previous",f=i?"slick-next":"slick-prev";return Object(r.createElement)("button",{className:"slick-arrow ".concat(f," ").concat(l," ").concat(c," ").concat(u),"aria-label":d,onClick:n},d)},w=function(e){var t=e.attributes,n=t.palette,r=t.contentPaletteVariation,i=t.contentColorSignal,o="sm-palette-".concat(n),a="sm-variation-".concat(r),s="sm-color-signal-".concat(i);return"slick-dots ".concat(o," ").concat(a," ").concat(s)},S=function(e){var t=e.attributes,n=t.columns,i=t.carouselLayout,o=t.showArrows,a=t.showPagination,s=Object(p.a)({arrows:o,dots:a,dotsClass:w(e),infinite:!0,variableWidth:"variable"===i||"content"===i,prevArrow:Object(r.createElement)(m,e),nextArrow:Object(r.createElement)(m,Object(c.a)({isNext:!0},e))},"infinite",!0);return"variable"!==i&&"content"!==i&&(s.slidesToShow=n),Object(r.createElement)(g.a,Object(c.a)({},s,{className:e.className}),e.children)},O=function(e){return Object(r.createElement)("div",{className:e.className},e.children)},k=function(e){var t=e.attributes,n=r.Children.toArray(e.children),i=t.columns,o=n.reduce((function(e,t,n){return e[n%i]||(e[n%i]=[]),e[n%i].push(t),e}),[]);return Object(r.createElement)("div",{className:e.className},o.map((function(e){return Object(r.createElement)("div",{className:"nb-collection__layout-column"},e)})))},_=n(5),j=function(e){var t=r.Children.toArray(e.children),n=Object(r.useCallback)((function(e){return t[e]}),[t]);return Object(r.createElement)(_.ParametricGrid,Object(c.a)({getContent:n,cardsCount:t.length},e,{key:"parametric_grid"}))},E=function(e){if(!e.attributes.scrollIndicatorBlock)return null;var t=v()("nb-scroll-indicator",e.className);return Object(r.createElement)("div",{className:t})}}]); -
nova-blocks/trunk/build/collection/style-rtl.css
r2726064 r2744078 1 @media only screen and (min-width:768px){:is(.nb-supernova--3-columns,.nb-supernova--4-columns) .nb-collection__layout--classic :is(.nb-supernova-item--layout-vertical,.nb-supernova-item--layout-vertical-reverse,.nb-supernova-item--layout-stacked) .nb-card__description{--font-size-modifier:0.95}.nb-supernova--2-columns .nb-collection__layout--classic :is(.nb-supernova-item--layout-horizontal,.nb-supernova-item--layout-horizontal-reverse){--nb-spacing-base:0.5}.nb-supernova--2-columns .nb-collection__layout--classic :is(.nb-supernova-item--layout-horizontal,.nb-supernova-item--layout-horizontal-reverse) .nb-card__description{--font-size-modifier:0.95}:is(.nb-supernova--3-columns,.nb-supernova--4-columns) .nb-collection__layout--classic :is(.nb-supernova-item--layout-horizontal,.nb-supernova-item--layout-horizontal-reverse){--nb-spacing-base:0.5}:is(.nb-supernova--3-columns,.nb-supernova--4-columns) .nb-collection__layout--classic :is(.nb-supernova-item--layout-horizontal,.nb-supernova-item--layout-horizontal-reverse) .nb-card__description{--font-size-modifier:0.84}}.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-l .nb-card__title,.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xl .nb-card__title{--font-size-modifier:1.8}.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-m .nb-card__title{--font-size-modifier:1.4}.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xs{--grid-item-content-display:none;--grid-item-buttons-display:none}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xs{--font-size-modifier:0.8}.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xs .nb-card__subtitle,.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xs .nb-card__title{--font-size-modifier:0.75}}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-full .nb-card__title{--font-size-modifier:1.8}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xl .nb-card__title{--font-size-modifier:1.4}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-m{--font-size-modifier:0.8}}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-s,.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xs{--card-image-width:40%}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-s{--grid-item-content-display:none;--grid-item-buttons-display:none;--font-size-modifier:0.8}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-s .nb-card__subtitle,.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-s .nb-card__title{--font-size-modifier:0.75}}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xs{--grid-item-content-display:none;--grid-item-buttons-display:none;--font-size-modifier:0.8}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xs{--font-size-modifier:0.75}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xs .nb-card__title{--font-size-modifier:0.56}}.nb-collection__layout--parametric .nb-card__title{display:var(--grid-item-title-display,block)}.nb-collection__layout--parametric .nb-card__subtitle{display:var(--grid-item-subtitle-display,block)}.nb-collection__layout--parametric .nb-card__description{display:var(--grid-item-content-display,block)}.nb-collection__layout--parametric .nb-card__buttons{display:var(--grid-item-buttons-display,block)}.nb-collection__layout--parametric .nb-card__meta{display:var(--grid-item-meta-display,block)}.nb-grid{grid-gap:var(--nb-grid-spacing)}.nb-grid .nb-grid__item{--theme-content-width-normal:100%}.nb-grid__area+.nb-grid__area,.nb-grid__area>*+*{margin-top:var(--nb-grid-spacing)}.nb-grid__area{overflow:hidden;position:relative}.nb-supernova--card-layout-stacked .nb-grid__area{height:100%}.nb-supernova--card-layout-stacked .nb-grid__area,.nb-supernova--card-layout-stacked .nb-grid__area>.nb-grid__item,.nb-supernova--card-layout-stacked .nb-grid__area>.nb-grid__item>.nb-collection__layout-item{display:flex;flex-direction:column}.nb-supernova--card-layout-stacked .nb-grid__area>*,.nb-supernova--card-layout-stacked .nb-grid__area>.nb-grid__item>*,.nb-supernova--card-layout-stacked .nb-grid__area>.nb-grid__item>.nb-collection__layout-item>*{flex-grow:1}.nb-grid__column:first-child .nb-grid__area:first-child:last-child{position:-webkit-sticky;position:sticky;top:var(--nb-grid-spacing)}.nb-grid__debug{bottom:0;display:none;left:0;padding:10px;position:absolute;right:0;top:0}.nb-grid--scaled{transform:scale(0.5);transform-origin:50% 0}.nb-grid--mask .nb-grid__debug{display:block}.nb-grid--mask .nb-grid__area{border:2px dashed var(--nb-purple)}.nb-grid--mask .nb-grid__item{border:2px dashed var(--nb-green)}.nb-grid--mask .nb-grid__item .novablocks-block__content{opacity:0}.nb-scroll-indicator{background:none!important;bottom:0;cursor:pointer;display:flex;justify-content:center;left:0;position:absolute;right:0;transition:all .3s ease-out;transition-property:opacity;z-index:10}.nb-scroll-indicator svg{fill:var(--sm-current-bg-color,var(--nb-bg-color))}.nb-scroll-indicator:after{border:2px solid var(--sm-current-fg2-color,var(--nb-fg2-color));border-right:0;border-top:0;content:"";height:12px;position:absolute;right:50%;top:50%;transform:translate(50%,-70%) rotate(-45deg);width:12px}.nb-scroll-indicator--middle.nb-scroll-indicator--hidden{opacity:0}.nb-scroll-indicator:not(.nb-scroll-indicator--middle){background:none;bottom:0;color:var(--sm-current-bg-color,var(--nb-bg-color));height:50px;margin-left:auto;margin-right:auto;width:160px;z-index:1}.nb-scroll-indicator:not(.nb-scroll-indicator--middle):after{color:var(--sm-current-fg2-color,var(--nb-fg2-color))}.nb-scroll-indicator--middle[class]{background-color:transparent;color:inherit}.nb-scroll-indicator--middle svg{opacity:0}[class*=c-bully],[class*=c-bully]:after,[class*=c-bully]:before{box-sizing:border-box}.c-bully{color:#000;font-size:12px;left:0;margin-left:30px;position:fixed;top:50%;transform:translateY(-50%);z-index:9000}.c-bully--inversed{color:#fff}.c-bully__bullet{cursor:pointer;opacity:0;padding:0.5em}.c-bully__bullet:after{border:0.175em solid;border-radius:50%;content:"";display:block;height:1em;width:1em;will-change:transform}.c-bully__bullet--active{position:absolute;right:0;top:0;transition:top 0.2s ease-out}.c-bully__bullet--active:before{background:currentColor;border-radius:50%;content:"";height:1em;position:absolute;right:50%;top:50%;transform:translate(50%,-50%) scale(1.2);width:1em}.c-bully__bullet--active:after{border-color:transparent}.c-bully__bullet--pop{-webkit-animation:bully-pop 0.6s cubic-bezier(0.485,1.63,0.43,2) forwards,fade-in 0.2s ease-out 0.2s forwards;animation:bully-pop 0.6s cubic-bezier(0.485,1.63,0.43,2) forwards,fade-in 0.2s ease-out 0.2s forwards}.c-bully__bullet--squash{-webkit-animation:bully-squash 0.2s ease-out forwards;animation:bully-squash 0.2s ease-out forwards;opacity:1}@-webkit-keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@-webkit-keyframes bully-pop{50%{transform:scale(0.7)}to{transform:scale(1)}}@keyframes bully-pop{50%{transform:scale(0.7)}to{transform:scale(1)}}@-webkit-keyframes bully-squash{50%{transform:scale(0.6,1.8)}to{transform:scale(1)}}@keyframes bully-squash{50%{transform:scale(0.6,1.8)}to{transform:scale(1)}}.slick-slide{opacity:1!important}.slick-slide>*{overflow:hidden}.slick-slide --current{z-index:1100!important}.slick-slide--next{z-index:1200!important}1 @media only screen and (min-width:768px){:is(.nb-supernova--3-columns,.nb-supernova--4-columns) .nb-collection__layout--classic :is(.nb-supernova-item--layout-vertical,.nb-supernova-item--layout-vertical-reverse,.nb-supernova-item--layout-stacked) .nb-card__description{--font-size-modifier:0.95}.nb-supernova--2-columns .nb-collection__layout--classic :is(.nb-supernova-item--layout-horizontal,.nb-supernova-item--layout-horizontal-reverse){--nb-spacing-base:0.5}.nb-supernova--2-columns .nb-collection__layout--classic :is(.nb-supernova-item--layout-horizontal,.nb-supernova-item--layout-horizontal-reverse) .nb-card__description{--font-size-modifier:0.95}:is(.nb-supernova--3-columns,.nb-supernova--4-columns) .nb-collection__layout--classic :is(.nb-supernova-item--layout-horizontal,.nb-supernova-item--layout-horizontal-reverse){--nb-spacing-base:0.5}:is(.nb-supernova--3-columns,.nb-supernova--4-columns) .nb-collection__layout--classic :is(.nb-supernova-item--layout-horizontal,.nb-supernova-item--layout-horizontal-reverse) .nb-card__description{--font-size-modifier:0.84}}.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-l .nb-card__title,.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xl .nb-card__title{--font-size-modifier:1.8}.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-m .nb-card__title{--font-size-modifier:1.4}.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xs{--grid-item-content-display:none;--grid-item-buttons-display:none}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xs{--font-size-modifier:0.8}.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xs .nb-card__subtitle,.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xs .nb-card__title{--font-size-modifier:0.75}}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-full .nb-card__title{--font-size-modifier:1.8}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xl .nb-card__title{--font-size-modifier:1.4}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-m{--font-size-modifier:0.8}}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-s,.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xs{--card-image-width:40%}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-s{--grid-item-content-display:none;--grid-item-buttons-display:none;--font-size-modifier:0.8}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-s .nb-card__subtitle,.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-s .nb-card__title{--font-size-modifier:0.75}}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xs{--grid-item-content-display:none;--grid-item-buttons-display:none;--font-size-modifier:0.8}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xs{--font-size-modifier:0.75}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xs .nb-card__title{--font-size-modifier:0.56}}.nb-collection__layout--parametric .nb-card__title{display:var(--grid-item-title-display,block)}.nb-collection__layout--parametric .nb-card__subtitle{display:var(--grid-item-subtitle-display,block)}.nb-collection__layout--parametric .nb-card__description{display:var(--grid-item-content-display,block)}.nb-collection__layout--parametric .nb-card__buttons{display:var(--grid-item-buttons-display,block)}.nb-collection__layout--parametric .nb-card__meta{display:var(--grid-item-meta-display,block)}.nb-grid{grid-gap:var(--nb-grid-spacing)}.nb-grid .nb-grid__item{--theme-content-width-normal:100%}.nb-grid__area+.nb-grid__area,.nb-grid__area>*+*{margin-top:var(--nb-grid-spacing)}.nb-grid__area{overflow:hidden;position:relative}.nb-supernova--card-layout-stacked .nb-grid__area{height:100%}.nb-supernova--card-layout-stacked .nb-grid__area,.nb-supernova--card-layout-stacked .nb-grid__area>.nb-grid__item,.nb-supernova--card-layout-stacked .nb-grid__area>.nb-grid__item>.nb-collection__layout-item{display:flex;flex-direction:column}.nb-supernova--card-layout-stacked .nb-grid__area>*,.nb-supernova--card-layout-stacked .nb-grid__area>.nb-grid__item>*,.nb-supernova--card-layout-stacked .nb-grid__area>.nb-grid__item>.nb-collection__layout-item>*{flex-grow:1}.nb-grid__column:first-child .nb-grid__area:first-child:last-child{position:-webkit-sticky;position:sticky;top:var(--nb-grid-spacing)}.nb-grid__debug{bottom:0;display:none;left:0;padding:10px;position:absolute;right:0;top:0}.nb-grid--scaled{transform:scale(0.5);transform-origin:50% 0}.nb-grid--mask .nb-grid__debug{display:block}.nb-grid--mask .nb-grid__area{border:2px dashed var(--nb-purple)}.nb-grid--mask .nb-grid__item{border:2px dashed var(--nb-green)}.nb-grid--mask .nb-grid__item .novablocks-block__content{opacity:0}.nb-scroll-indicator{background:none!important;bottom:0;cursor:pointer;display:flex;justify-content:center;left:0;position:absolute;right:0;transition:all .3s ease-out;transition-property:opacity;z-index:10}.nb-scroll-indicator svg{fill:var(--sm-current-bg-color,var(--nb-bg-color))}.nb-scroll-indicator:after{border:2px solid var(--sm-current-fg2-color,var(--nb-fg2-color));border-right:0;border-top:0;content:"";height:12px;position:absolute;right:50%;top:50%;transform:translate(50%,-70%) rotate(-45deg);width:12px}.nb-scroll-indicator--middle.nb-scroll-indicator--hidden{opacity:0}.nb-scroll-indicator:not(.nb-scroll-indicator--middle){background:none;bottom:0;color:var(--sm-current-bg-color,var(--nb-bg-color));height:50px;margin-left:auto;margin-right:auto;width:160px;z-index:1}.nb-scroll-indicator:not(.nb-scroll-indicator--middle):after{color:var(--sm-current-fg2-color,var(--nb-fg2-color))}.nb-scroll-indicator--middle[class]{background-color:transparent;color:inherit}.nb-scroll-indicator--middle svg{opacity:0}[class*=c-bully],[class*=c-bully]:after,[class*=c-bully]:before{box-sizing:border-box}.c-bully{color:#000;font-size:12px;left:0;margin-left:30px;position:fixed;top:50%;transform:translateY(-50%);z-index:9000}.c-bully--inversed{color:#fff}.c-bully__bullet{cursor:pointer;opacity:0;padding:0.5em}.c-bully__bullet:after{border:0.175em solid;border-radius:50%;content:"";display:block;height:1em;width:1em;will-change:transform}.c-bully__bullet--active{position:absolute;right:0;top:0;transition:top 0.2s ease-out}.c-bully__bullet--active:before{background:currentColor;border-radius:50%;content:"";height:1em;position:absolute;right:50%;top:50%;transform:translate(50%,-50%) scale(1.2);width:1em}.c-bully__bullet--active:after{border-color:transparent}.c-bully__bullet--pop{-webkit-animation:bully-pop 0.6s cubic-bezier(0.485,1.63,0.43,2) forwards,fade-in 0.2s ease-out 0.2s forwards;animation:bully-pop 0.6s cubic-bezier(0.485,1.63,0.43,2) forwards,fade-in 0.2s ease-out 0.2s forwards}.c-bully__bullet--squash{-webkit-animation:bully-squash 0.2s ease-out forwards;animation:bully-squash 0.2s ease-out forwards;opacity:1}@-webkit-keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@-webkit-keyframes bully-pop{50%{transform:scale(0.7)}to{transform:scale(1)}}@keyframes bully-pop{50%{transform:scale(0.7)}to{transform:scale(1)}}@-webkit-keyframes bully-squash{50%{transform:scale(0.6,1.8)}to{transform:scale(1)}}@keyframes bully-squash{50%{transform:scale(0.6,1.8)}to{transform:scale(1)}}.slick-slide{opacity:1!important}.slick-slide>*{overflow:hidden}.slick-slide>*,.slick-slide>*>.nb-collection__layout-item{height:100%}.slick-slide--current{z-index:1100!important}.slick-slide--next{z-index:1200!important} -
nova-blocks/trunk/build/collection/style.css
r2726064 r2744078 1 @media only screen and (min-width:768px){:is(.nb-supernova--3-columns,.nb-supernova--4-columns) .nb-collection__layout--classic :is(.nb-supernova-item--layout-vertical,.nb-supernova-item--layout-vertical-reverse,.nb-supernova-item--layout-stacked) .nb-card__description{--font-size-modifier:0.95}.nb-supernova--2-columns .nb-collection__layout--classic :is(.nb-supernova-item--layout-horizontal,.nb-supernova-item--layout-horizontal-reverse){--nb-spacing-base:0.5}.nb-supernova--2-columns .nb-collection__layout--classic :is(.nb-supernova-item--layout-horizontal,.nb-supernova-item--layout-horizontal-reverse) .nb-card__description{--font-size-modifier:0.95}:is(.nb-supernova--3-columns,.nb-supernova--4-columns) .nb-collection__layout--classic :is(.nb-supernova-item--layout-horizontal,.nb-supernova-item--layout-horizontal-reverse){--nb-spacing-base:0.5}:is(.nb-supernova--3-columns,.nb-supernova--4-columns) .nb-collection__layout--classic :is(.nb-supernova-item--layout-horizontal,.nb-supernova-item--layout-horizontal-reverse) .nb-card__description{--font-size-modifier:0.84}}.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-l .nb-card__title,.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xl .nb-card__title{--font-size-modifier:1.8}.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-m .nb-card__title{--font-size-modifier:1.4}.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xs{--grid-item-content-display:none;--grid-item-buttons-display:none}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xs{--font-size-modifier:0.8}.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xs .nb-card__subtitle,.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xs .nb-card__title{--font-size-modifier:0.75}}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-full .nb-card__title{--font-size-modifier:1.8}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xl .nb-card__title{--font-size-modifier:1.4}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-m{--font-size-modifier:0.8}}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-s,.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xs{--card-image-width:40%}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-s{--grid-item-content-display:none;--grid-item-buttons-display:none;--font-size-modifier:0.8}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-s .nb-card__subtitle,.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-s .nb-card__title{--font-size-modifier:0.75}}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xs{--grid-item-content-display:none;--grid-item-buttons-display:none;--font-size-modifier:0.8}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xs{--font-size-modifier:0.75}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xs .nb-card__title{--font-size-modifier:0.56}}.nb-collection__layout--parametric .nb-card__title{display:var(--grid-item-title-display,block)}.nb-collection__layout--parametric .nb-card__subtitle{display:var(--grid-item-subtitle-display,block)}.nb-collection__layout--parametric .nb-card__description{display:var(--grid-item-content-display,block)}.nb-collection__layout--parametric .nb-card__buttons{display:var(--grid-item-buttons-display,block)}.nb-collection__layout--parametric .nb-card__meta{display:var(--grid-item-meta-display,block)}.nb-grid{grid-gap:var(--nb-grid-spacing)}.nb-grid .nb-grid__item{--theme-content-width-normal:100%}.nb-grid__area+.nb-grid__area,.nb-grid__area>*+*{margin-top:var(--nb-grid-spacing)}.nb-grid__area{overflow:hidden;position:relative}.nb-supernova--card-layout-stacked .nb-grid__area{height:100%}.nb-supernova--card-layout-stacked .nb-grid__area,.nb-supernova--card-layout-stacked .nb-grid__area>.nb-grid__item,.nb-supernova--card-layout-stacked .nb-grid__area>.nb-grid__item>.nb-collection__layout-item{display:flex;flex-direction:column}.nb-supernova--card-layout-stacked .nb-grid__area>*,.nb-supernova--card-layout-stacked .nb-grid__area>.nb-grid__item>*,.nb-supernova--card-layout-stacked .nb-grid__area>.nb-grid__item>.nb-collection__layout-item>*{flex-grow:1}.nb-grid__column:first-child .nb-grid__area:first-child:last-child{position:-webkit-sticky;position:sticky;top:var(--nb-grid-spacing)}.nb-grid__debug{bottom:0;display:none;left:0;padding:10px;position:absolute;right:0;top:0}.nb-grid--scaled{transform:scale(0.5);transform-origin:50% 0}.nb-grid--mask .nb-grid__debug{display:block}.nb-grid--mask .nb-grid__area{border:2px dashed var(--nb-purple)}.nb-grid--mask .nb-grid__item{border:2px dashed var(--nb-green)}.nb-grid--mask .nb-grid__item .novablocks-block__content{opacity:0}.nb-scroll-indicator{background:none!important;bottom:0;cursor:pointer;display:flex;justify-content:center;left:0;position:absolute;right:0;transition:all .3s ease-out;transition-property:opacity;z-index:10}.nb-scroll-indicator svg{fill:var(--sm-current-bg-color,var(--nb-bg-color))}.nb-scroll-indicator:after{border:2px solid var(--sm-current-fg2-color,var(--nb-fg2-color));border-left:0;border-top:0;content:"";height:12px;left:50%;position:absolute;top:50%;transform:translate(-50%,-70%) rotate(45deg);width:12px}.nb-scroll-indicator--middle.nb-scroll-indicator--hidden{opacity:0}.nb-scroll-indicator:not(.nb-scroll-indicator--middle){background:none;bottom:0;color:var(--sm-current-bg-color,var(--nb-bg-color));height:50px;margin-left:auto;margin-right:auto;width:160px;z-index:1}.nb-scroll-indicator:not(.nb-scroll-indicator--middle):after{color:var(--sm-current-fg2-color,var(--nb-fg2-color))}.nb-scroll-indicator--middle[class]{background-color:transparent;color:inherit}.nb-scroll-indicator--middle svg{opacity:0}[class*=c-bully],[class*=c-bully]:after,[class*=c-bully]:before{box-sizing:border-box}.c-bully{color:#000;font-size:12px;margin-right:30px;position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:9000}.c-bully--inversed{color:#fff}.c-bully__bullet{cursor:pointer;opacity:0;padding:0.5em}.c-bully__bullet:after{border:0.175em solid;border-radius:50%;content:"";display:block;height:1em;width:1em;will-change:transform}.c-bully__bullet--active{left:0;position:absolute;top:0;transition:top 0.2s ease-out}.c-bully__bullet--active:before{background:currentColor;border-radius:50%;content:"";height:1em;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%) scale(1.2);width:1em}.c-bully__bullet--active:after{border-color:transparent}.c-bully__bullet--pop{-webkit-animation:bully-pop 0.6s cubic-bezier(0.485,1.63,0.43,2) forwards,fade-in 0.2s ease-out 0.2s forwards;animation:bully-pop 0.6s cubic-bezier(0.485,1.63,0.43,2) forwards,fade-in 0.2s ease-out 0.2s forwards}.c-bully__bullet--squash{-webkit-animation:bully-squash 0.2s ease-out forwards;animation:bully-squash 0.2s ease-out forwards;opacity:1}@-webkit-keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@-webkit-keyframes bully-pop{50%{transform:scale(0.7)}to{transform:scale(1)}}@keyframes bully-pop{50%{transform:scale(0.7)}to{transform:scale(1)}}@-webkit-keyframes bully-squash{50%{transform:scale(0.6,1.8)}to{transform:scale(1)}}@keyframes bully-squash{50%{transform:scale(0.6,1.8)}to{transform:scale(1)}}.slick-slide{opacity:1!important}.slick-slide>*{overflow:hidden}.slick-slide --current{z-index:1100!important}.slick-slide--next{z-index:1200!important}1 @media only screen and (min-width:768px){:is(.nb-supernova--3-columns,.nb-supernova--4-columns) .nb-collection__layout--classic :is(.nb-supernova-item--layout-vertical,.nb-supernova-item--layout-vertical-reverse,.nb-supernova-item--layout-stacked) .nb-card__description{--font-size-modifier:0.95}.nb-supernova--2-columns .nb-collection__layout--classic :is(.nb-supernova-item--layout-horizontal,.nb-supernova-item--layout-horizontal-reverse){--nb-spacing-base:0.5}.nb-supernova--2-columns .nb-collection__layout--classic :is(.nb-supernova-item--layout-horizontal,.nb-supernova-item--layout-horizontal-reverse) .nb-card__description{--font-size-modifier:0.95}:is(.nb-supernova--3-columns,.nb-supernova--4-columns) .nb-collection__layout--classic :is(.nb-supernova-item--layout-horizontal,.nb-supernova-item--layout-horizontal-reverse){--nb-spacing-base:0.5}:is(.nb-supernova--3-columns,.nb-supernova--4-columns) .nb-collection__layout--classic :is(.nb-supernova-item--layout-horizontal,.nb-supernova-item--layout-horizontal-reverse) .nb-card__description{--font-size-modifier:0.84}}.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-l .nb-card__title,.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xl .nb-card__title{--font-size-modifier:1.8}.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-m .nb-card__title{--font-size-modifier:1.4}.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xs{--grid-item-content-display:none;--grid-item-buttons-display:none}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xs{--font-size-modifier:0.8}.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xs .nb-card__subtitle,.nb-collection__layout--parametric .nb-grid__area--portrait.nb-grid__area--width-xs .nb-card__title{--font-size-modifier:0.75}}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-full .nb-card__title{--font-size-modifier:1.8}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xl .nb-card__title{--font-size-modifier:1.4}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-m{--font-size-modifier:0.8}}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-s,.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xs{--card-image-width:40%}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-s{--grid-item-content-display:none;--grid-item-buttons-display:none;--font-size-modifier:0.8}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-s .nb-card__subtitle,.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-s .nb-card__title{--font-size-modifier:0.75}}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xs{--grid-item-content-display:none;--grid-item-buttons-display:none;--font-size-modifier:0.8}@media only screen and (min-width:768px){.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xs{--font-size-modifier:0.75}.nb-collection__layout--parametric .nb-grid__area--landscape.nb-grid__area--width-xs .nb-card__title{--font-size-modifier:0.56}}.nb-collection__layout--parametric .nb-card__title{display:var(--grid-item-title-display,block)}.nb-collection__layout--parametric .nb-card__subtitle{display:var(--grid-item-subtitle-display,block)}.nb-collection__layout--parametric .nb-card__description{display:var(--grid-item-content-display,block)}.nb-collection__layout--parametric .nb-card__buttons{display:var(--grid-item-buttons-display,block)}.nb-collection__layout--parametric .nb-card__meta{display:var(--grid-item-meta-display,block)}.nb-grid{grid-gap:var(--nb-grid-spacing)}.nb-grid .nb-grid__item{--theme-content-width-normal:100%}.nb-grid__area+.nb-grid__area,.nb-grid__area>*+*{margin-top:var(--nb-grid-spacing)}.nb-grid__area{overflow:hidden;position:relative}.nb-supernova--card-layout-stacked .nb-grid__area{height:100%}.nb-supernova--card-layout-stacked .nb-grid__area,.nb-supernova--card-layout-stacked .nb-grid__area>.nb-grid__item,.nb-supernova--card-layout-stacked .nb-grid__area>.nb-grid__item>.nb-collection__layout-item{display:flex;flex-direction:column}.nb-supernova--card-layout-stacked .nb-grid__area>*,.nb-supernova--card-layout-stacked .nb-grid__area>.nb-grid__item>*,.nb-supernova--card-layout-stacked .nb-grid__area>.nb-grid__item>.nb-collection__layout-item>*{flex-grow:1}.nb-grid__column:first-child .nb-grid__area:first-child:last-child{position:-webkit-sticky;position:sticky;top:var(--nb-grid-spacing)}.nb-grid__debug{bottom:0;display:none;left:0;padding:10px;position:absolute;right:0;top:0}.nb-grid--scaled{transform:scale(0.5);transform-origin:50% 0}.nb-grid--mask .nb-grid__debug{display:block}.nb-grid--mask .nb-grid__area{border:2px dashed var(--nb-purple)}.nb-grid--mask .nb-grid__item{border:2px dashed var(--nb-green)}.nb-grid--mask .nb-grid__item .novablocks-block__content{opacity:0}.nb-scroll-indicator{background:none!important;bottom:0;cursor:pointer;display:flex;justify-content:center;left:0;position:absolute;right:0;transition:all .3s ease-out;transition-property:opacity;z-index:10}.nb-scroll-indicator svg{fill:var(--sm-current-bg-color,var(--nb-bg-color))}.nb-scroll-indicator:after{border:2px solid var(--sm-current-fg2-color,var(--nb-fg2-color));border-left:0;border-top:0;content:"";height:12px;left:50%;position:absolute;top:50%;transform:translate(-50%,-70%) rotate(45deg);width:12px}.nb-scroll-indicator--middle.nb-scroll-indicator--hidden{opacity:0}.nb-scroll-indicator:not(.nb-scroll-indicator--middle){background:none;bottom:0;color:var(--sm-current-bg-color,var(--nb-bg-color));height:50px;margin-left:auto;margin-right:auto;width:160px;z-index:1}.nb-scroll-indicator:not(.nb-scroll-indicator--middle):after{color:var(--sm-current-fg2-color,var(--nb-fg2-color))}.nb-scroll-indicator--middle[class]{background-color:transparent;color:inherit}.nb-scroll-indicator--middle svg{opacity:0}[class*=c-bully],[class*=c-bully]:after,[class*=c-bully]:before{box-sizing:border-box}.c-bully{color:#000;font-size:12px;margin-right:30px;position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:9000}.c-bully--inversed{color:#fff}.c-bully__bullet{cursor:pointer;opacity:0;padding:0.5em}.c-bully__bullet:after{border:0.175em solid;border-radius:50%;content:"";display:block;height:1em;width:1em;will-change:transform}.c-bully__bullet--active{left:0;position:absolute;top:0;transition:top 0.2s ease-out}.c-bully__bullet--active:before{background:currentColor;border-radius:50%;content:"";height:1em;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%) scale(1.2);width:1em}.c-bully__bullet--active:after{border-color:transparent}.c-bully__bullet--pop{-webkit-animation:bully-pop 0.6s cubic-bezier(0.485,1.63,0.43,2) forwards,fade-in 0.2s ease-out 0.2s forwards;animation:bully-pop 0.6s cubic-bezier(0.485,1.63,0.43,2) forwards,fade-in 0.2s ease-out 0.2s forwards}.c-bully__bullet--squash{-webkit-animation:bully-squash 0.2s ease-out forwards;animation:bully-squash 0.2s ease-out forwards;opacity:1}@-webkit-keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@-webkit-keyframes bully-pop{50%{transform:scale(0.7)}to{transform:scale(1)}}@keyframes bully-pop{50%{transform:scale(0.7)}to{transform:scale(1)}}@-webkit-keyframes bully-squash{50%{transform:scale(0.6,1.8)}to{transform:scale(1)}}@keyframes bully-squash{50%{transform:scale(0.6,1.8)}to{transform:scale(1)}}.slick-slide{opacity:1!important}.slick-slide>*{overflow:hidden}.slick-slide>*,.slick-slide>*>.nb-collection__layout-item{height:100%}.slick-slide--current{z-index:1100!important}.slick-slide--next{z-index:1200!important} -
nova-blocks/trunk/build/color-signal/frontend.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-utils', 'wp-polyfill'), 'version' => ' eadd3aabafad59ec97dabfa200a8c0b9');1 <?php return array('dependencies' => array('novablocks-utils', 'wp-polyfill'), 'version' => '9d94ce9bd1079525cf6275acd777dd21'); -
nova-blocks/trunk/build/color-signal/frontend.js
r2738702 r2744078 1 !function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s= 15)}([function(t,r){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,r){t.exports=window.novablocks.utils},,function(t,r){t.exports=function(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=new Array(r);n<r;n++)e[n]=t[n];return e},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,r,n){var e=n(6),o=n(7),a=n(5),i=n(8);t.exports=function(t){return e(t)||o(t)||a(t)||i()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,r,n){var e=n(3);t.exports=function(t,r){if(t){if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,r,n){var e=n(3);t.exports=function(t){if(Array.isArray(t))return e(t)},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,r){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,r){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0},,function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getAbsoluteColorVariation=r.computeColorSignal=r.addSiteVariationOffset=void 0,Object.defineProperty(r,"getColorSignalClassnames",{enumerable:!0,get:function(){return e.getColorSignalClassnames}}),r.removeSiteVariationOffset=r.normalizeVariationValue=r.mapPalettesToColorPalette=r.getVariationFromSignal=r.getSourceIndexFromPaletteId=r.getSiteColorVariation=r.getSignalRelativeToVariation=r.getSignalOptionsFromVariation=r.getPaletteConfig=r.getMaxSignal=r.getCurrentPaletteConfig=void 0;var e=n(1);r.getCurrentPaletteConfig=function(t){var r=t.attributes,n=t.settings,e=r.palette,o=n.palettes;return Array.isArray(o)&&o.length?o.find((function(t){return t.id===e}))||o[0]:{sourceIndex:6}};r.mapPalettesToColorPalette=function(t){var r=t.colors,n=t.sourceIndex;return{name:t.label,color:r[n].value}};var o=function(){var t,r;return parseInt((null===(t=window)||void 0===t||null===(r=t.styleManager)||void 0===r?void 0:r.siteColorVariation)||1,10)};r.getSiteColorVariation=o;var a=function(t){var r,n,e=null===(r=window)||void 0===r||null===(n=r.styleManager)||void 0===n?void 0:n.colorsConfig;return Array.isArray(e)&&e.length?e.find((function(r){return"".concat(r.id)==="".concat(t)}))||e[0]:{sourceIndex:6}};r.getPaletteConfig=a;r.getAbsoluteColorVariation=function(t){var r=t.palette,n=t.useSourceColorAsReference,e=parseInt(t.paletteVariation,10),o=l(r);return s(n?o+1:e)};r.getVariationFromSignal=function(t,r){var n=(0,e.getSignals)(r),o=n[Math.min(t,n.length-1)];return c(o)};var i=function(t,r,n){var e=u(r,n).reduce((function(r,n,e,o){return Math.abs(n-t)<Math.abs(o[r]-t)?e:r}),0),o=a(n),i=o.colors;return Array.isArray(null==o?void 0:o.variations)&&(i=o.variations.map((function(t){return t.bg}))),i[t-1]===i[r-1]?0:Math.max(1,e)};r.getSignalRelativeToVariation=i;var u=function(t,r){var n=(0,e.getSignals)(r);return n.sort((function(r,n){return Math.abs(t-r)<Math.abs(t-n)?-1:1})),n[0]=t,n};r.getSignalOptionsFromVariation=u;r.computeColorSignal=function(t,r,n){var e=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=u(t,n);if(Number.isInteger(e)){var a=i(e,t,n);if(a===r)return e}var l=Math.min(o.length-1,r);return o[l]};var l=function(t){var r=a(t),n=o();return(r.sourceIndex-n+1+12)%12};r.getSourceIndexFromPaletteId=l;var s=function(t){var r=o();return f(t+r-1)};r.addSiteVariationOffset=s;var c=function(t){var r=o();return f(t-r+1)};r.removeSiteVariationOffset=c;var f=function(t){return(t+11)%12+1};r.normalizeVariationValue=f;r.getMaxSignal=function(t){return(0,e.getSignals)(t).length-1}},,,,,function(t,r,n){"use strict";var e=n(1),o=n(10),a=n(16),i=n(19),u=function(t){(0,a.updateAllBlocksSignal)(t),(0,i.updateScrollIndicator)()},l=(0,o.getSiteColorVariation)();window.addEventListener("nb:updateColors",(function(){u(l)})),(0,e.ready)((function(){var t,r;e.IS_EDITOR||(u(l),null!==(t=parent)&&void 0!==t&&null!==(r=t.wp)&&void 0!==r&&r.customize&&parent.wp.customize("sm_site_color_variation",(function(t){t.bind((function(t,r){u(t)}))})))}))},function(t,r,n){"use strict";var e=n(0);Object.defineProperty(r,"__esModule",{value:!0}),r.updateBlockSignal=r.updateAllBlocksSignal=void 0;var o=n(17),a=e(n(18)),i=n(1),u=n(10),l=function t(r,n){var e=r.dataset,o=e.palette,a=e.useSourceColorAsReference,l=parseInt(null==e?void 0:e.colorSignal,10),c=Array.from(r.children);if(null!=e&&e.colorSignal){var f=(0,u.getAbsoluteColorVariation)(e),d=(0,u.computeColorSignal)(n,l,o,f),g=a?1:(0,u.removeSiteVariationOffset)(d),v=(0,u.getSourceIndexFromPaletteId)(o),p=a?(0,u.addSiteVariationOffset)(v+1):g,b=Array.from(r.classList),h=b.find((function(t){return t.indexOf("sm-palette-")>-1})),m=b.find((function(t){return t.indexOf("sm-variation-")>-1}));(0,i.removeClass)(r,"".concat(h," ").concat(m," sm-palette--shifted"));var y=(0,u.getColorSignalClassnames)({palette:o,paletteVariation:g,useSourceColorAsReference:a,colorSignal:l},!0),S=s(o,g);(0,i.addClass)(r,y),(0,i.toggleClass)(r,"sm-light",S),(0,i.toggleClass)(r,"sm-dark",!S),c.forEach((function(r){t(r,p)}))}else c.forEach((function(r){t(r,n)}))};r.updateBlockSignal=l;var s=function(t,r){var n,e;if((0,o.extend)([a.default]),Array.isArray(null===(n=window)||void 0===n||null===(e=n.styleManager)||void 0===e?void 0:e.colorsConfig)){var i=window.styleManager.colorsConfig.find((function(r){return"".concat(r.id)==="".concat(t)}));if(!i)return!0;var u=parseInt(r,10)-1,l=i.variations?i.variations[u].fg1:i.colors[u].value;return(0,o.colord)("#FFFFFF").contrast(l)>Math.sqrt(21)}};r.updateAllBlocksSignal=function(t){Array.from(document.querySelectorAll("[data-color-signal]")).filter((function(t){return!(t.parentNode&&t.parentNode.closest("[data-color-signal]"))})).forEach((function(r){l(r,t)}))}},function(t,r,n){"use strict";n.r(r),n.d(r,"Colord",(function(){return w})),n.d(r,"colord",(function(){return N})),n.d(r,"extend",(function(){return F})),n.d(r,"getFormat",(function(){return I})),n.d(r,"random",(function(){return j}));var e={grad:.9,turn:360,rad:360/(2*Math.PI)},o=function(t){return"string"==typeof t?t.length>0:"number"==typeof t},a=function(t,r,n){return void 0===r&&(r=0),void 0===n&&(n=Math.pow(10,r)),Math.round(n*t)/n+0},i=function(t,r,n){return void 0===r&&(r=0),void 0===n&&(n=1),t>n?n:t>r?t:r},u=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},l=function(t){return{r:i(t.r,0,255),g:i(t.g,0,255),b:i(t.b,0,255),a:i(t.a)}},s=function(t){return{r:a(t.r),g:a(t.g),b:a(t.b),a:a(t.a,3)}},c=/^#([0-9a-f]{3,8})$/i,f=function(t){var r=t.toString(16);return r.length<2?"0"+r:r},d=function(t){var r=t.r,n=t.g,e=t.b,o=t.a,a=Math.max(r,n,e),i=a-Math.min(r,n,e),u=i?a===r?(n-e)/i:a===n?2+(e-r)/i:4+(r-n)/i:0;return{h:60*(u<0?u+6:u),s:a?i/a*100:0,v:a/255*100,a:o}},g=function(t){var r=t.h,n=t.s,e=t.v,o=t.a;r=r/360*6,n/=100,e/=100;var a=Math.floor(r),i=e*(1-n),u=e*(1-(r-a)*n),l=e*(1-(1-r+a)*n),s=a%6;return{r:255*[e,u,i,i,l,e][s],g:255*[l,e,e,u,i,i][s],b:255*[i,i,l,e,e,u][s],a:o}},v=function(t){return{h:u(t.h),s:i(t.s,0,100),l:i(t.l,0,100),a:i(t.a)}},p=function(t){return{h:a(t.h),s:a(t.s),l:a(t.l),a:a(t.a,3)}},b=function(t){return g((n=(r=t).s,{h:r.h,s:(n*=((e=r.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:r.a}));var r,n,e},h=function(t){return{h:(r=d(t)).h,s:(o=(200-(n=r.s))*(e=r.v)/100)>0&&o<200?n*e/100/(o<=100?o:200-o)*100:0,l:o/2,a:r.a};var r,n,e,o},m=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,S=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,x=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,C={string:[[function(t){var r=c.exec(t);return r?(t=r[1]).length<=4?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:4===t.length?a(parseInt(t[3]+t[3],16)/255,2):1}:6===t.length||8===t.length?{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:8===t.length?a(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var r=S.exec(t)||x.exec(t);return r?r[2]!==r[4]||r[4]!==r[6]?null:l({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):null},"rgb"],[function(t){var r=m.exec(t)||y.exec(t);if(!r)return null;var n,o,a=v({h:(n=r[1],o=r[2],void 0===o&&(o="deg"),Number(n)*(e[o]||1)),s:Number(r[3]),l:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)});return b(a)},"hsl"]],object:[[function(t){var r=t.r,n=t.g,e=t.b,a=t.a,i=void 0===a?1:a;return o(r)&&o(n)&&o(e)?l({r:Number(r),g:Number(n),b:Number(e),a:Number(i)}):null},"rgb"],[function(t){var r=t.h,n=t.s,e=t.l,a=t.a,i=void 0===a?1:a;if(!o(r)||!o(n)||!o(e))return null;var u=v({h:Number(r),s:Number(n),l:Number(e),a:Number(i)});return b(u)},"hsl"],[function(t){var r=t.h,n=t.s,e=t.v,a=t.a,l=void 0===a?1:a;if(!o(r)||!o(n)||!o(e))return null;var s=function(t){return{h:u(t.h),s:i(t.s,0,100),v:i(t.v,0,100),a:i(t.a)}}({h:Number(r),s:Number(n),v:Number(e),a:Number(l)});return g(s)},"hsv"]]},M=function(t,r){for(var n=0;n<r.length;n++){var e=r[n][0](t);if(e)return[e,r[n][1]]}return[null,void 0]},A=function(t){return"string"==typeof t?M(t.trim(),C.string):"object"==typeof t&&null!==t?M(t,C.object):[null,void 0]},I=function(t){return A(t)[1]},_=function(t,r){var n=h(t);return{h:n.h,s:i(n.s+100*r,0,100),l:n.l,a:n.a}},O=function(t){return(299*t.r+587*t.g+114*t.b)/1e3/255},V=function(t,r){var n=h(t);return{h:n.h,s:n.s,l:i(n.l+100*r,0,100),a:n.a}},w=function(){function t(t){this.parsed=A(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return t.prototype.isValid=function(){return null!==this.parsed},t.prototype.brightness=function(){return a(O(this.rgba),2)},t.prototype.isDark=function(){return O(this.rgba)<.5},t.prototype.isLight=function(){return O(this.rgba)>=.5},t.prototype.toHex=function(){return r=(t=s(this.rgba)).r,n=t.g,e=t.b,i=(o=t.a)<1?f(a(255*o)):"","#"+f(r)+f(n)+f(e)+i;var t,r,n,e,o,i},t.prototype.toRgb=function(){return s(this.rgba)},t.prototype.toRgbString=function(){return r=(t=s(this.rgba)).r,n=t.g,e=t.b,(o=t.a)<1?"rgba("+r+", "+n+", "+e+", "+o+")":"rgb("+r+", "+n+", "+e+")";var t,r,n,e,o},t.prototype.toHsl=function(){return p(h(this.rgba))},t.prototype.toHslString=function(){return r=(t=p(h(this.rgba))).h,n=t.s,e=t.l,(o=t.a)<1?"hsla("+r+", "+n+"%, "+e+"%, "+o+")":"hsl("+r+", "+n+"%, "+e+"%)";var t,r,n,e,o},t.prototype.toHsv=function(){return t=d(this.rgba),{h:a(t.h),s:a(t.s),v:a(t.v),a:a(t.a,3)};var t},t.prototype.invert=function(){return N({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},t.prototype.saturate=function(t){return void 0===t&&(t=.1),N(_(this.rgba,t))},t.prototype.desaturate=function(t){return void 0===t&&(t=.1),N(_(this.rgba,-t))},t.prototype.grayscale=function(){return N(_(this.rgba,-1))},t.prototype.lighten=function(t){return void 0===t&&(t=.1),N(V(this.rgba,t))},t.prototype.darken=function(t){return void 0===t&&(t=.1),N(V(this.rgba,-t))},t.prototype.rotate=function(t){return void 0===t&&(t=15),this.hue(this.hue()+t)},t.prototype.alpha=function(t){return"number"==typeof t?N({r:(r=this.rgba).r,g:r.g,b:r.b,a:t}):a(this.rgba.a,3);var r},t.prototype.hue=function(t){var r=h(this.rgba);return"number"==typeof t?N({h:t,s:r.s,l:r.l,a:r.a}):a(r.h)},t.prototype.isEqual=function(t){return this.toHex()===N(t).toHex()},t}(),N=function(t){return t instanceof w?t:new w(t)},P=[],F=function(t){t.forEach((function(t){P.indexOf(t)<0&&(t(w,C),P.push(t))}))},j=function(){return new w({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})}},function(t,r,n){"use strict";n.r(r);var e=function(t){var r=t/255;return r<.04045?r/12.92:Math.pow((r+.055)/1.055,2.4)},o=function(t){return.2126*e(t.r)+.7152*e(t.g)+.0722*e(t.b)};r.default=function(t){t.prototype.luminance=function(){return t=o(this.rgba),void 0===(r=2)&&(r=0),void 0===n&&(n=Math.pow(10,r)),Math.round(n*t)/n+0;var t,r,n},t.prototype.contrast=function(r){void 0===r&&(r="#FFF");var n,e,a,i,u,l,s,c=r instanceof t?r:new t(r);return i=this.rgba,u=c.toRgb(),n=(l=o(i))>(s=o(u))?(l+.05)/(s+.05):(s+.05)/(l+.05),void 0===(e=2)&&(e=0),void 0===a&&(a=Math.pow(10,e)),Math.floor(a*n)/a+0},t.prototype.isReadable=function(t,r){return void 0===t&&(t="#FFF"),void 0===r&&(r={}),this.contrast(t)>=(i=void 0===(a=(n=r).size)?"normal":a,"AAA"===(o=void 0===(e=n.level)?"AA":e)&&"normal"===i?7:"AA"===o&&"large"===i?3:4.5);var n,e,o,a,i}}},function(t,r,n){"use strict";var e=n(0);Object.defineProperty(r,"__esModule",{value:!0}),r.updateScrollIndicator=void 0;var o=e(n(4)),a=n(1),i=n(10);r.updateScrollIndicator=function(){var t=document.querySelectorAll("[data-scroll-indicator-block]");(0,o.default)(t).filter((function(t){return!!t.dataset.scrollIndicatorBlock})).forEach((function(t){var r=Array.from(t.querySelectorAll(".nb-scroll-indicator:not(.nb-scroll-indicator--middle)")),n=t.nextElementSibling;if(n&&n.dataset.colorSignal){var e=window.getComputedStyle(n).getPropertyValue("margin-top");r.forEach((function(t){var r;if(0===parseInt(e,10)){if(t&&null!=n&&null!==(r=n.dataset)&&void 0!==r&&r.colorSignal){var i=n.dataset,l=(0,a.getColorSignalClassnames)(i,!0),s=(0,o.default)(t.classList).filter((function(t){return t.indexOf("sm-palette-")>-1||t.indexOf("sm-variation-")>-1||t.indexOf("sm-color-signal-")>-1})).join(" ");(0,a.removeClass)(t,s),(0,a.addClass)(t,l)}}else u(t)}))}else r.forEach(u)}))};var u=function(t){t&&(0,a.addClass)(t,"sm-variation-".concat((0,i.getSiteColorVariation)()))}}]);1 !function(t){var r={};function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(e,o,function(r){return t[r]}.bind(null,o));return e},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=20)}([function(t,r){t.exports=window.novablocks.utils},function(t,r){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},,,function(t,r){t.exports=function(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=new Array(r);n<r;n++)e[n]=t[n];return e},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,r,n){var e=n(7),o=n(8),a=n(6),i=n(9);t.exports=function(t){return e(t)||o(t)||a(t)||i()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,r,n){var e=n(4);t.exports=function(t,r){if(t){if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,r,n){var e=n(4);t.exports=function(t){if(Array.isArray(t))return e(t)},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,r){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,r){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getAbsoluteColorVariation=r.computeColorSignal=r.addSiteVariationOffset=void 0,Object.defineProperty(r,"getColorSignalClassnames",{enumerable:!0,get:function(){return e.getColorSignalClassnames}}),r.removeSiteVariationOffset=r.normalizeVariationValue=r.mapPalettesToColorPalette=r.getVariationFromSignal=r.getSourceIndexFromPaletteId=r.getSiteColorVariation=r.getSignalRelativeToVariation=r.getSignalOptionsFromVariation=r.getPaletteConfig=r.getMaxSignal=r.getCurrentPaletteConfig=void 0;var e=n(0);r.getCurrentPaletteConfig=function(t){var r=t.attributes,n=t.settings,e=r.palette,o=n.palettes;return Array.isArray(o)&&o.length?o.find((function(t){return t.id===e}))||o[0]:{sourceIndex:6}};r.mapPalettesToColorPalette=function(t){var r=t.colors,n=t.sourceIndex;return{name:t.label,color:r[n].value}};var o,a,i,u,l=(u=(null===(o=window)||void 0===o||null===(a=o.styleManager)||void 0===a?void 0:a.siteColorVariation)||1,null!==(i=wp)&&void 0!==i&&i.customize&&wp.customize("sm_site_color_variation",(function(t){t.bind((function(t){u=parseInt(t,10)}))})),function(){return u});r.getSiteColorVariation=l;var s=function(t){var r,n,e=null===(r=window)||void 0===r||null===(n=r.styleManager)||void 0===n?void 0:n.colorsConfig;return Array.isArray(e)&&e.length?e.find((function(r){return"".concat(r.id)==="".concat(t)}))||e[0]:{sourceIndex:6}};r.getPaletteConfig=s;r.getAbsoluteColorVariation=function(t){var r=t.palette,n=t.useSourceColorAsReference,e=parseInt(t.paletteVariation,10),o=d(r);return g(n?o+1:e)};r.getVariationFromSignal=function(t,r){var n=(0,e.getSignals)(r),o=n[Math.min(t,n.length-1)];return v(o)};var c=function(t,r,n){var e=f(r,n).reduce((function(r,n,e,o){return Math.abs(n-t)<Math.abs(o[r]-t)?e:r}),0),o=s(n),a=o.colors;return Array.isArray(null==o?void 0:o.variations)&&(a=o.variations.map((function(t){return t.bg}))),a[t-1]===a[r-1]?0:Math.max(1,e)};r.getSignalRelativeToVariation=c;var f=function(t,r){var n=(0,e.getSignals)(r);return n.sort((function(r,n){return Math.abs(t-r)<Math.abs(t-n)?-1:1})),n[0]=t,n};r.getSignalOptionsFromVariation=f;r.computeColorSignal=function(t,r,n){var e=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=f(t,n);if(Number.isInteger(e)){var a=c(e,t,n);if(a===r)return e}var i=Math.min(o.length-1,r);return o[i]};var d=function(t){var r=s(t),n=l();return(r.sourceIndex-n+1+12)%12};r.getSourceIndexFromPaletteId=d;var g=function(t){var r=l();return p(t+r-1)};r.addSiteVariationOffset=g;var v=function(t){var r=l();return p(t-r+1)};r.removeSiteVariationOffset=v;var p=function(t){return(t+11)%12+1};r.normalizeVariationValue=p;r.getMaxSignal=function(t){return(0,e.getSignals)(t).length-1}},,,,,,,,,,function(t,r,n){"use strict";var e=n(0),o=n(10),a=n(21),i=n(24),u=function(t){(0,a.updateAllBlocksSignal)(t),(0,i.updateScrollIndicator)()},l=(0,o.getSiteColorVariation)();window.addEventListener("nb:updateColors",(function(){u(l)})),(0,e.ready)((function(){var t,r;e.IS_EDITOR||(u(l),null!==(t=parent)&&void 0!==t&&null!==(r=t.wp)&&void 0!==r&&r.customize&&parent.wp.customize("sm_site_color_variation",(function(t){t.bind((function(t,r){var n=parseInt(t,10);u(n)}))})))}))},function(t,r,n){"use strict";var e=n(1);Object.defineProperty(r,"__esModule",{value:!0}),r.updateBlockSignal=r.updateAllBlocksSignal=void 0;var o=n(22),a=e(n(23)),i=n(0),u=n(10),l=function t(r,n){var e=r.dataset,o=e.palette,a=e.useSourceColorAsReference,l=parseInt(null==e?void 0:e.colorSignal,10),c=Array.from(r.children);if(null!=e&&e.colorSignal){var f=(0,u.getAbsoluteColorVariation)(e),d=(0,u.computeColorSignal)(n,l,o,f),g=a?1:(0,u.removeSiteVariationOffset)(d),v=(0,u.getSourceIndexFromPaletteId)(o),p=a?(0,u.addSiteVariationOffset)(v+1):(0,u.addSiteVariationOffset)(g),b=Array.from(r.classList),h=b.find((function(t){return t.indexOf("sm-palette-")>-1})),m=b.find((function(t){return t.indexOf("sm-variation-")>-1}));(0,i.removeClass)(r,"".concat(h," ").concat(m," sm-palette--shifted"));var y=(0,u.getColorSignalClassnames)({palette:o,paletteVariation:g,useSourceColorAsReference:a,colorSignal:l},!0),S=s(o,p);(0,i.addClass)(r,y),(0,i.toggleClass)(r,"sm-light",S),(0,i.toggleClass)(r,"sm-dark",!S),c.forEach((function(r){t(r,p)}))}else c.forEach((function(r){t(r,n)}))};r.updateBlockSignal=l;var s=function(t,r){var n,e;if((0,o.extend)([a.default]),Array.isArray(null===(n=window)||void 0===n||null===(e=n.styleManager)||void 0===e?void 0:e.colorsConfig)){var i=window.styleManager.colorsConfig.find((function(r){return"".concat(r.id)==="".concat(t)}));if(!i)return!0;var u=parseInt(r,10)-1,l=i.variations?i.variations[u].fg1:i.colors[u].value;return(0,o.colord)("#FFFFFF").contrast(l)>Math.sqrt(21)}};r.updateAllBlocksSignal=function(t){Array.from(document.querySelectorAll("[data-color-signal]")).filter((function(t){return!(t.parentNode&&t.parentNode.closest("[data-color-signal]"))})).forEach((function(r){l(r,t)}))}},function(t,r,n){"use strict";n.r(r),n.d(r,"Colord",(function(){return V})),n.d(r,"colord",(function(){return N})),n.d(r,"extend",(function(){return F})),n.d(r,"getFormat",(function(){return I})),n.d(r,"random",(function(){return j}));var e={grad:.9,turn:360,rad:360/(2*Math.PI)},o=function(t){return"string"==typeof t?t.length>0:"number"==typeof t},a=function(t,r,n){return void 0===r&&(r=0),void 0===n&&(n=Math.pow(10,r)),Math.round(n*t)/n+0},i=function(t,r,n){return void 0===r&&(r=0),void 0===n&&(n=1),t>n?n:t>r?t:r},u=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},l=function(t){return{r:i(t.r,0,255),g:i(t.g,0,255),b:i(t.b,0,255),a:i(t.a)}},s=function(t){return{r:a(t.r),g:a(t.g),b:a(t.b),a:a(t.a,3)}},c=/^#([0-9a-f]{3,8})$/i,f=function(t){var r=t.toString(16);return r.length<2?"0"+r:r},d=function(t){var r=t.r,n=t.g,e=t.b,o=t.a,a=Math.max(r,n,e),i=a-Math.min(r,n,e),u=i?a===r?(n-e)/i:a===n?2+(e-r)/i:4+(r-n)/i:0;return{h:60*(u<0?u+6:u),s:a?i/a*100:0,v:a/255*100,a:o}},g=function(t){var r=t.h,n=t.s,e=t.v,o=t.a;r=r/360*6,n/=100,e/=100;var a=Math.floor(r),i=e*(1-n),u=e*(1-(r-a)*n),l=e*(1-(1-r+a)*n),s=a%6;return{r:255*[e,u,i,i,l,e][s],g:255*[l,e,e,u,i,i][s],b:255*[i,i,l,e,e,u][s],a:o}},v=function(t){return{h:u(t.h),s:i(t.s,0,100),l:i(t.l,0,100),a:i(t.a)}},p=function(t){return{h:a(t.h),s:a(t.s),l:a(t.l),a:a(t.a,3)}},b=function(t){return g((n=(r=t).s,{h:r.h,s:(n*=((e=r.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:r.a}));var r,n,e},h=function(t){return{h:(r=d(t)).h,s:(o=(200-(n=r.s))*(e=r.v)/100)>0&&o<200?n*e/100/(o<=100?o:200-o)*100:0,l:o/2,a:r.a};var r,n,e,o},m=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,S=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,x=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,C={string:[[function(t){var r=c.exec(t);return r?(t=r[1]).length<=4?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:4===t.length?a(parseInt(t[3]+t[3],16)/255,2):1}:6===t.length||8===t.length?{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:8===t.length?a(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var r=S.exec(t)||x.exec(t);return r?r[2]!==r[4]||r[4]!==r[6]?null:l({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):null},"rgb"],[function(t){var r=m.exec(t)||y.exec(t);if(!r)return null;var n,o,a=v({h:(n=r[1],o=r[2],void 0===o&&(o="deg"),Number(n)*(e[o]||1)),s:Number(r[3]),l:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)});return b(a)},"hsl"]],object:[[function(t){var r=t.r,n=t.g,e=t.b,a=t.a,i=void 0===a?1:a;return o(r)&&o(n)&&o(e)?l({r:Number(r),g:Number(n),b:Number(e),a:Number(i)}):null},"rgb"],[function(t){var r=t.h,n=t.s,e=t.l,a=t.a,i=void 0===a?1:a;if(!o(r)||!o(n)||!o(e))return null;var u=v({h:Number(r),s:Number(n),l:Number(e),a:Number(i)});return b(u)},"hsl"],[function(t){var r=t.h,n=t.s,e=t.v,a=t.a,l=void 0===a?1:a;if(!o(r)||!o(n)||!o(e))return null;var s=function(t){return{h:u(t.h),s:i(t.s,0,100),v:i(t.v,0,100),a:i(t.a)}}({h:Number(r),s:Number(n),v:Number(e),a:Number(l)});return g(s)},"hsv"]]},M=function(t,r){for(var n=0;n<r.length;n++){var e=r[n][0](t);if(e)return[e,r[n][1]]}return[null,void 0]},A=function(t){return"string"==typeof t?M(t.trim(),C.string):"object"==typeof t&&null!==t?M(t,C.object):[null,void 0]},I=function(t){return A(t)[1]},_=function(t,r){var n=h(t);return{h:n.h,s:i(n.s+100*r,0,100),l:n.l,a:n.a}},O=function(t){return(299*t.r+587*t.g+114*t.b)/1e3/255},w=function(t,r){var n=h(t);return{h:n.h,s:n.s,l:i(n.l+100*r,0,100),a:n.a}},V=function(){function t(t){this.parsed=A(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return t.prototype.isValid=function(){return null!==this.parsed},t.prototype.brightness=function(){return a(O(this.rgba),2)},t.prototype.isDark=function(){return O(this.rgba)<.5},t.prototype.isLight=function(){return O(this.rgba)>=.5},t.prototype.toHex=function(){return r=(t=s(this.rgba)).r,n=t.g,e=t.b,i=(o=t.a)<1?f(a(255*o)):"","#"+f(r)+f(n)+f(e)+i;var t,r,n,e,o,i},t.prototype.toRgb=function(){return s(this.rgba)},t.prototype.toRgbString=function(){return r=(t=s(this.rgba)).r,n=t.g,e=t.b,(o=t.a)<1?"rgba("+r+", "+n+", "+e+", "+o+")":"rgb("+r+", "+n+", "+e+")";var t,r,n,e,o},t.prototype.toHsl=function(){return p(h(this.rgba))},t.prototype.toHslString=function(){return r=(t=p(h(this.rgba))).h,n=t.s,e=t.l,(o=t.a)<1?"hsla("+r+", "+n+"%, "+e+"%, "+o+")":"hsl("+r+", "+n+"%, "+e+"%)";var t,r,n,e,o},t.prototype.toHsv=function(){return t=d(this.rgba),{h:a(t.h),s:a(t.s),v:a(t.v),a:a(t.a,3)};var t},t.prototype.invert=function(){return N({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},t.prototype.saturate=function(t){return void 0===t&&(t=.1),N(_(this.rgba,t))},t.prototype.desaturate=function(t){return void 0===t&&(t=.1),N(_(this.rgba,-t))},t.prototype.grayscale=function(){return N(_(this.rgba,-1))},t.prototype.lighten=function(t){return void 0===t&&(t=.1),N(w(this.rgba,t))},t.prototype.darken=function(t){return void 0===t&&(t=.1),N(w(this.rgba,-t))},t.prototype.rotate=function(t){return void 0===t&&(t=15),this.hue(this.hue()+t)},t.prototype.alpha=function(t){return"number"==typeof t?N({r:(r=this.rgba).r,g:r.g,b:r.b,a:t}):a(this.rgba.a,3);var r},t.prototype.hue=function(t){var r=h(this.rgba);return"number"==typeof t?N({h:t,s:r.s,l:r.l,a:r.a}):a(r.h)},t.prototype.isEqual=function(t){return this.toHex()===N(t).toHex()},t}(),N=function(t){return t instanceof V?t:new V(t)},P=[],F=function(t){t.forEach((function(t){P.indexOf(t)<0&&(t(V,C),P.push(t))}))},j=function(){return new V({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})}},function(t,r,n){"use strict";n.r(r);var e=function(t){var r=t/255;return r<.04045?r/12.92:Math.pow((r+.055)/1.055,2.4)},o=function(t){return.2126*e(t.r)+.7152*e(t.g)+.0722*e(t.b)};r.default=function(t){t.prototype.luminance=function(){return t=o(this.rgba),void 0===(r=2)&&(r=0),void 0===n&&(n=Math.pow(10,r)),Math.round(n*t)/n+0;var t,r,n},t.prototype.contrast=function(r){void 0===r&&(r="#FFF");var n,e,a,i,u,l,s,c=r instanceof t?r:new t(r);return i=this.rgba,u=c.toRgb(),n=(l=o(i))>(s=o(u))?(l+.05)/(s+.05):(s+.05)/(l+.05),void 0===(e=2)&&(e=0),void 0===a&&(a=Math.pow(10,e)),Math.floor(a*n)/a+0},t.prototype.isReadable=function(t,r){return void 0===t&&(t="#FFF"),void 0===r&&(r={}),this.contrast(t)>=(i=void 0===(a=(n=r).size)?"normal":a,"AAA"===(o=void 0===(e=n.level)?"AA":e)&&"normal"===i?7:"AA"===o&&"large"===i?3:4.5);var n,e,o,a,i}}},function(t,r,n){"use strict";var e=n(1);Object.defineProperty(r,"__esModule",{value:!0}),r.updateScrollIndicator=void 0;var o=e(n(5)),a=n(0),i=n(10);r.updateScrollIndicator=function(){var t=document.querySelectorAll("[data-scroll-indicator-block]");(0,o.default)(t).filter((function(t){return!!t.dataset.scrollIndicatorBlock})).forEach((function(t){var r=Array.from(t.querySelectorAll(".nb-scroll-indicator:not(.nb-scroll-indicator--middle)")),n=t.nextElementSibling;if(n&&n.dataset.colorSignal){var e=window.getComputedStyle(n).getPropertyValue("margin-top");r.forEach((function(t){var r;if(0===parseInt(e,10)){if(t&&null!=n&&null!==(r=n.dataset)&&void 0!==r&&r.colorSignal){var i=n.dataset,l=(0,a.getColorSignalClassnames)(i,!0).split(" ").filter((function(t){return t.indexOf("sm-color-signal-")<0})).join(" "),s=(0,o.default)(t.classList).filter((function(t){return t.indexOf("sm-palette-")>-1||t.indexOf("sm-variation-")>-1||t.indexOf("sm-color-signal-")>-1})).join(" ");(0,a.removeClass)(t,s),(0,a.addClass)(t,l)}}else u(t)}))}else r.forEach(u)}))};var u=function(t){t&&(0,a.addClass)(t,"sm-variation-".concat((0,i.getSiteColorVariation)()))}}]); -
nova-blocks/trunk/build/color-signal/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks-icons', 'novablocks-utils', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => ' 9ab1499e8a42093b1462f07c9da7e4f3');1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks-icons', 'novablocks-utils', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => '701ad1a38d08c0390b4e8953bb68fd23'); -
nova-blocks/trunk/build/color-signal/index.js
r2738702 r2744078 1 this.novablocks=this.novablocks||{},this.novablocks.colorSignal=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7 0)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},10:function(e,t){e.exports=window.wp.data},11:function(e,t,n){var r;1 this.novablocks=this.novablocks||{},this.novablocks.colorSignal=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=71)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},10:function(e,t){e.exports=window.wp.data},11:function(e,t,n){var r; 2 2 /*! 3 3 Copyright (c) 2017 Jed Watson. 4 4 Licensed under the MIT License (MIT), see 5 5 http://jedwatson.github.io/classnames 6 */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var l=typeof r;if("string"===l||"number"===l)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===l)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},12:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(20);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,l=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(l.push(r.value),!t||l.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return l}}(e,t)||Object(r.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},16:function(e,t){e.exports=window.wp.blockEditor},17:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},20:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(17);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},26:function(e,t){e.exports=window.novablocks.icons},29:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},3:function(e,t){e.exports=window.wp.components},4:function(e,t){e.exports=window.novablocks.utils},5:function(e,t){e.exports=window.novablocks.blockEditor},6:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},7:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},7 0:function(e,t,n){"use strict";n.r(t),n.d(t,"getColorSignalClassnames",(function(){return c.getColorSignalClassnames})),n.d(t,"getCurrentPaletteConfig",(function(){return i})),n.d(t,"mapPalettesToColorPalette",(function(){return u})),n.d(t,"getSiteColorVariation",(function(){return s})),n.d(t,"getPaletteConfig",(function(){return b})),n.d(t,"getAbsoluteColorVariation",(function(){return p})),n.d(t,"getVariationFromSignal",(function(){return f})),n.d(t,"getSignalRelativeToVariation",(function(){return d})),n.d(t,"getSignalOptionsFromVariation",(function(){return g})),n.d(t,"computeColorSignal",(function(){return O})),n.d(t,"getSourceIndexFromPaletteId",(function(){return v})),n.d(t,"addSiteVariationOffset",(function(){return j})),n.d(t,"removeSiteVariationOffset",(function(){return m})),n.d(t,"normalizeVariationValue",(function(){return y})),n.d(t,"getMaxSignal",(function(){return S}));var r=n(0),o=n(8),l=n(5),a=n(10),c=n(4),i=function(e){var t=e.attributes,n=e.settings,r=t.palette,o=n.palettes;return Array.isArray(o)&&o.length?o.find((function(e){return e.id===r}))||o[0]:{sourceIndex:6}},u=function(e){var t=e.colors,n=e.sourceIndex;return{name:e.label,color:t[n].value}},s=function(){var e,t;return parseInt((null===(e=window)||void 0===e||null===(t=e.styleManager)||void 0===t?void 0:t.siteColorVariation)||1,10)},b=function(e){var t,n,r=null===(t=window)||void 0===t||null===(n=t.styleManager)||void 0===n?void 0:n.colorsConfig;return Array.isArray(r)&&r.length?r.find((function(t){return"".concat(t.id)==="".concat(e)}))||r[0]:{sourceIndex:6}},p=function(e){var t=e.palette,n=e.useSourceColorAsReference,r=parseInt(e.paletteVariation,10),o=v(t);return j(n?o+1:r)},f=function(e,t){var n=Object(c.getSignals)(t),r=n[Math.min(e,n.length-1)];return m(r)},d=function(e,t,n){var r=g(t,n).reduce((function(t,n,r,o){return Math.abs(n-e)<Math.abs(o[t]-e)?r:t}),0),o=b(n),l=o.colors;return Array.isArray(null==o?void 0:o.variations)&&(l=o.variations.map((function(e){return e.bg}))),l[e-1]===l[t-1]?0:Math.max(1,r)},g=function(e,t){var n=Object(c.getSignals)(t);return n.sort((function(t,n){return Math.abs(e-t)<Math.abs(e-n)?-1:1})),n[0]=e,n},O=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=g(e,n);if(Number.isInteger(r)){var l=d(r,e,n);if(l===t)return r}var a=Math.min(o.length-1,t);return o[a]},v=function(e){var t=b(e),n=s();return(t.sourceIndex-n+1+12)%12},j=function(e){var t=s();return y(e+t-1)},m=function(e){var t=s();return y(e-t+1)},y=function(e){return(e+11)%12+1},S=function(e){return Object(c.getSignals)(e).length-1},h=function(e){for(var t=Object(a.select)("core/block-editor"),n=t.getBlockParents,r=t.getBlock,o=n(e).slice();o.length;){var c,i=r(o.pop()),u=i.attributes,b=Object(l.getSupports)(i.name);if(null!=b&&null!==(c=b.novaBlocks)&&void 0!==c&&c.colorSignal)return p(u)}return s()},k=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=Object.assign({},e,n),c=a.palette,i=a.useSourceColorAsReference,u=h(t),s=p(a),b=d(s,u,c),f=O(u,b,c,s),g=m(f),y=v(c),_=j(y+1),S=d(_,u,c),k=r&&(i||l&&b===S||o&&s===_),C=k?_:g,w=a.contentColorSignal,E=a.contentPaletteVariation,P=O(C,w,c,E);return{palette:c,paletteVariation:k?1:C,useSourceColorAsReference:k,colorSignal:b,contentPaletteVariation:0===w?C:P}};!function(){var e=Object(a.select)("core/block-editor");if(e){var t=function(){return e.getBlocks()};t();Object(a.subscribe)((function(){var e=t();e.forEach((function(e){C(e)}))}))}}();var C=function(e){var t,n=Object(l.getSupports)(e.name);if(null!=n&&null!==(t=n.novaBlocks)&&void 0!==t&&t.colorSignal){var r,o,c=Object(a.dispatch)("core/block-editor").updateBlockAttributes,i=e.attributes,u=e.clientId,s=i.colorSignal,b=i.paletteVariation,f=i.useSourceColorAsReference,g=null===(r=window)||void 0===r||null===(o=r.styleManager)||void 0===o?void 0:o.colorsConfig,v=function(){var e=g.find((function(e){return"".concat(e.id)==="".concat(i.palette)}));return e?e.id:1}(),j=Object(a.select)("core/block-editor"),y=j.getBlockParents,_=j.getBlock,S=y(u).slice();if(void 0===s||void 0===b)return!1;if(S.length){var k,C=_(S.pop()),w=Object(l.getSupports)(C.name),P=null==w||null===(k=w.novaBlocks)||void 0===k?void 0:k.colorSignal;if(!0===P||null!=P&&P.contentColorSignal){var x=C.attributes,A=x.contentColorSignal,V=x.contentPaletteVariation;return b!==V&&c(u,{colorSignal:A,paletteVariation:V,useSourceColorAsReference:!1}),E(e),!1}}var B=h(u),F=p(i),I=O(B,s,v,F),D=f?d(F,B,v):s,N=f?1:m(I);b===N&&s===D||c(u,{colorSignal:D,paletteVariation:N})}E(e)},w=function(e){Array.isArray(e)&&e.forEach((function(e){C(e)}))},E=function(e){var t=Object(a.select)("core/block-editor").getBlocks;w(e.innerBlocks),"core/template-part"===e.name&&w(t(e.clientId))},P=n(6);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){Object(P.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var V={palette:{type:"string",default:"1"},paletteVariation:{type:"number",default:1},useSourceColorAsReference:{type:"boolean",default:!1},colorSignal:{type:"number",default:0},contentColorSignal:{type:"number",default:0},contentPaletteVariation:{type:"number",default:1},emphasisArea:{type:"number",default:100}},B=function(e){var t,n,r=null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n?void 0:n.colorSignal;return!0!==r&&!0!==(null==r?void 0:r.attributes)?e:A(A({},e),{},{attributes:A(A({},e.attributes),V)})};function F(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F(Object(n),!0).forEach((function(t){Object(P.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=function(e,t){var n,r,o;return null!=e&&null!==(n=e.supports)&&void 0!==n&&null!==(r=n.novaBlocks)&&void 0!==r&&null!==(o=r.colorSignal)&&void 0!==o&&o.addOverlayColorDeprecatedMethod?Object.assign({},e,{attributes:_.omit(e.attributes,["contentColor","overlayFilterStyle"]),deprecated:[{attributes:e.attributes,isEligible:function(e){return void 0===e.paletteVariation},migrate:function(e){var t=e.contentColor,n=e.overlayFilterStyle,r=!!t&&t.search("000")>-1,o=!!n&&"light"===n,l=r||o?"0":"12",a=r||o?0:3;return I(I({},e),{},{defaultsGenerated:!0,paletteVariation:l,colorSignal:a})},save:e.save}].concat(e.deprecated)}):e},N=n(9),M=n(7),R=n(1),T=n(3),G=function(e){var t=Object(l.useSettings)();if(null==t||!t.debug)return null;var n=e.attributes.useSourceColorAsReference;return Object(r.createElement)(l.ControlsGroup,{key:"color_reference_toggle_group"},Object(r.createElement)(T.ToggleControl,{key:"color-set-use-source-as-reference-control",label:Object(R.__)("Use Source Color as Reference","nova-blocks"),checked:n,disabled:!0}))},z=function(e){var t=e.showFunctionalColors,n=e.setShowFunctionalColors;return Object(r.createElement)(T.ToggleControl,{label:Object(R.__)("Use Functional Colors","nova-blocks"),checked:t,onChange:function(e){n(e)}})},U=function(e){var t,n,o=Object(l.useSupports)(e.name),a=!(null!=o&&null!==(t=o.novaBlocks)&&void 0!==t&&null!==(n=t.colorSignal)&&void 0!==n&&n.functionalColors);return Object(r.createElement)(r.Fragment,null,!a&&Object(r.createElement)(l.ControlsGroup,{title:Object(R.__)("Miscellaneous","nova-blocks"),className:"novablocks-controls-group--colors-miscellanous-controls",key:"miscellaneous_group"},Object(r.createElement)(z,e)),Object(r.createElement)(G,Object(M.a)({},e,{key:"color_reference_toggle"})))},H=Object(l.withVisibility)("palette-picker")((function(e){var t=e.attributes,n=e.setAttributes,o=e.clientId,a=e.showFunctionalColors,i=e.stickySourceColor,u=Object(l.useSettings)().palettes,s=t.palette,b=t.paletteVariation,p=t.useSourceColorAsReference,f=u.filter((function(e){return Object(c.isFunctionalPalette)(e)})),g=u.filter((function(e){return!Object(c.isFunctionalPalette)(e)})),O=a?f:g,m=function(e){if(e===s&&i){var r=h(o),l=v(s),a=!t.useSourceColorAsReference,c=l+1,u=a?1:c,b=d(j(c),r,s);n({useSourceColorAsReference:a,paletteVariation:u,colorSignal:b})}else n({palette:e})},y=O.map((function(e){return{value:"".concat(e.id),data:e,colors:e.source.slice(0,1)}}));return Object(r.createElement)(l.ControlsGroup,{key:"block_color_signal_palette_picker"},Object(r.createElement)(l.ColorPicker,Object(M.a)({label:"Color Palette",options:y,onChange:function(e){var t=O.find((function(t){return"".concat(t.id)===e}));m("".concat(t.id))},favorite:1===b&&p,selected:s},e)))})),L=n(11),q=n.n(L),Q=n(26),$=function(e){var t,n,o,a,c,i,u,s,b=e.attributes,p=e.label,f=e.signal,g=(e.clientId,e.value),O=e.parentVariation,m=e.useReference,_=e.onChange||function(){},S=b.palette,h=b.useSourceColorAsReference,k=Object(l.useSupports)(e.name),C=Math.min(null!==(t=null==k||null===(n=k.novaBlocks)||void 0===n||null===(o=n.colorSignal)||void 0===o?void 0:o.maxColorSignal)&&void 0!==t?t:3),w=Math.max(null!==(a=null==k||null===(c=k.novaBlocks)||void 0===c||null===(i=c.colorSignal)||void 0===i?void 0:i.minColorSignal)&&void 0!==a?a:0),E=v(S),x=q()("nb-signal-icon",(u={},Object(P.a)(u,"nb-signal-icon--none",0===f),Object(P.a)(u,"nb-signal-icon--low",1===f),Object(P.a)(u,"nb-signal-icon--medium",2===f),Object(P.a)(u,"nb-signal-icon--high",3===f),u)),A=Array.from(Array(12)).map((function(e,t){return t+1})),V=y(g+(m&&h?E:0));return Object(r.createElement)("div",{className:"components-base-control components-nb-color-grades-control"},Object(r.createElement)("div",{className:"components-base-control__field"},Object(r.createElement)("div",{className:"components-base-control__label"},p),Object(r.createElement)("div",{className:"components-base-control__label-icon"},Object(r.createElement)("div",{className:x},Object(r.createElement)("div",{className:"nb-signal-icon__bar"}),Object(r.createElement)("div",{className:"nb-signal-icon__bar"}),Object(r.createElement)("div",{className:"nb-signal-icon__bar"})))),Object(r.createElement)("div",{className:"nb-palette"},Object(r.createElement)("div",{className:"nb-palette__grades"},A.map((function(e,t){var n="",o=V===e,l=E+1===e,a=d(e,O,S),c=w>a||C<a,i=q()("nb-palette__grade","sm-palette-".concat(S),"sm-variation-".concat(e),{"nb-palette__grade--selected":o,"nb-palette__grade--source":!c&&l,"nb-palette__grade--disabled":c});return o&&(n=Object(Q.getIcon)("tick")),l&&(n=Object(Q.getIcon)("star")),c&&(n=Object(Q.getIcon)("cancel")),Object(r.createElement)("div",{"data-signal":a,className:i,onClick:function(){_(e)},key:"palette_grade_"+t},Object(r.createElement)("div",{className:"nb-palette__grade-surface"}),Object(r.createElement)("div",{className:"nb-palette__grade-icon",dangerouslySetInnerHTML:{__html:n}}))}))),(null==e||null===(s=e.settings)||void 0===s?void 0:s.debug)&&Object(r.createElement)("div",{className:"nb-palette__signal-previews",style:{display:"flex"}},A.map((function(e,t){var n=j(e),o=d(n,O,S);return Object(r.createElement)("div",{className:"nb-palette__signal-preview-wrap",key:"palette_signal_preview_"+t},Object(r.createElement)("div",{className:"nb-palette__signal-preview-wrap__above"},n),Object(r.createElement)("div",{className:"nb-palette__signal-preview nb-palette__signal-preview--".concat(o)}),Object(r.createElement)("div",{className:"nb-palette__signal-preview-wrap__below"},O))})))))},J=function(e){var t=e.attributes,n=e.updateBlock,o=e.clientId,a=t.colorSignal,c=t.palette,i=Object(r.useCallback)((function(e){var r=h(o),l=p(t),a=O(r,e,c,l),i=m(a);n({paletteVariation:i,useSourceColorAsReference:!1},!0,!0)}),[c,n]);return Object(r.createElement)(l.SignalControl,Object(M.a)({},e,{max:S(c),label:Object(R.__)("Block Color Signal","nova-blocks"),signal:a,onChange:i}))},K=function(e){var t=e.attributes,n=e.updateBlock,o=e.clientId,l=t.paletteVariation,a=t.colorSignal,c=h(o),i=Object(r.useCallback)((function(e){n({paletteVariation:e,useSourceColorAsReference:!1},!0,!1)}),[n]);return Object(r.createElement)($,Object(M.a)({},e,{label:Object(R.__)("Block Color Signal","nova-blocks"),value:l,signal:a,useReference:!0,onChange:i,parentVariation:c}))},W=function(e){var t,n=e.attributes,o=e.setAttributes,a=e.name,c=n.contentColorSignal,i=n.palette,u=Object(l.useSupports)(a),s=null==u||null===(t=u.novaBlocks)||void 0===t?void 0:t.colorSignal;return!0!==s&&!0!==(null==s?void 0:s.contentColorSignal)?null:Object(r.createElement)(l.ControlsGroup,{key:"content_color_signal_group"},Object(r.createElement)(l.SignalControl,Object(M.a)({},e,{label:Object(R.__)("Content Area Color Signal","nova-blocks"),max:S(i),signal:c,onChange:function(e){var t=n.contentPaletteVariation,r=p(n),l=O(r,e,i,t),a=m(l);o({contentColorSignal:e,contentPaletteVariation:a})}})))},X=function(e){var t,n=e.attributes,o=e.setAttributes,a=e.name,c=n.palette,i=n.paletteVariation,u=n.contentPaletteVariation,s=n.contentColorSignal,b=Object(l.useSupports)(a),f=null==b||null===(t=b.novaBlocks)||void 0===t?void 0:t.colorSignal,g=Object(r.useCallback)((function(e){var t=p(n),r=d(e,t,c);o({contentColorSignal:r,contentPaletteVariation:e})}),[n]);return!0!==f&&!0!==(null==f?void 0:f.contentColorSignal)?null:Object(r.createElement)($,Object(M.a)({},e,{label:Object(R.__)("Content Area Color Signal","nova-blocks"),value:u,signal:s,useReference:!1,onChange:g,parentVariation:i}))},Y=n(29),Z=n(16),ee=["bubblesVirtually"],te="ColorSignalCustomizeControls",ne=Object(T.createSlotFill)(te),re=ne.Fill,oe=ne.Slot,le=function(e){var t=e.children;return Object(Z.useBlockEditContext)().isSelected?Object(r.createElement)(re,null,t):null};le.Slot=function(e){var t=e.bubblesVirtually,n=void 0===t||t,o=Object(Y.a)(e,ee),a=Object(T.__experimentalUseSlot)(te);return Boolean(a.fills&&a.fills.length)?Object(r.createElement)(l.ControlsGroup,{key:"block_color_customize_group"},Object(r.createElement)(oe,Object(M.a)({},o,{bubblesVirtually:n}))):null};var ae=le,ce=n(12),ie=function(e){return function(t){var n,o,a=t.attributes,c=t.setAttributes,i=t.clientId,u=Object(l.useMemoryState)("showFunctionalColors",!1),s=Object(ce.a)(u,2),b=s[0],p=s[1],f=Object(l.useSupports)(t.name),d=!1!==(null==f||null===(n=f.novaBlocks)||void 0===n||null===(o=n.colorSignal)||void 0===o?void 0:o.stickySourceColor),g=Object(r.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=k(a,i,e,d,t,n);c(r)}),[a,i]);return Object(r.createElement)(e,Object(M.a)({},t,{updateBlock:g,stickySourceColor:d,showFunctionalColors:b,setShowFunctionalColors:p}))}},ue=Object(l.withVisibility)("emphasis-area",!1)((function(e){var t=e.attributes,n=e.setAttributes,o=t.emphasisArea;return Object(r.createElement)(l.ControlsGroup,{key:"emphasis_area_group"},Object(r.createElement)(T.RangeControl,{value:o,onChange:function(e){return n({emphasisArea:e})},label:Object(R.__)("Emphasis Area","nova-blocks"),min:0,max:100,step:5}))})),se=ie((function(e){return Object(r.createElement)(l.ControlsSection,{id:"color-signal",label:Object(R.__)("Color Signal","nova-blocks"),order:10,key:"color_signal_controls_section"},Object(r.createElement)(l.ControlsTab,{label:Object(R.__)("Customize","nova-blocks"),key:"color_signal_customize_tab"},Object(r.createElement)(l.Notice,{key:"color-signal-quick-start",id:"novablocks-color-signal-quick-start",content:Object(r.createElement)("p",null,Object(r.createElement)("strong",null,Object(R.__)("Quickstart:","nova-blocks"))," ",Object(R.__)("Use this tool to signal particular blocks on your page. A block with a higher color signal stands apart from the rest of your content.","nova-blocks")),dismissLabel:Object(R.__)("✔ Ok, I get it!","nova-blocks")}),Object(r.createElement)(l.ControlsGroup,{key:"block_color_signal_group"},Object(r.createElement)(J,Object(M.a)({},e,{key:"block_color_signal"}))),Object(r.createElement)(W,Object(M.a)({},e,{key:"content_color_signal"})),Object(r.createElement)(ue,Object(M.a)({},e,{key:"emphasis_area"})),Object(r.createElement)(ae.Slot,{key:"color_signal_customize"}),Object(r.createElement)(H,e),Object(r.createElement)(G,Object(M.a)({},e,{key:"color_reference_toggle"}))),Object(r.createElement)(l.ControlsTab,{label:Object(R.__)("Settings","nova-blocks"),key:"color_signal_settings_tab"},Object(r.createElement)(H,e),Object(r.createElement)(l.ControlsGroup,{key:"color_grade_group"},Object(r.createElement)(K,Object(M.a)({},e,{key:"block_color_grade"})),Object(r.createElement)(X,Object(M.a)({},e,{key:"content_color_grade"}))),Object(r.createElement)(U,Object(M.a)({},e,{key:"miscellaneous"}))))})),be=Object(N.createHigherOrderComponent)((function(e){return function(t){var n,o=Object(l.useSupports)(t.name),a=null==o||null===(n=o.novaBlocks)||void 0===n?void 0:n.colorSignal;return!0!==a&&!0!==(null==a?void 0:a.controls)?Object(r.createElement)(e,t):Object(r.createElement)(r.Fragment,null,Object(r.createElement)(se,t),Object(r.createElement)(e,t))}}),"withColorSignalControls");function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(n),!0).forEach((function(t){Object(P.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var de=Object(N.createHigherOrderComponent)((function(e){return function(t){var n=Object(l.useSupports)(t.name),o=t.attributes,a=Object(c.getColorSignalClassnames)(o,n),i=fe(fe({},t),{},{className:q()(t.className,a)});return Object(r.createElement)(e,i)}}),"withColorSignalEditClassnames");function ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(n),!0).forEach((function(t){Object(P.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ve=function(e,t,n){var r=Object(l.getSupports)(t.name),o=Object(c.getColorSignalClassnames)(n,r);return Oe(Oe({},e),{},{className:q()(e.className,o)})};function je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?je(Object(n),!0).forEach((function(t){Object(P.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ye=function(e,t,n){var r,o=Object(l.getSupports)(t.name);if(!e||null==o||null===(r=o.novaBlocks)||void 0===r||!r.colorSignal)return e;var a={"data-palette":null==n?void 0:n.palette,"data-palette-variation":null==n?void 0:n.paletteVariation,"data-color-signal":null==n?void 0:n.colorSignal};return n.useSourceColorAsReference&&Object.assign(a,{"data-use-source-color-as-reference":null==n?void 0:n.useSourceColorAsReference}),Object.assign({},e,{props:me(me({},null==e?void 0:e.props),a)})},_e=Object(N.createHigherOrderComponent)((function(e){return function(t){var n,o=Object(l.useSupports)(t.name),a=t.attributes.emphasisArea,c=t.style?t.style:{};if(null!=o&&null!==(n=o.novaBlocks)&&void 0!==n&&n.colorSignal){var i={"--nb-emphasis-area":a};Object.assign(c,i)}return Object(r.createElement)(e,Object(M.a)({},t,{style:c}))}}),"withColorSignalEditCustomProps");function Se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function he(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(n),!0).forEach((function(t){Object(P.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Se(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ke=function(e,t,n){var r,o,a=Object(l.getSupports)(t.name);if(!e||null==a||null===(r=a.novaBlocks)||void 0===r||!r.spaceAndSizing)return e;var c=n.emphasisArea;return Object.assign({},e,{props:he(he({},e.props),{},{style:he(he({},null===(o=e.props)||void 0===o?void 0:o.style),{},{"--nb-emphasis-area":c})})})};Object(o.addFilter)("blocks.registerBlockType","novablocks/with-color-signal-attributes",B),Object(o.addFilter)("blocks.registerBlockType","novablocks/with-color-signal-deprecated",D),Object(o.addFilter)("editor.BlockEdit","novablocks/with-color-signal-controls",be),Object(o.addFilter)("editor.BlockEdit","novablocks/with-color-signal-edit-custom-props",_e),Object(o.addFilter)("editor.BlockListBlock","novablocks/with-color-signal-edit-classnames",de),Object(o.addFilter)("blocks.getSaveContent.extraProps","novablocks/with-color-signal-save-classnames",ve,1),Object(o.addFilter)("blocks.getSaveElement","novablocks/add-color-signal-data-to-save-element",ye,1),Object(o.addFilter)("blocks.getSaveElement","novablocks/with-color-signal-save-custom-props",ke);Object(o.addFilter)("editor.BlockEdit","novablocks/with-updated-attributes",(function(e){return function(t){var n,o,a=t.attributes,c=t.setAttributes,i=t.clientId,u=Object(l.useSupports)(t.name),s=!1!==(null==u||null===(n=u.novaBlocks)||void 0===n||null===(o=n.colorSignal)||void 0===o?void 0:o.stickySourceColor);return Object(r.useEffect)((function(){var e;if(null!=u&&null!==(e=u.novaBlocks)&&void 0!==e&&e.colorSignal){var t=k(a,i,{},s);c(t)}}),[]),Object(r.createElement)(e,t)}}))},8:function(e,t){e.exports=window.wp.hooks},9:function(e,t){e.exports=window.wp.compose}});6 */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var l=typeof r;if("string"===l||"number"===l)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===l)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},12:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(20);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,l=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(l.push(r.value),!t||l.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return l}}(e,t)||Object(r.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},16:function(e,t){e.exports=window.wp.blockEditor},17:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},20:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(17);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},26:function(e,t){e.exports=window.novablocks.icons},29:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},3:function(e,t){e.exports=window.wp.components},4:function(e,t){e.exports=window.novablocks.utils},5:function(e,t){e.exports=window.novablocks.blockEditor},6:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},7:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},71:function(e,t,n){"use strict";n.r(t),n.d(t,"getColorSignalClassnames",(function(){return b.getColorSignalClassnames})),n.d(t,"getCurrentPaletteConfig",(function(){return p})),n.d(t,"mapPalettesToColorPalette",(function(){return f})),n.d(t,"getSiteColorVariation",(function(){return d})),n.d(t,"getPaletteConfig",(function(){return g})),n.d(t,"getAbsoluteColorVariation",(function(){return O})),n.d(t,"getVariationFromSignal",(function(){return v})),n.d(t,"getSignalRelativeToVariation",(function(){return j})),n.d(t,"getSignalOptionsFromVariation",(function(){return m})),n.d(t,"computeColorSignal",(function(){return y})),n.d(t,"getSourceIndexFromPaletteId",(function(){return S})),n.d(t,"addSiteVariationOffset",(function(){return h})),n.d(t,"removeSiteVariationOffset",(function(){return k})),n.d(t,"normalizeVariationValue",(function(){return C})),n.d(t,"getMaxSignal",(function(){return w}));var r,o,l,a,c=n(0),i=n(8),u=n(5),s=n(10),b=n(4),p=function(e){var t=e.attributes,n=e.settings,r=t.palette,o=n.palettes;return Array.isArray(o)&&o.length?o.find((function(e){return e.id===r}))||o[0]:{sourceIndex:6}},f=function(e){var t=e.colors,n=e.sourceIndex;return{name:e.label,color:t[n].value}},d=(a=(null===(r=window)||void 0===r||null===(o=r.styleManager)||void 0===o?void 0:o.siteColorVariation)||1,null!==(l=wp)&&void 0!==l&&l.customize&&wp.customize("sm_site_color_variation",(function(e){e.bind((function(e){a=parseInt(e,10)}))})),function(){return a}),g=function(e){var t,n,r=null===(t=window)||void 0===t||null===(n=t.styleManager)||void 0===n?void 0:n.colorsConfig;return Array.isArray(r)&&r.length?r.find((function(t){return"".concat(t.id)==="".concat(e)}))||r[0]:{sourceIndex:6}},O=function(e){var t=e.palette,n=e.useSourceColorAsReference,r=parseInt(e.paletteVariation,10),o=S(t);return h(n?o+1:r)},v=function(e,t){var n=Object(b.getSignals)(t),r=n[Math.min(e,n.length-1)];return k(r)},j=function(e,t,n){var r=m(t,n).reduce((function(t,n,r,o){return Math.abs(n-e)<Math.abs(o[t]-e)?r:t}),0),o=g(n),l=o.colors;return Array.isArray(null==o?void 0:o.variations)&&(l=o.variations.map((function(e){return e.bg}))),l[e-1]===l[t-1]?0:Math.max(1,r)},m=function(e,t){var n=Object(b.getSignals)(t);return n.sort((function(t,n){return Math.abs(e-t)<Math.abs(e-n)?-1:1})),n[0]=e,n},y=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=m(e,n);if(Number.isInteger(r)){var l=j(r,e,n);if(l===t)return r}var a=Math.min(o.length-1,t);return o[a]},S=function(e){var t=g(e),n=d();return(t.sourceIndex-n+1+12)%12},h=function(e){var t=d();return C(e+t-1)},k=function(e){var t=d();return C(e-t+1)},C=function(e){return(e+11)%12+1},w=function(e){return Object(b.getSignals)(e).length-1},E=function(e){for(var t=Object(s.select)("core/block-editor"),n=t.getBlockParents,r=t.getBlock,o=n(e).slice();o.length;){var l,a=r(o.pop()),c=a.attributes,i=Object(u.getSupports)(a.name);if(null!=i&&null!==(l=i.novaBlocks)&&void 0!==l&&l.colorSignal)return O(c)}return d()},P=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=Object.assign({},e,n),c=a.palette,i=a.useSourceColorAsReference,u=E(t),s=O(a),b=j(s,u,c),p=y(u,b,c,s),f=k(p),d=S(c),g=h(d+1),v=j(g,u,c),m=r&&(i||l&&b===v||o&&s===g),_=m?g:f,C=a.contentColorSignal,w=a.contentPaletteVariation,P=y(_,C,c,w);return{palette:c,paletteVariation:m?1:_,useSourceColorAsReference:m,colorSignal:b,contentPaletteVariation:0===C?_:P}};!function(){var e=Object(s.select)("core/block-editor");if(e){var t=function(){return e.getBlocks()};t();Object(s.subscribe)((function(){var e=t();e.forEach((function(e){x(e)}))}))}}();var x=function(e){var t,n=Object(u.getSupports)(e.name);if(null!=n&&null!==(t=n.novaBlocks)&&void 0!==t&&t.colorSignal){var r,o,l=Object(s.dispatch)("core/block-editor").updateBlockAttributes,a=e.attributes,c=e.clientId,i=a.colorSignal,b=a.paletteVariation,p=a.useSourceColorAsReference,f=null===(r=window)||void 0===r||null===(o=r.styleManager)||void 0===o?void 0:o.colorsConfig,d=function(){var e=f.find((function(e){return"".concat(e.id)==="".concat(a.palette)}));return e?e.id:1}(),g=Object(s.select)("core/block-editor"),v=g.getBlockParents,m=g.getBlock,_=v(c).slice();if(void 0===i||void 0===b)return!1;if(_.length){var S,h=m(_.pop()),C=Object(u.getSupports)(h.name),w=null==C||null===(S=C.novaBlocks)||void 0===S?void 0:S.colorSignal;if(!0===w||null!=w&&w.contentColorSignal){var P=h.attributes,x=P.contentColorSignal,A=P.contentPaletteVariation;return b!==A&&l(c,{colorSignal:x,paletteVariation:A,useSourceColorAsReference:!1}),V(e),!1}}var B=E(c),F=O(a),I=y(B,i,d,F),D=p?j(F,B,d):i,N=p?1:k(I);b===N&&i===D||l(c,{colorSignal:D,paletteVariation:N})}V(e)},A=function(e){Array.isArray(e)&&e.forEach((function(e){x(e)}))},V=function(e){var t=Object(s.select)("core/block-editor").getBlocks;A(e.innerBlocks),"core/template-part"===e.name&&A(t(e.clientId))},B=n(6);function F(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F(Object(n),!0).forEach((function(t){Object(B.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D={palette:{type:"string",default:"1"},paletteVariation:{type:"number",default:1},useSourceColorAsReference:{type:"boolean",default:!1},colorSignal:{type:"number",default:0},contentColorSignal:{type:"number",default:0},contentPaletteVariation:{type:"number",default:1},emphasisArea:{type:"number",default:100}},N=function(e){var t,n,r=null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n?void 0:n.colorSignal;return!0!==r&&!0!==(null==r?void 0:r.attributes)?e:I(I({},e),{},{attributes:I(I({},e.attributes),D)})};function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){Object(B.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var T=function(e,t){var n,r,o;return null!=e&&null!==(n=e.supports)&&void 0!==n&&null!==(r=n.novaBlocks)&&void 0!==r&&null!==(o=r.colorSignal)&&void 0!==o&&o.addOverlayColorDeprecatedMethod?Object.assign({},e,{attributes:_.omit(e.attributes,["contentColor","overlayFilterStyle"]),deprecated:[{attributes:e.attributes,isEligible:function(e){return void 0===e.paletteVariation},migrate:function(e){var t=e.contentColor,n=e.overlayFilterStyle,r=!!t&&t.search("000")>-1,o=!!n&&"light"===n,l=r||o?"0":"12",a=r||o?0:3;return R(R({},e),{},{defaultsGenerated:!0,paletteVariation:l,colorSignal:a})},save:e.save}].concat(e.deprecated)}):e},z=n(9),G=n(7),U=n(1),H=n(3),L=function(e){var t=Object(u.useSettings)();if(null==t||!t.debug)return null;var n=e.attributes.useSourceColorAsReference;return Object(c.createElement)(u.ControlsGroup,{key:"color_reference_toggle_group"},Object(c.createElement)(H.ToggleControl,{key:"color-set-use-source-as-reference-control",label:Object(U.__)("Use Source Color as Reference","nova-blocks"),checked:n,disabled:!0}))},q=function(e){var t=e.showFunctionalColors,n=e.setShowFunctionalColors;return Object(c.createElement)(H.ToggleControl,{label:Object(U.__)("Use Functional Colors","nova-blocks"),checked:t,onChange:function(e){n(e)}})},Q=function(e){var t,n,r=Object(u.useSupports)(e.name),o=!(null!=r&&null!==(t=r.novaBlocks)&&void 0!==t&&null!==(n=t.colorSignal)&&void 0!==n&&n.functionalColors);return Object(c.createElement)(c.Fragment,null,!o&&Object(c.createElement)(u.ControlsGroup,{title:Object(U.__)("Miscellaneous","nova-blocks"),className:"novablocks-controls-group--colors-miscellanous-controls",key:"miscellaneous_group"},Object(c.createElement)(q,e)),Object(c.createElement)(L,Object(G.a)({},e,{key:"color_reference_toggle"})))},$=Object(u.withVisibility)("palette-picker")((function(e){var t=e.attributes,n=e.setAttributes,r=e.clientId,o=e.showFunctionalColors,l=e.stickySourceColor,a=Object(u.useSettings)().palettes,i=t.palette,s=t.paletteVariation,p=t.useSourceColorAsReference,f=a.filter((function(e){return Object(b.isFunctionalPalette)(e)})),d=a.filter((function(e){return!Object(b.isFunctionalPalette)(e)})),g=o?f:d,O=function(e){if(e===i&&l){var o=E(r),a=S(i),c=!t.useSourceColorAsReference,u=a+1,s=c?1:u,b=j(h(u),o,i);n({useSourceColorAsReference:c,paletteVariation:s,colorSignal:b})}else n({palette:e})},v=g.map((function(e){return{value:"".concat(e.id),data:e,colors:e.source.slice(0,1)}}));return Object(c.createElement)(u.ControlsGroup,{key:"block_color_signal_palette_picker"},Object(c.createElement)(u.ColorPicker,Object(G.a)({label:"Color Palette",options:v,onChange:function(e){var t=g.find((function(t){return"".concat(t.id)===e}));O("".concat(t.id))},favorite:1===s&&p,selected:i},e)))})),J=n(11),K=n.n(J),W=n(26),X=function(e){var t,n,r,o,l,a,i,s,b=e.attributes,p=e.label,f=e.signal,d=(e.clientId,e.value),g=e.parentVariation,O=e.useReference,v=e.onChange||function(){},m=b.palette,y=b.useSourceColorAsReference,_=Object(u.useSupports)(e.name),k=Math.min(null!==(t=null==_||null===(n=_.novaBlocks)||void 0===n||null===(r=n.colorSignal)||void 0===r?void 0:r.maxColorSignal)&&void 0!==t?t:3),w=Math.max(null!==(o=null==_||null===(l=_.novaBlocks)||void 0===l||null===(a=l.colorSignal)||void 0===a?void 0:a.minColorSignal)&&void 0!==o?o:0),E=S(m),P=K()("nb-signal-icon",(i={},Object(B.a)(i,"nb-signal-icon--none",0===f),Object(B.a)(i,"nb-signal-icon--low",1===f),Object(B.a)(i,"nb-signal-icon--medium",2===f),Object(B.a)(i,"nb-signal-icon--high",3===f),i)),x=Array.from(Array(12)).map((function(e,t){return t+1})),A=C(d+(O&&y?E:0));return Object(c.createElement)("div",{className:"components-base-control components-nb-color-grades-control"},Object(c.createElement)("div",{className:"components-base-control__field"},Object(c.createElement)("div",{className:"components-base-control__label"},p),Object(c.createElement)("div",{className:"components-base-control__label-icon"},Object(c.createElement)("div",{className:P},Object(c.createElement)("div",{className:"nb-signal-icon__bar"}),Object(c.createElement)("div",{className:"nb-signal-icon__bar"}),Object(c.createElement)("div",{className:"nb-signal-icon__bar"})))),Object(c.createElement)("div",{className:"nb-palette"},Object(c.createElement)("div",{className:"nb-palette__grades"},x.map((function(e,t){var n="",r=A===e,o=E+1===e,l=j(e,g,m),a=w>l||k<l,i=K()("nb-palette__grade","sm-palette-".concat(m),"sm-variation-".concat(e),{"nb-palette__grade--selected":r,"nb-palette__grade--source":!a&&o,"nb-palette__grade--disabled":a});return r&&(n=Object(W.getIcon)("tick")),o&&(n=Object(W.getIcon)("star")),a&&(n=Object(W.getIcon)("cancel")),Object(c.createElement)("div",{"data-signal":l,className:i,onClick:function(){v(e)},key:"palette_grade_"+t},Object(c.createElement)("div",{className:"nb-palette__grade-surface"}),Object(c.createElement)("div",{className:"nb-palette__grade-icon",dangerouslySetInnerHTML:{__html:n}}))}))),(null==e||null===(s=e.settings)||void 0===s?void 0:s.debug)&&Object(c.createElement)("div",{className:"nb-palette__signal-previews",style:{display:"flex"}},x.map((function(e,t){var n=h(e),r=j(n,g,m);return Object(c.createElement)("div",{className:"nb-palette__signal-preview-wrap",key:"palette_signal_preview_"+t},Object(c.createElement)("div",{className:"nb-palette__signal-preview-wrap__above"},n),Object(c.createElement)("div",{className:"nb-palette__signal-preview nb-palette__signal-preview--".concat(r)}),Object(c.createElement)("div",{className:"nb-palette__signal-preview-wrap__below"},g))})))))},Y=function(e){var t=e.attributes,n=e.updateBlock,r=e.clientId,o=t.colorSignal,l=t.palette,a=Object(c.useCallback)((function(e){var o=E(r),a=O(t),c=y(o,e,l,a),i=k(c);n({paletteVariation:i,useSourceColorAsReference:!1},!0,!0)}),[l,n]);return Object(c.createElement)(u.SignalControl,Object(G.a)({},e,{max:w(l),label:Object(U.__)("Block Color Signal","nova-blocks"),signal:o,onChange:a}))},Z=function(e){var t=e.attributes,n=e.updateBlock,r=e.clientId,o=t.paletteVariation,l=t.colorSignal,a=E(r),i=Object(c.useCallback)((function(e){n({paletteVariation:e,useSourceColorAsReference:!1},!0,!1)}),[n]);return Object(c.createElement)(X,Object(G.a)({},e,{label:Object(U.__)("Block Color Signal","nova-blocks"),value:o,signal:l,useReference:!0,onChange:i,parentVariation:a}))},ee=function(e){var t,n=e.attributes,r=e.setAttributes,o=e.name,l=n.contentColorSignal,a=n.palette,i=Object(u.useSupports)(o),s=null==i||null===(t=i.novaBlocks)||void 0===t?void 0:t.colorSignal;return!0!==s&&!0!==(null==s?void 0:s.contentColorSignal)?null:Object(c.createElement)(u.ControlsGroup,{key:"content_color_signal_group"},Object(c.createElement)(u.SignalControl,Object(G.a)({},e,{label:Object(U.__)("Content Area Color Signal","nova-blocks"),max:w(a),signal:l,onChange:function(e){var t=n.contentPaletteVariation,o=O(n),l=y(o,e,a,t),c=k(l);r({contentColorSignal:e,contentPaletteVariation:c})}})))},te=function(e){var t,n=e.attributes,r=e.setAttributes,o=e.name,l=n.palette,a=n.paletteVariation,i=n.contentPaletteVariation,s=n.contentColorSignal,b=Object(u.useSupports)(o),p=null==b||null===(t=b.novaBlocks)||void 0===t?void 0:t.colorSignal,f=Object(c.useCallback)((function(e){var t=O(n),o=j(e,t,l);r({contentColorSignal:o,contentPaletteVariation:e})}),[n]);return!0!==p&&!0!==(null==p?void 0:p.contentColorSignal)?null:Object(c.createElement)(X,Object(G.a)({},e,{label:Object(U.__)("Content Area Color Signal","nova-blocks"),value:i,signal:s,useReference:!1,onChange:f,parentVariation:a}))},ne=n(29),re=n(16),oe=["bubblesVirtually"],le="ColorSignalCustomizeControls",ae=Object(H.createSlotFill)(le),ce=ae.Fill,ie=ae.Slot,ue=function(e){var t=e.children;return Object(re.useBlockEditContext)().isSelected?Object(c.createElement)(ce,null,t):null};ue.Slot=function(e){var t=e.bubblesVirtually,n=void 0===t||t,r=Object(ne.a)(e,oe),o=Object(H.__experimentalUseSlot)(le);return Boolean(o.fills&&o.fills.length)?Object(c.createElement)(u.ControlsGroup,{key:"block_color_customize_group"},Object(c.createElement)(ie,Object(G.a)({},r,{bubblesVirtually:n}))):null};var se=ue,be=n(12),pe=function(e){return function(t){var n,r,o=t.attributes,l=t.setAttributes,a=t.clientId,i=Object(u.useMemoryState)("showFunctionalColors",!1),s=Object(be.a)(i,2),b=s[0],p=s[1],f=Object(u.useSupports)(t.name),d=!1!==(null==f||null===(n=f.novaBlocks)||void 0===n||null===(r=n.colorSignal)||void 0===r?void 0:r.stickySourceColor),g=Object(c.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=P(o,a,e,d,t,n);l(r)}),[o,a]);return Object(c.createElement)(e,Object(G.a)({},t,{updateBlock:g,stickySourceColor:d,showFunctionalColors:b,setShowFunctionalColors:p}))}},fe=Object(u.withVisibility)("emphasis-area",!1)((function(e){var t=e.attributes,n=e.setAttributes,r=t.emphasisArea;return Object(c.createElement)(u.ControlsGroup,{key:"emphasis_area_group"},Object(c.createElement)(H.RangeControl,{value:r,onChange:function(e){return n({emphasisArea:e})},label:Object(U.__)("Emphasis Area","nova-blocks"),min:0,max:100,step:5}))})),de=pe((function(e){return Object(c.createElement)(u.ControlsSection,{id:"color-signal",label:Object(U.__)("Color Signal","nova-blocks"),order:10,key:"color_signal_controls_section"},Object(c.createElement)(u.ControlsTab,{label:Object(U.__)("Customize","nova-blocks"),key:"color_signal_customize_tab"},Object(c.createElement)(u.Notice,{key:"color-signal-quick-start",id:"novablocks-color-signal-quick-start",content:Object(c.createElement)("p",null,Object(c.createElement)("strong",null,Object(U.__)("Quickstart:","nova-blocks"))," ",Object(U.__)("Use this tool to signal particular blocks on your page. A block with a higher color signal stands apart from the rest of your content.","nova-blocks")),dismissLabel:Object(U.__)("✔ Ok, I get it!","nova-blocks")}),Object(c.createElement)(u.ControlsGroup,{key:"block_color_signal_group"},Object(c.createElement)(Y,Object(G.a)({},e,{key:"block_color_signal"}))),Object(c.createElement)(ee,Object(G.a)({},e,{key:"content_color_signal"})),Object(c.createElement)(fe,Object(G.a)({},e,{key:"emphasis_area"})),Object(c.createElement)(se.Slot,{key:"color_signal_customize"}),Object(c.createElement)($,e),Object(c.createElement)(L,Object(G.a)({},e,{key:"color_reference_toggle"}))),Object(c.createElement)(u.ControlsTab,{label:Object(U.__)("Settings","nova-blocks"),key:"color_signal_settings_tab"},Object(c.createElement)($,e),Object(c.createElement)(u.ControlsGroup,{key:"color_grade_group"},Object(c.createElement)(Z,Object(G.a)({},e,{key:"block_color_grade"})),Object(c.createElement)(te,Object(G.a)({},e,{key:"content_color_grade"}))),Object(c.createElement)(Q,Object(G.a)({},e,{key:"miscellaneous"}))))})),ge=Object(z.createHigherOrderComponent)((function(e){return function(t){var n,r=Object(u.useSupports)(t.name),o=null==r||null===(n=r.novaBlocks)||void 0===n?void 0:n.colorSignal;return!0!==o&&!0!==(null==o?void 0:o.controls)?Object(c.createElement)(e,t):Object(c.createElement)(c.Fragment,null,Object(c.createElement)(de,t),Object(c.createElement)(e,t))}}),"withColorSignalControls");function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){Object(B.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var je=Object(z.createHigherOrderComponent)((function(e){return function(t){var n=Object(u.useSupports)(t.name),r=t.attributes,o=Object(b.getColorSignalClassnames)(r,n),l=ve(ve({},t),{},{className:K()(t.className,o)});return Object(c.createElement)(e,l)}}),"withColorSignalEditClassnames");function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){Object(B.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _e=function(e,t,n){var r=Object(u.getSupports)(t.name),o=Object(b.getColorSignalClassnames)(n,r);return ye(ye({},e),{},{className:K()(e.className,o)})};function Se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function he(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(n),!0).forEach((function(t){Object(B.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Se(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ke=function(e,t,n){var r,o=Object(u.getSupports)(t.name);if(!e||null==o||null===(r=o.novaBlocks)||void 0===r||!r.colorSignal)return e;var l={"data-palette":null==n?void 0:n.palette,"data-palette-variation":null==n?void 0:n.paletteVariation,"data-color-signal":null==n?void 0:n.colorSignal};return n.useSourceColorAsReference&&Object.assign(l,{"data-use-source-color-as-reference":null==n?void 0:n.useSourceColorAsReference}),Object.assign({},e,{props:he(he({},null==e?void 0:e.props),l)})},Ce=Object(z.createHigherOrderComponent)((function(e){return function(t){var n,r=Object(u.useSupports)(t.name),o=t.attributes.emphasisArea,l=t.style?t.style:{};if(null!=r&&null!==(n=r.novaBlocks)&&void 0!==n&&n.colorSignal){var a={"--nb-emphasis-area":o};Object.assign(l,a)}return Object(c.createElement)(e,Object(G.a)({},t,{style:l}))}}),"withColorSignalEditCustomProps");function we(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?we(Object(n),!0).forEach((function(t){Object(B.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):we(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Pe=function(e,t,n){var r,o,l=Object(u.getSupports)(t.name);if(!e||null==l||null===(r=l.novaBlocks)||void 0===r||!r.spaceAndSizing)return e;var a=n.emphasisArea;return Object.assign({},e,{props:Ee(Ee({},e.props),{},{style:Ee(Ee({},null===(o=e.props)||void 0===o?void 0:o.style),{},{"--nb-emphasis-area":a})})})};Object(i.addFilter)("blocks.registerBlockType","novablocks/with-color-signal-attributes",N),Object(i.addFilter)("blocks.registerBlockType","novablocks/with-color-signal-deprecated",T),Object(i.addFilter)("editor.BlockEdit","novablocks/with-color-signal-controls",ge),Object(i.addFilter)("editor.BlockEdit","novablocks/with-color-signal-edit-custom-props",Ce),Object(i.addFilter)("editor.BlockListBlock","novablocks/with-color-signal-edit-classnames",je),Object(i.addFilter)("blocks.getSaveContent.extraProps","novablocks/with-color-signal-save-classnames",_e,1),Object(i.addFilter)("blocks.getSaveElement","novablocks/add-color-signal-data-to-save-element",ke,1),Object(i.addFilter)("blocks.getSaveElement","novablocks/with-color-signal-save-custom-props",Pe);Object(i.addFilter)("editor.BlockEdit","novablocks/with-updated-attributes",(function(e){return function(t){var n,r,o=t.attributes,l=t.setAttributes,a=t.clientId,i=Object(u.useSupports)(t.name),s=!1!==(null==i||null===(n=i.novaBlocks)||void 0===n||null===(r=n.colorSignal)||void 0===r?void 0:r.stickySourceColor);return Object(c.useEffect)((function(){var e;if(null!=i&&null!==(e=i.novaBlocks)&&void 0!==e&&e.colorSignal){var t=P(o,a,{},s);l(t)}}),[]),Object(c.createElement)(e,t)}}))},8:function(e,t){e.exports=window.wp.hooks},9:function(e,t){e.exports=window.wp.compose}}); -
nova-blocks/trunk/build/core/frontend.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('jquery', 'novablocks-utils', 'wp-dom-ready', 'wp-polyfill'), 'version' => ' a3c3781666e856956c56e625d7545eb4');1 <?php return array('dependencies' => array('jquery', 'novablocks-utils', 'wp-dom-ready', 'wp-polyfill'), 'version' => '83c09b7e81ef6205e9df8c310a7f7a66'); -
nova-blocks/trunk/build/core/frontend.js
r2738702 r2744078 1 !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=2 0)}([function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.novablocks.utils},function(e,t){e.exports=window.jQuery},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(6),o=r(7),a=r(5),i=r(8);e.exports=function(e){return n(e)||o(e)||a(e)||i()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(3);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(3);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.domReady},,,,,,,,,,,function(e,t,r){"use strict";r(21),r(22),r(23),r(24)},function(e,t,r){"use strict";var n=r(0)(r(2)),o=(0,n.default)(".nb-scroll-indicator").filter((function(e,t){return(0,n.default)(t).closest("[data-scroll-indicator-block]").length}));!function(){var e;o.length&&(o.each((function(e,t){var r=(0,n.default)(t),o=r.closest("[data-scroll-indicator-block]"),a=r.hasClass(".nb-scroll-indicator--middle"),i=o.get(0).getBoundingClientRect();t.dataset.isMiddle=a,t.dataset.heroBox=JSON.stringify(i),r.on("click",(function(){var e=i.y||i.top;window.scrollTo({top:e+i.height,behavior:"smooth"})}))})),t(),(0,n.default)(window).on("scroll",t));function t(){var t;e=window.scrollY,t=e,o.each((function(e,r){var o=(0,n.default)(r),a=JSON.parse(r.dataset.heroBox).top,i=t>a+200,l=o.data("is-hidden");r.dataset.isMiddle&&i!==l&&(o.toggleClass("nb-scroll-indicator--hidden",i),o.data("is-hidden",i))}))}}()},function(e,t,r){"use strict";var n=r(0)(r(2)),o=(0,n.default)("[data-position-indicators]").filter((function(e,t){return!!t.dataset.positionIndicators}));o.length>1&&void 0!==n.default.fn.bully&&o.bully()},function(e,t,r){"use strict";var n,o=r(0)(r(2)),a=r(1),i=function(e){var t=e.paletteId,r=e.variationIndex,n=(0,a.getPaletteConfig)(t);return null!=n&&n.variations?n.variations[r-1].bg:!!(null!=n&&n.colors&&n.colors.length>r)&&n.colors[r-1]};n=0,(0,o.default)("[data-overlay-filter-type]").filter((function(e,t){var r=(0,o.default)(t).data(),n=r.overlayFilterDuotoneConfig;return"duotone"===r.overlayFilterType&&(null==n?void 0:n.from)&&(null==n?void 0:n.to)})).each((function(e,t){var r=(0,o.default)(t),l=r.data().overlayFilterDuotoneConfig,s=l.from,u=l.to,c=i(s),d=i(u);console.log(s,u);var f="novablocks-duotone-".concat(n);n+=1,r.addClass(f);var p=(0,o.default)("<style>").html(".".concat(f," .nb-supernova-item__media-wrapper :is(img, video) { filter: url( #").concat(f," ); }")),v=(0,a.getDuotoneFilterSvg)([c,d],f),y=(0,o.default)(v);p.insertAfter(r),y.insertAfter(r)}))},function(e,t,r){"use strict";r(25);var n=r(26),o=r(28);r(1).IS_EDITOR||((0,n.handleAlignedBlocks)(),(0,o.handleOverlappingOnScroll)())},function(e,t,r){"use strict";var n=r(0),o=n(r(4)),a=n(r(9));(0,a.default)((function(){Array.from(document.querySelectorAll(".nb-sidecar-area--content > .wp-block-image:not([class*='align'])")).forEach((function(e){var t,r,n=e.querySelector("figure");if(n){var a=n.classList;(t=e.classList).add.apply(t,(0,o.default)(a)),(r=n.classList).remove.apply(r,(0,o.default)(a))}}))}))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.resetAlignedBlocks=t.maybeAddBreakClasses=t.handleAlignedBlocks=void 0;var o=n(r(9)),a=r(1),i=r(27),l=function(){(0,a.getContentBlocksArray)().forEach(a.maybeAddBreakClassesToElement)};t.maybeAddBreakClasses=l;var s=function(){var e,t;null!==(e=window)&&void 0!==e&&null!==(t=e.wp)&&void 0!==t&&t.customize&&["sm_site_container_width","sm_content_inset","sm_spacing_level"].forEach((function(e){wp.customize(e,(function(e){e.bind((0,a.debounce)(c,200))}))}))},u=function(){(0,a.cleanupBreakClasses)(),(0,i.makeSidebarsNotReady)(),l(),(0,i.makeSidebarsReady)()};t.resetAlignedBlocks=u;var c=function(){var e=(0,a.debounce)(u,200);(0,o.default)((function(){u(),s()})),window.addEventListener("resize",e)};t.handleAlignedBlocks=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeSidebarsReady=t.makeSidebarsNotReady=void 0;r(1);t.makeSidebarsNotReady=function(){Array.from(document.querySelectorAll(".nb-sidecar--sidebar-ready")).forEach((function(e){e.classList.remove("nb-sidecar--sidebar-ready")}))};t.makeSidebarsReady=function(){Array.from(document.querySelectorAll(".nb-sidecar--sticky-sidebar")).forEach((function(e){e.classList.add("nb-sidecar--sidebar-ready")}))}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.toggleOverlappingClassname=t.handleOverlappingOnScroll=t.getOverlappingSets=void 0;var o=n(r(4)),a=n(r(29)),i=n(r(9)),l=r(1),s=function(e){e.map((function(e){var t=(0,a.default)(e,2),r=t[0],n=t[1].some((function(e){return(0,l.doOverlap)(r,e)}));return{stickyElement:r,overlap:n}})).forEach((function(e){var t=e.stickyElement;e.overlap?t.classList.add("novablocks-hidden-block"):t.classList.remove("novablocks-hidden-block")}))};t.toggleOverlappingClassname=s;var u=function(){return Array.from(document.querySelectorAll(".nb-sidecar--sticky-sidebar > .nb-sidecar-area--sidebar")).reduce((function(e,t){var r=t.parentElement,n=t.lastElementChild,a=Array.from(r.querySelectorAll(".alignfull, .alignwide, .alignleft, .alignright")).filter((function(e){return!(0,l.matches)(e,".nb-sidecar")})),i=[];return a.forEach((function(e,t){e.closest(".nb-sidecar-area--sidebar")||e!==n&&(e.classList.contains("nb-supernova")?i.push.apply(i,(0,o.default)(Array.from(e.children))):i.push(e))})),[].concat((0,o.default)(e),[[n,i]])}),[])};t.getOverlappingSets=u;t.handleOverlappingOnScroll=function(){(0,i.default)((function(){var e=u();(0,l.onScrollRAF)((function(){s(e)}))}))}},function(e,t,r){var n=r(30),o=r(31),a=r(5),i=r(32);e.exports=function(e,t){return n(e)||o(e,t)||a(e,t)||i()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,o,a=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw o}}return a}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0}]);1 !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=25)}([function(e,t){e.exports=window.novablocks.utils},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.domReady},function(e,t){e.exports=window.jQuery},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(7),o=r(8),a=r(6),i=r(9);e.exports=function(e){return n(e)||o(e)||a(e)||i()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(4);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(4);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},,,,,,,,,,,,,,,,function(e,t,r){"use strict";r(26),r(27),r(28),r(29)},function(e,t,r){"use strict";var n=r(1)(r(3)),o=(0,n.default)(".nb-scroll-indicator").filter((function(e,t){return(0,n.default)(t).closest("[data-scroll-indicator-block]").length}));!function(){var e;o.length&&(o.each((function(e,t){var r=(0,n.default)(t),o=r.closest("[data-scroll-indicator-block]"),a=r.hasClass(".nb-scroll-indicator--middle"),i=o.get(0).getBoundingClientRect();t.dataset.isMiddle=a,t.dataset.heroBox=JSON.stringify(i),r.on("click",(function(){var e=i.y||i.top;window.scrollTo({top:e+i.height,behavior:"smooth"})}))})),t(),(0,n.default)(window).on("scroll",t));function t(){var t;e=window.scrollY,t=e,o.each((function(e,r){var o=(0,n.default)(r),a=JSON.parse(r.dataset.heroBox).top,i=t>a+200,l=o.data("is-hidden");r.dataset.isMiddle&&i!==l&&(o.toggleClass("nb-scroll-indicator--hidden",i),o.data("is-hidden",i))}))}}()},function(e,t,r){"use strict";var n=r(1)(r(3)),o=(0,n.default)("[data-position-indicators]").filter((function(e,t){return!!t.dataset.positionIndicators}));o.length>1&&void 0!==n.default.fn.bully&&o.bully()},function(e,t,r){"use strict";var n,o=r(1)(r(3)),a=r(0),i=function(e){var t=e.paletteId,r=e.variationIndex,n=(0,a.getPaletteConfig)(t);return null!=n&&n.variations?n.variations[r-1].bg:!!(null!=n&&n.colors&&n.colors.length>r)&&n.colors[r-1]};n=0,(0,o.default)("[data-overlay-filter-type]").filter((function(e,t){var r=(0,o.default)(t).data(),n=r.overlayFilterDuotoneConfig;return"duotone"===r.overlayFilterType&&(null==n?void 0:n.from)&&(null==n?void 0:n.to)})).each((function(e,t){var r=(0,o.default)(t),l=r.data().overlayFilterDuotoneConfig,s=l.from,u=l.to,c=i(s),d=i(u);console.log(s,u);var f="novablocks-duotone-".concat(n);n+=1,r.addClass(f);var p=(0,o.default)("<style>").html(".".concat(f," .nb-supernova-item__media-wrapper :is(img, video) { filter: url( #").concat(f," ); }")),v=(0,a.getDuotoneFilterSvg)([c,d],f),y=(0,o.default)(v);p.insertAfter(r),y.insertAfter(r)}))},function(e,t,r){"use strict";r(30);var n=r(31),o=r(33);r(0).IS_EDITOR||((0,n.handleAlignedBlocks)(),(0,o.handleOverlappingOnScroll)())},function(e,t,r){"use strict";var n=r(1),o=n(r(5)),a=n(r(2));(0,a.default)((function(){Array.from(document.querySelectorAll(".nb-sidecar-area--content > .wp-block-image:not([class*='align'])")).forEach((function(e){var t,r,n=e.querySelector("figure");if(n){var a=n.classList;(t=e.classList).add.apply(t,(0,o.default)(a)),(r=n.classList).remove.apply(r,(0,o.default)(a))}}))}))},function(e,t,r){"use strict";var n=r(1);Object.defineProperty(t,"__esModule",{value:!0}),t.resetAlignedBlocks=t.maybeAddBreakClasses=t.handleAlignedBlocks=void 0;var o=n(r(2)),a=r(0),i=r(32),l=function(){(0,a.getContentBlocksArray)().forEach(a.maybeAddBreakClassesToElement)};t.maybeAddBreakClasses=l;var s=function(){var e,t;null!==(e=window)&&void 0!==e&&null!==(t=e.wp)&&void 0!==t&&t.customize&&["sm_site_container_width","sm_content_inset","sm_spacing_level"].forEach((function(e){wp.customize(e,(function(e){e.bind((0,a.debounce)(c,200))}))}))},u=function(){(0,a.cleanupBreakClasses)(),(0,i.makeSidebarsNotReady)(),l(),(0,i.makeSidebarsReady)()};t.resetAlignedBlocks=u;var c=function(){var e=(0,a.debounce)(u,200);(0,o.default)((function(){u(),s()})),window.addEventListener("resize",e)};t.handleAlignedBlocks=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeSidebarsReady=t.makeSidebarsNotReady=void 0;r(0);t.makeSidebarsNotReady=function(){Array.from(document.querySelectorAll(".nb-sidecar--sidebar-ready")).forEach((function(e){e.classList.remove("nb-sidecar--sidebar-ready")}))};t.makeSidebarsReady=function(){Array.from(document.querySelectorAll(".nb-sidecar--sticky-sidebar")).forEach((function(e){e.classList.add("nb-sidecar--sidebar-ready")}))}},function(e,t,r){"use strict";var n=r(1);Object.defineProperty(t,"__esModule",{value:!0}),t.toggleOverlappingClassname=t.handleOverlappingOnScroll=t.getOverlappingSets=void 0;var o=n(r(5)),a=n(r(34)),i=n(r(2)),l=r(0),s=function(e){e.map((function(e){var t=(0,a.default)(e,2),r=t[0],n=t[1].some((function(e){return(0,l.doOverlap)(r,e)}));return{stickyElement:r,overlap:n}})).forEach((function(e){var t=e.stickyElement;e.overlap?t.classList.add("novablocks-hidden-block"):t.classList.remove("novablocks-hidden-block")}))};t.toggleOverlappingClassname=s;var u=function(){return Array.from(document.querySelectorAll(".nb-sidecar--sticky-sidebar > .nb-sidecar-area--sidebar")).reduce((function(e,t){var r=t.parentElement,n=t.lastElementChild,a=Array.from(r.querySelectorAll(".alignfull, .alignwide, .alignleft, .alignright")).filter((function(e){return!(0,l.matches)(e,".nb-sidecar")})),i=[];return a.forEach((function(e,t){e.closest(".nb-sidecar-area--sidebar")||e!==n&&(e.classList.contains("nb-supernova")?i.push.apply(i,(0,o.default)(Array.from(e.children))):i.push(e))})),[].concat((0,o.default)(e),[[n,i]])}),[])};t.getOverlappingSets=u;t.handleOverlappingOnScroll=function(){(0,i.default)((function(){var e=u();(0,l.onScrollRAF)((function(){s(e)}))}))}},function(e,t,r){var n=r(35),o=r(36),a=r(6),i=r(37);e.exports=function(e,t){return n(e)||o(e,t)||a(e,t)||i()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,o,a=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw o}}return a}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0}]); -
nova-blocks/trunk/build/core/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks-utils', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => ' e47e5db3e5ba2d50270f9072fc8e1ef1');1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks-utils', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => '74b55a13bc926b2a9a80ba2bcc87c396'); -
nova-blocks/trunk/build/core/index.js
r2738702 r2744078 1 this.novablocks=this.novablocks||{},this.novablocks.core=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=7 1)}([function(t,e){t.exports=window.wp.element},function(t,e){t.exports=window.wp.i18n},,function(t,e){t.exports=window.wp.components},function(t,e){t.exports=window.novablocks.utils},function(t,e){t.exports=window.novablocks.blockEditor},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.d(e,"a",(function(){return r}))},function(t,e){t.exports=window.wp.hooks},function(t,e){t.exports=window.wp.compose},function(t,e){t.exports=window.wp.data},function(t,e,n){var r;1 this.novablocks=this.novablocks||{},this.novablocks.core=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=72)}([function(t,e){t.exports=window.wp.element},function(t,e){t.exports=window.wp.i18n},,function(t,e){t.exports=window.wp.components},function(t,e){t.exports=window.novablocks.utils},function(t,e){t.exports=window.novablocks.blockEditor},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.d(e,"a",(function(){return r}))},function(t,e){t.exports=window.wp.hooks},function(t,e){t.exports=window.wp.compose},function(t,e){t.exports=window.wp.data},function(t,e,n){var r; 2 2 /*! 3 3 Copyright (c) 2017 Jed Watson. 4 4 Licensed under the MIT License (MIT), see 5 5 http://jedwatson.github.io/classnames 6 */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)&&r.length){var c=o.apply(null,r);c&&t.push(c)}else if("object"===i)for(var a in r)n.call(r,a)&&r[a]&&t.push(a)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(20);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var r,o,i=[],c=!0,a=!1;try{for(n=n.call(t);!(c=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);c=!0);}catch(t){a=!0,o=t}finally{try{c||null==n.return||n.return()}finally{if(a)throw o}}return i}}(t,e)||Object(r.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,n){(function(e){var n;n=function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};function n(t,e){return t(e={exports:{}},e.exports),e.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))},"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var r=n((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o;return n&&!0===n.clone&&t(e)?r((o=e,Array.isArray(o)?[]:{}),e,n):e}function n(n,o,i){var c=n.slice();return o.forEach((function(o,a){void 0===c[a]?c[a]=e(o,i):t(o)?c[a]=r(n[a],o,i):-1===n.indexOf(o)&&c.push(e(o,i))})),c}function r(o,i,c){var a=Array.isArray(i),s=(c||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(o)?s(o,i,c):e(i,c):function(n,o,i){var c={};return t(n)&&Object.keys(n).forEach((function(t){c[t]=e(n[t],i)})),Object.keys(o).forEach((function(a){t(o[a])&&n[a]?c[a]=r(n[a],o[a],i):c[a]=e(o[a],i)})),c}(o,i,c)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return r(t,n,e)}))},r}()})),o=n((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=o.svg,c=o.xlink,a={};a[i.name]=i.uri,a[c.name]=c.uri;var s=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(r(a,e||{}))+">"+t+"</svg>"};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(s(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)},t.exports=n()}).call(this,n(27))},function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=t((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o;return n&&!0===n.clone&&t(e)?r((o=e,Array.isArray(o)?[]:{}),e,n):e}function n(n,o,i){var c=n.slice();return o.forEach((function(o,a){void 0===c[a]?c[a]=e(o,i):t(o)?c[a]=r(n[a],o,i):-1===n.indexOf(o)&&c.push(e(o,i))})),c}function r(o,i,c){var a=Array.isArray(i),s=(c||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(o)?s(o,i,c):e(i,c):function(n,o,i){var c={};return t(n)&&Object.keys(n).forEach((function(t){c[t]=e(n[t],i)})),Object.keys(o).forEach((function(a){t(o[a])&&n[a]?c[a]=r(n[a],o[a],i):c[a]=e(o[a],i)})),c}(o,i,c)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return r(t,n,e)}))},r}()})),r=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),o=r.svg,i=r.xlink,c={};c[o.name]=o.uri,c[i.name]=i.uri;var a,s=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(n(c,e||{}))+">"+t+"</svg>"},u=r.svg,l=r.xlink,f={attrs:(a={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},a[u.name]=u.uri,a[l.name]=l.uri,a)},p=function(t){this.config=n(f,t||{}),this.symbols=[]};p.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},p.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},p.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},p.prototype.has=function(t){return null!==this.find(t)},p.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map((function(t){return t.stringify()})).join("");return s(e,t)},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var d=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};d.prototype.stringify=function(){return this.content},d.prototype.toString=function(){return this.stringify()},d.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var b=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},y=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return b(s(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(d),g={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},v=function(t){return Array.prototype.slice.call(t,0)},m=function(){return/firefox/i.test(navigator.userAgent)},h=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},O=function(){return/edge/i.test(navigator.userAgent)},j=function(t){return(t||window.location.href).split("#")[0]},w=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,r){var o,i,c;o=t,i={oldUrl:r,newUrl:n},(c=document.createEvent("CustomEvent")).initCustomEvent(o,!1,!1,i),window.dispatchEvent(c)}))}])},k=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern, mask, clipPath"),v(t.querySelectorAll("symbol")).forEach((function(t){v(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t},E=r.xlink.uri,S=/[{}|\\\^\[\]`"<>]/g;function P(t){return t.replace(S,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var _,x=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],C=x.map((function(t){return"["+t+"]"})).join(","),A=function(t,e,n,r){var o=P(n),i=P(r);(function(t,e){return v(t).reduce((function(t,n){if(!n.attributes)return t;var r=v(n.attributes),o=e?r.filter(e):r;return t.concat(o)}),[])})(t.querySelectorAll(C),(function(t){var e=t.localName,n=t.value;return-1!==x.indexOf(e)&&-1!==n.indexOf("url("+o)})).forEach((function(t){return t.value=t.value.replace(new RegExp(o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,e,n){v(t).forEach((function(t){var r=t.getAttribute("xlink:href");if(r&&0===r.indexOf(e)){var o=r.replace(e,n);t.setAttributeNS(E,"xlink:href",o)}}))}(e,o,i)},B="mount",D="symbol_mount",T=function(t){function e(e){var r=this;void 0===e&&(e={}),t.call(this,n(g,e));var o,i=(o=o||Object.create(null),{on:function(t,e){(o[t]||(o[t]=[])).push(e)},off:function(t,e){o[t]&&o[t].splice(o[t].indexOf(e)>>>0,1)},emit:function(t,e){(o[t]||[]).map((function(t){t(e)})),(o["*"]||[]).map((function(n){n(t,e)}))}});this._emitter=i,this.node=null;var c=this.config;if(c.autoConfigure&&this._autoConfigure(e),c.syncUrlsWithBaseTag){var a=document.getElementsByTagName("base")[0].getAttribute("href");i.on(B,(function(){return r.updateUrls("#",a)}))}var s=this._handleLocationChange.bind(this);this._handleLocationChange=s,c.listenLocationChangeEvent&&window.addEventListener(c.locationChangeEvent,s),c.locationChangeAngularEmitter&&w(c.locationChangeEvent),i.on(B,(function(t){c.moveGradientsOutsideSymbol&&k(t)})),i.on(D,(function(t){var e;c.moveGradientsOutsideSymbol&&k(t.parentNode),(h()||O())&&(e=[],v(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})))}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=m())},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,r=e.newUrl;this.updateUrls(n,r)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit(D,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var r="string"==typeof t?document.querySelector(t):t;return n.node=r,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(D,t.node)})),v(r.querySelectorAll("symbol")).forEach((function(t){var e=y.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(B,r),r},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach((function(t){return t.destroy()})),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){if(void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1),this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,r=this.render();return this.node=r,e&&n.childNodes[0]?n.insertBefore(r,n.childNodes[0]):n.appendChild(r),this._emitter.emit(B,r),r},e.prototype.render=function(){return b(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return A(this.node,n,j(t)+"#",j(e)+"#"),!0},Object.defineProperties(e.prototype,r),e}(p),M=t((function(t){var e,n,r,o,i;t.exports=(n=[],r=document,o=r.documentElement.doScroll,(i=(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState))||r.addEventListener("DOMContentLoaded",e=function(){for(r.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),function(t){i?setTimeout(t,0):n.push(t)})}));window.__SVG_SPRITE__?_=window.__SVG_SPRITE__:(_=new T({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=_);var N=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?_.attach(t):_.mount(document.body,!0)};return document.body?N():M(N),_},t.exports=n()}).call(this,n(27))},,function(t,e){t.exports=window.wp.blockEditor},function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return r}))},,,function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(17);function o(t,e){if(t){if("string"==typeof t)return Object(r.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(t,e):void 0}}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,"a",(function(){return o}))},,function(t,e){t.exports=window.wp.blocks},,,function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},,,function(t,e){t.exports=window.wp.coreData},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, function(t,e,n){"use strict";n.r(e),n.d(e,"store",(function(){return k})),n.d(e,"novaBlocks",(function(){return it}));var r={};n.r(r),n.d(r,"getSettings",(function(){return j}));var o={};n.r(o),n.d(o,"updateSettings",(function(){return w}));var i=n(21),c=n(22),a=n(10),s=n(24),u=n(5),l=n(4),f=n(13),p=n.n(f),d=n(14),b=n.n(d),y=new p.a({id:"core-icon",use:"core-icon-usage",viewBox:"0 0 36 36",content:'<symbol viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg" id="core-icon"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 18C0 8.059 8.059 0 18 0s18 8.059 18 18-8.059 18-18 18S0 27.941 0 18Zm12.04-4a6.738 6.738 0 0 1 6.697-6h1.684A7.579 7.579 0 0 1 28 15.579v.802c0 4-3.082 7.28-7.001 7.594l.001-.129v-2.573A7.273 7.273 0 0 0 13.727 14H12.04Z" fill="#6565F2" /><path d="M8 21.286A4.286 4.286 0 0 1 12.286 17h1.168A4.546 4.546 0 0 1 18 21.546v1.608A3.846 3.846 0 0 1 14.154 27h-.44A5.714 5.714 0 0 1 8 21.286Z" fill="#FFE42E" /></symbol>'}),g=(b.a.add(y),y),v=n(6);function m(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?m(Object(n),!0).forEach((function(e){Object(v.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var O={settings:{}};function j(t){return t.settings}function w(t){return{type:"UPDATE_SETTINGS",settings:t}}var k=Object(a.registerStore)("novablocks",{reducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"UPDATE_SETTINGS":return h(h({},t),{},{settings:e.settings})}return t},selectors:r,actions:o}),E=n(8);function S(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function P(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?S(Object(n),!0).forEach((function(e){Object(v.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var _={colorSignal:{default:1},paletteVariation:{default:1},useSourceColorAsReference:{default:!0}};Object(E.addFilter)("blocks.registerBlockType","novablocks/button/alter-support",(function(t){return"core/button"!==t.name?t:P(P({},t),{},{supports:P(P({},t.supports),{},{novaBlocks:{colorSignal:{attributes:!0,controls:!0,functionalColors:!0,paletteClassname:!0,paletteVariationClassname:!0,colorSignalClassname:!0,minColorSignal:1}}})})}),1);function x(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function C(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?x(Object(n),!0).forEach((function(e){Object(v.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}Object(E.addFilter)("blocks.registerBlockType","novablocks/button/alter-attributes",(function(t){return"core/button"!==t.name?t:P(P({},t),{},{attributes:P(P({},t.attributes),_)})}),20);Object(E.addFilter)("blocks.registerBlockType","novablocks/columns/settings-add-nb-support",(function(t){return"core/columns"!==t.name?t:C(C({},t),{},{supports:C(C({},t.supports),{},{novaBlocks:{spaceAndSizing:!0}})})}),1);var A=n(11),B=n.n(A),D=n(9);function T(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function M(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?T(Object(n),!0).forEach((function(e){Object(v.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function N(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function F(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?N(Object(n),!0).forEach((function(e){Object(v.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}Object(E.addFilter)("blocks.registerBlockType","novablocks/group/settings-add-nb-support",(function(t){return"core/group"!==t.name?t:M(M({},t),{},{supports:M(M({},t.supports),{},{align:["left","right","wide","full"],novaBlocks:{colorSignal:{attributes:!0,controls:!0,functionalColors:!0,paletteClassname:!0,paletteVariationClassname:!0,colorSignalClassname:!0},spaceAndSizing:!0}})})}),1);var L=n(0),G=n(1),I=n(3),U=function(t){var e=t.attributes,n=t.setAttributes,r=e.listStyle;return e.ordered?null:Object(L.createElement)(u.ControlsGroup,{title:Object(G.__)("Marker Settings","nova-blocks")},Object(L.createElement)(I.RadioControl,{key:"novablocks-list-icon-controls",selected:r,className:"novablocks-list-style",onChange:function(t){n({listStyle:t})},options:[{label:"None",value:"list-no-marker"},{label:"Bullet",value:"list-bullet-style"},{label:"Checkmark",value:"list-checkmark-style"}]}))},q=function(t){var e=t.attributes,n=t.setAttributes,r=e.listConnection;return Object(L.createElement)(u.ControlsGroup,{title:Object(G.__)("List Items Connection","nova-blocks")},Object(L.createElement)(I.RadioControl,{key:"novablocks-list-icon-controls",selected:r,className:"novablocks-connection-style",onChange:function(t){n({listConnection:t})},options:[{label:"None",value:"is-style-no-connection"},{label:"Divider",value:"is-style-divider"},{label:"Timeline",value:"is-style-timeline"}]}))},V=function(t){return Object(L.createElement)(u.ControlsSection,{id:"display",label:Object(G.__)("Display","nova-blocks")},Object(L.createElement)(u.ControlsTab,{label:Object(G.__)("Settings","nova-blocks")},Object(L.createElement)(U,t),Object(L.createElement)(q,t)))},R=Object(D.createHigherOrderComponent)((function(t){var e=function(e){var n=e.setControlsVisibility;return Object(L.useEffect)((function(){n({"color-signal-settings":!1,"palette-picker":!1})}),[]),Object(L.createElement)(t,e)};return function(n){return"core/list"!==n.name?Object(L.createElement)(t,n):Object(L.createElement)(L.Fragment,null,Object(L.createElement)(e,n),Object(L.createElement)(V,n))}})),H=function(t){var e=t.listStyle,n=t.listConnection;return B()("nb-list",e,n)},$=function(t){var e=t.values,n=t.start,r=(new DOMParser).parseFromString(e,"text/html").querySelectorAll("body > li").length,o={};return o["--nb-list-start-at"]="".concat(n-1),o["--nb-list-items-count"]="".concat(r+1),o};function z(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function W(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?z(Object(n),!0).forEach((function(e){Object(v.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Z(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function J(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(n),!0).forEach((function(e){Object(v.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var K=Object(D.createHigherOrderComponent)((function(t){return function(e){var n=e.name,r=e.attributes;if("core/list"!==n)return Object(L.createElement)(t,e);var o=J(J({},e),{},{className:B()(e.className,H(r)),wrapperProps:J(J({},e.wrapperProps),{},{style:J(J({},e.style),$(r))})});return Object(L.createElement)(t,o)}}),"withBlockEditProps");Object(E.addFilter)("blocks.registerBlockType","novablocks/list/settings",(function(t){return"core/list"!==t.name?t:F(F({},t),{},{attributes:F(F({},t.attributes),{},{listStyle:{type:"string",default:"list-bullet-style"},listConnection:{type:"string",default:"is-style-no-connection"}}),supports:F(F({},t.supports),{},{novaBlocks:{colorSignal:{colorSignalClassname:!0,attributes:!0,controls:!0,functionalColors:!1,paletteClassname:!0,paletteVariationClassname:!1,stickySourceColor:!1}}})})}),1),Object(E.addFilter)("editor.BlockEdit","novablocks/list/list-style",R,1),Object(E.addFilter)("blocks.getSaveContent.extraProps","novablocks/list/with-save-extra-props",(function(t,e,n){return"core/list"!==e.name?t:{className:B()(t.className,H(n)),style:W(W({},t.style),$(n))}}),1),Object(E.addFilter)("editor.BlockListBlock","novablocks/list/with-edit-block-attributes",K,1);var Q=n(12),X=n(16),Y=(n(30),Object(D.createHigherOrderComponent)((function(t){return function(e){e.name;var n=e.clientId,r=Object(u.useInnerBlocks)(n),o=Object(u.useMeta)("supernova_prevent_duplicate"),i=Object(Q.a)(o,2),c=i[0],a=i[1];return"core/query"===e.name&&r.some((function(t){return"novablocks/supernova"===t.name}))?Object(L.createElement)(L.Fragment,null,Object(L.createElement)(X.InspectorAdvancedControls,null,Object(L.createElement)(I.ToggleControl,{label:Object(G.__)("Prevent duplicate posts","nova-blocks"),checked:c,onChange:function(t){a(t)}})),Object(L.createElement)(t,e)):Object(L.createElement)(t,e)}})));Object(E.addFilter)("editor.BlockEdit","novablocks/list/list-style",Y,1),Object(s.registerBlockStyle)("core/quote",{name:"large",label:"Grande"});var tt=n(7),et=function(t){return function(e){var n=e.attributes,r=e.setControlsVisibility;return Object(L.useEffect)((function(){r({"content-top-spacing":!1,"content-bottom-spacing":!1})}),[n]),Object(L.createElement)(t,e)}}((function(t){var e,n=t.attributes,r=Object(u.useSettings)(),o=(n.align,B()("wp-block-separator",t.className)),i=Object(X.useBlockProps)({className:o,style:t.style});return Object(L.createElement)("div",Object(tt.a)({},i,{dangerouslySetInnerHTML:{__html:null==r||null===(e=r.separator)||void 0===e?void 0:e.markup}}))}));function nt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function rt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nt(Object(n),!0).forEach((function(e){Object(v.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ot={colorSignal:{default:3},paletteVariation:{default:12},align:{type:"string",default:"none"}};Object(E.addFilter)("blocks.registerBlockType","novablocks/separator/alter-support",(function(t){return"core/separator"!==t.name?t:rt(rt({},t),{},{supports:rt(rt({},t.supports),{},{align:["wide","full"],novaBlocks:{colorSignal:{attributes:!0,controls:!0,functionalColors:!1,paletteClassname:!0,paletteVariationClassname:!0,colorSignalClassname:!0,stickySourceColor:!1,minColorSignal:1},spaceAndSizing:!0}}),edit:et,save:function(t){var e,n=t.className,r=(t.attributes.align,Object(a.select)("novablocks").getSettings()),o=X.useBlockProps.save({className:n});return Object(L.createElement)("div",Object(tt.a)({},o,{dangerouslySetInnerHTML:{__html:null==r||null===(e=r.separator)||void 0===e?void 0:e.markup}}))}})}),1);Object(E.addFilter)("blocks.registerBlockType","novablocks/separator/alter-attributes",(function(t){return"core/separator"!==t.name?t:rt(rt({},t),{},{attributes:rt(rt({},t.attributes),ot)})}),20);var it=function(){function t(){Object(i.a)(this,t)}return Object(c.a)(t,[{key:"initialize",value:function(t){Object(a.dispatch)("novablocks").updateSettings(t),Object(s.updateCategory)("nova-blocks",{icon:Object(u.getSvg)(g)}),ct()}}]),t}(),ct=function(){wp.data.subscribe(Object(l.debounce)((function(){var t=Object(l.getContentBlocksArray)();Object(l.cleanupBreakClasses)(),t.forEach(l.maybeAddBreakClassesToElement)}),100))};wp.novaBlocks=new it}]);6 */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)&&r.length){var c=o.apply(null,r);c&&t.push(c)}else if("object"===i)for(var a in r)n.call(r,a)&&r[a]&&t.push(a)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(20);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var r,o,i=[],c=!0,a=!1;try{for(n=n.call(t);!(c=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);c=!0);}catch(t){a=!0,o=t}finally{try{c||null==n.return||n.return()}finally{if(a)throw o}}return i}}(t,e)||Object(r.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,n){(function(e){var n;n=function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};function n(t,e){return t(e={exports:{}},e.exports),e.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))},"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var r=n((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o;return n&&!0===n.clone&&t(e)?r((o=e,Array.isArray(o)?[]:{}),e,n):e}function n(n,o,i){var c=n.slice();return o.forEach((function(o,a){void 0===c[a]?c[a]=e(o,i):t(o)?c[a]=r(n[a],o,i):-1===n.indexOf(o)&&c.push(e(o,i))})),c}function r(o,i,c){var a=Array.isArray(i),s=(c||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(o)?s(o,i,c):e(i,c):function(n,o,i){var c={};return t(n)&&Object.keys(n).forEach((function(t){c[t]=e(n[t],i)})),Object.keys(o).forEach((function(a){t(o[a])&&n[a]?c[a]=r(n[a],o[a],i):c[a]=e(o[a],i)})),c}(o,i,c)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return r(t,n,e)}))},r}()})),o=n((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=o.svg,c=o.xlink,a={};a[i.name]=i.uri,a[c.name]=c.uri;var s=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(r(a,e||{}))+">"+t+"</svg>"};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(s(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)},t.exports=n()}).call(this,n(27))},function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var n=t((function(t,e){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o;return n&&!0===n.clone&&t(e)?r((o=e,Array.isArray(o)?[]:{}),e,n):e}function n(n,o,i){var c=n.slice();return o.forEach((function(o,a){void 0===c[a]?c[a]=e(o,i):t(o)?c[a]=r(n[a],o,i):-1===n.indexOf(o)&&c.push(e(o,i))})),c}function r(o,i,c){var a=Array.isArray(i),s=(c||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(o)?s(o,i,c):e(i,c):function(n,o,i){var c={};return t(n)&&Object.keys(n).forEach((function(t){c[t]=e(n[t],i)})),Object.keys(o).forEach((function(a){t(o[a])&&n[a]?c[a]=r(n[a],o[a],i):c[a]=e(o[a],i)})),c}(o,i,c)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return r(t,n,e)}))},r}()})),r=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),o=r.svg,i=r.xlink,c={};c[o.name]=o.uri,c[i.name]=i.uri;var a,s=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(n(c,e||{}))+">"+t+"</svg>"},u=r.svg,l=r.xlink,f={attrs:(a={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},a[u.name]=u.uri,a[l.name]=l.uri,a)},p=function(t){this.config=n(f,t||{}),this.symbols=[]};p.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},p.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},p.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},p.prototype.has=function(t){return null!==this.find(t)},p.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map((function(t){return t.stringify()})).join("");return s(e,t)},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var d=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};d.prototype.stringify=function(){return this.content},d.prototype.toString=function(){return this.stringify()},d.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var b=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},y=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return b(s(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(d),g={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},v=function(t){return Array.prototype.slice.call(t,0)},m=function(){return/firefox/i.test(navigator.userAgent)},h=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},O=function(){return/edge/i.test(navigator.userAgent)},j=function(t){return(t||window.location.href).split("#")[0]},w=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,r){var o,i,c;o=t,i={oldUrl:r,newUrl:n},(c=document.createEvent("CustomEvent")).initCustomEvent(o,!1,!1,i),window.dispatchEvent(c)}))}])},k=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern, mask, clipPath"),v(t.querySelectorAll("symbol")).forEach((function(t){v(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t},E=r.xlink.uri,S=/[{}|\\\^\[\]`"<>]/g;function P(t){return t.replace(S,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var _,x=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],C=x.map((function(t){return"["+t+"]"})).join(","),A=function(t,e,n,r){var o=P(n),i=P(r);(function(t,e){return v(t).reduce((function(t,n){if(!n.attributes)return t;var r=v(n.attributes),o=e?r.filter(e):r;return t.concat(o)}),[])})(t.querySelectorAll(C),(function(t){var e=t.localName,n=t.value;return-1!==x.indexOf(e)&&-1!==n.indexOf("url("+o)})).forEach((function(t){return t.value=t.value.replace(new RegExp(o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,e,n){v(t).forEach((function(t){var r=t.getAttribute("xlink:href");if(r&&0===r.indexOf(e)){var o=r.replace(e,n);t.setAttributeNS(E,"xlink:href",o)}}))}(e,o,i)},B="mount",D="symbol_mount",T=function(t){function e(e){var r=this;void 0===e&&(e={}),t.call(this,n(g,e));var o,i=(o=o||Object.create(null),{on:function(t,e){(o[t]||(o[t]=[])).push(e)},off:function(t,e){o[t]&&o[t].splice(o[t].indexOf(e)>>>0,1)},emit:function(t,e){(o[t]||[]).map((function(t){t(e)})),(o["*"]||[]).map((function(n){n(t,e)}))}});this._emitter=i,this.node=null;var c=this.config;if(c.autoConfigure&&this._autoConfigure(e),c.syncUrlsWithBaseTag){var a=document.getElementsByTagName("base")[0].getAttribute("href");i.on(B,(function(){return r.updateUrls("#",a)}))}var s=this._handleLocationChange.bind(this);this._handleLocationChange=s,c.listenLocationChangeEvent&&window.addEventListener(c.locationChangeEvent,s),c.locationChangeAngularEmitter&&w(c.locationChangeEvent),i.on(B,(function(t){c.moveGradientsOutsideSymbol&&k(t)})),i.on(D,(function(t){var e;c.moveGradientsOutsideSymbol&&k(t.parentNode),(h()||O())&&(e=[],v(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})))}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=m())},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,r=e.newUrl;this.updateUrls(n,r)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit(D,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var r="string"==typeof t?document.querySelector(t):t;return n.node=r,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(D,t.node)})),v(r.querySelectorAll("symbol")).forEach((function(t){var e=y.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(B,r),r},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach((function(t){return t.destroy()})),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){if(void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1),this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,r=this.render();return this.node=r,e&&n.childNodes[0]?n.insertBefore(r,n.childNodes[0]):n.appendChild(r),this._emitter.emit(B,r),r},e.prototype.render=function(){return b(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return A(this.node,n,j(t)+"#",j(e)+"#"),!0},Object.defineProperties(e.prototype,r),e}(p),M=t((function(t){var e,n,r,o,i;t.exports=(n=[],r=document,o=r.documentElement.doScroll,(i=(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState))||r.addEventListener("DOMContentLoaded",e=function(){for(r.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),function(t){i?setTimeout(t,0):n.push(t)})}));window.__SVG_SPRITE__?_=window.__SVG_SPRITE__:(_=new T({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=_);var N=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?_.attach(t):_.mount(document.body,!0)};return document.body?N():M(N),_},t.exports=n()}).call(this,n(27))},,function(t,e){t.exports=window.wp.blockEditor},function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return r}))},,,function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(17);function o(t,e){if(t){if("string"==typeof t)return Object(r.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(t,e):void 0}}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,"a",(function(){return o}))},,function(t,e){t.exports=window.wp.blocks},,,function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},,,function(t,e){t.exports=window.wp.coreData},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"store",(function(){return k})),n.d(e,"novaBlocks",(function(){return it}));var r={};n.r(r),n.d(r,"getSettings",(function(){return j}));var o={};n.r(o),n.d(o,"updateSettings",(function(){return w}));var i=n(21),c=n(22),a=n(10),s=n(24),u=n(5),l=n(4),f=n(13),p=n.n(f),d=n(14),b=n.n(d),y=new p.a({id:"core-icon",use:"core-icon-usage",viewBox:"0 0 36 36",content:'<symbol viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg" id="core-icon"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 18C0 8.059 8.059 0 18 0s18 8.059 18 18-8.059 18-18 18S0 27.941 0 18Zm12.04-4a6.738 6.738 0 0 1 6.697-6h1.684A7.579 7.579 0 0 1 28 15.579v.802c0 4-3.082 7.28-7.001 7.594l.001-.129v-2.573A7.273 7.273 0 0 0 13.727 14H12.04Z" fill="#6565F2" /><path d="M8 21.286A4.286 4.286 0 0 1 12.286 17h1.168A4.546 4.546 0 0 1 18 21.546v1.608A3.846 3.846 0 0 1 14.154 27h-.44A5.714 5.714 0 0 1 8 21.286Z" fill="#FFE42E" /></symbol>'}),g=(b.a.add(y),y),v=n(6);function m(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?m(Object(n),!0).forEach((function(e){Object(v.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var O={settings:{}};function j(t){return t.settings}function w(t){return{type:"UPDATE_SETTINGS",settings:t}}var k=Object(a.registerStore)("novablocks",{reducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"UPDATE_SETTINGS":return h(h({},t),{},{settings:e.settings})}return t},selectors:r,actions:o}),E=n(8);function S(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function P(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?S(Object(n),!0).forEach((function(e){Object(v.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var _={colorSignal:{default:1},paletteVariation:{default:1},useSourceColorAsReference:{default:!0}};Object(E.addFilter)("blocks.registerBlockType","novablocks/button/alter-support",(function(t){return"core/button"!==t.name?t:P(P({},t),{},{supports:P(P({},t.supports),{},{novaBlocks:{colorSignal:{attributes:!0,controls:!0,functionalColors:!0,paletteClassname:!0,paletteVariationClassname:!0,colorSignalClassname:!0,minColorSignal:1}}})})}),1);function x(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function C(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?x(Object(n),!0).forEach((function(e){Object(v.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}Object(E.addFilter)("blocks.registerBlockType","novablocks/button/alter-attributes",(function(t){return"core/button"!==t.name?t:P(P({},t),{},{attributes:P(P({},t.attributes),_)})}),20);Object(E.addFilter)("blocks.registerBlockType","novablocks/columns/settings-add-nb-support",(function(t){return"core/columns"!==t.name?t:C(C({},t),{},{supports:C(C({},t.supports),{},{novaBlocks:{spaceAndSizing:!0}})})}),1);var A=n(11),B=n.n(A),D=n(9);function T(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function M(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?T(Object(n),!0).forEach((function(e){Object(v.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function N(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function F(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?N(Object(n),!0).forEach((function(e){Object(v.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}Object(E.addFilter)("blocks.registerBlockType","novablocks/group/settings-add-nb-support",(function(t){return"core/group"!==t.name?t:M(M({},t),{},{supports:M(M({},t.supports),{},{align:["left","right","wide","full"],novaBlocks:{colorSignal:{attributes:!0,controls:!0,functionalColors:!0,paletteClassname:!0,paletteVariationClassname:!0,colorSignalClassname:!0},spaceAndSizing:!0}})})}),1);var L=n(0),G=n(1),I=n(3),U=function(t){var e=t.attributes,n=t.setAttributes,r=e.listStyle;return e.ordered?null:Object(L.createElement)(u.ControlsGroup,{title:Object(G.__)("Marker Settings","nova-blocks")},Object(L.createElement)(I.RadioControl,{key:"novablocks-list-icon-controls",selected:r,className:"novablocks-list-style",onChange:function(t){n({listStyle:t})},options:[{label:"None",value:"list-no-marker"},{label:"Bullet",value:"list-bullet-style"},{label:"Checkmark",value:"list-checkmark-style"}]}))},q=function(t){var e=t.attributes,n=t.setAttributes,r=e.listConnection;return Object(L.createElement)(u.ControlsGroup,{title:Object(G.__)("List Items Connection","nova-blocks")},Object(L.createElement)(I.RadioControl,{key:"novablocks-list-icon-controls",selected:r,className:"novablocks-connection-style",onChange:function(t){n({listConnection:t})},options:[{label:"None",value:"is-style-no-connection"},{label:"Divider",value:"is-style-divider"},{label:"Timeline",value:"is-style-timeline"}]}))},V=function(t){return Object(L.createElement)(u.ControlsSection,{id:"display",label:Object(G.__)("Display","nova-blocks")},Object(L.createElement)(u.ControlsTab,{label:Object(G.__)("Settings","nova-blocks")},Object(L.createElement)(U,t),Object(L.createElement)(q,t)))},R=Object(D.createHigherOrderComponent)((function(t){var e=function(e){var n=e.setControlsVisibility;return Object(L.useEffect)((function(){n({"color-signal-settings":!1,"palette-picker":!1})}),[]),Object(L.createElement)(t,e)};return function(n){return"core/list"!==n.name?Object(L.createElement)(t,n):Object(L.createElement)(L.Fragment,null,Object(L.createElement)(e,n),Object(L.createElement)(V,n))}})),H=function(t){var e=t.listStyle,n=t.listConnection;return B()("nb-list",e,n)},$=function(t){var e=t.values,n=t.start,r=(new DOMParser).parseFromString(e,"text/html").querySelectorAll("body > li").length,o={};return o["--nb-list-start-at"]="".concat(n-1),o["--nb-list-items-count"]="".concat(r+1),o};function z(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function W(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?z(Object(n),!0).forEach((function(e){Object(v.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Z(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function J(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(n),!0).forEach((function(e){Object(v.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var K=Object(D.createHigherOrderComponent)((function(t){return function(e){var n=e.name,r=e.attributes;if("core/list"!==n)return Object(L.createElement)(t,e);var o=J(J({},e),{},{className:B()(e.className,H(r)),wrapperProps:J(J({},e.wrapperProps),{},{style:J(J({},e.style),$(r))})});return Object(L.createElement)(t,o)}}),"withBlockEditProps");Object(E.addFilter)("blocks.registerBlockType","novablocks/list/settings",(function(t){return"core/list"!==t.name?t:F(F({},t),{},{attributes:F(F({},t.attributes),{},{listStyle:{type:"string",default:"list-bullet-style"},listConnection:{type:"string",default:"is-style-no-connection"}}),supports:F(F({},t.supports),{},{novaBlocks:{colorSignal:{colorSignalClassname:!0,attributes:!0,controls:!0,functionalColors:!1,paletteClassname:!0,paletteVariationClassname:!1,stickySourceColor:!1}}})})}),1),Object(E.addFilter)("editor.BlockEdit","novablocks/list/list-style",R,1),Object(E.addFilter)("blocks.getSaveContent.extraProps","novablocks/list/with-save-extra-props",(function(t,e,n){return"core/list"!==e.name?t:{className:B()(t.className,H(n)),style:W(W({},t.style),$(n))}}),1),Object(E.addFilter)("editor.BlockListBlock","novablocks/list/with-edit-block-attributes",K,1);var Q=n(12),X=n(16),Y=(n(30),Object(D.createHigherOrderComponent)((function(t){return function(e){e.name;var n=e.clientId,r=Object(u.useInnerBlocks)(n),o=Object(u.useMeta)("supernova_prevent_duplicate"),i=Object(Q.a)(o,2),c=i[0],a=i[1];return"core/query"===e.name&&r.some((function(t){return"novablocks/supernova"===t.name}))?Object(L.createElement)(L.Fragment,null,Object(L.createElement)(X.InspectorAdvancedControls,null,Object(L.createElement)(I.ToggleControl,{label:Object(G.__)("Prevent duplicate posts","nova-blocks"),checked:c,onChange:function(t){a(t)}})),Object(L.createElement)(t,e)):Object(L.createElement)(t,e)}})));Object(E.addFilter)("editor.BlockEdit","novablocks/list/list-style",Y,1),Object(s.registerBlockStyle)("core/quote",{name:"large",label:"Grande"});var tt=n(7),et=function(t){return function(e){var n=e.attributes,r=e.setControlsVisibility;return Object(L.useEffect)((function(){r({"content-top-spacing":!1,"content-bottom-spacing":!1})}),[n]),Object(L.createElement)(t,e)}}((function(t){var e,n=t.attributes,r=Object(u.useSettings)(),o=(n.align,B()("wp-block-separator",t.className)),i=Object(X.useBlockProps)({className:o,style:t.style});return Object(L.createElement)("div",Object(tt.a)({},i,{dangerouslySetInnerHTML:{__html:null==r||null===(e=r.separator)||void 0===e?void 0:e.markup}}))}));function nt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function rt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nt(Object(n),!0).forEach((function(e){Object(v.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ot={colorSignal:{default:3},paletteVariation:{default:12},align:{type:"string",default:"none"}};Object(E.addFilter)("blocks.registerBlockType","novablocks/separator/alter-support",(function(t){return"core/separator"!==t.name?t:rt(rt({},t),{},{supports:rt(rt({},t.supports),{},{align:["wide","full"],novaBlocks:{colorSignal:{attributes:!0,controls:!0,functionalColors:!1,paletteClassname:!0,paletteVariationClassname:!0,colorSignalClassname:!0,stickySourceColor:!1,minColorSignal:1},spaceAndSizing:!0}}),edit:et,save:function(t){var e,n=t.className,r=(t.attributes.align,Object(a.select)("novablocks").getSettings()),o=X.useBlockProps.save({className:n});return Object(L.createElement)("div",Object(tt.a)({},o,{dangerouslySetInnerHTML:{__html:null==r||null===(e=r.separator)||void 0===e?void 0:e.markup}}))}})}),1);Object(E.addFilter)("blocks.registerBlockType","novablocks/separator/alter-attributes",(function(t){return"core/separator"!==t.name?t:rt(rt({},t),{},{attributes:rt(rt({},t.attributes),ot)})}),20);var it=function(){function t(){Object(i.a)(this,t)}return Object(c.a)(t,[{key:"initialize",value:function(t){Object(a.dispatch)("novablocks").updateSettings(t),Object(s.updateCategory)("nova-blocks",{icon:Object(u.getSvg)(g)}),ct()}}]),t}(),ct=function(){wp.data.subscribe(Object(l.debounce)((function(){var t=Object(l.getContentBlocksArray)();Object(l.cleanupBreakClasses)(),t.forEach(l.maybeAddBreakClassesToElement)}),100))};wp.novaBlocks=new it}]); -
nova-blocks/trunk/build/core/style-rtl.css
r2737140 r2744078 1 :root{--nb-spacing:24px;--nb-media-background-direction:90deg;--nb-wrapper-sides-spacings:var(--nb-spacing);--nb-transition-duration:0.5s;--nb-transition-easing:ease;--nb-transition:all var(--nb-transition-duration) var(--nb-transition-easing);--nb-spacing-base:1;--nb-spacing-modifier:1;--nb-spacing-current-multiplier:1;--nb-block-content-box-shadow:0 32px 128px rgba(42,54,52,.1),0 16px 64px rgba(42,54,52,.1),0 8px 16px rgba(42,54,52,.1)}*{--nb-bg-color:var(--sm-current-bg-color,#fff);--nb-accent-color:var(--sm-current-accent-color,#203ab6);--nb-fg1-color:var(--sm-current-fg1-color,#272743);--nb-fg2-color:var(--sm-current-fg2-color,#000043)}.novablocks-u-content-align{display:flex;position:relative;width:100%}.novablocks-u-halign-left .novablocks-u-content-align{justify-content:flex-start;text-align:right}.novablocks-u-halign-center .novablocks-u-content-align{justify-content:center;text-align:center}.novablocks-u-halign-right .novablocks-u-content-align{justify-content:flex-end;text-align:left}.novablocks-u-valign-top .novablocks-u-content-align{align-items:flex-start}.novablocks-u-valign-center .novablocks-u-content-align{align-items:center}.novablocks-u-valign-bottom .novablocks-u-content-align{align-items:flex-end}.novablocks-block{--nb-block-padding:var(--nb-spacing);--nb-block-content-padding:var(--nb-spacing)}.novablocks-media{position:relative;z-index:var(--nb-current-zindex)}.novablocks-block__content[class]{background:none;position:relative;transform:translateZ(0);transition:var(--nb-transition);transition-property:padding,box-shadow}.novablocks-block__content h1,.novablocks-block__content h2,.novablocks-block__content h3,.novablocks-block__content h4,.novablocks-block__content h5,.novablocks-block__content h6{width:100%}.novablocks-block__content:before{background-color:var(--sm-current-bg-color,var(--nb-bg-color));bottom:0;content:"";display:block;left:0;pointer-events:none;position:absolute;right:0;top:0;transition:var(--nb-transition);transition-property:background-color,opacity;z-index:-1}:root{--nb-content-padding-small:5%;--nb-content-padding-medium:10%;--nb-content-padding-large:15%}.novablocks-u-content-padding{--nb-spacing-current-multiplier:2;--nb-content-padding-top:calc(var(--nb-emphasis-top-spacing)*var(--nb-current-spacing));--nb-content-padding-bottom:calc(var(--nb-emphasis-bottom-spacing)*var(--nb-current-spacing));padding-bottom:var(--nb-content-padding-bottom);padding-top:var(--nb-content-padding-top)}.novablocks-u-content-padding>*{--nb-spacing-current-multiplier:1}:is(.wp-site-blocks,.wp-block-column,.wp-block-query,.wp-block-post-content,.wp-block-template-part,.wp-block-media-text__content,.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.block-editor-block-list__layout,.widget,.nb-list,.nb-sidecar,.nb-sidecar-area,.nb-content-layout-grid,.nb-block-spacing-container,.nb-supernova-item__inner-container,.nb-header__inner-container,.specificity.x2)>*{--nb-block-top-spacing:1;--nb-block-bottom-spacing:0;--nb-emphasis-top-spacing:0;--nb-emphasis-bottom-spacing:0;--nb-current-spacing:calc(var(--nb-spacing)*var(--nb-spacing-current-multiplier));margin-bottom:calc(var(--nb-block-bottom-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));margin-top:calc(var(--nb-block-top-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));padding-bottom:calc(var(--nb-emphasis-bottom-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));padding-top:calc(var(--nb-emphasis-top-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1))}:is(.wp-site-blocks,.wp-block-column,.wp-block-query,.wp-block-post-content,.wp-block-template-part,.wp-block-media-text__content,.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.block-editor-block-list__layout,.widget,.nb-list,.nb-sidecar,.nb-sidecar-area,.nb-content-layout-grid,.nb-block-spacing-container,.nb-supernova-item__inner-container,.nb-header__inner-container,.specificity.x2) :is(noscript,style)+*,:is(.wp-site-blocks,.wp-block-column,.wp-block-query,.wp-block-post-content,.wp-block-template-part,.wp-block-media-text__content,.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.block-editor-block-list__layout,.widget,.nb-list,.nb-sidecar,.nb-sidecar-area,.nb-content-layout-grid,.nb-block-spacing-container,.nb-supernova-item__inner-container,.nb-header__inner-container,.specificity.x2)>:first-child{--nb-block-top-spacing:0}:is(.wp-block-template-part,#specific){--nb-block-top-spacing:0}:is(.wp-block-row,.specificity.x2){gap:var(--nb-current-spacing)}.wp-block-column[class]{--nb-block-top-spacing:0}[style*="--nb-spacing-modifier"]{--nb-spacing-modifier:1;--nb-spacing-base:calc(var(--nb-spacing-current-multiplier)*var(--nb-spacing-modifier))}[style*="--nb-spacing-modifier"]>*{--nb-spacing-current-multiplier:var(--nb-spacing-base)}[style*="--nb-spacing-modifier"]>[style*="--nb-spacing-modifier"]{--nb-spacing-base:inherit}:is(h1,h2,h3,h4,h5,h6,.specificity.x2):not(:first-child){--nb-block-top-spacing:1.25}:is(h1,h2,h3,h4,h5,h6,.specificity.x2)+:is(p,ul,ol,nav){--nb-block-top-spacing:0.5}:is(h1,h2,h3,h4,h5,h6,.specificity.x2)+:is(h1,h2,h3,h4,h5,h6,.specificity.x2){--nb-block-top-spacing:0.25}.wp-block-row>.wp-block-categories-list{display:flex;flex-wrap:wrap;gap:var(--nb-current-spacing)}:root{--nb-group-padding-toggle:1}.alignleft,.alignnone,.alignright,.alignwide{--nb-group-padding-toggle:0}@media only screen and (min-width:1024px){.nb-sidecar-area{--nb-group-padding-toggle:0}}.wp-block-group[class*=sm-color-signal]:not(.sm-color-signal-0){--nb-group-padding-toggle:1}.nb-supernova-item__inner-container{--nb-group-padding-toggle:1}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.specificity.x2.x3){--nb-group-side-padding:calc(var(--nb-wrapper-sides-spacings)*var(--nb-group-padding-toggle));padding-left:var(--nb-group-side-padding);padding-right:var(--nb-group-side-padding)}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.specificity.x2.x3)>:is(.alignfull,[data-align=full]){margin-left:calc(var(--nb-group-side-padding)*-1);margin-right:calc(var(--nb-group-side-padding)*-1)}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.nb-supernova-item__inner-container,.specificity.x2.x3)>*{margin-left:auto;margin-right:auto;max-width:var(--nb-content-width)}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.nb-supernova-item__inner-container,.specificity.x2.x3)>:is(.alignwide,[data-align=wide]){max-width:var(--nb-container-width)}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.nb-supernova-item__inner-container,.specificity.x2.x3)>:is(.alignfull,[data-align=full]){max-width:none;width:auto}:is(.wp-block-group__inner-container,.specificity.x2.x3){max-width:none;padding-left:0;padding-right:0}.wp-block-group[class*=sm-color-signal]:not(.sm-color-signal-0):not(:empty){padding:calc(max(0.75 * var(--nb-wrapper-sides-spacings), var(--nb-emphasis-top-spacing) * var(--nb-current-spacing) * var(--nb-spacing-multiplier-override, 1))) var(--nb-wrapper-sides-spacings) calc(max(0.75 * var(--nb-wrapper-sides-spacings), var(--nb-emphasis-bottom-spacing) * var(--nb-current-spacing) * var(--nb-spacing-multiplier-override, 1)))}.wp-block-group:is(.is-layout-flex,.x1.x2)>*{--nb-block-top-spacing:0;--nb-block-bottom-spacing:0;--nb-emphasis-top-spacing:0;--nb-emphasis-bottom-spacing:0;margin-left:0;margin-right:0}.sm-color-signal-0:not(.alignfull):not([data-align=full])>.wp-block-group__inner-container{padding-left:0;padding-right:0}.sm-color-signal-0:not(.alignfull):not([data-align=full])>.wp-block-group__inner-container>:is(.alignfull,[data-align=full]){margin-left:0;margin-right:0}.wp-block-row{align-items:baseline}.wp-block-row--center{justify-content:center}.nb-list{--sm-current-bg-color:inherit!important;--sm-current-accent-color:inherit!important;--sm-current-fg1-color:inherit!important;--sm-current-fg2-color:inherit!important;--nb-list-bullet-color:var(--sm-current-fg1-color,var(--nb-fg1-color));--nb-list-bullet-bg-color:var(--sm-current-bg-color,var(--nb-bg-color));--nb-list-bullet-outline:0.2em;--nb-list-connection-color:var(--sm-current-accent-color,var(--nb-accent-color))}.nb-list.sm-color-signal-1{--nb-list-bullet-color:var(--sm-current-accent-color,var(--nb-accent-color))}.nb-list.sm-color-signal-2{--nb-list-bullet-color:var(--sm-current-bg-color,var(--nb-bg-color));--nb-list-bullet-bg-color:var(--sm-current-fg1-color,var(--nb-fg1-color));--nb-list-bullet-outline:0.4em}.nb-list.sm-color-signal-3{--nb-list-bullet-color:var(--sm-current-bg-color,var(--nb-bg-color));--nb-list-bullet-bg-color:var(--sm-current-accent-color,var(--nb-accent-color));--nb-list-bullet-outline:0.4em}ol.nb-list{--nb-list-counter-style:decimal-leading-zero;counter-reset:li var(--nb-list-start-at,0);font-variant-numeric:tabular-nums lining-nums;position:relative}ol.nb-list:is(.sm-color-signal-2,.sm-color-signal-3){--nb-list-counter-style:decimal}ol.nb-list li{position:relative}ol.nb-list li:after{background-color:transparent;color:var(--nb-list-bullet-color);content:counter(li,var(--nb-list-counter-style))}ol.nb-list:is(.sm-color-signal-0,.sm-color-signal-1){--nb-list-bullet-size:2ch}ol.nb-list:is(.sm-color-signal-2,.sm-color-signal-3) li:after{text-align:center}ol.nb-list>li:after{counter-increment:li}ol.nb-list>li ol{counter-reset:li 0}ol.nb-list>li ol>li:after{counter-increment:li}ol.nb-list[reversed]{counter-reset:li var(--reversed-start-at-value,var(--nb-list-items-count))}ol.nb-list[reversed][start]{--reversed-start-at-value:calc(var(--nb-list-start-at) + 2)}ol.nb-list[reversed]>li:after{counter-increment:li -1}.nb-list{--nb-list-timeline-weight:2px;--nb-list-divider-weight:1px;--nb-list-bullet-size:1.5em;--nb-list-bullet-addon:0em;--nb-list-bullet-spacing:0.4em;--nb-list-line-height:1.5em;--nb-list-decoration-gap:0.5em;--nb-list-spacing:calc(var(--nb-list-bullet-size) + var(--nb-list-decoration-gap));--nb-spacing-modifier:0.5;--nb-spacing-base:calc(var(--nb-spacing-current-multiplier)*var(--nb-spacing-modifier))}.nb-list>*{--nb-spacing-current-multiplier:var(--nb-spacing-base)}.nb-list>.nb-list{--nb-spacing-base:inherit}.nb-list[class][class]{padding-right:0}.nb-list,.nb-list *{list-style:none}.nb-list :is(ul,ol,dl,li:not(:first-child),.increased.specificity){margin-top:var(--nb-current-spacing)}.nb-list:where(.list-bullet-style,.list-checkmark-style) li{position:relative}.nb-list:where(.list-bullet-style,.list-checkmark-style) li:after,.nb-list:where(.list-bullet-style,.list-checkmark-style) li:before{border-radius:50%;content:"";display:block;height:var(--nb-list-bullet-size);line-height:var(--nb-list-bullet-size);position:absolute;right:calc(var(--nb-list-spacing)*-1);top:calc(var(--nb-list-line-height)*0.5 - var(--nb-list-bullet-size)*0.5);width:var(--nb-list-bullet-size)}.nb-list:where(.list-bullet-style,.list-checkmark-style) li:after{background-color:var(--nb-list-bullet-color)}.nb-list:where(.list-bullet-style,.list-checkmark-style) li:before{background-color:var(--nb-list-bullet-bg-color);box-shadow:0 0 0 4px var(--sm-current-bg-color,var(--nb-bg-color))}.nb-list ol,.nb-list ul,.nb-list:is(.is-style-timeline)[class],.nb-list:is(.list-bullet-style,.list-checkmark-style):not(.is-style-divider){padding-right:var(--nb-list-spacing)}.nb-list:where(.list-bullet-style,.list-checkmark-style):where(.is-style-divider) li{padding-right:var(--nb-list-spacing)}.nb-list:where(.list-bullet-style,.list-checkmark-style):where(.is-style-divider) li:after,.nb-list:where(.list-bullet-style,.list-checkmark-style):where(.is-style-divider) li:before{right:0}.nb-list:is(.is-style-divider) li:not(:last-child){border-bottom:var(--nb-list-divider-weight) solid var(--nb-list-connection-color);padding-bottom:var(--nb-current-spacing)}.nb-list:is(.is-style-timeline),.nb-list:is(.is-style-timeline) ol,.nb-list:is(.is-style-timeline) ul{position:relative}.nb-list:is(.is-style-timeline) ol:before,.nb-list:is(.is-style-timeline) ul:before,.nb-list:is(.is-style-timeline):before{background-color:var(--nb-list-connection-color);bottom:calc(var(--nb-list-line-height)*0.5);content:"";opacity:0.25;position:absolute;right:calc(var(--nb-list-bullet-size)*0.5);top:calc(var(--nb-list-line-height)*0.5);transform:translateX(50%);width:var(--nb-list-timeline-weight)}.nb-list:is(.is-style-timeline) li:last-child{box-shadow:var(--sm-current-bg-color,var(--nb-bg-color)) calc((var(--nb-list-spacing)*-1)*-1) calc(var(--nb-list-line-height)*0.5) 0 0}.nb-list:is(.is-style-timeline):where(.list-no-marker){--nb-list-bullet-size:var(--nb-list-timeline-weight)}.nb-list:is(.is-style-timeline):where(.list-no-marker):before{bottom:0;top:0}.nb-list:is(ul.list-bullet-style){--nb-list-bullet-size:0.3em}.nb-list:is(ul.list-bullet-style):is(.sm-color-signal-2,.sm-color-signal-3){--nb-list-bullet-size:0.75em}.nb-list:is(ul.list-bullet-style):is(.sm-color-signal-2,.sm-color-signal-3) li:after{transform:scale(0.4)}.nb-list:is(ul.list-checkmark-style){--nb-list-bullet-size:0.75em}.nb-list:is(ul.list-checkmark-style) li:after{-webkit-mask:url(../../packages/icons/src/svgs/tick.svg) no-repeat 50% 50%;mask:url(../../packages/icons/src/svgs/tick.svg) no-repeat 50% 50%;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}.nb-list:is(ul.list-checkmark-style):is(.sm-color-signal-2,.sm-color-signal-3){--nb-list-bullet-size:1.5em}.nb-list:is(ul.list-checkmark-style):is(.sm-color-signal-2,.sm-color-signal-3) li:after{transform:scale(0.5)}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class]){--nb-spacing-modifier:0.5;--nb-spacing-base:calc(var(--nb-spacing-current-multiplier)*var(--nb-spacing-modifier));padding-right:1.1em}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class])>*{--nb-block-top-spacing:1;--nb-block-bottom-spacing:0;--nb-emphasis-top-spacing:0;--nb-emphasis-bottom-spacing:0;--nb-current-spacing:calc(var(--nb-spacing)*var(--nb-spacing-current-multiplier));margin-bottom:calc(var(--nb-block-bottom-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));margin-top:calc(var(--nb-block-top-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));padding-bottom:calc(var(--nb-emphasis-bottom-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));padding-top:calc(var(--nb-emphasis-top-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1))}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class]) :is(noscript,style)+*,:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class])>:first-child{--nb-block-top-spacing:0}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class])>*{--nb-spacing-current-multiplier:var(--nb-spacing-base)}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class])>:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class]){--nb-spacing-base:inherit}:is(.wp-block-separator,#very.specific){background:none;border:0;color:var(--nb-bg-color)}html.is-dark :is(.wp-block-separator,#very.specific){color:var(--nb-accent-color)}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){width:auto}:root{--block-content-start:ws;--block-content-end:we;--block-wide-start:ws;--block-wide-end:we;--block-full-start:fs;--block-full-end:fe;--block-left-start:ws;--block-left-end:gs;--block-right-start:ge;--block-right-end:we;--nb-sidecar-gap:calc(var(--nb-spacing)*2);--nb-content-inset-setting:288;--nb-sidecar-sidebar-small-width:calc(var(--nb-content-inset-setting)* 1px);--nb-sidecar-sidebar-medium-width:330px;--nb-sidecar-sidebar-large-width:400px;--nb-sidecar-sidebar-left-width:var(--nb-sidecar-sidebar-small-width);--nb-sidecar-sidebar-right-width:var(--nb-sidecar-sidebar-small-width);--nb-container-width:calc(var(--nb-container-width-setting)*var(--current-font-size, 16px));--nb-content-width:calc(var(--nb-container-width) - var(--nb-sidecar-sidebar-left-width) - var(--nb-sidecar-sidebar-left-gap) - var(--nb-sidecar-sidebar-right-width) - var(--nb-sidecar-sidebar-right-gap));--nb-sidecar-sides:max(var(--nb-wrapper-sides-spacings),calc((100% - var(--nb-container-width))*0.5));--nb-actual-container-width:min(var(--nb-container-width),calc(100% - var(--nb-wrapper-sides-spacings)*2));--nb-sidecar-sidebar-left-gap:clamp(0px,var(--nb-sidecar-sidebar-left-width) * 999,var(--nb-sidecar-gap));--nb-sidecar-sidebar-left-max-width:calc(var(--nb-actual-container-width)*0.5 - var(--nb-sidecar-gap)*1.5);--nb-sidecar-content-left:calc(50% - var(--nb-sidecar-sides) - var(--nb-sidecar-sidebar-left-width) - var(--nb-sidecar-sidebar-left-gap) - var(--nb-sidecar-gap)*0.5);--nb-sidecar-sidebar-right-gap:clamp(0px,var(--nb-sidecar-sidebar-right-width) * 999,var(--nb-sidecar-gap));--nb-sidecar-sidebar-right-max-width:calc(var(--nb-actual-container-width)*0.5 - var(--nb-sidecar-gap)*1.5);--nb-sidecar-content-right:calc(50% - var(--nb-sidecar-sides) - var(--nb-sidecar-sidebar-right-width) - var(--nb-sidecar-sidebar-right-gap) - var(--nb-sidecar-gap)*0.5)}@media only screen and (min-width:1024px){:root{--block-content-start:cs;--block-content-end:ce}}.break-align-left{--block-wide-start:ws;--block-full-start:fs}.break-align-right{--block-wide-end:we;--block-full-end:fe}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova){--nb-actual-container-width:min(var(--nb-container-width),calc(100% - var(--nb-wrapper-sides-spacings)*2));--nb-sidecar-sidebar-left-gap:clamp(0px,var(--nb-sidecar-sidebar-left-width) * 999,var(--nb-sidecar-gap));--nb-sidecar-sidebar-left-max-width:calc(var(--nb-actual-container-width)*0.5 - var(--nb-sidecar-gap)*1.5);--nb-sidecar-content-left:calc(50% - var(--nb-sidecar-sides) - var(--nb-sidecar-sidebar-left-width) - var(--nb-sidecar-sidebar-left-gap) - var(--nb-sidecar-gap)*0.5);--nb-sidecar-sidebar-right-gap:clamp(0px,var(--nb-sidecar-sidebar-right-width) * 999,var(--nb-sidecar-gap));--nb-sidecar-sidebar-right-max-width:calc(var(--nb-actual-container-width)*0.5 - var(--nb-sidecar-gap)*1.5);--nb-sidecar-content-right:calc(50% - var(--nb-sidecar-sides) - var(--nb-sidecar-sidebar-right-width) - var(--nb-sidecar-sidebar-right-gap) - var(--nb-sidecar-gap)*0.5);display:grid;grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content;grid-column:fs/fe!important;grid-template-columns:[fs] var(--nb-sidecar-sides) [ws] var(--nb-sidecar-sidebar-left-width) [frs] 1fr [gs] var(--nb-sidecar-sidebar-left-gap) [cs] var(--nb-sidecar-content-left) [gcs] calc(var(--nb-sidecar-gap)/2) [cc] calc(var(--nb-sidecar-gap)/2) [gce] var(--nb-sidecar-content-right) [ce] var(--nb-sidecar-sidebar-right-gap) [ge] 1fr [fre] var(--nb-sidecar-sidebar-right-width) [we] var(--nb-sidecar-sides) [fe];max-width:none}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>.wp-block-image{align-items:center;display:flex;flex-direction:column}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:where(.wp-block)[data-align=left],:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:where(.wp-block)[data-align=right]{height:auto}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:where(.wp-block)[data-align=left]>.wp-block-image,:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:where(.wp-block)[data-align=right]>.wp-block-image{margin:0}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:not(.block-list-appender){max-width:none;width:100%}.editor-styles-wrapper :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>.wp-block{margin-left:0;margin-right:0}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>*{grid-column:var(--block-content-start)/var(--block-content-end)}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignwide,[data-align=wide]){grid-column:var(--block-wide-start)/var(--block-wide-end)}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignfull,[data-align=full]){grid-column:var(--block-full-start)/var(--block-full-end)}@media not screen and (min-width:1024px){:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova){grid-template-columns:[fs] var(--nb-wrapper-sides-spacings) [ws] auto [gs] 0 [cs] 1fr [gcs] 0 [cc] 0 [gce] 1fr [ce] 0 [ge] auto [we] var(--nb-wrapper-sides-spacings) [fe]}:where(:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova))>*{grid-column:ws/we}}@media only screen and (min-width:1024px){.nb-sidecar-area--sidebar :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova){display:block}}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left],#specific),:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right],#specific){-webkit-margin-start:0;-webkit-margin-end:0;float:none;margin-inline-end:0;margin-inline-start:0}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left]).break-align-left,:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right]).break-align-right{align-self:flex-start;grid-row-end:span 5}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left]).break-align-left{grid-column:var(--block-left-start)/var(--block-left-end)}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left]).break-align-left+:not(:is(.alignright,[data-align=right])){grid-column-start:cs}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right]).break-align-right{grid-column:var(--block-right-start)/var(--block-right-end)}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right]).break-align-right+:not(:is(.alignleft,[data-align=left])){grid-column-end:ce}@media only screen and (min-width:1024px){:is(.nb-sidecar--sidebar-left .nb-sidecar--sidebar-right,.nb-sidecar--sidebar-right .nb-sidecar--sidebar-left) :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left],.x2.specificity):not(.break-align-left){grid-column-end:gcs}:is(.nb-sidecar--sidebar-left .nb-sidecar--sidebar-right,.nb-sidecar--sidebar-right .nb-sidecar--sidebar-left) :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left],.x2.specificity):not(.break-align-left)+:not(:is(.alignright,[data-align=right])){grid-column-start:cc}:is(.nb-sidecar--sidebar-left .nb-sidecar--sidebar-right,.nb-sidecar--sidebar-right .nb-sidecar--sidebar-left) :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right],.x2.specificity):not(.break-align-right){grid-column-start:gce}:is(.nb-sidecar--sidebar-left .nb-sidecar--sidebar-right,.nb-sidecar--sidebar-right .nb-sidecar--sidebar-left) :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right],.x2.specificity):not(.break-align-right)+:not(:is(.alignleft,[data-align=left])){grid-column-end:cc}}*,:after,:before{box-sizing:border-box}.admin-bar{--admin-bar-height:32px;--admin-bar-offset:0}@media screen and (max-width:782px){.admin-bar{--admin-bar-height:46px;--admin-bar-offset:46px}}.novablocks-doppler__mask{clip:rect(0 auto auto 0);-webkit-mask-image:-webkit-linear-gradient(0deg,#fff,#fff)}.nb-supernova-item__media-aspect-ratio[class]>*{height:100%;position:absolute;right:0;top:0;width:100%}1 :root{--nb-spacing:24px;--nb-media-background-direction:90deg;--nb-wrapper-sides-spacings:var(--nb-spacing);--nb-transition-duration:0.5s;--nb-transition-easing:ease;--nb-transition:all var(--nb-transition-duration) var(--nb-transition-easing);--nb-spacing-base:1;--nb-spacing-modifier:1;--nb-spacing-current-multiplier:1;--nb-block-content-box-shadow:0 32px 128px rgba(42,54,52,.1),0 16px 64px rgba(42,54,52,.1),0 8px 16px rgba(42,54,52,.1)}*{--nb-bg-color:var(--sm-current-bg-color,#fff);--nb-accent-color:var(--sm-current-accent-color,#203ab6);--nb-fg1-color:var(--sm-current-fg1-color,#272743);--nb-fg2-color:var(--sm-current-fg2-color,#000043)}.novablocks-u-content-align{display:flex;position:relative;width:100%}.novablocks-u-halign-left .novablocks-u-content-align{justify-content:flex-start;text-align:right}.novablocks-u-halign-center .novablocks-u-content-align{justify-content:center;text-align:center}.novablocks-u-halign-right .novablocks-u-content-align{justify-content:flex-end;text-align:left}.novablocks-u-valign-top .novablocks-u-content-align{align-items:flex-start}.novablocks-u-valign-center .novablocks-u-content-align{align-items:center}.novablocks-u-valign-bottom .novablocks-u-content-align{align-items:flex-end}.novablocks-block{--nb-block-padding:var(--nb-spacing);--nb-block-content-padding:var(--nb-spacing)}.novablocks-media{position:relative;z-index:var(--nb-current-zindex)}.novablocks-block__content[class]{background:none;position:relative;transform:translateZ(0);transition:var(--nb-transition);transition-property:padding,box-shadow}.novablocks-block__content h1,.novablocks-block__content h2,.novablocks-block__content h3,.novablocks-block__content h4,.novablocks-block__content h5,.novablocks-block__content h6{width:100%}.novablocks-block__content:before{background-color:var(--sm-current-bg-color,var(--nb-bg-color));bottom:0;content:"";display:block;left:0;pointer-events:none;position:absolute;right:0;top:0;transition:var(--nb-transition);transition-property:background-color,opacity;z-index:-1}:root{--nb-content-padding-small:5%;--nb-content-padding-medium:10%;--nb-content-padding-large:15%}.novablocks-u-content-padding{--nb-spacing-current-multiplier:2;--nb-content-padding-top:calc(var(--nb-emphasis-top-spacing)*var(--nb-current-spacing));--nb-content-padding-bottom:calc(var(--nb-emphasis-bottom-spacing)*var(--nb-current-spacing));padding-bottom:var(--nb-content-padding-bottom);padding-top:var(--nb-content-padding-top)}.novablocks-u-content-padding>*{--nb-spacing-current-multiplier:1}:is(.wp-site-blocks,.wp-block-column,.wp-block-query,.wp-block-post-content,.wp-block-template-part,.wp-block-media-text__content,.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.block-editor-block-list__layout,.widget,.nb-list,.nb-sidecar,.nb-sidecar-area,.nb-content-layout-grid,.nb-block-spacing-container,.nb-supernova-item__inner-container,.nb-header__inner-container,.specificity.x2)>*{--nb-block-top-spacing:1;--nb-block-bottom-spacing:0;--nb-emphasis-top-spacing:0;--nb-emphasis-bottom-spacing:0;--nb-current-spacing:calc(var(--nb-spacing)*var(--nb-spacing-current-multiplier));margin-bottom:calc(var(--nb-block-bottom-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));margin-top:calc(var(--nb-block-top-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));padding-bottom:calc(var(--nb-emphasis-bottom-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));padding-top:calc(var(--nb-emphasis-top-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1))}:is(.wp-site-blocks,.wp-block-column,.wp-block-query,.wp-block-post-content,.wp-block-template-part,.wp-block-media-text__content,.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.block-editor-block-list__layout,.widget,.nb-list,.nb-sidecar,.nb-sidecar-area,.nb-content-layout-grid,.nb-block-spacing-container,.nb-supernova-item__inner-container,.nb-header__inner-container,.specificity.x2) :is(noscript,style)+*,:is(.wp-site-blocks,.wp-block-column,.wp-block-query,.wp-block-post-content,.wp-block-template-part,.wp-block-media-text__content,.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.block-editor-block-list__layout,.widget,.nb-list,.nb-sidecar,.nb-sidecar-area,.nb-content-layout-grid,.nb-block-spacing-container,.nb-supernova-item__inner-container,.nb-header__inner-container,.specificity.x2)>:first-child{--nb-block-top-spacing:0}:is(.wp-block-template-part,#specific){--nb-block-top-spacing:0}:is(.wp-block-row,.specificity.x2){gap:var(--nb-current-spacing)}.wp-block-column[class]{--nb-block-top-spacing:0}[style*="--nb-spacing-modifier"]{--nb-spacing-modifier:1;--nb-spacing-base:calc(var(--nb-spacing-current-multiplier)*var(--nb-spacing-modifier))}[style*="--nb-spacing-modifier"]>*{--nb-spacing-current-multiplier:var(--nb-spacing-base)}[style*="--nb-spacing-modifier"]>[style*="--nb-spacing-modifier"]{--nb-spacing-base:inherit}:is(h1,h2,h3,h4,h5,h6,.specificity.x2):not(:first-child){--nb-block-top-spacing:1.25}:is(h1,h2,h3,h4,h5,h6,.specificity.x2)+:is(p,ul,ol,nav){--nb-block-top-spacing:0.5}:is(h1,h2,h3,h4,h5,h6,.specificity.x2)+:is(h1,h2,h3,h4,h5,h6,.specificity.x2){--nb-block-top-spacing:0.25}.wp-block-row>.wp-block-categories-list{display:flex;flex-wrap:wrap;gap:var(--nb-current-spacing)}:root{--nb-group-padding-toggle:1}.alignleft,.alignnone,.alignright,.alignwide{--nb-group-padding-toggle:0}@media only screen and (min-width:1024px){.nb-sidecar-area{--nb-group-padding-toggle:0}}.wp-block-group[class*=sm-color-signal]:not(.sm-color-signal-0){--nb-group-padding-toggle:1}.nb-supernova-item__inner-container{--nb-group-padding-toggle:1}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.specificity.x2.x3){--nb-group-side-padding:calc(var(--nb-wrapper-sides-spacings)*var(--nb-group-padding-toggle));padding-left:var(--nb-group-side-padding);padding-right:var(--nb-group-side-padding)}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.specificity.x2.x3)>:is(.alignfull,[data-align=full]){margin-left:calc(var(--nb-group-side-padding)*-1);margin-right:calc(var(--nb-group-side-padding)*-1)}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.nb-supernova-item__inner-container,.specificity.x2.x3)>*{margin-left:auto;margin-right:auto;max-width:var(--nb-content-width)}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.nb-supernova-item__inner-container,.specificity.x2.x3)>:is(.alignwide,[data-align=wide]){max-width:var(--nb-container-width)}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.nb-supernova-item__inner-container,.specificity.x2.x3)>:is(.alignfull,[data-align=full]){max-width:none;width:auto}:is(.wp-block-group__inner-container,.specificity.x2.x3){max-width:none;padding-left:0;padding-right:0}.wp-block-group[class*=sm-color-signal]:not(.sm-color-signal-0):not(:empty){padding:calc(max(0.75 * var(--nb-wrapper-sides-spacings), var(--nb-emphasis-top-spacing) * var(--nb-current-spacing) * var(--nb-spacing-multiplier-override, 1))) var(--nb-wrapper-sides-spacings) calc(max(0.75 * var(--nb-wrapper-sides-spacings), var(--nb-emphasis-bottom-spacing) * var(--nb-current-spacing) * var(--nb-spacing-multiplier-override, 1)))}.wp-block-group:is(.is-layout-flex,.x1.x2)>*{--nb-block-top-spacing:0;--nb-block-bottom-spacing:0;--nb-emphasis-top-spacing:0;--nb-emphasis-bottom-spacing:0;margin-left:0;margin-right:0}.sm-color-signal-0:not(.alignfull):not([data-align=full])>.wp-block-group__inner-container{padding-left:0;padding-right:0}.sm-color-signal-0:not(.alignfull):not([data-align=full])>.wp-block-group__inner-container>:is(.alignfull,[data-align=full]){margin-left:0;margin-right:0}.wp-block-row{align-items:baseline}.wp-block-row--center{justify-content:center}.nb-list{--sm-current-bg-color:inherit!important;--sm-current-accent-color:inherit!important;--sm-current-fg1-color:inherit!important;--sm-current-fg2-color:inherit!important;--nb-list-bullet-color:var(--sm-current-fg1-color,var(--nb-fg1-color));--nb-list-bullet-bg-color:var(--sm-current-bg-color,var(--nb-bg-color));--nb-list-bullet-outline:0.2em;--nb-list-connection-color:var(--sm-current-accent-color,var(--nb-accent-color))}.nb-list.sm-color-signal-1{--nb-list-bullet-color:var(--sm-current-accent-color,var(--nb-accent-color))}.nb-list.sm-color-signal-2{--nb-list-bullet-color:var(--sm-current-bg-color,var(--nb-bg-color));--nb-list-bullet-bg-color:var(--sm-current-fg1-color,var(--nb-fg1-color));--nb-list-bullet-outline:0.4em}.nb-list.sm-color-signal-3{--nb-list-bullet-color:var(--sm-current-bg-color,var(--nb-bg-color));--nb-list-bullet-bg-color:var(--sm-current-accent-color,var(--nb-accent-color));--nb-list-bullet-outline:0.4em}ol.nb-list{--nb-list-counter-style:decimal-leading-zero;counter-reset:li var(--nb-list-start-at,0);font-variant-numeric:tabular-nums lining-nums;position:relative}ol.nb-list:is(.sm-color-signal-2,.sm-color-signal-3){--nb-list-counter-style:decimal}ol.nb-list li{position:relative}ol.nb-list li:after{background-color:transparent;color:var(--nb-list-bullet-color);content:counter(li,var(--nb-list-counter-style))}ol.nb-list:is(.sm-color-signal-0,.sm-color-signal-1){--nb-list-bullet-size:2ch}ol.nb-list:is(.sm-color-signal-2,.sm-color-signal-3) li:after{text-align:center}ol.nb-list>li:after{counter-increment:li}ol.nb-list>li ol{counter-reset:li 0}ol.nb-list>li ol>li:after{counter-increment:li}ol.nb-list[reversed]{counter-reset:li var(--reversed-start-at-value,var(--nb-list-items-count))}ol.nb-list[reversed][start]{--reversed-start-at-value:calc(var(--nb-list-start-at) + 2)}ol.nb-list[reversed]>li:after{counter-increment:li -1}.nb-list{--nb-list-timeline-weight:2px;--nb-list-divider-weight:1px;--nb-list-bullet-size:1.5em;--nb-list-bullet-addon:0em;--nb-list-bullet-spacing:0.4em;--nb-list-line-height:1.5em;--nb-list-decoration-gap:0.5em;--nb-list-spacing:calc(var(--nb-list-bullet-size) + var(--nb-list-decoration-gap));--nb-spacing-modifier:0.5;--nb-spacing-base:calc(var(--nb-spacing-current-multiplier)*var(--nb-spacing-modifier))}.nb-list>*{--nb-spacing-current-multiplier:var(--nb-spacing-base)}.nb-list>.nb-list{--nb-spacing-base:inherit}.nb-list[class][class]{padding-right:0}.nb-list,.nb-list *{list-style:none}.nb-list :is(ul,ol,dl,li:not(:first-child),.increased.specificity){margin-top:var(--nb-current-spacing)}.nb-list:where(.list-bullet-style,.list-checkmark-style) li{position:relative}.nb-list:where(.list-bullet-style,.list-checkmark-style) li:after,.nb-list:where(.list-bullet-style,.list-checkmark-style) li:before{border-radius:50%;content:"";display:block;height:var(--nb-list-bullet-size);line-height:var(--nb-list-bullet-size);position:absolute;right:calc(var(--nb-list-spacing)*-1);top:calc(var(--nb-list-line-height)*0.5 - var(--nb-list-bullet-size)*0.5);width:var(--nb-list-bullet-size)}.nb-list:where(.list-bullet-style,.list-checkmark-style) li:after{background-color:var(--nb-list-bullet-color)}.nb-list:where(.list-bullet-style,.list-checkmark-style) li:before{background-color:var(--nb-list-bullet-bg-color);box-shadow:0 0 0 4px var(--sm-current-bg-color,var(--nb-bg-color))}.nb-list ol,.nb-list ul,.nb-list:is(.is-style-timeline)[class],.nb-list:is(.list-bullet-style,.list-checkmark-style):not(.is-style-divider){padding-right:var(--nb-list-spacing)}.nb-list:where(.list-bullet-style,.list-checkmark-style):where(.is-style-divider) li{padding-right:var(--nb-list-spacing)}.nb-list:where(.list-bullet-style,.list-checkmark-style):where(.is-style-divider) li:after,.nb-list:where(.list-bullet-style,.list-checkmark-style):where(.is-style-divider) li:before{right:0}.nb-list:is(.is-style-divider) li:not(:last-child){border-bottom:var(--nb-list-divider-weight) solid var(--nb-list-connection-color);padding-bottom:var(--nb-current-spacing)}.nb-list:is(.is-style-timeline),.nb-list:is(.is-style-timeline) ol,.nb-list:is(.is-style-timeline) ul{position:relative}.nb-list:is(.is-style-timeline) ol:before,.nb-list:is(.is-style-timeline) ul:before,.nb-list:is(.is-style-timeline):before{background-color:var(--nb-list-connection-color);bottom:calc(var(--nb-list-line-height)*0.5);content:"";opacity:0.25;position:absolute;right:calc(var(--nb-list-bullet-size)*0.5);top:calc(var(--nb-list-line-height)*0.5);transform:translateX(50%);width:var(--nb-list-timeline-weight)}.nb-list:is(.is-style-timeline) li:last-child{box-shadow:var(--sm-current-bg-color,var(--nb-bg-color)) calc((var(--nb-list-spacing)*-1)*-1) calc(var(--nb-list-line-height)*0.5) 0 0}.nb-list:is(.is-style-timeline):where(.list-no-marker){--nb-list-bullet-size:var(--nb-list-timeline-weight)}.nb-list:is(.is-style-timeline):where(.list-no-marker):before{bottom:0;top:0}.nb-list:is(ul.list-bullet-style){--nb-list-bullet-size:0.3em}.nb-list:is(ul.list-bullet-style):is(.sm-color-signal-2,.sm-color-signal-3){--nb-list-bullet-size:0.75em}.nb-list:is(ul.list-bullet-style):is(.sm-color-signal-2,.sm-color-signal-3) li:after{transform:scale(0.4)}.nb-list:is(ul.list-checkmark-style){--nb-list-bullet-size:0.75em}.nb-list:is(ul.list-checkmark-style) li:after{-webkit-mask:url(../../packages/icons/src/svgs/tick.svg) no-repeat 50% 50%;mask:url(../../packages/icons/src/svgs/tick.svg) no-repeat 50% 50%;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}.nb-list:is(ul.list-checkmark-style):is(.sm-color-signal-2,.sm-color-signal-3){--nb-list-bullet-size:1.5em}.nb-list:is(ul.list-checkmark-style):is(.sm-color-signal-2,.sm-color-signal-3) li:after{transform:scale(0.5)}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class]){--nb-spacing-modifier:0.5;--nb-spacing-base:calc(var(--nb-spacing-current-multiplier)*var(--nb-spacing-modifier));padding-right:1.1em}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class])>*{--nb-block-top-spacing:1;--nb-block-bottom-spacing:0;--nb-emphasis-top-spacing:0;--nb-emphasis-bottom-spacing:0;--nb-current-spacing:calc(var(--nb-spacing)*var(--nb-spacing-current-multiplier));margin-bottom:calc(var(--nb-block-bottom-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));margin-top:calc(var(--nb-block-top-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));padding-bottom:calc(var(--nb-emphasis-bottom-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));padding-top:calc(var(--nb-emphasis-top-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1))}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class]) :is(noscript,style)+*,:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class])>:first-child{--nb-block-top-spacing:0}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class])>*{--nb-spacing-current-multiplier:var(--nb-spacing-base)}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class])>:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class]){--nb-spacing-base:inherit}:is(.wp-block-separator,#very.specific){background:none;border:0;color:var(--nb-bg-color)}html.is-dark :is(.wp-block-separator,#very.specific){color:var(--nb-accent-color)}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){width:auto}:root{--block-content-start:ws;--block-content-end:we;--block-wide-start:ws;--block-wide-end:we;--block-full-start:fs;--block-full-end:fe;--block-left-start:ws;--block-left-end:gs;--block-right-start:ge;--block-right-end:we;--nb-sidecar-gap:calc(var(--nb-spacing)*2);--nb-content-inset-setting:288;--nb-sidecar-sidebar-small-width:calc(var(--nb-content-inset-setting)*var(--theme-body-final-font-size, 16px)/16);--nb-sidecar-sidebar-medium-width:calc(var(--theme-body-final-font-size, 16px)*330/16);--nb-sidecar-sidebar-large-width:calc(var(--theme-body-final-font-size, 16px)*400/16);--nb-sidecar-sidebar-left-width:var(--nb-sidecar-sidebar-small-width);--nb-sidecar-sidebar-right-width:var(--nb-sidecar-sidebar-small-width);--nb-container-width:calc(var(--nb-container-width-setting)*var(--current-font-size, 16px));--nb-content-width:calc(var(--nb-container-width) - var(--nb-sidecar-sidebar-left-width) - var(--nb-sidecar-sidebar-left-gap) - var(--nb-sidecar-sidebar-right-width) - var(--nb-sidecar-sidebar-right-gap));--nb-sidecar-sides:max(var(--nb-wrapper-sides-spacings),calc((100% - var(--nb-container-width))*0.5));--nb-actual-container-width:min(var(--nb-container-width),calc(100% - var(--nb-wrapper-sides-spacings)*2));--nb-sidecar-sidebar-left-gap:clamp(0px,var(--nb-sidecar-sidebar-left-width) * 999,var(--nb-sidecar-gap));--nb-sidecar-sidebar-left-max-width:calc(var(--nb-actual-container-width)*0.5 - var(--nb-sidecar-gap)*1.5);--nb-sidecar-content-left:calc(50% - var(--nb-sidecar-sides) - var(--nb-sidecar-sidebar-left-width) - var(--nb-sidecar-sidebar-left-gap) - var(--nb-sidecar-gap)*0.5);--nb-sidecar-sidebar-right-gap:clamp(0px,var(--nb-sidecar-sidebar-right-width) * 999,var(--nb-sidecar-gap));--nb-sidecar-sidebar-right-max-width:calc(var(--nb-actual-container-width)*0.5 - var(--nb-sidecar-gap)*1.5);--nb-sidecar-content-right:calc(50% - var(--nb-sidecar-sides) - var(--nb-sidecar-sidebar-right-width) - var(--nb-sidecar-sidebar-right-gap) - var(--nb-sidecar-gap)*0.5)}@media only screen and (min-width:1024px){:root{--block-content-start:cs;--block-content-end:ce}}.break-align-left{--block-wide-start:ws;--block-full-start:fs}.break-align-right{--block-wide-end:we;--block-full-end:fe}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova){--nb-actual-container-width:min(var(--nb-container-width),calc(100% - var(--nb-wrapper-sides-spacings)*2));--nb-sidecar-sidebar-left-gap:clamp(0px,var(--nb-sidecar-sidebar-left-width) * 999,var(--nb-sidecar-gap));--nb-sidecar-sidebar-left-max-width:calc(var(--nb-actual-container-width)*0.5 - var(--nb-sidecar-gap)*1.5);--nb-sidecar-content-left:calc(50% - var(--nb-sidecar-sides) - var(--nb-sidecar-sidebar-left-width) - var(--nb-sidecar-sidebar-left-gap) - var(--nb-sidecar-gap)*0.5);--nb-sidecar-sidebar-right-gap:clamp(0px,var(--nb-sidecar-sidebar-right-width) * 999,var(--nb-sidecar-gap));--nb-sidecar-sidebar-right-max-width:calc(var(--nb-actual-container-width)*0.5 - var(--nb-sidecar-gap)*1.5);--nb-sidecar-content-right:calc(50% - var(--nb-sidecar-sides) - var(--nb-sidecar-sidebar-right-width) - var(--nb-sidecar-sidebar-right-gap) - var(--nb-sidecar-gap)*0.5);display:grid;grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content;grid-column:fs/fe!important;grid-template-columns:[fs] var(--nb-sidecar-sides) [ws] var(--nb-sidecar-sidebar-left-width) [frs] 1fr [gs] var(--nb-sidecar-sidebar-left-gap) [cs] var(--nb-sidecar-content-left) [gcs] calc(var(--nb-sidecar-gap)/2) [cc] calc(var(--nb-sidecar-gap)/2) [gce] var(--nb-sidecar-content-right) [ce] var(--nb-sidecar-sidebar-right-gap) [ge] 1fr [fre] var(--nb-sidecar-sidebar-right-width) [we] var(--nb-sidecar-sides) [fe];max-width:none}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>.wp-block-image{align-items:center;display:flex;flex-direction:column}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:where(.wp-block)[data-align=left],:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:where(.wp-block)[data-align=right]{height:auto}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:where(.wp-block)[data-align=left]>.wp-block-image,:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:where(.wp-block)[data-align=right]>.wp-block-image{margin:0}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:not(.block-list-appender){max-width:none;width:100%}.editor-styles-wrapper :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>.wp-block{margin-left:0;margin-right:0}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>*{grid-column:var(--block-content-start)/var(--block-content-end)}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignwide,[data-align=wide]){grid-column:var(--block-wide-start)/var(--block-wide-end)}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignfull,[data-align=full]){grid-column:var(--block-full-start)/var(--block-full-end)}@media not screen and (min-width:1024px){:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova){grid-template-columns:[fs] var(--nb-wrapper-sides-spacings) [ws] auto [gs] 0 [cs] 1fr [gcs] 0 [cc] 0 [gce] 1fr [ce] 0 [ge] auto [we] var(--nb-wrapper-sides-spacings) [fe]}:where(:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova))>*{grid-column:ws/we}}@media only screen and (min-width:1024px){.nb-sidecar-area--sidebar :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova){display:block}}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left],#specific),:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right],#specific){-webkit-margin-start:0;-webkit-margin-end:0;float:none;margin-inline-end:0;margin-inline-start:0}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left]).break-align-left,:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right]).break-align-right{align-self:flex-start;grid-row-end:span 5}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left]).break-align-left{grid-column:var(--block-left-start)/var(--block-left-end)}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left]).break-align-left+:not(:is(.alignright,[data-align=right])){grid-column-start:cs}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right]).break-align-right{grid-column:var(--block-right-start)/var(--block-right-end)}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right]).break-align-right+:not(:is(.alignleft,[data-align=left])){grid-column-end:ce}@media only screen and (min-width:1024px){:is(.nb-sidecar--sidebar-left .nb-sidecar--sidebar-right,.nb-sidecar--sidebar-right .nb-sidecar--sidebar-left) :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left],.x2.specificity):not(.break-align-left){grid-column-end:gcs}:is(.nb-sidecar--sidebar-left .nb-sidecar--sidebar-right,.nb-sidecar--sidebar-right .nb-sidecar--sidebar-left) :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left],.x2.specificity):not(.break-align-left)+:not(:is(.alignright,[data-align=right])){grid-column-start:cc}:is(.nb-sidecar--sidebar-left .nb-sidecar--sidebar-right,.nb-sidecar--sidebar-right .nb-sidecar--sidebar-left) :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right],.x2.specificity):not(.break-align-right){grid-column-start:gce}:is(.nb-sidecar--sidebar-left .nb-sidecar--sidebar-right,.nb-sidecar--sidebar-right .nb-sidecar--sidebar-left) :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right],.x2.specificity):not(.break-align-right)+:not(:is(.alignleft,[data-align=left])){grid-column-end:cc}}*,:after,:before{box-sizing:border-box}.admin-bar{--admin-bar-height:32px;--admin-bar-offset:0}@media screen and (max-width:782px){.admin-bar{--admin-bar-height:46px;--admin-bar-offset:46px}}.novablocks-doppler__mask{clip:rect(0 auto auto 0);-webkit-mask-image:-webkit-linear-gradient(0deg,#fff,#fff)}.nb-supernova-item__media-aspect-ratio[class]>*{height:100%;position:absolute;right:0;top:0;width:100%} -
nova-blocks/trunk/build/core/style.css
r2737140 r2744078 1 :root{--nb-spacing:24px;--nb-media-background-direction:90deg;--nb-wrapper-sides-spacings:var(--nb-spacing);--nb-transition-duration:0.5s;--nb-transition-easing:ease;--nb-transition:all var(--nb-transition-duration) var(--nb-transition-easing);--nb-spacing-base:1;--nb-spacing-modifier:1;--nb-spacing-current-multiplier:1;--nb-block-content-box-shadow:0 32px 128px rgba(42,54,52,.1),0 16px 64px rgba(42,54,52,.1),0 8px 16px rgba(42,54,52,.1)}*{--nb-bg-color:var(--sm-current-bg-color,#fff);--nb-accent-color:var(--sm-current-accent-color,#203ab6);--nb-fg1-color:var(--sm-current-fg1-color,#272743);--nb-fg2-color:var(--sm-current-fg2-color,#000043)}.novablocks-u-content-align{display:flex;position:relative;width:100%}.novablocks-u-halign-left .novablocks-u-content-align{justify-content:flex-start;text-align:left}.novablocks-u-halign-center .novablocks-u-content-align{justify-content:center;text-align:center}.novablocks-u-halign-right .novablocks-u-content-align{justify-content:flex-end;text-align:right}.novablocks-u-valign-top .novablocks-u-content-align{align-items:flex-start}.novablocks-u-valign-center .novablocks-u-content-align{align-items:center}.novablocks-u-valign-bottom .novablocks-u-content-align{align-items:flex-end}.novablocks-block{--nb-block-padding:var(--nb-spacing);--nb-block-content-padding:var(--nb-spacing)}.novablocks-media{position:relative;z-index:var(--nb-current-zindex)}.novablocks-block__content[class]{background:none;position:relative;transform:translateZ(0);transition:var(--nb-transition);transition-property:padding,box-shadow}.novablocks-block__content h1,.novablocks-block__content h2,.novablocks-block__content h3,.novablocks-block__content h4,.novablocks-block__content h5,.novablocks-block__content h6{width:100%}.novablocks-block__content:before{background-color:var(--sm-current-bg-color,var(--nb-bg-color));bottom:0;content:"";display:block;left:0;pointer-events:none;position:absolute;right:0;top:0;transition:var(--nb-transition);transition-property:background-color,opacity;z-index:-1}:root{--nb-content-padding-small:5%;--nb-content-padding-medium:10%;--nb-content-padding-large:15%}.novablocks-u-content-padding{--nb-spacing-current-multiplier:2;--nb-content-padding-top:calc(var(--nb-emphasis-top-spacing)*var(--nb-current-spacing));--nb-content-padding-bottom:calc(var(--nb-emphasis-bottom-spacing)*var(--nb-current-spacing));padding-bottom:var(--nb-content-padding-bottom);padding-top:var(--nb-content-padding-top)}.novablocks-u-content-padding>*{--nb-spacing-current-multiplier:1}:is(.wp-site-blocks,.wp-block-column,.wp-block-query,.wp-block-post-content,.wp-block-template-part,.wp-block-media-text__content,.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.block-editor-block-list__layout,.widget,.nb-list,.nb-sidecar,.nb-sidecar-area,.nb-content-layout-grid,.nb-block-spacing-container,.nb-supernova-item__inner-container,.nb-header__inner-container,.specificity.x2)>*{--nb-block-top-spacing:1;--nb-block-bottom-spacing:0;--nb-emphasis-top-spacing:0;--nb-emphasis-bottom-spacing:0;--nb-current-spacing:calc(var(--nb-spacing)*var(--nb-spacing-current-multiplier));margin-bottom:calc(var(--nb-block-bottom-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));margin-top:calc(var(--nb-block-top-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));padding-bottom:calc(var(--nb-emphasis-bottom-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));padding-top:calc(var(--nb-emphasis-top-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1))}:is(.wp-site-blocks,.wp-block-column,.wp-block-query,.wp-block-post-content,.wp-block-template-part,.wp-block-media-text__content,.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.block-editor-block-list__layout,.widget,.nb-list,.nb-sidecar,.nb-sidecar-area,.nb-content-layout-grid,.nb-block-spacing-container,.nb-supernova-item__inner-container,.nb-header__inner-container,.specificity.x2) :is(noscript,style)+*,:is(.wp-site-blocks,.wp-block-column,.wp-block-query,.wp-block-post-content,.wp-block-template-part,.wp-block-media-text__content,.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.block-editor-block-list__layout,.widget,.nb-list,.nb-sidecar,.nb-sidecar-area,.nb-content-layout-grid,.nb-block-spacing-container,.nb-supernova-item__inner-container,.nb-header__inner-container,.specificity.x2)>:first-child{--nb-block-top-spacing:0}:is(.wp-block-template-part,#specific){--nb-block-top-spacing:0}:is(.wp-block-row,.specificity.x2){gap:var(--nb-current-spacing)}.wp-block-column[class]{--nb-block-top-spacing:0}[style*="--nb-spacing-modifier"]{--nb-spacing-modifier:1;--nb-spacing-base:calc(var(--nb-spacing-current-multiplier)*var(--nb-spacing-modifier))}[style*="--nb-spacing-modifier"]>*{--nb-spacing-current-multiplier:var(--nb-spacing-base)}[style*="--nb-spacing-modifier"]>[style*="--nb-spacing-modifier"]{--nb-spacing-base:inherit}:is(h1,h2,h3,h4,h5,h6,.specificity.x2):not(:first-child){--nb-block-top-spacing:1.25}:is(h1,h2,h3,h4,h5,h6,.specificity.x2)+:is(p,ul,ol,nav){--nb-block-top-spacing:0.5}:is(h1,h2,h3,h4,h5,h6,.specificity.x2)+:is(h1,h2,h3,h4,h5,h6,.specificity.x2){--nb-block-top-spacing:0.25}.wp-block-row>.wp-block-categories-list{display:flex;flex-wrap:wrap;gap:var(--nb-current-spacing)}:root{--nb-group-padding-toggle:1}.alignleft,.alignnone,.alignright,.alignwide{--nb-group-padding-toggle:0}@media only screen and (min-width:1024px){.nb-sidecar-area{--nb-group-padding-toggle:0}}.wp-block-group[class*=sm-color-signal]:not(.sm-color-signal-0){--nb-group-padding-toggle:1}.nb-supernova-item__inner-container{--nb-group-padding-toggle:1}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.specificity.x2.x3){--nb-group-side-padding:calc(var(--nb-wrapper-sides-spacings)*var(--nb-group-padding-toggle));padding-left:var(--nb-group-side-padding);padding-right:var(--nb-group-side-padding)}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.specificity.x2.x3)>:is(.alignfull,[data-align=full]){margin-left:calc(var(--nb-group-side-padding)*-1);margin-right:calc(var(--nb-group-side-padding)*-1)}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.nb-supernova-item__inner-container,.specificity.x2.x3)>*{margin-left:auto;margin-right:auto;max-width:var(--nb-content-width)}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.nb-supernova-item__inner-container,.specificity.x2.x3)>:is(.alignwide,[data-align=wide]){max-width:var(--nb-container-width)}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.nb-supernova-item__inner-container,.specificity.x2.x3)>:is(.alignfull,[data-align=full]){max-width:none;width:auto}:is(.wp-block-group__inner-container,.specificity.x2.x3){max-width:none;padding-left:0;padding-right:0}.wp-block-group[class*=sm-color-signal]:not(.sm-color-signal-0):not(:empty){padding:calc(max(0.75 * var(--nb-wrapper-sides-spacings), var(--nb-emphasis-top-spacing) * var(--nb-current-spacing) * var(--nb-spacing-multiplier-override, 1))) var(--nb-wrapper-sides-spacings) calc(max(0.75 * var(--nb-wrapper-sides-spacings), var(--nb-emphasis-bottom-spacing) * var(--nb-current-spacing) * var(--nb-spacing-multiplier-override, 1)))}.wp-block-group:is(.is-layout-flex,.x1.x2)>*{--nb-block-top-spacing:0;--nb-block-bottom-spacing:0;--nb-emphasis-top-spacing:0;--nb-emphasis-bottom-spacing:0;margin-left:0;margin-right:0}.sm-color-signal-0:not(.alignfull):not([data-align=full])>.wp-block-group__inner-container{padding-left:0;padding-right:0}.sm-color-signal-0:not(.alignfull):not([data-align=full])>.wp-block-group__inner-container>:is(.alignfull,[data-align=full]){margin-left:0;margin-right:0}.wp-block-row{align-items:baseline}.wp-block-row--center{justify-content:center}.nb-list{--sm-current-bg-color:inherit!important;--sm-current-accent-color:inherit!important;--sm-current-fg1-color:inherit!important;--sm-current-fg2-color:inherit!important;--nb-list-bullet-color:var(--sm-current-fg1-color,var(--nb-fg1-color));--nb-list-bullet-bg-color:var(--sm-current-bg-color,var(--nb-bg-color));--nb-list-bullet-outline:0.2em;--nb-list-connection-color:var(--sm-current-accent-color,var(--nb-accent-color))}.nb-list.sm-color-signal-1{--nb-list-bullet-color:var(--sm-current-accent-color,var(--nb-accent-color))}.nb-list.sm-color-signal-2{--nb-list-bullet-color:var(--sm-current-bg-color,var(--nb-bg-color));--nb-list-bullet-bg-color:var(--sm-current-fg1-color,var(--nb-fg1-color));--nb-list-bullet-outline:0.4em}.nb-list.sm-color-signal-3{--nb-list-bullet-color:var(--sm-current-bg-color,var(--nb-bg-color));--nb-list-bullet-bg-color:var(--sm-current-accent-color,var(--nb-accent-color));--nb-list-bullet-outline:0.4em}ol.nb-list{--nb-list-counter-style:decimal-leading-zero;counter-reset:li var(--nb-list-start-at,0);font-variant-numeric:tabular-nums lining-nums;position:relative}ol.nb-list:is(.sm-color-signal-2,.sm-color-signal-3){--nb-list-counter-style:decimal}ol.nb-list li{position:relative}ol.nb-list li:after{background-color:transparent;color:var(--nb-list-bullet-color);content:counter(li,var(--nb-list-counter-style))}ol.nb-list:is(.sm-color-signal-0,.sm-color-signal-1){--nb-list-bullet-size:2ch}ol.nb-list:is(.sm-color-signal-2,.sm-color-signal-3) li:after{text-align:center}ol.nb-list>li:after{counter-increment:li}ol.nb-list>li ol{counter-reset:li 0}ol.nb-list>li ol>li:after{counter-increment:li}ol.nb-list[reversed]{counter-reset:li var(--reversed-start-at-value,var(--nb-list-items-count))}ol.nb-list[reversed][start]{--reversed-start-at-value:calc(var(--nb-list-start-at) + 2)}ol.nb-list[reversed]>li:after{counter-increment:li -1}.nb-list{--nb-list-timeline-weight:2px;--nb-list-divider-weight:1px;--nb-list-bullet-size:1.5em;--nb-list-bullet-addon:0em;--nb-list-bullet-spacing:0.4em;--nb-list-line-height:1.5em;--nb-list-decoration-gap:0.5em;--nb-list-spacing:calc(var(--nb-list-bullet-size) + var(--nb-list-decoration-gap));--nb-spacing-modifier:0.5;--nb-spacing-base:calc(var(--nb-spacing-current-multiplier)*var(--nb-spacing-modifier))}.nb-list>*{--nb-spacing-current-multiplier:var(--nb-spacing-base)}.nb-list>.nb-list{--nb-spacing-base:inherit}.nb-list[class][class]{padding-left:0}.nb-list,.nb-list *{list-style:none}.nb-list :is(ul,ol,dl,li:not(:first-child),.increased.specificity){margin-top:var(--nb-current-spacing)}.nb-list:where(.list-bullet-style,.list-checkmark-style) li{position:relative}.nb-list:where(.list-bullet-style,.list-checkmark-style) li:after,.nb-list:where(.list-bullet-style,.list-checkmark-style) li:before{border-radius:50%;content:"";display:block;height:var(--nb-list-bullet-size);left:calc(var(--nb-list-spacing)*-1);line-height:var(--nb-list-bullet-size);position:absolute;top:calc(var(--nb-list-line-height)*0.5 - var(--nb-list-bullet-size)*0.5);width:var(--nb-list-bullet-size)}.nb-list:where(.list-bullet-style,.list-checkmark-style) li:after{background-color:var(--nb-list-bullet-color)}.nb-list:where(.list-bullet-style,.list-checkmark-style) li:before{background-color:var(--nb-list-bullet-bg-color);box-shadow:0 0 0 4px var(--sm-current-bg-color,var(--nb-bg-color))}.nb-list ol,.nb-list ul,.nb-list:is(.is-style-timeline)[class],.nb-list:is(.list-bullet-style,.list-checkmark-style):not(.is-style-divider){padding-left:var(--nb-list-spacing)}.nb-list:where(.list-bullet-style,.list-checkmark-style):where(.is-style-divider) li{padding-left:var(--nb-list-spacing)}.nb-list:where(.list-bullet-style,.list-checkmark-style):where(.is-style-divider) li:after,.nb-list:where(.list-bullet-style,.list-checkmark-style):where(.is-style-divider) li:before{left:0}.nb-list:is(.is-style-divider) li:not(:last-child){border-bottom:var(--nb-list-divider-weight) solid var(--nb-list-connection-color);padding-bottom:var(--nb-current-spacing)}.nb-list:is(.is-style-timeline),.nb-list:is(.is-style-timeline) ol,.nb-list:is(.is-style-timeline) ul{position:relative}.nb-list:is(.is-style-timeline) ol:before,.nb-list:is(.is-style-timeline) ul:before,.nb-list:is(.is-style-timeline):before{background-color:var(--nb-list-connection-color);bottom:calc(var(--nb-list-line-height)*0.5);content:"";left:calc(var(--nb-list-bullet-size)*0.5);opacity:0.25;position:absolute;top:calc(var(--nb-list-line-height)*0.5);transform:translateX(-50%);width:var(--nb-list-timeline-weight)}.nb-list:is(.is-style-timeline) li:last-child{box-shadow:var(--sm-current-bg-color,var(--nb-bg-color)) calc(var(--nb-list-spacing)*-1) calc(var(--nb-list-line-height)*0.5) 0 0}.nb-list:is(.is-style-timeline):where(.list-no-marker){--nb-list-bullet-size:var(--nb-list-timeline-weight)}.nb-list:is(.is-style-timeline):where(.list-no-marker):before{bottom:0;top:0}.nb-list:is(ul.list-bullet-style){--nb-list-bullet-size:0.3em}.nb-list:is(ul.list-bullet-style):is(.sm-color-signal-2,.sm-color-signal-3){--nb-list-bullet-size:0.75em}.nb-list:is(ul.list-bullet-style):is(.sm-color-signal-2,.sm-color-signal-3) li:after{transform:scale(0.4)}.nb-list:is(ul.list-checkmark-style){--nb-list-bullet-size:0.75em}.nb-list:is(ul.list-checkmark-style) li:after{-webkit-mask:url(../../packages/icons/src/svgs/tick.svg) no-repeat 50% 50%;mask:url(../../packages/icons/src/svgs/tick.svg) no-repeat 50% 50%;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}.nb-list:is(ul.list-checkmark-style):is(.sm-color-signal-2,.sm-color-signal-3){--nb-list-bullet-size:1.5em}.nb-list:is(ul.list-checkmark-style):is(.sm-color-signal-2,.sm-color-signal-3) li:after{transform:scale(0.5)}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class]){--nb-spacing-modifier:0.5;--nb-spacing-base:calc(var(--nb-spacing-current-multiplier)*var(--nb-spacing-modifier));padding-left:1.1em}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class])>*{--nb-block-top-spacing:1;--nb-block-bottom-spacing:0;--nb-emphasis-top-spacing:0;--nb-emphasis-bottom-spacing:0;--nb-current-spacing:calc(var(--nb-spacing)*var(--nb-spacing-current-multiplier));margin-bottom:calc(var(--nb-block-bottom-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));margin-top:calc(var(--nb-block-top-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));padding-bottom:calc(var(--nb-emphasis-bottom-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));padding-top:calc(var(--nb-emphasis-top-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1))}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class]) :is(noscript,style)+*,:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class])>:first-child{--nb-block-top-spacing:0}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class])>*{--nb-spacing-current-multiplier:var(--nb-spacing-base)}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class])>:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class]){--nb-spacing-base:inherit}:is(.wp-block-separator,#very.specific){background:none;border:0;color:var(--nb-bg-color)}html.is-dark :is(.wp-block-separator,#very.specific){color:var(--nb-accent-color)}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){width:auto}:root{--block-content-start:ws;--block-content-end:we;--block-wide-start:ws;--block-wide-end:we;--block-full-start:fs;--block-full-end:fe;--block-left-start:ws;--block-left-end:gs;--block-right-start:ge;--block-right-end:we;--nb-sidecar-gap:calc(var(--nb-spacing)*2);--nb-content-inset-setting:288;--nb-sidecar-sidebar-small-width:calc(var(--nb-content-inset-setting)* 1px);--nb-sidecar-sidebar-medium-width:330px;--nb-sidecar-sidebar-large-width:400px;--nb-sidecar-sidebar-left-width:var(--nb-sidecar-sidebar-small-width);--nb-sidecar-sidebar-right-width:var(--nb-sidecar-sidebar-small-width);--nb-container-width:calc(var(--nb-container-width-setting)*var(--current-font-size, 16px));--nb-content-width:calc(var(--nb-container-width) - var(--nb-sidecar-sidebar-left-width) - var(--nb-sidecar-sidebar-left-gap) - var(--nb-sidecar-sidebar-right-width) - var(--nb-sidecar-sidebar-right-gap));--nb-sidecar-sides:max(var(--nb-wrapper-sides-spacings),calc((100% - var(--nb-container-width))*0.5));--nb-actual-container-width:min(var(--nb-container-width),calc(100% - var(--nb-wrapper-sides-spacings)*2));--nb-sidecar-sidebar-left-gap:clamp(0px,var(--nb-sidecar-sidebar-left-width) * 999,var(--nb-sidecar-gap));--nb-sidecar-sidebar-left-max-width:calc(var(--nb-actual-container-width)*0.5 - var(--nb-sidecar-gap)*1.5);--nb-sidecar-content-left:calc(50% - var(--nb-sidecar-sides) - var(--nb-sidecar-sidebar-left-width) - var(--nb-sidecar-sidebar-left-gap) - var(--nb-sidecar-gap)*0.5);--nb-sidecar-sidebar-right-gap:clamp(0px,var(--nb-sidecar-sidebar-right-width) * 999,var(--nb-sidecar-gap));--nb-sidecar-sidebar-right-max-width:calc(var(--nb-actual-container-width)*0.5 - var(--nb-sidecar-gap)*1.5);--nb-sidecar-content-right:calc(50% - var(--nb-sidecar-sides) - var(--nb-sidecar-sidebar-right-width) - var(--nb-sidecar-sidebar-right-gap) - var(--nb-sidecar-gap)*0.5)}@media only screen and (min-width:1024px){:root{--block-content-start:cs;--block-content-end:ce}}.break-align-left{--block-wide-start:ws;--block-full-start:fs}.break-align-right{--block-wide-end:we;--block-full-end:fe}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova){--nb-actual-container-width:min(var(--nb-container-width),calc(100% - var(--nb-wrapper-sides-spacings)*2));--nb-sidecar-sidebar-left-gap:clamp(0px,var(--nb-sidecar-sidebar-left-width) * 999,var(--nb-sidecar-gap));--nb-sidecar-sidebar-left-max-width:calc(var(--nb-actual-container-width)*0.5 - var(--nb-sidecar-gap)*1.5);--nb-sidecar-content-left:calc(50% - var(--nb-sidecar-sides) - var(--nb-sidecar-sidebar-left-width) - var(--nb-sidecar-sidebar-left-gap) - var(--nb-sidecar-gap)*0.5);--nb-sidecar-sidebar-right-gap:clamp(0px,var(--nb-sidecar-sidebar-right-width) * 999,var(--nb-sidecar-gap));--nb-sidecar-sidebar-right-max-width:calc(var(--nb-actual-container-width)*0.5 - var(--nb-sidecar-gap)*1.5);--nb-sidecar-content-right:calc(50% - var(--nb-sidecar-sides) - var(--nb-sidecar-sidebar-right-width) - var(--nb-sidecar-sidebar-right-gap) - var(--nb-sidecar-gap)*0.5);display:grid;grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content;grid-column:fs/fe!important;grid-template-columns:[fs] var(--nb-sidecar-sides) [ws] var(--nb-sidecar-sidebar-left-width) [frs] 1fr [gs] var(--nb-sidecar-sidebar-left-gap) [cs] var(--nb-sidecar-content-left) [gcs] calc(var(--nb-sidecar-gap)/2) [cc] calc(var(--nb-sidecar-gap)/2) [gce] var(--nb-sidecar-content-right) [ce] var(--nb-sidecar-sidebar-right-gap) [ge] 1fr [fre] var(--nb-sidecar-sidebar-right-width) [we] var(--nb-sidecar-sides) [fe];max-width:none}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>.wp-block-image{align-items:center;display:flex;flex-direction:column}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:where(.wp-block)[data-align=left],:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:where(.wp-block)[data-align=right]{height:auto}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:where(.wp-block)[data-align=left]>.wp-block-image,:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:where(.wp-block)[data-align=right]>.wp-block-image{margin:0}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:not(.block-list-appender){max-width:none;width:100%}.editor-styles-wrapper :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>.wp-block{margin-left:0;margin-right:0}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>*{grid-column:var(--block-content-start)/var(--block-content-end)}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignwide,[data-align=wide]){grid-column:var(--block-wide-start)/var(--block-wide-end)}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignfull,[data-align=full]){grid-column:var(--block-full-start)/var(--block-full-end)}@media not screen and (min-width:1024px){:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova){grid-template-columns:[fs] var(--nb-wrapper-sides-spacings) [ws] auto [gs] 0 [cs] 1fr [gcs] 0 [cc] 0 [gce] 1fr [ce] 0 [ge] auto [we] var(--nb-wrapper-sides-spacings) [fe]}:where(:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova))>*{grid-column:ws/we}}@media only screen and (min-width:1024px){.nb-sidecar-area--sidebar :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova){display:block}}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left],#specific),:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right],#specific){-webkit-margin-start:0;-webkit-margin-end:0;float:none;margin-inline-end:0;margin-inline-start:0}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left]).break-align-left,:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right]).break-align-right{align-self:flex-start;grid-row-end:span 5}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left]).break-align-left{grid-column:var(--block-left-start)/var(--block-left-end)}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left]).break-align-left+:not(:is(.alignright,[data-align=right])){grid-column-start:cs}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right]).break-align-right{grid-column:var(--block-right-start)/var(--block-right-end)}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right]).break-align-right+:not(:is(.alignleft,[data-align=left])){grid-column-end:ce}@media only screen and (min-width:1024px){:is(.nb-sidecar--sidebar-left .nb-sidecar--sidebar-right,.nb-sidecar--sidebar-right .nb-sidecar--sidebar-left) :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left],.x2.specificity):not(.break-align-left){grid-column-end:gcs}:is(.nb-sidecar--sidebar-left .nb-sidecar--sidebar-right,.nb-sidecar--sidebar-right .nb-sidecar--sidebar-left) :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left],.x2.specificity):not(.break-align-left)+:not(:is(.alignright,[data-align=right])){grid-column-start:cc}:is(.nb-sidecar--sidebar-left .nb-sidecar--sidebar-right,.nb-sidecar--sidebar-right .nb-sidecar--sidebar-left) :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right],.x2.specificity):not(.break-align-right){grid-column-start:gce}:is(.nb-sidecar--sidebar-left .nb-sidecar--sidebar-right,.nb-sidecar--sidebar-right .nb-sidecar--sidebar-left) :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right],.x2.specificity):not(.break-align-right)+:not(:is(.alignleft,[data-align=left])){grid-column-end:cc}}*,:after,:before{box-sizing:border-box}.admin-bar{--admin-bar-height:32px;--admin-bar-offset:0}@media screen and (max-width:782px){.admin-bar{--admin-bar-height:46px;--admin-bar-offset:46px}}.novablocks-doppler__mask{clip:rect(0 auto auto 0);-webkit-mask-image:-webkit-linear-gradient(0deg,#fff,#fff)}.nb-supernova-item__media-aspect-ratio[class]>*{height:100%;left:0;position:absolute;top:0;width:100%}1 :root{--nb-spacing:24px;--nb-media-background-direction:90deg;--nb-wrapper-sides-spacings:var(--nb-spacing);--nb-transition-duration:0.5s;--nb-transition-easing:ease;--nb-transition:all var(--nb-transition-duration) var(--nb-transition-easing);--nb-spacing-base:1;--nb-spacing-modifier:1;--nb-spacing-current-multiplier:1;--nb-block-content-box-shadow:0 32px 128px rgba(42,54,52,.1),0 16px 64px rgba(42,54,52,.1),0 8px 16px rgba(42,54,52,.1)}*{--nb-bg-color:var(--sm-current-bg-color,#fff);--nb-accent-color:var(--sm-current-accent-color,#203ab6);--nb-fg1-color:var(--sm-current-fg1-color,#272743);--nb-fg2-color:var(--sm-current-fg2-color,#000043)}.novablocks-u-content-align{display:flex;position:relative;width:100%}.novablocks-u-halign-left .novablocks-u-content-align{justify-content:flex-start;text-align:left}.novablocks-u-halign-center .novablocks-u-content-align{justify-content:center;text-align:center}.novablocks-u-halign-right .novablocks-u-content-align{justify-content:flex-end;text-align:right}.novablocks-u-valign-top .novablocks-u-content-align{align-items:flex-start}.novablocks-u-valign-center .novablocks-u-content-align{align-items:center}.novablocks-u-valign-bottom .novablocks-u-content-align{align-items:flex-end}.novablocks-block{--nb-block-padding:var(--nb-spacing);--nb-block-content-padding:var(--nb-spacing)}.novablocks-media{position:relative;z-index:var(--nb-current-zindex)}.novablocks-block__content[class]{background:none;position:relative;transform:translateZ(0);transition:var(--nb-transition);transition-property:padding,box-shadow}.novablocks-block__content h1,.novablocks-block__content h2,.novablocks-block__content h3,.novablocks-block__content h4,.novablocks-block__content h5,.novablocks-block__content h6{width:100%}.novablocks-block__content:before{background-color:var(--sm-current-bg-color,var(--nb-bg-color));bottom:0;content:"";display:block;left:0;pointer-events:none;position:absolute;right:0;top:0;transition:var(--nb-transition);transition-property:background-color,opacity;z-index:-1}:root{--nb-content-padding-small:5%;--nb-content-padding-medium:10%;--nb-content-padding-large:15%}.novablocks-u-content-padding{--nb-spacing-current-multiplier:2;--nb-content-padding-top:calc(var(--nb-emphasis-top-spacing)*var(--nb-current-spacing));--nb-content-padding-bottom:calc(var(--nb-emphasis-bottom-spacing)*var(--nb-current-spacing));padding-bottom:var(--nb-content-padding-bottom);padding-top:var(--nb-content-padding-top)}.novablocks-u-content-padding>*{--nb-spacing-current-multiplier:1}:is(.wp-site-blocks,.wp-block-column,.wp-block-query,.wp-block-post-content,.wp-block-template-part,.wp-block-media-text__content,.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.block-editor-block-list__layout,.widget,.nb-list,.nb-sidecar,.nb-sidecar-area,.nb-content-layout-grid,.nb-block-spacing-container,.nb-supernova-item__inner-container,.nb-header__inner-container,.specificity.x2)>*{--nb-block-top-spacing:1;--nb-block-bottom-spacing:0;--nb-emphasis-top-spacing:0;--nb-emphasis-bottom-spacing:0;--nb-current-spacing:calc(var(--nb-spacing)*var(--nb-spacing-current-multiplier));margin-bottom:calc(var(--nb-block-bottom-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));margin-top:calc(var(--nb-block-top-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));padding-bottom:calc(var(--nb-emphasis-bottom-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));padding-top:calc(var(--nb-emphasis-top-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1))}:is(.wp-site-blocks,.wp-block-column,.wp-block-query,.wp-block-post-content,.wp-block-template-part,.wp-block-media-text__content,.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.block-editor-block-list__layout,.widget,.nb-list,.nb-sidecar,.nb-sidecar-area,.nb-content-layout-grid,.nb-block-spacing-container,.nb-supernova-item__inner-container,.nb-header__inner-container,.specificity.x2) :is(noscript,style)+*,:is(.wp-site-blocks,.wp-block-column,.wp-block-query,.wp-block-post-content,.wp-block-template-part,.wp-block-media-text__content,.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.block-editor-block-list__layout,.widget,.nb-list,.nb-sidecar,.nb-sidecar-area,.nb-content-layout-grid,.nb-block-spacing-container,.nb-supernova-item__inner-container,.nb-header__inner-container,.specificity.x2)>:first-child{--nb-block-top-spacing:0}:is(.wp-block-template-part,#specific){--nb-block-top-spacing:0}:is(.wp-block-row,.specificity.x2){gap:var(--nb-current-spacing)}.wp-block-column[class]{--nb-block-top-spacing:0}[style*="--nb-spacing-modifier"]{--nb-spacing-modifier:1;--nb-spacing-base:calc(var(--nb-spacing-current-multiplier)*var(--nb-spacing-modifier))}[style*="--nb-spacing-modifier"]>*{--nb-spacing-current-multiplier:var(--nb-spacing-base)}[style*="--nb-spacing-modifier"]>[style*="--nb-spacing-modifier"]{--nb-spacing-base:inherit}:is(h1,h2,h3,h4,h5,h6,.specificity.x2):not(:first-child){--nb-block-top-spacing:1.25}:is(h1,h2,h3,h4,h5,h6,.specificity.x2)+:is(p,ul,ol,nav){--nb-block-top-spacing:0.5}:is(h1,h2,h3,h4,h5,h6,.specificity.x2)+:is(h1,h2,h3,h4,h5,h6,.specificity.x2){--nb-block-top-spacing:0.25}.wp-block-row>.wp-block-categories-list{display:flex;flex-wrap:wrap;gap:var(--nb-current-spacing)}:root{--nb-group-padding-toggle:1}.alignleft,.alignnone,.alignright,.alignwide{--nb-group-padding-toggle:0}@media only screen and (min-width:1024px){.nb-sidecar-area{--nb-group-padding-toggle:0}}.wp-block-group[class*=sm-color-signal]:not(.sm-color-signal-0){--nb-group-padding-toggle:1}.nb-supernova-item__inner-container{--nb-group-padding-toggle:1}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.specificity.x2.x3){--nb-group-side-padding:calc(var(--nb-wrapper-sides-spacings)*var(--nb-group-padding-toggle));padding-left:var(--nb-group-side-padding);padding-right:var(--nb-group-side-padding)}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.specificity.x2.x3)>:is(.alignfull,[data-align=full]){margin-left:calc(var(--nb-group-side-padding)*-1);margin-right:calc(var(--nb-group-side-padding)*-1)}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.nb-supernova-item__inner-container,.specificity.x2.x3)>*{margin-left:auto;margin-right:auto;max-width:var(--nb-content-width)}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.nb-supernova-item__inner-container,.specificity.x2.x3)>:is(.alignwide,[data-align=wide]){max-width:var(--nb-container-width)}:is(.wp-block-group:not(.wp-block-row),.wp-block-group__inner-container,.nb-header-row__inner-container,.nb-supernova-item__inner-container,.specificity.x2.x3)>:is(.alignfull,[data-align=full]){max-width:none;width:auto}:is(.wp-block-group__inner-container,.specificity.x2.x3){max-width:none;padding-left:0;padding-right:0}.wp-block-group[class*=sm-color-signal]:not(.sm-color-signal-0):not(:empty){padding:calc(max(0.75 * var(--nb-wrapper-sides-spacings), var(--nb-emphasis-top-spacing) * var(--nb-current-spacing) * var(--nb-spacing-multiplier-override, 1))) var(--nb-wrapper-sides-spacings) calc(max(0.75 * var(--nb-wrapper-sides-spacings), var(--nb-emphasis-bottom-spacing) * var(--nb-current-spacing) * var(--nb-spacing-multiplier-override, 1)))}.wp-block-group:is(.is-layout-flex,.x1.x2)>*{--nb-block-top-spacing:0;--nb-block-bottom-spacing:0;--nb-emphasis-top-spacing:0;--nb-emphasis-bottom-spacing:0;margin-left:0;margin-right:0}.sm-color-signal-0:not(.alignfull):not([data-align=full])>.wp-block-group__inner-container{padding-left:0;padding-right:0}.sm-color-signal-0:not(.alignfull):not([data-align=full])>.wp-block-group__inner-container>:is(.alignfull,[data-align=full]){margin-left:0;margin-right:0}.wp-block-row{align-items:baseline}.wp-block-row--center{justify-content:center}.nb-list{--sm-current-bg-color:inherit!important;--sm-current-accent-color:inherit!important;--sm-current-fg1-color:inherit!important;--sm-current-fg2-color:inherit!important;--nb-list-bullet-color:var(--sm-current-fg1-color,var(--nb-fg1-color));--nb-list-bullet-bg-color:var(--sm-current-bg-color,var(--nb-bg-color));--nb-list-bullet-outline:0.2em;--nb-list-connection-color:var(--sm-current-accent-color,var(--nb-accent-color))}.nb-list.sm-color-signal-1{--nb-list-bullet-color:var(--sm-current-accent-color,var(--nb-accent-color))}.nb-list.sm-color-signal-2{--nb-list-bullet-color:var(--sm-current-bg-color,var(--nb-bg-color));--nb-list-bullet-bg-color:var(--sm-current-fg1-color,var(--nb-fg1-color));--nb-list-bullet-outline:0.4em}.nb-list.sm-color-signal-3{--nb-list-bullet-color:var(--sm-current-bg-color,var(--nb-bg-color));--nb-list-bullet-bg-color:var(--sm-current-accent-color,var(--nb-accent-color));--nb-list-bullet-outline:0.4em}ol.nb-list{--nb-list-counter-style:decimal-leading-zero;counter-reset:li var(--nb-list-start-at,0);font-variant-numeric:tabular-nums lining-nums;position:relative}ol.nb-list:is(.sm-color-signal-2,.sm-color-signal-3){--nb-list-counter-style:decimal}ol.nb-list li{position:relative}ol.nb-list li:after{background-color:transparent;color:var(--nb-list-bullet-color);content:counter(li,var(--nb-list-counter-style))}ol.nb-list:is(.sm-color-signal-0,.sm-color-signal-1){--nb-list-bullet-size:2ch}ol.nb-list:is(.sm-color-signal-2,.sm-color-signal-3) li:after{text-align:center}ol.nb-list>li:after{counter-increment:li}ol.nb-list>li ol{counter-reset:li 0}ol.nb-list>li ol>li:after{counter-increment:li}ol.nb-list[reversed]{counter-reset:li var(--reversed-start-at-value,var(--nb-list-items-count))}ol.nb-list[reversed][start]{--reversed-start-at-value:calc(var(--nb-list-start-at) + 2)}ol.nb-list[reversed]>li:after{counter-increment:li -1}.nb-list{--nb-list-timeline-weight:2px;--nb-list-divider-weight:1px;--nb-list-bullet-size:1.5em;--nb-list-bullet-addon:0em;--nb-list-bullet-spacing:0.4em;--nb-list-line-height:1.5em;--nb-list-decoration-gap:0.5em;--nb-list-spacing:calc(var(--nb-list-bullet-size) + var(--nb-list-decoration-gap));--nb-spacing-modifier:0.5;--nb-spacing-base:calc(var(--nb-spacing-current-multiplier)*var(--nb-spacing-modifier))}.nb-list>*{--nb-spacing-current-multiplier:var(--nb-spacing-base)}.nb-list>.nb-list{--nb-spacing-base:inherit}.nb-list[class][class]{padding-left:0}.nb-list,.nb-list *{list-style:none}.nb-list :is(ul,ol,dl,li:not(:first-child),.increased.specificity){margin-top:var(--nb-current-spacing)}.nb-list:where(.list-bullet-style,.list-checkmark-style) li{position:relative}.nb-list:where(.list-bullet-style,.list-checkmark-style) li:after,.nb-list:where(.list-bullet-style,.list-checkmark-style) li:before{border-radius:50%;content:"";display:block;height:var(--nb-list-bullet-size);left:calc(var(--nb-list-spacing)*-1);line-height:var(--nb-list-bullet-size);position:absolute;top:calc(var(--nb-list-line-height)*0.5 - var(--nb-list-bullet-size)*0.5);width:var(--nb-list-bullet-size)}.nb-list:where(.list-bullet-style,.list-checkmark-style) li:after{background-color:var(--nb-list-bullet-color)}.nb-list:where(.list-bullet-style,.list-checkmark-style) li:before{background-color:var(--nb-list-bullet-bg-color);box-shadow:0 0 0 4px var(--sm-current-bg-color,var(--nb-bg-color))}.nb-list ol,.nb-list ul,.nb-list:is(.is-style-timeline)[class],.nb-list:is(.list-bullet-style,.list-checkmark-style):not(.is-style-divider){padding-left:var(--nb-list-spacing)}.nb-list:where(.list-bullet-style,.list-checkmark-style):where(.is-style-divider) li{padding-left:var(--nb-list-spacing)}.nb-list:where(.list-bullet-style,.list-checkmark-style):where(.is-style-divider) li:after,.nb-list:where(.list-bullet-style,.list-checkmark-style):where(.is-style-divider) li:before{left:0}.nb-list:is(.is-style-divider) li:not(:last-child){border-bottom:var(--nb-list-divider-weight) solid var(--nb-list-connection-color);padding-bottom:var(--nb-current-spacing)}.nb-list:is(.is-style-timeline),.nb-list:is(.is-style-timeline) ol,.nb-list:is(.is-style-timeline) ul{position:relative}.nb-list:is(.is-style-timeline) ol:before,.nb-list:is(.is-style-timeline) ul:before,.nb-list:is(.is-style-timeline):before{background-color:var(--nb-list-connection-color);bottom:calc(var(--nb-list-line-height)*0.5);content:"";left:calc(var(--nb-list-bullet-size)*0.5);opacity:0.25;position:absolute;top:calc(var(--nb-list-line-height)*0.5);transform:translateX(-50%);width:var(--nb-list-timeline-weight)}.nb-list:is(.is-style-timeline) li:last-child{box-shadow:var(--sm-current-bg-color,var(--nb-bg-color)) calc(var(--nb-list-spacing)*-1) calc(var(--nb-list-line-height)*0.5) 0 0}.nb-list:is(.is-style-timeline):where(.list-no-marker){--nb-list-bullet-size:var(--nb-list-timeline-weight)}.nb-list:is(.is-style-timeline):where(.list-no-marker):before{bottom:0;top:0}.nb-list:is(ul.list-bullet-style){--nb-list-bullet-size:0.3em}.nb-list:is(ul.list-bullet-style):is(.sm-color-signal-2,.sm-color-signal-3){--nb-list-bullet-size:0.75em}.nb-list:is(ul.list-bullet-style):is(.sm-color-signal-2,.sm-color-signal-3) li:after{transform:scale(0.4)}.nb-list:is(ul.list-checkmark-style){--nb-list-bullet-size:0.75em}.nb-list:is(ul.list-checkmark-style) li:after{-webkit-mask:url(../../packages/icons/src/svgs/tick.svg) no-repeat 50% 50%;mask:url(../../packages/icons/src/svgs/tick.svg) no-repeat 50% 50%;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}.nb-list:is(ul.list-checkmark-style):is(.sm-color-signal-2,.sm-color-signal-3){--nb-list-bullet-size:1.5em}.nb-list:is(ul.list-checkmark-style):is(.sm-color-signal-2,.sm-color-signal-3) li:after{transform:scale(0.5)}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class]){--nb-spacing-modifier:0.5;--nb-spacing-base:calc(var(--nb-spacing-current-multiplier)*var(--nb-spacing-modifier));padding-left:1.1em}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class])>*{--nb-block-top-spacing:1;--nb-block-bottom-spacing:0;--nb-emphasis-top-spacing:0;--nb-emphasis-bottom-spacing:0;--nb-current-spacing:calc(var(--nb-spacing)*var(--nb-spacing-current-multiplier));margin-bottom:calc(var(--nb-block-bottom-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));margin-top:calc(var(--nb-block-top-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));padding-bottom:calc(var(--nb-emphasis-bottom-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1));padding-top:calc(var(--nb-emphasis-top-spacing)*var(--nb-current-spacing)*var(--nb-spacing-multiplier-override, 1))}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class]) :is(noscript,style)+*,:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class])>:first-child{--nb-block-top-spacing:0}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class])>*{--nb-spacing-current-multiplier:var(--nb-spacing-base)}:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class])>:is(.wp-block-column,.nb-sidecar-area,.comment-content,trix-editor)>:is(ul,ol):not([class]){--nb-spacing-base:inherit}:is(.wp-block-separator,#very.specific){background:none;border:0;color:var(--nb-bg-color)}html.is-dark :is(.wp-block-separator,#very.specific){color:var(--nb-accent-color)}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){width:auto}:root{--block-content-start:ws;--block-content-end:we;--block-wide-start:ws;--block-wide-end:we;--block-full-start:fs;--block-full-end:fe;--block-left-start:ws;--block-left-end:gs;--block-right-start:ge;--block-right-end:we;--nb-sidecar-gap:calc(var(--nb-spacing)*2);--nb-content-inset-setting:288;--nb-sidecar-sidebar-small-width:calc(var(--nb-content-inset-setting)*var(--theme-body-final-font-size, 16px)/16);--nb-sidecar-sidebar-medium-width:calc(var(--theme-body-final-font-size, 16px)*330/16);--nb-sidecar-sidebar-large-width:calc(var(--theme-body-final-font-size, 16px)*400/16);--nb-sidecar-sidebar-left-width:var(--nb-sidecar-sidebar-small-width);--nb-sidecar-sidebar-right-width:var(--nb-sidecar-sidebar-small-width);--nb-container-width:calc(var(--nb-container-width-setting)*var(--current-font-size, 16px));--nb-content-width:calc(var(--nb-container-width) - var(--nb-sidecar-sidebar-left-width) - var(--nb-sidecar-sidebar-left-gap) - var(--nb-sidecar-sidebar-right-width) - var(--nb-sidecar-sidebar-right-gap));--nb-sidecar-sides:max(var(--nb-wrapper-sides-spacings),calc((100% - var(--nb-container-width))*0.5));--nb-actual-container-width:min(var(--nb-container-width),calc(100% - var(--nb-wrapper-sides-spacings)*2));--nb-sidecar-sidebar-left-gap:clamp(0px,var(--nb-sidecar-sidebar-left-width) * 999,var(--nb-sidecar-gap));--nb-sidecar-sidebar-left-max-width:calc(var(--nb-actual-container-width)*0.5 - var(--nb-sidecar-gap)*1.5);--nb-sidecar-content-left:calc(50% - var(--nb-sidecar-sides) - var(--nb-sidecar-sidebar-left-width) - var(--nb-sidecar-sidebar-left-gap) - var(--nb-sidecar-gap)*0.5);--nb-sidecar-sidebar-right-gap:clamp(0px,var(--nb-sidecar-sidebar-right-width) * 999,var(--nb-sidecar-gap));--nb-sidecar-sidebar-right-max-width:calc(var(--nb-actual-container-width)*0.5 - var(--nb-sidecar-gap)*1.5);--nb-sidecar-content-right:calc(50% - var(--nb-sidecar-sides) - var(--nb-sidecar-sidebar-right-width) - var(--nb-sidecar-sidebar-right-gap) - var(--nb-sidecar-gap)*0.5)}@media only screen and (min-width:1024px){:root{--block-content-start:cs;--block-content-end:ce}}.break-align-left{--block-wide-start:ws;--block-full-start:fs}.break-align-right{--block-wide-end:we;--block-full-end:fe}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova){--nb-actual-container-width:min(var(--nb-container-width),calc(100% - var(--nb-wrapper-sides-spacings)*2));--nb-sidecar-sidebar-left-gap:clamp(0px,var(--nb-sidecar-sidebar-left-width) * 999,var(--nb-sidecar-gap));--nb-sidecar-sidebar-left-max-width:calc(var(--nb-actual-container-width)*0.5 - var(--nb-sidecar-gap)*1.5);--nb-sidecar-content-left:calc(50% - var(--nb-sidecar-sides) - var(--nb-sidecar-sidebar-left-width) - var(--nb-sidecar-sidebar-left-gap) - var(--nb-sidecar-gap)*0.5);--nb-sidecar-sidebar-right-gap:clamp(0px,var(--nb-sidecar-sidebar-right-width) * 999,var(--nb-sidecar-gap));--nb-sidecar-sidebar-right-max-width:calc(var(--nb-actual-container-width)*0.5 - var(--nb-sidecar-gap)*1.5);--nb-sidecar-content-right:calc(50% - var(--nb-sidecar-sides) - var(--nb-sidecar-sidebar-right-width) - var(--nb-sidecar-sidebar-right-gap) - var(--nb-sidecar-gap)*0.5);display:grid;grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content;grid-column:fs/fe!important;grid-template-columns:[fs] var(--nb-sidecar-sides) [ws] var(--nb-sidecar-sidebar-left-width) [frs] 1fr [gs] var(--nb-sidecar-sidebar-left-gap) [cs] var(--nb-sidecar-content-left) [gcs] calc(var(--nb-sidecar-gap)/2) [cc] calc(var(--nb-sidecar-gap)/2) [gce] var(--nb-sidecar-content-right) [ce] var(--nb-sidecar-sidebar-right-gap) [ge] 1fr [fre] var(--nb-sidecar-sidebar-right-width) [we] var(--nb-sidecar-sides) [fe];max-width:none}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>.wp-block-image{align-items:center;display:flex;flex-direction:column}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:where(.wp-block)[data-align=left],:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:where(.wp-block)[data-align=right]{height:auto}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:where(.wp-block)[data-align=left]>.wp-block-image,:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:where(.wp-block)[data-align=right]>.wp-block-image{margin:0}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:not(.block-list-appender){max-width:none;width:100%}.editor-styles-wrapper :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>.wp-block{margin-left:0;margin-right:0}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>*{grid-column:var(--block-content-start)/var(--block-content-end)}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignwide,[data-align=wide]){grid-column:var(--block-wide-start)/var(--block-wide-end)}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignfull,[data-align=full]){grid-column:var(--block-full-start)/var(--block-full-end)}@media not screen and (min-width:1024px){:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova){grid-template-columns:[fs] var(--nb-wrapper-sides-spacings) [ws] auto [gs] 0 [cs] 1fr [gcs] 0 [cc] 0 [gce] 1fr [ce] 0 [ge] auto [we] var(--nb-wrapper-sides-spacings) [fe]}:where(:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova))>*{grid-column:ws/we}}@media only screen and (min-width:1024px){.nb-sidecar-area--sidebar :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova){display:block}}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left],#specific),:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right],#specific){-webkit-margin-start:0;-webkit-margin-end:0;float:none;margin-inline-end:0;margin-inline-start:0}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left]).break-align-left,:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right]).break-align-right{align-self:flex-start;grid-row-end:span 5}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left]).break-align-left{grid-column:var(--block-left-start)/var(--block-left-end)}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left]).break-align-left+:not(:is(.alignright,[data-align=right])){grid-column-start:cs}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right]).break-align-right{grid-column:var(--block-right-start)/var(--block-right-end)}:is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right]).break-align-right+:not(:is(.alignleft,[data-align=left])){grid-column-end:ce}@media only screen and (min-width:1024px){:is(.nb-sidecar--sidebar-left .nb-sidecar--sidebar-right,.nb-sidecar--sidebar-right .nb-sidecar--sidebar-left) :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left],.x2.specificity):not(.break-align-left){grid-column-end:gcs}:is(.nb-sidecar--sidebar-left .nb-sidecar--sidebar-right,.nb-sidecar--sidebar-right .nb-sidecar--sidebar-left) :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignleft,[data-align=left],.x2.specificity):not(.break-align-left)+:not(:is(.alignright,[data-align=right])){grid-column-start:cc}:is(.nb-sidecar--sidebar-left .nb-sidecar--sidebar-right,.nb-sidecar--sidebar-right .nb-sidecar--sidebar-left) :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right],.x2.specificity):not(.break-align-right){grid-column-start:gce}:is(.nb-sidecar--sidebar-left .nb-sidecar--sidebar-right,.nb-sidecar--sidebar-right .nb-sidecar--sidebar-left) :is(.is-root-container,.edit-post-visual-editor__post-title-wrapper,.wp-block-post-content,.wp-block-template-part,[data-block-name="woocommerce/legacy-template"],[id=main],.nb-content-layout-grid,.nb-sidecar,.nb-sidecar-area--content,.wp-block-query,.nb-supernova)>:is(.alignright,[data-align=right],.x2.specificity):not(.break-align-right)+:not(:is(.alignleft,[data-align=left])){grid-column-end:cc}}*,:after,:before{box-sizing:border-box}.admin-bar{--admin-bar-height:32px;--admin-bar-offset:0}@media screen and (max-width:782px){.admin-bar{--admin-bar-height:46px;--admin-bar-offset:46px}}.novablocks-doppler__mask{clip:rect(0 auto auto 0);-webkit-mask-image:-webkit-linear-gradient(0deg,#fff,#fff)}.nb-supernova-item__media-aspect-ratio[class]>*{height:100%;left:0;position:absolute;top:0;width:100%} -
nova-blocks/trunk/build/easings/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('wp-polyfill'), 'version' => ' 22202b803fbd70d9bb9c387159684eb0');1 <?php return array('dependencies' => array('wp-polyfill'), 'version' => '7e647aed6d26b2bdcafbbeee63ebf55f'); -
nova-blocks/trunk/build/easings/index.js
r2738702 r2744078 1 this.novablocks=this.novablocks||{},this.novablocks.easings=function(n){var t={};function e(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return n[r].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var u in n)e.d(r,u,function(t){return n[t]}.bind(null,u));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=7 8)}({78:function(n,t,e){"use strict";function r(n){throw new TypeError('"'+n+'" is read-only')}e.r(t),e.d(t,"linear",(function(){return l})),e.d(t,"easeInQuad",(function(){return p})),e.d(t,"easeOutQuad",(function(){return O})),e.d(t,"easeInOutQuad",(function(){return b})),e.d(t,"easeInCubic",(function(){return v})),e.d(t,"easeOutCubic",(function(){return I})),e.d(t,"easeInOutCubic",(function(){return y})),e.d(t,"easeInQuart",(function(){return h})),e.d(t,"easeOutQuart",(function(){return M})),e.d(t,"easeInOutQuart",(function(){return Q})),e.d(t,"easeInQuint",(function(){return x})),e.d(t,"easeOutQuint",(function(){return S})),e.d(t,"easeInOutQuint",(function(){return g})),e.d(t,"easeInSine",(function(){return j})),e.d(t,"easeOutSine",(function(){return k})),e.d(t,"easeInOutSine",(function(){return m})),e.d(t,"easeInExpo",(function(){return P})),e.d(t,"easeOutExpo",(function(){return _})),e.d(t,"easeInOutExpo",(function(){return w})),e.d(t,"easeInBack",(function(){return E})),e.d(t,"easeOutBack",(function(){return B})),e.d(t,"easeInOutBack",(function(){return C}));var u=Math.pow,o=Math.abs,i=Math.sin,c=Math.cos,a=Math.PI,f=function(n){return function(t){return u(t,n)}},s=function(n){return function(t){return 1-o(u(t-1,n))}},d=function(n){return function(t){return t<.5?f(n)(2*t)/2:s(n)(2*t-1)/2+.5}},l=d(1),p=f(2),O=s(2),b=d(2),v=f(3),I=s(3),y=d(3),h=f(4),M=s(4),Q=d(4),x=f(5),S=s(5),g=d(5),j=function(n){return-1*c(n*a/2)+1},k=function(n){return i(n*a/2)},m=function(n){return-.5*(c(a*n)-1)},P=function(n){return 0===n?0:u(2,10*(n-1))},_=function(n){return 1===n?1:1-u(2,-10*n)},w=function(n){return 0===n||1===n?n:(n/=.5)<1?.5*u(2,10*(n-1)):.5*(2-u(2,-10*--n))},E=function(n){var t=1.70158;return u(n,2)*((t+1)*n-t)},B=function(n){var t=1.70158;return(n-=1)*n*((t+1)*n+t)+1},C=function(n){var t=1.70158;return(n/=.5)<1?n*n*((r("s")+1)*n-t)*.5:.5*((n-=2)*n*((r("s")+1)*n+t)+2)}}});1 this.novablocks=this.novablocks||{},this.novablocks.easings=function(n){var t={};function e(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return n[r].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var u in n)e.d(r,u,function(t){return n[t]}.bind(null,u));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=79)}({79:function(n,t,e){"use strict";function r(n){throw new TypeError('"'+n+'" is read-only')}e.r(t),e.d(t,"linear",(function(){return l})),e.d(t,"easeInQuad",(function(){return p})),e.d(t,"easeOutQuad",(function(){return O})),e.d(t,"easeInOutQuad",(function(){return b})),e.d(t,"easeInCubic",(function(){return v})),e.d(t,"easeOutCubic",(function(){return I})),e.d(t,"easeInOutCubic",(function(){return y})),e.d(t,"easeInQuart",(function(){return h})),e.d(t,"easeOutQuart",(function(){return M})),e.d(t,"easeInOutQuart",(function(){return Q})),e.d(t,"easeInQuint",(function(){return x})),e.d(t,"easeOutQuint",(function(){return S})),e.d(t,"easeInOutQuint",(function(){return g})),e.d(t,"easeInSine",(function(){return j})),e.d(t,"easeOutSine",(function(){return k})),e.d(t,"easeInOutSine",(function(){return m})),e.d(t,"easeInExpo",(function(){return P})),e.d(t,"easeOutExpo",(function(){return _})),e.d(t,"easeInOutExpo",(function(){return w})),e.d(t,"easeInBack",(function(){return E})),e.d(t,"easeOutBack",(function(){return B})),e.d(t,"easeInOutBack",(function(){return C}));var u=Math.pow,o=Math.abs,i=Math.sin,c=Math.cos,a=Math.PI,f=function(n){return function(t){return u(t,n)}},s=function(n){return function(t){return 1-o(u(t-1,n))}},d=function(n){return function(t){return t<.5?f(n)(2*t)/2:s(n)(2*t-1)/2+.5}},l=d(1),p=f(2),O=s(2),b=d(2),v=f(3),I=s(3),y=d(3),h=f(4),M=s(4),Q=d(4),x=f(5),S=s(5),g=d(5),j=function(n){return-1*c(n*a/2)+1},k=function(n){return i(n*a/2)},m=function(n){return-.5*(c(a*n)-1)},P=function(n){return 0===n?0:u(2,10*(n-1))},_=function(n){return 1===n?1:1-u(2,-10*n)},w=function(n){return 0===n||1===n?n:(n/=.5)<1?.5*u(2,10*(n-1)):.5*(2-u(2,-10*--n))},E=function(n){var t=1.70158;return u(n,2)*((t+1)*n-t)},B=function(n){var t=1.70158;return(n-=1)*n*((t+1)*n+t)+1},C=function(n){var t=1.70158;return(n/=.5)<1?n*n*((r("s")+1)*n-t)*.5:.5*((n-=2)*n*((r("s")+1)*n+t)+2)}}}); -
nova-blocks/trunk/build/icons/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('wp-polyfill'), 'version' => ' b4cb36614658fb5f07d4810e552f15c1');1 <?php return array('dependencies' => array('wp-polyfill'), 'version' => '199659be0d9e3bd0d7c4d3ec6165d1cb'); -
nova-blocks/trunk/build/icons/index.js
r2738702 r2744078 1 this.novablocks=this.novablocks||{},this.novablocks.icons=function(t){var n={};function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}return e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:o})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(e.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var r in t)e.d(o,r,function(n){return t[n]}.bind(null,r));return o},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s= 69)}({13:function(t,n,e){(function(n){var e;e=function(){"use strict";var t=function(t){var n=t.id,e=t.viewBox,o=t.content;this.id=n,this.viewBox=e,this.content=o};function e(t,n){return t(n={exports:{}},n.exports),n.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(n){return delete t[n]}))},"undefined"!=typeof window?window:void 0!==n||"undefined"!=typeof self&&self;var o=e((function(t,n){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function n(n,e){var r;return e&&!0===e.clone&&t(n)?o((r=n,Array.isArray(r)?[]:{}),n,e):n}function e(e,r,i){var s=e.slice();return r.forEach((function(r,a){void 0===s[a]?s[a]=n(r,i):t(r)?s[a]=o(e[a],r,i):-1===e.indexOf(r)&&s.push(n(r,i))})),s}function o(r,i,s){var a=Array.isArray(i),c=(s||{arrayMerge:e}).arrayMerge||e;return a?Array.isArray(r)?c(r,i,s):n(i,s):function(e,r,i){var s={};return t(e)&&Object.keys(e).forEach((function(t){s[t]=n(e[t],i)})),Object.keys(r).forEach((function(a){t(r[a])&&e[a]?s[a]=o(e[a],r[a],i):s[a]=n(r[a],i)})),s}(r,i,s)}return o.all=function(t,n){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,e){return o(t,e,n)}))},o}()})),r=e((function(t,n){n.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=n.default})),i=r.svg,s=r.xlink,a={};a[i.name]=i.uri,a[s.name]=s.uri;var c=function(t,n){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(n){return n+'="'+t[n].toString().replace(/"/g,""")+'"'})).join(" ")}(o(a,n||{}))+">"+t+"</svg>"};return function(t){function n(){t.apply(this,arguments)}t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n;var e={isMounted:{}};return e.isMounted.get=function(){return!!this.node},n.createFromExistingNode=function(t){return new n({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},n.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},n.prototype.mount=function(t){if(this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,e=this.render();return this.node=e,n.appendChild(e),e},n.prototype.render=function(){var t=this.stringify();return function(t){var n=!!document.importNode,e=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return n?document.importNode(e,!0):e}(c(t)).childNodes[0]},n.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(n.prototype,e),n}(t)},t.exports=e()}).call(this,e(27))},14:function(t,n,e){(function(n){var e;e=function(){"use strict";function t(t,n){return t(n={exports:{}},n.exports),n.exports}"undefined"!=typeof window?window:void 0!==n||"undefined"!=typeof self&&self;var e=t((function(t,n){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function n(n,e){var r;return e&&!0===e.clone&&t(n)?o((r=n,Array.isArray(r)?[]:{}),n,e):n}function e(e,r,i){var s=e.slice();return r.forEach((function(r,a){void 0===s[a]?s[a]=n(r,i):t(r)?s[a]=o(e[a],r,i):-1===e.indexOf(r)&&s.push(n(r,i))})),s}function o(r,i,s){var a=Array.isArray(i),c=(s||{arrayMerge:e}).arrayMerge||e;return a?Array.isArray(r)?c(r,i,s):n(i,s):function(e,r,i){var s={};return t(e)&&Object.keys(e).forEach((function(t){s[t]=n(e[t],i)})),Object.keys(r).forEach((function(a){t(r[a])&&e[a]?s[a]=o(e[a],r[a],i):s[a]=n(r[a],i)})),s}(r,i,s)}return o.all=function(t,n){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,e){return o(t,e,n)}))},o}()})),o=t((function(t,n){n.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=n.default})),r=o.svg,i=o.xlink,s={};s[r.name]=r.uri,s[i.name]=i.uri;var a,c=function(t,n){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(n){return n+'="'+t[n].toString().replace(/"/g,""")+'"'})).join(" ")}(e(s,n||{}))+">"+t+"</svg>"},u=o.svg,l=o.xlink,d={attrs:(a={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},a[u.name]=u.uri,a[l.name]=l.uri,a)},f=function(t){this.config=e(d,t||{}),this.symbols=[]};f.prototype.add=function(t){var n=this.symbols,e=this.find(t.id);return e?(n[n.indexOf(e)]=t,!1):(n.push(t),!0)},f.prototype.remove=function(t){var n=this.symbols,e=this.find(t);return!!e&&(n.splice(n.indexOf(e),1),e.destroy(),!0)},f.prototype.find=function(t){return this.symbols.filter((function(n){return n.id===t}))[0]||null},f.prototype.has=function(t){return null!==this.find(t)},f.prototype.stringify=function(){var t=this.config.attrs,n=this.symbols.map((function(t){return t.stringify()})).join("");return c(n,t)},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var h=function(t){var n=t.id,e=t.viewBox,o=t.content;this.id=n,this.viewBox=e,this.content=o};h.prototype.stringify=function(){return this.content},h.prototype.toString=function(){return this.stringify()},h.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(n){return delete t[n]}))};var p=function(t){var n=!!document.importNode,e=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return n?document.importNode(e,!0):e},v=function(t){function n(){t.apply(this,arguments)}t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n;var e={isMounted:{}};return e.isMounted.get=function(){return!!this.node},n.createFromExistingNode=function(t){return new n({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},n.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},n.prototype.mount=function(t){if(this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,e=this.render();return this.node=e,n.appendChild(e),e},n.prototype.render=function(){var t=this.stringify();return p(c(t)).childNodes[0]},n.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(n.prototype,e),n}(h),w={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},m=function(t){return Array.prototype.slice.call(t,0)},g=function(){return/firefox/i.test(navigator.userAgent)},y=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},x=function(){return/edge/i.test(navigator.userAgent)},b=function(t){return(t||window.location.href).split("#")[0]},C=function(t){angular.module("ng").run(["$rootScope",function(n){n.$on("$locationChangeSuccess",(function(n,e,o){var r,i,s;r=t,i={oldUrl:o,newUrl:e},(s=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,i),window.dispatchEvent(s)}))}])},B=function(t,n){return void 0===n&&(n="linearGradient, radialGradient, pattern, mask, clipPath"),m(t.querySelectorAll("symbol")).forEach((function(t){m(t.querySelectorAll(n)).forEach((function(n){t.parentNode.insertBefore(n,t)}))})),t},M=o.xlink.uri,A=/[{}|\\\^\[\]`"<>]/g;function _(t){return t.replace(A,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var E,Z=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],k=Z.map((function(t){return"["+t+"]"})).join(","),S=function(t,n,e,o){var r=_(e),i=_(o);(function(t,n){return m(t).reduce((function(t,e){if(!e.attributes)return t;var o=m(e.attributes),r=n?o.filter(n):o;return t.concat(r)}),[])})(t.querySelectorAll(k),(function(t){var n=t.localName,e=t.value;return-1!==Z.indexOf(n)&&-1!==e.indexOf("url("+r)})).forEach((function(t){return t.value=t.value.replace(new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,n,e){m(t).forEach((function(t){var o=t.getAttribute("xlink:href");if(o&&0===o.indexOf(n)){var r=o.replace(n,e);t.setAttributeNS(M,"xlink:href",r)}}))}(n,r,i)},L="mount",O="symbol_mount",j=function(t){function n(n){var o=this;void 0===n&&(n={}),t.call(this,e(w,n));var r,i=(r=r||Object.create(null),{on:function(t,n){(r[t]||(r[t]=[])).push(n)},off:function(t,n){r[t]&&r[t].splice(r[t].indexOf(n)>>>0,1)},emit:function(t,n){(r[t]||[]).map((function(t){t(n)})),(r["*"]||[]).map((function(e){e(t,n)}))}});this._emitter=i,this.node=null;var s=this.config;if(s.autoConfigure&&this._autoConfigure(n),s.syncUrlsWithBaseTag){var a=document.getElementsByTagName("base")[0].getAttribute("href");i.on(L,(function(){return o.updateUrls("#",a)}))}var c=this._handleLocationChange.bind(this);this._handleLocationChange=c,s.listenLocationChangeEvent&&window.addEventListener(s.locationChangeEvent,c),s.locationChangeAngularEmitter&&C(s.locationChangeEvent),i.on(L,(function(t){s.moveGradientsOutsideSymbol&&B(t)})),i.on(O,(function(t){var n;s.moveGradientsOutsideSymbol&&B(t.parentNode),(y()||x())&&(n=[],m(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",n.push(t)})))}))}t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},n.prototype._autoConfigure=function(t){var n=this.config;void 0===t.syncUrlsWithBaseTag&&(n.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(n.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(n.moveGradientsOutsideSymbol=g())},n.prototype._handleLocationChange=function(t){var n=t.detail,e=n.oldUrl,o=n.newUrl;this.updateUrls(e,o)},n.prototype.add=function(n){var e=t.prototype.add.call(this,n);return this.isMounted&&e&&(n.mount(this.node),this._emitter.emit(O,n.node)),e},n.prototype.attach=function(t){var n=this,e=this;if(e.isMounted)return e.node;var o="string"==typeof t?document.querySelector(t):t;return e.node=o,this.symbols.forEach((function(t){t.mount(e.node),n._emitter.emit(O,t.node)})),m(o.querySelectorAll("symbol")).forEach((function(t){var n=v.createFromExistingNode(t);n.node=t,e.add(n)})),this._emitter.emit(L,o),o},n.prototype.destroy=function(){var t=this.config,n=this.symbols,e=this._emitter;n.forEach((function(t){return t.destroy()})),e.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},n.prototype.mount=function(t,n){if(void 0===t&&(t=this.config.mountTo),void 0===n&&(n=!1),this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,o=this.render();return this.node=o,n&&e.childNodes[0]?e.insertBefore(o,e.childNodes[0]):e.appendChild(o),this._emitter.emit(L,o),o},n.prototype.render=function(){return p(this.stringify())},n.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},n.prototype.updateUrls=function(t,n){if(!this.isMounted)return!1;var e=document.querySelectorAll(this.config.usagesToUpdate);return S(this.node,e,b(t)+"#",b(n)+"#"),!0},Object.defineProperties(n.prototype,o),n}(f),H=t((function(t){var n,e,o,r,i;t.exports=(e=[],o=document,r=o.documentElement.doScroll,(i=(r?/^loaded|^c/:/^loaded|^i|^c/).test(o.readyState))||o.addEventListener("DOMContentLoaded",n=function(){for(o.removeEventListener("DOMContentLoaded",n),i=1;n=e.shift();)n()}),function(t){i?setTimeout(t,0):e.push(t)})}));window.__SVG_SPRITE__?E=window.__SVG_SPRITE__:(E=new j({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=E);var V=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?E.attach(t):E.mount(document.body,!0)};return document.body?V():H(V),E},t.exports=e()}).call(this,e(27))},27:function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},69:function(t,n,e){"use strict";e.r(n),e.d(n,"library",(function(){return o})),e.d(n,"getIcon",(function(){return rt}));var o={};e.r(o),e.d(o,"alignBottom",(function(){return u})),e.d(o,"alignCenter",(function(){return d})),e.d(o,"alignTop",(function(){return h})),e.d(o,"alignment",(function(){return v})),e.d(o,"arrowDown",(function(){return m})),e.d(o,"cancel",(function(){return y})),e.d(o,"conversation",(function(){return b})),e.d(o,"dots",(function(){return B})),e.d(o,"email",(function(){return A})),e.d(o,"favorite",(function(){return E})),e.d(o,"facebook",(function(){return k})),e.d(o,"invert",(function(){return L})),e.d(o,"link",(function(){return j})),e.d(o,"linkedin",(function(){return V})),e.d(o,"messenger",(function(){return T})),e.d(o,"pdf",(function(){return U})),e.d(o,"printer",(function(){return G})),e.d(o,"share",(function(){return D})),e.d(o,"shareAlt",(function(){return I})),e.d(o,"sms",(function(){return $})),e.d(o,"star",(function(){return J})),e.d(o,"swap",(function(){return Q})),e.d(o,"tick",(function(){return Y})),e.d(o,"twitter",(function(){return nt})),e.d(o,"whatsapp",(function(){return ot}));var r=e(13),i=e.n(r),s=e(14),a=e.n(s),c=new i.a({id:"icons-align-bottom",use:"icons-align-bottom-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="icons-align-bottom"><path d="M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z" /></symbol>'}),u=(a.a.add(c),c),l=new i.a({id:"icons-align-center",use:"icons-align-center-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="icons-align-center"><path fill="none" d="M0 0h24v24H0V0z" /><path d="M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z" /></symbol>'}),d=(a.a.add(l),l),f=new i.a({id:"icons-align-top",use:"icons-align-top-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="icons-align-top"><path fill="none" d="M0 0h24v24H0V0z" /><path d="M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z" /></symbol>'}),h=(a.a.add(f),f),p=new i.a({id:"icons-alignment",use:"icons-alignment-usage",viewBox:"0 0 24 24",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="icons-alignment"><path d="M15.54 5.54 13.77 7.3 12 5.54 10.23 7.3 8.46 5.54 12 2l3.54 3.54Zm2.92 10-1.76-1.77L18.46 12l-1.76-1.77 1.76-1.77L22 12l-3.54 3.54Zm-10 2.92 1.77-1.76L12 18.46l1.77-1.76 1.77 1.76L12 22l-3.54-3.54Zm-2.92-10 1.76 1.77L5.54 12l1.76 1.77-1.76 1.77L2 12l3.54-3.54ZM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z" fill="currentColor" /></symbol>'}),v=(a.a.add(p),p),w=new i.a({id:"icons-arrow-down",use:"icons-arrow-down-usage",viewBox:"0 0 12 8",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 8" id="icons-arrow-down"><path d="m1 1.5 5 5 5-5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /><path d="m1 1.5 5 5 5-5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /></symbol>'}),m=(a.a.add(w),w),g=new i.a({id:"icons-cancel",use:"icons-cancel-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-cancel"><path d="m12.356 10 7.155-7.156A1.666 1.666 0 0 0 17.155.487L10 7.642 2.845.487A1.666 1.666 0 0 0 .488 2.844L7.643 10 .488 17.154a1.666 1.666 0 1 0 2.357 2.357L10 12.356l7.155 7.155a1.662 1.662 0 0 0 2.718-.54 1.666 1.666 0 0 0-.362-1.817L12.356 10Z" fill="currentColor" /><path d="m12.356 10 7.155-7.156A1.666 1.666 0 0 0 17.155.487L10 7.642 2.845.487A1.666 1.666 0 0 0 .488 2.844L7.643 10 .488 17.154a1.666 1.666 0 1 0 2.357 2.357L10 12.356l7.155 7.155a1.662 1.662 0 0 0 2.718-.54 1.666 1.666 0 0 0-.362-1.817L12.356 10Z" fill="currentColor" /></symbol>'}),y=(a.a.add(g),g),x=new i.a({id:"icons-conversation",use:"icons-conversation-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-conversation"><path d="M10 1C4.718 1 0 4.52 0 9.338a7.35 7.35 0 0 0 1.49 4.416.947.947 0 0 1 .211.617c-.05.934-.39 2.058-.822 3.13-.308.768.33 1.604 1.132 1.404 1.591-.397 3.261-.934 4.32-1.483.237-.123.51-.166.77-.11C14.588 18.924 20 14.293 20 9.339c0-4.844-4.75-8.34-10-8.34Zm-4.167 9.583a1.25 1.25 0 1 1-.001-2.499 1.25 1.25 0 0 1 .001 2.499Zm4.167 0a1.25 1.25 0 1 1-.001-2.499A1.25 1.25 0 0 1 10 10.583Zm4.167 0a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5Z" fill="currentColor" /></symbol>'}),b=(a.a.add(x),x),C=new i.a({id:"icons-dots",use:"icons-dots-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-dots"><path d="M5 9.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm7.5 0A2.501 2.501 0 1 1 7.499 9.5a2.501 2.501 0 0 1 5.003.001Zm7.5 0a2.5 2.5 0 1 1-4.999 0A2.5 2.5 0 0 1 20 9.5Z" fill="currentColor" /><path d="M5 9.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm7.5 0A2.501 2.501 0 1 1 7.499 9.5a2.501 2.501 0 0 1 5.003.001Zm7.5 0a2.5 2.5 0 1 1-4.999 0A2.5 2.5 0 0 1 20 9.5Z" fill="currentColor" /></symbol>'}),B=(a.a.add(C),C),M=new i.a({id:"icons-email",use:"icons-email-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-email"><path d="M18 2H2C.9 2 .01 2.9.01 4L0 16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2Zm0 4-8 5-8-5V4l8 5 8-5v2Z" fill="currentColor" /></symbol>'}),A=(a.a.add(M),M),_=new i.a({id:"icons-favorite",use:"icons-favorite-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-favorite"><path d="m10 19-1.45-1.367C3.4 12.798 0 9.61 0 5.695 0 2.505 2.42 0 5.5 0 7.24 0 8.91.839 10 2.164 11.09.839 12.76 0 14.5 0 17.58 0 20 2.506 20 5.695c0 3.914-3.4 7.103-8.55 11.949L10 19Z" fill="currentColor" /></symbol>'}),E=(a.a.add(_),_),Z=new i.a({id:"icons-facebook",use:"icons-facebook-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-facebook"><path d="M18.125 0H1.875A1.88 1.88 0 0 0 0 1.873v16.25A1.88 1.88 0 0 0 1.875 20H10v-8.75H7.5v-2.5H10V7.5a3.756 3.756 0 0 1 3.75-3.75h2.5v2.5h-2.5c-.688 0-1.25.563-1.25 1.25v1.25h3.75l-.625 2.5H12.5V20h5.625A1.88 1.88 0 0 0 20 18.124V1.874A1.88 1.88 0 0 0 18.125 0Z" fill="currentColor" /></symbol>'}),k=(a.a.add(Z),Z),S=new i.a({id:"icons-invert",use:"icons-invert-usage",viewBox:"0 0 24 24",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="icons-invert"><path d="M20 15.31 23.31 12 20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69ZM12 18V6c3.31 0 6 2.69 6 6s-2.69 6-6 6Z" fill="currentColor" /></symbol>'}),L=(a.a.add(S),S),O=new i.a({id:"icons-link",use:"icons-link-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-link"><path d="M5.668 20a5.633 5.633 0 0 1-4.01-1.662 5.675 5.675 0 0 1 0-8.017l2.457-2.455a1.25 1.25 0 0 1 1.768 1.767l-2.458 2.455a3.175 3.175 0 0 0 0 4.483c1.202 1.198 3.29 1.197 4.484 0l2.458-2.455a1.248 1.248 0 0 1 2.039.405 1.25 1.25 0 0 1-.27 1.362l-2.458 2.455A5.628 5.628 0 0 1 5.668 20ZM15 12.5a1.248 1.248 0 0 1-.883-2.134l2.457-2.455a3.175 3.175 0 0 0 0-4.482c-1.201-1.199-3.289-1.197-4.484 0L9.634 5.884a1.25 1.25 0 0 1-1.769-1.768l2.458-2.455A5.63 5.63 0 0 1 14.333 0c1.513 0 2.938.59 4.01 1.661a5.676 5.676 0 0 1 0 8.017l-2.458 2.455a1.248 1.248 0 0 1-.884.367ZM7.5 13.75a1.25 1.25 0 0 1-.884-2.134l5.002-5a1.25 1.25 0 1 1 1.768 1.768l-5 5a1.25 1.25 0 0 1-.886.366Z" fill="currentColor" /><path d="M5.668 20a5.633 5.633 0 0 1-4.01-1.662 5.675 5.675 0 0 1 0-8.017l2.457-2.455a1.25 1.25 0 0 1 1.768 1.767l-2.458 2.455a3.175 3.175 0 0 0 0 4.483c1.202 1.198 3.29 1.197 4.484 0l2.458-2.455a1.248 1.248 0 0 1 2.039.405 1.25 1.25 0 0 1-.27 1.362l-2.458 2.455A5.628 5.628 0 0 1 5.668 20ZM15 12.5a1.248 1.248 0 0 1-.883-2.134l2.457-2.455a3.175 3.175 0 0 0 0-4.482c-1.201-1.199-3.289-1.197-4.484 0L9.634 5.884a1.25 1.25 0 0 1-1.769-1.768l2.458-2.455A5.63 5.63 0 0 1 14.333 0c1.513 0 2.938.59 4.01 1.661a5.676 5.676 0 0 1 0 8.017l-2.458 2.455a1.248 1.248 0 0 1-.884.367ZM7.5 13.75a1.25 1.25 0 0 1-.884-2.134l5.002-5a1.25 1.25 0 1 1 1.768 1.768l-5 5a1.25 1.25 0 0 1-.886.366Z" fill="currentColor" /></symbol>'}),j=(a.a.add(O),O),H=new i.a({id:"icons-linkedin",use:"icons-linkedin-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-linkedin"><path d="M7.5 7.5h3.459v1.772h.05c.481-.864 1.659-1.773 3.415-1.773 3.651 0 4.326 2.273 4.326 5.23v6.02h-3.606v-5.337c0-1.273-.027-2.911-1.875-2.911-1.878 0-2.165 1.386-2.165 2.818v5.43H7.5V7.5ZM1.25 7.5H5v11.25H1.25V7.5ZM5 4.374a1.876 1.876 0 1 1-3.751-.001A1.876 1.876 0 0 1 5 4.374Z" fill="currentColor" /></symbol>'}),V=(a.a.add(H),H),N=new i.a({id:"icons-messenger",use:"icons-messenger-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-messenger"><path fill-rule="evenodd" clip-rule="evenodd" d="M10 0C4.478 0 0 4.144 0 9.258c0 2.914 1.454 5.513 3.727 7.21v3.53l3.405-1.868c.908.25 1.871.387 2.868.387 5.523 0 10-4.145 10-9.26C20 4.146 15.523 0 10 0Zm.994 12.469L8.448 9.753l-4.97 2.716 5.466-5.803 2.608 2.716 4.908-2.716-5.466 5.803Z" fill="currentColor" /></symbol>'}),T=(a.a.add(N),N),P=new i.a({id:"icons-pdf",use:"icons-pdf-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-pdf"><path d="M12 0H4C2.9 0 2.01.9 2.01 2L2 18c0 1.1.89 2 1.99 2H16c1.1 0 2-.9 2-2V6l-6-6Zm2 16H6v-2h8v2Zm0-4H6v-2h8v2Zm-3-5V1.5L16.5 7H11Z" fill="currentColor" /></symbol>'}),U=(a.a.add(P),P),q=new i.a({id:"icons-printer",use:"icons-printer-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-printer"><path d="M17 6H3C1.34 6 0 7.34 0 9v6h4v4h12v-4h4V9c0-1.66-1.34-3-3-3Zm-3 11H6v-5h8v5Zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1Zm-1-9H4v4h12V1Z" fill="currentColor" /></symbol>'}),G=(a.a.add(q),q),z=new i.a({id:"icons-share",use:"icons-share-usage",viewBox:"0 0 20 20",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-share"><path stroke="currentColor" d="M12 6V2l7 7-7 7v-4.1c-5 0-8.5 1.6-11 5.1C2 12 5 7 12 6Z" /></symbol>'}),D=(a.a.add(z),z),R=new i.a({id:"icons-share-alt",use:"icons-share-alt-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-share-alt"><path d="M16.25 12.5a3.732 3.732 0 0 0-2.596 1.054l-6.2-3.1c.019-.15.046-.298.046-.455 0-.156-.027-.303-.046-.453l6.2-3.102A3.732 3.732 0 0 0 16.25 7.5 3.755 3.755 0 0 0 20 3.75 3.755 3.755 0 0 0 16.25 0a3.755 3.755 0 0 0-3.75 3.75c0 .157.027.304.046.454l-6.2 3.101A3.733 3.733 0 0 0 3.75 6.25 3.755 3.755 0 0 0 0 10a3.755 3.755 0 0 0 3.75 3.75 3.732 3.732 0 0 0 2.596-1.055l6.2 3.102c-.018.15-.046.297-.046.453A3.755 3.755 0 0 0 16.25 20 3.755 3.755 0 0 0 20 16.25a3.755 3.755 0 0 0-3.75-3.75Z" fill="currentColor" /><path d="M16.25 12.5a3.732 3.732 0 0 0-2.596 1.054l-6.2-3.1c.019-.15.046-.298.046-.455 0-.156-.027-.303-.046-.453l6.2-3.102A3.732 3.732 0 0 0 16.25 7.5 3.755 3.755 0 0 0 20 3.75 3.755 3.755 0 0 0 16.25 0a3.755 3.755 0 0 0-3.75 3.75c0 .157.027.304.046.454l-6.2 3.101A3.733 3.733 0 0 0 3.75 6.25 3.755 3.755 0 0 0 0 10a3.755 3.755 0 0 0 3.75 3.75 3.732 3.732 0 0 0 2.596-1.055l6.2 3.102c-.018.15-.046.297-.046.453A3.755 3.755 0 0 0 16.25 20 3.755 3.755 0 0 0 20 16.25a3.755 3.755 0 0 0-3.75-3.75Z" fill="currentColor" /></symbol>'}),I=(a.a.add(R),R),F=new i.a({id:"icons-sms",use:"icons-sms-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-sms"><path d="M18 0H2C.9 0 .01.9.01 2L0 20l4-4h14c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2ZM7 9H5V7h2v2Zm4 0H9V7h2v2Zm4 0h-2V7h2v2Z" fill="currentColor" /></symbol>'}),$=(a.a.add(F),F),W=new i.a({id:"icons-star",use:"icons-star-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-star"><path d="M10 15.27 16.18 19l-1.64-7.03L20 7.24l-7.19-.61L10 0 7.19 6.63 0 7.24l5.46 4.73L3.82 19 10 15.27Z" fill="currentColor" /></symbol>'}),J=(a.a.add(W),W),K=new i.a({id:"icons-swap",use:"icons-swap-usage",viewBox:"0 0 24 24",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="icons-swap"><path d="m18 2 2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2h-4Zm2 12H10V4.4L11.8 8H20v6Z" fill="currentColor" /><path d="M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2v3Z" fill="currentColor" /><path d="M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19Z" fill="currentColor" /></symbol>'}),Q=(a.a.add(K),K),X=new i.a({id:"icons-tick",use:"icons-tick-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-tick"><path d="M6.63 17.718.267 10.884a1.012 1.012 0 0 1 0-1.368L1.552 8.15a.874.874 0 0 1 1.284 0l4.44 4.786 9.885-10.655a.873.873 0 0 1 1.286 0l1.286 1.369a1.007 1.007 0 0 1 0 1.366l-11.82 12.7a.874.874 0 0 1-1.284 0" fill="currentColor" /></symbol>'}),Y=(a.a.add(X),X),tt=new i.a({id:"icons-twitter",use:"icons-twitter-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-twitter"><path d="M20 4.422a8.076 8.076 0 0 1-2.355.645 4.127 4.127 0 0 0 1.805-2.27 8.259 8.259 0 0 1-2.605.996 4.1 4.1 0 0 0-2.996-1.292 4.1 4.1 0 0 0-4.101 4.1c0 .32.035.633.104.935a11.652 11.652 0 0 1-8.457-4.29A4.105 4.105 0 0 0 .84 5.31c0 1.423.723 2.68 1.824 3.414a4.126 4.126 0 0 1-1.86-.511v.051a4.103 4.103 0 0 0 3.292 4.024 4.116 4.116 0 0 1-1.856.071 4.116 4.116 0 0 0 3.832 2.851 8.233 8.233 0 0 1-6.077 1.7 11.608 11.608 0 0 0 6.292 1.843c7.547 0 11.677-6.254 11.677-11.676 0-.18-.004-.355-.011-.532a8.238 8.238 0 0 0 2.046-2.12L20 4.421Z" fill="currentColor" /></symbol>'}),nt=(a.a.add(tt),tt),et=new i.a({id:"icons-whatsapp",use:"icons-whatsapp-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-whatsapp"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.946 2.795A9.85 9.85 0 0 0 9.933-.112C4.47-.112.022 4.335.02 9.801c0 1.747.455 3.452 1.323 4.956l-1.406 5.137 5.255-1.379a9.902 9.902 0 0 0 4.737 1.207h.004c5.464 0 9.911-4.447 9.914-9.913a9.853 9.853 0 0 0-2.901-7.014ZM5.907 10.162c-.123-.166-1.01-1.343-1.01-2.563 0-1.219.64-1.818.866-2.066a.91.91 0 0 1 .66-.31c.166 0 .331.002.475.009.152.007.357-.058.558.425.206.496.701 1.715.763 1.84.063.123.104.268.021.433-.082.165-.124.269-.247.413-.124.145-.26.323-.372.434-.124.124-.253.258-.109.506.145.248.642 1.059 1.378 1.716.946.844 1.744 1.105 1.992 1.23.248.123.392.103.537-.063.144-.165.619-.723.784-.971.165-.248.33-.207.557-.124.228.083 1.445.682 1.693.806.247.124.413.186.475.29.062.103.062.598-.145 1.177-.206.579-1.196 1.107-1.672 1.178-.427.063-.967.09-1.56-.099-.36-.114-.821-.266-1.412-.521-2.485-1.073-4.107-3.575-4.232-3.74Z" fill="currentColor" /></symbol>'}),ot=(a.a.add(et),et),rt=function(t){var n=o[t];return n?'<svg class="novablocks-icon" viewBox="'.concat(n.viewBox,'"><use class="novablocks-icon-symbol" xlink:href="#').concat(n.id,'" /></svg>'):""}}});1 this.novablocks=this.novablocks||{},this.novablocks.icons=function(t){var n={};function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}return e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:o})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(e.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var r in t)e.d(o,r,function(n){return t[n]}.bind(null,r));return o},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=70)}({13:function(t,n,e){(function(n){var e;e=function(){"use strict";var t=function(t){var n=t.id,e=t.viewBox,o=t.content;this.id=n,this.viewBox=e,this.content=o};function e(t,n){return t(n={exports:{}},n.exports),n.exports}t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(n){return delete t[n]}))},"undefined"!=typeof window?window:void 0!==n||"undefined"!=typeof self&&self;var o=e((function(t,n){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function n(n,e){var r;return e&&!0===e.clone&&t(n)?o((r=n,Array.isArray(r)?[]:{}),n,e):n}function e(e,r,i){var s=e.slice();return r.forEach((function(r,a){void 0===s[a]?s[a]=n(r,i):t(r)?s[a]=o(e[a],r,i):-1===e.indexOf(r)&&s.push(n(r,i))})),s}function o(r,i,s){var a=Array.isArray(i),c=(s||{arrayMerge:e}).arrayMerge||e;return a?Array.isArray(r)?c(r,i,s):n(i,s):function(e,r,i){var s={};return t(e)&&Object.keys(e).forEach((function(t){s[t]=n(e[t],i)})),Object.keys(r).forEach((function(a){t(r[a])&&e[a]?s[a]=o(e[a],r[a],i):s[a]=n(r[a],i)})),s}(r,i,s)}return o.all=function(t,n){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,e){return o(t,e,n)}))},o}()})),r=e((function(t,n){n.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=n.default})),i=r.svg,s=r.xlink,a={};a[i.name]=i.uri,a[s.name]=s.uri;var c=function(t,n){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(n){return n+'="'+t[n].toString().replace(/"/g,""")+'"'})).join(" ")}(o(a,n||{}))+">"+t+"</svg>"};return function(t){function n(){t.apply(this,arguments)}t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n;var e={isMounted:{}};return e.isMounted.get=function(){return!!this.node},n.createFromExistingNode=function(t){return new n({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},n.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},n.prototype.mount=function(t){if(this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,e=this.render();return this.node=e,n.appendChild(e),e},n.prototype.render=function(){var t=this.stringify();return function(t){var n=!!document.importNode,e=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return n?document.importNode(e,!0):e}(c(t)).childNodes[0]},n.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(n.prototype,e),n}(t)},t.exports=e()}).call(this,e(27))},14:function(t,n,e){(function(n){var e;e=function(){"use strict";function t(t,n){return t(n={exports:{}},n.exports),n.exports}"undefined"!=typeof window?window:void 0!==n||"undefined"!=typeof self&&self;var e=t((function(t,n){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function n(n,e){var r;return e&&!0===e.clone&&t(n)?o((r=n,Array.isArray(r)?[]:{}),n,e):n}function e(e,r,i){var s=e.slice();return r.forEach((function(r,a){void 0===s[a]?s[a]=n(r,i):t(r)?s[a]=o(e[a],r,i):-1===e.indexOf(r)&&s.push(n(r,i))})),s}function o(r,i,s){var a=Array.isArray(i),c=(s||{arrayMerge:e}).arrayMerge||e;return a?Array.isArray(r)?c(r,i,s):n(i,s):function(e,r,i){var s={};return t(e)&&Object.keys(e).forEach((function(t){s[t]=n(e[t],i)})),Object.keys(r).forEach((function(a){t(r[a])&&e[a]?s[a]=o(e[a],r[a],i):s[a]=n(r[a],i)})),s}(r,i,s)}return o.all=function(t,n){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,e){return o(t,e,n)}))},o}()})),o=t((function(t,n){n.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=n.default})),r=o.svg,i=o.xlink,s={};s[r.name]=r.uri,s[i.name]=i.uri;var a,c=function(t,n){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(n){return n+'="'+t[n].toString().replace(/"/g,""")+'"'})).join(" ")}(e(s,n||{}))+">"+t+"</svg>"},u=o.svg,l=o.xlink,d={attrs:(a={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},a[u.name]=u.uri,a[l.name]=l.uri,a)},f=function(t){this.config=e(d,t||{}),this.symbols=[]};f.prototype.add=function(t){var n=this.symbols,e=this.find(t.id);return e?(n[n.indexOf(e)]=t,!1):(n.push(t),!0)},f.prototype.remove=function(t){var n=this.symbols,e=this.find(t);return!!e&&(n.splice(n.indexOf(e),1),e.destroy(),!0)},f.prototype.find=function(t){return this.symbols.filter((function(n){return n.id===t}))[0]||null},f.prototype.has=function(t){return null!==this.find(t)},f.prototype.stringify=function(){var t=this.config.attrs,n=this.symbols.map((function(t){return t.stringify()})).join("");return c(n,t)},f.prototype.toString=function(){return this.stringify()},f.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var h=function(t){var n=t.id,e=t.viewBox,o=t.content;this.id=n,this.viewBox=e,this.content=o};h.prototype.stringify=function(){return this.content},h.prototype.toString=function(){return this.stringify()},h.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(n){return delete t[n]}))};var p=function(t){var n=!!document.importNode,e=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return n?document.importNode(e,!0):e},v=function(t){function n(){t.apply(this,arguments)}t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n;var e={isMounted:{}};return e.isMounted.get=function(){return!!this.node},n.createFromExistingNode=function(t){return new n({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},n.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},n.prototype.mount=function(t){if(this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,e=this.render();return this.node=e,n.appendChild(e),e},n.prototype.render=function(){var t=this.stringify();return p(c(t)).childNodes[0]},n.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(n.prototype,e),n}(h),w={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},m=function(t){return Array.prototype.slice.call(t,0)},g=function(){return/firefox/i.test(navigator.userAgent)},y=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},x=function(){return/edge/i.test(navigator.userAgent)},b=function(t){return(t||window.location.href).split("#")[0]},C=function(t){angular.module("ng").run(["$rootScope",function(n){n.$on("$locationChangeSuccess",(function(n,e,o){var r,i,s;r=t,i={oldUrl:o,newUrl:e},(s=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,i),window.dispatchEvent(s)}))}])},B=function(t,n){return void 0===n&&(n="linearGradient, radialGradient, pattern, mask, clipPath"),m(t.querySelectorAll("symbol")).forEach((function(t){m(t.querySelectorAll(n)).forEach((function(n){t.parentNode.insertBefore(n,t)}))})),t},M=o.xlink.uri,A=/[{}|\\\^\[\]`"<>]/g;function _(t){return t.replace(A,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}var E,Z=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],k=Z.map((function(t){return"["+t+"]"})).join(","),S=function(t,n,e,o){var r=_(e),i=_(o);(function(t,n){return m(t).reduce((function(t,e){if(!e.attributes)return t;var o=m(e.attributes),r=n?o.filter(n):o;return t.concat(r)}),[])})(t.querySelectorAll(k),(function(t){var n=t.localName,e=t.value;return-1!==Z.indexOf(n)&&-1!==e.indexOf("url("+r)})).forEach((function(t){return t.value=t.value.replace(new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(t,n,e){m(t).forEach((function(t){var o=t.getAttribute("xlink:href");if(o&&0===o.indexOf(n)){var r=o.replace(n,e);t.setAttributeNS(M,"xlink:href",r)}}))}(n,r,i)},L="mount",O="symbol_mount",j=function(t){function n(n){var o=this;void 0===n&&(n={}),t.call(this,e(w,n));var r,i=(r=r||Object.create(null),{on:function(t,n){(r[t]||(r[t]=[])).push(n)},off:function(t,n){r[t]&&r[t].splice(r[t].indexOf(n)>>>0,1)},emit:function(t,n){(r[t]||[]).map((function(t){t(n)})),(r["*"]||[]).map((function(e){e(t,n)}))}});this._emitter=i,this.node=null;var s=this.config;if(s.autoConfigure&&this._autoConfigure(n),s.syncUrlsWithBaseTag){var a=document.getElementsByTagName("base")[0].getAttribute("href");i.on(L,(function(){return o.updateUrls("#",a)}))}var c=this._handleLocationChange.bind(this);this._handleLocationChange=c,s.listenLocationChangeEvent&&window.addEventListener(s.locationChangeEvent,c),s.locationChangeAngularEmitter&&C(s.locationChangeEvent),i.on(L,(function(t){s.moveGradientsOutsideSymbol&&B(t)})),i.on(O,(function(t){var n;s.moveGradientsOutsideSymbol&&B(t.parentNode),(y()||x())&&(n=[],m(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",n.push(t)})))}))}t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n;var o={isMounted:{}};return o.isMounted.get=function(){return!!this.node},n.prototype._autoConfigure=function(t){var n=this.config;void 0===t.syncUrlsWithBaseTag&&(n.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(n.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(n.moveGradientsOutsideSymbol=g())},n.prototype._handleLocationChange=function(t){var n=t.detail,e=n.oldUrl,o=n.newUrl;this.updateUrls(e,o)},n.prototype.add=function(n){var e=t.prototype.add.call(this,n);return this.isMounted&&e&&(n.mount(this.node),this._emitter.emit(O,n.node)),e},n.prototype.attach=function(t){var n=this,e=this;if(e.isMounted)return e.node;var o="string"==typeof t?document.querySelector(t):t;return e.node=o,this.symbols.forEach((function(t){t.mount(e.node),n._emitter.emit(O,t.node)})),m(o.querySelectorAll("symbol")).forEach((function(t){var n=v.createFromExistingNode(t);n.node=t,e.add(n)})),this._emitter.emit(L,o),o},n.prototype.destroy=function(){var t=this.config,n=this.symbols,e=this._emitter;n.forEach((function(t){return t.destroy()})),e.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},n.prototype.mount=function(t,n){if(void 0===t&&(t=this.config.mountTo),void 0===n&&(n=!1),this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,o=this.render();return this.node=o,n&&e.childNodes[0]?e.insertBefore(o,e.childNodes[0]):e.appendChild(o),this._emitter.emit(L,o),o},n.prototype.render=function(){return p(this.stringify())},n.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},n.prototype.updateUrls=function(t,n){if(!this.isMounted)return!1;var e=document.querySelectorAll(this.config.usagesToUpdate);return S(this.node,e,b(t)+"#",b(n)+"#"),!0},Object.defineProperties(n.prototype,o),n}(f),H=t((function(t){var n,e,o,r,i;t.exports=(e=[],o=document,r=o.documentElement.doScroll,(i=(r?/^loaded|^c/:/^loaded|^i|^c/).test(o.readyState))||o.addEventListener("DOMContentLoaded",n=function(){for(o.removeEventListener("DOMContentLoaded",n),i=1;n=e.shift();)n()}),function(t){i?setTimeout(t,0):e.push(t)})}));window.__SVG_SPRITE__?E=window.__SVG_SPRITE__:(E=new j({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=E);var V=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?E.attach(t):E.mount(document.body,!0)};return document.body?V():H(V),E},t.exports=e()}).call(this,e(27))},27:function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},70:function(t,n,e){"use strict";e.r(n),e.d(n,"library",(function(){return o})),e.d(n,"getIcon",(function(){return rt}));var o={};e.r(o),e.d(o,"alignBottom",(function(){return u})),e.d(o,"alignCenter",(function(){return d})),e.d(o,"alignTop",(function(){return h})),e.d(o,"alignment",(function(){return v})),e.d(o,"arrowDown",(function(){return m})),e.d(o,"cancel",(function(){return y})),e.d(o,"conversation",(function(){return b})),e.d(o,"dots",(function(){return B})),e.d(o,"email",(function(){return A})),e.d(o,"favorite",(function(){return E})),e.d(o,"facebook",(function(){return k})),e.d(o,"invert",(function(){return L})),e.d(o,"link",(function(){return j})),e.d(o,"linkedin",(function(){return V})),e.d(o,"messenger",(function(){return T})),e.d(o,"pdf",(function(){return U})),e.d(o,"printer",(function(){return G})),e.d(o,"share",(function(){return D})),e.d(o,"shareAlt",(function(){return I})),e.d(o,"sms",(function(){return $})),e.d(o,"star",(function(){return J})),e.d(o,"swap",(function(){return Q})),e.d(o,"tick",(function(){return Y})),e.d(o,"twitter",(function(){return nt})),e.d(o,"whatsapp",(function(){return ot}));var r=e(13),i=e.n(r),s=e(14),a=e.n(s),c=new i.a({id:"icons-align-bottom",use:"icons-align-bottom-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="icons-align-bottom"><path d="M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z" /></symbol>'}),u=(a.a.add(c),c),l=new i.a({id:"icons-align-center",use:"icons-align-center-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="icons-align-center"><path fill="none" d="M0 0h24v24H0V0z" /><path d="M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z" /></symbol>'}),d=(a.a.add(l),l),f=new i.a({id:"icons-align-top",use:"icons-align-top-usage",viewBox:"0 0 24 24",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="icons-align-top"><path fill="none" d="M0 0h24v24H0V0z" /><path d="M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z" /></symbol>'}),h=(a.a.add(f),f),p=new i.a({id:"icons-alignment",use:"icons-alignment-usage",viewBox:"0 0 24 24",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="icons-alignment"><path d="M15.54 5.54 13.77 7.3 12 5.54 10.23 7.3 8.46 5.54 12 2l3.54 3.54Zm2.92 10-1.76-1.77L18.46 12l-1.76-1.77 1.76-1.77L22 12l-3.54 3.54Zm-10 2.92 1.77-1.76L12 18.46l1.77-1.76 1.77 1.76L12 22l-3.54-3.54Zm-2.92-10 1.76 1.77L5.54 12l1.76 1.77-1.76 1.77L2 12l3.54-3.54ZM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z" fill="currentColor" /></symbol>'}),v=(a.a.add(p),p),w=new i.a({id:"icons-arrow-down",use:"icons-arrow-down-usage",viewBox:"0 0 12 8",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 8" id="icons-arrow-down"><path d="m1 1.5 5 5 5-5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /><path d="m1 1.5 5 5 5-5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /></symbol>'}),m=(a.a.add(w),w),g=new i.a({id:"icons-cancel",use:"icons-cancel-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-cancel"><path d="m12.356 10 7.155-7.156A1.666 1.666 0 0 0 17.155.487L10 7.642 2.845.487A1.666 1.666 0 0 0 .488 2.844L7.643 10 .488 17.154a1.666 1.666 0 1 0 2.357 2.357L10 12.356l7.155 7.155a1.662 1.662 0 0 0 2.718-.54 1.666 1.666 0 0 0-.362-1.817L12.356 10Z" fill="currentColor" /><path d="m12.356 10 7.155-7.156A1.666 1.666 0 0 0 17.155.487L10 7.642 2.845.487A1.666 1.666 0 0 0 .488 2.844L7.643 10 .488 17.154a1.666 1.666 0 1 0 2.357 2.357L10 12.356l7.155 7.155a1.662 1.662 0 0 0 2.718-.54 1.666 1.666 0 0 0-.362-1.817L12.356 10Z" fill="currentColor" /></symbol>'}),y=(a.a.add(g),g),x=new i.a({id:"icons-conversation",use:"icons-conversation-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-conversation"><path d="M10 1C4.718 1 0 4.52 0 9.338a7.35 7.35 0 0 0 1.49 4.416.947.947 0 0 1 .211.617c-.05.934-.39 2.058-.822 3.13-.308.768.33 1.604 1.132 1.404 1.591-.397 3.261-.934 4.32-1.483.237-.123.51-.166.77-.11C14.588 18.924 20 14.293 20 9.339c0-4.844-4.75-8.34-10-8.34Zm-4.167 9.583a1.25 1.25 0 1 1-.001-2.499 1.25 1.25 0 0 1 .001 2.499Zm4.167 0a1.25 1.25 0 1 1-.001-2.499A1.25 1.25 0 0 1 10 10.583Zm4.167 0a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5Z" fill="currentColor" /></symbol>'}),b=(a.a.add(x),x),C=new i.a({id:"icons-dots",use:"icons-dots-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-dots"><path d="M5 9.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm7.5 0A2.501 2.501 0 1 1 7.499 9.5a2.501 2.501 0 0 1 5.003.001Zm7.5 0a2.5 2.5 0 1 1-4.999 0A2.5 2.5 0 0 1 20 9.5Z" fill="currentColor" /><path d="M5 9.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm7.5 0A2.501 2.501 0 1 1 7.499 9.5a2.501 2.501 0 0 1 5.003.001Zm7.5 0a2.5 2.5 0 1 1-4.999 0A2.5 2.5 0 0 1 20 9.5Z" fill="currentColor" /></symbol>'}),B=(a.a.add(C),C),M=new i.a({id:"icons-email",use:"icons-email-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-email"><path d="M18 2H2C.9 2 .01 2.9.01 4L0 16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2Zm0 4-8 5-8-5V4l8 5 8-5v2Z" fill="currentColor" /></symbol>'}),A=(a.a.add(M),M),_=new i.a({id:"icons-favorite",use:"icons-favorite-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-favorite"><path d="m10 19-1.45-1.367C3.4 12.798 0 9.61 0 5.695 0 2.505 2.42 0 5.5 0 7.24 0 8.91.839 10 2.164 11.09.839 12.76 0 14.5 0 17.58 0 20 2.506 20 5.695c0 3.914-3.4 7.103-8.55 11.949L10 19Z" fill="currentColor" /></symbol>'}),E=(a.a.add(_),_),Z=new i.a({id:"icons-facebook",use:"icons-facebook-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-facebook"><path d="M18.125 0H1.875A1.88 1.88 0 0 0 0 1.873v16.25A1.88 1.88 0 0 0 1.875 20H10v-8.75H7.5v-2.5H10V7.5a3.756 3.756 0 0 1 3.75-3.75h2.5v2.5h-2.5c-.688 0-1.25.563-1.25 1.25v1.25h3.75l-.625 2.5H12.5V20h5.625A1.88 1.88 0 0 0 20 18.124V1.874A1.88 1.88 0 0 0 18.125 0Z" fill="currentColor" /></symbol>'}),k=(a.a.add(Z),Z),S=new i.a({id:"icons-invert",use:"icons-invert-usage",viewBox:"0 0 24 24",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="icons-invert"><path d="M20 15.31 23.31 12 20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69ZM12 18V6c3.31 0 6 2.69 6 6s-2.69 6-6 6Z" fill="currentColor" /></symbol>'}),L=(a.a.add(S),S),O=new i.a({id:"icons-link",use:"icons-link-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-link"><path d="M5.668 20a5.633 5.633 0 0 1-4.01-1.662 5.675 5.675 0 0 1 0-8.017l2.457-2.455a1.25 1.25 0 0 1 1.768 1.767l-2.458 2.455a3.175 3.175 0 0 0 0 4.483c1.202 1.198 3.29 1.197 4.484 0l2.458-2.455a1.248 1.248 0 0 1 2.039.405 1.25 1.25 0 0 1-.27 1.362l-2.458 2.455A5.628 5.628 0 0 1 5.668 20ZM15 12.5a1.248 1.248 0 0 1-.883-2.134l2.457-2.455a3.175 3.175 0 0 0 0-4.482c-1.201-1.199-3.289-1.197-4.484 0L9.634 5.884a1.25 1.25 0 0 1-1.769-1.768l2.458-2.455A5.63 5.63 0 0 1 14.333 0c1.513 0 2.938.59 4.01 1.661a5.676 5.676 0 0 1 0 8.017l-2.458 2.455a1.248 1.248 0 0 1-.884.367ZM7.5 13.75a1.25 1.25 0 0 1-.884-2.134l5.002-5a1.25 1.25 0 1 1 1.768 1.768l-5 5a1.25 1.25 0 0 1-.886.366Z" fill="currentColor" /><path d="M5.668 20a5.633 5.633 0 0 1-4.01-1.662 5.675 5.675 0 0 1 0-8.017l2.457-2.455a1.25 1.25 0 0 1 1.768 1.767l-2.458 2.455a3.175 3.175 0 0 0 0 4.483c1.202 1.198 3.29 1.197 4.484 0l2.458-2.455a1.248 1.248 0 0 1 2.039.405 1.25 1.25 0 0 1-.27 1.362l-2.458 2.455A5.628 5.628 0 0 1 5.668 20ZM15 12.5a1.248 1.248 0 0 1-.883-2.134l2.457-2.455a3.175 3.175 0 0 0 0-4.482c-1.201-1.199-3.289-1.197-4.484 0L9.634 5.884a1.25 1.25 0 0 1-1.769-1.768l2.458-2.455A5.63 5.63 0 0 1 14.333 0c1.513 0 2.938.59 4.01 1.661a5.676 5.676 0 0 1 0 8.017l-2.458 2.455a1.248 1.248 0 0 1-.884.367ZM7.5 13.75a1.25 1.25 0 0 1-.884-2.134l5.002-5a1.25 1.25 0 1 1 1.768 1.768l-5 5a1.25 1.25 0 0 1-.886.366Z" fill="currentColor" /></symbol>'}),j=(a.a.add(O),O),H=new i.a({id:"icons-linkedin",use:"icons-linkedin-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-linkedin"><path d="M7.5 7.5h3.459v1.772h.05c.481-.864 1.659-1.773 3.415-1.773 3.651 0 4.326 2.273 4.326 5.23v6.02h-3.606v-5.337c0-1.273-.027-2.911-1.875-2.911-1.878 0-2.165 1.386-2.165 2.818v5.43H7.5V7.5ZM1.25 7.5H5v11.25H1.25V7.5ZM5 4.374a1.876 1.876 0 1 1-3.751-.001A1.876 1.876 0 0 1 5 4.374Z" fill="currentColor" /></symbol>'}),V=(a.a.add(H),H),N=new i.a({id:"icons-messenger",use:"icons-messenger-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-messenger"><path fill-rule="evenodd" clip-rule="evenodd" d="M10 0C4.478 0 0 4.144 0 9.258c0 2.914 1.454 5.513 3.727 7.21v3.53l3.405-1.868c.908.25 1.871.387 2.868.387 5.523 0 10-4.145 10-9.26C20 4.146 15.523 0 10 0Zm.994 12.469L8.448 9.753l-4.97 2.716 5.466-5.803 2.608 2.716 4.908-2.716-5.466 5.803Z" fill="currentColor" /></symbol>'}),T=(a.a.add(N),N),P=new i.a({id:"icons-pdf",use:"icons-pdf-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-pdf"><path d="M12 0H4C2.9 0 2.01.9 2.01 2L2 18c0 1.1.89 2 1.99 2H16c1.1 0 2-.9 2-2V6l-6-6Zm2 16H6v-2h8v2Zm0-4H6v-2h8v2Zm-3-5V1.5L16.5 7H11Z" fill="currentColor" /></symbol>'}),U=(a.a.add(P),P),q=new i.a({id:"icons-printer",use:"icons-printer-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-printer"><path d="M17 6H3C1.34 6 0 7.34 0 9v6h4v4h12v-4h4V9c0-1.66-1.34-3-3-3Zm-3 11H6v-5h8v5Zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1Zm-1-9H4v4h12V1Z" fill="currentColor" /></symbol>'}),G=(a.a.add(q),q),z=new i.a({id:"icons-share",use:"icons-share-usage",viewBox:"0 0 20 20",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-share"><path stroke="currentColor" d="M12 6V2l7 7-7 7v-4.1c-5 0-8.5 1.6-11 5.1C2 12 5 7 12 6Z" /></symbol>'}),D=(a.a.add(z),z),R=new i.a({id:"icons-share-alt",use:"icons-share-alt-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-share-alt"><path d="M16.25 12.5a3.732 3.732 0 0 0-2.596 1.054l-6.2-3.1c.019-.15.046-.298.046-.455 0-.156-.027-.303-.046-.453l6.2-3.102A3.732 3.732 0 0 0 16.25 7.5 3.755 3.755 0 0 0 20 3.75 3.755 3.755 0 0 0 16.25 0a3.755 3.755 0 0 0-3.75 3.75c0 .157.027.304.046.454l-6.2 3.101A3.733 3.733 0 0 0 3.75 6.25 3.755 3.755 0 0 0 0 10a3.755 3.755 0 0 0 3.75 3.75 3.732 3.732 0 0 0 2.596-1.055l6.2 3.102c-.018.15-.046.297-.046.453A3.755 3.755 0 0 0 16.25 20 3.755 3.755 0 0 0 20 16.25a3.755 3.755 0 0 0-3.75-3.75Z" fill="currentColor" /><path d="M16.25 12.5a3.732 3.732 0 0 0-2.596 1.054l-6.2-3.1c.019-.15.046-.298.046-.455 0-.156-.027-.303-.046-.453l6.2-3.102A3.732 3.732 0 0 0 16.25 7.5 3.755 3.755 0 0 0 20 3.75 3.755 3.755 0 0 0 16.25 0a3.755 3.755 0 0 0-3.75 3.75c0 .157.027.304.046.454l-6.2 3.101A3.733 3.733 0 0 0 3.75 6.25 3.755 3.755 0 0 0 0 10a3.755 3.755 0 0 0 3.75 3.75 3.732 3.732 0 0 0 2.596-1.055l6.2 3.102c-.018.15-.046.297-.046.453A3.755 3.755 0 0 0 16.25 20 3.755 3.755 0 0 0 20 16.25a3.755 3.755 0 0 0-3.75-3.75Z" fill="currentColor" /></symbol>'}),I=(a.a.add(R),R),F=new i.a({id:"icons-sms",use:"icons-sms-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-sms"><path d="M18 0H2C.9 0 .01.9.01 2L0 20l4-4h14c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2ZM7 9H5V7h2v2Zm4 0H9V7h2v2Zm4 0h-2V7h2v2Z" fill="currentColor" /></symbol>'}),$=(a.a.add(F),F),W=new i.a({id:"icons-star",use:"icons-star-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-star"><path d="M10 15.27 16.18 19l-1.64-7.03L20 7.24l-7.19-.61L10 0 7.19 6.63 0 7.24l5.46 4.73L3.82 19 10 15.27Z" fill="currentColor" /></symbol>'}),J=(a.a.add(W),W),K=new i.a({id:"icons-swap",use:"icons-swap-usage",viewBox:"0 0 24 24",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="icons-swap"><path d="m18 2 2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2h-4Zm2 12H10V4.4L11.8 8H20v6Z" fill="currentColor" /><path d="M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2v3Z" fill="currentColor" /><path d="M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19Z" fill="currentColor" /></symbol>'}),Q=(a.a.add(K),K),X=new i.a({id:"icons-tick",use:"icons-tick-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-tick"><path d="M6.63 17.718.267 10.884a1.012 1.012 0 0 1 0-1.368L1.552 8.15a.874.874 0 0 1 1.284 0l4.44 4.786 9.885-10.655a.873.873 0 0 1 1.286 0l1.286 1.369a1.007 1.007 0 0 1 0 1.366l-11.82 12.7a.874.874 0 0 1-1.284 0" fill="currentColor" /></symbol>'}),Y=(a.a.add(X),X),tt=new i.a({id:"icons-twitter",use:"icons-twitter-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-twitter"><path d="M20 4.422a8.076 8.076 0 0 1-2.355.645 4.127 4.127 0 0 0 1.805-2.27 8.259 8.259 0 0 1-2.605.996 4.1 4.1 0 0 0-2.996-1.292 4.1 4.1 0 0 0-4.101 4.1c0 .32.035.633.104.935a11.652 11.652 0 0 1-8.457-4.29A4.105 4.105 0 0 0 .84 5.31c0 1.423.723 2.68 1.824 3.414a4.126 4.126 0 0 1-1.86-.511v.051a4.103 4.103 0 0 0 3.292 4.024 4.116 4.116 0 0 1-1.856.071 4.116 4.116 0 0 0 3.832 2.851 8.233 8.233 0 0 1-6.077 1.7 11.608 11.608 0 0 0 6.292 1.843c7.547 0 11.677-6.254 11.677-11.676 0-.18-.004-.355-.011-.532a8.238 8.238 0 0 0 2.046-2.12L20 4.421Z" fill="currentColor" /></symbol>'}),nt=(a.a.add(tt),tt),et=new i.a({id:"icons-whatsapp",use:"icons-whatsapp-usage",viewBox:"0 0 20 20",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="icons-whatsapp"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.946 2.795A9.85 9.85 0 0 0 9.933-.112C4.47-.112.022 4.335.02 9.801c0 1.747.455 3.452 1.323 4.956l-1.406 5.137 5.255-1.379a9.902 9.902 0 0 0 4.737 1.207h.004c5.464 0 9.911-4.447 9.914-9.913a9.853 9.853 0 0 0-2.901-7.014ZM5.907 10.162c-.123-.166-1.01-1.343-1.01-2.563 0-1.219.64-1.818.866-2.066a.91.91 0 0 1 .66-.31c.166 0 .331.002.475.009.152.007.357-.058.558.425.206.496.701 1.715.763 1.84.063.123.104.268.021.433-.082.165-.124.269-.247.413-.124.145-.26.323-.372.434-.124.124-.253.258-.109.506.145.248.642 1.059 1.378 1.716.946.844 1.744 1.105 1.992 1.23.248.123.392.103.537-.063.144-.165.619-.723.784-.971.165-.248.33-.207.557-.124.228.083 1.445.682 1.693.806.247.124.413.186.475.29.062.103.062.598-.145 1.177-.206.579-1.196 1.107-1.672 1.178-.427.063-.967.09-1.56-.099-.36-.114-.821-.266-1.412-.521-2.485-1.073-4.107-3.575-4.232-3.74Z" fill="currentColor" /></symbol>'}),ot=(a.a.add(et),et),rt=function(t){var n=o[t];return n?'<svg class="novablocks-icon" viewBox="'.concat(n.viewBox,'"><use class="novablocks-icon-symbol" xlink:href="#').concat(n.id,'" /></svg>'):""}}}); -
nova-blocks/trunk/build/media-composition/frontend.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('jquery', 'novablocks-utils', 'wp- polyfill'), 'version' => '76953f968a352f94eef311f649562b7c');1 <?php return array('dependencies' => array('jquery', 'novablocks-utils', 'wp-dom-ready', 'wp-polyfill'), 'version' => '8e6e49927793d47e29a9d49061f155b7'); -
nova-blocks/trunk/build/media-composition/frontend.js
r2738702 r2744078 1 !function(t){var e={};function i(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=e,i.d=function(t,e,o){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(o,n,function(e){return t[e]}.bind(null,n));return o},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=33)}([function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=window.novablocks.utils},function(t,e){t.exports=window.jQuery},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,o=new Array(e);i<e;i++)o[i]=t[i];return o},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,i){var o=i(6),n=i(7),r=i(5),a=i(8);t.exports=function(t){return o(t)||n(t)||r(t)||a()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,i){var o=i(3);t.exports=function(t,e){if(t){if("string"==typeof t)return o(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?o(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,i){var o=i(3);t.exports=function(t){if(Array.isArray(t))return o(t)},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0},,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,i){"use strict";var o=i(0)(i(2)),n=i(34);(0,o.default)((function(){(0,o.default)(".novablocks-media-composition").each((function(t,e){var i=(0,o.default)(e),r=i.find(".novablocks-media-composition__grid"),a=i.closest("[data-size-contrast]").data(),s=i.find(".novablocks-media-composition__image").toArray();if(new n.GridItemCollection(s,a).gridItems.map((function(t,e){var i=(0,o.default)(t.image);i.closest(".novablocks-media-composition__grid-item").css(t.getStyle()),i.css(t.getImageStyle())})),r.length){var u=(0,n.getMediaCompositionCSSProps)(a);for(var f in r.css(u),u)0===f.indexOf("--")&&r.get(0).style.setProperty(f,u[f])}})),(0,o.default)(".novablocks-media-composition__grid").each((function(t,e){(0,n.safariHeightFix)(e)}))}))},function(t,e,i){"use strict";var o=i(0);Object.defineProperty(e,"__esModule",{value:!0});var n={getRandomAttributes:!0,getMediaCompositionCSSProps:!0,safariHeightFix:!0};e.safariHeightFix=e.getRandomAttributes=e.getMediaCompositionCSSProps=void 0;var r=o(i(2)),a=i(1),s=i(35);Object.keys(s).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||t in e&&e[t]===s[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}}))}));e.getRandomAttributes=function(){return{sizeContrast:20*(0,a.getRandomBetween)(0,5),positionShift:5*(0,a.getRandomBetween)(0,20),elementsDistance:20*(0,a.getRandomBetween)(0,5),placementVariation:25*(0,a.getRandomBetween)(1,4),stylePreset:"just-my-style"}};e.getMediaCompositionCSSProps=function(t){var e=t.elementsDistance;return{"--nb-media-composition-gap":"".concat(e,"px")}};e.safariHeightFix=function(t){if(a.isSafari){var e=t.parentNode,i=(0,r.default)(t),o=(0,r.default)(e),n=function(){var t=o.outerHeight();i.css("height",t)},s=(0,a.debounce)(n,30);if(n(),void 0!==window.ResizeObserver)new window.ResizeObserver((function(t){s()})).observe(e);else(0,r.default)(window).on("resize",(function(){s()}))}}},function(t,e,i){"use strict";var o=i(0);Object.defineProperty(e,"__esModule",{value:!0}),e.GridItemCollection=e.GridItem=void 0;var n=o(i(4)),r=o(i(36)),a=o(i(37)),s=function(){function t(e,i){(0,r.default)(this,t);var o=i.placementVariation/25-1;this.gridItems=e.map((function(t,o){var n=4*Math.floor(o/4),r=Math.min(n+4,e.length);return new u(t,o,i,r-n==3)})),this.removeExtra(),1!==o&&2!==o||this.flipX(),2!==o&&3!==o||this.flipY()}return(0,a.default)(t,[{key:"removeExtra",value:function(){var t=this.getExtraLeft(),e=this.getExtraTop(),i=this.getExtraBetween();this.gridItems=this.gridItems.map((function(o,n){var r=Math.floor(n/4);return o.x=o.x-t,o.y=o.y-e-r*i,o}))}},{key:"flipX",value:function(){var t=Math.max.apply(Math,(0,n.default)(this.gridItems.map((function(t){return t.x+t.width}))));this.gridItems=this.gridItems.map((function(e,i){return e.x=t-e.x-e.width+1,e}))}},{key:"flipY",value:function(){var t=Math.max.apply(Math,(0,n.default)(this.gridItems.map((function(t){return t.y+t.height}))));this.gridItems=this.gridItems.map((function(e,i){return e.y=t-e.y-e.height+1,e}))}},{key:"getExtraLeft",value:function(){return Math.min.apply(Math,(0,n.default)(this.gridItems.map((function(t){return t.x}))))-1}},{key:"getExtraTop",value:function(){return Math.min.apply(Math,(0,n.default)(this.gridItems.map((function(t){return t.y}))))-1}},{key:"getExtraBetween",value:function(){var t=this.gridItems.slice(0,4);return 40-Math.max.apply(Math,(0,n.default)(t.map((function(t){return t.y+t.height}))))+1}}]),t}();e.GridItemCollection=s;var u=function(){function t(e,i,o,n){(0,r.default)(this,t),this.sizeContrast=o.sizeContrast/20,this.positionShift=o.positionShift/5,this.objectPosition=o.objectPosition,this.imageResizing=o.imageResizing,this.imageRotation=o.imageRotation,this.image=e,this.index=i,this.idx=this.getIndex(i),this.col=this.idx%2,this.row=Math.floor(i/2),n&&(0===i&&(this.positionShift=Math.min(this.positionShift,10)),2===i&&(this.positionShift=Math.max(this.positionShift,10)));var a=this.getOffsets(),s=a.offsetX,u=a.offsetY,f=20-this.sizeContrast*(i%4);this.x=20*this.col+1+s,this.y=20*this.row+1+u,this.width=f,this.height=f}return(0,a.default)(t,[{key:"getOffsets",value:function(){var t=this.row,e=this.col,i=this.index,o=this.sizeContrast,n=this.positionShift,r=i%4*(1-e%2)*o,a=i%4*(1-t%2)*o;return r+=(1-e%2)*(1-t%2)*n,a-=t%2*(1-e%2)*n,{offsetX:r-=e%2*(t%2)*n,offsetY:a+=e%2*(1-t%2)*n}}},{key:"getIndex",value:function(t){return t%4==3?t-1:t%4==2?t+1:t}},{key:"getStyle",value:function(){var t=this.index,e=this.x,i=this.y,o=this.width,n=this.height,r=this.imageRotation,a="rotate(".concat((t%2-.5)*r/10,"deg)");return{gridColumnStart:e+"",gridColumnEnd:"span ".concat(o),gridRowStart:i+"",gridRowEnd:"span ".concat(n),transform:a}}},{key:"getImageStyle",value:function(){var t=this.row,e=this.col,i=this.objectPosition,o=t%2==0?100-i:i;return{objectFit:"cropped"===this.imageResizing?"cover":"scale-down",objectPosition:"".concat(e%2==0?100-i:i,"% ").concat(o,"%")}}}]),t}();e.GridItem=u},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function i(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}t.exports=function(t,e,o){return e&&i(t.prototype,e),o&&i(t,o),t},t.exports.default=t.exports,t.exports.__esModule=!0}]);1 !function(t){var e={};function o(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=t,o.c=e,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(i,n,function(e){return t[e]}.bind(null,n));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=38)}([function(t,e){t.exports=window.novablocks.utils},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=window.wp.domReady},function(t,e){t.exports=window.jQuery},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,i=new Array(e);o<e;o++)i[o]=t[o];return i},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,o){var i=o(7),n=o(8),r=o(6),a=o(9);t.exports=function(t){return i(t)||n(t)||r(t)||a()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,o){var i=o(4);t.exports=function(t,e){if(t){if("string"==typeof t)return i(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?i(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,o){var i=o(4);t.exports=function(t){if(Array.isArray(t))return i(t)},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,o){"use strict";var i=o(1)(o(2)),n=o(0),r=o(39);(0,i.default)((function(){document.querySelectorAll(".novablocks-media-composition").forEach((function(t){var e=t.querySelector(".novablocks-media-composition__grid"),o=t.closest("[data-size-contrast]"),i=(0,n.getAttributes)(o),a=Array.from(t.querySelectorAll(".novablocks-media-composition__image"));if(new r.GridItemCollection(a,i).gridItems.map((function(t,e){var o=t.image.closest(".novablocks-media-composition__grid-item");(0,n.applyCSS)(o,t.getStyle()),(0,n.applyCSS)(t.image,t.getImageStyle())})),e){var s=(0,r.getMediaCompositionCSSProps)(i);(0,n.applyCSS)(e,s)}})),document.querySelectorAll(".novablocks-media-composition__grid").forEach(r.safariHeightFix)}))},function(t,e,o){"use strict";var i=o(1);Object.defineProperty(e,"__esModule",{value:!0});var n={getRandomAttributes:!0,getMediaCompositionCSSProps:!0,safariHeightFix:!0};e.safariHeightFix=e.getRandomAttributes=e.getMediaCompositionCSSProps=void 0;var r=i(o(3)),a=o(0),s=o(40);Object.keys(s).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||t in e&&e[t]===s[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}}))}));e.getRandomAttributes=function(){return{sizeContrast:20*(0,a.getRandomBetween)(0,5),positionShift:5*(0,a.getRandomBetween)(0,20),elementsDistance:20*(0,a.getRandomBetween)(0,5),placementVariation:25*(0,a.getRandomBetween)(1,4),stylePreset:"just-my-style"}};e.getMediaCompositionCSSProps=function(t){var e=t.elementsDistance;return{"--nb-media-composition-gap":"".concat(e,"px")}};e.safariHeightFix=function(t){if(a.isSafari){var e=t.parentNode,o=(0,r.default)(t),i=(0,r.default)(e),n=function(){var t=i.outerHeight();o.css("height",t)},s=(0,a.debounce)(n,30);if(n(),void 0!==window.ResizeObserver)new window.ResizeObserver((function(t){s()})).observe(e);else(0,r.default)(window).on("resize",(function(){s()}))}}},function(t,e,o){"use strict";var i=o(1);Object.defineProperty(e,"__esModule",{value:!0}),e.GridItemCollection=e.GridItem=void 0;var n=i(o(5)),r=i(o(41)),a=i(o(42)),s=function(){function t(e,o){(0,r.default)(this,t);var i=o.placementVariation/25-1;this.gridItems=e.map((function(t,i){var n=4*Math.floor(i/4),r=Math.min(n+4,e.length);return new u(t,i,o,r-n==3)})),this.removeExtra(),1!==i&&2!==i||this.flipX(),2!==i&&3!==i||this.flipY()}return(0,a.default)(t,[{key:"removeExtra",value:function(){var t=this.getExtraLeft(),e=this.getExtraTop(),o=this.getExtraBetween();this.gridItems=this.gridItems.map((function(i,n){var r=Math.floor(n/4);return i.x=i.x-t,i.y=i.y-e-r*o,i}))}},{key:"flipX",value:function(){var t=Math.max.apply(Math,(0,n.default)(this.gridItems.map((function(t){return t.x+t.width}))));this.gridItems=this.gridItems.map((function(e,o){return e.x=t-e.x-e.width+1,e}))}},{key:"flipY",value:function(){var t=Math.max.apply(Math,(0,n.default)(this.gridItems.map((function(t){return t.y+t.height}))));this.gridItems=this.gridItems.map((function(e,o){return e.y=t-e.y-e.height+1,e}))}},{key:"getExtraLeft",value:function(){return Math.min.apply(Math,(0,n.default)(this.gridItems.map((function(t){return t.x}))))-1}},{key:"getExtraTop",value:function(){return Math.min.apply(Math,(0,n.default)(this.gridItems.map((function(t){return t.y}))))-1}},{key:"getExtraBetween",value:function(){var t=this.gridItems.slice(0,4);return 40-Math.max.apply(Math,(0,n.default)(t.map((function(t){return t.y+t.height}))))+1}}]),t}();e.GridItemCollection=s;var u=function(){function t(e,o,i,n){(0,r.default)(this,t),this.sizeContrast=i.sizeContrast/20,this.positionShift=i.positionShift/5,this.objectPosition=i.objectPosition,this.imageResizing=i.imageResizing,this.imageRotation=i.imageRotation,this.image=e,this.index=o,this.idx=this.getIndex(o),this.col=this.idx%2,this.row=Math.floor(o/2),n&&(0===o&&(this.positionShift=Math.min(this.positionShift,10)),2===o&&(this.positionShift=Math.max(this.positionShift,10)));var a=this.getOffsets(),s=a.offsetX,u=a.offsetY,f=20-this.sizeContrast*(o%4);this.x=20*this.col+1+s,this.y=20*this.row+1+u,this.width=f,this.height=f}return(0,a.default)(t,[{key:"getOffsets",value:function(){var t=this.row,e=this.col,o=this.index,i=this.sizeContrast,n=this.positionShift,r=o%4*(1-e%2)*i,a=o%4*(1-t%2)*i;return r+=(1-e%2)*(1-t%2)*n,a-=t%2*(1-e%2)*n,{offsetX:r-=e%2*(t%2)*n,offsetY:a+=e%2*(1-t%2)*n}}},{key:"getIndex",value:function(t){return t%4==3?t-1:t%4==2?t+1:t}},{key:"getStyle",value:function(){var t=this.index,e=this.x,o=this.y,i=this.width,n=this.height,r=this.imageRotation,a="rotate(".concat((t%2-.5)*r/10,"deg)");return{gridColumnStart:e+"",gridColumnEnd:"span ".concat(i),gridRowStart:o+"",gridRowEnd:"span ".concat(n),transform:a}}},{key:"getImageStyle",value:function(){var t=this.row,e=this.col,o=this.objectPosition,i=t%2==0?100-o:o;return{objectFit:"cropped"===this.imageResizing?"cover":"scale-down",objectPosition:"".concat(e%2==0?100-o:o,"% ").concat(i,"%")}}}]),t}();e.GridItem=u},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function o(t,e){for(var o=0;o<e.length;o++){var i=e[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}t.exports=function(t,e,i){return e&&o(t.prototype,e),i&&o(t,i),t},t.exports.default=t.exports,t.exports.__esModule=!0}]); -
nova-blocks/trunk/build/media-composition/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('jquery', 'novablocks-block-editor', 'novablocks-shape-modeling', 'novablocks-utils', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => ' e18397baffcb8eb376445918b311b568');1 <?php return array('dependencies' => array('jquery', 'novablocks-block-editor', 'novablocks-shape-modeling', 'novablocks-utils', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => '02ca4a1caa1137ee8e249f0da35a551c'); -
nova-blocks/trunk/build/media-composition/index.js
r2738702 r2744078 1 this.novablocks=this.novablocks||{},this.novablocks.mediaComposition=function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7 2)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},12:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(20);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var i,o,r=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(r.push(i.value),!t||r.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return r}}(e,t)||Object(i.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},16:function(e,t){e.exports=window.wp.blockEditor},17:function(e,t,n){"use strict";function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}n.d(t,"a",(function(){return i}))},18:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(17);var o=n(20);function r(e){return function(e){if(Array.isArray(e))return Object(i.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},20:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(17);function o(e,t){if(e){if("string"==typeof e)return Object(i.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(i.a)(e,t):void 0}}},21:function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return i}))},22:function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}n.d(t,"a",(function(){return o}))},3:function(e,t){e.exports=window.wp.components},32:function(e,t){e.exports=window.jQuery},36:function(e){e.exports=JSON.parse('{"images":{"type":"array","default":[],"items":{"type":"object"}},"stylePreset":{"type":"string","default":"the-cloud-atlas"},"sizeContrast":{"type":"number","default":0},"positionShift":{"type":"number","default":0},"elementsDistance":{"type":"number","default":20},"placementVariation":{"type":"number","default":25},"imageRotation":{"type":"number","default":0},"imageResizing":{"type":"string","default":"cropped"},"containerHeight":{"type":"number","default":50},"objectPosition":{"type":"number","default":50},"defaultsGenerated":{"type":"boolean","default":false}}')},4:function(e,t){e.exports=window.novablocks.utils},5:function(e,t){e.exports=window.novablocks.blockEditor},50:function(e,t){e.exports=window.novablocks.shapeModeling},6:function(e,t,n){"use strict";function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return i}))},7:function(e,t,n){"use strict";function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return i}))},72:function(e,t,n){"use strict";n.r(t),n.d(t,"BlockControls",(function(){return m})),n.d(t,"MediaCompositionSection",(function(){return k})),n.d(t,"AdvancedGalleryItemMedia",(function(){return S})),n.d(t,"AdvancedGalleryItem",(function(){return I})),n.d(t,"MediaCompositionPlaceholder",(function(){return P})),n.d(t,"MediaCompositionPreview",(function(){return z})),n.d(t,"MediaComposition",(function(){return T})),n.d(t,"GridItemCollection",(function(){return O})),n.d(t,"GridItem",(function(){return _})),n.d(t,"getRandomAttributes",(function(){return j})),n.d(t,"getMediaCompositionCSSProps",(function(){return w})),n.d(t,"safariHeightFix",(function(){return E})),n.d(t,"attributes",(function(){return o}));var i=n(8),o=n(36),r=n(0),a=n(1),c=n(16),l=n(3),s=n(5),u=["image","video"],d=Object(s.withVisibility)("media-composition-block-controls")((function(e){var t=e.onSelectImages,n=e.attributes,i=e.context,o=(null==i?void 0:i.queryId)||!1;if(Number.isFinite(o))return null;var s=((null==n?void 0:n.images)||[]).map((function(e){return e.id}));return Object(r.createElement)(l.ToolbarGroup,{label:Object(a.__)("Media","nova-blocks")},Object(r.createElement)(l.Dropdown,{position:"bottom right",contentClassName:"block-editor-media-replace-flow__options",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(r.createElement)(l.ToolbarButton,{onClick:n,"aria-expanded":t},Object(a.__)("Change Media","nova-blocks"))},renderContent:function(e){e.onClose;return Object(r.createElement)(l.NavigableMenu,null,Object(r.createElement)(c.MediaUpload,{gallery:!0,allowedTypes:u,multiple:!0,value:s,onSelect:t,render:function(e){var t=e.open;return Object(r.createElement)(l.MenuItem,{onClick:t},Object(a.__)("Edit Gallery","nova-blocks"))}}),Object(r.createElement)(c.MediaUpload,{allowedTypes:u,multiple:!0,value:s,onSelect:t,render:function(e){var t=e.open;return Object(r.createElement)(l.MenuItem,{onClick:t},Object(a.__)("Add Video","nova-blocks"))}}))}}))})),m=function(e){return Object(r.createElement)(c.BlockControls,null,Object(r.createElement)(d,e))},p=n(7),b=n(32),f=n.n(b),g=n(4),v=n(18),y=n(21),h=n(22),O=function(){function e(t,n){Object(y.a)(this,e);var i=n.placementVariation/25-1;this.gridItems=t.map((function(e,i){var o=4*Math.floor(i/4),r=Math.min(o+4,t.length);return new _(e,i,n,r-o==3)})),this.removeExtra(),1!==i&&2!==i||this.flipX(),2!==i&&3!==i||this.flipY()}return Object(h.a)(e,[{key:"removeExtra",value:function(){var e=this.getExtraLeft(),t=this.getExtraTop(),n=this.getExtraBetween();this.gridItems=this.gridItems.map((function(i,o){var r=Math.floor(o/4);return i.x=i.x-e,i.y=i.y-t-r*n,i}))}},{key:"flipX",value:function(){var e=Math.max.apply(Math,Object(v.a)(this.gridItems.map((function(e){return e.x+e.width}))));this.gridItems=this.gridItems.map((function(t,n){return t.x=e-t.x-t.width+1,t}))}},{key:"flipY",value:function(){var e=Math.max.apply(Math,Object(v.a)(this.gridItems.map((function(e){return e.y+e.height}))));this.gridItems=this.gridItems.map((function(t,n){return t.y=e-t.y-t.height+1,t}))}},{key:"getExtraLeft",value:function(){return Math.min.apply(Math,Object(v.a)(this.gridItems.map((function(e){return e.x}))))-1}},{key:"getExtraTop",value:function(){return Math.min.apply(Math,Object(v.a)(this.gridItems.map((function(e){return e.y}))))-1}},{key:"getExtraBetween",value:function(){var e=this.gridItems.slice(0,4);return 40-Math.max.apply(Math,Object(v.a)(e.map((function(e){return e.y+e.height}))))+1}}]),e}(),_=function(){function e(t,n,i,o){Object(y.a)(this,e),this.sizeContrast=i.sizeContrast/20,this.positionShift=i.positionShift/5,this.objectPosition=i.objectPosition,this.imageResizing=i.imageResizing,this.imageRotation=i.imageRotation,this.image=t,this.index=n,this.idx=this.getIndex(n),this.col=this.idx%2,this.row=Math.floor(n/2),o&&(0===n&&(this.positionShift=Math.min(this.positionShift,10)),2===n&&(this.positionShift=Math.max(this.positionShift,10)));var r=this.getOffsets(),a=r.offsetX,c=r.offsetY,l=20-this.sizeContrast*(n%4);this.x=20*this.col+1+a,this.y=20*this.row+1+c,this.width=l,this.height=l}return Object(h.a)(e,[{key:"getOffsets",value:function(){var e=this.row,t=this.col,n=this.index,i=this.sizeContrast,o=this.positionShift,r=n%4*(1-t%2)*i,a=n%4*(1-e%2)*i;return r+=(1-t%2)*(1-e%2)*o,a-=e%2*(1-t%2)*o,{offsetX:r-=t%2*(e%2)*o,offsetY:a+=t%2*(1-e%2)*o}}},{key:"getIndex",value:function(e){return e%4==3?e-1:e%4==2?e+1:e}},{key:"getStyle",value:function(){var e=this.index,t=this.x,n=this.y,i=this.width,o=this.height,r=this.imageRotation,a="rotate(".concat((e%2-.5)*r/10,"deg)");return{gridColumnStart:t+"",gridColumnEnd:"span ".concat(i),gridRowStart:n+"",gridRowEnd:"span ".concat(o),transform:a}}},{key:"getImageStyle",value:function(){var e=this.row,t=this.col,n=this.objectPosition,i=e%2==0?100-n:n;return{objectFit:"cropped"===this.imageResizing?"cover":"scale-down",objectPosition:"".concat(t%2==0?100-n:n,"% ").concat(i,"%")}}}]),e}(),j=function(){return{sizeContrast:20*Object(g.getRandomBetween)(0,5),positionShift:5*Object(g.getRandomBetween)(0,20),elementsDistance:20*Object(g.getRandomBetween)(0,5),placementVariation:25*Object(g.getRandomBetween)(1,4),stylePreset:"just-my-style"}},w=function(e){var t=e.elementsDistance;return{"--nb-media-composition-gap":"".concat(t,"px")}},E=function(e){if(g.isSafari){var t=e.parentNode,n=f()(e),i=f()(t),o=function(){var e=i.outerHeight();n.css("height",e)},r=Object(g.debounce)(o,30);if(o(),void 0!==window.ResizeObserver)new window.ResizeObserver((function(e){r()})).observe(t);else f()(window).on("resize",(function(){r()}))}},x=function(e){var t=e.attributes,n=e.setAttributes,i=e.name,o=t.containerHeight,c=t.imageResizing;return["novablocks/supernova","novablocks/supernova-item"].includes(i)?null:Object(r.createElement)(r.Fragment,null,Object(r.createElement)(l.RangeControl,{key:"advanced-gallery-media-aspect-ratio",label:Object(a.__)("Media Aspect Ratio","nova-blocks"),value:o,onChange:function(e){return n({containerHeight:e})},min:0,max:100,step:5}),Object(r.createElement)(l.RadioControl,{key:"advanced-gallery-image-resizing",label:Object(a.__)("Image Resizing","nova-blocks"),selected:c,onChange:function(e){return n({imageResizing:e})},options:[{label:Object(a.__)("Stretch to fill the container","nova-blocks"),value:"cropped"},{label:Object(a.__)("Shrink to fit (no crop)","nova-blocks"),value:"original"}]}))},k=Object(s.withVisibility)("media-composition-section")((function(e){var t=e.clientId,n=e.setAttributes,i=e.attributes,o=Object(s.useSettings)(),c=i.sizeContrast,u=i.positionShift,d=i.elementsDistance,m=i.placementVariation,b=i.imageResizing,f=i.objectPosition,g=i.imageRotation;return Object(r.createElement)(s.ControlsSection,{id:"media-composition",label:Object(a.__)("Media Composition","nova-blocks"),group:Object(a.__)("Card Anatomy","nova-blocks"),order:15,key:t+"_media-composition-controls-section"},Object(r.createElement)(s.ControlsTab,{label:Object(a.__)("Presets","nova-blocks"),key:"media_composition_presets"},Object(r.createElement)(s.Notice,{key:"advanced-gallery-quick-start",id:"novablocks-media-composition-quick-start",content:Object(r.createElement)("p",null,Object(r.createElement)("strong",null,Object(a.__)("Quick start:","nova-blocks"))," ",Object(a.__)("Set up your gallery layout using the presets list below and use the Customize tab to fine-tune the details.","nova-blocks")),dismissLabel:Object(a.__)("✔ Ok, I got it!","nova-blocks")}),Object(r.createElement)(s.PresetControl,Object(p.a)({key:"advanced-gallery-style-preset",options:o.advancedGalleryPresetOptions,randomize:j},e))),Object(r.createElement)(s.ControlsTab,{label:Object(a.__)("Customize","nova-blocks"),key:"media_composition_customize"},Object(r.createElement)(l.RangeControl,{key:"advanced-gallery-crop-style",label:Object(a.__)("Images Crop Style","nova-blocks"),value:"cropped"===b?2:1,onChange:function(e){n({imageResizing:2===e?"cropped":"original"})},min:1,max:2,step:1})),Object(r.createElement)(s.ControlsTab,{label:Object(a.__)("Settings","nova-blocks"),key:"media_composition_settings"},Object(r.createElement)(s.ControlsGroup,{title:Object(a.__)("Gallery","nova-blocks")},Object(r.createElement)(l.RangeControl,{key:"advanced-gallery-size-contrast",label:Object(a.__)("Size Contrast","nova-blocks"),value:c,onChange:function(e){return n({sizeContrast:e})},min:0,max:100,step:20}),Object(r.createElement)(l.RangeControl,{key:"advanced-gallery-position-shift",label:Object(a.__)("Position Shift","nova-blocks"),value:u,onChange:function(e){return n({positionShift:e})},min:0,max:100,step:5}),Object(r.createElement)(l.RangeControl,{key:"advanced-gallery-elements-distance",label:Object(a.__)("Elements Distance","nova-blocks"),value:d,onChange:function(e){return n({elementsDistance:e})},min:0,max:100,step:20}),Object(r.createElement)(l.RangeControl,{key:"advanced-gallery-placement-variation",label:Object(a.__)("Placement Variation","nova-blocks"),value:m,onChange:function(e){return n({placementVariation:e})},min:25,max:100,step:25}),Object(r.createElement)(l.RangeControl,{key:"advanced-gallery-image-rotation",label:Object(a.__)("Image Rotation","nova-blocks"),value:g,onChange:function(e){return n({imageRotation:e})},min:0,max:100,step:10})),Object(r.createElement)(s.ControlsGroup,{title:Object(a.__)("Display","nova-blocks")},Object(r.createElement)(x,e),Object(r.createElement)(l.RangeControl,{key:"advanced-gallery-image-position",label:Object(a.__)("Image Position","nova-blocks"),value:f,onChange:function(e){return n({objectPosition:e})},min:0,max:100,step:10}))))})),C=n(50),S=Object(C.withShapeModelingDecoration)((function(e){var t,n,i=e.gridItem,o=null==i?void 0:i.image,a=(null==o||null===(t=o.sizes)||void 0===t||null===(n=t.novablocks_medium)||void 0===n?void 0:n.url)||(null==o?void 0:o.url),c=i.getImageStyle();return Object(r.createElement)(r.Fragment,null,"video"!==o.type&&Object(r.createElement)("img",{className:"novablocks-media-composition__image",src:a,alt:null==o?void 0:o.alt,style:c}),"video"===o.type&&Object(r.createElement)("video",{muted:!0,autoPlay:!0,loop:!0,playsInline:!0,className:"novablocks-media-composition__image",style:c,src:o.url}))}));function M(e){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var I=function(e){var t=e.gridItem,n=e.attributes,i=null==t?void 0:t.image,o=null==i?void 0:i.caption,a=null==i?void 0:i.description;if(i){var c=n.showDescription,l=void 0!==c&&c,s="string"==typeof o&&!!o,u="string"==typeof a&&!!a;return Object(r.createElement)("div",{className:"novablocks-media-composition__grid-item",style:t.getStyle()},Object(r.createElement)("div",{className:"novablocks-media-composition__grid-item-media"},Object(r.createElement)(S,Object(p.a)({},e,{seedOffset:null==e?void 0:e.index}))),l&&(s||u)&&Object(r.createElement)("div",{className:"novablocks-media-composition__grid-item-info"},s&&Object(r.createElement)("div",{className:"novablocks-media-composition__grid-item-caption",dangerouslySetInnerHTML:{__html:o}}),M(u)&&Object(r.createElement)("div",{className:"novablocks-media-composition__grid-item-description",dangerouslySetInnerHTML:{__html:a}})))}},P=function(e){var t=e.attributes,n=e.onSelectImages,i=null==t?void 0:t.images;return(!i||!i.length)&&Object(r.createElement)(c.MediaPlaceholder,{icon:Object(r.createElement)(c.BlockIcon,{icon:"format-gallery"}),allowedTypes:["image","video"],multiple:!0,onSelect:n})},R=n(12),z=function(e){var t=e.attributes,n=e.onSelectImages,i=(null==t?void 0:t.images)||[],o=i.map((function(e){return e.id}));if(!i||!i.length)return Object(r.createElement)(P,e);var l=Object(r.useState)(0),s=Object(R.a)(l,2),u=s[0],d=s[1],m=Object(r.useRef)(null);Object(r.useEffect)((function(){d(m.current?m.current.clientHeight:0)}));var b=new O(i,t),f=w(t);return g.isSafari&&Object.assign(f,{height:u}),Object(r.createElement)(c.MediaUpload,{gallery:!0,allowedTypes:["image","video"],multiple:!0,onSelect:n,value:o,render:function(t){var n=t.open;return Object(r.createElement)("div",{className:"novablocks-media-composition",ref:m},Object(r.createElement)("div",{className:"novablocks-media-composition__media-edit novablocks-change-media-overlay",onClick:n},Object(r.createElement)("span",null,Object(a.__)("Change Media","nova-blocks"))),Object(r.createElement)("div",{className:"novablocks-media-composition__grid",style:f},b.gridItems.map((function(t,n){return Object(r.createElement)(I,Object(p.a)({gridItem:t,key:"gallery_item_"+n,index:n},e))}))))}})},T=function(e){return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(z,e),Object(r.createElement)(m,e),Object(r.createElement)(k,e))},B=n(6);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){Object(B.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=function(e){var t,n,i=null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n?void 0:n.mediaComposition;return!0!==i&&!0!==(null==i?void 0:i.attributes)?e:N(N({},e),{},{attributes:N(N({},e.attributes),o)})},F=n(9),G=Object(F.createHigherOrderComponent)((function(e){return function(t){var n,i,o,a=Object(s.useSupports)(t.name);return!0!==(null==a||null===(n=a.novaBlocks)||void 0===n?void 0:n.mediaComposition)&&!0!==(null==a||null===(i=a.novaBlocks)||void 0===i||null===(o=i.mediaComposition)||void 0===o?void 0:o.controls)?Object(r.createElement)(e,t):Object(r.createElement)(r.Fragment,null,Object(r.createElement)(k,t),Object(r.createElement)(e,t))}}),"withMediaCompositionControls"),H=Object(F.createHigherOrderComponent)((function(e){return function(t){var n,i,o,a=Object(s.useSupports)(t.name);return!0!==(null==a||null===(n=a.novaBlocks)||void 0===n?void 0:n.mediaComposition)&&!0!==(null==a||null===(i=a.novaBlocks)||void 0===i||null===(o=i.mediaComposition)||void 0===o?void 0:o.blockControls)?Object(r.createElement)(e,t):Object(r.createElement)(r.Fragment,null,Object(r.createElement)(m,t),Object(r.createElement)(e,t))}}),"withMediaCompositionControls"),V=Object(F.createHigherOrderComponent)((function(e){return function(t){var n,i=Object(s.useSupports)(t.name),o=t.attributes,a=t.style?t.style:{};return null!=i&&null!==(n=i.novaBlocks)&&void 0!==n&&n.mediaComposition&&Object.assign(a,w(o)),Object(r.createElement)(e,Object(p.a)({},t,{style:a}))}}),"withMediaCompositionEditCustomProps");Object(i.addFilter)("blocks.registerBlockType","novablocks/with-media-composition-attributes",D),Object(i.addFilter)("editor.BlockEdit","novablocks/with-media-composition-controls",G),Object(i.addFilter)("editor.BlockEdit","novablocks/with-media-composition-block-controls",H),Object(i.addFilter)("editor.BlockEdit","novablocks/with-media-composition-edit-custom-props",V);t.default=T},8:function(e,t){e.exports=window.wp.hooks},9:function(e,t){e.exports=window.wp.compose}});1 this.novablocks=this.novablocks||{},this.novablocks.mediaComposition=function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=74)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},12:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(20);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var i,o,r=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(r.push(i.value),!t||r.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return r}}(e,t)||Object(i.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},16:function(e,t){e.exports=window.wp.blockEditor},17:function(e,t,n){"use strict";function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}n.d(t,"a",(function(){return i}))},18:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(17);var o=n(20);function r(e){return function(e){if(Array.isArray(e))return Object(i.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},20:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(17);function o(e,t){if(e){if("string"==typeof e)return Object(i.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(i.a)(e,t):void 0}}},21:function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return i}))},22:function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}n.d(t,"a",(function(){return o}))},3:function(e,t){e.exports=window.wp.components},32:function(e,t){e.exports=window.jQuery},37:function(e){e.exports=JSON.parse('{"images":{"type":"array","default":[],"items":{"type":"object"}},"stylePreset":{"type":"string","default":"the-cloud-atlas"},"sizeContrast":{"type":"number","default":0},"positionShift":{"type":"number","default":0},"elementsDistance":{"type":"number","default":20},"placementVariation":{"type":"number","default":25},"imageRotation":{"type":"number","default":0},"imageResizing":{"type":"string","default":"cropped"},"containerHeight":{"type":"number","default":50},"objectPosition":{"type":"number","default":50},"defaultsGenerated":{"type":"boolean","default":false}}')},4:function(e,t){e.exports=window.novablocks.utils},5:function(e,t){e.exports=window.novablocks.blockEditor},51:function(e,t){e.exports=window.novablocks.shapeModeling},6:function(e,t,n){"use strict";function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return i}))},7:function(e,t,n){"use strict";function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return i}))},74:function(e,t,n){"use strict";n.r(t),n.d(t,"BlockControls",(function(){return m})),n.d(t,"MediaCompositionSection",(function(){return k})),n.d(t,"AdvancedGalleryItemMedia",(function(){return S})),n.d(t,"AdvancedGalleryItem",(function(){return I})),n.d(t,"MediaCompositionPlaceholder",(function(){return P})),n.d(t,"MediaCompositionPreview",(function(){return z})),n.d(t,"MediaComposition",(function(){return T})),n.d(t,"GridItemCollection",(function(){return O})),n.d(t,"GridItem",(function(){return _})),n.d(t,"getRandomAttributes",(function(){return j})),n.d(t,"getMediaCompositionCSSProps",(function(){return w})),n.d(t,"safariHeightFix",(function(){return E})),n.d(t,"attributes",(function(){return o}));var i=n(8),o=n(37),r=n(0),a=n(1),c=n(16),l=n(3),s=n(5),u=["image","video"],d=Object(s.withVisibility)("media-composition-block-controls")((function(e){var t=e.onSelectImages,n=e.attributes,i=e.context,o=(null==i?void 0:i.queryId)||!1;if(Number.isFinite(o))return null;var s=((null==n?void 0:n.images)||[]).map((function(e){return e.id}));return Object(r.createElement)(l.ToolbarGroup,{label:Object(a.__)("Media","nova-blocks")},Object(r.createElement)(l.Dropdown,{position:"bottom right",contentClassName:"block-editor-media-replace-flow__options",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(r.createElement)(l.ToolbarButton,{onClick:n,"aria-expanded":t},Object(a.__)("Change Media","nova-blocks"))},renderContent:function(e){e.onClose;return Object(r.createElement)(l.NavigableMenu,null,Object(r.createElement)(c.MediaUpload,{gallery:!0,allowedTypes:u,multiple:!0,value:s,onSelect:t,render:function(e){var t=e.open;return Object(r.createElement)(l.MenuItem,{onClick:t},Object(a.__)("Edit Gallery","nova-blocks"))}}),Object(r.createElement)(c.MediaUpload,{allowedTypes:u,multiple:!0,value:s,onSelect:t,render:function(e){var t=e.open;return Object(r.createElement)(l.MenuItem,{onClick:t},Object(a.__)("Add Video","nova-blocks"))}}))}}))})),m=function(e){return Object(r.createElement)(c.BlockControls,null,Object(r.createElement)(d,e))},p=n(7),b=n(32),f=n.n(b),g=n(4),v=n(18),y=n(21),h=n(22),O=function(){function e(t,n){Object(y.a)(this,e);var i=n.placementVariation/25-1;this.gridItems=t.map((function(e,i){var o=4*Math.floor(i/4),r=Math.min(o+4,t.length);return new _(e,i,n,r-o==3)})),this.removeExtra(),1!==i&&2!==i||this.flipX(),2!==i&&3!==i||this.flipY()}return Object(h.a)(e,[{key:"removeExtra",value:function(){var e=this.getExtraLeft(),t=this.getExtraTop(),n=this.getExtraBetween();this.gridItems=this.gridItems.map((function(i,o){var r=Math.floor(o/4);return i.x=i.x-e,i.y=i.y-t-r*n,i}))}},{key:"flipX",value:function(){var e=Math.max.apply(Math,Object(v.a)(this.gridItems.map((function(e){return e.x+e.width}))));this.gridItems=this.gridItems.map((function(t,n){return t.x=e-t.x-t.width+1,t}))}},{key:"flipY",value:function(){var e=Math.max.apply(Math,Object(v.a)(this.gridItems.map((function(e){return e.y+e.height}))));this.gridItems=this.gridItems.map((function(t,n){return t.y=e-t.y-t.height+1,t}))}},{key:"getExtraLeft",value:function(){return Math.min.apply(Math,Object(v.a)(this.gridItems.map((function(e){return e.x}))))-1}},{key:"getExtraTop",value:function(){return Math.min.apply(Math,Object(v.a)(this.gridItems.map((function(e){return e.y}))))-1}},{key:"getExtraBetween",value:function(){var e=this.gridItems.slice(0,4);return 40-Math.max.apply(Math,Object(v.a)(e.map((function(e){return e.y+e.height}))))+1}}]),e}(),_=function(){function e(t,n,i,o){Object(y.a)(this,e),this.sizeContrast=i.sizeContrast/20,this.positionShift=i.positionShift/5,this.objectPosition=i.objectPosition,this.imageResizing=i.imageResizing,this.imageRotation=i.imageRotation,this.image=t,this.index=n,this.idx=this.getIndex(n),this.col=this.idx%2,this.row=Math.floor(n/2),o&&(0===n&&(this.positionShift=Math.min(this.positionShift,10)),2===n&&(this.positionShift=Math.max(this.positionShift,10)));var r=this.getOffsets(),a=r.offsetX,c=r.offsetY,l=20-this.sizeContrast*(n%4);this.x=20*this.col+1+a,this.y=20*this.row+1+c,this.width=l,this.height=l}return Object(h.a)(e,[{key:"getOffsets",value:function(){var e=this.row,t=this.col,n=this.index,i=this.sizeContrast,o=this.positionShift,r=n%4*(1-t%2)*i,a=n%4*(1-e%2)*i;return r+=(1-t%2)*(1-e%2)*o,a-=e%2*(1-t%2)*o,{offsetX:r-=t%2*(e%2)*o,offsetY:a+=t%2*(1-e%2)*o}}},{key:"getIndex",value:function(e){return e%4==3?e-1:e%4==2?e+1:e}},{key:"getStyle",value:function(){var e=this.index,t=this.x,n=this.y,i=this.width,o=this.height,r=this.imageRotation,a="rotate(".concat((e%2-.5)*r/10,"deg)");return{gridColumnStart:t+"",gridColumnEnd:"span ".concat(i),gridRowStart:n+"",gridRowEnd:"span ".concat(o),transform:a}}},{key:"getImageStyle",value:function(){var e=this.row,t=this.col,n=this.objectPosition,i=e%2==0?100-n:n;return{objectFit:"cropped"===this.imageResizing?"cover":"scale-down",objectPosition:"".concat(t%2==0?100-n:n,"% ").concat(i,"%")}}}]),e}(),j=function(){return{sizeContrast:20*Object(g.getRandomBetween)(0,5),positionShift:5*Object(g.getRandomBetween)(0,20),elementsDistance:20*Object(g.getRandomBetween)(0,5),placementVariation:25*Object(g.getRandomBetween)(1,4),stylePreset:"just-my-style"}},w=function(e){var t=e.elementsDistance;return{"--nb-media-composition-gap":"".concat(t,"px")}},E=function(e){if(g.isSafari){var t=e.parentNode,n=f()(e),i=f()(t),o=function(){var e=i.outerHeight();n.css("height",e)},r=Object(g.debounce)(o,30);if(o(),void 0!==window.ResizeObserver)new window.ResizeObserver((function(e){r()})).observe(t);else f()(window).on("resize",(function(){r()}))}},x=function(e){var t=e.attributes,n=e.setAttributes,i=e.name,o=t.containerHeight,c=t.imageResizing;return["novablocks/supernova","novablocks/supernova-item"].includes(i)?null:Object(r.createElement)(r.Fragment,null,Object(r.createElement)(l.RangeControl,{key:"advanced-gallery-media-aspect-ratio",label:Object(a.__)("Media Aspect Ratio","nova-blocks"),value:o,onChange:function(e){return n({containerHeight:e})},min:0,max:100,step:5}),Object(r.createElement)(l.RadioControl,{key:"advanced-gallery-image-resizing",label:Object(a.__)("Image Resizing","nova-blocks"),selected:c,onChange:function(e){return n({imageResizing:e})},options:[{label:Object(a.__)("Stretch to fill the container","nova-blocks"),value:"cropped"},{label:Object(a.__)("Shrink to fit (no crop)","nova-blocks"),value:"original"}]}))},k=Object(s.withVisibility)("media-composition-section")((function(e){var t=e.clientId,n=e.setAttributes,i=e.attributes,o=Object(s.useSettings)(),c=i.sizeContrast,u=i.positionShift,d=i.elementsDistance,m=i.placementVariation,b=i.imageResizing,f=i.objectPosition,g=i.imageRotation;return Object(r.createElement)(s.ControlsSection,{id:"media-composition",label:Object(a.__)("Media Composition","nova-blocks"),group:Object(a.__)("Card Anatomy","nova-blocks"),order:15,key:t+"_media-composition-controls-section"},Object(r.createElement)(s.ControlsTab,{label:Object(a.__)("Presets","nova-blocks"),key:"media_composition_presets"},Object(r.createElement)(s.Notice,{key:"advanced-gallery-quick-start",id:"novablocks-media-composition-quick-start",content:Object(r.createElement)("p",null,Object(r.createElement)("strong",null,Object(a.__)("Quick start:","nova-blocks"))," ",Object(a.__)("Set up your gallery layout using the presets list below and use the Customize tab to fine-tune the details.","nova-blocks")),dismissLabel:Object(a.__)("✔ Ok, I got it!","nova-blocks")}),Object(r.createElement)(s.PresetControl,Object(p.a)({key:"advanced-gallery-style-preset",options:o.advancedGalleryPresetOptions,randomize:j},e))),Object(r.createElement)(s.ControlsTab,{label:Object(a.__)("Customize","nova-blocks"),key:"media_composition_customize"},Object(r.createElement)(l.RangeControl,{key:"advanced-gallery-crop-style",label:Object(a.__)("Images Crop Style","nova-blocks"),value:"cropped"===b?2:1,onChange:function(e){n({imageResizing:2===e?"cropped":"original"})},min:1,max:2,step:1})),Object(r.createElement)(s.ControlsTab,{label:Object(a.__)("Settings","nova-blocks"),key:"media_composition_settings"},Object(r.createElement)(s.ControlsGroup,{title:Object(a.__)("Gallery","nova-blocks")},Object(r.createElement)(l.RangeControl,{key:"advanced-gallery-size-contrast",label:Object(a.__)("Size Contrast","nova-blocks"),value:c,onChange:function(e){return n({sizeContrast:e})},min:0,max:100,step:20}),Object(r.createElement)(l.RangeControl,{key:"advanced-gallery-position-shift",label:Object(a.__)("Position Shift","nova-blocks"),value:u,onChange:function(e){return n({positionShift:e})},min:0,max:100,step:5}),Object(r.createElement)(l.RangeControl,{key:"advanced-gallery-elements-distance",label:Object(a.__)("Elements Distance","nova-blocks"),value:d,onChange:function(e){return n({elementsDistance:e})},min:0,max:100,step:20}),Object(r.createElement)(l.RangeControl,{key:"advanced-gallery-placement-variation",label:Object(a.__)("Placement Variation","nova-blocks"),value:m,onChange:function(e){return n({placementVariation:e})},min:25,max:100,step:25}),Object(r.createElement)(l.RangeControl,{key:"advanced-gallery-image-rotation",label:Object(a.__)("Image Rotation","nova-blocks"),value:g,onChange:function(e){return n({imageRotation:e})},min:0,max:100,step:10})),Object(r.createElement)(s.ControlsGroup,{title:Object(a.__)("Display","nova-blocks")},Object(r.createElement)(x,e),Object(r.createElement)(l.RangeControl,{key:"advanced-gallery-image-position",label:Object(a.__)("Image Position","nova-blocks"),value:f,onChange:function(e){return n({objectPosition:e})},min:0,max:100,step:10}))))})),C=n(51),S=Object(C.withShapeModelingDecoration)((function(e){var t,n,i=e.gridItem,o=null==i?void 0:i.image,a=(null==o||null===(t=o.sizes)||void 0===t||null===(n=t.novablocks_medium)||void 0===n?void 0:n.url)||(null==o?void 0:o.url),c=i.getImageStyle();return Object(r.createElement)(r.Fragment,null,"video"!==o.type&&Object(r.createElement)("img",{className:"novablocks-media-composition__image",src:a,alt:null==o?void 0:o.alt,style:c}),"video"===o.type&&Object(r.createElement)("video",{muted:!0,autoPlay:!0,loop:!0,playsInline:!0,className:"novablocks-media-composition__image",style:c,src:o.url}))}));function M(e){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var I=function(e){var t=e.gridItem,n=e.attributes,i=null==t?void 0:t.image,o=null==i?void 0:i.caption,a=null==i?void 0:i.description;if(i){var c=n.showDescription,l=void 0!==c&&c,s="string"==typeof o&&!!o,u="string"==typeof a&&!!a;return Object(r.createElement)("div",{className:"novablocks-media-composition__grid-item",style:t.getStyle()},Object(r.createElement)("div",{className:"novablocks-media-composition__grid-item-media"},Object(r.createElement)(S,Object(p.a)({},e,{seedOffset:null==e?void 0:e.index}))),l&&(s||u)&&Object(r.createElement)("div",{className:"novablocks-media-composition__grid-item-info"},s&&Object(r.createElement)("div",{className:"novablocks-media-composition__grid-item-caption",dangerouslySetInnerHTML:{__html:o}}),M(u)&&Object(r.createElement)("div",{className:"novablocks-media-composition__grid-item-description",dangerouslySetInnerHTML:{__html:a}})))}},P=function(e){var t=e.attributes,n=e.onSelectImages,i=null==t?void 0:t.images;return(!i||!i.length)&&Object(r.createElement)(c.MediaPlaceholder,{icon:Object(r.createElement)(c.BlockIcon,{icon:"format-gallery"}),allowedTypes:["image","video"],multiple:!0,onSelect:n})},R=n(12),z=function(e){var t=e.attributes,n=e.onSelectImages,i=(null==t?void 0:t.images)||[],o=i.map((function(e){return e.id}));if(!i||!i.length)return Object(r.createElement)(P,e);var l=Object(r.useState)(0),s=Object(R.a)(l,2),u=s[0],d=s[1],m=Object(r.useRef)(null);Object(r.useEffect)((function(){d(m.current?m.current.clientHeight:0)}));var b=new O(i,t),f=w(t);return g.isSafari&&Object.assign(f,{height:u}),Object(r.createElement)(c.MediaUpload,{gallery:!0,allowedTypes:["image","video"],multiple:!0,onSelect:n,value:o,render:function(t){var n=t.open;return Object(r.createElement)("div",{className:"novablocks-media-composition",ref:m},Object(r.createElement)("div",{className:"novablocks-media-composition__media-edit novablocks-change-media-overlay",onClick:n},Object(r.createElement)("span",null,Object(a.__)("Change Media","nova-blocks"))),Object(r.createElement)("div",{className:"novablocks-media-composition__grid",style:f},b.gridItems.map((function(t,n){return Object(r.createElement)(I,Object(p.a)({gridItem:t,key:"gallery_item_"+n,index:n},e))}))))}})},T=function(e){return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(z,e),Object(r.createElement)(m,e),Object(r.createElement)(k,e))},B=n(6);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){Object(B.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=function(e){var t,n,i=null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n?void 0:n.mediaComposition;return!0!==i&&!0!==(null==i?void 0:i.attributes)?e:N(N({},e),{},{attributes:N(N({},e.attributes),o)})},F=n(9),G=Object(F.createHigherOrderComponent)((function(e){return function(t){var n,i,o,a=Object(s.useSupports)(t.name);return!0!==(null==a||null===(n=a.novaBlocks)||void 0===n?void 0:n.mediaComposition)&&!0!==(null==a||null===(i=a.novaBlocks)||void 0===i||null===(o=i.mediaComposition)||void 0===o?void 0:o.controls)?Object(r.createElement)(e,t):Object(r.createElement)(r.Fragment,null,Object(r.createElement)(k,t),Object(r.createElement)(e,t))}}),"withMediaCompositionControls"),H=Object(F.createHigherOrderComponent)((function(e){return function(t){var n,i,o,a=Object(s.useSupports)(t.name);return!0!==(null==a||null===(n=a.novaBlocks)||void 0===n?void 0:n.mediaComposition)&&!0!==(null==a||null===(i=a.novaBlocks)||void 0===i||null===(o=i.mediaComposition)||void 0===o?void 0:o.blockControls)?Object(r.createElement)(e,t):Object(r.createElement)(r.Fragment,null,Object(r.createElement)(m,t),Object(r.createElement)(e,t))}}),"withMediaCompositionControls"),V=Object(F.createHigherOrderComponent)((function(e){return function(t){var n,i=Object(s.useSupports)(t.name),o=t.attributes,a=t.style?t.style:{};return null!=i&&null!==(n=i.novaBlocks)&&void 0!==n&&n.mediaComposition&&Object.assign(a,w(o)),Object(r.createElement)(e,Object(p.a)({},t,{style:a}))}}),"withMediaCompositionEditCustomProps");Object(i.addFilter)("blocks.registerBlockType","novablocks/with-media-composition-attributes",D),Object(i.addFilter)("editor.BlockEdit","novablocks/with-media-composition-controls",G),Object(i.addFilter)("editor.BlockEdit","novablocks/with-media-composition-block-controls",H),Object(i.addFilter)("editor.BlockEdit","novablocks/with-media-composition-edit-custom-props",V);t.default=T},8:function(e,t){e.exports=window.wp.hooks},9:function(e,t){e.exports=window.wp.compose}}); -
nova-blocks/trunk/build/scrolling-effect/editor-styles-rtl.css
r2710156 r2744078 1 .novablocks-focal-point-picker .components-focal-point-picker_position-display-container{display:none}.novablocks-focal-point-picker .components-focal-point-picker-wrapper{overflow:hidden}.novablocks-focal-point-picker .components-focal-point-picker__icon_container:before{border-right:1px solid transparent;content:"";height:400px;position:absolute;right:0;top:-200px}.novablocks-focal-point-picker .components-focal-point-picker-control .components-focal-point-picker__icon_container:before{right:50%}.novablocks-focal-point-picker .components-focal-point-picker__icon_container:after{border-top:1px solid transparent;content:"";position:absolute;right:-248px;top:0;width:496px}.novablocks-focal-point-picker .components-focal-point-picker-control .components-focal-point-picker__icon_container:after{top:50%}.novablocks-focal-point-picker.is-snapped-x .components-focal-point-picker__icon_container.is-dragging:before{border-right:1px solid #0ff}.novablocks-focal-point-picker.is-snapped-y .components-focal-point-picker__icon_container.is-dragging:after{border-top:1px solid #0ff}.novablocks-focal-point-picker--doppler .components-focal-point-picker__icon_container:before{border-right:2px dotted #0085ba;right:-1px}.novablocks-scrolling-effect-panel[class]{padding-bottom:0}.novablocks-scrolling-effect-panel .components-panel__body{margin-left:-16px;margin-right:-16px;margin-top:16px}.novablocks-scrolling-effect-panel .components-panel__body+.components-panel__body{margin-top:0}.novablocks-scrolling-effect-panel .novablocks-scrolling-effect.components-radio-control:last-child{margin-bottom:16px}.novablocks-scrolling-effect-panel .novablocks-focal-point-picker--parallax[class],.novablocks-scrolling-effect-panel .novablocks-focal-point-picker--static[class]{margin-bottom:0}.novablocks-scrolling-effect [value=doppler]+label:after{background:#4fb669;border-radius:999em;color:#fff;content:"Pro";display:inline-block;margin:-0.05em 0.5em -0.13em 0;padding:0.05em 0.6em 0.13em} 1 .novablocks-focal-point-picker .components-focal-point-picker_position-display-container{display:none}.novablocks-focal-point-picker .components-focal-point-picker-wrapper{overflow:hidden}.novablocks-focal-point-picker .components-focal-point-picker__icon_container:before{border-right:1px solid transparent;content:"";height:400px;position:absolute;right:0;top:-200px}.novablocks-focal-point-picker .components-focal-point-picker-control .components-focal-point-picker__icon_container:before{right:50%}.novablocks-focal-point-picker .components-focal-point-picker__icon_container:after{border-top:1px solid transparent;content:"";position:absolute;right:-248px;top:0;width:496px}.novablocks-focal-point-picker .components-focal-point-picker-control .components-focal-point-picker__icon_container:after{top:50%}.novablocks-focal-point-picker.is-snapped-x .components-focal-point-picker__icon_container.is-dragging:before{border-right:1px solid #0ff}.novablocks-focal-point-picker.is-snapped-y .components-focal-point-picker__icon_container.is-dragging:after{border-top:1px solid #0ff}.novablocks-focal-point-picker--doppler .components-focal-point-picker__icon_container:before{border-right:2px dotted #0085ba;right:-1px}.novablocks-scrolling-effect-panel[class]{padding-bottom:0}.novablocks-scrolling-effect-panel .components-panel__body{margin-left:-16px;margin-right:-16px;margin-top:16px}.novablocks-scrolling-effect-panel .components-panel__body+.components-panel__body{margin-top:0}.novablocks-scrolling-effect-panel .novablocks-scrolling-effect.components-radio-control:last-child{margin-bottom:16px}.novablocks-scrolling-effect-panel .novablocks-focal-point-picker--parallax[class],.novablocks-scrolling-effect-panel .novablocks-focal-point-picker--static[class]{margin-bottom:0}.novablocks-scrolling-effect [value=doppler]+label:after{background:#4fb669;border-radius:999em;color:#fff;content:"Pro";display:inline-block;margin:-0.05em 0.5em -0.13em 0;padding:0.05em 0.6em 0.13em}.nb-scrolling-preview-control{margin-bottom:24px} -
nova-blocks/trunk/build/scrolling-effect/editor-styles.css
r2710156 r2744078 1 .novablocks-focal-point-picker .components-focal-point-picker_position-display-container{display:none}.novablocks-focal-point-picker .components-focal-point-picker-wrapper{overflow:hidden}.novablocks-focal-point-picker .components-focal-point-picker__icon_container:before{border-left:1px solid transparent;content:"";height:400px;left:0;position:absolute;top:-200px}.novablocks-focal-point-picker .components-focal-point-picker-control .components-focal-point-picker__icon_container:before{left:50%}.novablocks-focal-point-picker .components-focal-point-picker__icon_container:after{border-top:1px solid transparent;content:"";left:-248px;position:absolute;top:0;width:496px}.novablocks-focal-point-picker .components-focal-point-picker-control .components-focal-point-picker__icon_container:after{top:50%}.novablocks-focal-point-picker.is-snapped-x .components-focal-point-picker__icon_container.is-dragging:before{border-left:1px solid #0ff}.novablocks-focal-point-picker.is-snapped-y .components-focal-point-picker__icon_container.is-dragging:after{border-top:1px solid #0ff}.novablocks-focal-point-picker--doppler .components-focal-point-picker__icon_container:before{border-left:2px dotted #0085ba;left:-1px}.novablocks-scrolling-effect-panel[class]{padding-bottom:0}.novablocks-scrolling-effect-panel .components-panel__body{margin-left:-16px;margin-right:-16px;margin-top:16px}.novablocks-scrolling-effect-panel .components-panel__body+.components-panel__body{margin-top:0}.novablocks-scrolling-effect-panel .novablocks-scrolling-effect.components-radio-control:last-child{margin-bottom:16px}.novablocks-scrolling-effect-panel .novablocks-focal-point-picker--parallax[class],.novablocks-scrolling-effect-panel .novablocks-focal-point-picker--static[class]{margin-bottom:0}.novablocks-scrolling-effect [value=doppler]+label:after{background:#4fb669;border-radius:999em;color:#fff;content:"Pro";display:inline-block;margin:-0.05em 0 -0.13em 0.5em;padding:0.05em 0.6em 0.13em} 1 .novablocks-focal-point-picker .components-focal-point-picker_position-display-container{display:none}.novablocks-focal-point-picker .components-focal-point-picker-wrapper{overflow:hidden}.novablocks-focal-point-picker .components-focal-point-picker__icon_container:before{border-left:1px solid transparent;content:"";height:400px;left:0;position:absolute;top:-200px}.novablocks-focal-point-picker .components-focal-point-picker-control .components-focal-point-picker__icon_container:before{left:50%}.novablocks-focal-point-picker .components-focal-point-picker__icon_container:after{border-top:1px solid transparent;content:"";left:-248px;position:absolute;top:0;width:496px}.novablocks-focal-point-picker .components-focal-point-picker-control .components-focal-point-picker__icon_container:after{top:50%}.novablocks-focal-point-picker.is-snapped-x .components-focal-point-picker__icon_container.is-dragging:before{border-left:1px solid #0ff}.novablocks-focal-point-picker.is-snapped-y .components-focal-point-picker__icon_container.is-dragging:after{border-top:1px solid #0ff}.novablocks-focal-point-picker--doppler .components-focal-point-picker__icon_container:before{border-left:2px dotted #0085ba;left:-1px}.novablocks-scrolling-effect-panel[class]{padding-bottom:0}.novablocks-scrolling-effect-panel .components-panel__body{margin-left:-16px;margin-right:-16px;margin-top:16px}.novablocks-scrolling-effect-panel .components-panel__body+.components-panel__body{margin-top:0}.novablocks-scrolling-effect-panel .novablocks-scrolling-effect.components-radio-control:last-child{margin-bottom:16px}.novablocks-scrolling-effect-panel .novablocks-focal-point-picker--parallax[class],.novablocks-scrolling-effect-panel .novablocks-focal-point-picker--static[class]{margin-bottom:0}.novablocks-scrolling-effect [value=doppler]+label:after{background:#4fb669;border-radius:999em;color:#fff;content:"Pro";display:inline-block;margin:-0.05em 0 -0.13em 0.5em;padding:0.05em 0.6em 0.13em}.nb-scrolling-preview-control{margin-bottom:24px} -
nova-blocks/trunk/build/scrolling-effect/frontend.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-utils', 'wp-dom-ready', 'wp-polyfill'), 'version' => ' 51ae0b6d1dba7d6107f0d9c4015a038b');1 <?php return array('dependencies' => array('novablocks-utils', 'wp-dom-ready', 'wp-polyfill'), 'version' => '93b984caa42d63ca7071515677db2ffa'); -
nova-blocks/trunk/build/scrolling-effect/frontend.js
r2738702 r2744078 1 !function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s= 38)}({0:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},1:function(t,e){t.exports=window.novablocks.utils},38:function(t,e,n){"use strict";n(39)},39:function(t,e,n){"use strict";var o=n(0)(n(9)),r=n(40),a=n(1);!function(){if(!a.IS_EDITOR&&!a.IS_CUSTOMIZER){var t=[],e=function(){t.forEach(r.updateContainerState)},n=(0,a.debounce)(e,100);(0,o.default)((function(){t=(0,r.getContainers)(),(0,r.initializeContainers)(t),e()})),window.addEventListener("scroll",e),window.addEventListener("resize",n),window.addEventListener("nb:slick-update",e),window.addEventListener("load",e);requestAnimationFrame((function e(){(0,r.updateContainersStyle)(t),requestAnimationFrame(e)}))}}()},40:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.updateContainersStyle=e.updateContainerState=e.initializeContainers=e.getScrollContainerHeight=e.getContainers=e.getConfig=e.REFERENCES=void 0;var o=n(1),r=n(41),a={};e.REFERENCES=a;var i=function(){return(0,o.hasTouchScreen)()&&"orientation"in window&&window.screen&&window.screen.availHeight||window.innerHeight};e.getScrollContainerHeight=i;var l=function(t){var e=t.getBoundingClientRect();return{scrollContainerBox:{top:0,left:0,height:i()},containerBox:{width:t.offsetWidth,height:t.offsetHeight,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.x,y:e.y}}};e.getConfig=l;e.updateContainerState=function(t){var e=t.dataset.refId,n=a[e],o=n.attributes,i=(n.target,n.config),c=Object.assign({},i,l(t)),s=(0,r.getState)(c,o);Object.assign(a[e],{state:s,config:c})};e.initializeContainers=function(t){t.forEach((function(t,e){var n=t.closest("[data-scrolling-effect]"),i=(0,o.getAttributes)(n),c="container-".concat(e);if(i){var s=l(t);t.dataset.refId=c,a[c]={state:(0,r.getState)(s,i),config:s,target:t.querySelector(".novablocks-doppler__target"),style:{},attributes:i}}}))};e.getContainers=function(){return Array.from(document.querySelectorAll(".novablocks-doppler__wrapper")).filter((function(t){var e=t.closest("[data-scrolling-effect]"),n=(0,o.getAttributes)(e);return(null==n?void 0:n.scrollingEffect)&&"static"!==n.scrollingEffect}))};e.updateContainersStyle=function(t){t.forEach((function(t){var e=t.dataset.refId,n=a[e],o=n.attributes,i=(n.target,n.state),l=n.config,c=Object.assign({},i,l),s=(0,r.getProps)(c,o,!0);a[e].style=(0,r.getStylesFromProps)(s)})),t.forEach((function(t){var e=t.dataset.refId,n=a[e],o=n.target,r=n.style;Object.assign(o.style,r)}))}},41:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getStylesFromProps=e.getStyles=e.getState=e.getProps=e.getIntermediateFocalPoint=e.getFocalPointImage=void 0;var o,r,a=(o=window.matchMedia("(prefers-reduced-motion: reduce)"),r=!1,o.addEventListener("change",(function(t){r=!!t.matches})),function(){return r}),i=function(t,e,n){return t||e?t?e?{x:parseFloat(t.x)+(parseFloat(e.x)-parseFloat(t.x))*n,y:parseFloat(t.y)+(parseFloat(e.y)-parseFloat(t.y))*n}:t:e:{x:.5,y:.5}};e.getIntermediateFocalPoint=i;e.getStyles=function(t,e){var n=s(t,e);return l(n)};var l=function(t){var e=t.fixed,n=t.parallaxAmount,o=t.width,r=t.height,a=t.moveX,i=t.moveY,l=t.offsetX,c=t.offsetY,s=t.scale,u=t.focalPoint;return{position:e?"fixed":"absolute",top:0,left:0,width:o?"".concat(o,"px"):"",height:r?"".concat(r,"px"):"",minHeight:0,maxWidth:"none",transform:"translate(".concat(a,",").concat(i*n,"px) translateX(").concat(l,") translateY(").concat(c,"px) scale(").concat(s,")"),objectPosition:100*u.x+"% "+100*u.y+"%",transformOrigin:100*u.x+"% 50%"}};function c(t,e,n){return t+(e-t)*n}e.getStylesFromProps=l;var s=function(t,e,n){var o=t.distance,r=t.progress,l=t.containerBox,s=t.scrollContainerBox,u=t.smoothStart,f=t.smoothEnd,d=e.scrollingEffect,g=e.initialBackgroundScale,p=function(t,e){var n=t.scrollingEffect,o=t.focalPoint,r=t.finalFocalPoint;return o||(o={x:.5,y:.5}),"doppler"!==n?o:i(o,r,e)}(e,r);if("static"===d)return{width:l.width,height:l.height,scale:g||1,moveX:0,moveY:0,offsetX:0,offsetY:0,parallaxAmount:0,focalPoint:p};var h=a()?0:"parallax"===d?.75:1,v=function(t,e){var n=t.scrollingEffect,o=t.initialBackgroundScale,r=t.finalBackgroundScale;o=o||1,"parallax"===n&&(r=o);var i=Math.max(o,r);return o/=i,r/=i,a()?{maxScale:1,newScale:1}:{maxScale:i,newScale:c(o,r,e)}}(e,r),x=v.maxScale,m=v.newScale,S=function(t,e){var n=t.scrollContainerBox,o=t.containerBox;return o.height+(n.height-o.height)*e}(t,h),y=s.top-l.top;u||(n&&l.top<0&&(y=s.top),!n&&0>s.top-l.top&&(y=0)),f||s.top-l.top>l.height-s.height&&(y=n?s.top-l.top-l.height+s.height:l.height-s.height);var w=S*x*(m-1)*.5;return w+=S*(1-x*m)*p.y,{fixed:n,distance:o,parallaxAmount:n?1-h:h,progress:r,width:l.width*x,height:S*x,moveX:"".concat(n?l.left-s.left:0,"px"),moveY:n?-1*y:y,offsetX:(1/x-1)*p.x*100+"%",offsetY:w,scale:m,focalPoint:p}};e.getProps=s;e.getState=function(t,e){var n=t.containerBox,o=t.scrollContainerBox,r=e.scrollingEffect,i=e.followThroughStart||"parallax"===r,l=e.followThroughEnd||"parallax"===r,c=o.top-n.top,s=n.height-o.height;i&&(c+=o.height,s+=o.height),l&&(s+=o.height);var u=s<=0?.5:c/s;return i||(u=Math.max(0,u)),l||(u=Math.min(1,u)),a()&&(u=.5),{progress:u,distance:s,smoothStart:i,smoothEnd:l,containerBox:n,scrollContainerBox:o}};e.getFocalPointImage=function(t){var e,n,o,r,a=null==t?void 0:t.type,i=!1;"image"===a&&(i={url:(null==t||null===(e=t.sizes)||void 0===e||null===(n=e.novablocks_large)||void 0===n?void 0:n.url)||(null==t||null===(o=t.sizes)||void 0===o||null===(r=o.novablocks_huge)||void 0===r?void 0:r.url)||(null==t?void 0:t.url),width:218,height:170});return"video"===a&&(i={url:"//cloud.pixelgrade.com/wp-content/uploads/2020/01/Screenshot-2020-01-09-at-15.59.37.png",width:218,height:170}),i}},9:function(t,e){t.exports=window.wp.domReady}});1 !function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=43)}({0:function(t,e){t.exports=window.novablocks.utils},1:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},2:function(t,e){t.exports=window.wp.domReady},43:function(t,e,n){"use strict";n(44)},44:function(t,e,n){"use strict";var o=n(1)(n(2)),r=n(45),a=n(0);!function(){if(!a.IS_EDITOR&&!a.IS_CUSTOMIZER){var t=[],e=function(){t.forEach(r.updateContainerState)},n=(0,a.debounce)(e,100);(0,o.default)((function(){t=(0,r.getContainers)(),(0,r.initializeContainers)(t),e()})),window.addEventListener("scroll",e),window.addEventListener("resize",n),window.addEventListener("nb:slick-update",e),window.addEventListener("load",e);requestAnimationFrame((function e(){(0,r.updateContainersStyle)(t),requestAnimationFrame(e)}))}}()},45:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.updateContainersStyle=e.updateContainerState=e.initializeContainers=e.getScrollContainerHeight=e.getContainers=e.getConfig=e.REFERENCES=void 0;var o=n(0),r=n(46),a={};e.REFERENCES=a;var i=function(){return(0,o.hasTouchScreen)()&&"orientation"in window&&window.screen&&window.screen.availHeight||window.innerHeight};e.getScrollContainerHeight=i;var l=function(t){var e=t.getBoundingClientRect();return{scrollContainerBox:{top:0,left:0,height:i()},containerBox:{width:t.offsetWidth,height:t.offsetHeight,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.x,y:e.y}}};e.getConfig=l;e.updateContainerState=function(t){var e=t.dataset.refId,n=a[e],o=n.attributes,i=(n.target,n.config),c=Object.assign({},i,l(t)),s=(0,r.getState)(c,o);Object.assign(a[e],{state:s,config:c})};e.initializeContainers=function(t){t.forEach((function(t,e){var n=t.closest("[data-scrolling-effect]"),i=(0,o.getAttributes)(n),c="container-".concat(e);if(i){var s=l(t);t.dataset.refId=c,a[c]={state:(0,r.getState)(s,i),config:s,target:t.querySelector(".novablocks-doppler__target"),style:{},attributes:i}}}))};e.getContainers=function(){return Array.from(document.querySelectorAll(".novablocks-doppler__wrapper")).filter((function(t){var e=t.closest("[data-scrolling-effect]"),n=(0,o.getAttributes)(e);return(null==n?void 0:n.scrollingEffect)&&"static"!==n.scrollingEffect}))};e.updateContainersStyle=function(t){t.forEach((function(t){var e=t.dataset.refId,n=a[e],o=n.attributes,i=(n.target,n.state),l=n.config,c=Object.assign({},i,l),s=(0,r.getProps)(c,o,!0);a[e].style=(0,r.getStylesFromProps)(s)})),t.forEach((function(t){var e=t.dataset.refId,n=a[e],o=n.target,r=n.style;Object.assign(o.style,r)}))}},46:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getStylesFromProps=e.getStyles=e.getState=e.getProps=e.getIntermediateFocalPoint=e.getFocalPointImage=void 0;var o,r,a=(o=window.matchMedia("(prefers-reduced-motion: reduce)"),r=!1,o.addEventListener("change",(function(t){r=!!t.matches})),function(){return r}),i=function(t,e,n){return t||e?t?e?{x:parseFloat(t.x)+(parseFloat(e.x)-parseFloat(t.x))*n,y:parseFloat(t.y)+(parseFloat(e.y)-parseFloat(t.y))*n}:t:e:{x:.5,y:.5}};e.getIntermediateFocalPoint=i;e.getStyles=function(t,e){var n=s(t,e);return l(n)};var l=function(t){var e=t.fixed,n=t.parallaxAmount,o=t.width,r=t.height,a=t.moveX,i=t.moveY,l=t.offsetX,c=t.offsetY,s=t.scale,u=t.focalPoint;return{position:e?"fixed":"absolute",top:0,left:0,width:o?"".concat(o,"px"):"",height:r?"".concat(r,"px"):"",minHeight:0,maxWidth:"none",transform:"translate(".concat(a,",").concat(i*n,"px) translateX(").concat(l,") translateY(").concat(c,"px) scale(").concat(s,")"),objectPosition:100*u.x+"% "+100*u.y+"%",transformOrigin:100*u.x+"% 50%"}};function c(t,e,n){return t+(e-t)*n}e.getStylesFromProps=l;var s=function(t,e,n){var o=t.distance,r=t.progress,l=t.containerBox,s=t.scrollContainerBox,u=t.smoothStart,f=t.smoothEnd,d=e.scrollingEffect,g=e.initialBackgroundScale,p=function(t,e){var n=t.scrollingEffect,o=t.focalPoint,r=t.finalFocalPoint;return o||(o={x:.5,y:.5}),"doppler"!==n?o:i(o,r,e)}(e,r);if("static"===d)return{width:l.width,height:l.height,scale:g||1,moveX:0,moveY:0,offsetX:0,offsetY:0,parallaxAmount:0,focalPoint:p};var h=a()?0:"parallax"===d?.75:1,v=function(t,e){var n=t.scrollingEffect,o=t.initialBackgroundScale,r=t.finalBackgroundScale;o=o||1,"parallax"===n&&(r=o);var i=Math.max(o,r);return o/=i,r/=i,a()?{maxScale:1,newScale:1}:{maxScale:i,newScale:c(o,r,e)}}(e,r),x=v.maxScale,m=v.newScale,S=function(t,e){var n=t.scrollContainerBox,o=t.containerBox;return o.height+(n.height-o.height)*e}(t,h),y=s.top-l.top;u||(n&&l.top<0&&(y=s.top),!n&&0>s.top-l.top&&(y=0)),f||s.top-l.top>l.height-s.height&&(y=n?s.top-l.top-l.height+s.height:l.height-s.height);var w=S*x*(m-1)*.5;return w+=S*(1-x*m)*p.y,{fixed:n,distance:o,parallaxAmount:n?1-h:h,progress:r,width:l.width*x,height:S*x,moveX:"".concat(n?l.left-s.left:0,"px"),moveY:n?-1*y:y,offsetX:(1/x-1)*p.x*100+"%",offsetY:w,scale:m,focalPoint:p}};e.getProps=s;e.getState=function(t,e){var n=t.containerBox,o=t.scrollContainerBox,r=e.scrollingEffect,i=e.followThroughStart||"parallax"===r,l=e.followThroughEnd||"parallax"===r,c=o.top-n.top,s=n.height-o.height;i&&(c+=o.height,s+=o.height),l&&(s+=o.height);var u=s<=0?.5:c/s;return i||(u=Math.max(0,u)),l||(u=Math.min(1,u)),a()&&(u=.5),{progress:u,distance:s,smoothStart:i,smoothEnd:l,containerBox:n,scrollContainerBox:o}};e.getFocalPointImage=function(t){var e,n,o,r,a=null==t?void 0:t.type,i=!1;"image"===a&&(i={url:(null==t||null===(e=t.sizes)||void 0===e||null===(n=e.novablocks_large)||void 0===n?void 0:n.url)||(null==t||null===(o=t.sizes)||void 0===o||null===(r=o.novablocks_huge)||void 0===r?void 0:r.url)||(null==t?void 0:t.url),width:218,height:170});return"video"===a&&(i={url:"//cloud.pixelgrade.com/wp-content/uploads/2020/01/Screenshot-2020-01-09-at-15.59.37.png",width:218,height:170}),i}}}); -
nova-blocks/trunk/build/scrolling-effect/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks- utils', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => '9438664a97a8f1f646ed3b85384de901');1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks-easings', 'novablocks-utils', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => 'e33b479d0073ba1d7cbf85012abeb69b'); -
nova-blocks/trunk/build/scrolling-effect/index.js
r2738702 r2744078 1 this.novablocks=this.novablocks||{},this.novablocks.scrollingEffect=function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=7 7)}({0:function(t,e){t.exports=window.wp.element},1:function(t,e){t.exports=window.wp.i18n},12:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var o=n(20);function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var o,r,c=[],l=!0,i=!1;try{for(n=n.call(t);!(l=(o=n.next()).done)&&(c.push(o.value),!e||c.length!==e);l=!0);}catch(t){i=!0,r=t}finally{try{l||null==n.return||n.return()}finally{if(i)throw r}}return c}}(t,e)||Object(o.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},17:function(t,e,n){"use strict";function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}n.d(e,"a",(function(){return o}))},18:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var o=n(17);var r=n(20);function c(t){return function(t){if(Array.isArray(t))return Object(o.a)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Object(r.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},20:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var o=n(17);function r(t,e){if(t){if("string"==typeof t)return Object(o.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(o.a)(t,e):void 0}}},3:function(t,e){t.exports=window.wp.components},4:function(t,e){t.exports=window.novablocks.utils},5:function(t,e){t.exports=window.novablocks.blockEditor},6:function(t,e,n){"use strict";function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return o}))},77:function(t,e,n){"use strict";n.r(e),n.d(e,"withScrollingEffect",(function(){return M})),n.d(e,"useScrollingEffect",(function(){return D})),n.d(e,"getIntermediateFocalPoint",(function(){return y})),n.d(e,"getStyles",(function(){return x})),n.d(e,"getStylesFromProps",(function(){return S})),n.d(e,"getProps",(function(){return E})),n.d(e,"getState",(function(){return P})),n.d(e,"getFocalPointImage",(function(){return _}));var o=n(8),r=n(6);function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var i,a,u={scrollingEffect:{type:"string",default:"static"},focalPoint:{type:"object",default:{x:.5,y:.5}},finalFocalPoint:{type:"object",default:{x:.5,y:.5}},initialBackgroundScale:{type:"number",default:1},finalBackgroundScale:{type:"number",default:1},motionPreset:{type:"string",default:"standard-dynamic"},followThroughStart:{type:"boolean",default:!0},followThroughEnd:{type:"boolean",default:!0}},s=function(t){var e,n,o=null==t||null===(e=t.supports)||void 0===e||null===(n=e.novaBlocks)||void 0===n?void 0:n.scrollingEffect;return!0===o||null!=o&&o.attributes?l(l({},t),{},{attributes:l(l({},t.attributes),u)}):t},f=n(0),p=n(9),b=n(5),d=n(18),g=n(1),m=n(3),h=function(t){var e,n,o,r=t.setAttributes,c=t.attributes,l=c.scrollingEffect,i=c.motionPreset,a=t.name,u=Object(b.useSettings)(),s=Object(b.useSupports)(a),p=u.motionPresetOptions,h=Object(d.a)(u.scrollingEffectOptions);return!0!==(null==s||null===(e=s.novaBlocks)||void 0===e?void 0:e.scrollingEffect)&&!0!==(null==s||null===(n=s.novaBlocks)||void 0===n||null===(o=n.scrollingEffect)||void 0===o?void 0:o.doppler)||h.push({label:Object(g.__)("Doppler by Pixelgrade ®","nova-blocks"),value:"doppler"}),Object(f.createElement)(b.ControlsSection,{id:"scrolling-effect",label:Object(g.__)("Scrolling Effect","nova-blocks"),group:Object(g.__)("Modules","nova-blocks"),order:20},Object(f.createElement)(b.ControlsTab,{label:Object(g.__)("Customize","nova-blocks")},Object(f.createElement)(m.RadioControl,{key:"novablocks-scrolling-effect",selected:l,className:"novablocks-scrolling-effect",onChange:function(t){var e={scrollingEffect:t};if("doppler"===t&&"custom"!==i){var n=p.find((function(t){return i===t.value}));(e=Object.assign(n.preset,e)).minHeightFallback=75}r(e)},options:h}),t.children))},v=function(t){var e=t.attributes,n=e.motionPreset,o=e.scrollingEffect,r=t.setAttributes;if("doppler"!==o)return null;var c=Object(b.useSettings)();return Object(f.createElement)(m.PanelBody,{title:"Doppler Scrolling Settings"},Object(f.createElement)(m.RadioControl,{label:"Motion Presets",selected:n,onChange:function(t){var e={motionPreset:t},n=c.motionPresetOptions.find((function(e){return t===e.value}));n&&n.preset&&(e=Object.assign(n.preset,e)),r(e)},options:c.motionPresetOptions}))},O=n(4),j=(i=window.matchMedia("(prefers-reduced-motion: reduce)"),a=!1,i.addEventListener("change",(function(t){a=!!t.matches})),function(){return a}),y=function(t,e,n){return t||e?t?e?{x:parseFloat(t.x)+(parseFloat(e.x)-parseFloat(t.x))*n,y:parseFloat(t.y)+(parseFloat(e.y)-parseFloat(t.y))*n}:t:e:{x:.5,y:.5}},x=function(t,e){var n=E(t,e);return S(n)},S=function(t){var e=t.fixed,n=t.parallaxAmount,o=t.width,r=t.height,c=t.moveX,l=t.moveY,i=t.offsetX,a=t.offsetY,u=t.scale,s=t.focalPoint;return{position:e?"fixed":"absolute",top:0,left:0,width:o?"".concat(o,"px"):"",height:r?"".concat(r,"px"):"",minHeight:0,maxWidth:"none",transform:"translate(".concat(c,",").concat(l*n,"px) translateX(").concat(i,") translateY(").concat(a,"px) scale(").concat(u,")"),objectPosition:100*s.x+"% "+100*s.y+"%",transformOrigin:100*s.x+"% 50%"}};function w(t,e,n){return t+(e-t)*n}var E=function(t,e,n){var o=t.distance,r=t.progress,c=t.containerBox,l=t.scrollContainerBox,i=t.smoothStart,a=t.smoothEnd,u=e.scrollingEffect,s=e.initialBackgroundScale,f=function(t,e){var n=t.scrollingEffect,o=t.focalPoint,r=t.finalFocalPoint;return o||(o={x:.5,y:.5}),"doppler"!==n?o:y(o,r,e)}(e,r);if("static"===u)return{width:c.width,height:c.height,scale:s||1,moveX:0,moveY:0,offsetX:0,offsetY:0,parallaxAmount:0,focalPoint:f};var p=j()?0:"parallax"===u?.75:1,b=function(t,e){var n=t.scrollingEffect,o=t.initialBackgroundScale,r=t.finalBackgroundScale;o=o||1,"parallax"===n&&(r=o);var c=Math.max(o,r);return o/=c,r/=c,j()?{maxScale:1,newScale:1}:{maxScale:c,newScale:w(o,r,e)}}(e,r),d=b.maxScale,g=b.newScale,m=function(t,e){var n=t.scrollContainerBox,o=t.containerBox;return o.height+(n.height-o.height)*e}(t,p),h=l.top-c.top;i||(n&&c.top<0&&(h=l.top),!n&&0>l.top-c.top&&(h=0)),a||l.top-c.top>c.height-l.height&&(h=n?l.top-c.top-c.height+l.height:c.height-l.height);var v=m*d*(g-1)*.5;return v+=m*(1-d*g)*f.y,{fixed:n,distance:o,parallaxAmount:n?1-p:p,progress:r,width:c.width*d,height:m*d,moveX:"".concat(n?c.left-l.left:0,"px"),moveY:n?-1*h:h,offsetX:(1/d-1)*f.x*100+"%",offsetY:v,scale:g,focalPoint:f}},P=function(t,e){var n=t.containerBox,o=t.scrollContainerBox,r=e.scrollingEffect,c=e.followThroughStart||"parallax"===r,l=e.followThroughEnd||"parallax"===r,i=o.top-n.top,a=n.height-o.height;c&&(i+=o.height,a+=o.height),l&&(a+=o.height);var u=a<=0?.5:i/a;return c||(u=Math.max(0,u)),l||(u=Math.min(1,u)),j()&&(u=.5),{progress:u,distance:a,smoothStart:c,smoothEnd:l,containerBox:n,scrollContainerBox:o}},_=function(t){var e,n,o,r,c=null==t?void 0:t.type,l=!1;"image"===c&&(l={url:(null==t||null===(e=t.sizes)||void 0===e||null===(n=e.novablocks_large)||void 0===n?void 0:n.url)||(null==t||null===(o=t.sizes)||void 0===o||null===(r=o.novablocks_huge)||void 0===r?void 0:r.url)||(null==t?void 0:t.url),width:218,height:170});return"video"===c&&(l={url:"//cloud.pixelgrade.com/wp-content/uploads/2020/01/Screenshot-2020-01-09-at-15.59.37.png",width:218,height:170}),l},k=Object(b.withVisibility)("start-frame-panel")((function(t){var e=t.attributes,n=t.setAttributes,o=t.focalPointImage,r=e.media,c=e.focalPoint,l=e.finalFocalPoint,i=e.initialBackgroundScale,a=e.followThroughStart,u=e.scrollingEffect,s=Object(f.useMemo)((function(){return o||_(r)}),[o,r]),p="doppler"===u,b=Object(g.__)("Static Scrolling Settings","nova-blocks"),d=Object(g.__)("Parallax Scrolling Settings","nova-blocks"),h=Object(g.__)("Start Frame","nova-blocks"),v=b;"parallax"===u&&(v=d),p&&(v=h);var j=["novablocks-focal-point-picker","novablocks-focal-point-picker--".concat(u),"novablocks-focal-point-picker--start",Object(O.getSnapClassname)(c)].join(" ");return Object(f.createElement)(m.PanelBody,{title:v,className:j},Object(f.createElement)(m.FocalPointPicker,{label:"Focal Point",url:s.url,dimensions:{width:s.width,height:s.height},value:c,onChange:function(t){n({motionPreset:"custom",focalPoint:Object(O.maybeSnapFocalPoint)(t),finalFocalPoint:Object(O.maybeSnapFocalPoint)({x:t.x,y:l.y})})}}),Object(f.createElement)(m.RangeControl,{label:"Zoom",value:i,onChange:function(t){n({motionPreset:"custom",initialBackgroundScale:t})},min:1,max:2,step:.01}),"doppler"===u&&Object(f.createElement)(m.ToggleControl,{label:Object(g.__)("Smooth start transition","nova-blocks"),checked:a,onChange:function(){n({followThroughStart:!a})}}))})),C=function(t){var e=t.attributes,n=t.setAttributes,o=t.focalPointImage,r=e.media,c=e.focalPoint,l=e.finalFocalPoint,i=e.finalBackgroundScale,a=e.followThroughEnd,u=e.scrollingEffect,s=Object(f.useMemo)((function(){return o||_(r)}),[o,r]);if("doppler"!==u)return null;var p=["novablocks-focal-point-picker","novablocks-focal-point-picker--".concat(u),"novablocks-focal-point-picker--end",Object(O.getSnapClassname)(c)].join(" ");return Object(f.createElement)(m.PanelBody,{title:Object(g.__)("End Frame","nova-blocks"),className:p},Object(f.createElement)(m.FocalPointPicker,{label:"Focal Point",url:s.url,dimensions:{width:s.width,height:s.height},value:l,onChange:function(t){n({motionPreset:"custom",focalPoint:Object(O.maybeSnapFocalPoint)({x:t.x,y:c.y}),finalFocalPoint:Object(O.maybeSnapFocalPoint)(t)})},disabled:!0}),Object(f.createElement)(m.RangeControl,{label:"Zoom",value:i,onChange:function(t){n({motionPreset:"custom",finalBackgroundScale:t})},min:1,max:2,step:.01}),Object(f.createElement)(m.ToggleControl,{label:Object(g.__)("Smooth end transition","nova-blocks"),checked:a,onChange:function(){return n({motionPreset:"custom",followThroughEnd:!a})}}))},B=Object(b.withVisibility)("scrolling-effect-section")((function(t){return Object(f.createElement)(h,t,Object(f.createElement)(v,t),Object(f.createElement)(k,t),Object(f.createElement)(C,t))})),F=Object(p.createHigherOrderComponent)((function(t){return function(e){var n,o=Object(b.useSupports)(e.name),r=null==o||null===(n=o.novaBlocks)||void 0===n?void 0:n.scrollingEffect;return!0===r||null!=r&&r.controls?Object(f.createElement)(f.Fragment,null,Object(f.createElement)(B,e),Object(f.createElement)(t,e)):Object(f.createElement)(t,e)}}),"withDopplerControls"),A=n(12),T=Object(f.createContext)(),M=Object(p.createHigherOrderComponent)((function(t){return function(e){var n=Object(f.useRef)(null),o=Object(f.useState)({}),r=Object(A.a)(o,2),c=r[0],l=r[1],i=e.attributes,a=Object(b.useScrollContainer)(),u=Object(b.useScrollContainerBox)(a),s=Object(b.useResizeObserver)(),p=Object(A.a)(s,2),d=p[0],g=p[1],m=Object(f.useState)(null),h=Object(A.a)(m,2),v=h[0],O=h[1],j=Object(f.useCallback)((function(){n.current&&O(n.current.getBoundingClientRect())}),[n]);return Object(b.useOnScroll)(a,j),Object(f.useEffect)((function(){n.current&&d(n.current)}),[n]),Object(f.useEffect)((function(){O(g.contentRect)}),[g]),Object(f.useEffect)((function(){if(v&&u){var t={scrollContainerBox:u,containerBox:v},e=P(t,i),o=Object.assign({},t,e),r={style:x(o,i),state:e,container:n.current,scrollContainer:a};l(r)}}),[v,u,i,n,a]),Object(f.createElement)("div",{className:"novablocks-doppler__mask novablocks-doppler__wrapper",ref:n},Object(f.createElement)(T.Provider,{value:c},Object(f.createElement)(t,e)))}}),"withDopplerProvider"),I=Object(p.createHigherOrderComponent)((function(t){return function(e){var n,o,r=Object(b.useSupports)(e.name),c=M(t);return null==r||null===(n=r.novaBlocks)||void 0===n||!n.scrollingEffect||null!=r&&null!==(o=r.novaBlocks)&&void 0!==o&&o.scrollingEffect.customWrapper?Object(f.createElement)(t,e):Object(f.createElement)(c,e)}}),"withScrollingEffectWrapper"),D=function(){return Object(f.useContext)(T)};Object(o.addFilter)("blocks.registerBlockType","novablocks/with-scrolling-effect-attributes",s),Object(o.addFilter)("editor.BlockEdit","novablocks/with-scrolling-effect-controls",F),Object(o.addFilter)("editor.BlockEdit","novablocks/with-scrolling-effect-wrapper",I,1)},8:function(t,e){t.exports=window.wp.hooks},9:function(t,e){t.exports=window.wp.compose}});1 this.novablocks=this.novablocks||{},this.novablocks.scrollingEffect=function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=76)}({0:function(t,e){t.exports=window.wp.element},1:function(t,e){t.exports=window.wp.i18n},12:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var o=n(20);function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var o,r,c=[],l=!0,i=!1;try{for(n=n.call(t);!(l=(o=n.next()).done)&&(c.push(o.value),!e||c.length!==e);l=!0);}catch(t){i=!0,r=t}finally{try{l||null==n.return||n.return()}finally{if(i)throw r}}return c}}(t,e)||Object(o.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},17:function(t,e,n){"use strict";function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}n.d(e,"a",(function(){return o}))},18:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var o=n(17);var r=n(20);function c(t){return function(t){if(Array.isArray(t))return Object(o.a)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Object(r.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},20:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var o=n(17);function r(t,e){if(t){if("string"==typeof t)return Object(o.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(o.a)(t,e):void 0}}},3:function(t,e){t.exports=window.wp.components},34:function(t,e){t.exports=window.novablocks.easings},4:function(t,e){t.exports=window.novablocks.utils},5:function(t,e){t.exports=window.novablocks.blockEditor},6:function(t,e,n){"use strict";function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return o}))},76:function(t,e,n){"use strict";n.r(e),n.d(e,"withScrollingEffect",(function(){return R})),n.d(e,"useScrollingEffect",(function(){return H})),n.d(e,"getIntermediateFocalPoint",(function(){return w})),n.d(e,"getStyles",(function(){return S})),n.d(e,"getStylesFromProps",(function(){return E})),n.d(e,"getProps",(function(){return _})),n.d(e,"getState",(function(){return k})),n.d(e,"getFocalPointImage",(function(){return C}));var o=n(8),r=n(6);function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var i,a,u={scrollingEffect:{type:"string",default:"static"},focalPoint:{type:"object",default:{x:.5,y:.5}},finalFocalPoint:{type:"object",default:{x:.5,y:.5}},initialBackgroundScale:{type:"number",default:1},finalBackgroundScale:{type:"number",default:1},motionPreset:{type:"string",default:"standard-dynamic"},followThroughStart:{type:"boolean",default:!0},followThroughEnd:{type:"boolean",default:!0}},s=function(t){var e,n,o=null==t||null===(e=t.supports)||void 0===e||null===(n=e.novaBlocks)||void 0===n?void 0:n.scrollingEffect;return!0===o||null!=o&&o.attributes?l(l({},t),{},{attributes:l(l({},t.attributes),u)}):t},f=n(0),b=n(9),p=n(5),d=n(18),g=n(1),m=n(3),h=function(t){var e,n,o,r=t.setAttributes,c=t.attributes,l=c.scrollingEffect,i=c.motionPreset,a=t.name,u=Object(p.useSettings)(),s=Object(p.useSupports)(a),b=u.motionPresetOptions,h=Object(d.a)(u.scrollingEffectOptions);return!0!==(null==s||null===(e=s.novaBlocks)||void 0===e?void 0:e.scrollingEffect)&&!0!==(null==s||null===(n=s.novaBlocks)||void 0===n||null===(o=n.scrollingEffect)||void 0===o?void 0:o.doppler)||h.push({label:Object(g.__)("Doppler by Pixelgrade ®","nova-blocks"),value:"doppler"}),Object(f.createElement)(p.ControlsSection,{id:"scrolling-effect",label:Object(g.__)("Scrolling Effect","nova-blocks"),group:Object(g.__)("Modules","nova-blocks"),order:20},Object(f.createElement)(p.ControlsTab,{label:Object(g.__)("Customize","nova-blocks")},Object(f.createElement)(m.RadioControl,{key:"novablocks-scrolling-effect",selected:l,className:"novablocks-scrolling-effect",onChange:function(t){var e={scrollingEffect:t};if("doppler"===t&&"custom"!==i){var n=b.find((function(t){return i===t.value}));(e=Object.assign(n.preset,e)).minHeightFallback=75}r(e)},options:h}),t.children))},v=n(34),O=n(4),j=function(t){var e=t.clientId,n=Object(p.useScrollContainer)(),o=Object(f.useCallback)((function(){var t=document.querySelector("#block-".concat(e));if(t&&n){var o=t.getBoundingClientRect(),r=n.getBoundingClientRect(),c=n.scrollTop+o.top-r.top-n.offsetHeight,l=c+n.offsetHeight+t.offsetHeight;Object(O.scrollFromTo)(n,c,l,2e3,v.easeInOutCubic)}}),[n]);return Object(f.createElement)("div",{className:"nb-scrolling-preview-control"},Object(f.createElement)(m.Button,{islarge:"true",isPrimary:!0,disabled:!1,onClick:o},Object(g.__)("Preview Scrolling","nova-blocks")))},y=function(t){var e=t.attributes,n=e.motionPreset,o=e.scrollingEffect,r=t.setAttributes;if("doppler"!==o)return null;var c=Object(p.useSettings)();return Object(f.createElement)(m.PanelBody,{title:"Doppler Scrolling Settings"},Object(f.createElement)(m.RadioControl,{label:"Motion Presets",selected:n,onChange:function(t){var e={motionPreset:t},n=c.motionPresetOptions.find((function(e){return t===e.value}));n&&n.preset&&(e=Object.assign(n.preset,e)),r(e)},options:c.motionPresetOptions}))},x=(i=window.matchMedia("(prefers-reduced-motion: reduce)"),a=!1,i.addEventListener("change",(function(t){a=!!t.matches})),function(){return a}),w=function(t,e,n){return t||e?t?e?{x:parseFloat(t.x)+(parseFloat(e.x)-parseFloat(t.x))*n,y:parseFloat(t.y)+(parseFloat(e.y)-parseFloat(t.y))*n}:t:e:{x:.5,y:.5}},S=function(t,e){var n=_(t,e);return E(n)},E=function(t){var e=t.fixed,n=t.parallaxAmount,o=t.width,r=t.height,c=t.moveX,l=t.moveY,i=t.offsetX,a=t.offsetY,u=t.scale,s=t.focalPoint;return{position:e?"fixed":"absolute",top:0,left:0,width:o?"".concat(o,"px"):"",height:r?"".concat(r,"px"):"",minHeight:0,maxWidth:"none",transform:"translate(".concat(c,",").concat(l*n,"px) translateX(").concat(i,") translateY(").concat(a,"px) scale(").concat(u,")"),objectPosition:100*s.x+"% "+100*s.y+"%",transformOrigin:100*s.x+"% 50%"}};function P(t,e,n){return t+(e-t)*n}var _=function(t,e,n){var o=t.distance,r=t.progress,c=t.containerBox,l=t.scrollContainerBox,i=t.smoothStart,a=t.smoothEnd,u=e.scrollingEffect,s=e.initialBackgroundScale,f=function(t,e){var n=t.scrollingEffect,o=t.focalPoint,r=t.finalFocalPoint;return o||(o={x:.5,y:.5}),"doppler"!==n?o:w(o,r,e)}(e,r);if("static"===u)return{width:c.width,height:c.height,scale:s||1,moveX:0,moveY:0,offsetX:0,offsetY:0,parallaxAmount:0,focalPoint:f};var b=x()?0:"parallax"===u?.75:1,p=function(t,e){var n=t.scrollingEffect,o=t.initialBackgroundScale,r=t.finalBackgroundScale;o=o||1,"parallax"===n&&(r=o);var c=Math.max(o,r);return o/=c,r/=c,x()?{maxScale:1,newScale:1}:{maxScale:c,newScale:P(o,r,e)}}(e,r),d=p.maxScale,g=p.newScale,m=function(t,e){var n=t.scrollContainerBox,o=t.containerBox;return o.height+(n.height-o.height)*e}(t,b),h=l.top-c.top;i||(n&&c.top<0&&(h=l.top),!n&&0>l.top-c.top&&(h=0)),a||l.top-c.top>c.height-l.height&&(h=n?l.top-c.top-c.height+l.height:c.height-l.height);var v=m*d*(g-1)*.5;return v+=m*(1-d*g)*f.y,{fixed:n,distance:o,parallaxAmount:n?1-b:b,progress:r,width:c.width*d,height:m*d,moveX:"".concat(n?c.left-l.left:0,"px"),moveY:n?-1*h:h,offsetX:(1/d-1)*f.x*100+"%",offsetY:v,scale:g,focalPoint:f}},k=function(t,e){var n=t.containerBox,o=t.scrollContainerBox,r=e.scrollingEffect,c=e.followThroughStart||"parallax"===r,l=e.followThroughEnd||"parallax"===r,i=o.top-n.top,a=n.height-o.height;c&&(i+=o.height,a+=o.height),l&&(a+=o.height);var u=a<=0?.5:i/a;return c||(u=Math.max(0,u)),l||(u=Math.min(1,u)),x()&&(u=.5),{progress:u,distance:a,smoothStart:c,smoothEnd:l,containerBox:n,scrollContainerBox:o}},C=function(t){var e,n,o,r,c=null==t?void 0:t.type,l=!1;"image"===c&&(l={url:(null==t||null===(e=t.sizes)||void 0===e||null===(n=e.novablocks_large)||void 0===n?void 0:n.url)||(null==t||null===(o=t.sizes)||void 0===o||null===(r=o.novablocks_huge)||void 0===r?void 0:r.url)||(null==t?void 0:t.url),width:218,height:170});return"video"===c&&(l={url:"//cloud.pixelgrade.com/wp-content/uploads/2020/01/Screenshot-2020-01-09-at-15.59.37.png",width:218,height:170}),l},B=Object(p.withVisibility)("start-frame-panel")((function(t){var e=t.attributes,n=t.setAttributes,o=t.focalPointImage,r=e.media,c=e.focalPoint,l=e.finalFocalPoint,i=e.initialBackgroundScale,a=e.followThroughStart,u=e.scrollingEffect,s=Object(f.useMemo)((function(){return o||C(r)}),[o,r]),b="doppler"===u,p=Object(g.__)("Static Scrolling Settings","nova-blocks"),d=Object(g.__)("Parallax Scrolling Settings","nova-blocks"),h=Object(g.__)("Start Frame","nova-blocks"),v=p;"parallax"===u&&(v=d),b&&(v=h);var j=["novablocks-focal-point-picker","novablocks-focal-point-picker--".concat(u),"novablocks-focal-point-picker--start",Object(O.getSnapClassname)(c)].join(" ");return Object(f.createElement)(m.PanelBody,{title:v,className:j},Object(f.createElement)(m.FocalPointPicker,{label:"Focal Point",url:s.url,dimensions:{width:s.width,height:s.height},value:c,onChange:function(t){n({motionPreset:"custom",focalPoint:Object(O.maybeSnapFocalPoint)(t),finalFocalPoint:Object(O.maybeSnapFocalPoint)({x:t.x,y:l.y})})}}),Object(f.createElement)(m.RangeControl,{label:"Zoom",value:i,onChange:function(t){n({motionPreset:"custom",initialBackgroundScale:t})},min:1,max:2,step:.01}),"doppler"===u&&Object(f.createElement)(m.ToggleControl,{label:Object(g.__)("Smooth start transition","nova-blocks"),checked:a,onChange:function(){n({followThroughStart:!a})}}))})),F=function(t){var e=t.attributes,n=t.setAttributes,o=t.focalPointImage,r=e.media,c=e.focalPoint,l=e.finalFocalPoint,i=e.finalBackgroundScale,a=e.followThroughEnd,u=e.scrollingEffect,s=Object(f.useMemo)((function(){return o||C(r)}),[o,r]);if("doppler"!==u)return null;var b=["novablocks-focal-point-picker","novablocks-focal-point-picker--".concat(u),"novablocks-focal-point-picker--end",Object(O.getSnapClassname)(c)].join(" ");return Object(f.createElement)(m.PanelBody,{title:Object(g.__)("End Frame","nova-blocks"),className:b},Object(f.createElement)(m.FocalPointPicker,{label:"Focal Point",url:s.url,dimensions:{width:s.width,height:s.height},value:l,onChange:function(t){n({motionPreset:"custom",focalPoint:Object(O.maybeSnapFocalPoint)({x:t.x,y:c.y}),finalFocalPoint:Object(O.maybeSnapFocalPoint)(t)})},disabled:!0}),Object(f.createElement)(m.RangeControl,{label:"Zoom",value:i,onChange:function(t){n({motionPreset:"custom",finalBackgroundScale:t})},min:1,max:2,step:.01}),Object(f.createElement)(m.ToggleControl,{label:Object(g.__)("Smooth end transition","nova-blocks"),checked:a,onChange:function(){return n({motionPreset:"custom",followThroughEnd:!a})}}))},T=Object(p.withVisibility)("scrolling-effect-section")((function(t){return Object(f.createElement)(h,t,Object(f.createElement)(j,t),Object(f.createElement)(y,t),Object(f.createElement)(B,t),Object(f.createElement)(F,t))})),A=Object(b.createHigherOrderComponent)((function(t){return function(e){var n,o=Object(p.useSupports)(e.name),r=null==o||null===(n=o.novaBlocks)||void 0===n?void 0:n.scrollingEffect;return!0===r||null!=r&&r.controls?Object(f.createElement)(f.Fragment,null,Object(f.createElement)(T,e),Object(f.createElement)(t,e)):Object(f.createElement)(t,e)}}),"withDopplerControls"),M=n(12),I=Object(f.createContext)(),R=Object(b.createHigherOrderComponent)((function(t){return function(e){var n=Object(f.useRef)(null),o=Object(f.useState)({}),r=Object(M.a)(o,2),c=r[0],l=r[1],i=e.attributes,a=Object(p.useScrollContainer)(),u=Object(p.useScrollContainerBox)(a),s=Object(p.useResizeObserver)(),b=Object(M.a)(s,2),d=b[0],g=b[1],m=Object(f.useState)(null),h=Object(M.a)(m,2),v=h[0],O=h[1],j=Object(f.useCallback)((function(){n.current&&O(n.current.getBoundingClientRect())}),[n]);return Object(p.useOnScroll)(a,j),Object(f.useEffect)((function(){n.current&&d(n.current)}),[n]),Object(f.useEffect)((function(){O(g.contentRect)}),[g]),Object(f.useEffect)((function(){if(v&&u){var t={scrollContainerBox:u,containerBox:v},e=k(t,i),o=Object.assign({},t,e),r={style:S(o,i),state:e,container:n.current,scrollContainer:a};l(r)}}),[v,u,i,n,a]),Object(f.createElement)("div",{className:"novablocks-doppler__mask novablocks-doppler__wrapper",ref:n},Object(f.createElement)(I.Provider,{value:c},Object(f.createElement)(t,e)))}}),"withDopplerProvider"),D=Object(b.createHigherOrderComponent)((function(t){return function(e){var n,o,r=Object(p.useSupports)(e.name),c=R(t);return null==r||null===(n=r.novaBlocks)||void 0===n||!n.scrollingEffect||null!=r&&null!==(o=r.novaBlocks)&&void 0!==o&&o.scrollingEffect.customWrapper?Object(f.createElement)(t,e):Object(f.createElement)(c,e)}}),"withScrollingEffectWrapper"),H=function(){return Object(f.useContext)(I)};Object(o.addFilter)("blocks.registerBlockType","novablocks/with-scrolling-effect-attributes",s),Object(o.addFilter)("editor.BlockEdit","novablocks/with-scrolling-effect-controls",A),Object(o.addFilter)("editor.BlockEdit","novablocks/with-scrolling-effect-wrapper",D,1)},8:function(t,e){t.exports=window.wp.hooks},9:function(t,e){t.exports=window.wp.compose}}); -
nova-blocks/trunk/build/shape-modeling/frontend.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array(' jquery', 'novablocks-utils', 'wp-polyfill'), 'version' => '3fcfd78d24784ef35aee171bdd87f269');1 <?php return array('dependencies' => array('novablocks-utils', 'wp-dom-ready', 'wp-polyfill'), 'version' => 'a6945780eab033f0c9a1e989adc26953'); -
nova-blocks/trunk/build/shape-modeling/frontend.js
r2738702 r2744078 1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=42)}({0:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1:function(e,t){e.exports=window.novablocks.utils},2:function(e,t){e.exports=window.jQuery},42:function(e,t,n){"use strict";var r=n(0)(n(2)),o=n(1),a=n(43);(0,r.default)((function(){o.IS_EDITOR||o.IS_CUSTOMIZER||(0,r.default)("[data-shape-modeling-target]").each((function(e,t){var n=(0,r.default)(t),i=n.data("shape-modeling-shape-offset"),s=i?parseInt(i,10):0,l=n.closest("[data-blob-sides]").data();if(l){var u=Object.assign({},l,{blobPatternSeed:l.blobPatternSeed+s,blobMaskPatternSeed:l.blobMaskPatternSeed+s}),c=l.blobsEnableMask,f=l.blobsEnableDecoration,d=(0,a.getBlobAttsFromAttributes)(u,"blob"),b=(0,a.generatePath)(d),m=(0,a.getBlobAttsFromAttributes)(u,"blobMask"),g=(0,a.generatePath)(m),y=Object.assign({},l,{colorSignal:l.contentColorSignal,paletteVariation:l.contentPaletteVariation,useSourceColorAsReference:!1}),x="blob-mix__mask ".concat((0,o.getColorSignalClassnames)(y,!0));n.wrap('<div class="blob-mix">'),n.wrap('<div class="novablocks-media-composition__grid-item-mask blob-mix__media"> '),n.wrap('<div class="'+x+'">');var v=n.closest(".blob-mix"),p=n.closest(".blob-mix__media").css((0,a.getBlobMediaStyles)(l)),M=n.closest(".blob-mix__mask"),h=(0,r.default)('<svg class="blob-mix__decoration" viewBox="0 0 20 20" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg" version="1.1">'),P=document.createElementNS("http://www.w3.org/2000/svg","path");P.setAttribute("d",b),h[0].appendChild(P),f&&h.insertBefore(p),M.css(c?(0,a.getBlobMaskStyles)(g,(0,a.getBlobViewBox)(l)):{});var S=(0,a.getBlobStyles)(l);Object.keys(S).forEach((function(e){v[0].style.setProperty(e,S[e])}))}}))}))},43:function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.getBoundsFromCurves=t.getBlobViewBox=t.getBlobTransform=t.getBlobStyles=t.getBlobScalingProps=t.getBlobMediaStyles=t.getBlobMaskStyles=t.getBlobAttsFromAttributes=t.generatePath=t.BLOB_RADIUS=void 0,Object.defineProperty(t,"getBoundsOfCurve",{enumerable:!0,get:function(){return a.default}}),t.getPointsArray=t.getPathFromCurvePoints=t.getDefaultBounds=t.getCurvePointsFromPoints=t.getCurvePoints=void 0,Object.defineProperty(t,"getRandomAttributes",{enumerable:!0,get:function(){return i.default}}),t.scalePoints=t.scaleCurvePoints=t.initializeBounds=t.getRatioArray=void 0;var o=n(44),a=r(n(45)),i=r(n(46));t.BLOB_RADIUS=10;var s=function(e,t){var n=(0,o.MersenneTwister)(t);return Array.from(Array(e).keys()).map((function(){var e=1,t=10;return Math.floor(n.random()*(t-e+1)+e)/10}))};t.getRatioArray=s;var l=function(e){for(var t=e.sides,n=e.rotation,r=e.complexity,o=e.patternSeed,a=s(t,o),i=[],l=0;l<t;l++){var u=2*Math.PI*l/t+Math.PI/2+Math.PI*n*.9/180,c=a[l],f=c+(1-c)*(100-.7*r)/100;i.push({x:10*(Math.cos(u)*f+1),y:10*(Math.sin(u)*f+1)})}return i};t.getPointsArray=l;t.generatePath=function(e){var t=e.sides||0,n=u(e);return c(n,12-t)};var u=function(e){var t=f(e),n=d(t);return b(t,n),t};t.getCurvePoints=u;var c=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r="",o="";if(!e.length)return"";for(var a=0;a<e.length;a++){var i=e[a];r+=" C "+i.x1+" "+i.y1+" "+i.x2+" "+i.y2+" "+i.m2x+" "+i.m2y;for(var s=Math.round(n/(e.length-a)),l=0;l<s;l++)r+=" C "+i.m2x+" "+i.m2y+" "+i.m2x+" "+i.m2y+" "+i.m2x+" "+i.m2y;0===a&&(o=i.m1x+" "+i.m1y),n-=s}return t="M "+o,t+=r,t+=" Z"};t.getPathFromCurvePoints=c;var f=function(e){for(var t=e.sides,n=e.smoothness,r=l(e),o=[],a=0;a<r.length;a++){var i=(a+1)%r.length,s=(a+r.length-1)%r.length,u=r[i],c=r[a],f=r[s],d={x:(f.x+c.x)/2,y:(f.y+c.y)/2},b={x:(c.x+u.x)/2,y:(c.y+u.y)/2},m=10*Math.cos(Math.PI/t),g=10*Math.sin(Math.PI/t),y=m*(Math.tan(Math.PI/(2*t))*(4/3))/g*n/100,x=d.x*(1-y)+c.x*y,v=d.y*(1-y)+c.y*y,p=b.x*(1-y)+c.x*y,M=b.y*(1-y)+c.y*y;o.push({x1:x,y1:v,x2:p,y2:M,m1x:d.x,m1y:d.y,m2x:b.x,m2y:b.y})}return o};t.getCurvePointsFromPoints=f;t.getDefaultBounds=function(){return{xMax:10,yMax:10,xMin:0,yMin:0,xRatio:1,yRatio:1}};t.initializeBounds=function(){return{xMax:0,yMax:0,xMin:10,yMin:10}};var d=function(e){return e.reduce((function(e,t){var n=t.x1,r=t.y1,o=t.x2,i=t.y2,s=t.m1x,l=t.m1y,u=t.m2x,c=t.m2y,f=(0,a.default)(s,l,n,r,o,i,u,c),d=f.top,b=f.right,m=f.bottom,g=f.left,y=Math.min(g,e.xMin),x=Math.max(b,e.xMax),v=Math.min(d,e.yMin),p=Math.max(m,e.yMax);return{xMin:y,xMax:x,yMin:v,yMax:p,xRatio:20/(x-y),yRatio:20/(p-v)}}),{yMin:10,xMax:10,yMax:10,xMin:10})};t.getBoundsFromCurves=d;var b=function(e,t){for(var n=t.xMin,r=(t.xMax,t.yMin),o=(t.yMax,t.xRatio),a=t.yRatio,i=0;i<e.length;i++){var s=e[i],l=s.x1,u=s.x2,c=s.y1,f=s.y2,d=s.m1x,b=s.m2x,m=s.m1y,g=s.m2y;e[i]={x1:(l-n)*o,x2:(u-n)*o,m2x:(b-n)*o,m1x:(d-n)*o,y1:(c-r)*a,y2:(f-r)*a,m1y:(m-r)*a,m2y:(g-r)*a}}};t.scaleCurvePoints=b;t.scalePoints=function(e,t){for(var n=t.xMin,r=(t.xMax,t.yMin),o=(t.yMax,t.xRatio),a=t.yRatio,i=0;i<e.length;i++){var s=e[i],l=s.x,u=s.y;e[i]={x:(l-n)*o,y:(u-r)*a}}};t.getBlobAttsFromAttributes=function(e,t){return{sides:e["".concat(t,"Sides")],patternSeed:e["".concat(t,"PatternSeed")],complexity:e["".concat(t,"Complexity")],smoothness:e["".concat(t,"Smoothness")],rotation:e["".concat(t,"Rotation")]}};var m=function(e,t,n){return"translate( ".concat((1-e)*t,"%, ").concat((1-e)*n,"% ) scale( ").concat(e," )")};t.getBlobTransform=m;t.getBlobStyles=function(e){var t=g(e),n=t.decorationScale,r=t.xOffset,o=t.yOffset;return{"--blob-mix-decoration-transform":m(n,100-r,100-o)}};t.getBlobMediaStyles=function(e){var t=g(e),n=t.mediaScale,r=t.xOffset,o=t.yOffset;return{width:"".concat(100*n,"%"),height:"".concat(100*n,"%"),top:"".concat((1-n)*o,"%"),left:"".concat((1-n)*r,"%")}};var g=function(e){var t=e.blobsEnableDecoration,n=e.blobsSizeBalance,r=e.blobsHorizontalDisplacement,o=e.blobsVerticalDisplacement,a=t?r:50,i=t?o:50,s=t?n:50,l=1-Math.abs(50-a)/100,u=1-Math.abs(50-i)/100,c=Math.min(l,u),f=.4*(50-s)/50,d=c-f,b=c+f,m=Math.max(d,b,1);return{mediaScale:d/=m,decorationScale:b/=m,xOffset:a,yOffset:i}};t.getBlobScalingProps=g;t.getBlobMaskStyles=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0 0 20 20",n="<svg viewBox='".concat(t,"' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1'><path d='").concat(e,"'></path></svg>"),r='url("data:image/svg+xml;utf8,'.concat(n,'")');return{maskImage:r,maskSize:"100% 100%",WebkitMaskImage:r,WebkitMaskSize:"100% 100%"}};t.getBlobViewBox=function(e){return"0 0 20 20"}},44:function(e,t,n){"use strict";n.r(t),n.d(t,"MersenneTwister",(function(){return s}));const r=624;function o(e){var t;for(let n=0;n<227;n++)t=2147483648&e[n]|2147483647&e[n+1],e[n]=e[n+397]^t>>>1^2567483615*(1&t);for(let n=227;n<623;n++)t=2147483648&e[n]|2147483647&e[n+1],e[n]=e[n-227]^t>>>1^2567483615*(1&t);return t=2147483648&e[623]|2147483647&e[0],e[623]=e[396]^t>>>1^2567483615*(1&t),e}function a(e){var t=new Array(r);t[0]=e;for(let e=1;e<r;e++){let n=t[e-1]^t[e-1]>>>30;t[e]=(1812433253*((4294901760&n)>>>16)<<16)+1812433253*(65535&n)+e}return t}function i(e=Date.now()){return o(Array.isArray(e)?function(e){for(var t=a(19650218),n=e.length,o=1,i=0,s=r>n?r:n;s;s--){let a=t[o-1]^t[o-1]>>>30;t[o]=(t[o]^(1664525*((4294901760&a)>>>16)<<16)+1664525*(65535&a))+e[i]+i,i++,++o>=r&&(t[0]=t[623],o=1),i>=n&&(i=0)}for(s=623;s;s--){let e=t[o-1]^t[o-1]>>>30;t[o]=(t[o]^(1566083941*((4294901760&e)>>>16)<<16)+1566083941*(65535&e))-o,++o>=r&&(t[0]=t[623],o=1)}return t[0]=2147483648,t}(e):a(e))}function s(e){var t=i(e),n=0,a=()=>{let e;return n>=r&&(t=o(t),n=0),e=t[n++],e^=e>>>11,e^=e<<7&2636928640,e^=e<<15&4022730752,e^=e>>>18,e>>>0},s={genrand_int32:()=>a(),genrand_int31:()=>a()>>>1,genrand_real1:()=>a()*(1/4294967295),genrand_real2:()=>a()*(1/4294967296),genrand_real3:()=>(a()+.5)*(1/4294967296),genrand_res53:()=>(67108864*(a()>>>5)+(a()>>>6))*(1/9007199254740992),randomNumber:()=>a(),random31Bit:()=>s.genrand_int31(),randomInclusive:()=>s.genrand_real1(),random:()=>s.genrand_real2(),randomExclusive:()=>s.genrand_real3(),random53Bit:()=>s.genrand_res53()};return s}},45:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=Math.sqrt,o=Math.min,a=Math.max,i=Math.abs,s=function(e,t,n,s,l,u,c,f){for(var d,b,m,g,y,x,v,p,M=[],h=[[],[]],P=[],S=0;S<2;++S)if(0===S?(b=6*e-12*n+6*l,d=-3*e+9*n-9*l+3*c,m=3*n-3*e):(b=6*t-12*s+6*u,d=-3*t+9*s-9*u+3*f,m=3*s-3*t),i(d)<1e-12){if(i(b)<1e-12)continue;0<(g=-m/b)&&g<1&&M.push(g)}else p=r(v=b*b-4*m*d),v<0||(0<(y=(-b+p)/(2*d))&&y<1&&M.push(y),0<(x=(-b-p)/(2*d))&&x<1&&M.push(x));for(var w,B,_,O=M.length,R=O;O--;)w=(_=1-(g=M[O]))*_*_*e+3*_*_*g*n+3*_*g*g*l+g*g*g*c,h[0][O]=w,B=_*_*_*t+3*_*_*g*s+3*_*g*g*u+g*g*g*f,h[1][O]=B,P[O]={X:w,Y:B};return M[R]=0,M[R+1]=1,P[R]={X:e,Y:t},P[R+1]={X:c,Y:f},h[0][R]=e,h[1][R]=t,h[0][R+1]=c,h[1][R+1]=f,M.length=h[0].length=h[1].length=P.length=R+2,{left:o.apply(null,h[0]),top:o.apply(null,h[1]),right:a.apply(null,h[0]),bottom:a.apply(null,h[1]),points:P,tvalues:M}};t.default=s},46:function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(47)),a=n(1);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=function(e){var t,n=(0,a.getRandomBetween)(4,7),r=10*(0,a.getRandomBetween)(0,10),i=(0,a.getRandomFromArray)([0,50,100,100,100]),s=(0,a.getRandomFromArray)([0,50,100,100,100]),l=10*(0,a.getRandomBetween)(0,10);return t={},(0,o.default)(t,"".concat(e,"Sides"),n),(0,o.default)(t,"".concat(e,"PatternSeed"),r),(0,o.default)(t,"".concat(e,"Complexity"),i),(0,o.default)(t,"".concat(e,"Smoothness"),s),(0,o.default)(t,"".concat(e,"Rotation"),l),t},u=function(){return s(s(s({blobsEnableMask:(0,a.getRandomFromArray)([!0,!0,!0]),blobsEnableDecoration:(0,a.getRandomFromArray)([!0,!0,!1])},l("blob")),l("blobMask")),{},{blobsHorizontalDisplacement:10*(0,a.getRandomBetween)(3,7),blobsVerticalDisplacement:10*(0,a.getRandomBetween)(3,7),blobsSizeBalance:10*(0,a.getRandomBetween)(4,6)})};t.default=u},47:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0}});1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=47)}({0:function(e,t){e.exports=window.novablocks.utils},1:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},11:function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.getBoundsFromCurves=t.getBlobViewBox=t.getBlobTransform=t.getBlobStyles=t.getBlobScalingProps=t.getBlobMediaStyles=t.getBlobMaskStyles=t.getBlobAttsFromAttributes=t.generatePath=t.BLOB_RADIUS=void 0,Object.defineProperty(t,"getBoundsOfCurve",{enumerable:!0,get:function(){return o.default}}),t.getPointsArray=t.getPathFromCurvePoints=t.getDefaultBounds=t.getCurvePointsFromPoints=t.getCurvePoints=void 0,Object.defineProperty(t,"getRandomAttributes",{enumerable:!0,get:function(){return i.default}}),t.scalePoints=t.scaleCurvePoints=t.initializeBounds=t.getRatioArray=void 0;var a=n(49),o=r(n(50)),i=r(n(51));t.BLOB_RADIUS=10;var l=function(e,t){var n=(0,a.MersenneTwister)(t);return Array.from(Array(e).keys()).map((function(){var e=1,t=10;return Math.floor(n.random()*(t-e+1)+e)/10}))};t.getRatioArray=l;var s=function(e){for(var t=e.sides,n=e.rotation,r=e.complexity,a=e.patternSeed,o=l(t,a),i=[],s=0;s<t;s++){var u=2*Math.PI*s/t+Math.PI/2+Math.PI*n*.9/180,c=o[s],d=c+(1-c)*(100-.7*r)/100;i.push({x:10*(Math.cos(u)*d+1),y:10*(Math.sin(u)*d+1)})}return i};t.getPointsArray=s;t.generatePath=function(e){var t=e.sides||0,n=u(e);return c(n,12-t)};var u=function(e){var t=d(e),n=f(t);return b(t,n),t};t.getCurvePoints=u;var c=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r="",a="";if(!e.length)return"";for(var o=0;o<e.length;o++){var i=e[o];r+=" C "+i.x1+" "+i.y1+" "+i.x2+" "+i.y2+" "+i.m2x+" "+i.m2y;for(var l=Math.round(n/(e.length-o)),s=0;s<l;s++)r+=" C "+i.m2x+" "+i.m2y+" "+i.m2x+" "+i.m2y+" "+i.m2x+" "+i.m2y;0===o&&(a=i.m1x+" "+i.m1y),n-=l}return t="M "+a,t+=r,t+=" Z"};t.getPathFromCurvePoints=c;var d=function(e){for(var t=e.sides,n=e.smoothness,r=s(e),a=[],o=0;o<r.length;o++){var i=(o+1)%r.length,l=(o+r.length-1)%r.length,u=r[i],c=r[o],d=r[l],f={x:(d.x+c.x)/2,y:(d.y+c.y)/2},b={x:(c.x+u.x)/2,y:(c.y+u.y)/2},m=10*Math.cos(Math.PI/t),g=10*Math.sin(Math.PI/t),y=m*(Math.tan(Math.PI/(2*t))*(4/3))/g*n/100,x=f.x*(1-y)+c.x*y,p=f.y*(1-y)+c.y*y,v=b.x*(1-y)+c.x*y,h=b.y*(1-y)+c.y*y;a.push({x1:x,y1:p,x2:v,y2:h,m1x:f.x,m1y:f.y,m2x:b.x,m2y:b.y})}return a};t.getCurvePointsFromPoints=d;t.getDefaultBounds=function(){return{xMax:10,yMax:10,xMin:0,yMin:0,xRatio:1,yRatio:1}};t.initializeBounds=function(){return{xMax:0,yMax:0,xMin:10,yMin:10}};var f=function(e){return e.reduce((function(e,t){var n=t.x1,r=t.y1,a=t.x2,i=t.y2,l=t.m1x,s=t.m1y,u=t.m2x,c=t.m2y,d=(0,o.default)(l,s,n,r,a,i,u,c),f=d.top,b=d.right,m=d.bottom,g=d.left,y=Math.min(g,e.xMin),x=Math.max(b,e.xMax),p=Math.min(f,e.yMin),v=Math.max(m,e.yMax);return{xMin:y,xMax:x,yMin:p,yMax:v,xRatio:20/(x-y),yRatio:20/(v-p)}}),{yMin:10,xMax:10,yMax:10,xMin:10})};t.getBoundsFromCurves=f;var b=function(e,t){for(var n=t.xMin,r=(t.xMax,t.yMin),a=(t.yMax,t.xRatio),o=t.yRatio,i=0;i<e.length;i++){var l=e[i],s=l.x1,u=l.x2,c=l.y1,d=l.y2,f=l.m1x,b=l.m2x,m=l.m1y,g=l.m2y;e[i]={x1:(s-n)*a,x2:(u-n)*a,m2x:(b-n)*a,m1x:(f-n)*a,y1:(c-r)*o,y2:(d-r)*o,m1y:(m-r)*o,m2y:(g-r)*o}}};t.scaleCurvePoints=b;t.scalePoints=function(e,t){for(var n=t.xMin,r=(t.xMax,t.yMin),a=(t.yMax,t.xRatio),o=t.yRatio,i=0;i<e.length;i++){var l=e[i],s=l.x,u=l.y;e[i]={x:(s-n)*a,y:(u-r)*o}}};t.getBlobAttsFromAttributes=function(e,t){return{sides:e["".concat(t,"Sides")],patternSeed:e["".concat(t,"PatternSeed")],complexity:e["".concat(t,"Complexity")],smoothness:e["".concat(t,"Smoothness")],rotation:e["".concat(t,"Rotation")]}};var m=function(e,t,n){return"translate( ".concat((1-e)*t,"%, ").concat((1-e)*n,"% ) scale( ").concat(e," )")};t.getBlobTransform=m;t.getBlobStyles=function(e){var t=g(e),n=t.decorationScale,r=t.xOffset,a=t.yOffset;return{"--blob-mix-decoration-transform":m(n,100-r,100-a)}};t.getBlobMediaStyles=function(e){var t=g(e),n=t.mediaScale,r=t.xOffset,a=t.yOffset;return{width:"".concat(100*n,"%"),height:"".concat(100*n,"%"),top:"".concat((1-n)*a,"%"),left:"".concat((1-n)*r,"%")}};var g=function(e){var t=e.blobsEnableDecoration,n=e.blobsSizeBalance,r=e.blobsHorizontalDisplacement,a=e.blobsVerticalDisplacement,o=t?r:50,i=t?a:50,l=t?n:50,s=1-Math.abs(50-o)/100,u=1-Math.abs(50-i)/100,c=Math.min(s,u),d=.4*(50-l)/50,f=c-d,b=c+d,m=Math.max(f,b,1);return{mediaScale:f/=m,decorationScale:b/=m,xOffset:o,yOffset:i}};t.getBlobScalingProps=g;t.getBlobMaskStyles=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0 0 20 20",n="<svg viewBox='".concat(t,"' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1'><path d='").concat(e,"'></path></svg>"),r='url("data:image/svg+xml;utf8,'.concat(n,'")');return{maskImage:r,maskSize:"100% 100%",WebkitMaskImage:r,WebkitMaskSize:"100% 100%"}};t.getBlobViewBox=function(e){return"0 0 20 20"}},2:function(e,t){e.exports=window.wp.domReady},47:function(e,t,n){"use strict";n(48)},48:function(e,t,n){"use strict";var r=n(1)(n(2)),a=n(0),o=n(11),i=n(53);(0,r.default)((function(){a.IS_EDITOR||a.IS_CUSTOMIZER||document.querySelectorAll("[data-shape-modeling-target]").forEach((function(e){var t=e.dataset.shapeModelingShapeOffset,n=t?parseInt(t,10):0,r=e.closest("[data-blob-sides]"),l=(0,a.getAttributes)(r),s=l.blobsEnableMask,u=l.blobsEnableDecoration,c=Object.assign({},l,{blobPatternSeed:l.blobPatternSeed+n,blobMaskPatternSeed:l.blobMaskPatternSeed+n}),d=(0,o.getBlobAttsFromAttributes)(c,"blob");(0,i.wrapTarget)(e,l);var f=e.closest(".blob-mix"),b=e.closest(".blob-mix__media"),m=e.closest(".blob-mix__mask"),g=(0,o.getBlobMediaStyles)(l);if(Object.assign(b.style,g),u){var y=(0,i.getShapeDecorationSVG)(d);b.insertAdjacentElement("beforebegin",y)}if(s){var x=(0,o.getBlobAttsFromAttributes)(c,"blobMask"),p=(0,o.generatePath)(x),v=(0,o.getBlobMaskStyles)(p,(0,o.getBlobViewBox)(l));Object.assign(m.style,v)}var h=(0,o.getBlobStyles)(l);Object.keys(h).forEach((function(e){f.style.setProperty(e,h[e])}))}))}))},49:function(e,t,n){"use strict";n.r(t),n.d(t,"MersenneTwister",(function(){return l}));const r=624;function a(e){var t;for(let n=0;n<227;n++)t=2147483648&e[n]|2147483647&e[n+1],e[n]=e[n+397]^t>>>1^2567483615*(1&t);for(let n=227;n<623;n++)t=2147483648&e[n]|2147483647&e[n+1],e[n]=e[n-227]^t>>>1^2567483615*(1&t);return t=2147483648&e[623]|2147483647&e[0],e[623]=e[396]^t>>>1^2567483615*(1&t),e}function o(e){var t=new Array(r);t[0]=e;for(let e=1;e<r;e++){let n=t[e-1]^t[e-1]>>>30;t[e]=(1812433253*((4294901760&n)>>>16)<<16)+1812433253*(65535&n)+e}return t}function i(e=Date.now()){return a(Array.isArray(e)?function(e){for(var t=o(19650218),n=e.length,a=1,i=0,l=r>n?r:n;l;l--){let o=t[a-1]^t[a-1]>>>30;t[a]=(t[a]^(1664525*((4294901760&o)>>>16)<<16)+1664525*(65535&o))+e[i]+i,i++,++a>=r&&(t[0]=t[623],a=1),i>=n&&(i=0)}for(l=623;l;l--){let e=t[a-1]^t[a-1]>>>30;t[a]=(t[a]^(1566083941*((4294901760&e)>>>16)<<16)+1566083941*(65535&e))-a,++a>=r&&(t[0]=t[623],a=1)}return t[0]=2147483648,t}(e):o(e))}function l(e){var t=i(e),n=0,o=()=>{let e;return n>=r&&(t=a(t),n=0),e=t[n++],e^=e>>>11,e^=e<<7&2636928640,e^=e<<15&4022730752,e^=e>>>18,e>>>0},l={genrand_int32:()=>o(),genrand_int31:()=>o()>>>1,genrand_real1:()=>o()*(1/4294967295),genrand_real2:()=>o()*(1/4294967296),genrand_real3:()=>(o()+.5)*(1/4294967296),genrand_res53:()=>(67108864*(o()>>>5)+(o()>>>6))*(1/9007199254740992),randomNumber:()=>o(),random31Bit:()=>l.genrand_int31(),randomInclusive:()=>l.genrand_real1(),random:()=>l.genrand_real2(),randomExclusive:()=>l.genrand_real3(),random53Bit:()=>l.genrand_res53()};return l}},50:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=Math.sqrt,a=Math.min,o=Math.max,i=Math.abs,l=function(e,t,n,l,s,u,c,d){for(var f,b,m,g,y,x,p,v,h=[],M=[[],[]],S=[],P=0;P<2;++P)if(0===P?(b=6*e-12*n+6*s,f=-3*e+9*n-9*s+3*c,m=3*n-3*e):(b=6*t-12*l+6*u,f=-3*t+9*l-9*u+3*d,m=3*l-3*t),i(f)<1e-12){if(i(b)<1e-12)continue;0<(g=-m/b)&&g<1&&h.push(g)}else v=r(p=b*b-4*m*f),p<0||(0<(y=(-b+v)/(2*f))&&y<1&&h.push(y),0<(x=(-b-v)/(2*f))&&x<1&&h.push(x));for(var w,B,O,_=h.length,j=_;_--;)w=(O=1-(g=h[_]))*O*O*e+3*O*O*g*n+3*O*g*g*s+g*g*g*c,M[0][_]=w,B=O*O*O*t+3*O*O*g*l+3*O*g*g*u+g*g*g*d,M[1][_]=B,S[_]={X:w,Y:B};return h[j]=0,h[j+1]=1,S[j]={X:e,Y:t},S[j+1]={X:c,Y:d},M[0][j]=e,M[1][j]=t,M[0][j+1]=c,M[1][j+1]=d,h.length=M[0].length=M[1].length=S.length=j+2,{left:a.apply(null,M[0]),top:a.apply(null,M[1]),right:o.apply(null,M[0]),bottom:o.apply(null,M[1]),points:S,tvalues:h}};t.default=l},51:function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(52)),o=n(0);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s=function(e){var t,n=(0,o.getRandomBetween)(4,7),r=10*(0,o.getRandomBetween)(0,10),i=(0,o.getRandomFromArray)([0,50,100,100,100]),l=(0,o.getRandomFromArray)([0,50,100,100,100]),s=10*(0,o.getRandomBetween)(0,10);return t={},(0,a.default)(t,"".concat(e,"Sides"),n),(0,a.default)(t,"".concat(e,"PatternSeed"),r),(0,a.default)(t,"".concat(e,"Complexity"),i),(0,a.default)(t,"".concat(e,"Smoothness"),l),(0,a.default)(t,"".concat(e,"Rotation"),s),t},u=function(){return l(l(l({blobsEnableMask:(0,o.getRandomFromArray)([!0,!0,!0]),blobsEnableDecoration:(0,o.getRandomFromArray)([!0,!0,!1])},s("blob")),s("blobMask")),{},{blobsHorizontalDisplacement:10*(0,o.getRandomBetween)(3,7),blobsVerticalDisplacement:10*(0,o.getRandomBetween)(3,7),blobsSizeBalance:10*(0,o.getRandomBetween)(4,6)})};t.default=u},52:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},53:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapTarget=t.getShapeDecorationSVG=t.getBlobMaskClassname=void 0;var r=n(11),a=n(0);t.getShapeDecorationSVG=function(e){var t=(0,r.generatePath)(e),n=document.createElementNS("http://www.w3.org/2000/svg","svg"),o=document.createElementNS("http://www.w3.org/2000/svg","path");return(0,a.addClass)(n,"blob-mix__decoration"),n.setAttribute("viewBox","0 0 20 20"),o.setAttribute("d",t),n.appendChild(o),n};var o=function(e){var t=Object.assign({},e,{colorSignal:e.contentColorSignal,paletteVariation:e.contentPaletteVariation,useSourceColorAsReference:!1});return"blob-mix__mask ".concat((0,a.getColorSignalClassnames)(t,!0))};t.getBlobMaskClassname=o;t.wrapTarget=function(e,t){var n=document.createElement("div"),r=document.createElement("div"),i=document.createElement("div"),l=o(t);(0,a.addClass)(n,"blob-mix"),(0,a.addClass)(r,"novablocks-media-composition__grid-item-mask blob-mix__media"),(0,a.addClass)(i,l),e.insertAdjacentElement("afterend",n),n.appendChild(r),r.appendChild(i),i.appendChild(e)}}}); -
nova-blocks/trunk/build/shape-modeling/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks-utils', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => ' d2013015bf951069670933631afc22c4');1 <?php return array('dependencies' => array('novablocks-block-editor', 'novablocks-utils', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => 'ccca46515ed0086ed48de16e5994828d'); -
nova-blocks/trunk/build/shape-modeling/index.js
r2738702 r2744078 1 this.novablocks=this.novablocks||{},this.novablocks.shapeModeling=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7 3)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},11:function(e,t,n){var r;1 this.novablocks=this.novablocks||{},this.novablocks.shapeModeling=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=75)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},11:function(e,t,n){var r; 2 2 /*! 3 3 Copyright (c) 2017 Jed Watson. 4 4 Licensed under the MIT License (MIT), see 5 5 http://jedwatson.github.io/classnames 6 */!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var l=a.apply(null,r);l&&e.push(l)}else if("object"===o)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},3:function(e,t){e.exports=window.wp.components},4:function(e,t){e.exports=window.novablocks.utils},5:function(e,t){e.exports=window.novablocks.blockEditor},6:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},7:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},7 3:function(e,t,n){"use strict";n.r(t),n.d(t,"attributes",(function(){return Q})),n.d(t,"withShapeModelingDecoration",(function(){return F}));var r=n(8),a=n(0),o=n(11),l=n.n(o),c=n(9);const i=624;function b(e){var t;for(let n=0;n<227;n++)t=2147483648&e[n]|2147483647&e[n+1],e[n]=e[n+397]^t>>>1^2567483615*(1&t);for(let n=227;n<623;n++)t=2147483648&e[n]|2147483647&e[n+1],e[n]=e[n-227]^t>>>1^2567483615*(1&t);return t=2147483648&e[623]|2147483647&e[0],e[623]=e[396]^t>>>1^2567483615*(1&t),e}function s(e){var t=new Array(i);t[0]=e;for(let e=1;e<i;e++){let n=t[e-1]^t[e-1]>>>30;t[e]=(1812433253*((4294901760&n)>>>16)<<16)+1812433253*(65535&n)+e}return t}function u(e=Date.now()){return b(Array.isArray(e)?function(e){for(var t=s(19650218),n=e.length,r=1,a=0,o=i>n?i:n;o;o--){let o=t[r-1]^t[r-1]>>>30;t[r]=(t[r]^(1664525*((4294901760&o)>>>16)<<16)+1664525*(65535&o))+e[a]+a,a++,++r>=i&&(t[0]=t[623],r=1),a>=n&&(a=0)}for(o=623;o;o--){let e=t[r-1]^t[r-1]>>>30;t[r]=(t[r]^(1566083941*((4294901760&e)>>>16)<<16)+1566083941*(65535&e))-r,++r>=i&&(t[0]=t[623],r=1)}return t[0]=2147483648,t}(e):s(e))}var m=Math.sqrt,p=Math.min,d=Math.max,y=Math.abs,f=function(e,t,n,r,a,o,l,c){for(var i,b,s,u,f,x,g,O,h=[],j=[[],[]],v=[],_=0;_<2;++_)if(0===_?(b=6*e-12*n+6*a,i=-3*e+9*n-9*a+3*l,s=3*n-3*e):(b=6*t-12*r+6*o,i=-3*t+9*r-9*o+3*c,s=3*r-3*t),y(i)<1e-12){if(y(b)<1e-12)continue;0<(u=-s/b)&&u<1&&h.push(u)}else O=m(g=b*b-4*s*i),g<0||(0<(f=(-b+O)/(2*i))&&f<1&&h.push(f),0<(x=(-b-O)/(2*i))&&x<1&&h.push(x));for(var k,M,E,w=h.length,S=w;w--;)k=(E=1-(u=h[w]))*E*E*e+3*E*E*u*n+3*E*u*u*a+u*u*u*l,j[0][w]=k,M=E*E*E*t+3*E*E*u*r+3*E*u*u*o+u*u*u*c,j[1][w]=M,v[w]={X:k,Y:M};return h[S]=0,h[S+1]=1,v[S]={X:e,Y:t},v[S+1]={X:l,Y:c},j[0][S]=e,j[1][S]=t,j[0][S+1]=l,j[1][S+1]=c,h.length=j[0].length=j[1].length=v.length=S+2,{left:p.apply(null,j[0]),top:p.apply(null,j[1]),right:d.apply(null,j[0]),bottom:d.apply(null,j[1]),points:v,tvalues:h}},x=n(6),g=n(4);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){Object(x.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var j=function(e){var t,n=Object(g.getRandomBetween)(4,7),r=10*Object(g.getRandomBetween)(0,10),a=Object(g.getRandomFromArray)([0,50,100,100,100]),o=Object(g.getRandomFromArray)([0,50,100,100,100]),l=10*Object(g.getRandomBetween)(0,10);return t={},Object(x.a)(t,"".concat(e,"Sides"),n),Object(x.a)(t,"".concat(e,"PatternSeed"),r),Object(x.a)(t,"".concat(e,"Complexity"),a),Object(x.a)(t,"".concat(e,"Smoothness"),o),Object(x.a)(t,"".concat(e,"Rotation"),l),t},v=function(){return h(h(h({blobsEnableMask:Object(g.getRandomFromArray)([!0,!0,!0]),blobsEnableDecoration:Object(g.getRandomFromArray)([!0,!0,!1])},j("blob")),j("blobMask")),{},{blobsHorizontalDisplacement:10*Object(g.getRandomBetween)(3,7),blobsVerticalDisplacement:10*Object(g.getRandomBetween)(3,7),blobsSizeBalance:10*Object(g.getRandomBetween)(4,6)})},_=function(e,t){var n,r,a,o,l=(n=u(t),r=0,a=()=>{let e;return r>=i&&(n=b(n),r=0),e=n[r++],e^=e>>>11,e^=e<<7&2636928640,e^=e<<15&4022730752,e^=e>>>18,e>>>0},o={genrand_int32:()=>a(),genrand_int31:()=>a()>>>1,genrand_real1:()=>a()*(1/4294967295),genrand_real2:()=>a()*(1/4294967296),genrand_real3:()=>(a()+.5)*(1/4294967296),genrand_res53:()=>(67108864*(a()>>>5)+(a()>>>6))*(1/9007199254740992),randomNumber:()=>a(),random31Bit:()=>o.genrand_int31(),randomInclusive:()=>o.genrand_real1(),random:()=>o.genrand_real2(),randomExclusive:()=>o.genrand_real3(),random53Bit:()=>o.genrand_res53()});return Array.from(Array(e).keys()).map((function(){var e=1,t=10;return Math.floor(l.random()*(t-e+1)+e)/10}))},k=function(e){for(var t=e.sides,n=e.rotation,r=e.complexity,a=e.patternSeed,o=_(t,a),l=[],c=0;c<t;c++){var i=2*Math.PI*c/t+Math.PI/2+Math.PI*n*.9/180,b=o[c],s=b+(1-b)*(100-.7*r)/100;l.push({x:10*(Math.cos(i)*s+1),y:10*(Math.sin(i)*s+1)})}return l},M=function(e){var t=e.sides||0,n=E(e);return w(n,12-t)},E=function(e){var t=S(e),n=C(t);return D(t,n),t},w=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r="",a="";if(!e.length)return"";for(var o=0;o<e.length;o++){var l=e[o];r+=" C "+l.x1+" "+l.y1+" "+l.x2+" "+l.y2+" "+l.m2x+" "+l.m2y;for(var c=Math.round(n/(e.length-o)),i=0;i<c;i++)r+=" C "+l.m2x+" "+l.m2y+" "+l.m2x+" "+l.m2y+" "+l.m2x+" "+l.m2y;0===o&&(a=l.m1x+" "+l.m1y),n-=c}return t="M "+a,t+=r,t+=" Z"},S=function(e){for(var t=e.sides,n=e.smoothness,r=k(e),a=[],o=0;o<r.length;o++){var l=(o+1)%r.length,c=(o+r.length-1)%r.length,i=r[l],b=r[o],s=r[c],u={x:(s.x+b.x)/2,y:(s.y+b.y)/2},m={x:(b.x+i.x)/2,y:(b.y+i.y)/2},p=10*Math.cos(Math.PI/t),d=10*Math.sin(Math.PI/t),y=p*(Math.tan(Math.PI/(2*t))*(4/3))/d*n/100,f=u.x*(1-y)+b.x*y,x=u.y*(1-y)+b.y*y,g=m.x*(1-y)+b.x*y,O=m.y*(1-y)+b.y*y;a.push({x1:f,y1:x,x2:g,y2:O,m1x:u.x,m1y:u.y,m2x:m.x,m2y:m.y})}return a},C=function(e){return e.reduce((function(e,t){var n=t.x1,r=t.y1,a=t.x2,o=t.y2,l=t.m1x,c=t.m1y,i=t.m2x,b=t.m2y,s=f(l,c,n,r,a,o,i,b),u=s.top,m=s.right,p=s.bottom,d=s.left,y=Math.min(d,e.xMin),x=Math.max(m,e.xMax),g=Math.min(u,e.yMin),O=Math.max(p,e.yMax);return{xMin:y,xMax:x,yMin:g,yMax:O,xRatio:20/(x-y),yRatio:20/(O-g)}}),{yMin:10,xMax:10,yMax:10,xMin:10})},D=function(e,t){for(var n=t.xMin,r=(t.xMax,t.yMin),a=(t.yMax,t.xRatio),o=t.yRatio,l=0;l<e.length;l++){var c=e[l],i=c.x1,b=c.x2,s=c.y1,u=c.y2,m=c.m1x,p=c.m2x,d=c.m1y,y=c.m2y;e[l]={x1:(i-n)*a,x2:(b-n)*a,m2x:(p-n)*a,m1x:(m-n)*a,y1:(s-r)*o,y2:(u-r)*o,m1y:(d-r)*o,m2y:(y-r)*o}}},P=function(e,t){return{sides:e["".concat(t,"Sides")],patternSeed:e["".concat(t,"PatternSeed")],complexity:e["".concat(t,"Complexity")],smoothness:e["".concat(t,"Smoothness")],rotation:e["".concat(t,"Rotation")]}},R=function(e){var t=B(e),n=t.mediaScale,r=t.xOffset,a=t.yOffset;return{width:"".concat(100*n,"%"),height:"".concat(100*n,"%"),top:"".concat((1-n)*a,"%"),left:"".concat((1-n)*r,"%")}},B=function(e){var t=e.blobsEnableDecoration,n=e.blobsSizeBalance,r=e.blobsHorizontalDisplacement,a=e.blobsVerticalDisplacement,o=t?r:50,l=t?a:50,c=t?n:50,i=1-Math.abs(50-o)/100,b=1-Math.abs(50-l)/100,s=Math.min(i,b),u=.4*(50-c)/50,m=s-u,p=s+u,d=Math.max(m,p,1);return{mediaScale:m/=d,decorationScale:p/=d,xOffset:o,yOffset:l}},A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0 0 20 20",n="<svg viewBox='".concat(t,"' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1'><path d='").concat(e,"'></path></svg>"),r='url("data:image/svg+xml;utf8,'.concat(n,'")');return{maskImage:r,maskSize:"100% 100%",WebkitMaskImage:r,WebkitMaskSize:"100% 100%"}},z=function(e){var t=k(e),n=S(e),r=C(n);return function(e,t){for(var n=t.xMin,r=(t.xMax,t.yMin),a=(t.yMax,t.xRatio),o=t.yRatio,l=0;l<e.length;l++){var c=e[l],i=c.x,b=c.y;e[l]={x:(i-n)*a,y:(b-r)*o}}}(t,r),D(n,r),Object(a.createElement)(a.Fragment,null,t.map((function(e,n){var r=t[(n+1)%t.length];return Object(a.createElement)(a.Fragment,{key:"point_"+n},Object(a.createElement)("line",{x1:e.x,y1:e.y,x2:r.x,y2:r.y,strokeWidth:"0.05",stroke:"black",strokeDasharray:"0.2",style:{strokeOpacity:.5}}),Object(a.createElement)("line",{x1:e.x,y1:e.y,x2:10,y2:10,strokeWidth:"0.05",stroke:"black",strokeDasharray:"0.2",style:{strokeOpacity:.5}}))})),n.map((function(e,t){var n=e.x1,r=e.y1,o=e.x2,l=e.y2,c=e.m1x,i=e.m1y,b=e.m2x,s=e.m2y;return Object(a.createElement)(a.Fragment,{key:"curve_point1_"+t},Object(a.createElement)("line",{x1:c,y1:i,x2:n,y2:r,strokeWidth:"0.05",stroke:"black"}),Object(a.createElement)("line",{x1:b,y1:s,x2:o,y2:l,strokeWidth:"0.05",stroke:"black"}))})),n.map((function(e,t){var n=e.x1,r=e.y1,o=e.x2,l=e.y2;e.m1x,e.m1y,e.m2x,e.m2y;return Object(a.createElement)(a.Fragment,{key:"curve_point2_"+t},Object(a.createElement)("circle",{cx:n,cy:r,r:"0.2",stroke:"black",strokeWidth:"0.05",fill:"white"}),Object(a.createElement)("circle",{cx:o,cy:l,r:"0.2",stroke:"black",strokeWidth:"0.05",fill:"white"}))})),n.map((function(e,t){e.x1,e.y1,e.x2,e.y2;var n=e.m1x,r=e.m1y;e.m2x,e.m2y;return Object(a.createElement)(a.Fragment,{key:"curve_point3_"+t},Object(a.createElement)("rect",{x:n-.2,y:r-.2,width:"0.4",height:"0.4",stroke:"black",strokeWidth:"0.05",fill:"yellow"}))})),n.map((function(e,t){var n=e.x1,r=e.y1,o=e.x2,l=e.y2,c=e.m1x,i=e.m1y,b=e.m2x,s=e.m2y,u=f(c,i,n,r,o,l,b,s),m=u.top,p=u.right,d=u.bottom,y=u.left;return Object(a.createElement)(a.Fragment,{key:"curve_point4_"+t},Object(a.createElement)("line",{x1:y,y1:m,x2:y,y2:d,strokeWidth:"0.05",stroke:"black",strokeDasharray:"0.2"}),Object(a.createElement)("line",{x1:p,y1:m,x2:p,y2:d,strokeWidth:"0.05",stroke:"black",strokeDasharray:"0.2"}),Object(a.createElement)("line",{x1:y,y1:m,x2:p,y2:m,strokeWidth:"0.05",stroke:"black",strokeDasharray:"0.2"}),Object(a.createElement)("line",{x1:y,y1:d,x2:p,y2:d,strokeWidth:"0.05",stroke:"black",strokeDasharray:"0.2"}))})),t.map((function(e){e.x,e.y;return!1})))},F=Object(c.createHigherOrderComponent)((function(e){return function(t){var n=t.attributes,r=n.blobsEnableMask,o=n.blobsEnableDecoration,c=n.enableShapeDebug,i=Number.isInteger(t.seedOffset)?t.seedOffset:0,b=Object.assign({},n,{blobPatternSeed:n.blobPatternSeed+i,blobMaskPatternSeed:n.blobMaskPatternSeed+i}),s=function(e){var t,n,r,a=B(e),o=a.decorationScale,l=a.xOffset,c=a.yOffset;return{"--blob-mix-decoration-transform":(t=o,n=100-l,r=100-c,"translate( ".concat((1-t)*n,"%, ").concat((1-t)*r,"% ) scale( ").concat(t," )"))}}(b),u=P(b,"blob"),m=P(b,"blobMask"),p=M(m),d=M(u),y=Object(g.getColorSignalClassnames)(n,!0),f=l()("blob-mix__mask",y);return Object(a.createElement)("div",{className:"blob-mix",style:s},Object(a.createElement)("div",{className:"novablocks-media-composition__grid-item-mask blob-mix__media",style:R(n)},Object(a.createElement)("div",{className:f,style:r?A(p,"0 0 20 20"):{}},Object(a.createElement)(e,t)),Object(a.createElement)("svg",{className:"blob-mix__mask-debug",viewBox:"0 0 20 20",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",version:"1.1"},r&&c&&Object(a.createElement)(z,m))),o&&Object(a.createElement)("svg",{className:"blob-mix__decoration",viewBox:"0 0 20 20",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",version:"1.1"},Object(a.createElement)("path",{d:d}),c&&Object(a.createElement)(z,u)))}}),"withShapeModelingDecoration"),W=n(5),I=n(7),N=n(1),T=n(3);var H=function(e){var t=e.attributes,n=e.setAttributes,r=e.settings,o=t.enableShapeDebug;return null!=r&&r.debug?Object(a.createElement)(W.ControlsGroup,{title:Object(N.__)("Debug","nova-blocks")},Object(a.createElement)(T.ToggleControl,{label:Object(N.__)("Enable Shape Debug","nova-blocks"),checked:o,onChange:function(){return n({enableShapeDebug:!o})}})):null},V=function(e){var t=e.attributes,n=e.setAttributes,r=e.enableAttribute,o=e.toggleLabel,l=t[r];return Object(a.createElement)(T.ToggleControl,{label:o,checked:l,onChange:function(){return n(Object(x.a)({},r,!l))}})},G=function(e){var t=e.attributes,n=e.setAttributes,r=e.enableAttribute,o=e.prefix,l=0===t["".concat(o,"Complexity")],c=0===t["".concat(o,"Complexity")]&&100===t["".concat(o,"Smoothness")],i=0===t["".concat(o,"Complexity")]&&100===t["".concat(o,"Smoothness")];return t[r]?Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:Object(g.getControlsDirtyClasses)(c)},Object(a.createElement)(T.RangeControl,{value:t["".concat(o,"Sides")],onChange:function(e){var t={};t["".concat(o,"Sides")]=e,n(t)},label:Object(N.__)("Sides","nova-blocks"),min:3,max:8,step:1})),Object(a.createElement)("div",{className:Object(g.getControlsDirtyClasses)(l)},Object(a.createElement)(T.RangeControl,{value:t["".concat(o,"PatternSeed")],onChange:function(e){var t={};t["".concat(o,"PatternSeed")]=e,n(t)},label:Object(N.__)("Pattern Seed","nova-blocks"),min:0,max:100,step:10})),Object(a.createElement)(T.RangeControl,{value:t["".concat(o,"Complexity")],onChange:function(e){var t={};t["".concat(o,"Complexity")]=e,n(t)},label:Object(N.__)("Variation","nova-blocks"),min:0,max:100,step:10}),Object(a.createElement)(T.RangeControl,{value:t["".concat(o,"Smoothness")],onChange:function(e){var t={};t["".concat(o,"Smoothness")]=e,n(t)},label:Object(N.__)("Smoothness","nova-blocks"),min:0,max:100,step:10}),Object(a.createElement)("div",{className:Object(g.getControlsDirtyClasses)(i)},Object(a.createElement)(T.RangeControl,{value:t["".concat(o,"Rotation")],onChange:function(e){var t={};t["".concat(o,"Rotation")]=e,n(t)},label:Object(N.__)("Rotation","nova-blocks"),min:0,max:100,step:10}))):null},L=function(e){var t=e.groupTitle;return Object(a.createElement)(W.ControlsGroup,{title:t},Object(a.createElement)(V,e),Object(a.createElement)(G,e))},X=function(e){var t=e.attributes,n=e.setAttributes,r=t.blobsEnableDecoration,o=t.blobsHorizontalDisplacement,l=t.blobsVerticalDisplacement,c=t.blobsSizeBalance;return r?Object(a.createElement)(W.ControlsGroup,{title:Object(N.__)("Scaling","nova-blocks")},Object(a.createElement)(T.RangeControl,{value:o,onChange:function(e){n({blobsHorizontalDisplacement:e})},label:Object(N.__)("Horizontal Displacement","nova-blocks"),min:0,max:100,step:5}),Object(a.createElement)(T.RangeControl,{value:l,onChange:function(e){n({blobsVerticalDisplacement:e})},label:Object(N.__)("Vertical Displacement","nova-blocks"),min:0,max:100,step:5}),Object(a.createElement)(T.RangeControl,{value:c,onChange:function(e){n({blobsSizeBalance:e})},label:Object(N.__)("Size Balance","nova-blocks"),min:20,max:80,step:5})):null},Y=Object(W.withVisibility)("shape-modeling-section")((function(e){var t=Object(W.useSettings)();return Object(a.createElement)(W.ControlsSection,{id:"shape-modeling",label:Object(N.__)("Shape Modeling","nova-blocks"),group:Object(N.__)("Modules","nova-blocks"),order:30},Object(a.createElement)(W.ControlsTab,{label:Object(N.__)("Presets","nova-blocks")},Object(a.createElement)("p",null,Object(N.__)("Use this tool to generate shapes and combine them with your images to create designs that are a unique and memorable part of your brand identity.","nova-blocks")),Object(a.createElement)(W.PresetControl,Object(I.a)({key:"blob-style-preset",label:Object(N.__)("Choose a shape preset:","nova-blocks"),options:t.blobPresetOptions,randomize:v},e))),Object(a.createElement)(W.ControlsTab,{label:Object(N.__)("Settings","nova-blocks")},Object(a.createElement)(H,e),Object(a.createElement)(L,Object(I.a)({},e,{prefix:"blobMask",enableAttribute:"blobsEnableMask",groupTitle:Object(N.__)("Media Shape","nova-blocks"),toggleLabel:Object(N.__)("Enable Media Shape","nova-blocks")})),Object(a.createElement)(L,Object(I.a)({},e,{prefix:"blob",enableAttribute:"blobsEnableDecoration",groupTitle:Object(N.__)("Decorative Shape","nova-blocks"),toggleLabel:Object(N.__)("Enable Blob Decoration","nova-blocks")})),Object(a.createElement)(X,e)))})),q=Object(c.createHigherOrderComponent)((function(e){return function(t){var n,r,o,l=Object(W.useSupports)(t.name);return!0!==(null==l||null===(n=l.novaBlocks)||void 0===n?void 0:n.shapeModeling)&&!0!==(null==l||null===(r=l.novaBlocks)||void 0===r||null===(o=r.shapeModeling)||void 0===o?void 0:o.controls)?Object(a.createElement)(e,t):Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Y,t),Object(a.createElement)(e,t))}}),"withShapeModelingControls");function U(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U(Object(n),!0).forEach((function(t){Object(x.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var J={blobsEnableMask:{type:"boolean",default:!1},blobSides:{type:"number",default:3},blobPatternSeed:{type:"number",default:3},blobComplexity:{type:"number",default:0},blobSmoothness:{type:"number",default:33},blobRotation:{type:"number",default:0},blobsEnableDecoration:{type:"boolean",default:!1},blobMaskSides:{type:"number",default:3},blobMaskPatternSeed:{type:"number",default:3},blobMaskComplexity:{type:"number",default:0},blobMaskSmoothness:{type:"number",default:33},blobMaskRotation:{type:"number",default:0},blobsSizeBalance:{type:"number",default:50},blobsHorizontalDisplacement:{type:"number",default:50},blobsVerticalDisplacement:{type:"number",default:50}};var K=function(e){var t,n,r=null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n?void 0:n.shapeModeling;return!0!==r&&!0!==(null==r?void 0:r.attributes)?e:Z(Z({},e),{},{attributes:Z(Z({},e.attributes),J)})},Q={blobsEnableMask:{type:"boolean",default:!1},blobSides:{type:"number",default:3},blobPatternSeed:{type:"number",default:3},blobComplexity:{type:"number",default:0},blobSmoothness:{type:"number",default:33},blobRotation:{type:"number",default:0},blobsEnableDecoration:{type:"boolean",default:!1},blobMaskSides:{type:"number",default:3},blobMaskPatternSeed:{type:"number",default:3},blobMaskComplexity:{type:"number",default:0},blobMaskSmoothness:{type:"number",default:33},blobMaskRotation:{type:"number",default:0},blobsSizeBalance:{type:"number",default:50},blobsHorizontalDisplacement:{type:"number",default:50},blobsVerticalDisplacement:{type:"number",default:50}};Object(r.addFilter)("editor.BlockEdit","novablocks/with-shape-modeling-controls",q),Object(r.addFilter)("blocks.registerBlockType","novablocks/with-shape-modeling-attributes",K)},8:function(e,t){e.exports=window.wp.hooks},9:function(e,t){e.exports=window.wp.compose}});6 */!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var l=a.apply(null,r);l&&e.push(l)}else if("object"===o)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},3:function(e,t){e.exports=window.wp.components},4:function(e,t){e.exports=window.novablocks.utils},5:function(e,t){e.exports=window.novablocks.blockEditor},6:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},7:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},75:function(e,t,n){"use strict";n.r(t),n.d(t,"attributes",(function(){return Q})),n.d(t,"withShapeModelingDecoration",(function(){return F}));var r=n(8),a=n(0),o=n(11),l=n.n(o),c=n(9);const i=624;function b(e){var t;for(let n=0;n<227;n++)t=2147483648&e[n]|2147483647&e[n+1],e[n]=e[n+397]^t>>>1^2567483615*(1&t);for(let n=227;n<623;n++)t=2147483648&e[n]|2147483647&e[n+1],e[n]=e[n-227]^t>>>1^2567483615*(1&t);return t=2147483648&e[623]|2147483647&e[0],e[623]=e[396]^t>>>1^2567483615*(1&t),e}function s(e){var t=new Array(i);t[0]=e;for(let e=1;e<i;e++){let n=t[e-1]^t[e-1]>>>30;t[e]=(1812433253*((4294901760&n)>>>16)<<16)+1812433253*(65535&n)+e}return t}function u(e=Date.now()){return b(Array.isArray(e)?function(e){for(var t=s(19650218),n=e.length,r=1,a=0,o=i>n?i:n;o;o--){let o=t[r-1]^t[r-1]>>>30;t[r]=(t[r]^(1664525*((4294901760&o)>>>16)<<16)+1664525*(65535&o))+e[a]+a,a++,++r>=i&&(t[0]=t[623],r=1),a>=n&&(a=0)}for(o=623;o;o--){let e=t[r-1]^t[r-1]>>>30;t[r]=(t[r]^(1566083941*((4294901760&e)>>>16)<<16)+1566083941*(65535&e))-r,++r>=i&&(t[0]=t[623],r=1)}return t[0]=2147483648,t}(e):s(e))}var m=Math.sqrt,p=Math.min,d=Math.max,y=Math.abs,f=function(e,t,n,r,a,o,l,c){for(var i,b,s,u,f,x,g,O,h=[],j=[[],[]],v=[],_=0;_<2;++_)if(0===_?(b=6*e-12*n+6*a,i=-3*e+9*n-9*a+3*l,s=3*n-3*e):(b=6*t-12*r+6*o,i=-3*t+9*r-9*o+3*c,s=3*r-3*t),y(i)<1e-12){if(y(b)<1e-12)continue;0<(u=-s/b)&&u<1&&h.push(u)}else O=m(g=b*b-4*s*i),g<0||(0<(f=(-b+O)/(2*i))&&f<1&&h.push(f),0<(x=(-b-O)/(2*i))&&x<1&&h.push(x));for(var k,M,E,w=h.length,S=w;w--;)k=(E=1-(u=h[w]))*E*E*e+3*E*E*u*n+3*E*u*u*a+u*u*u*l,j[0][w]=k,M=E*E*E*t+3*E*E*u*r+3*E*u*u*o+u*u*u*c,j[1][w]=M,v[w]={X:k,Y:M};return h[S]=0,h[S+1]=1,v[S]={X:e,Y:t},v[S+1]={X:l,Y:c},j[0][S]=e,j[1][S]=t,j[0][S+1]=l,j[1][S+1]=c,h.length=j[0].length=j[1].length=v.length=S+2,{left:p.apply(null,j[0]),top:p.apply(null,j[1]),right:d.apply(null,j[0]),bottom:d.apply(null,j[1]),points:v,tvalues:h}},x=n(6),g=n(4);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){Object(x.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var j=function(e){var t,n=Object(g.getRandomBetween)(4,7),r=10*Object(g.getRandomBetween)(0,10),a=Object(g.getRandomFromArray)([0,50,100,100,100]),o=Object(g.getRandomFromArray)([0,50,100,100,100]),l=10*Object(g.getRandomBetween)(0,10);return t={},Object(x.a)(t,"".concat(e,"Sides"),n),Object(x.a)(t,"".concat(e,"PatternSeed"),r),Object(x.a)(t,"".concat(e,"Complexity"),a),Object(x.a)(t,"".concat(e,"Smoothness"),o),Object(x.a)(t,"".concat(e,"Rotation"),l),t},v=function(){return h(h(h({blobsEnableMask:Object(g.getRandomFromArray)([!0,!0,!0]),blobsEnableDecoration:Object(g.getRandomFromArray)([!0,!0,!1])},j("blob")),j("blobMask")),{},{blobsHorizontalDisplacement:10*Object(g.getRandomBetween)(3,7),blobsVerticalDisplacement:10*Object(g.getRandomBetween)(3,7),blobsSizeBalance:10*Object(g.getRandomBetween)(4,6)})},_=function(e,t){var n,r,a,o,l=(n=u(t),r=0,a=()=>{let e;return r>=i&&(n=b(n),r=0),e=n[r++],e^=e>>>11,e^=e<<7&2636928640,e^=e<<15&4022730752,e^=e>>>18,e>>>0},o={genrand_int32:()=>a(),genrand_int31:()=>a()>>>1,genrand_real1:()=>a()*(1/4294967295),genrand_real2:()=>a()*(1/4294967296),genrand_real3:()=>(a()+.5)*(1/4294967296),genrand_res53:()=>(67108864*(a()>>>5)+(a()>>>6))*(1/9007199254740992),randomNumber:()=>a(),random31Bit:()=>o.genrand_int31(),randomInclusive:()=>o.genrand_real1(),random:()=>o.genrand_real2(),randomExclusive:()=>o.genrand_real3(),random53Bit:()=>o.genrand_res53()});return Array.from(Array(e).keys()).map((function(){var e=1,t=10;return Math.floor(l.random()*(t-e+1)+e)/10}))},k=function(e){for(var t=e.sides,n=e.rotation,r=e.complexity,a=e.patternSeed,o=_(t,a),l=[],c=0;c<t;c++){var i=2*Math.PI*c/t+Math.PI/2+Math.PI*n*.9/180,b=o[c],s=b+(1-b)*(100-.7*r)/100;l.push({x:10*(Math.cos(i)*s+1),y:10*(Math.sin(i)*s+1)})}return l},M=function(e){var t=e.sides||0,n=E(e);return w(n,12-t)},E=function(e){var t=S(e),n=C(t);return D(t,n),t},w=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r="",a="";if(!e.length)return"";for(var o=0;o<e.length;o++){var l=e[o];r+=" C "+l.x1+" "+l.y1+" "+l.x2+" "+l.y2+" "+l.m2x+" "+l.m2y;for(var c=Math.round(n/(e.length-o)),i=0;i<c;i++)r+=" C "+l.m2x+" "+l.m2y+" "+l.m2x+" "+l.m2y+" "+l.m2x+" "+l.m2y;0===o&&(a=l.m1x+" "+l.m1y),n-=c}return t="M "+a,t+=r,t+=" Z"},S=function(e){for(var t=e.sides,n=e.smoothness,r=k(e),a=[],o=0;o<r.length;o++){var l=(o+1)%r.length,c=(o+r.length-1)%r.length,i=r[l],b=r[o],s=r[c],u={x:(s.x+b.x)/2,y:(s.y+b.y)/2},m={x:(b.x+i.x)/2,y:(b.y+i.y)/2},p=10*Math.cos(Math.PI/t),d=10*Math.sin(Math.PI/t),y=p*(Math.tan(Math.PI/(2*t))*(4/3))/d*n/100,f=u.x*(1-y)+b.x*y,x=u.y*(1-y)+b.y*y,g=m.x*(1-y)+b.x*y,O=m.y*(1-y)+b.y*y;a.push({x1:f,y1:x,x2:g,y2:O,m1x:u.x,m1y:u.y,m2x:m.x,m2y:m.y})}return a},C=function(e){return e.reduce((function(e,t){var n=t.x1,r=t.y1,a=t.x2,o=t.y2,l=t.m1x,c=t.m1y,i=t.m2x,b=t.m2y,s=f(l,c,n,r,a,o,i,b),u=s.top,m=s.right,p=s.bottom,d=s.left,y=Math.min(d,e.xMin),x=Math.max(m,e.xMax),g=Math.min(u,e.yMin),O=Math.max(p,e.yMax);return{xMin:y,xMax:x,yMin:g,yMax:O,xRatio:20/(x-y),yRatio:20/(O-g)}}),{yMin:10,xMax:10,yMax:10,xMin:10})},D=function(e,t){for(var n=t.xMin,r=(t.xMax,t.yMin),a=(t.yMax,t.xRatio),o=t.yRatio,l=0;l<e.length;l++){var c=e[l],i=c.x1,b=c.x2,s=c.y1,u=c.y2,m=c.m1x,p=c.m2x,d=c.m1y,y=c.m2y;e[l]={x1:(i-n)*a,x2:(b-n)*a,m2x:(p-n)*a,m1x:(m-n)*a,y1:(s-r)*o,y2:(u-r)*o,m1y:(d-r)*o,m2y:(y-r)*o}}},P=function(e,t){return{sides:e["".concat(t,"Sides")],patternSeed:e["".concat(t,"PatternSeed")],complexity:e["".concat(t,"Complexity")],smoothness:e["".concat(t,"Smoothness")],rotation:e["".concat(t,"Rotation")]}},R=function(e){var t=B(e),n=t.mediaScale,r=t.xOffset,a=t.yOffset;return{width:"".concat(100*n,"%"),height:"".concat(100*n,"%"),top:"".concat((1-n)*a,"%"),left:"".concat((1-n)*r,"%")}},B=function(e){var t=e.blobsEnableDecoration,n=e.blobsSizeBalance,r=e.blobsHorizontalDisplacement,a=e.blobsVerticalDisplacement,o=t?r:50,l=t?a:50,c=t?n:50,i=1-Math.abs(50-o)/100,b=1-Math.abs(50-l)/100,s=Math.min(i,b),u=.4*(50-c)/50,m=s-u,p=s+u,d=Math.max(m,p,1);return{mediaScale:m/=d,decorationScale:p/=d,xOffset:o,yOffset:l}},A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0 0 20 20",n="<svg viewBox='".concat(t,"' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1'><path d='").concat(e,"'></path></svg>"),r='url("data:image/svg+xml;utf8,'.concat(n,'")');return{maskImage:r,maskSize:"100% 100%",WebkitMaskImage:r,WebkitMaskSize:"100% 100%"}},z=function(e){var t=k(e),n=S(e),r=C(n);return function(e,t){for(var n=t.xMin,r=(t.xMax,t.yMin),a=(t.yMax,t.xRatio),o=t.yRatio,l=0;l<e.length;l++){var c=e[l],i=c.x,b=c.y;e[l]={x:(i-n)*a,y:(b-r)*o}}}(t,r),D(n,r),Object(a.createElement)(a.Fragment,null,t.map((function(e,n){var r=t[(n+1)%t.length];return Object(a.createElement)(a.Fragment,{key:"point_"+n},Object(a.createElement)("line",{x1:e.x,y1:e.y,x2:r.x,y2:r.y,strokeWidth:"0.05",stroke:"black",strokeDasharray:"0.2",style:{strokeOpacity:.5}}),Object(a.createElement)("line",{x1:e.x,y1:e.y,x2:10,y2:10,strokeWidth:"0.05",stroke:"black",strokeDasharray:"0.2",style:{strokeOpacity:.5}}))})),n.map((function(e,t){var n=e.x1,r=e.y1,o=e.x2,l=e.y2,c=e.m1x,i=e.m1y,b=e.m2x,s=e.m2y;return Object(a.createElement)(a.Fragment,{key:"curve_point1_"+t},Object(a.createElement)("line",{x1:c,y1:i,x2:n,y2:r,strokeWidth:"0.05",stroke:"black"}),Object(a.createElement)("line",{x1:b,y1:s,x2:o,y2:l,strokeWidth:"0.05",stroke:"black"}))})),n.map((function(e,t){var n=e.x1,r=e.y1,o=e.x2,l=e.y2;e.m1x,e.m1y,e.m2x,e.m2y;return Object(a.createElement)(a.Fragment,{key:"curve_point2_"+t},Object(a.createElement)("circle",{cx:n,cy:r,r:"0.2",stroke:"black",strokeWidth:"0.05",fill:"white"}),Object(a.createElement)("circle",{cx:o,cy:l,r:"0.2",stroke:"black",strokeWidth:"0.05",fill:"white"}))})),n.map((function(e,t){e.x1,e.y1,e.x2,e.y2;var n=e.m1x,r=e.m1y;e.m2x,e.m2y;return Object(a.createElement)(a.Fragment,{key:"curve_point3_"+t},Object(a.createElement)("rect",{x:n-.2,y:r-.2,width:"0.4",height:"0.4",stroke:"black",strokeWidth:"0.05",fill:"yellow"}))})),n.map((function(e,t){var n=e.x1,r=e.y1,o=e.x2,l=e.y2,c=e.m1x,i=e.m1y,b=e.m2x,s=e.m2y,u=f(c,i,n,r,o,l,b,s),m=u.top,p=u.right,d=u.bottom,y=u.left;return Object(a.createElement)(a.Fragment,{key:"curve_point4_"+t},Object(a.createElement)("line",{x1:y,y1:m,x2:y,y2:d,strokeWidth:"0.05",stroke:"black",strokeDasharray:"0.2"}),Object(a.createElement)("line",{x1:p,y1:m,x2:p,y2:d,strokeWidth:"0.05",stroke:"black",strokeDasharray:"0.2"}),Object(a.createElement)("line",{x1:y,y1:m,x2:p,y2:m,strokeWidth:"0.05",stroke:"black",strokeDasharray:"0.2"}),Object(a.createElement)("line",{x1:y,y1:d,x2:p,y2:d,strokeWidth:"0.05",stroke:"black",strokeDasharray:"0.2"}))})),t.map((function(e){e.x,e.y;return!1})))},F=Object(c.createHigherOrderComponent)((function(e){return function(t){var n=t.attributes,r=n.blobsEnableMask,o=n.blobsEnableDecoration,c=n.enableShapeDebug,i=Number.isInteger(t.seedOffset)?t.seedOffset:0,b=Object.assign({},n,{blobPatternSeed:n.blobPatternSeed+i,blobMaskPatternSeed:n.blobMaskPatternSeed+i}),s=function(e){var t,n,r,a=B(e),o=a.decorationScale,l=a.xOffset,c=a.yOffset;return{"--blob-mix-decoration-transform":(t=o,n=100-l,r=100-c,"translate( ".concat((1-t)*n,"%, ").concat((1-t)*r,"% ) scale( ").concat(t," )"))}}(b),u=P(b,"blob"),m=P(b,"blobMask"),p=M(m),d=M(u),y=Object(g.getColorSignalClassnames)(n,!0),f=l()("blob-mix__mask",y);return Object(a.createElement)("div",{className:"blob-mix",style:s},Object(a.createElement)("div",{className:"novablocks-media-composition__grid-item-mask blob-mix__media",style:R(n)},Object(a.createElement)("div",{className:f,style:r?A(p,"0 0 20 20"):{}},Object(a.createElement)(e,t)),Object(a.createElement)("svg",{className:"blob-mix__mask-debug",viewBox:"0 0 20 20",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",version:"1.1"},r&&c&&Object(a.createElement)(z,m))),o&&Object(a.createElement)("svg",{className:"blob-mix__decoration",viewBox:"0 0 20 20",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",version:"1.1"},Object(a.createElement)("path",{d:d}),c&&Object(a.createElement)(z,u)))}}),"withShapeModelingDecoration"),W=n(5),I=n(7),N=n(1),T=n(3);var H=function(e){var t=e.attributes,n=e.setAttributes,r=e.settings,o=t.enableShapeDebug;return null!=r&&r.debug?Object(a.createElement)(W.ControlsGroup,{title:Object(N.__)("Debug","nova-blocks")},Object(a.createElement)(T.ToggleControl,{label:Object(N.__)("Enable Shape Debug","nova-blocks"),checked:o,onChange:function(){return n({enableShapeDebug:!o})}})):null},V=function(e){var t=e.attributes,n=e.setAttributes,r=e.enableAttribute,o=e.toggleLabel,l=t[r];return Object(a.createElement)(T.ToggleControl,{label:o,checked:l,onChange:function(){return n(Object(x.a)({},r,!l))}})},G=function(e){var t=e.attributes,n=e.setAttributes,r=e.enableAttribute,o=e.prefix,l=0===t["".concat(o,"Complexity")],c=0===t["".concat(o,"Complexity")]&&100===t["".concat(o,"Smoothness")],i=0===t["".concat(o,"Complexity")]&&100===t["".concat(o,"Smoothness")];return t[r]?Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:Object(g.getControlsDirtyClasses)(c)},Object(a.createElement)(T.RangeControl,{value:t["".concat(o,"Sides")],onChange:function(e){var t={};t["".concat(o,"Sides")]=e,n(t)},label:Object(N.__)("Sides","nova-blocks"),min:3,max:8,step:1})),Object(a.createElement)("div",{className:Object(g.getControlsDirtyClasses)(l)},Object(a.createElement)(T.RangeControl,{value:t["".concat(o,"PatternSeed")],onChange:function(e){var t={};t["".concat(o,"PatternSeed")]=e,n(t)},label:Object(N.__)("Pattern Seed","nova-blocks"),min:0,max:100,step:10})),Object(a.createElement)(T.RangeControl,{value:t["".concat(o,"Complexity")],onChange:function(e){var t={};t["".concat(o,"Complexity")]=e,n(t)},label:Object(N.__)("Variation","nova-blocks"),min:0,max:100,step:10}),Object(a.createElement)(T.RangeControl,{value:t["".concat(o,"Smoothness")],onChange:function(e){var t={};t["".concat(o,"Smoothness")]=e,n(t)},label:Object(N.__)("Smoothness","nova-blocks"),min:0,max:100,step:10}),Object(a.createElement)("div",{className:Object(g.getControlsDirtyClasses)(i)},Object(a.createElement)(T.RangeControl,{value:t["".concat(o,"Rotation")],onChange:function(e){var t={};t["".concat(o,"Rotation")]=e,n(t)},label:Object(N.__)("Rotation","nova-blocks"),min:0,max:100,step:10}))):null},L=function(e){var t=e.groupTitle;return Object(a.createElement)(W.ControlsGroup,{title:t},Object(a.createElement)(V,e),Object(a.createElement)(G,e))},X=function(e){var t=e.attributes,n=e.setAttributes,r=t.blobsEnableDecoration,o=t.blobsHorizontalDisplacement,l=t.blobsVerticalDisplacement,c=t.blobsSizeBalance;return r?Object(a.createElement)(W.ControlsGroup,{title:Object(N.__)("Scaling","nova-blocks")},Object(a.createElement)(T.RangeControl,{value:o,onChange:function(e){n({blobsHorizontalDisplacement:e})},label:Object(N.__)("Horizontal Displacement","nova-blocks"),min:0,max:100,step:5}),Object(a.createElement)(T.RangeControl,{value:l,onChange:function(e){n({blobsVerticalDisplacement:e})},label:Object(N.__)("Vertical Displacement","nova-blocks"),min:0,max:100,step:5}),Object(a.createElement)(T.RangeControl,{value:c,onChange:function(e){n({blobsSizeBalance:e})},label:Object(N.__)("Size Balance","nova-blocks"),min:20,max:80,step:5})):null},Y=Object(W.withVisibility)("shape-modeling-section")((function(e){var t=Object(W.useSettings)();return Object(a.createElement)(W.ControlsSection,{id:"shape-modeling",label:Object(N.__)("Shape Modeling","nova-blocks"),group:Object(N.__)("Modules","nova-blocks"),order:30},Object(a.createElement)(W.ControlsTab,{label:Object(N.__)("Presets","nova-blocks")},Object(a.createElement)("p",null,Object(N.__)("Use this tool to generate shapes and combine them with your images to create designs that are a unique and memorable part of your brand identity.","nova-blocks")),Object(a.createElement)(W.PresetControl,Object(I.a)({key:"blob-style-preset",label:Object(N.__)("Choose a shape preset:","nova-blocks"),options:t.blobPresetOptions,randomize:v},e))),Object(a.createElement)(W.ControlsTab,{label:Object(N.__)("Settings","nova-blocks")},Object(a.createElement)(H,e),Object(a.createElement)(L,Object(I.a)({},e,{prefix:"blobMask",enableAttribute:"blobsEnableMask",groupTitle:Object(N.__)("Media Shape","nova-blocks"),toggleLabel:Object(N.__)("Enable Media Shape","nova-blocks")})),Object(a.createElement)(L,Object(I.a)({},e,{prefix:"blob",enableAttribute:"blobsEnableDecoration",groupTitle:Object(N.__)("Decorative Shape","nova-blocks"),toggleLabel:Object(N.__)("Enable Blob Decoration","nova-blocks")})),Object(a.createElement)(X,e)))})),q=Object(c.createHigherOrderComponent)((function(e){return function(t){var n,r,o,l=Object(W.useSupports)(t.name);return!0!==(null==l||null===(n=l.novaBlocks)||void 0===n?void 0:n.shapeModeling)&&!0!==(null==l||null===(r=l.novaBlocks)||void 0===r||null===(o=r.shapeModeling)||void 0===o?void 0:o.controls)?Object(a.createElement)(e,t):Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Y,t),Object(a.createElement)(e,t))}}),"withShapeModelingControls");function U(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U(Object(n),!0).forEach((function(t){Object(x.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var J={blobsEnableMask:{type:"boolean",default:!1},blobSides:{type:"number",default:3},blobPatternSeed:{type:"number",default:3},blobComplexity:{type:"number",default:0},blobSmoothness:{type:"number",default:33},blobRotation:{type:"number",default:0},blobsEnableDecoration:{type:"boolean",default:!1},blobMaskSides:{type:"number",default:3},blobMaskPatternSeed:{type:"number",default:3},blobMaskComplexity:{type:"number",default:0},blobMaskSmoothness:{type:"number",default:33},blobMaskRotation:{type:"number",default:0},blobsSizeBalance:{type:"number",default:50},blobsHorizontalDisplacement:{type:"number",default:50},blobsVerticalDisplacement:{type:"number",default:50}};var K=function(e){var t,n,r=null==e||null===(t=e.supports)||void 0===t||null===(n=t.novaBlocks)||void 0===n?void 0:n.shapeModeling;return!0!==r&&!0!==(null==r?void 0:r.attributes)?e:Z(Z({},e),{},{attributes:Z(Z({},e.attributes),J)})},Q={blobsEnableMask:{type:"boolean",default:!1},blobSides:{type:"number",default:3},blobPatternSeed:{type:"number",default:3},blobComplexity:{type:"number",default:0},blobSmoothness:{type:"number",default:33},blobRotation:{type:"number",default:0},blobsEnableDecoration:{type:"boolean",default:!1},blobMaskSides:{type:"number",default:3},blobMaskPatternSeed:{type:"number",default:3},blobMaskComplexity:{type:"number",default:0},blobMaskSmoothness:{type:"number",default:33},blobMaskRotation:{type:"number",default:0},blobsSizeBalance:{type:"number",default:50},blobsHorizontalDisplacement:{type:"number",default:50},blobsVerticalDisplacement:{type:"number",default:50}};Object(r.addFilter)("editor.BlockEdit","novablocks/with-shape-modeling-controls",q),Object(r.addFilter)("blocks.registerBlockType","novablocks/with-shape-modeling-attributes",K)},8:function(e,t){e.exports=window.wp.hooks},9:function(e,t){e.exports=window.wp.compose}}); -
nova-blocks/trunk/build/tools/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array('wp-components', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => ' f225a9f988190ff36d20315dbc53384f');1 <?php return array('dependencies' => array('wp-components', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => '24b74c1856cde62b074ee37e3cb5fec1'); -
nova-blocks/trunk/build/tools/index.js
r2738702 r2744078 1 this.novablocks=this.novablocks||{},this.novablocks.tools=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7 5)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},3:function(e,t){e.exports=window.wp.components},40:function(e,t){e.exports=window.wp.primitives},51:function(e,t){e.exports=window.wp.editPost},52:function(e,t){e.exports=window.wp.plugins},75:function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(51),i=n(1),l=n(40);var c=Object(r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(l.Path,{d:"M14.103 7.128l2.26-2.26a4 4 0 00-5.207 4.804L5.828 15a2 2 0 102.828 2.828l5.329-5.328a4 4 0 004.804-5.208l-2.261 2.26-1.912-.512-.513-1.912zm-7.214 9.64a.5.5 0 11.707-.707.5.5 0 01-.707.707z"})),a=n(52),u=n(3);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],l=!0,c=!1;try{for(n=n.call(e);!(l=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{l||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||f(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var b=function(e){var t=e.name,n=e.attributes,r=e.innerBlocks;return wp.blocks.createBlock(t,n,r)},v=function e(t){return t.map((function(t){var n=t;if("core/block"===t.name){var r,o,i,l=t.attributes.ref,c=d(function(e){var t=p(e),n=!1;return function e(t){t.forEach((function(t){if(isInvalid(t)){n=!0;var r=b(t);for(var o in r)t[o]=r[o]}t.innerBlocks.length&&e(t.innerBlocks)}))}(t),[t,n]}(wp.blocks.parse(null===(r=wp.data.select("core").getEntityRecords("postType","wp_block",{include:[l]}))||void 0===r||null===(o=r[0])||void 0===o||null===(i=o.content)||void 0===i?void 0:i.raw)||[]),2),a=c[0];if(c[1])return console.log("Stackable notice: block "+n.name+" ("+n.clientId+") was auto-recovered, you should not see this after saving your page."),{blocks:a,isReusable:!0,ref:l}}if(n.innerBlocks&&n.innerBlocks.length){var u=e(n.innerBlocks);u.some((function(e){return e.recovered}))&&(n.innerBlocks=u,n.replacedClientId=n.clientId,n.recovered=!0)}if(!n.isValid){var s=b(n);return s.replacedClientId=n.clientId,s.recovered=!0,console.log("Stackable notice: block "+n.name+" ("+n.clientId+") was auto-recovered, you should not see this after saving your page."),s}return n}))},y=function(){v(wp.data.select("core/editor").getEditorBlocks()).forEach((function(e){e.isReusable&&e.ref&&wp.data.dispatch("core").editEntityRecord("postType","wp_block",e.ref,{content:wp.blocks.serialize(e.blocks)}).then((function(){})),e.recovered&&e.replacedClientId&&wp.data.dispatch("core/block-editor").replaceBlock(e.replacedClientId,e)}))};Object(a.registerPlugin)("novablocks-tools",{render:function(){return Object(r.createElement)(o.PluginSidebar,{name:"novablocks-tools",title:Object(i.__)("Nova Blocks Tools","nova-blocks"),icon:c},Object(r.createElement)(u.PanelBody,{title:Object(i.__)("Blocks","nova-blocks")},Object(r.createElement)(u.Button,{isPrimary:!0,onClick:y},"Recover Blocks")))}})}});1 this.novablocks=this.novablocks||{},this.novablocks.tools=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=77)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},3:function(e,t){e.exports=window.wp.components},41:function(e,t){e.exports=window.wp.primitives},52:function(e,t){e.exports=window.wp.editPost},53:function(e,t){e.exports=window.wp.plugins},77:function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(52),i=n(1),l=n(41);var c=Object(r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(l.Path,{d:"M14.103 7.128l2.26-2.26a4 4 0 00-5.207 4.804L5.828 15a2 2 0 102.828 2.828l5.329-5.328a4 4 0 004.804-5.208l-2.261 2.26-1.912-.512-.513-1.912zm-7.214 9.64a.5.5 0 11.707-.707.5.5 0 01-.707.707z"})),a=n(53),u=n(3);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],l=!0,c=!1;try{for(n=n.call(e);!(l=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{l||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||f(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var b=function(e){var t=e.name,n=e.attributes,r=e.innerBlocks;return wp.blocks.createBlock(t,n,r)},v=function e(t){return t.map((function(t){var n=t;if("core/block"===t.name){var r,o,i,l=t.attributes.ref,c=d(function(e){var t=p(e),n=!1;return function e(t){t.forEach((function(t){if(isInvalid(t)){n=!0;var r=b(t);for(var o in r)t[o]=r[o]}t.innerBlocks.length&&e(t.innerBlocks)}))}(t),[t,n]}(wp.blocks.parse(null===(r=wp.data.select("core").getEntityRecords("postType","wp_block",{include:[l]}))||void 0===r||null===(o=r[0])||void 0===o||null===(i=o.content)||void 0===i?void 0:i.raw)||[]),2),a=c[0];if(c[1])return console.log("Stackable notice: block "+n.name+" ("+n.clientId+") was auto-recovered, you should not see this after saving your page."),{blocks:a,isReusable:!0,ref:l}}if(n.innerBlocks&&n.innerBlocks.length){var u=e(n.innerBlocks);u.some((function(e){return e.recovered}))&&(n.innerBlocks=u,n.replacedClientId=n.clientId,n.recovered=!0)}if(!n.isValid){var s=b(n);return s.replacedClientId=n.clientId,s.recovered=!0,console.log("Stackable notice: block "+n.name+" ("+n.clientId+") was auto-recovered, you should not see this after saving your page."),s}return n}))},y=function(){v(wp.data.select("core/editor").getEditorBlocks()).forEach((function(e){e.isReusable&&e.ref&&wp.data.dispatch("core").editEntityRecord("postType","wp_block",e.ref,{content:wp.blocks.serialize(e.blocks)}).then((function(){})),e.recovered&&e.replacedClientId&&wp.data.dispatch("core/block-editor").replaceBlock(e.replacedClientId,e)}))};Object(a.registerPlugin)("novablocks-tools",{render:function(){return Object(r.createElement)(o.PluginSidebar,{name:"novablocks-tools",title:Object(i.__)("Nova Blocks Tools","nova-blocks"),icon:c},Object(r.createElement)(u.PanelBody,{title:Object(i.__)("Blocks","nova-blocks")},Object(r.createElement)(u.Button,{isPrimary:!0,onClick:y},"Recover Blocks")))}})}}); -
nova-blocks/trunk/build/utils/index.asset.php
r2738702 r2744078 1 <?php return array('dependencies' => array(' wp-polyfill'), 'version' => 'e8f1dae19c12644b0364be22ce2189a8');1 <?php return array('dependencies' => array('novablocks-easings', 'wp-polyfill'), 'version' => '1481324abc8e7f9c8656dff7ed9dde18'); -
nova-blocks/trunk/build/utils/index.js
r2738702 r2744078 1 this.novablocks=this.novablocks||{},this.novablocks.utils=function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=7 4)}({11:function(t,n,r){var e;1 this.novablocks=this.novablocks||{},this.novablocks.utils=function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=73)}({11:function(t,n,r){var e; 2 2 /*! 3 3 Copyright (c) 2017 Jed Watson. 4 4 Licensed under the MIT License (MIT), see 5 5 http://jedwatson.github.io/classnames 6 */!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var t=[],n=0;n<arguments.length;n++){var e=arguments[n];if(e){var i=typeof e;if("string"===i||"number"===i)t.push(e);else if(Array.isArray(e)&&e.length){var a=o.apply(null,e);a&&t.push(a)}else if("object"===i)for(var u in e)r.call(e,u)&&e[u]&&t.push(u)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(e=function(){return o}.apply(n,[]))||(t.exports=e)}()},17:function(t,n,r){"use strict";function e(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}r.d(n,"a",(function(){return e}))},18:function(t,n,r){"use strict";r.d(n,"a",(function(){return i}));var e=r(17);var o=r(20);function i(t){return function(t){if(Array.isArray(t))return Object(e.a)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Object(o.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},20:function(t,n,r){"use strict";r.d(n,"a",(function(){return o}));var e=r(17);function o(t,n){if(t){if("string"==typeof t)return Object(e.a)(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(e.a)(t,n):void 0}}},21:function(t,n,r){"use strict";function e(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}r.d(n,"a",(function(){return e}))}, 6:function(t,n,r){"use strict";function e(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}r.d(n,"a",(function(){return e}))},74:function(t,n,r){"use strict";r.r(n),r.d(n,"applyLayoutEngine",(function(){return s})),r.d(n,"getGridStyle",(function(){return S})),r.d(n,"getPostsCount",(function(){return k})),r.d(n,"redistributeCardsInAreas",(function(){return M})),r.d(n,"getOptimalHeaderPosition",(function(){return A})),r.d(n,"isLandscape",(function(){return R})),r.d(n,"getParametricLayoutAreaClassName",(function(){return j})),r.d(n,"getAreaBaseClassname",(function(){return _})),r.d(n,"getAreaClassnameByAspectRatio",(function(){return E})),r.d(n,"getAreaClassnameByWidthRatio",(function(){return P})),r.d(n,"getAreaClassnameByHeightRatio",(function(){return G})),r.d(n,"getGridColumnsAndRows",(function(){return L})),r.d(n,"transposeMatrix",(function(){return I})),r.d(n,"getAreaClassname",(function(){return T})),r.d(n,"removeSmallestColumn",(function(){return z})),r.d(n,"normalizeColumns",(function(){return B})),r.d(n,"moveColumnsToLeft",(function(){return F})),r.d(n,"growColumnsToRight",(function(){return N})),r.d(n,"moveColumnsToTop",(function(){return D})),r.d(n,"debounce",(function(){return H})),r.d(n,"getValuesFromColors",(function(){return mt})),r.d(n,"getDuotoneFilterSvg",(function(){return vt})),r.d(n,"hasTouchScreen",(function(){return bt})),r.d(n,"isMobileDevice",(function(){return wt})),r.d(n,"getRandomBetween",(function(){return yt})),r.d(n,"getRandomArrayFromArray",(function(){return Ct})),r.d(n,"getRandomFromArray",(function(){return xt})),r.d(n,"getRandomBooleanValue",(function(){return St})),r.d(n,"getSpacingCSSProps",(function(){return kt})),r.d(n,"getOverlayFilterCSSProps",(function(){return Mt})),r.d(n,"getColorSignalClassnames",(function(){return At})),r.d(n,"getContentColorsSignalClassnames",(function(){return Ot})),r.d(n,"getPaletteConfig",(function(){return Rt})),r.d(n,"getSignals",(function(){return jt})),r.d(n,"getDefaultSignals",(function(){return _t})),r.d(n,"syncColorSignalClasses",(function(){return Et})),r.d(n,"normalizeMedia",(function(){return Pt})),r.d(n,"defaultSnapValues",(function(){return Gt})),r.d(n,"maybeSnapFocalPoint",(function(){return Lt})),r.d(n,"getSnapClassname",(function(){return It})),r.d(n,"below",(function(){return Bt})),r.d(n,"above",(function(){return Ft})),r.d(n,"mqService",(function(){return zt})),r.d(n,"range",(function(){return Nt})),r.d(n,"arrayRotate",(function(){return Dt})),r.d(n,"BREAK_LEFT_CLASS",(function(){return Ht})),r.d(n,"BREAK_RIGHT_CLASS",(function(){return Vt})),r.d(n,"cleanupBreakClasses",(function(){return qt})),r.d(n,"getAlignedSiblings",(function(){return Wt})),r.d(n,"getElementBreakClasses",(function(){return Xt})),r.d(n,"maybeAddBreakClassesToElement",(function(){return $t})),r.d(n,"getAdjacentSidebarBlocks",(function(){return Ut})),r.d(n,"wouldOverlap",(function(){return Kt})),r.d(n,"doOverlap",(function(){return Yt})),r.d(n,"getContentBlocksArray",(function(){return Jt})),r.d(n,"isSafari",(function(){return Zt})),r.d(n,"findParents",(function(){return Qt})),r.d(n,"shuffleArray",(function(){return tn})),r.d(n,"getControlsClasses",(function(){return nn})),r.d(n,"areAttributesDirty",(function(){return rn})),r.d(n,"getControlsDirtyClasses",(function(){return en})),r.d(n,"getCardMediaPaddingTop",(function(){return on})),r.d(n,"titleCase",(function(){return an})),r.d(n,"isAnyPartOfElementInViewport",(function(){return un})),r.d(n,"capitalizeFirstLetter",(function(){return sn})),r.d(n,"getAlignmentClassnames",(function(){return cn})),r.d(n,"getLevelAttributes",(function(){return ln})),r.d(n,"getAspectRatioAttributes",(function(){return fn})),r.d(n,"getPaddingTopFromContainerHeight",(function(){return dn})),r.d(n,"getAlignFromMatrix",(function(){return gn})),r.d(n,"ready",(function(){return hn})),r.d(n,"addClass",(function(){return pn})),r.d(n,"removeClass",(function(){return mn})),r.d(n,"hasClass",(function(){return vn})),r.d(n,"empty",(function(){return bn})),r.d(n,"toggleClass",(function(){return wn})),r.d(n,"getFirstChild",(function(){return yn})),r.d(n,"setAndResetElementStyles",(function(){return Cn})),r.d(n,"clamp",(function(){return xn})),r.d(n,"isFunctionalPalette",(function(){return Sn})),r.d(n,"IS_EDITOR",(function(){return kn})),r.d(n,"IS_CUSTOMIZER",(function(){return Mn})),r.d(n,"getPreviewAttributes",(function(){return An})),r.d(n,"needsPreview",(function(){return On})),r.d(n,"onScrollRAF",(function(){return Rn})),r.d(n,"matches",(function(){return jn})),r.d(n,"resizeDropcap",(function(){return _n})),r.d(n,"getAttributes",(function(){return En}));var e=r(18),o=r(11),i=r.n(o),a=r(6);function u(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),r.push.apply(r,e)}return r}var s=function(t){var n,r,e=x([],t.gridcolumns,t.gridrows,"X"),o=x([],t.gridcolumns,t.gridrows,"X"),i=x([],t.gridcolumns,t.gridrows,"X"),s=C([],t.gridcolumns,"X"),d=C([],t.gridcolumns,"X"),g=1;for(n=t.featureposition;n<t.featureposition+t.featuresize;n++)s[n]=g;var h=0;for(g++,n=1;n<=t.gridcolumns;n++)if("X"===s[n]){if(h++,s[n-1]!==g)g++;else{var p=1<<t.gridcolumns-t.featuresize-h;(p&t.fragmentation)===p&&g++}s[n]=g}for(n=1;n<=t.gridcolumns;n++){for(var m=n;s[m+1]===s[n];)m++;for(1===n?o[1][n]=t.imageweightleft:m===t.gridcolumns?o[1][n]=t.imageweightright:o[1][n]=Math.round(t.imageweightleft-(t.imageweightleft-t.imageweightright)*(n+m-1)/(2*t.gridcolumns)),r=n;r<=m;r++)o[1][r]=o[1][n];n=m}for(n=2;n<=t.gridrows;n++)o[n]=o[1].slice();for(n=1;n<=t.gridcolumns;n++){for(var b=n;s[b+1]===s[n];)b++;for(1===n?i[1][n]=t.metadetailsleft:b===t.gridcolumns?i[1][n]=t.metadetailsright:(i[1][n]=t.metadetailsleft-(t.metadetailsleft-t.metadetailsright)*(n+b-1)/(2*t.gridcolumns),t.balancemdandiw&&0!=t.imageweightleft-t.imageweightright&&(i[1][n]=i[1][n]*(Math.abs(t.imageweightleft-t.imageweightright)/2/o[1][n])),i[1][n]=Math.round(i[1][n])),r=n;r<=b;r++)i[1][r]=i[1][n];n=b}for(n=2;n<=t.gridrows;n++)i[n]=i[1].slice();if(t.boostfeature&&t.featuresize>0){var S=1,k=1;for(n=1;n<=t.gridcolumns;n++)i[1][n]>i[1][S]&&(S=n),o[1][n]>o[1][k]&&(k=n);if(S!==t.featureposition){var M=i[1][t.featureposition],A=i[1][S];for(n=S;s[n]===s[S];)i[1][n]=M,n++;for(n=t.featureposition;s[n]===s[t.featureposition];)i[1][n]=A,n++;for(n=2;n<=t.gridrows;n++)i[n]=i[1].slice()}if(k!==t.featureposition){var O=o[1][t.featureposition],R=o[1][k];for(n=k;s[n]===s[k];)o[1][n]=O,n++;for(n=t.featureposition;s[n]===s[t.featureposition];)o[1][n]=R,n++;for(n=2;n<=t.gridrows;n++)o[n]=o[1].slice()}}var j=i[1][1],_=o[1][1];for(n=1;n<=t.gridcolumns;n++)i[1][n]>j&&(j=i[1][n]),o[1][n]>_&&(_=o[1][n]);for(_<1&&(_=1),j<1&&(j=1),n=1;n<=t.gridcolumns;n++){for(var E=n;s[E+1]===s[n];)E++;for(d[n]=Math.round((i[1][n]/j+o[1][n]/_)/2*t.gridrows),d[n]>3*(E-n+1)&&(d[n]=3*(E-n+1)),d[n]<1&&(d[n]=1),t.subfeature&&n===t.featureposition&&t.featuresize>0&&d[n]===t.gridrows&&(d[n]=Math.floor(.75*d[n])),d[n]<1?d[n]=1:d[n]>t.gridrows&&(d[n]=t.gridrows),r=n;r<=E;r++)d[r]=d[n];n=E}var P=1;if(t.featuresize>0){for(n=1;n<=d[t.featureposition];){r=t.featureposition;do{e[n][r]=P,r++}while(s[t.featureposition]===s[r]);n++}if(P++,n<=t.gridrows){for(;n<=t.gridrows;){r=t.featureposition;do{e[n][r]=P,i[n][r]=Math.round(.66*i[n][r]),o[n][r]=Math.round(.66*o[n][r]),r++}while(s[t.featureposition]===s[r]);n++}P++}}for(var G,L=1;L<=t.gridcolumns;)if("X"===e[1][L])for(G=1;G<=t.gridrows;){for(n=G;n<=G+d[L]-1&&n<=t.gridrows;){r=L;do{e[n][r]=P,r++}while(s[L]===s[r]);n++}P++,G=n}else L++;var T=P,z=t.hierarchycrossing;for(P=1;z>0&&P<=T;){var B=y(P,e,i,o);if(!1!==B){if(B.endGridColumn===t.gridcolumns)break;var F=y(e[B.startGridRow][B.endGridColumn+1],e,i,o),N=y(e[B.endGridRow][B.endGridColumn+1],e,i,o);if(F.startGridRow===B.startGridRow&&N.endGridRow===B.endGridRow){var D=T/F.nth*(F.area+F.imageWeight+F.metaDetails);if(N.nth!==F.nth){var H=1;for(n=F.nth+1;n<=N.nth;n++){var V=y(n,e,i,o);!1!==V&&(H++,D+=T/V.nth*(V.area+V.imageWeight+V.metaDetails*H)*H)}}if(z<D)P++;else{if(T/B.nth*(B.area+B.imageWeight+B.metaDetails)*Math.pow(2*z/50,3)>D){for(n=F.startGridRow;n<=N.endGridRow;n++)for(r=F.startGridColumn;r<=F.endGridColumn;r++)e[n][r]=P,o[n][r]=B.imageWeight,i[n][r]=B.metaDetails;z-=D,T=v(e)}P++}}else P++}else P++}var q=function(t,n,r,e){var o=w(n,r,e);f(n,r,e,o,t);var i=(o=(o=function(t,n){var r=function(t){for(var n,r=[],e=1;e<t.length-1;e++)for(var o=1;o<t[e].length-1;o++)n=t[e][o],-1===r.indexOf(n)&&r.push(n);return r}(t);r.sort((function(t,n){return t-n}));for(var e=0;e<r.length;e++)e+1!==r[e]&&l(r[e],e+1,t);return r.map((function(t,r){var e=n.find((function(n){return n.nth===t}));return e.nth=r+1,e}))}(n,o)).map((function(t){return function(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?u(Object(r),!0).forEach((function(n){Object(a.a)(t,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))}))}return t}({initialPostsCount:t.postsCount},t)}))).map((function(t){return{row:t.row,col:t.col,width:t.width,height:t.height,areas:[t]}}));return i.forEach((function(t){t.areas.forEach((function(n,r){i.filter((function(n){return n!==t})).forEach((function(r){r.areas.forEach((function(e,o){e.merged||n.col!==e.col||n.width!==e.width||n.row+n.height!==e.row&&n.row!==e.row+e.height||(e.merged=!0,t.areas.push(e),t.height+=e.height,r.areas.splice(o,1))}))}))}))})),i.filter((function(t){return t.areas.length>0}))}(t,t.flipcolsrows?I(e):e,t.flipcolsrows?I(i):i,t.flipcolsrows?I(o):o);return c(q),q},c=function(t){var n=t.filter((function(t){return 1===t.row})).sort((function(t,n){return n.width-t.width})),r=t.findIndex((function(t){return t===n[0]}));return t.splice(0,0,t.splice(r,1)[0]),t};function l(t,n,r){for(var e=1;e<r.length-1;e++)for(var o=1;o<r[e].length-1;o++)r[e][o]===t&&(r[e][o]=n)}var f=function(t,n,r,e,o){for(var i,a=1;a<=b(t);a++)(i=y(a,t,n,r))&&d(i.startGridRow,i.startGridColumn,t,n,r,e,o)},d=function(t,n,r,e,o,i,a){var u=r[t][n],s=p(u,r),c=m(u,r),l=s,f=c,d=-1;if(Array.isArray(i)&&(d=i.findIndex((function(e){return e.nth===r[t][n]}))),1!==u){for(var v,b,w,y,C,x,S=!0,k=!1;S;)C=r[t+c][n],v=(x=h(C,r)).row,b=x.col,w=p(C,r),y=m(C,r),s===w&&n===b&&Math.abs(f-y)<=1&&Math.abs(e[t][n]-e[v][n])<=1&&Math.abs(o[t][n]-o[v][n])<=1?(c+=y,k=!0,d>-1&&(i[d].postsCount+=1,i[d].height=c)):S=!1;for(S=!k;S&&!a.flipcolsrows;)C=r[t][n+s],v=(x=h(C,r)).row,b=x.col,w=p(C,r),c===(y=m(C,r))&&t===v&&Math.abs(l-w)<=1&&Math.abs(e[t][n]-e[t][b])<=1&&Math.abs(o[t][n]-o[t][b])<=1?(s+=w,k=!0,d>-1&&(i[d].postsCount+=1,i[d].width=s)):S=!1;g(r,t,n,s,c)}},g=function(t,n,r,e,o){for(var i=n;i<n+o;i++)for(var a=r;a<r+e;a++)t[i][a]=t[n][r]},h=function(t,n){for(var r=0;r<n.length;r++)for(var e=0;e<n[r].length;e++)if(n[r][e]===t)return{row:r,col:e};return{}},p=function(t,n){for(var r=h(t,n),e=r.row,o=r.col,i=1;t===n[e][o+i];)i+=1;return i},m=function(t,n){for(var r=h(t,n),e=r.row,o=r.col,i=1;void 0!==n[e+i]&&t===n[e+i][o];)i+=1;return i},v=function(t){for(var n,r=1,e=1;e<=b(t);e++)if(!1!==(n=y(e,t))){if(n.nth>r)for(var o=n.startGridRow;o<=n.endGridRow;o++)for(var i=n.startGridColumn;i<=n.endGridColumn;i++)t[o][i]=r;r++}return r-1},b=function(t){for(var n=0,r=1;r<t.length;r++)for(var e=1;e<t[r].length;e++)t[r][e]>n&&(n=t[r][e]);return n},w=function(t,n,r){for(var e,o=[],i=1;i<=b(t);i++)(e=y(i,t,n,r))&&o.push({nth:e.nth,col:e.startGridColumn,row:e.startGridRow,width:e.endGridColumn-e.startGridColumn+1,height:e.endGridRow-e.startGridRow+1,metaDetails:e.metaDetails,imageWeight:e.imageWeight,postsCount:1});return o},y=function(t,n){for(var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],e=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=!1,i=1;i<n.length;i++)for(var a=1;a<n[i].length;a++)if(n[i][a]===t){for(o={nth:t,startGridColumn:a,startGridRow:i,endGridColumn:a,endGridRow:i,metaDetails:!!r&&r[i][a],imageWeight:!!e&&e[i][a],area:1};a<n[i].length&&n[i][a]===n[i][a+1];)a++;for(o.endGridColumn=a;i<n.length&&n[i][a]===n[i+1][a];)i++;return o.endGridRow=i,o.area=(o.endGridRow-o.startGridRow+1)*(o.endGridColumn-o.startGridColumn+1),o}return o},C=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"X";t.push("/");for(var e=1;e<=n;e++)t.push(r);return t.push("/"),t},x=function(t,n,r,e){t.push(C([],n,"/"));for(var o=0;o<r;o++)t.push(C([],n,e));return t.push(C([],n,"/")),t},S=function(t){var n=L(t),r=n.gridcolumns,e=n.gridrows;return{display:"grid",gridTemplateColumns:"repeat( ".concat(r,", 1fr )"),gridTemplateRows:"repeat( ".concat(e,", auto )")}},k=function(t){return t.reduce((function(t,n){return t+n.areas.reduce((function(t,n){return t+n.postsCount}),0)}),0)},M=function(t,n,r){for(var e=k(t),o=n,i=o,a=0,u=0;u<t.length;u++){for(var s=t[u],c=0,l=0;l<s.areas.length;l++){var f=s.areas[l];f.spotRatio=O(f,r),c+=f.spotRatio,a+=f.spotRatio}s.spotRatio=c}var d=o-e;if(e!==o)for(var g=0;g<t.length;g++)for(var h=t[g].areas,p=0;p<h.length;p++){var m=h[p],v=Math.round(d*m.spotRatio/a);if(m.postsCount=Math.max(0,m.postsCount+v),a-=m.spotRatio,d-=v,i<=0)return}},A=function(t){for(var n=1,r=[0],e=0;e<t.length;e++)for(var o=t[e],i=o.areas,a=o.row,u=0;u<i.length;u++){var s=i[u];1===a&&0===u&&r.push(n),n+=s.postsCount}return r},O=function(t,n){var r=L(n).gridcolumns,e=t.width,o=t.height,i=t.postsCount/o;return R(t,n)&&(i*=2),i*=r/e},R=function(t,n){var r=L(n),e=r.gridcolumns,o=(r.gridrows,t.nth),i=t.width,a=t.height,u=i*t.initialPostsCount/a>1.33;return i/e>=.5?u||n.subfeature&&2===o:u},j=function(t,n){var r=L(n),e=r.gridcolumns,o=r.gridrows,a=t.width,u=t.height;return i()([_(t),P(a/e),G(u/o),E(t,n)])},_=function(t){var n=t.nth;return i()(["nb-grid__area","nb-grid__area--nth-".concat(n)])},E=function(t,n){return i()([{"nb-grid__area--portrait":!R(t,n),"nb-grid__area--landscape":R(t,n)}])},P=function(t){return i()([{"nb-grid__area--width-xs":t<.3,"nb-grid__area--width-s":.3<=t&&t<.5,"nb-grid__area--width-m":.5<=t&&t<.66,"nb-grid__area--width-l":.66<=t&&t<.8,"nb-grid__area--width-xl":.8<=t&&t<.95,"nb-grid__area--width-full":.95<=t}])},G=function(t){return i()([{"nb-grid__area--height-xs":t<.34,"nb-grid__area--height-s":.34<=t&&t<.5,"nb-grid__area--height-m":.5<=t&&t<.66,"nb-grid__area--height-l":.66<=t&&t<.8,"nb-grid__area--height-xl":.8<=t}])},L=function(t){return{gridcolumns:t.flipcolsrows?t.gridrows:t.gridcolumns,gridrows:t.flipcolsrows?t.gridcolumns:t.gridrows}},I=function(t){return Object.keys(t[0]).map((function(n){return t.map((function(t){return t[n]}))}))},T=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,e=t.width,o=t.height,a=L(n),u=a.gridcolumns,s=a.gridrows;return i()([_(t),P(r*e/u),G(o/s),E(t,n)])},z=function(t){var n=t.map((function(t,n){return{area:t,index:n}}));n.sort((function(t,n){return t.area.width-n.area.width}));var r=n[0].index;1===n[0].area.nth&&(r=n[n.length].index),t.splice(r,1)},B=function(t,n){F(t),N(t,n),D(t),t.forEach((function(t){t.areas.forEach((function(n){n.col=t.col,n.width=t.width}))}))},F=function(t){t.forEach((function(n){for(var r=0,e=!0;e;){t.filter((function(t){return t!==n})).some((function(t){return!(n.col+n.width-1<t.col||n.row+n.height-1<t.row||n.row>t.row+t.height-1||n.col-(r+1)>t.col+t.width-1)}))||n.col-r<=1?e=!1:r++}n.col=n.col-r}))},N=function(t,n){var r=n.gridcolumns;t.forEach((function(n){for(var e=0,o=!0;o;){t.filter((function(t){return t!==n})).some((function(t){return!(n.col+n.width+e<t.col||n.row+n.height-1<t.row||n.row>t.row+t.height-1||n.col>t.col+t.width-1)}))||n.col+n.width+e-1>=r?o=!1:e++}n.width=n.width+e}))},D=function(t){t.forEach((function(n){for(var r=0,e=!0;e;){t.filter((function(t){return t!==n})).some((function(t){return!(n.col+n.width-1<t.col||n.row+n.height-1<t.row||n.row-(r+1)>t.row+t.height-1||n.col>t.col+t.width-1)}))||n.row-r<=1?e=!1:r++}n.row=n.row-r}))},H=function(t,n){var r=null;return function(){var e=this,o=arguments,i=function(){t.apply(e,o)};clearTimeout(r),r=setTimeout(i,n)}},V={grad:.9,turn:360,rad:360/(2*Math.PI)},q=function(t){return"string"==typeof t?t.length>0:"number"==typeof t},W=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=Math.pow(10,n)),Math.round(r*t)/r+0},X=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=1),t>r?r:t>n?t:n},$=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},U=function(t){return{r:X(t.r,0,255),g:X(t.g,0,255),b:X(t.b,0,255),a:X(t.a)}},K=function(t){return{r:W(t.r),g:W(t.g),b:W(t.b),a:W(t.a,3)}},Y=/^#([0-9a-f]{3,8})$/i,J=function(t){var n=t.toString(16);return n.length<2?"0"+n:n},Z=function(t){var n=t.r,r=t.g,e=t.b,o=t.a,i=Math.max(n,r,e),a=i-Math.min(n,r,e),u=a?i===n?(r-e)/a:i===r?2+(e-n)/a:4+(n-r)/a:0;return{h:60*(u<0?u+6:u),s:i?a/i*100:0,v:i/255*100,a:o}},Q=function(t){var n=t.h,r=t.s,e=t.v,o=t.a;n=n/360*6,r/=100,e/=100;var i=Math.floor(n),a=e*(1-r),u=e*(1-(n-i)*r),s=e*(1-(1-n+i)*r),c=i%6;return{r:255*[e,u,a,a,s,e][c],g:255*[s,e,e,u,a,a][c],b:255*[a,a,s,e,e,u][c],a:o}},tt=function(t){return{h:$(t.h),s:X(t.s,0,100),l:X(t.l,0,100),a:X(t.a)}},nt=function(t){return{h:W(t.h),s:W(t.s),l:W(t.l),a:W(t.a,3)}},rt=function(t){return Q((r=(n=t).s,{h:n.h,s:(r*=((e=n.l)<50?e:100-e)/100)>0?2*r/(e+r)*100:0,v:e+r,a:n.a}));var n,r,e},et=function(t){return{h:(n=Z(t)).h,s:(o=(200-(r=n.s))*(e=n.v)/100)>0&&o<200?r*e/100/(o<=100?o:200-o)*100:0,l:o/2,a:n.a};var n,r,e,o},ot=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,it=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,at=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ut=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,st={string:[[function(t){var n=Y.exec(t);return n?(t=n[1]).length<=4?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:4===t.length?W(parseInt(t[3]+t[3],16)/255,2):1}:6===t.length||8===t.length?{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:8===t.length?W(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var n=at.exec(t)||ut.exec(t);return n?n[2]!==n[4]||n[4]!==n[6]?null:U({r:Number(n[1])/(n[2]?100/255:1),g:Number(n[3])/(n[4]?100/255:1),b:Number(n[5])/(n[6]?100/255:1),a:void 0===n[7]?1:Number(n[7])/(n[8]?100:1)}):null},"rgb"],[function(t){var n=ot.exec(t)||it.exec(t);if(!n)return null;var r,e,o=tt({h:(r=n[1],e=n[2],void 0===e&&(e="deg"),Number(r)*(V[e]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return rt(o)},"hsl"]],object:[[function(t){var n=t.r,r=t.g,e=t.b,o=t.a,i=void 0===o?1:o;return q(n)&&q(r)&&q(e)?U({r:Number(n),g:Number(r),b:Number(e),a:Number(i)}):null},"rgb"],[function(t){var n=t.h,r=t.s,e=t.l,o=t.a,i=void 0===o?1:o;if(!q(n)||!q(r)||!q(e))return null;var a=tt({h:Number(n),s:Number(r),l:Number(e),a:Number(i)});return rt(a)},"hsl"],[function(t){var n=t.h,r=t.s,e=t.v,o=t.a,i=void 0===o?1:o;if(!q(n)||!q(r)||!q(e))return null;var a=function(t){return{h:$(t.h),s:X(t.s,0,100),v:X(t.v,0,100),a:X(t.a)}}({h:Number(n),s:Number(r),v:Number(e),a:Number(i)});return Q(a)},"hsv"]]},ct=function(t,n){for(var r=0;r<n.length;r++){var e=n[r][0](t);if(e)return[e,n[r][1]]}return[null,void 0]},lt=function(t){return"string"==typeof t?ct(t.trim(),st.string):"object"==typeof t&&null!==t?ct(t,st.object):[null,void 0]},ft=function(t,n){var r=et(t);return{h:r.h,s:X(r.s+100*n,0,100),l:r.l,a:r.a}},dt=function(t){return(299*t.r+587*t.g+114*t.b)/1e3/255},gt=function(t,n){var r=et(t);return{h:r.h,s:r.s,l:X(r.l+100*n,0,100),a:r.a}},ht=function(){function t(t){this.parsed=lt(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return t.prototype.isValid=function(){return null!==this.parsed},t.prototype.brightness=function(){return W(dt(this.rgba),2)},t.prototype.isDark=function(){return dt(this.rgba)<.5},t.prototype.isLight=function(){return dt(this.rgba)>=.5},t.prototype.toHex=function(){return n=(t=K(this.rgba)).r,r=t.g,e=t.b,i=(o=t.a)<1?J(W(255*o)):"","#"+J(n)+J(r)+J(e)+i;var t,n,r,e,o,i},t.prototype.toRgb=function(){return K(this.rgba)},t.prototype.toRgbString=function(){return n=(t=K(this.rgba)).r,r=t.g,e=t.b,(o=t.a)<1?"rgba("+n+", "+r+", "+e+", "+o+")":"rgb("+n+", "+r+", "+e+")";var t,n,r,e,o},t.prototype.toHsl=function(){return nt(et(this.rgba))},t.prototype.toHslString=function(){return n=(t=nt(et(this.rgba))).h,r=t.s,e=t.l,(o=t.a)<1?"hsla("+n+", "+r+"%, "+e+"%, "+o+")":"hsl("+n+", "+r+"%, "+e+"%)";var t,n,r,e,o},t.prototype.toHsv=function(){return t=Z(this.rgba),{h:W(t.h),s:W(t.s),v:W(t.v),a:W(t.a,3)};var t},t.prototype.invert=function(){return pt({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},t.prototype.saturate=function(t){return void 0===t&&(t=.1),pt(ft(this.rgba,t))},t.prototype.desaturate=function(t){return void 0===t&&(t=.1),pt(ft(this.rgba,-t))},t.prototype.grayscale=function(){return pt(ft(this.rgba,-1))},t.prototype.lighten=function(t){return void 0===t&&(t=.1),pt(gt(this.rgba,t))},t.prototype.darken=function(t){return void 0===t&&(t=.1),pt(gt(this.rgba,-t))},t.prototype.rotate=function(t){return void 0===t&&(t=15),this.hue(this.hue()+t)},t.prototype.alpha=function(t){return"number"==typeof t?pt({r:(n=this.rgba).r,g:n.g,b:n.b,a:t}):W(this.rgba.a,3);var n},t.prototype.hue=function(t){var n=et(this.rgba);return"number"==typeof t?pt({h:t,s:n.s,l:n.l,a:n.a}):W(n.h)},t.prototype.isEqual=function(t){return this.toHex()===pt(t).toHex()},t}(),pt=function(t){return t instanceof ht?t:new ht(t)},mt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n={r:[],g:[],b:[],a:[]};return t.forEach((function(t){var r=pt(t).toRgb();n.r.push(r.r/255),n.g.push(r.g/255),n.b.push(r.b/255),n.a.push(r.a)})),n},vt=function(t,n){var r=mt(t);return'<svg\n xmlnsXlink="http://www.w3.org/1999/xlink"\n viewBox="0 0 0 0"\n width="0"\n height="0"\n focusable="false"\n role="none"\n >\n <defs>\n <filter id="'.concat(n,'" color-interpolation-filters="sRGB">\n <feColorMatrix type="matrix" values="\n .33 .33 .33 0 0\n .33 .33 .33 0 0\n .33 .33 .33 0 0\n .33 .33 .33 1 0" \n />\n <feComponentTransfer>\n <feFuncR type="table" tableValues="').concat(r.r.join(" "),'" />\n <feFuncG type="table" tableValues="').concat(r.g.join(" "),'" />\n <feFuncB type="table" tableValues="').concat(r.b.join(" "),'" />\n <feFuncA type="table" tableValues="').concat(r.a.join(" "),'" />\n </feComponentTransfer>\n <feComposite\n in2="SourceGraphic"\n operator="in"\n />\n </filter>\n </defs>\n </svg>')},bt=function(){var t=!1;if("maxTouchPoints"in navigator)t=navigator.maxTouchPoints>0;else if("msMaxTouchPoints"in navigator)t=navigator.msMaxTouchPoints>0;else{var n=window.matchMedia&&matchMedia("(pointer:coarse)");if(n&&"(pointer:coarse)"===n.media)t=!!n.matches;else if("orientation"in window)t=!0;else{var r=navigator.userAgent;t=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(r)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(r)}}return t},wt=function(){var t=!1;return function(n){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(n)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(n.substr(0,4)))&&(t=!0)}(navigator.userAgent||navigator.vendor||window.opera),t},yt=function(t,n){var r=Math.max(0,Math.random()-Number.MIN_VALUE);return Math.floor(r*(n-t+1)+t)},Ct=function(t,n){var r=new Array(n),e=t.length,o=new Array(e);if(!e)return[];for(;n--;){var i=Math.floor(Math.random()*e);r[n]=t[i in o?o[i]:i],o[i]=--e in o?o[e]:e}return r},xt=function(t){return Ct(t,1)[0]},St=function(){return Ct([!0,!1],1)[0]},kt=function(t){var n=t.blockTopSpacing,r=t.blockBottomSpacing,e=t.emphasisTopSpacing,o=t.emphasisBottomSpacing,i=t.verticalAlignment,a=t.contentAreaWidth,u=t.contentPadding,s=t.mediaContainerHeight,c=t.imagePadding,l=t.imageResizing,f=t.layoutGutter,d=t.minHeightFallback,g=t.thumbnailAspectRatio,h=t.spacingModifier,p=t.spacingMultiplierOverride;return{"--nb-emphasis-top-spacing":("top"===i?Math.abs(e):e)+"","--nb-emphasis-bottom-spacing":("bottom"===i?Math.abs(o):o)+"","--nb-block-top-spacing":n+"","--nb-block-bottom-spacing":r+"","--nb-block-zindex":Math.max(0,-1*(n+r)),"--nb-card-content-area-width":"".concat(a,"%"),"--nb-card-media-container-height":s,"--nb-card-content-padding-multiplier":u/100,"--nb-card-media-padding-top":on(g),"--nb-card-media-object-fit":"cropped"===l?"cover":"scale-down","--nb-card-media-padding-multiplier":c/100,"--nb-card-layout-gap-modifier":f/100,"--nb-minimum-container-height":d+"vh","--nb-spacing-modifier":h+"","--nb-spacing-multiplier-override":p+""}},Mt=function(t){return{"--nb-overlay-filter-strength":t.overlayFilterStrength/100}},At=function(t,n){var r,e=t.palette,o=t.paletteVariation,i=t.useSourceColorAsReference,a=t.colorSignal,u=null==n||null===(r=n.novaBlocks)||void 0===r?void 0:r.colorSignal,s=[];return(!0===n||!0===u||null!=u&&u.paletteClassname)&&(s.push("sm-palette-".concat(e)),i&&s.push("sm-palette--shifted")),(!0===n||!0===u||null!=u&&u.paletteVariationClassname)&&s.push("sm-variation-".concat(o)),(!0===n||!0===u||null!=u&&u.colorSignalClassname)&&s.push("sm-color-signal-".concat(a)),s.join(" ")},Ot=function(t,n){var r=Object.assign({},t,{colorSignal:t.contentColorSignal,paletteVariation:t.contentPaletteVariation,useSourceColorAsReference:!1});return At(r,n)},Rt=function(t){var n,r;return(null===(n=window)||void 0===n||null===(r=n.styleManager)||void 0===r?void 0:r.colorsConfig).find((function(n){return"".concat(n.id)==="".concat(t)}))},jt=function(t){var n=Rt(t),r=null==n?void 0:n.colors.slice();if(!n||null==n||!n.variations)return _t();for(var e=n.variations.slice(),o=Math.min(r.length,4),i=[],a=r.length/o,u=0;u<o;u++){var s=a*u,c=a*(u+1);i.push(r.slice(s,c))}var l=[],f=e.map((function(t){return t.bg.toLowerCase()}));return i.forEach((function(t){var n=t[0],r=t[t.length-1],e=f.indexOf(n.toLowerCase()),o=f.lastIndexOf(r.toLowerCase()),i=Math.floor(.5*e+.5*o);l.push(i+1)})),l},_t=function(){return[1,3,8,11]},Et=function(t,n){n&&t&&(n.classList.forEach((function(t){t.indexOf("sm-")>-1&&n.classList.remove(t)})),t.classList.forEach((function(t){t.indexOf("sm-")>-1&&n.classList.add(t)})))},Pt=function(t){var n,r,e,o,i,a;return{type:null==t?void 0:t.type,width:(null==t||null===(n=t.sizes)||void 0===n||null===(r=n.novablocks_large)||void 0===r?void 0:r.width)||(null==t?void 0:t.width),height:(null==t||null===(e=t.sizes)||void 0===e||null===(o=e.novablocks_large)||void 0===o?void 0:o.height)||t.height,url:(null==t||null===(i=t.sizes)||void 0===i||null===(a=i.novablocks_large)||void 0===a?void 0:a.url)||(null==t?void 0:t.url),alt:(null==t?void 0:t.alt)||""}},Gt={x:[0,.5,1],y:[0,.5,1]},Lt=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Gt,r=parseFloat(t.x),e=parseFloat(t.y),o=.05;return n.x.forEach((function(t){t-o<r&&r<t+o&&(r=t)})),n.y.forEach((function(t){t-o<e&&e<t+o&&(e=t)})),{x:r,y:e}},It=function(t){var n=[];return Gt.x.includes(parseFloat(t.x))&&n.push("is-snapped-x"),Gt.y.includes(parseFloat(t.y))&&n.push("is-snapped-y"),n.join(" ")},Tt=r(21),zt=new function t(){var n=this;Object(Tt.a)(this,t),this.breakpoints={mobile:"480px",tablet:"768px",lap:"1024px",desktop:"1440px"},this.above={},this.below={},Object.keys(this.breakpoints).forEach((function(t){var r=n.breakpoints[t],e=window.matchMedia("(min-width: ".concat(r,")")),o=function(r){n.above[t]=r.matches,n.below[t]=!r.matches};o(e),e.addEventListener("change",o)}))},Bt=function(t){return zt.below[t]},Ft=function(t){return zt.above[t]},Nt=function(t,n){for(var r=[],e=0;e<=n-t;e++)r.push(e+t);return r},Dt=function(t,n,r){n%=t.length;for(var e=1;e<=n;e++)r?t.unshift(t.pop()):t.push(t.shift());return t},Ht="break-align-left",Vt="break-align-right",qt=function(){var t=".".concat(Ht,", .").concat(Vt),n=document.querySelectorAll(t);Array.from(n).forEach((function(t){return t.classList.remove(Ht,Vt)}))},Wt=function(t,n){return Array.from(t.parentElement.children).filter((function(n){return n!==t})).filter((function(t){return t.classList.contains("align".concat(n))}))},Xt=function(t){var n=Ut(t),r=Wt(t,"left"),e=Wt(t,"right"),o=n.filter((function(t){return"left"===t.side})).map((function(t){return t.element})),i=n.filter((function(t){return"right"===t.side})).map((function(t){return t.element})),a=r.concat(o),u=e.concat(i),s=[];return pn(t,"".concat(Ht," ").concat(Vt)),a.some((function(n){return Yt(n,t)}))||s.push(Ht),u.some((function(n){return Yt(n,t)}))||s.push(Vt),mn(t,"".concat(Ht," ").concat(Vt)),s},$t=function(t){Xt(t).forEach((function(n){t.classList.add(n)}))},Ut=function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],e=n.closest(".nb-sidecar");if(!e)return r;var o=Array.from(e.children).filter((function(t){return t.classList.contains("nb-sidecar-area--sidebar")}));if(!o.length)return r;var i=Array.from(o[0].children).map((function(t){return{element:t,side:e.classList.contains("nb-sidecar--sidebar-left")?"left":"right"}}));return t(e.parentNode,r.concat(i))},Kt=function(t,n){var r=t.getBoundingClientRect(),e=n.getBoundingClientRect(),o=getComputedStyle(t),i=getComputedStyle(n),a=Math.max(parseInt(o.marginBottom),parseInt(i.marginTop)),u=Math.max(parseInt(i.marginBottom),parseInt(o.marginTop));return!(e.bottom+u<=r.top||e.top>=r.bottom+a)},Yt=function(t,n){var r=t.getBoundingClientRect(),e=n.getBoundingClientRect(),o=getComputedStyle(t),i=getComputedStyle(n),a=Math.max(parseInt(o.marginBottom),parseInt(i.marginTop)),u=Math.max(parseInt(i.marginBottom),parseInt(o.marginTop)),s=Math.max(parseInt(o.marginRight),parseInt(i.marginLeft)),c=Math.max(parseInt(i.marginRight),parseInt(o.marginLeft));return!(e.bottom+u<=r.top||e.top>=r.bottom+a||e.right+c<=r.left||e.left>=r.right+s)},Jt=function(){var t=[".is-root-container",".wp-block-query",".wp-block-post-content",".wp-site-blocks",".wp-block-template-part",".nb-content-layout-grid",".nb-sidecar",".nb-sidecar-area--content",".nb-supernova"].join(", ");return Array.from(document.querySelectorAll(t)).reduce((function(t,n){var r=Array.from(n.children).filter((function(t){return jn(t,".alignfull, .alignwide, .alignleft, .alignright")}));return t.concat(r)}),[])},Zt=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Qt=function(t,n){var r=[];return function t(e){var o=e.parentNode;o instanceof HTMLElement&&(o.matches(n)&&r.push(o),t(o))}(t),r},tn=function(t){for(var n,r,e=t.length;0!==e;)r=Math.floor(Math.random()*e),n=t[e-=1],t[e]=t[r],t[r]=n;return t},nn=function(t,n){var r=rn(t,n);return en(r)},rn=function(t,n){var r=!1,e=n(t);return Object.keys(e).some((function(n){return e[n]!==t[n]}))&&(r=!0),r},en=function(t){var n=["novablocks-controls-wrap"];return t&&n.push("novablocks-controls-wrap--dirty"),n.join(" ")},on=function(t){var n=t/50-1;n<0&&(n*=2);var r=1,e=1;return(n=Math.min(Math.max(-3,n),1))>0&&(r=1+n),n<0&&(e=1+Math.abs(n)),"".concat(100*r/e,"%")},an=function(t){for(var n=t.toLowerCase().split(" "),r=0;r<n.length;r++)n[r]=n[r].charAt(0).toUpperCase()+n[r].substring(1);return n.join(" ")},un=function(t){var n=t.getBoundingClientRect(),r=window.innerHeight||document.documentElement.clientHeight,e=window.innerWidth||document.documentElement.clientWidth,o=n.top<=r&&n.top+n.height>=0,i=n.left<=e&&n.left+n.width>=0;return o&&i},sn=function(t){return"string"!=typeof t?"":t.charAt(0).toUpperCase()+t.slice(1)},cn=function(t){var n=t.contentPosition;if("string"!=typeof n)return"";var r=n.split(" "),e=r[0],o=r[1];return"novablocks-u-valign-".concat(e," novablocks-u-halign-").concat(o)},ln=function(t){var n=t.level;return{level:n,collectionTitleLevel:n,cardTitleLevel:n+1}},fn=function(t){var n=t.thumbnailAspectRatio,r=t.thumbnailAspectRatioString;return"auto"===r?{}:(n<50&&(r="landscape"),{thumbnailAspectRatio:n,thumbnailAspectRatioString:r})},dn=function(t){var n=t/50-1,r=1,e=1;return(n=Math.min(Math.max(-1,n),1))>0&&(r=1+n),n<0&&(e=1+Math.abs(n)),100*r/e},gn=function(t){if("string"!=typeof t)return["center","center"];var n=t.split(/\b\s+/);return[n[0],n[1]||"center"]},hn=function(t){"loading"!=document.readyState?t():document.addEventListener("DOMContentLoaded",t)},pn=function(t,n){var r,o=n.split(/\s+/).filter((function(t){return t.trim().length}));o.length&&(r=t.classList).add.apply(r,Object(e.a)(o))},mn=function(t,n){var r,o=n.split(/\s+/).filter((function(t){return t.trim().length}));o.length&&(r=t.classList).remove.apply(r,Object(e.a)(o))},vn=function(t,n){return t.classList.contains(n)},bn=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},wn=function(t,n,r){void 0===r?vn(t,n)?mn(t,n):pn(t,n):r?pn(t,n):mn(t,n)},yn=function(t){for(var n=t.firstChild;null!=n&&3===n.nodeType;)n=n.nextSibling;return n};function Cn(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=function(){Object.keys(n).forEach((function(r){t.style[r]=n[r]}))},e=function(){Object.keys(n).forEach((function(n){t.style[n]=""}))};r(),window.requestIdleCallback?window.requestIdleCallback(e):setTimeout(e,0)}var xn=function(t,n,r){return Math.min(Math.max(n,t),r)},Sn=function(t){return"_"===(t.id+"").charAt(0)},kn=document.body.classList.contains("block-editor-page"),Mn=document.body.classList.contains("wp-customizer"),An=function(t){return On(t)?null!=t&&t.preview?t:Object.assign({},t,{layoutStyle:"classic",columns:1,cardLayout:"horizontal",cardMediaOpacity:100}):Object.assign({},t,{preview:!1})},On=function(t){return["parametric","carousel"].includes(t.layoutStyle)&&"auto"!==t.contentType},Rn=function(t){var n=window.pageYOffset,r=-1,e=!1;window.addEventListener("scroll",(function(){n=window.pageYOffset,e=!1})),window.addEventListener("resize",(function(){e=!1}));requestAnimationFrame((function o(){e||(t(n,r),r=n,e=!0),requestAnimationFrame(o)}))},jn=function(t,n){return(t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.oMatchesSelector).call(t,n)},_n=function(t){var n=t.parentElement,r=t.offsetWidth,e=.9*n.offsetWidth/r,o=t.offsetHeight,i=.9*n.offsetHeight/o,a=Math.min(e,i),u=window.getComputedStyle(t,null).getPropertyValue("font-size"),s=parseFloat(u)*a;t.style.fontSize="".concat(s,"px")},En=function(t){var n={};return Object.keys(t.dataset).forEach((function(r){try{n[r]=JSON.parse(t.dataset[r])}catch(e){n[r]=t.dataset[r]}})),n}}});6 */!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var t=[],n=0;n<arguments.length;n++){var e=arguments[n];if(e){var i=typeof e;if("string"===i||"number"===i)t.push(e);else if(Array.isArray(e)&&e.length){var a=o.apply(null,e);a&&t.push(a)}else if("object"===i)for(var u in e)r.call(e,u)&&e[u]&&t.push(u)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(e=function(){return o}.apply(n,[]))||(t.exports=e)}()},17:function(t,n,r){"use strict";function e(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}r.d(n,"a",(function(){return e}))},18:function(t,n,r){"use strict";r.d(n,"a",(function(){return i}));var e=r(17);var o=r(20);function i(t){return function(t){if(Array.isArray(t))return Object(e.a)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Object(o.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},20:function(t,n,r){"use strict";r.d(n,"a",(function(){return o}));var e=r(17);function o(t,n){if(t){if("string"==typeof t)return Object(e.a)(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(e.a)(t,n):void 0}}},21:function(t,n,r){"use strict";function e(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}r.d(n,"a",(function(){return e}))},34:function(t,n){t.exports=window.novablocks.easings},6:function(t,n,r){"use strict";function e(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}r.d(n,"a",(function(){return e}))},73:function(t,n,r){"use strict";r.r(n),r.d(n,"range",(function(){return o})),r.d(n,"arrayRotate",(function(){return i})),r.d(n,"BREAK_LEFT_CLASS",(function(){return a})),r.d(n,"BREAK_RIGHT_CLASS",(function(){return u})),r.d(n,"cleanupBreakClasses",(function(){return s})),r.d(n,"getAlignedSiblings",(function(){return c})),r.d(n,"getElementBreakClasses",(function(){return l})),r.d(n,"maybeAddBreakClassesToElement",(function(){return f})),r.d(n,"getAdjacentSidebarBlocks",(function(){return d})),r.d(n,"wouldOverlap",(function(){return h})),r.d(n,"doOverlap",(function(){return g})),r.d(n,"getContentBlocksArray",(function(){return p})),r.d(n,"applyLayoutEngine",(function(){return y})),r.d(n,"getGridStyle",(function(){return L})),r.d(n,"getPostsCount",(function(){return I})),r.d(n,"redistributeCardsInAreas",(function(){return z})),r.d(n,"getOptimalHeaderPosition",(function(){return B})),r.d(n,"isLandscape",(function(){return N})),r.d(n,"getParametricLayoutAreaClassName",(function(){return D})),r.d(n,"getAreaBaseClassname",(function(){return H})),r.d(n,"getAreaClassnameByAspectRatio",(function(){return q})),r.d(n,"getAreaClassnameByWidthRatio",(function(){return V})),r.d(n,"getAreaClassnameByHeightRatio",(function(){return W})),r.d(n,"getGridColumnsAndRows",(function(){return X})),r.d(n,"transposeMatrix",(function(){return $})),r.d(n,"getAreaClassname",(function(){return U})),r.d(n,"removeSmallestColumn",(function(){return K})),r.d(n,"normalizeColumns",(function(){return Y})),r.d(n,"moveColumnsToLeft",(function(){return J})),r.d(n,"growColumnsToRight",(function(){return Z})),r.d(n,"moveColumnsToTop",(function(){return Q})),r.d(n,"getColorSignalClassnames",(function(){return tt})),r.d(n,"getContentColorsSignalClassnames",(function(){return nt})),r.d(n,"getPaletteConfig",(function(){return rt})),r.d(n,"getSignals",(function(){return et})),r.d(n,"getDefaultSignals",(function(){return ot})),r.d(n,"syncColorSignalClasses",(function(){return it})),r.d(n,"debounce",(function(){return at})),r.d(n,"getValuesFromColors",(function(){return Tt})),r.d(n,"getDuotoneFilterSvg",(function(){return Lt})),r.d(n,"defaultSnapValues",(function(){return It})),r.d(n,"maybeSnapFocalPoint",(function(){return zt})),r.d(n,"getSnapClassname",(function(){return Bt})),r.d(n,"hasTouchScreen",(function(){return Ft})),r.d(n,"isMobileDevice",(function(){return Nt})),r.d(n,"normalizeMedia",(function(){return Dt})),r.d(n,"below",(function(){return Vt})),r.d(n,"above",(function(){return Wt})),r.d(n,"mqService",(function(){return qt})),r.d(n,"getOverlayFilterCSSProps",(function(){return Xt})),r.d(n,"getRandomBetween",(function(){return $t})),r.d(n,"getRandomArrayFromArray",(function(){return Ut})),r.d(n,"getRandomFromArray",(function(){return Kt})),r.d(n,"getRandomBooleanValue",(function(){return Yt})),r.d(n,"scrollFromTo",(function(){return Zt})),r.d(n,"getSpacingCSSProps",(function(){return Qt})),r.d(n,"isSafari",(function(){return tn})),r.d(n,"findParents",(function(){return nn})),r.d(n,"shuffleArray",(function(){return rn})),r.d(n,"getControlsClasses",(function(){return en})),r.d(n,"areAttributesDirty",(function(){return on})),r.d(n,"getControlsDirtyClasses",(function(){return an})),r.d(n,"getCardMediaPaddingTop",(function(){return un})),r.d(n,"titleCase",(function(){return sn})),r.d(n,"isAnyPartOfElementInViewport",(function(){return cn})),r.d(n,"capitalizeFirstLetter",(function(){return ln})),r.d(n,"getAlignmentClassnames",(function(){return fn})),r.d(n,"getLevelAttributes",(function(){return dn})),r.d(n,"getAspectRatioAttributes",(function(){return hn})),r.d(n,"getPaddingTopFromContainerHeight",(function(){return gn})),r.d(n,"getAlignFromMatrix",(function(){return pn})),r.d(n,"ready",(function(){return mn})),r.d(n,"addClass",(function(){return vn})),r.d(n,"removeClass",(function(){return bn})),r.d(n,"hasClass",(function(){return wn})),r.d(n,"empty",(function(){return yn})),r.d(n,"toggleClass",(function(){return Cn})),r.d(n,"getFirstChild",(function(){return xn})),r.d(n,"setAndResetElementStyles",(function(){return Mn})),r.d(n,"clamp",(function(){return Sn})),r.d(n,"isFunctionalPalette",(function(){return kn})),r.d(n,"IS_EDITOR",(function(){return An})),r.d(n,"IS_CUSTOMIZER",(function(){return On})),r.d(n,"getPreviewAttributes",(function(){return Rn})),r.d(n,"needsPreview",(function(){return jn})),r.d(n,"onScrollRAF",(function(){return _n})),r.d(n,"matches",(function(){return En})),r.d(n,"resizeDropcap",(function(){return Pn})),r.d(n,"getAttributes",(function(){return Gn})),r.d(n,"applyCSS",(function(){return Tn})),r.d(n,"remove",(function(){return Ln}));var e=r(18),o=function(t,n){for(var r=[],e=0;e<=n-t;e++)r.push(e+t);return r},i=function(t,n,r){n%=t.length;for(var e=1;e<=n;e++)r?t.unshift(t.pop()):t.push(t.shift());return t},a="break-align-left",u="break-align-right",s=function(){var t=".".concat(a,", .").concat(u),n=document.querySelectorAll(t);Array.from(n).forEach((function(t){return t.classList.remove(a,u)}))},c=function(t,n){return Array.from(t.parentElement.children).filter((function(n){return n!==t})).filter((function(t){return t.classList.contains("align".concat(n))}))},l=function(t){var n=d(t),r=c(t,"left"),e=c(t,"right"),o=n.filter((function(t){return"left"===t.side})).map((function(t){return t.element})),i=n.filter((function(t){return"right"===t.side})).map((function(t){return t.element})),s=r.concat(o),l=e.concat(i),f=[];return vn(t,"".concat(a," ").concat(u)),s.some((function(n){return g(n,t)}))||f.push(a),l.some((function(n){return g(n,t)}))||f.push(u),bn(t,"".concat(a," ").concat(u)),f},f=function(t){l(t).forEach((function(n){t.classList.add(n)}))},d=function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],e=n.closest(".nb-sidecar");if(!e)return r;var o=Array.from(e.children).filter((function(t){return t.classList.contains("nb-sidecar-area--sidebar")}));if(!o.length)return r;var i=Array.from(o[0].children).map((function(t){return{element:t,side:e.classList.contains("nb-sidecar--sidebar-left")?"left":"right"}}));return t(e.parentNode,r.concat(i))},h=function(t,n){var r=t.getBoundingClientRect(),e=n.getBoundingClientRect(),o=getComputedStyle(t),i=getComputedStyle(n),a=Math.max(parseInt(o.marginBottom),parseInt(i.marginTop)),u=Math.max(parseInt(i.marginBottom),parseInt(o.marginTop));return!(e.bottom+u<=r.top||e.top>=r.bottom+a)},g=function(t,n){var r=t.getBoundingClientRect(),e=n.getBoundingClientRect(),o=getComputedStyle(t),i=getComputedStyle(n),a=Math.max(parseInt(o.marginBottom),parseInt(i.marginTop)),u=Math.max(parseInt(i.marginBottom),parseInt(o.marginTop)),s=Math.max(parseInt(o.marginRight),parseInt(i.marginLeft)),c=Math.max(parseInt(i.marginRight),parseInt(o.marginLeft));return!(e.bottom+u<=r.top||e.top>=r.bottom+a||e.right+c<=r.left||e.left>=r.right+s)},p=function(){var t=[".is-root-container",".wp-block-query",".wp-block-post-content",".wp-site-blocks",".wp-block-template-part",".nb-content-layout-grid",".nb-sidecar",".nb-sidecar-area--content",".nb-supernova"].join(", ");return Array.from(document.querySelectorAll(t)).reduce((function(t,n){var r=Array.from(n.children).filter((function(t){return En(t,".alignfull, .alignwide, .alignleft, .alignright")}));return t.concat(r)}),[])},m=r(11),v=r.n(m),b=r(6);function w(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),r.push.apply(r,e)}return r}var y=function(t){var n,r,e=T([],t.gridcolumns,t.gridrows,"X"),o=T([],t.gridcolumns,t.gridrows,"X"),i=T([],t.gridcolumns,t.gridrows,"X"),a=G([],t.gridcolumns,"X"),u=G([],t.gridcolumns,"X"),s=1;for(n=t.featureposition;n<t.featureposition+t.featuresize;n++)a[n]=s;var c=0;for(s++,n=1;n<=t.gridcolumns;n++)if("X"===a[n]){if(c++,a[n-1]!==s)s++;else{var l=1<<t.gridcolumns-t.featuresize-c;(l&t.fragmentation)===l&&s++}a[n]=s}for(n=1;n<=t.gridcolumns;n++){for(var f=n;a[f+1]===a[n];)f++;for(1===n?o[1][n]=t.imageweightleft:f===t.gridcolumns?o[1][n]=t.imageweightright:o[1][n]=Math.round(t.imageweightleft-(t.imageweightleft-t.imageweightright)*(n+f-1)/(2*t.gridcolumns)),r=n;r<=f;r++)o[1][r]=o[1][n];n=f}for(n=2;n<=t.gridrows;n++)o[n]=o[1].slice();for(n=1;n<=t.gridcolumns;n++){for(var d=n;a[d+1]===a[n];)d++;for(1===n?i[1][n]=t.metadetailsleft:d===t.gridcolumns?i[1][n]=t.metadetailsright:(i[1][n]=t.metadetailsleft-(t.metadetailsleft-t.metadetailsright)*(n+d-1)/(2*t.gridcolumns),t.balancemdandiw&&0!=t.imageweightleft-t.imageweightright&&(i[1][n]=i[1][n]*(Math.abs(t.imageweightleft-t.imageweightright)/2/o[1][n])),i[1][n]=Math.round(i[1][n])),r=n;r<=d;r++)i[1][r]=i[1][n];n=d}for(n=2;n<=t.gridrows;n++)i[n]=i[1].slice();if(t.boostfeature&&t.featuresize>0){var h=1,g=1;for(n=1;n<=t.gridcolumns;n++)i[1][n]>i[1][h]&&(h=n),o[1][n]>o[1][g]&&(g=n);if(h!==t.featureposition){var p=i[1][t.featureposition],m=i[1][h];for(n=h;a[n]===a[h];)i[1][n]=p,n++;for(n=t.featureposition;a[n]===a[t.featureposition];)i[1][n]=m,n++;for(n=2;n<=t.gridrows;n++)i[n]=i[1].slice()}if(g!==t.featureposition){var v=o[1][t.featureposition],y=o[1][g];for(n=g;a[n]===a[g];)o[1][n]=v,n++;for(n=t.featureposition;a[n]===a[t.featureposition];)o[1][n]=y,n++;for(n=2;n<=t.gridrows;n++)o[n]=o[1].slice()}}var S=i[1][1],k=o[1][1];for(n=1;n<=t.gridcolumns;n++)i[1][n]>S&&(S=i[1][n]),o[1][n]>k&&(k=o[1][n]);for(k<1&&(k=1),S<1&&(S=1),n=1;n<=t.gridcolumns;n++){for(var A=n;a[A+1]===a[n];)A++;for(u[n]=Math.round((i[1][n]/S+o[1][n]/k)/2*t.gridrows),u[n]>3*(A-n+1)&&(u[n]=3*(A-n+1)),u[n]<1&&(u[n]=1),t.subfeature&&n===t.featureposition&&t.featuresize>0&&u[n]===t.gridrows&&(u[n]=Math.floor(.75*u[n])),u[n]<1?u[n]=1:u[n]>t.gridrows&&(u[n]=t.gridrows),r=n;r<=A;r++)u[r]=u[n];n=A}var O=1;if(t.featuresize>0){for(n=1;n<=u[t.featureposition];){r=t.featureposition;do{e[n][r]=O,r++}while(a[t.featureposition]===a[r]);n++}if(O++,n<=t.gridrows){for(;n<=t.gridrows;){r=t.featureposition;do{e[n][r]=O,i[n][r]=Math.round(.66*i[n][r]),o[n][r]=Math.round(.66*o[n][r]),r++}while(a[t.featureposition]===a[r]);n++}O++}}for(var R,_=1;_<=t.gridcolumns;)if("X"===e[1][_])for(R=1;R<=t.gridrows;){for(n=R;n<=R+u[_]-1&&n<=t.gridrows;){r=_;do{e[n][r]=O,r++}while(a[_]===a[r]);n++}O++,R=n}else _++;var L=O,I=t.hierarchycrossing;for(O=1;I>0&&O<=L;){var z=P(O,e,i,o);if(!1!==z){if(z.endGridColumn===t.gridcolumns)break;var B=P(e[z.startGridRow][z.endGridColumn+1],e,i,o),F=P(e[z.endGridRow][z.endGridColumn+1],e,i,o);if(B.startGridRow===z.startGridRow&&F.endGridRow===z.endGridRow){var N=L/B.nth*(B.area+B.imageWeight+B.metaDetails);if(F.nth!==B.nth){var D=1;for(n=B.nth+1;n<=F.nth;n++){var H=P(n,e,i,o);!1!==H&&(D++,N+=L/H.nth*(H.area+H.imageWeight+H.metaDetails*D)*D)}}if(I<N)O++;else{if(L/z.nth*(z.area+z.imageWeight+z.metaDetails)*Math.pow(2*I/50,3)>N){for(n=B.startGridRow;n<=F.endGridRow;n++)for(r=B.startGridColumn;r<=B.endGridColumn;r++)e[n][r]=O,o[n][r]=z.imageWeight,i[n][r]=z.metaDetails;I-=N,L=j(e)}O++}}else O++}else O++}var q=function(t,n,r,e){var o=E(n,r,e);M(n,r,e,o,t);var i=(o=(o=function(t,n){var r=function(t){for(var n,r=[],e=1;e<t.length-1;e++)for(var o=1;o<t[e].length-1;o++)n=t[e][o],-1===r.indexOf(n)&&r.push(n);return r}(t);r.sort((function(t,n){return t-n}));for(var e=0;e<r.length;e++)e+1!==r[e]&&x(r[e],e+1,t);return r.map((function(t,r){var e=n.find((function(n){return n.nth===t}));return e.nth=r+1,e}))}(n,o)).map((function(t){return function(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?w(Object(r),!0).forEach((function(n){Object(b.a)(t,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))}))}return t}({initialPostsCount:t.postsCount},t)}))).map((function(t){return{row:t.row,col:t.col,width:t.width,height:t.height,areas:[t]}}));return i.forEach((function(t){t.areas.forEach((function(n,r){i.filter((function(n){return n!==t})).forEach((function(r){r.areas.forEach((function(e,o){e.merged||n.col!==e.col||n.width!==e.width||n.row+n.height!==e.row&&n.row!==e.row+e.height||(e.merged=!0,t.areas.push(e),t.height+=e.height,r.areas.splice(o,1))}))}))}))})),i.filter((function(t){return t.areas.length>0}))}(t,t.flipcolsrows?$(e):e,t.flipcolsrows?$(i):i,t.flipcolsrows?$(o):o);return C(q),q},C=function(t){var n=t.filter((function(t){return 1===t.row})).sort((function(t,n){return n.width-t.width})),r=t.findIndex((function(t){return t===n[0]}));return t.splice(0,0,t.splice(r,1)[0]),t};function x(t,n,r){for(var e=1;e<r.length-1;e++)for(var o=1;o<r[e].length-1;o++)r[e][o]===t&&(r[e][o]=n)}var M=function(t,n,r,e,o){for(var i,a=1;a<=_(t);a++)(i=P(a,t,n,r))&&S(i.startGridRow,i.startGridColumn,t,n,r,e,o)},S=function(t,n,r,e,o,i,a){var u=r[t][n],s=O(u,r),c=R(u,r),l=s,f=c,d=-1;if(Array.isArray(i)&&(d=i.findIndex((function(e){return e.nth===r[t][n]}))),1!==u){for(var h,g,p,m,v,b,w=!0,y=!1;w;)v=r[t+c][n],h=(b=A(v,r)).row,g=b.col,p=O(v,r),m=R(v,r),s===p&&n===g&&Math.abs(f-m)<=1&&Math.abs(e[t][n]-e[h][n])<=1&&Math.abs(o[t][n]-o[h][n])<=1?(c+=m,y=!0,d>-1&&(i[d].postsCount+=1,i[d].height=c)):w=!1;for(w=!y;w&&!a.flipcolsrows;)v=r[t][n+s],h=(b=A(v,r)).row,g=b.col,p=O(v,r),c===(m=R(v,r))&&t===h&&Math.abs(l-p)<=1&&Math.abs(e[t][n]-e[t][g])<=1&&Math.abs(o[t][n]-o[t][g])<=1?(s+=p,y=!0,d>-1&&(i[d].postsCount+=1,i[d].width=s)):w=!1;k(r,t,n,s,c)}},k=function(t,n,r,e,o){for(var i=n;i<n+o;i++)for(var a=r;a<r+e;a++)t[i][a]=t[n][r]},A=function(t,n){for(var r=0;r<n.length;r++)for(var e=0;e<n[r].length;e++)if(n[r][e]===t)return{row:r,col:e};return{}},O=function(t,n){for(var r=A(t,n),e=r.row,o=r.col,i=1;t===n[e][o+i];)i+=1;return i},R=function(t,n){for(var r=A(t,n),e=r.row,o=r.col,i=1;void 0!==n[e+i]&&t===n[e+i][o];)i+=1;return i},j=function(t){for(var n,r=1,e=1;e<=_(t);e++)if(!1!==(n=P(e,t))){if(n.nth>r)for(var o=n.startGridRow;o<=n.endGridRow;o++)for(var i=n.startGridColumn;i<=n.endGridColumn;i++)t[o][i]=r;r++}return r-1},_=function(t){for(var n=0,r=1;r<t.length;r++)for(var e=1;e<t[r].length;e++)t[r][e]>n&&(n=t[r][e]);return n},E=function(t,n,r){for(var e,o=[],i=1;i<=_(t);i++)(e=P(i,t,n,r))&&o.push({nth:e.nth,col:e.startGridColumn,row:e.startGridRow,width:e.endGridColumn-e.startGridColumn+1,height:e.endGridRow-e.startGridRow+1,metaDetails:e.metaDetails,imageWeight:e.imageWeight,postsCount:1});return o},P=function(t,n){for(var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],e=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=!1,i=1;i<n.length;i++)for(var a=1;a<n[i].length;a++)if(n[i][a]===t){for(o={nth:t,startGridColumn:a,startGridRow:i,endGridColumn:a,endGridRow:i,metaDetails:!!r&&r[i][a],imageWeight:!!e&&e[i][a],area:1};a<n[i].length&&n[i][a]===n[i][a+1];)a++;for(o.endGridColumn=a;i<n.length&&n[i][a]===n[i+1][a];)i++;return o.endGridRow=i,o.area=(o.endGridRow-o.startGridRow+1)*(o.endGridColumn-o.startGridColumn+1),o}return o},G=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"X";t.push("/");for(var e=1;e<=n;e++)t.push(r);return t.push("/"),t},T=function(t,n,r,e){t.push(G([],n,"/"));for(var o=0;o<r;o++)t.push(G([],n,e));return t.push(G([],n,"/")),t},L=function(t){var n=X(t),r=n.gridcolumns,e=n.gridrows;return{display:"grid",gridTemplateColumns:"repeat( ".concat(r,", 1fr )"),gridTemplateRows:"repeat( ".concat(e,", auto )")}},I=function(t){return t.reduce((function(t,n){return t+n.areas.reduce((function(t,n){return t+n.postsCount}),0)}),0)},z=function(t,n,r){for(var e=I(t),o=n,i=o,a=0,u=0;u<t.length;u++){for(var s=t[u],c=0,l=0;l<s.areas.length;l++){var f=s.areas[l];f.spotRatio=F(f,r),c+=f.spotRatio,a+=f.spotRatio}s.spotRatio=c}var d=o-e;if(e!==o)for(var h=0;h<t.length;h++)for(var g=t[h].areas,p=0;p<g.length;p++){var m=g[p],v=Math.round(d*m.spotRatio/a);if(m.postsCount=Math.max(0,m.postsCount+v),a-=m.spotRatio,d-=v,i<=0)return}},B=function(t){for(var n=1,r=[0],e=0;e<t.length;e++)for(var o=t[e],i=o.areas,a=o.row,u=0;u<i.length;u++){var s=i[u];1===a&&0===u&&r.push(n),n+=s.postsCount}return r},F=function(t,n){var r=X(n).gridcolumns,e=t.width,o=t.height,i=t.postsCount/o;return N(t,n)&&(i*=2),i*=r/e},N=function(t,n){var r=X(n),e=r.gridcolumns,o=(r.gridrows,t.nth),i=t.width,a=t.height,u=i*t.initialPostsCount/a>1.33;return i/e>=.5?u||n.subfeature&&2===o:u},D=function(t,n){var r=X(n),e=r.gridcolumns,o=r.gridrows,i=t.width,a=t.height;return v()([H(t),V(i/e),W(a/o),q(t,n)])},H=function(t){var n=t.nth;return v()(["nb-grid__area","nb-grid__area--nth-".concat(n)])},q=function(t,n){return v()([{"nb-grid__area--portrait":!N(t,n),"nb-grid__area--landscape":N(t,n)}])},V=function(t){return v()([{"nb-grid__area--width-xs":t<.3,"nb-grid__area--width-s":.3<=t&&t<.5,"nb-grid__area--width-m":.5<=t&&t<.66,"nb-grid__area--width-l":.66<=t&&t<.8,"nb-grid__area--width-xl":.8<=t&&t<.95,"nb-grid__area--width-full":.95<=t}])},W=function(t){return v()([{"nb-grid__area--height-xs":t<.34,"nb-grid__area--height-s":.34<=t&&t<.5,"nb-grid__area--height-m":.5<=t&&t<.66,"nb-grid__area--height-l":.66<=t&&t<.8,"nb-grid__area--height-xl":.8<=t}])},X=function(t){return{gridcolumns:t.flipcolsrows?t.gridrows:t.gridcolumns,gridrows:t.flipcolsrows?t.gridcolumns:t.gridrows}},$=function(t){return Object.keys(t[0]).map((function(n){return t.map((function(t){return t[n]}))}))},U=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,e=t.width,o=t.height,i=X(n),a=i.gridcolumns,u=i.gridrows;return v()([H(t),V(r*e/a),W(o/u),q(t,n)])},K=function(t){var n=t.map((function(t,n){return{area:t,index:n}}));n.sort((function(t,n){return t.area.width-n.area.width}));var r=n[0].index;1===n[0].area.nth&&(r=n[n.length].index),t.splice(r,1)},Y=function(t,n){J(t),Z(t,n),Q(t),t.forEach((function(t){t.areas.forEach((function(n){n.col=t.col,n.width=t.width}))}))},J=function(t){t.forEach((function(n){for(var r=0,e=!0;e;){t.filter((function(t){return t!==n})).some((function(t){return!(n.col+n.width-1<t.col||n.row+n.height-1<t.row||n.row>t.row+t.height-1||n.col-(r+1)>t.col+t.width-1)}))||n.col-r<=1?e=!1:r++}n.col=n.col-r}))},Z=function(t,n){var r=n.gridcolumns;t.forEach((function(n){for(var e=0,o=!0;o;){t.filter((function(t){return t!==n})).some((function(t){return!(n.col+n.width+e<t.col||n.row+n.height-1<t.row||n.row>t.row+t.height-1||n.col>t.col+t.width-1)}))||n.col+n.width+e-1>=r?o=!1:e++}n.width=n.width+e}))},Q=function(t){t.forEach((function(n){for(var r=0,e=!0;e;){t.filter((function(t){return t!==n})).some((function(t){return!(n.col+n.width-1<t.col||n.row+n.height-1<t.row||n.row-(r+1)>t.row+t.height-1||n.col>t.col+t.width-1)}))||n.row-r<=1?e=!1:r++}n.row=n.row-r}))},tt=function(t,n){var r,e=t.palette,o=t.paletteVariation,i=t.useSourceColorAsReference,a=t.colorSignal,u=null==n||null===(r=n.novaBlocks)||void 0===r?void 0:r.colorSignal,s=[];return(!0===n||!0===u||null!=u&&u.paletteClassname)&&(s.push("sm-palette-".concat(e)),i&&s.push("sm-palette--shifted")),(!0===n||!0===u||null!=u&&u.paletteVariationClassname)&&s.push("sm-variation-".concat(o)),(!0===n||!0===u||null!=u&&u.colorSignalClassname)&&s.push("sm-color-signal-".concat(a)),s.join(" ")},nt=function(t,n){var r=Object.assign({},t,{colorSignal:t.contentColorSignal,paletteVariation:t.contentPaletteVariation,useSourceColorAsReference:!1});return tt(r,n)},rt=function(t){var n,r;return(null===(n=window)||void 0===n||null===(r=n.styleManager)||void 0===r?void 0:r.colorsConfig).find((function(n){return"".concat(n.id)==="".concat(t)}))},et=function(t){var n=rt(t),r=null==n?void 0:n.colors.slice();if(!n||null==n||!n.variations)return ot();for(var e=n.variations.slice(),o=Math.min(r.length,4),i=[],a=r.length/o,u=0;u<o;u++){var s=a*u,c=a*(u+1);i.push(r.slice(s,c))}var l=[],f=e.map((function(t){return t.bg.toLowerCase()}));return i.forEach((function(t){var n=t[0],r=t[t.length-1],e=f.indexOf(n.toLowerCase()),o=f.lastIndexOf(r.toLowerCase()),i=Math.floor(.5*e+.5*o);l.push(i+1)})),l},ot=function(){return[1,3,8,11]},it=function(t,n){n&&t&&(n.classList.forEach((function(t){t.indexOf("sm-")>-1&&n.classList.remove(t)})),t.classList.forEach((function(t){t.indexOf("sm-")>-1&&n.classList.add(t)})))},at=function(t,n){var r=null;return function(){var e=this,o=arguments,i=function(){t.apply(e,o)};clearTimeout(r),r=setTimeout(i,n)}},ut={grad:.9,turn:360,rad:360/(2*Math.PI)},st=function(t){return"string"==typeof t?t.length>0:"number"==typeof t},ct=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=Math.pow(10,n)),Math.round(r*t)/r+0},lt=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=1),t>r?r:t>n?t:n},ft=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},dt=function(t){return{r:lt(t.r,0,255),g:lt(t.g,0,255),b:lt(t.b,0,255),a:lt(t.a)}},ht=function(t){return{r:ct(t.r),g:ct(t.g),b:ct(t.b),a:ct(t.a,3)}},gt=/^#([0-9a-f]{3,8})$/i,pt=function(t){var n=t.toString(16);return n.length<2?"0"+n:n},mt=function(t){var n=t.r,r=t.g,e=t.b,o=t.a,i=Math.max(n,r,e),a=i-Math.min(n,r,e),u=a?i===n?(r-e)/a:i===r?2+(e-n)/a:4+(n-r)/a:0;return{h:60*(u<0?u+6:u),s:i?a/i*100:0,v:i/255*100,a:o}},vt=function(t){var n=t.h,r=t.s,e=t.v,o=t.a;n=n/360*6,r/=100,e/=100;var i=Math.floor(n),a=e*(1-r),u=e*(1-(n-i)*r),s=e*(1-(1-n+i)*r),c=i%6;return{r:255*[e,u,a,a,s,e][c],g:255*[s,e,e,u,a,a][c],b:255*[a,a,s,e,e,u][c],a:o}},bt=function(t){return{h:ft(t.h),s:lt(t.s,0,100),l:lt(t.l,0,100),a:lt(t.a)}},wt=function(t){return{h:ct(t.h),s:ct(t.s),l:ct(t.l),a:ct(t.a,3)}},yt=function(t){return vt((r=(n=t).s,{h:n.h,s:(r*=((e=n.l)<50?e:100-e)/100)>0?2*r/(e+r)*100:0,v:e+r,a:n.a}));var n,r,e},Ct=function(t){return{h:(n=mt(t)).h,s:(o=(200-(r=n.s))*(e=n.v)/100)>0&&o<200?r*e/100/(o<=100?o:200-o)*100:0,l:o/2,a:n.a};var n,r,e,o},xt=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Mt=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,St=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,kt=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,At={string:[[function(t){var n=gt.exec(t);return n?(t=n[1]).length<=4?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:4===t.length?ct(parseInt(t[3]+t[3],16)/255,2):1}:6===t.length||8===t.length?{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:8===t.length?ct(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var n=St.exec(t)||kt.exec(t);return n?n[2]!==n[4]||n[4]!==n[6]?null:dt({r:Number(n[1])/(n[2]?100/255:1),g:Number(n[3])/(n[4]?100/255:1),b:Number(n[5])/(n[6]?100/255:1),a:void 0===n[7]?1:Number(n[7])/(n[8]?100:1)}):null},"rgb"],[function(t){var n=xt.exec(t)||Mt.exec(t);if(!n)return null;var r,e,o=bt({h:(r=n[1],e=n[2],void 0===e&&(e="deg"),Number(r)*(ut[e]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return yt(o)},"hsl"]],object:[[function(t){var n=t.r,r=t.g,e=t.b,o=t.a,i=void 0===o?1:o;return st(n)&&st(r)&&st(e)?dt({r:Number(n),g:Number(r),b:Number(e),a:Number(i)}):null},"rgb"],[function(t){var n=t.h,r=t.s,e=t.l,o=t.a,i=void 0===o?1:o;if(!st(n)||!st(r)||!st(e))return null;var a=bt({h:Number(n),s:Number(r),l:Number(e),a:Number(i)});return yt(a)},"hsl"],[function(t){var n=t.h,r=t.s,e=t.v,o=t.a,i=void 0===o?1:o;if(!st(n)||!st(r)||!st(e))return null;var a=function(t){return{h:ft(t.h),s:lt(t.s,0,100),v:lt(t.v,0,100),a:lt(t.a)}}({h:Number(n),s:Number(r),v:Number(e),a:Number(i)});return vt(a)},"hsv"]]},Ot=function(t,n){for(var r=0;r<n.length;r++){var e=n[r][0](t);if(e)return[e,n[r][1]]}return[null,void 0]},Rt=function(t){return"string"==typeof t?Ot(t.trim(),At.string):"object"==typeof t&&null!==t?Ot(t,At.object):[null,void 0]},jt=function(t,n){var r=Ct(t);return{h:r.h,s:lt(r.s+100*n,0,100),l:r.l,a:r.a}},_t=function(t){return(299*t.r+587*t.g+114*t.b)/1e3/255},Et=function(t,n){var r=Ct(t);return{h:r.h,s:r.s,l:lt(r.l+100*n,0,100),a:r.a}},Pt=function(){function t(t){this.parsed=Rt(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return t.prototype.isValid=function(){return null!==this.parsed},t.prototype.brightness=function(){return ct(_t(this.rgba),2)},t.prototype.isDark=function(){return _t(this.rgba)<.5},t.prototype.isLight=function(){return _t(this.rgba)>=.5},t.prototype.toHex=function(){return n=(t=ht(this.rgba)).r,r=t.g,e=t.b,i=(o=t.a)<1?pt(ct(255*o)):"","#"+pt(n)+pt(r)+pt(e)+i;var t,n,r,e,o,i},t.prototype.toRgb=function(){return ht(this.rgba)},t.prototype.toRgbString=function(){return n=(t=ht(this.rgba)).r,r=t.g,e=t.b,(o=t.a)<1?"rgba("+n+", "+r+", "+e+", "+o+")":"rgb("+n+", "+r+", "+e+")";var t,n,r,e,o},t.prototype.toHsl=function(){return wt(Ct(this.rgba))},t.prototype.toHslString=function(){return n=(t=wt(Ct(this.rgba))).h,r=t.s,e=t.l,(o=t.a)<1?"hsla("+n+", "+r+"%, "+e+"%, "+o+")":"hsl("+n+", "+r+"%, "+e+"%)";var t,n,r,e,o},t.prototype.toHsv=function(){return t=mt(this.rgba),{h:ct(t.h),s:ct(t.s),v:ct(t.v),a:ct(t.a,3)};var t},t.prototype.invert=function(){return Gt({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},t.prototype.saturate=function(t){return void 0===t&&(t=.1),Gt(jt(this.rgba,t))},t.prototype.desaturate=function(t){return void 0===t&&(t=.1),Gt(jt(this.rgba,-t))},t.prototype.grayscale=function(){return Gt(jt(this.rgba,-1))},t.prototype.lighten=function(t){return void 0===t&&(t=.1),Gt(Et(this.rgba,t))},t.prototype.darken=function(t){return void 0===t&&(t=.1),Gt(Et(this.rgba,-t))},t.prototype.rotate=function(t){return void 0===t&&(t=15),this.hue(this.hue()+t)},t.prototype.alpha=function(t){return"number"==typeof t?Gt({r:(n=this.rgba).r,g:n.g,b:n.b,a:t}):ct(this.rgba.a,3);var n},t.prototype.hue=function(t){var n=Ct(this.rgba);return"number"==typeof t?Gt({h:t,s:n.s,l:n.l,a:n.a}):ct(n.h)},t.prototype.isEqual=function(t){return this.toHex()===Gt(t).toHex()},t}(),Gt=function(t){return t instanceof Pt?t:new Pt(t)},Tt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n={r:[],g:[],b:[],a:[]};return t.forEach((function(t){var r=Gt(t).toRgb();n.r.push(r.r/255),n.g.push(r.g/255),n.b.push(r.b/255),n.a.push(r.a)})),n},Lt=function(t,n){var r=Tt(t);return'<svg\n xmlnsXlink="http://www.w3.org/1999/xlink"\n viewBox="0 0 0 0"\n width="0"\n height="0"\n focusable="false"\n role="none"\n >\n <defs>\n <filter id="'.concat(n,'" color-interpolation-filters="sRGB">\n <feColorMatrix type="matrix" values="\n .33 .33 .33 0 0\n .33 .33 .33 0 0\n .33 .33 .33 0 0\n .33 .33 .33 1 0" \n />\n <feComponentTransfer>\n <feFuncR type="table" tableValues="').concat(r.r.join(" "),'" />\n <feFuncG type="table" tableValues="').concat(r.g.join(" "),'" />\n <feFuncB type="table" tableValues="').concat(r.b.join(" "),'" />\n <feFuncA type="table" tableValues="').concat(r.a.join(" "),'" />\n </feComponentTransfer>\n <feComposite\n in2="SourceGraphic"\n operator="in"\n />\n </filter>\n </defs>\n </svg>')},It={x:[0,.5,1],y:[0,.5,1]},zt=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:It,r=parseFloat(t.x),e=parseFloat(t.y),o=.05;return n.x.forEach((function(t){t-o<r&&r<t+o&&(r=t)})),n.y.forEach((function(t){t-o<e&&e<t+o&&(e=t)})),{x:r,y:e}},Bt=function(t){var n=[];return It.x.includes(parseFloat(t.x))&&n.push("is-snapped-x"),It.y.includes(parseFloat(t.y))&&n.push("is-snapped-y"),n.join(" ")},Ft=function(){var t=!1;if("maxTouchPoints"in navigator)t=navigator.maxTouchPoints>0;else if("msMaxTouchPoints"in navigator)t=navigator.msMaxTouchPoints>0;else{var n=window.matchMedia&&matchMedia("(pointer:coarse)");if(n&&"(pointer:coarse)"===n.media)t=!!n.matches;else if("orientation"in window)t=!0;else{var r=navigator.userAgent;t=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(r)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(r)}}return t},Nt=function(){var t=!1;return function(n){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(n)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(n.substr(0,4)))&&(t=!0)}(navigator.userAgent||navigator.vendor||window.opera),t},Dt=function(t){var n,r,e,o,i,a;return{type:null==t?void 0:t.type,width:(null==t||null===(n=t.sizes)||void 0===n||null===(r=n.novablocks_large)||void 0===r?void 0:r.width)||(null==t?void 0:t.width),height:(null==t||null===(e=t.sizes)||void 0===e||null===(o=e.novablocks_large)||void 0===o?void 0:o.height)||t.height,url:(null==t||null===(i=t.sizes)||void 0===i||null===(a=i.novablocks_large)||void 0===a?void 0:a.url)||(null==t?void 0:t.url),alt:(null==t?void 0:t.alt)||""}},Ht=r(21),qt=new function t(){var n=this;Object(Ht.a)(this,t),this.breakpoints={mobile:"480px",tablet:"768px",lap:"1024px",desktop:"1440px"},this.above={},this.below={},Object.keys(this.breakpoints).forEach((function(t){var r=n.breakpoints[t],e=window.matchMedia("(min-width: ".concat(r,")")),o=function(r){n.above[t]=r.matches,n.below[t]=!r.matches};o(e),e.addEventListener("change",o)}))},Vt=function(t){return qt.below[t]},Wt=function(t){return qt.above[t]},Xt=function(t){return{"--nb-overlay-filter-strength":t.overlayFilterStrength/100}},$t=function(t,n){var r=Math.max(0,Math.random()-Number.MIN_VALUE);return Math.floor(r*(n-t+1)+t)},Ut=function(t,n){var r=new Array(n),e=t.length,o=new Array(e);if(!e)return[];for(;n--;){var i=Math.floor(Math.random()*e);r[n]=t[i in o?o[i]:i],o[i]=--e in o?o[e]:e}return r},Kt=function(t){return Ut(t,1)[0]},Yt=function(){return Ut([!0,!1],1)[0]},Jt=r(34),Zt=function(t,n,r){var e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2e3,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Jt.linear,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:function(){},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:function(){},u=0,s=Math.max(.1,Math.min(Math.abs(n-r)/e,.8));function c(){var e=(u+=1/60)/s,i=o(e);e<1?(t.scrollTo(0,n+(r-n)*i),window.requestAnimationFrame(c)):(t.scrollTo(0,r),"function"==typeof a&&a())}"function"==typeof i&&i(),c()},Qt=function(t){var n=t.blockTopSpacing,r=t.blockBottomSpacing,e=t.emphasisTopSpacing,o=t.emphasisBottomSpacing,i=t.verticalAlignment,a=t.contentAreaWidth,u=t.contentPadding,s=t.mediaContainerHeight,c=t.imagePadding,l=t.imageResizing,f=t.layoutGutter,d=t.minHeightFallback,h=t.thumbnailAspectRatio,g=t.spacingModifier,p=t.spacingMultiplierOverride;return{"--nb-emphasis-top-spacing":("top"===i?Math.abs(e):e)+"","--nb-emphasis-bottom-spacing":("bottom"===i?Math.abs(o):o)+"","--nb-block-top-spacing":n+"","--nb-block-bottom-spacing":r+"","--nb-block-zindex":Math.max(0,-1*(n+r)),"--nb-card-content-area-width":"".concat(a,"%"),"--nb-card-media-container-height":s,"--nb-card-content-padding-multiplier":u/100,"--nb-card-media-padding-top":un(h),"--nb-card-media-object-fit":"cropped"===l?"cover":"scale-down","--nb-card-media-padding-multiplier":c/100,"--nb-card-layout-gap-modifier":f/100,"--nb-minimum-container-height":d+"vh","--nb-spacing-modifier":g+"","--nb-spacing-multiplier-override":p+""}},tn=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),nn=function(t,n){var r=[];return function t(e){var o=e.parentNode;o instanceof HTMLElement&&(o.matches(n)&&r.push(o),t(o))}(t),r},rn=function(t){for(var n,r,e=t.length;0!==e;)r=Math.floor(Math.random()*e),n=t[e-=1],t[e]=t[r],t[r]=n;return t},en=function(t,n){var r=on(t,n);return an(r)},on=function(t,n){var r=!1,e=n(t);return Object.keys(e).some((function(n){return e[n]!==t[n]}))&&(r=!0),r},an=function(t){var n=["novablocks-controls-wrap"];return t&&n.push("novablocks-controls-wrap--dirty"),n.join(" ")},un=function(t){var n=t/50-1;n<0&&(n*=2);var r=1,e=1;return(n=Math.min(Math.max(-3,n),1))>0&&(r=1+n),n<0&&(e=1+Math.abs(n)),"".concat(100*r/e,"%")},sn=function(t){for(var n=t.toLowerCase().split(" "),r=0;r<n.length;r++)n[r]=n[r].charAt(0).toUpperCase()+n[r].substring(1);return n.join(" ")},cn=function(t){var n=t.getBoundingClientRect(),r=window.innerHeight||document.documentElement.clientHeight,e=window.innerWidth||document.documentElement.clientWidth,o=n.top<=r&&n.top+n.height>=0,i=n.left<=e&&n.left+n.width>=0;return o&&i},ln=function(t){return"string"!=typeof t?"":t.charAt(0).toUpperCase()+t.slice(1)},fn=function(t){var n=t.contentPosition;if("string"!=typeof n)return"";var r=n.split(" "),e=r[0],o=r[1];return"novablocks-u-valign-".concat(e," novablocks-u-halign-").concat(o)},dn=function(t){var n=t.level;return{level:n,collectionTitleLevel:n,cardTitleLevel:n+1}},hn=function(t){var n=t.thumbnailAspectRatio,r=t.thumbnailAspectRatioString;return"auto"===r?{}:(n<50&&(r="landscape"),{thumbnailAspectRatio:n,thumbnailAspectRatioString:r})},gn=function(t){var n=t/50-1,r=1,e=1;return(n=Math.min(Math.max(-1,n),1))>0&&(r=1+n),n<0&&(e=1+Math.abs(n)),100*r/e},pn=function(t){if("string"!=typeof t)return["center","center"];var n=t.split(/\b\s+/);return[n[0],n[1]||"center"]},mn=function(t){"loading"!=document.readyState?t():document.addEventListener("DOMContentLoaded",t)},vn=function(t,n){var r,o=n.split(/\s+/).filter((function(t){return t.trim().length}));o.length&&(r=t.classList).add.apply(r,Object(e.a)(o))},bn=function(t,n){var r,o=n.split(/\s+/).filter((function(t){return t.trim().length}));o.length&&(r=t.classList).remove.apply(r,Object(e.a)(o))},wn=function(t,n){return t.classList.contains(n)},yn=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},Cn=function(t,n,r){void 0===r?wn(t,n)?bn(t,n):vn(t,n):r?vn(t,n):bn(t,n)},xn=function(t){for(var n=t.firstChild;null!=n&&3===n.nodeType;)n=n.nextSibling;return n};function Mn(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=function(){Object.keys(n).forEach((function(r){t.style[r]=n[r]}))},e=function(){Object.keys(n).forEach((function(n){t.style[n]=""}))};r(),window.requestIdleCallback?window.requestIdleCallback(e):setTimeout(e,0)}var Sn=function(t,n,r){return Math.min(Math.max(n,t),r)},kn=function(t){return"_"===(t.id+"").charAt(0)},An=document.body.classList.contains("block-editor-page"),On=document.body.classList.contains("wp-customizer"),Rn=function(t){return jn(t)?null!=t&&t.preview?t:Object.assign({},t,{layoutStyle:"classic",columns:1,cardLayout:"horizontal",cardMediaOpacity:100}):Object.assign({},t,{preview:!1})},jn=function(t){return["parametric","carousel"].includes(t.layoutStyle)&&"auto"!==t.contentType},_n=function(t){var n=window.pageYOffset,r=-1,e=!1;window.addEventListener("scroll",(function(){n=window.pageYOffset,e=!1})),window.addEventListener("resize",(function(){e=!1}));requestAnimationFrame((function o(){e||(t(n,r),r=n,e=!0),requestAnimationFrame(o)}))},En=function(t,n){return(t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.oMatchesSelector).call(t,n)},Pn=function(t){var n=t.parentElement,r=t.offsetWidth,e=.9*n.offsetWidth/r,o=t.offsetHeight,i=.9*n.offsetHeight/o,a=Math.min(e,i),u=window.getComputedStyle(t,null).getPropertyValue("font-size"),s=parseFloat(u)*a;t.style.fontSize="".concat(s,"px")},Gn=function(t){var n={};return Object.keys(t.dataset).forEach((function(r){try{n[r]=JSON.parse(t.dataset[r])}catch(e){n[r]=t.dataset[r]}})),n},Tn=function(t,n){for(var r in n)0===r.indexOf("--")?t.style.setProperty(r,n[r]):t.style[r]=n[r]},Ln=function(t){t&&t.parentNode&&t.parentNode.removeChild(t)}}}); -
nova-blocks/trunk/languages/nova-blocks.pot
r2738702 r2744078 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Nova Blocks 2.1. 1\n"5 "Project-Id-Version: Nova Blocks 2.1.2\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/nova-blocks\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2022-06- 07T14:14:21+00:00\n"12 "POT-Creation-Date: 2022-06-17T11:19:03+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.5.0\n" … … 532 532 #. translators: %s: The post reading time in minutes. 533 533 #: build/block-library/blocks/post-meta/init.php:95 534 #: lib/block-rendering.php:1 765534 #: lib/block-rendering.php:1829 535 535 #: packages/block-library/src/blocks/post-meta/init.php:95 536 536 msgid "%s min read" … … 692 692 msgstr "" 693 693 694 #: lib/block-rendering.php:1 397695 #: lib/block-rendering.php:1 654694 #: lib/block-rendering.php:1461 695 #: lib/block-rendering.php:1718 696 696 msgid "Read More" 697 697 msgstr "" 698 698 699 #: lib/block-rendering.php:17 09699 #: lib/block-rendering.php:1773 700 700 msgid "No Comments" 701 701 msgstr "" 702 702 703 703 #. translators: %s: The number of comments. 704 #: lib/block-rendering.php:17 15704 #: lib/block-rendering.php:1779 705 705 msgctxt "comments title" 706 706 msgid "%s Comment" … … 1994 1994 #: build/shape-modeling/index.js:6 1995 1995 msgid "Modules" 1996 msgstr "" 1997 1998 #: build/scrolling-effect/index.js:1 1999 msgid "Preview Scrolling" 1996 2000 msgstr "" 1997 2001 -
nova-blocks/trunk/lib/block-rendering.php
r2737140 r2744078 786 786 } 787 787 788 // If we have a "stacked" card layout and the parallax scrolling effect, 789 // the images will be zoomed in to some degree; 790 // to maintain sharpness, we will reduce the width descriptor of each image in the srcset list 791 // by a small percent. 792 if ( ( ! empty( $attributes['cardLayout'] ) && 'stacked' === $attributes['cardLayout'] ) 793 && ( ! empty( $attributes['scrollingEffect'] ) && 'parallax' === $attributes['scrollingEffect'] ) ) { 794 795 add_filter( 'wp_calculate_image_srcset', 'novablocks_reduce_srcset_width_descriptor', 10, 1 ); 796 797 // Make sure the sizes attribute reflects the reduction. 798 if ( ! empty( $attachment_image_width ) ) { 799 $attachment_image_width = (int) round( $attachment_image_width * 0.9 ); 800 } 801 } 802 788 803 // If we have determined some sizes, "wrap" them in some safety nets. 789 804 // Otherwise, we will use some default ones. … … 806 821 'sizes' => ! empty( $sizes ) ? implode( ', ', $sizes ) : false, 807 822 ] ) . PHP_EOL; 823 824 // Remove the filter. 825 if ( ( ! empty( $attributes['cardLayout'] ) && 'stacked' === $attributes['cardLayout'] ) 826 && ( ! empty( $attributes['scrollingEffect'] ) && 'parallax' === $attributes['scrollingEffect'] ) ) { 827 828 remove_filter( 'wp_calculate_image_srcset', 'novablocks_reduce_srcset_width_descriptor', 10 ); 829 } 808 830 } else { 809 831 $output .= '<img class="nb-supernova-item__media novablocks-doppler__target" data-shape-modeling-target src="' . esc_url( $url ) . '" alt="' . ( ! empty( $media['alt'] ) ? esc_attr( $media['alt'] ) : '' ) . '" />' . PHP_EOL; … … 813 835 814 836 return $output; 837 } 838 839 /** 840 * We will reduce the width descriptor of each image in the srcset list by a small percent. 841 * 842 * @param array $sources { 843 * One or more arrays of source data to include in the 'srcset'. 844 * 845 * @type array $width { 846 * @type string $url The URL of an image source. 847 * @type string $descriptor The descriptor type used in the image candidate string, 848 * either 'w' or 'x'. 849 * @type int $value The source width if paired with a 'w' descriptor, or a 850 * pixel density value if paired with an 'x' descriptor. 851 * } 852 * } 853 * 854 * @return array 855 */ 856 function novablocks_reduce_srcset_width_descriptor( $sources ) { 857 // We will multiply each width descriptor value with the factor. 858 $reduction_factor = 0.9; 859 860 foreach ( $sources as $width => $source ) { 861 if ( empty( $source['descriptor'] ) || 'w' !== $source['descriptor'] || empty( $source['value'] ) ) { 862 continue; 863 } 864 865 $sources[ $width ]['value'] = (int) round( $source['value'] * $reduction_factor ); 866 } 867 868 return $sources; 815 869 } 816 870 … … 1287 1341 } 1288 1342 1343 // Output the Additional CSS class(es) of the block 1344 if ( ! empty( $attributes['className'] ) ) { 1345 $cardClasses[] = $attributes['className']; 1346 } 1347 1289 1348 $cardClasses = array_merge( 1290 1349 $cardClasses, … … 1326 1385 } 1327 1386 1387 // Output the HTML anchor (ID) of the block 1388 if ( ! empty( $attributes['anchor'] ) ) { 1389 $id = 'id="'. $attributes['anchor'] .'" '; 1390 } 1391 1328 1392 ob_start(); ?> 1329 1393 1330 <div class="nb-collection__layout-item" >1394 <div class="nb-collection__layout-item" <?php echo $id; ?>> 1331 1395 <div class="<?php echo esc_attr( join( ' ', $cardClasses ) ); ?>" <?php echo join( ' ', $data_attributes ); ?>> 1332 1396 <?php if ( ! empty( $attributes['showMedia'] ) && ! empty( $media ) ) { -
nova-blocks/trunk/nova-blocks.php
r2738702 r2744078 4 4 * Plugin URI: https://github.com/pixelgrade/nova-blocks/ 5 5 * Description: Nova Blocks is a collection of <strong>distinctive Gutenberg blocks</strong>, committed to making your site shine like a newborn star. It is taking a design-driven approach to help you made the right decisions and showcase your content in the best shape. 6 * Version: 2.1. 16 * Version: 2.1.2 7 7 * Author: Pixelgrade 8 8 * Author URI: https://www.pixelgrade.com … … 30 30 } 31 31 32 define( 'Pixelgrade\NovaBlocks\VERSION', '2.1. 1' );32 define( 'Pixelgrade\NovaBlocks\VERSION', '2.1.2' ); 33 33 34 34 /** -
nova-blocks/trunk/packages/block-library/src/blocks/supernova-item/attributes.json
r2719178 r2744078 55 55 "type": "string", 56 56 "default": "fields" 57 }, 58 "anchor": { 59 "type": "string", 60 "default": "" 57 61 } 58 62 } -
nova-blocks/trunk/packages/block-library/src/blocks/supernova-item/block.json
r2710156 r2744078 28 28 "supports": { 29 29 "html": false, 30 "anchor": true, 30 31 "inserter": false, 31 32 "reusable": false, -
nova-blocks/trunk/packages/block-library/src/blocks/supernova/attributes.json
r2719178 r2744078 1 1 { 2 "anchor": { 3 "type": "string", 4 "default": "" 5 }, 2 6 "variation": { 3 7 "type": "string", -
nova-blocks/trunk/packages/block-library/src/blocks/supernova/block.json
r2710156 r2744078 19 19 "supports": { 20 20 "html": false, 21 "anchor": true, 21 22 "novaBlocks": { 22 23 "colorSignal": { -
nova-blocks/trunk/packages/block-library/src/blocks/supernova/init.php
r2727352 r2744078 77 77 'nb-supernova--halign-' . $align[1], 78 78 'nb-supernova--align-' . $attributes['align'], 79 'alignfull' 79 'alignfull', 80 80 ], 81 81 novablocks_get_color_signal_classes( $attributes ), 82 82 novablocks_get_grid_area_fallback_classnames( $attributes ) 83 83 ); 84 85 // Output the Additional CSS class(es) of the block 86 if ( ! empty( $attributes['className'] ) ) { 87 $classes[] = $attributes['className']; 88 } 84 89 85 90 // This refers to the carousel pagination, not the Query Loop pagination. … … 100 105 ); 101 106 107 // Output the HTML anchor (ID) of the block 108 if ( ! empty( $attributes['anchor'] ) ) { 109 $id = 'id="'. $attributes['anchor'] .'" '; 110 } 111 102 112 return '<div class="' . esc_attr( join( ' ', $classes ) ) . '" style="' . join( ';', $cssProps ) . '" 103 ' . join( ' ', $data_attributes ) . '>113 ' . $id . join( ' ', $data_attributes ) . '> 104 114 ' . novablocks_get_collection_output( $attributes, $content, $block ) . ' 105 115 </div>'; -
nova-blocks/trunk/readme.txt
r2738702 r2744078 4 4 Requires at least: 5.9 5 5 Tested up to: 6.0.0 6 Stable tag: 2.1. 16 Stable tag: 2.1.2 7 7 Requires PHP: 7.1 8 8 License: GPLv2 or later … … 94 94 95 95 == Changelog == 96 97 = 2.1.2 = 98 * Add the ability to preview the scrolling effect set for supernova blocks inside the editor 99 * Add the block appender to the novablocks/supernova-item block for easier inner blocks insertion 100 * Add support for custom id and classnames for supernova and supernova-item blocks 101 * Fix header foreground color when overlapping colorful blocks 102 * Fix header block animation on scroll in Safari 96 103 97 104 = 2.1.1 =
Note: See TracChangeset
for help on using the changeset viewer.