2019-10-25 20:17:07 -04:00
/*! This file is auto-generated */
2021-06-15 04:52:30 -04:00
this . wp = this . wp || { } , this . wp . blockLibrary = 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 } return 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 = "K51g" ) } ( { "1K8p" : function ( e , t , o ) { "use strict" ; var n = o ( "jrfk" ) , r = o ( "ez49" ) ; function a ( e ) { var t = 0 , o = 0 , n = 0 , r = 0 ; return "detail" in e && ( o = e . detail ) , "wheelDelta" in e && ( o = - e . wheelDelta / 120 ) , "wheelDeltaY" in e && ( o = - e . wheelDeltaY / 120 ) , "wheelDeltaX" in e && ( t = - e . wheelDeltaX / 120 ) , "axis" in e && e . axis === e . HORIZONTAL _AXIS && ( t = o , o = 0 ) , n = 10 * t , r = 10 * o , "deltaY" in e && ( r = e . deltaY ) , "deltaX" in e && ( n = e . deltaX ) , ( n || r ) && e . deltaMode && ( 1 == e . deltaMode ? ( n *= 40 , r *= 40 ) : ( n *= 800 , r *= 800 ) ) , n && ! t && ( t = n < 1 ? - 1 : 1 ) , r && ! o && ( o = r < 1 ? - 1 : 1 ) , { spinX : t , spinY : o , pixelX : n , pixelY : r } } a . getEventType = function ( ) { return n . firefox ( ) ? "DOMMouseScroll" : r ( "wheel" ) ? "wheel" : "mousewheel" } , e . exports = a } , "1Yn1" : function ( e , t , o ) { "use strict" ; var n = o ( "GRId" ) , r = o ( "Tqx9" ) ; const a = Object ( n . createElement ) ( r . SVG , { viewBox : "0 0 24 24" , xmlns : "http://www.w3.org/2000/svg" } , Object ( n . createElement ) ( r . Path , { d : "M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z" } ) ) ; t . a = a } , "1ZqX" : function ( e , t ) { e . exports = window . wp . data } , "1iEr" : function ( e , t , o ) { "use strict" ; var n = o ( "GRId" ) , r = o ( "Tqx9" ) ; const a = Object ( n . createElement ) ( r . SVG , { xmlns : "http://www.w3.org/2000/svg" , viewBox : "0 0 24 24" } , Object ( n . createElement ) ( r . Path , { d : "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z" } ) ) ; t . a = a } , "2gm7" : function ( e , t , o ) { "use strict" ; var n = o ( "GRId" ) , r = o ( "Tqx9" ) ; const a = Object ( n . createElement ) ( r . SVG , { xmlns : "http://www.w3.org/2000/svg" , viewBox : "0 0 24 24" } , Object ( n . createElement ) ( r . Path , { d : "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z" } ) ) ; t . a = a } , "4eJC" : function ( e , t , o ) { e . exports = function ( e , t ) { var o , n , r = 0 ; function a ( ) { var a , c , l = o , i = arguments . length ; e : for ( ; l ; ) { if ( l . args . length === arguments . length ) { for ( c = 0 ; c < i ; c ++ ) if ( l . args [ c ] !== arguments [ c ] ) { l = l . next ; continue e } return l !== o && ( l === n && ( n = l . prev ) , l . prev . next = l . next , l . next && ( l . next . prev = l . prev ) , l . next = o , l . prev = null , o . prev = l , o = l ) , l . val } l = l . next } for ( a = new Array ( i ) , c = 0 ; c < i ; c ++ ) a [ c ] = arguments [ c ] ; return l = { args : a , val : e . apply ( null , a ) } , o ? ( o . prev = l , l . next = o ) : n = l , r === t . maxSize ? ( n = n . prev ) . next = null : r ++ , o = l , l . val } return t = t || { } , a . clear = function ( ) { o = null , n = null , r = 0 } , a } } , "A/WM" : function ( e , t , o ) { var n ;
2021-05-26 20:17:06 -04:00
/ * !
Copyright ( c ) 2018 Jed Watson .
Licensed under the MIT License ( MIT ) , see
http : //jedwatson.github.io/classnames
2021-06-15 04:52:30 -04:00
* /!function(){"use strict";var o=function(){function e(){}function t(e,t){for(var o=t.length,n=0;n<o;++n)r(e,t[n])}e.prototype=Object.create(null);var o={}.hasOwnProperty;var n=/ \ s + /;function r(e,r){if(r){var a=typeof r;"string"===a?function(e,t){for(var o=t.split(n),r=o.length,a=0;a<r;++a)e[o[a]]=!0}(e,r):Array.isArray(r)?t(e,r):"object"===a?function(e,t){if(t.toString===Object.prototype.toString)for(var n in t)o.call(t,n)&&(e[n]=!!t[n]);else e[t.toString()]=!0}(e,r):"number"===a&&function(e,t){e[t]=!0}(e,r)}}return function(){for(var o=arguments.length,n=Array(o),r=0;r<o;r++)n[r]=arguments[r];var a=new e;t(a,n);var c=[];for(var l in a)a[l]&&c.push(l);return c.join(" ")}}();e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},B9Az:function(e,t,o){"use strict";var n=o("GRId"),r=o("Tqx9");var a=Object(n.createElement)(r.SVG,{xmlns:"http:/ / www . w3 . org / 2000 / svg ",viewBox:" 0 0 24 24 "},Object(n.createElement)(r.Path,{d:" M20 . 1 5.1 L16 . 9 2 6.2 12.7 l - 1.3 4.4 4.5 - 1.3 L20 . 1 5.1 zM4 20.8 h8v - 1.5 H4v1 . 5 z "}));t.a=a},Bpkj:function(e,t,o){" use strict ";var n=o(" GRId "),r=o(" Tqx9 ");const a=Object(n.createElement)(r.SVG,{xmlns:" http : //www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(r.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));t.a=a},FEKF:function(e,t,o){
2021-05-26 20:17:06 -04:00
/*! Fast Average Color | © 2019 Denis Seleznev | MIT License | https://github.com/hcodes/fast-average-color/ */
2021-06-22 06:00:50 -04:00
e . exports = function ( ) { "use strict" ; function e ( e , t ) { for ( var o = 0 ; o < t . length ; o ++ ) { var n = t [ o ] ; n . enumerable = n . enumerable || ! 1 , n . configurable = ! 0 , "value" in n && ( n . writable = ! 0 ) , Object . defineProperty ( e , n . key , n ) } } function t ( e , t ) { return function ( e ) { if ( Array . isArray ( e ) ) return e } ( e ) || function ( e , t ) { var o = [ ] , n = ! 0 , r = ! 1 , a = void 0 ; try { for ( var c , l = e [ Symbol . iterator ] ( ) ; ! ( n = ( c = l . next ( ) ) . done ) && ( o . push ( c . value ) , ! t || o . length !== t ) ; n = ! 0 ) ; } catch ( e ) { r = ! 0 , a = e } finally { try { n || null == l . return || l . return ( ) } finally { if ( r ) throw a } } return o } ( e , t ) || function ( ) { throw new TypeError ( "Invalid attempt to destructure non-iterable instance" ) } ( ) } return function ( ) { function o ( ) { ! function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , o ) } var n , r , a ; return n = o , ( r = [ { key : "getColorAsync" , value : function ( e , t , o ) { e . complete ? t . call ( e , this . getColor ( e , o ) , o && o . data ) : this . _bindImageEvents ( e , t , o ) } } , { key : "getColor" , value : function ( e , t ) { t = t || { } ; var o = this . _getDefaultColor ( t ) , n = this . _getOriginalSize ( e ) , r = this . _prepareSizeAndPosition ( n , t ) , a = null , c = o ; if ( ! ( r . srcWidth && r . srcHeight && r . destWidth && r . destHeight ) ) return this . _prepareResult ( o , new Error ( "FastAverageColor: Incorrect sizes." ) ) ; if ( ! this . _ctx && ( this . _canvas = this . _makeCanvas ( ) , this . _ctx = this . _canvas . getContext && this . _canvas . getContext ( "2d" ) , ! this . _ctx ) ) return this . _prepareResult ( o , new Error ( "FastAverageColor: Canvas Context 2D is not supported in this browser." ) ) ; this . _canvas . width = r . destWidth , this . _canvas . height = r . destHeight ; try { this . _ctx . clearRect ( 0 , 0 , r . destWidth , r . destHeight ) , this . _ctx . drawImage ( e , r . srcLeft , r . srcTop , r . srcWidth , r . srcHeight , 0 , 0 , r . destWidth , r . destHeight ) ; var l = this . _ctx . getImageData ( 0 , 0 , r . destWidth , r . destHeight ) . data ; c = this . getColorFromArray4 ( l , t ) } catch ( e ) { a = e } return this . _prepareResult ( c , a ) } } , { key : "getColorFromArray4" , value : function ( e , t ) { t = t || { } ; var o = e . length ; if ( o < 4 ) return this . _getDefaultColor ( t ) ; var n = o - o % 4 , r = 4 * ( t . step || 1 ) , a = "_" + ( t . algorithm || "sqrt" ) + "Algorithm" ; if ( "function" != typeof this [ a ] ) throw new Error ( "FastAverageColor: " . concat ( t . algorithm , " is unknown algorithm." ) ) ; return this [ a ] ( e , n , r ) } } , { key : "destroy" , value : function ( ) { delete this . _canvas , delete this . _ctx } } , { key : "_getDefaultColor" , value : function ( e ) { return this . _getOption ( e , "defaultColor" , [ 255 , 255 , 255 , 255 ] ) } } , { key : "_getOption" , value : function ( e , t , o ) { return void 0 === e [ t ] ? o : e [ t ] } } , { key : "_prepareSizeAndPosition" , value : function ( e , t ) { var o , n = this . _getOption ( t , "left" , 0 ) , r = this . _getOption ( t , "top" , 0 ) , a = this . _getOption ( t , "width" , e . width ) , c = this . _getOption ( t , "height" , e . height ) , l = a , i = c ; return "precision" === t . mode || ( a > c ? ( o = a / c , l = 100 , i = Math . round ( l / o ) ) : ( o = c / a , i = 100 , l = Math . round ( i / o ) ) , ( l > a || i > c || l < 10 || i < 10 ) && ( l = a , i = c ) ) , { srcLeft : n , srcTop : r , srcWidth : a , srcHeight : c , destWidth : l , destHeight : i } } } , { key : "_simpleAlgorithm" , value : function ( e , t , o ) { for ( var n = 0 , r = 0 , a = 0 , c = 0 , l = 0 , i = 0 ; i < t ; i += o ) { var s = e [ i + 3 ] ; n += e [ i ] * s , r += e [ i + 1 ] * s , a += e [ i + 2 ] * s , c += s , l ++ } return c ? [ Math . round ( n / c ) , Math . round ( r / c ) , Math . round ( a / c ) , Math . round ( c / l ) ] : [ 0 , 0 , 0 , 0 ] } } , { key : "_sqrtAlgorithm" , value : function ( e , t , o ) { for ( var n = 0 , r = 0 , a = 0 , c = 0 , l = 0 , i = 0 ; i < t ; i += o ) { var s = e [ i ] , u = e [ i + 1 ] , m = e [ i + 2 ] , d = e [ i + 3 ] ; n += s * s * d , r += u * u * d , a += m * m * d , c += d , l ++ } return c ? [ Math . round ( Math . sqrt ( n / c ) ) , Math . round ( Math . sqrt ( r / c ) ) , Math . round ( Math . sqrt ( a / c ) ) , Math . round ( c / l ) ] : [ 0 , 0 , 0 , 0 ] } } , { key : "_dominantAlgorithm" , value : function ( e , o , n ) { for ( var r = { } , a = 0 ; a < o ; a += n ) { var c = e [ a ] , l = e [ a + 1 ] , i = e [ a + 2 ] , s = e [ a + 3 ] , u = Math . round ( c / 24 ) + "," + Math . round ( l / 24 ) + "," + Math . round ( i / 24 ) ; r [ u ] ? r [ u ] = [ r [ u ] [ 0 ] + c * s , r [ u ] [ 1 ] + l * s , r [ u ] [ 2 ] + i * s , r [ u ] [ 3 ] + s , r [ u ] [ 4 ] + 1 ] : r [ u ] = [ c * s , l * s , i * s , s , 1 ] } var m = t ( Object . keys ( r ) . map ( ( function ( e ) { return r [ e ] } ) ) . sort ( ( function ( e , t ) { var o = e [ 4 ] , n = t [ 4 ] ; return o > n ? - 1 : o === n ? 0 : 1 } ) ) [ 0 ] , 5 ) , d = m [ 0 ] , b = m [ 1 ] , p = m [ 2 ] , g = m [ 3 ] , h = m [ 4 ] ; return g ? [ Math . round ( d / g ) , Math . round ( b / g ) , Math . round ( p / g ) , Math . round ( g / h ) ] : [ 0 , 0 , 0 , 0 ] } } , { key : "_bindImageEvents" , value : function ( e , t , o ) { var n = this , r = ( o = o || { } ) && o . data , a = this . _getDefaultColor ( o ) , c = function ( ) { s ( ) , t . call ( e , n . getColor ( e , o ) , r ) } , l = function ( ) { s ( ) , t . call ( e , n . _prepareResult ( a , new Error ( "Image error" ) ) , r ) } , i = function ( ) { s ( ) , t . call ( e , n . _prepareResult ( a , new Error ( "Image abort" ) ) , r ) } , s = function ( ) { e . removeEventListener ( "load" , c ) , e . remo
2021-05-20 08:20:04 -04:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Copyright ( c ) Microsoft Corporation .
Permission to use , copy , modify , and / or distribute this software for any
purpose with or without fee is hereby granted .
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS . IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL , DIRECT ,
INDIRECT , OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE , DATA OR PROFITS , WHETHER IN AN ACTION OF CONTRACT , NEGLIGENCE OR
OTHER TORTIOUS ACTION , ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE .
2021-06-22 06:00:50 -04:00
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / v a r o t = f u n c t i o n ( e , t ) { r e t u r n ( o t = O b j e c t . s e t P r o t o t y p e O f | | { _ _ p r o t o _ _ : [ ] } i n s t a n c e o f A r r a y & & f u n c t i o n ( e , t ) { e . _ _ p r o t o _ _ = t } | | f u n c t i o n ( e , t ) { f o r ( v a r o i n t ) O b j e c t . p r o t o t y p e . h a s O w n P r o p e r t y . c a l l ( t , o ) & & ( e [ o ] = t [ o ] ) } ) ( e , t ) } ; v a r n t = f u n c t i o n ( ) { r e t u r n ( n t = O b j e c t . a s s i g n | | f u n c t i o n ( e ) { f o r ( v a r t , o = 1 , n = a r g u m e n t s . l e n g t h ; o < n ; o + + ) f o r ( v a r r i n t = a r g u m e n t s [ o ] ) O b j e c t . p r o t o t y p e . h a s O w n P r o p e r t y . c a l l ( t , r ) & & ( e [ r ] = t [ r ] ) ; r e t u r n e } ) . a p p l y ( t h i s , a r g u m e n t s ) } ; O b j e c t . c r e a t e ; O b j e c t . c r e a t e ; v a r r t = o ( " c D c d " ) , a t = o . n ( r t ) , c t = o ( " w J i J " ) , l t = o . n ( c t ) ; f u n c t i o n i t ( e , t , o , n , r , a ) { v o i d 0 = = = a & & ( a = 0 ) ; v a r c = j t ( e , t , a ) , l = c . w i d t h , i = c . h e i g h t , s = M a t h . m i n ( l , o ) , u = M a t h . m i n ( i , n ) ; r e t u r n s > u * r ? { w i d t h : u * r , h e i g h t : u } : { w i d t h : s , h e i g h t : s / r } } f u n c t i o n s t ( e , t , o , n , r ) { v o i d 0 = = = r & & ( r = 0 ) ; v a r a = j t ( t . w i d t h , t . h e i g h t , r ) , c = a . w i d t h , l = a . h e i g h t ; r e t u r n { x : u t ( e . x , c , o . w i d t h , n ) , y : u t ( e . y , l , o . h e i g h t , n ) } } f u n c t i o n u t ( e , t , o , n ) { v a r r = t * n / 2 - o / 2 ; r e t u r n M a t h . m i n ( r , M a t h . m a x ( e , - r ) ) } f u n c t i o n m t ( e , t ) { r e t u r n M a t h . s q r t ( M a t h . p o w ( e . y - t . y , 2 ) + M a t h . p o w ( e . x - t . x , 2 ) ) } f u n c t i o n d t ( e , t ) { r e t u r n 1 8 0 * M a t h . a t a n 2 ( t . y - e . y , t . x - e . x ) / M a t h . P I } f u n c t i o n b t ( e , t , o , n , r , a , c ) { v o i d 0 = = = a & & ( a = 0 ) , v o i d 0 = = = c & & ( c = ! 0 ) ; v a r l = c & & 0 = = = a ? p t : g t , i = { x : l ( 1 0 0 , ( ( t . w i d t h - o . w i d t h / r ) / 2 - e . x / r ) / t . w i d t h * 1 0 0 ) , y : l ( 1 0 0 , ( ( t . h e i g h t - o . h e i g h t / r ) / 2 - e . y / r ) / t . h e i g h t * 1 0 0 ) , w i d t h : l ( 1 0 0 , o . w i d t h / t . w i d t h * 1 0 0 / r ) , h e i g h t : l ( 1 0 0 , o . h e i g h t / t . h e i g h t * 1 0 0 / r ) } , s = M a t h . r o u n d ( l ( t . n a t u r a l W i d t h , i . w i d t h * t . n a t u r a l W i d t h / 1 0 0 ) ) , u = M a t h . r o u n d ( l ( t . n a t u r a l H e i g h t , i . h e i g h t * t . n a t u r a l H e i g h t / 1 0 0 ) ) , m = t . n a t u r a l W i d t h > = t . n a t u r a l H e i g h t * n ? { w i d t h : M a t h . r o u n d ( u * n ) , h e i g h t : u } : { w i d t h : s , h e i g h t : M a t h . r o u n d ( s / n ) } ; r e t u r n { c r o p p e d A r e a P e r c e n t a g e s : i , c r o p p e d A r e a P i x e l s : n t ( n t ( { } , m ) , { x : M a t h . r o u n d ( l ( t . n a t u r a l W i d t h - m . w i d t h , i . x * t . n a t u r a l W i d t h / 1 0 0 ) ) , y : M a t h . r o u n d ( l ( t . n a t u r a l H e i g h t - m . h e i g h t , i . y * t . n a t u r a l H e i g h t / 1 0 0 ) ) } ) } } f u n c t i o n p t ( e , t ) { r e t u r n M a t h . m i n ( e , M a t h . m a x ( 0 , t ) ) } f u n c t i o n g t ( e , t ) { r e t u r n t } f u n c t i o n h t ( e , t , o ) { v a r n = t . w i d t h / t . n a t u r a l W i d t h , r = f u n c t i o n ( e , t , o ) { v a r n = t . w i d t h / t . n a t u r a l W i d t h ; i f ( o ) r e t u r n o . h e i g h t > o . w i d t h ? o . h e i g h t / n / e . h e i g h t : o . w i d t h / n / e . w i d t h ; v a r r = e . w i d t h / e . h e i g h t ; r e t u r n t . n a t u r a l W i d t h > = t . n a t u r a l H e i g h t * r ? t . n a t u r a l H e i g h t / e . h e i g h t : t . n a t u r a l W i d t h / e . w i d t h } ( e , t , o ) , a = n * r ; r e t u r n { c r o p : { x : ( ( t . n a t u r a l W i d t h - e . w i d t h ) / 2 - e . x ) * a , y : ( ( t . n a t u r a l H e i g h t - e . h e i g h t ) / 2 - e . y ) * a } , z o o m : r } } f u n c t i o n v t ( e , t ) { r e t u r n { x : ( t . x + e . x ) / 2 , y : ( t . y + e . y ) / 2 } } f u n c t i o n O t ( e , t , o , n , r ) { v a r a = M a t h . c o s , c = M a t h . s i n , l = r * M a t h . P I / 1 8 0 ; r e t u r n [ ( e - o ) * a ( l ) - ( t - n ) * c ( l ) + o , ( e - o ) * c ( l ) + ( t - n ) * a ( l ) + n ] } f u n c t i o n j t ( e , t , o ) { v a r n = e / 2 , r = t / 2 , a = [ O t ( 0 , 0 , n , r , o ) , O t ( e , 0 , n , r , o ) , O t ( e , t , n , r , o ) , O t ( 0 , t , n , r , o ) ] , c = M a t h . m i n . a p p l y ( M a t h , a . m a p ( ( f u n c t i o n ( e ) { r e t u r n e [ 0 ] } ) ) ) , l = M a t h . m a x . a p p l y ( M a t h , a . m a p ( ( f u n c t i o n ( e ) { r e t u r n e [ 0 ] } ) ) ) , i = M a t h . m i n . a p p l y ( M a t h , a . m a p ( ( f u n c t i o n ( e ) { r e t u r n e [ 1 ] } ) ) ) ; r e t u r n { w i d t h : l - c , h e i g h t : M a t h . m a x . a p p l y ( M a t h , a . m a p ( ( f u n c t i o n ( e ) { r e t u r n e [ 1 ] } ) ) ) - i } } f u n c t i o n f t ( ) { f o r ( v a r e = [ ] , t = 0 ; t < a r g u m e n t s . l e n g t h ; t + + ) e [ t ] = a r g u m e n t s [ t ] ; r e t u r n e . f i l t e r ( ( f u n c t i o n ( e ) { r e t u r n " s t r i n g " = = t y p e o f e & & e . l e n g t h > 0 } ) ) . j o i n ( " " ) . t r i m ( ) } v a r y t = f u n c t i o n ( e ) { f u n c t i o n t ( ) { v a r o = n u l l ! = = e & & e . a p p l y ( t h i s , a r g u m e n t s ) | | t h i s ; r e t u r n o . i m a g e R e f = n u l l , o . v i d e o R e f = n u l l , o . c o n t a i n e r R e f = n u l l , o . s t y l e R e f = n u l l , o . c o n t a i n e r R e c t = n u l l , o . m e d i a S i z e = { w i d t h : 0 , h e i g h t : 0 , n a t u r a l W i d t h : 0 , n a t u r a l H e i g h t : 0 } , o . d r a g S t a r t P o s i t i o n = { x : 0 , y : 0 } , o . d r a g S t a r t C r o p = { x : 0 , y : 0 } , o . l a s t P i n c h D i s t a n c e = 0 , o . l a s t P i n c h R o t a t i o n = 0 , o . r a f D r a g T i m e o u t = n u l l , o . r a f P i n c h T i m e o u t = n u l l , o . w h e e l T i m e r = n u l l , o . s t a t e = { c r o p S i z e : n u l l , h a s W h e e l J u s t S t a r t e d : ! 1 } , o . p r e v e n t Z o o m S a f a r i = f u n c t i o n ( e ) { r e t u r n e . p r e v e n t D e f a u l t ( ) } , o . c l e a n E v e n t s = f u n c t i o n ( ) { d o c u m e n t . r e m o v e E v e n t L i s t e n e r ( " m o u s e m o v e " , o . o n M o u s e M o v e ) , d o c u m e n t . r e m o v e E v e n t L i s t e n e r ( " m o u s e u p " , o . o n D r a g S t o p p e d ) , d o c u m e n t . r e m o v e E v e n t L i s t e n e r ( " t o u c h m o v e " , o . o n T o u c h M o v e ) , d o c u m e n t . r e m o v e E v e n t L i s t e n e r ( " t o u c h e n d " , o . o n D r a g S t o p p e d ) } , o . c l e a r S c r o l l E v e n t = f u n c t i o n ( ) { o . c o n t a i n e r R e f & & o . c o n t a i n e r R e f . r e m o v e E v e n t L i s t e n e r ( " w h e e l " , o . o n W h e e l ) , o . w h e e l T i m e r & & c l e a r T i m e o u t ( o . w h e e l T i m e r ) } , o . o n M e d i a L o a d = f u n c t i o n ( ) { o . c o m p u t e S i z e s ( ) , o . e m i t C r o p D a t a ( ) , o . s e t I n i t i a l C r o p ( ) , o . p r o p s . o n M e d i a L o a d e d & & o . p r o p s . o n M e d i a L o a d e d ( o . m e d i a S i z e ) } , o . s e t I n i t i a l C r o p = f u n c t i o n ( ) { v a r e = o . p r o p s , t = e . i n i t i a l C r o p p e d A r e a P i x e l s , n = e . c r o p S i z e ; i f ( t ) { v a r r = h t ( t , o . m e d i a S i z e , n ) , a = r . c r o p , c = r . z o
2018-12-13 23:11:47 -05:00
/ * !
2021-04-15 11:19:43 -04:00
Copyright ( c ) 2018 Jed Watson .
2018-12-13 23:11:47 -05:00
Licensed under the MIT License ( MIT ) , see
http : //jedwatson.github.io/classnames
2021-06-22 06:00:50 -04:00
* /!function(){"use strict";var o={}.hasOwnProperty;function r(){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)){if(n.length){var c=r.apply(null,n);c&&e.push(c)}}else if("object"===a)if(n.toString===Object.prototype.toString)for(var l in n)o.call(n,l)&&n[l]&&e.push(l);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},Tqx9:function(e,t){e.exports=window.wp.primitives},UuzZ:function(e,t){e.exports=window.wp.autop},YLtl:function(e,t){e.exports=window.lodash},Zss7:function(e,t,o){var n;!function(r){var a=/ ^ \ s + /,c=/ \ s + $ / , l = 0 , i = r . round , s = r . min , u = r . max , m = r . random ; function d ( e , t ) { if ( t = t || { } , ( e = e || "" ) instanceof d ) return e ; if ( ! ( this instanceof d ) ) return new d ( e , t ) ; var o = function ( e ) { var t = { r : 0 , g : 0 , b : 0 } , o = 1 , n = null , l = null , i = null , m = ! 1 , d = ! 1 ; "string" == typeof e && ( e = function ( e ) { e = e . replace ( a , "" ) . replace ( c , "" ) . toLowerCase ( ) ; var t , o = ! 1 ; if ( T [ e ] ) e = T [ e ] , o = ! 0 ; else if ( "transparent" == e ) return { r : 0 , g : 0 , b : 0 , a : 0 , format : "name" } ; if ( t = G . rgb . exec ( e ) ) return { r : t [ 1 ] , g : t [ 2 ] , b : t [ 3 ] } ; if ( t = G . rgba . exec ( e ) ) return { r : t [ 1 ] , g : t [ 2 ] , b : t [ 3 ] , a : t [ 4 ] } ; if ( t = G . hsl . exec ( e ) ) return { h : t [ 1 ] , s : t [ 2 ] , l : t [ 3 ] } ; if ( t = G . hsla . exec ( e ) ) return { h : t [ 1 ] , s : t [ 2 ] , l : t [ 3 ] , a : t [ 4 ] } ; if ( t = G . hsv . exec ( e ) ) return { h : t [ 1 ] , s : t [ 2 ] , v : t [ 3 ] } ; if ( t = G . hsva . exec ( e ) ) return { h : t [ 1 ] , s : t [ 2 ] , v : t [ 3 ] , a : t [ 4 ] } ; if ( t = G . hex8 . exec ( e ) ) return { r : R ( t [ 1 ] ) , g : R ( t [ 2 ] ) , b : R ( t [ 3 ] ) , a : L ( t [ 4 ] ) , format : o ? "name" : "hex8" } ; if ( t = G . hex6 . exec ( e ) ) return { r : R ( t [ 1 ] ) , g : R ( t [ 2 ] ) , b : R ( t [ 3 ] ) , format : o ? "name" : "hex" } ; if ( t = G . hex4 . exec ( e ) ) return { r : R ( t [ 1 ] + "" + t [ 1 ] ) , g : R ( t [ 2 ] + "" + t [ 2 ] ) , b : R ( t [ 3 ] + "" + t [ 3 ] ) , a : L ( t [ 4 ] + "" + t [ 4 ] ) , format : o ? "name" : "hex8" } ; if ( t = G . hex3 . exec ( e ) ) return { r : R ( t [ 1 ] + "" + t [ 1 ] ) , g : R ( t [ 2 ] + "" + t [ 2 ] ) , b : R ( t [ 3 ] + "" + t [ 3 ] ) , format : o ? "name" : "hex" } ; return ! 1 } ( e ) ) ; "object" == typeof e && ( q ( e . r ) && q ( e . g ) && q ( e . b ) ? ( b = e . r , p = e . g , g = e . b , t = { r : 255 * M ( b , 255 ) , g : 255 * M ( p , 255 ) , b : 255 * M ( g , 255 ) } , m = ! 0 , d = "%" === String ( e . r ) . substr ( - 1 ) ? "prgb" : "rgb" ) : q ( e . h ) && q ( e . s ) && q ( e . v ) ? ( n = H ( e . s ) , l = H ( e . v ) , t = function ( e , t , o ) { e = 6 * M ( e , 360 ) , t = M ( t , 100 ) , o = M ( o , 100 ) ; var n = r . floor ( e ) , a = e - n , c = o * ( 1 - t ) , l = o * ( 1 - a * t ) , i = o * ( 1 - ( 1 - a ) * t ) , s = n % 6 ; return { r : 255 * [ o , l , c , c , i , o ] [ s ] , g : 255 * [ i , o , o , l , c , c ] [ s ] , b : 255 * [ c , c , i , o , o , l ] [ s ] } } ( e . h , n , l ) , m = ! 0 , d = "hsv" ) : q ( e . h ) && q ( e . s ) && q ( e . l ) && ( n = H ( e . s ) , i = H ( e . l ) , t = function ( e , t , o ) { var n , r , a ; function c ( e , t , o ) { return o < 0 && ( o += 1 ) , o > 1 && ( o -= 1 ) , o < 1 / 6 ? e + 6 * ( t - e ) * o : o < . 5 ? t : o < 2 / 3 ? e + ( t - e ) * ( 2 / 3 - o ) * 6 : e } if ( e = M ( e , 360 ) , t = M ( t , 100 ) , o = M ( o , 100 ) , 0 === t ) n = r = a = o ; else { var l = o < . 5 ? o * ( 1 + t ) : o + t - o * t , i = 2 * o - l ; n = c ( i , l , e + 1 / 3 ) , r = c ( i , l , e ) , a = c ( i , l , e - 1 / 3 ) } return { r : 255 * n , g : 255 * r , b : 255 * a } } ( e . h , n , i ) , m = ! 0 , d = "hsl" ) , e . hasOwnProperty ( "a" ) && ( o = e . a ) ) ; var b , p , g ; return o = P ( o ) , { ok : m , format : e . format || d , r : s ( 255 , u ( t . r , 0 ) ) , g : s ( 255 , u ( t . g , 0 ) ) , b : s ( 255 , u ( t . b , 0 ) ) , a : o } } ( e ) ; this . _originalInput = e , this . _r = o . r , this . _g = o . g , this . _b = o . b , this . _a = o . a , this . _roundA = i ( 100 * this . _a ) / 100 , this . _format = t . format || o . format , this . _gradientType = t . gradientType , this . _r < 1 && ( this . _r = i ( this . _r ) ) , this . _g < 1 && ( this . _g = i ( this . _g ) ) , this . _b < 1 && ( this . _b = i ( this . _b ) ) , this . _ok = o . ok , this . _tc _id = l ++ } function b ( e , t , o ) { e = M ( e , 255 ) , t = M ( t , 255 ) , o = M ( o , 255 ) ; var n , r , a = u ( e , t , o ) , c = s ( e , t , o ) , l = ( a + c ) / 2 ; if ( a == c ) n = r = 0 ; else { var i = a - c ; switch ( r = l > . 5 ? i / ( 2 - a - c ) : i / ( a + c ) , a ) { case e : n = ( t - o ) / i + ( t < o ? 6 : 0 ) ; break ; case t : n = ( o - e ) / i + 2 ; break ; case o : n = ( e - t ) / i + 4 } n /= 6 } return { h : n , s : r , l : l } } function p ( e , t , o ) { e = M ( e , 255 ) , t = M ( t , 255 ) , o = M ( o , 255 ) ; var n , r , a = u ( e , t , o ) , c = s ( e , t , o ) , l = a , i = a - c ; if ( r = 0 === a ? 0 : i / a , a == c ) n = 0 ; else { switch ( a ) { case e : n = ( t - o ) / i + ( t < o ? 6 : 0 ) ; break ; case t : n = ( o - e ) / i + 2 ; break ; case o : n = ( e - t ) / i + 4 } n /= 6 } return { h : n , s : r , v : l } } function g ( e , t , o , n ) { var r = [ V ( i ( e ) . toString ( 16 ) ) , V ( i ( t ) . toString ( 16 ) ) , V ( i ( o ) . toString ( 16 ) ) ] ; return n && r [ 0 ] . charAt ( 0 ) == r [ 0 ] . charAt ( 1 ) && r [ 1 ] . charAt ( 0 ) == r [ 1 ] . charAt ( 1 ) && r [ 2 ] . charAt ( 0 ) == r [ 2 ] . charAt ( 1 ) ? r [ 0 ] . charAt ( 0 ) + r [ 1 ] . charAt ( 0 ) + r [ 2 ] . charAt ( 0 ) : r . join ( "" ) } function h ( e , t , o , n ) { return [ V ( I ( n ) ) , V ( i ( e ) . toString ( 16 ) ) , V ( i ( t ) . toString ( 16 ) ) , V ( i ( o ) . toString ( 16 ) ) ] . join ( "" ) } function v ( e , t ) { t = 0 === t ? 0 : t || 10 ; var o = d ( e ) . toHsl ( ) ; return o . s -= t / 100 , o . s = N ( o . s ) , d ( o ) } function O ( e , t ) { t = 0 === t ? 0 : t || 10 ; var o = d ( e ) . toHsl ( ) ; return o . s += t / 100 , o . s = N ( o . s ) , d ( o ) } function j ( e ) { return d (
2020-12-01 07:19:43 -05:00
/ * *
* Checks if an event is supported in the current execution environment .
*
* NOTE : This will not work correctly for non - generic events such as ` change ` ,
* ` reset ` , ` load ` , ` error ` , and ` select ` .
*
* Borrows from Modernizr .
*
* @ param { string } eventNameSuffix Event name , e . g . "click" .
* @ param { ? boolean } capture Check if the capture phase is supported .
* @ return { boolean } True if the event is supported .
* @ internal
* @ license Modernizr 3.0 . 0 pre ( Custom Build ) | MIT
2021-06-22 06:00:50 -04:00
* /,e.exports=function(e,t){if(!r.canUseDOM||t&&!("addEventListener"in document))return!1;var o="on"+e,a=o in document;if(!a){var c=document.createElement("div");c.setAttribute(o,"return;"),a="function"==typeof c[o]}return!a&&n&&"wheel"===e&&(a=document.implementation.hasFeature("Events.wheel","3.0")),a}},fPbg:function(e,t,o){"use strict";var n=o("GRId"),r=o("Tqx9");const a=Object(n.createElement)(r.SVG,{xmlns:"http:/ / www . w3 . org / 2000 / svg ",viewBox:" 0 0 24 24 "},Object(n.createElement)(r.Path,{d:" M4 19.8 h8 . 9 v - 1.5 H4v1 . 5 zm8 . 9 - 15.6 H4v1 . 5 h8 . 9 V4 . 2 zm - 8.9 7 v1 . 5 h16v - 1.5 H4z "}));t.a=a},g56x:function(e,t){e.exports=window.wp.hooks},iClF:function(e,t,o){" use strict ";var n=o(" GRId ");t.a=function({icon:e,size:t=24,...o}){return Object(n.cloneElement)(e,{width:t,height:t,...o})}},jZUy:function(e,t){e.exports=window.wp.coreData},jrfk:function(e,t){var o,n,r,a,c,l,i,s,u,m,d,b,p,g,h,v=!1;function O(){if(!v){v=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),O=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(b=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),m=/Android/i.exec(e),g=/FBAN\/\w+;/i.exec(e),h=/Mobile/i.exec(e),d=!!/Win64/.exec(e),t){(o=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN)&&document&&document.documentMode&&(o=document.documentMode);var j=/(?:Trident\/(\d+.\d+))/.exec(e);l=j?parseFloat(j[1])+4:o,n=t[2]?parseFloat(t[2]):NaN,r=t[3]?parseFloat(t[3]):NaN,(a=t[4]?parseFloat(t[4]):NaN)?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),c=t&&t[1]?parseFloat(t[1]):NaN):c=NaN}else o=n=r=c=a=NaN;if(O){if(O[1]){var f=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);i=!f||parseFloat(f[1].replace(" _ "," . "))}else i=!1;s=!!O[2],u=!!O[3]}else i=s=u=!1}}var j={ie:function(){return O()||o},ieCompatibilityMode:function(){return O()||l>o},ie64:function(){return j.ie()&&d},firefox:function(){return O()||n},opera:function(){return O()||r},webkit:function(){return O()||a},safari:function(){return j.webkit()},chrome:function(){return O()||c},windows:function(){return O()||s},osx:function(){return O()||i},linux:function(){return O()||u},iphone:function(){return O()||b},mobile:function(){return O()||b||p||m||h},nativeApp:function(){return O()||g},android:function(){return O()||m},ipad:function(){return O()||p}};e.exports=j},l3Sj:function(e,t){e.exports=window.wp.i18n},o97j:function(e,t,o){" use strict ";var n=!(" undefined "==typeof window||!window.document||!window.document.createElement),r={canUseDOM:n,canUseWorkers:" undefined "!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=r},oMoS:function(e,t,o){" use strict ";var n=o(" GRId "),r=o(" Tqx9 ");const a=Object(n.createElement)(r.SVG,{viewBox:" 0 0 24 24 ",xmlns:" http : //www.w3.org/2000/svg"},Object(n.createElement)(r.Path,{d:"M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 12.8h8v-1.5H8v1.5z"}));t.a=a},onLe:function(e,t){e.exports=window.wp.notices},plpT:function(e,t,o){"use strict";var n=o("GRId"),r=o("Tqx9");const a=Object(n.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(r.Path,{d:"M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"}));t.a=a},qRz9:function(e,t){e.exports=window.wp.richText},rH4q:function(e,t,o){"use strict";var n=o("GRId"),r=o("Tqx9");const a=Object(n.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(r.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"}));t.a=a},"tI+e":function(e,t){e.exports=window.wp.components},wJiJ:function(e,t,o){e.exports=o("1K8p")},wx14:function(e,t,o){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments