2019-10-25 20:17:07 -04:00
/*! This file is auto-generated */
2021-09-08 17:06:23 -04:00
this . wp = this . wp || { } , this . wp . blockLibrary = 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 } return 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 = "K51g" ) } ( { "1CF3" : function ( e , t ) { e . exports = window . wp . dom } , "1K8p" : function ( e , t , r ) { "use strict" ; var n = r ( "jrfk" ) , o = r ( "ez49" ) ; function c ( e ) { var t = 0 , r = 0 , n = 0 , o = 0 ; return "detail" in e && ( r = e . detail ) , "wheelDelta" in e && ( r = - e . wheelDelta / 120 ) , "wheelDeltaY" in e && ( r = - e . wheelDeltaY / 120 ) , "wheelDeltaX" in e && ( t = - e . wheelDeltaX / 120 ) , "axis" in e && e . axis === e . HORIZONTAL _AXIS && ( t = r , r = 0 ) , n = 10 * t , o = 10 * r , "deltaY" in e && ( o = e . deltaY ) , "deltaX" in e && ( n = e . deltaX ) , ( n || o ) && e . deltaMode && ( 1 == e . deltaMode ? ( n *= 40 , o *= 40 ) : ( n *= 800 , o *= 800 ) ) , n && ! t && ( t = n < 1 ? - 1 : 1 ) , o && ! r && ( r = o < 1 ? - 1 : 1 ) , { spinX : t , spinY : r , pixelX : n , pixelY : o } } c . getEventType = function ( ) { return n . firefox ( ) ? "DOMMouseScroll" : o ( "wheel" ) ? "wheel" : "mousewheel" } , e . exports = c } , "1OyB" : function ( e , t , r ) { "use strict" ; function n ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } r . d ( t , "a" , ( function ( ) { return n } ) ) } , "1Yn1" : function ( e , t , r ) { "use strict" ; var n = r ( "GRId" ) , o = r ( "Tqx9" ) , c = Object ( n . createElement ) ( o . SVG , { viewBox : "0 0 24 24" , xmlns : "http://www.w3.org/2000/svg" } , Object ( n . createElement ) ( o . 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 = c } , "1ZqX" : function ( e , t ) { e . exports = window . wp . data } , "1iEr" : function ( e , t , r ) { "use strict" ; var n = r ( "GRId" ) , o = r ( "Tqx9" ) , c = Object ( n . createElement ) ( o . SVG , { xmlns : "http://www.w3.org/2000/svg" , viewBox : "0 0 24 24" } , Object ( n . createElement ) ( o . Path , { d : "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z" } ) ) ; t . a = c } , "25BE" : function ( e , t , r ) { "use strict" ; function n ( e ) { if ( "undefined" != typeof Symbol && Symbol . iterator in Object ( e ) ) return Array . from ( e ) } r . d ( t , "a" , ( function ( ) { return n } ) ) } , "2gm7" : function ( e , t , r ) { "use strict" ; var n = r ( "GRId" ) , o = r ( "Tqx9" ) , c = Object ( n . createElement ) ( o . SVG , { xmlns : "http://www.w3.org/2000/svg" , viewBox : "0 0 24 24" } , Object ( n . createElement ) ( o . Path , { d : "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z" } ) ) ; t . a = c } , "4eJC" : function ( e , t , r ) { e . exports = function ( e , t ) { var r , n , o = 0 ; function c ( ) { var c , a , i = r , l = arguments . length ; e : for ( ; i ; ) { if ( i . args . length === arguments . length ) { for ( a = 0 ; a < l ; a ++ ) if ( i . args [ a ] !== arguments [ a ] ) { i = i . next ; continue e } return i !== r && ( i === n && ( n = i . prev ) , i . prev . next = i . next , i . next && ( i . next . prev = i . prev ) , i . next = r , i . prev = null , r . prev = i , r = i ) , i . val } i = i . next } for ( c = new Array ( l ) , a = 0 ; a < l ; a ++ ) c [ a ] = arguments [ a ] ; return i = { args : c , val : e . apply ( null , c ) } , r ? ( r . prev = i , i . next = r ) : n = i , o === t . maxSize ? ( n = n . prev ) . next = null : o ++ , r = i , i . val } return t = t || { } , c . clear = function ( ) { r = null , n = null , o = 0 } , c } } , "A/WM" : function ( e , t , r ) { var n ;
2021-05-26 20:29:10 -04:00
/ * !
Copyright ( c ) 2017 Jed Watson .
Licensed under the MIT License ( MIT ) , see
http : //jedwatson.github.io/classnames
* /!function(){"use strict";var r=function(){function e(){}function t(e,t){for(var r=t.length,n=0;n<r;++n)o(e,t[n])}e.prototype=Object.create(null);var r={}.hasOwnProperty;var n=/ \ s + /;function o(e,o){if(o){var c=typeof o;"string"===c?function(e,t){for(var r=t.split(n),o=r.length,c=0;c<o;++c)e[r[c]]=!0}(e,o):Array.isArray(o)?t(e,o):"object"===c?function(e,t){for(var n in t)r.call(t,n)&&(e[n]=!!t[n])}(e,o):"number"===c&&function(e,t){e[t]=!0}(e,o)}}return function(){for(var r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];var c=new e;t(c,n);var a=[];for(var i in c)c[i]&&a.push(i);return a.join(" ")}}();e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},B9Az:function(e,t,r){"use strict";var n=r("GRId"),o=r("Tqx9"),c=Object(n.createElement)(o.SVG,{xmlns:"http:/ / www . w3 . org / 2000 / svg ",viewBox:" 0 0 24 24 "},Object(n.createElement)(o.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=c},Bpkj:function(e,t,r){" use strict ";var n=r(" GRId "),o=r(" Tqx9 "),c=Object(n.createElement)(o.SVG,{xmlns:" http : //www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(o.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=c},BsWD:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r("a3WO");function o(e,t){if(e){if("string"==typeof e)return Object(n.a)(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)?Object(n.a)(e,t):void 0}}},DSFK:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",(function(){return n}))},FEKF:function(e,t,r){
/*! Fast Average Color | © 2019 Denis Seleznev | MIT License | https://github.com/hcodes/fast-average-color/ */
2021-09-08 17:06:23 -04:00
e . exports = function ( ) { "use strict" ; function e ( e , t ) { for ( var r = 0 ; r < t . length ; r ++ ) { var n = t [ r ] ; 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 r = [ ] , n = ! 0 , o = ! 1 , c = void 0 ; try { for ( var a , i = e [ Symbol . iterator ] ( ) ; ! ( n = ( a = i . next ( ) ) . done ) && ( r . push ( a . value ) , ! t || r . length !== t ) ; n = ! 0 ) ; } catch ( e ) { o = ! 0 , c = e } finally { try { n || null == i . return || i . return ( ) } finally { if ( o ) throw c } } return r } ( e , t ) || function ( ) { throw new TypeError ( "Invalid attempt to destructure non-iterable instance" ) } ( ) } return function ( ) { function r ( ) { ! function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , r ) } var n , o , c ; return n = r , ( o = [ { key : "getColorAsync" , value : function ( e , t , r ) { e . complete ? t . call ( e , this . getColor ( e , r ) , r && r . data ) : this . _bindImageEvents ( e , t , r ) } } , { key : "getColor" , value : function ( e , t ) { t = t || { } ; var r = this . _getDefaultColor ( t ) , n = this . _getOriginalSize ( e ) , o = this . _prepareSizeAndPosition ( n , t ) , c = null , a = r ; if ( ! ( o . srcWidth && o . srcHeight && o . destWidth && o . destHeight ) ) return this . _prepareResult ( r , 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 ( r , new Error ( "FastAverageColor: Canvas Context 2D is not supported in this browser." ) ) ; this . _canvas . width = o . destWidth , this . _canvas . height = o . destHeight ; try { this . _ctx . clearRect ( 0 , 0 , o . destWidth , o . destHeight ) , this . _ctx . drawImage ( e , o . srcLeft , o . srcTop , o . srcWidth , o . srcHeight , 0 , 0 , o . destWidth , o . destHeight ) ; var i = this . _ctx . getImageData ( 0 , 0 , o . destWidth , o . destHeight ) . data ; a = this . getColorFromArray4 ( i , t ) } catch ( e ) { c = e } return this . _prepareResult ( a , c ) } } , { key : "getColorFromArray4" , value : function ( e , t ) { t = t || { } ; var r = e . length ; if ( r < 4 ) return this . _getDefaultColor ( t ) ; var n = r - r % 4 , o = 4 * ( t . step || 1 ) , c = "_" + ( t . algorithm || "sqrt" ) + "Algorithm" ; if ( "function" != typeof this [ c ] ) throw new Error ( "FastAverageColor: " . concat ( t . algorithm , " is unknown algorithm." ) ) ; return this [ c ] ( e , n , o ) } } , { 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 , r ) { return void 0 === e [ t ] ? r : e [ t ] } } , { key : "_prepareSizeAndPosition" , value : function ( e , t ) { var r , n = this . _getOption ( t , "left" , 0 ) , o = this . _getOption ( t , "top" , 0 ) , c = this . _getOption ( t , "width" , e . width ) , a = this . _getOption ( t , "height" , e . height ) , i = c , l = a ; return "precision" === t . mode || ( c > a ? ( r = c / a , i = 100 , l = Math . round ( i / r ) ) : ( r = a / c , l = 100 , i = Math . round ( l / r ) ) , ( i > c || l > a || i < 10 || l < 10 ) && ( i = c , l = a ) ) , { srcLeft : n , srcTop : o , srcWidth : c , srcHeight : a , destWidth : i , destHeight : l } } } , { key : "_simpleAlgorithm" , value : function ( e , t , r ) { for ( var n = 0 , o = 0 , c = 0 , a = 0 , i = 0 , l = 0 ; l < t ; l += r ) { var s = e [ l + 3 ] ; n += e [ l ] * s , o += e [ l + 1 ] * s , c += e [ l + 2 ] * s , a += s , i ++ } return a ? [ Math . round ( n / a ) , Math . round ( o / a ) , Math . round ( c / a ) , Math . round ( a / i ) ] : [ 0 , 0 , 0 , 0 ] } } , { key : "_sqrtAlgorithm" , value : function ( e , t , r ) { for ( var n = 0 , o = 0 , c = 0 , a = 0 , i = 0 , l = 0 ; l < t ; l += r ) { var s = e [ l ] , u = e [ l + 1 ] , b = e [ l + 2 ] , m = e [ l + 3 ] ; n += s * s * m , o += u * u * m , c += b * b * m , a += m , i ++ } return a ? [ Math . round ( Math . sqrt ( n / a ) ) , Math . round ( Math . sqrt ( o / a ) ) , Math . round ( Math . sqrt ( c / a ) ) , Math . round ( a / i ) ] : [ 0 , 0 , 0 , 0 ] } } , { key : "_dominantAlgorithm" , value : function ( e , r , n ) { for ( var o = { } , c = 0 ; c < r ; c += n ) { var a = e [ c ] , i = e [ c + 1 ] , l = e [ c + 2 ] , s = e [ c + 3 ] , u = Math . round ( a / 24 ) + "," + Math . round ( i / 24 ) + "," + Math . round ( l / 24 ) ; o [ u ] ? o [ u ] = [ o [ u ] [ 0 ] + a * s , o [ u ] [ 1 ] + i * s , o [ u ] [ 2 ] + l * s , o [ u ] [ 3 ] + s , o [ u ] [ 4 ] + 1 ] : o [ u ] = [ a * s , i * s , l * s , s , 1 ] } var b = t ( Object . keys ( o ) . map ( ( function ( e ) { return o [ e ] } ) ) . sort ( ( function ( e , t ) { var r = e [ 4 ] , n = t [ 4 ] ; return r > n ? - 1 : r === n ? 0 : 1 } ) ) [ 0 ] , 5 ) , m = b [ 0 ] , d = b [ 1 ] , p = b [ 2 ] , g = b [ 3 ] , h = b [ 4 ] ; return g ? [ Math . round ( m / g ) , Math . round ( d / g ) , Math . round ( p / g ) , Math . round ( g / h ) ] : [ 0 , 0 , 0 , 0 ] } } , { key : "_bindImageEvents" , value : function ( e , t , r ) { var n = this , o = ( r = r || { } ) && r . data , c = this . _getDefaultColor ( r ) , a = function ( ) { s ( ) , t . call ( e , n . getColor ( e , r ) , o ) } , i = function ( ) { s ( ) , t . call ( e , n . _prepareResult ( c , new Error ( "Image error" ) ) , o ) } , l = function ( ) { s ( ) , t . call ( e , n . _prepareResult ( c , new Error ( "Image abort" ) ) , o ) } , s = function ( ) { e . removeEventListener ( "load" , a ) , e . remo
2021-05-25 01:22:08 -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 .
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2022-03-10 15:27:21 -05:00
var We = function ( e , t ) { return ( We = Object . setPrototypeOf || { _ _proto _ _ : [ ] } instanceof Array && function ( e , t ) { e . _ _proto _ _ = t } || function ( e , t ) { for ( var r in t ) Object . prototype . hasOwnProperty . call ( t , r ) && ( e [ r ] = t [ r ] ) } ) ( e , t ) } ; var Ze = function ( ) { return ( Ze = Object . assign || function ( e ) { for ( var t , r = 1 , n = arguments . length ; r < n ; r ++ ) for ( var o in t = arguments [ r ] ) Object . prototype . hasOwnProperty . call ( t , o ) && ( e [ o ] = t [ o ] ) ; return e } ) . apply ( this , arguments ) } ; Object . create ; Object . create ; var Je = r ( "cDcd" ) , Ke = r . n ( Je ) , Ye = r ( "wJiJ" ) , $e = r . n ( Ye ) ; function Xe ( e , t , r , n , o , c ) { void 0 === c && ( c = 0 ) ; var a = st ( e , t , c ) , i = a . width , l = a . height , s = Math . min ( i , r ) , u = Math . min ( l , n ) ; return s > u * o ? { width : u * o , height : u } : { width : s , height : s / o } } function Qe ( e , t , r , n , o ) { void 0 === o && ( o = 0 ) ; var c = st ( t . width , t . height , o ) , a = c . width , i = c . height ; return { x : et ( e . x , a , r . width , n ) , y : et ( e . y , i , r . height , n ) } } function et ( e , t , r , n ) { var o = t * n / 2 - r / 2 ; return Math . min ( o , Math . max ( e , - o ) ) } function tt ( e , t ) { return Math . sqrt ( Math . pow ( e . y - t . y , 2 ) + Math . pow ( e . x - t . x , 2 ) ) } function rt ( e , t ) { return 180 * Math . atan2 ( t . y - e . y , t . x - e . x ) / Math . PI } function nt ( e , t , r , n , o , c , a ) { void 0 === c && ( c = 0 ) , void 0 === a && ( a = ! 0 ) ; var i = a && 0 === c ? ot : ct , l = { x : i ( 100 , ( ( t . width - r . width / o ) / 2 - e . x / o ) / t . width * 100 ) , y : i ( 100 , ( ( t . height - r . height / o ) / 2 - e . y / o ) / t . height * 100 ) , width : i ( 100 , r . width / t . width * 100 / o ) , height : i ( 100 , r . height / t . height * 100 / o ) } , s = Math . round ( i ( t . naturalWidth , l . width * t . naturalWidth / 100 ) ) , u = Math . round ( i ( t . naturalHeight , l . height * t . naturalHeight / 100 ) ) , b = t . naturalWidth >= t . naturalHeight * n ? { width : Math . round ( u * n ) , height : u } : { width : s , height : Math . round ( s / n ) } ; return { croppedAreaPercentages : l , croppedAreaPixels : Ze ( Ze ( { } , b ) , { x : Math . round ( i ( t . naturalWidth - b . width , l . x * t . naturalWidth / 100 ) ) , y : Math . round ( i ( t . naturalHeight - b . height , l . y * t . naturalHeight / 100 ) ) } ) } } function ot ( e , t ) { return Math . min ( e , Math . max ( 0 , t ) ) } function ct ( e , t ) { return t } function at ( e , t , r ) { var n = t . width / t . naturalWidth , o = function ( e , t , r ) { var n = t . width / t . naturalWidth ; if ( r ) return r . height > r . width ? r . height / n / e . height : r . width / n / e . width ; var o = e . width / e . height ; return t . naturalWidth >= t . naturalHeight * o ? t . naturalHeight / e . height : t . naturalWidth / e . width } ( e , t , r ) , c = n * o ; return { crop : { x : ( ( t . naturalWidth - e . width ) / 2 - e . x ) * c , y : ( ( t . naturalHeight - e . height ) / 2 - e . y ) * c } , zoom : o } } function it ( e , t ) { return { x : ( t . x + e . x ) / 2 , y : ( t . y + e . y ) / 2 } } function lt ( e , t , r , n , o ) { var c = Math . cos , a = Math . sin , i = o * Math . PI / 180 ; return [ ( e - r ) * c ( i ) - ( t - n ) * a ( i ) + r , ( e - r ) * a ( i ) + ( t - n ) * c ( i ) + n ] } function st ( e , t , r ) { var n = e / 2 , o = t / 2 , c = [ lt ( 0 , 0 , n , o , r ) , lt ( e , 0 , n , o , r ) , lt ( e , t , n , o , r ) , lt ( 0 , t , n , o , r ) ] , a = Math . min . apply ( Math , c . map ( ( function ( e ) { return e [ 0 ] } ) ) ) , i = Math . max . apply ( Math , c . map ( ( function ( e ) { return e [ 0 ] } ) ) ) , l = Math . min . apply ( Math , c . map ( ( function ( e ) { return e [ 1 ] } ) ) ) ; return { width : i - a , height : Math . max . apply ( Math , c . map ( ( function ( e ) { return e [ 1 ] } ) ) ) - l } } function ut ( ) { for ( var e = [ ] , t = 0 ; t < arguments . length ; t ++ ) e [ t ] = arguments [ t ] ; return e . filter ( ( function ( e ) { return "string" == typeof e && e . length > 0 } ) ) . join ( " " ) . trim ( ) } var bt = function ( e ) { function t ( ) { var r = null !== e && e . apply ( this , arguments ) || this ; return r . imageRef = null , r . videoRef = null , r . containerRef = null , r . styleRef = null , r . containerRect = null , r . mediaSize = { width : 0 , height : 0 , naturalWidth : 0 , naturalHeight : 0 } , r . dragStartPosition = { x : 0 , y : 0 } , r . dragStartCrop = { x : 0 , y : 0 } , r . lastPinchDistance = 0 , r . lastPinchRotation = 0 , r . rafDragTimeout = null , r . rafPinchTimeout = null , r . wheelTimer = null , r . state = { cropSize : null , hasWheelJustStarted : ! 1 } , r . preventZoomSafari = function ( e ) { return e . preventDefault ( ) } , r . cleanEvents = function ( ) { document . removeEventListener ( "mousemove" , r . onMouseMove ) , document . removeEventListener ( "mouseup" , r . onDragStopped ) , document . removeEventListener ( "touchmove" , r . onTouchMove ) , document . removeEventListener ( "touchend" , r . onDragStopped ) } , r . clearScrollEvent = function ( ) { r . containerRef && r . containerRef . removeEventListener ( "wheel" , r . onWheel ) , r . wheelTimer && clearTimeout ( r . wheelTimer ) } , r . onMediaLoad = function ( ) { r . computeSizes ( ) , r . emitCropData ( ) , r . setInitialCrop ( ) , r . props . onMediaLoaded && r . props . onMediaLoaded ( r . mediaSize ) } , r . setInitialCrop = function ( ) { var e = r . props , t = e . initialCroppedAreaPixels , n = e . cropSize ; if ( t ) { var o = at ( t , r . mediaSize , n ) , c = o . crop , a = o . zoom ; r . props . onCropChange ( c ) , r . props . onZoomChange && r . props . onZoomChange ( a ) } } , r . com
2018-12-13 23:11:47 -05:00
/ * !
Copyright ( c ) 2017 Jed Watson .
Licensed under the MIT License ( MIT ) , see
http : //jedwatson.github.io/classnames
2021-05-26 20:29:10 -04:00
* /!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var c=typeof n;if("string"===c||"number"===c)e.push(n);else if(Array.isArray(n)&&n.length){var a=o.apply(null,n);a&&e.push(a)}else if("object"===c)for(var i in n)r.call(n,i)&&n[i]&&e.push(i)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},Tqx9:function(e,t){e.exports=window.wp.primitives},U8pU:function(e,t,r){"use strict";function n(e){return(n="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)}r.d(t,"a",(function(){return n}))},UuzZ:function(e,t){e.exports=window.wp.autop},YLtl:function(e,t){e.exports=window.lodash},Zss7:function(e,t,r){var n;!function(o){var c=/ ^ \ s + /,a=/ \ s + $ / , i = 0 , l = o . round , s = o . min , u = o . max , b = o . random ; function m ( e , t ) { if ( t = t || { } , ( e = e || "" ) instanceof m ) return e ; if ( ! ( this instanceof m ) ) return new m ( e , t ) ; var r = function ( e ) { var t = { r : 0 , g : 0 , b : 0 } , r = 1 , n = null , i = null , l = null , b = ! 1 , m = ! 1 ; "string" == typeof e && ( e = function ( e ) { e = e . replace ( c , "" ) . replace ( a , "" ) . toLowerCase ( ) ; var t , r = ! 1 ; if ( B [ e ] ) e = B [ e ] , r = ! 0 ; else if ( "transparent" == e ) return { r : 0 , g : 0 , b : 0 , a : 0 , format : "name" } ; if ( t = F . rgb . exec ( e ) ) return { r : t [ 1 ] , g : t [ 2 ] , b : t [ 3 ] } ; if ( t = F . rgba . exec ( e ) ) return { r : t [ 1 ] , g : t [ 2 ] , b : t [ 3 ] , a : t [ 4 ] } ; if ( t = F . hsl . exec ( e ) ) return { h : t [ 1 ] , s : t [ 2 ] , l : t [ 3 ] } ; if ( t = F . hsla . exec ( e ) ) return { h : t [ 1 ] , s : t [ 2 ] , l : t [ 3 ] , a : t [ 4 ] } ; if ( t = F . hsv . exec ( e ) ) return { h : t [ 1 ] , s : t [ 2 ] , v : t [ 3 ] } ; if ( t = F . hsva . exec ( e ) ) return { h : t [ 1 ] , s : t [ 2 ] , v : t [ 3 ] , a : t [ 4 ] } ; if ( t = F . hex8 . exec ( e ) ) return { r : R ( t [ 1 ] ) , g : R ( t [ 2 ] ) , b : R ( t [ 3 ] ) , a : I ( t [ 4 ] ) , format : r ? "name" : "hex8" } ; if ( t = F . hex6 . exec ( e ) ) return { r : R ( t [ 1 ] ) , g : R ( t [ 2 ] ) , b : R ( t [ 3 ] ) , format : r ? "name" : "hex" } ; if ( t = F . hex4 . exec ( e ) ) return { r : R ( t [ 1 ] + "" + t [ 1 ] ) , g : R ( t [ 2 ] + "" + t [ 2 ] ) , b : R ( t [ 3 ] + "" + t [ 3 ] ) , a : I ( t [ 4 ] + "" + t [ 4 ] ) , format : r ? "name" : "hex8" } ; if ( t = F . hex3 . exec ( e ) ) return { r : R ( t [ 1 ] + "" + t [ 1 ] ) , g : R ( t [ 2 ] + "" + t [ 2 ] ) , b : R ( t [ 3 ] + "" + t [ 3 ] ) , format : r ? "name" : "hex" } ; return ! 1 } ( e ) ) ; "object" == typeof e && ( U ( e . r ) && U ( e . g ) && U ( e . b ) ? ( d = e . r , p = e . g , g = e . b , t = { r : 255 * N ( d , 255 ) , g : 255 * N ( p , 255 ) , b : 255 * N ( g , 255 ) } , b = ! 0 , m = "%" === String ( e . r ) . substr ( - 1 ) ? "prgb" : "rgb" ) : U ( e . h ) && U ( e . s ) && U ( e . v ) ? ( n = A ( e . s ) , i = A ( e . v ) , t = function ( e , t , r ) { e = 6 * N ( e , 360 ) , t = N ( t , 100 ) , r = N ( r , 100 ) ; var n = o . floor ( e ) , c = e - n , a = r * ( 1 - t ) , i = r * ( 1 - c * t ) , l = r * ( 1 - ( 1 - c ) * t ) , s = n % 6 ; return { r : 255 * [ r , i , a , a , l , r ] [ s ] , g : 255 * [ l , r , r , i , a , a ] [ s ] , b : 255 * [ a , a , l , r , r , i ] [ s ] } } ( e . h , n , i ) , b = ! 0 , m = "hsv" ) : U ( e . h ) && U ( e . s ) && U ( e . l ) && ( n = A ( e . s ) , l = A ( e . l ) , t = function ( e , t , r ) { var n , o , c ; function a ( e , t , r ) { return r < 0 && ( r += 1 ) , r > 1 && ( r -= 1 ) , r < 1 / 6 ? e + 6 * ( t - e ) * r : r < . 5 ? t : r < 2 / 3 ? e + ( t - e ) * ( 2 / 3 - r ) * 6 : e } if ( e = N ( e , 360 ) , t = N ( t , 100 ) , r = N ( r , 100 ) , 0 === t ) n = o = c = r ; else { var i = r < . 5 ? r * ( 1 + t ) : r + t - r * t , l = 2 * r - i ; n = a ( l , i , e + 1 / 3 ) , o = a ( l , i , e ) , c = a ( l , i , e - 1 / 3 ) } return { r : 255 * n , g : 255 * o , b : 255 * c } } ( e . h , n , l ) , b = ! 0 , m = "hsl" ) , e . hasOwnProperty ( "a" ) && ( r = e . a ) ) ; var d , p , g ; return r = z ( r ) , { ok : b , format : e . format || m , r : s ( 255 , u ( t . r , 0 ) ) , g : s ( 255 , u ( t . g , 0 ) ) , b : s ( 255 , u ( t . b , 0 ) ) , a : r } } ( e ) ; this . _originalInput = e , this . _r = r . r , this . _g = r . g , this . _b = r . b , this . _a = r . a , this . _roundA = l ( 100 * this . _a ) / 100 , this . _format = t . format || r . format , this . _gradientType = t . gradientType , this . _r < 1 && ( this . _r = l ( this . _r ) ) , this . _g < 1 && ( this . _g = l ( this . _g ) ) , this . _b < 1 && ( this . _b = l ( this . _b ) ) , this . _ok = r . ok , this . _tc _id = i ++ } function d ( e , t , r ) { e = N ( e , 255 ) , t = N ( t , 255 ) , r = N ( r , 255 ) ; var n , o , c = u ( e , t , r ) , a = s ( e , t , r ) , i = ( c + a ) / 2 ; if ( c == a ) n = o = 0 ; else { var l = c - a ; switch ( o = i > . 5 ? l / ( 2 - c - a ) : l / ( c + a ) , c ) { case e : n = ( t - r ) / l + ( t < r ? 6 : 0 ) ; break ; case t : n = ( r - e ) / l + 2 ; break ; case r : n = ( e - t ) / l + 4 } n /= 6 } return { h : n , s : o , l : i } } function p ( e , t , r ) { e = N ( e , 255 ) , t = N ( t , 255 ) , r = N ( r , 255 ) ; var n , o , c = u ( e , t , r ) , a = s ( e , t , r ) , i = c , l = c - a ; if ( o = 0 === c ? 0 : l / c , c == a ) n = 0 ; else { switch ( c ) { case e : n = ( t - r ) / l + ( t < r ? 6 : 0 ) ; break ; case t : n = ( r - e ) / l + 2 ; break ; case r : n = ( e - t ) / l + 4 } n /= 6 } return { h : n , s : o , v : i } } function g ( e , t , r , n ) { var o = [ V ( l ( e ) . toString ( 16 ) ) , V ( l ( t ) . toString ( 16 ) ) , V ( l ( r ) . toString ( 16 ) ) ] ; return n && o [ 0 ] . charAt ( 0 ) == o [ 0 ] . charAt ( 1 ) && o [ 1 ] . charAt ( 0 ) == o [ 1 ] . charAt ( 1 ) && o [ 2 ] . charAt ( 0 ) == o [ 2 ] . charAt ( 1 ) ? o [ 0 ] . charAt ( 0 ) + o [ 1 ] . charAt ( 0 ) + o [ 2 ] . charAt ( 0 ) : o . join ( "" ) } function h ( e , t , r , n ) { return [ V ( H ( n ) ) , V ( l ( e ) . toString ( 16 ) ) , V ( l ( t ) . toString ( 16 )
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-09-08 17:06:23 -04:00
* /,e.exports=function(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var r="on"+e,c=r in document;if(!c){var a=document.createElement("div");a.setAttribute(r,"return;"),c="function"==typeof a[r]}return!c&&n&&"wheel"===e&&(c=document.implementation.hasFeature("Events.wheel","3.0")),c}},fPbg:function(e,t,r){"use strict";var n=r("GRId"),o=r("Tqx9"),c=Object(n.createElement)(o.SVG,{xmlns:"http:/ / www . w3 . org / 2000 / svg ",viewBox:" 0 0 24 24 "},Object(n.createElement)(o.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=c},foSv:function(e,t,r){" use strict ";function n(e){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.d(t," a ",(function(){return n}))},g56x:function(e,t){e.exports=window.wp.hooks},iClF:function(e,t,r){" use strict ";var n=r(" rePB "),o=r(" Ff2n "),c=r(" GRId ");function a(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}t.a=function(e){var t=e.icon,r=e.size,i=void 0===r?24:r,l=Object(o.a)(e,[" icon "," size "]);return Object(c.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({width:i,height:i},l))}},jZUy:function(e,t){e.exports=window.wp.coreData},jrfk:function(e,t){var r,n,o,c,a,i,l,s,u,b,m,d,p,g,h,f=!1;function O(){if(!f){f=!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(d=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),b=/Android/i.exec(e),g=/FBAN\/\w+;/i.exec(e),h=/Mobile/i.exec(e),m=!!/Win64/.exec(e),t){(r=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN)&&document&&document.documentMode&&(r=document.documentMode);var v=/(?:Trident\/(\d+.\d+))/.exec(e);i=v?parseFloat(v[1])+4:r,n=t[2]?parseFloat(t[2]):NaN,o=t[3]?parseFloat(t[3]):NaN,(c=t[4]?parseFloat(t[4]):NaN)?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),a=t&&t[1]?parseFloat(t[1]):NaN):a=NaN}else r=n=o=a=c=NaN;if(O){if(O[1]){var j=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);l=!j||parseFloat(j[1].replace(" _ "," . "))}else l=!1;s=!!O[2],u=!!O[3]}else l=s=u=!1}}var v={ie:function(){return O()||r},ieCompatibilityMode:function(){return O()||i>r},ie64:function(){return v.ie()&&m},firefox:function(){return O()||n},opera:function(){return O()||o},webkit:function(){return O()||c},safari:function(){return v.webkit()},chrome:function(){return O()||a},windows:function(){return O()||s},osx:function(){return O()||l},linux:function(){return O()||u},iphone:function(){return O()||d},mobile:function(){return O()||d||p||b||h},nativeApp:function(){return O()||g},android:function(){return O()||b},ipad:function(){return O()||p}};e.exports=v},l3Sj:function(e,t){e.exports=window.wp.i18n},md7G:function(e,t,r){" use strict ";r.d(t," a ",(function(){return c}));var n=r(" U8pU "),o=r(" JX7q ");function c(e,t){return!t||" object "!==Object(n.a)(t)&&" function "!=typeof t?Object(o.a)(e):t}},o97j:function(e,t,r){" use strict ";var n=!(" undefined "==typeof window||!window.document||!window.document.createElement),o={canUseDOM:n,canUseWorkers:" undefined "!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=o},oMoS:function(e,t,r){" use strict ";var n=r(" GRId "),o=r(" Tqx9 "),c=Object(n.createElement)(o.SVG,{viewBox:" 0 0 24 24 ",xmlns:" http : //www.w3.org/2000/svg"},Object(n.createElement)(o.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-.5h