!function(a){var e={};function t(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return a[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=a,t.c=e,t.d=function(a,e,i){t.o(a,e)||Object.defineProperty(a,e,{configurable:!1,enumerable:!0,get:i})},t.n=function(a){var e=a&&a.__esModule?function(){return a.default}:function(){return a};return t.d(e,"a",e),e},t.o=function(a,e){return Object.prototype.hasOwnProperty.call(a,e)},t.p="",t(t.s=139)}({139:function(a,e,t){a.exports=t(140)},140:function(a,e){function t(a){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}!function(a){if(void 0!==window.AWBTinyMCEOptions){var e=window.AWBTinyMCEOptions;window.tinymce.PluginManager.add("awb",function(i){var o={awb_type:"",awb_stretch:"false",awb_color:"",awb_image:"",awb_video:"",awb_image_size:"full",awb_image_background_size:"cover",awb_image_background_position:"50% 50%",awb_video_mp4:"",awb_video_webm:"",awb_video_ogv:"",awb_video_start_time:0,awb_video_end_time:0,awb_video_volume:0,awb_video_always_play:"false",awb_video_mobile:"false",awb_parallax:"",awb_parallax_speed:.5,awb_parallax_mobile:"false",awb_mouse_parallax:"",awb_mouse_parallax_size:30,awb_mouse_parallax_speed:1e4,awb_class:""};function l(a,e){var t="";return Object.keys(a).forEach(function(i){t+='")}),t}function c(a){return 1===a||"1"===a||!0===a||"true"===a||"on"===a?'checked="checked"':""}function n(a,e,t){var i="";switch(t){case"video":i=['
',''),"
",'',''.concat(e,"")].join(" ");break;default:i=['
',''),"
",'',''.concat(e,"")].join(" ")}return i}i.addCommand("awb_popup",function(d,s){i.windowManager.open({title:"AWB Shortcode",width:600,height:400,classes:"awb-panel",html:['
','
','General','Styles',"
",'
','
',"

Background Type

",'","
",'
',"

Stretch

",'"),"
",'
','
','

Image

','
',n("awb_image",s.awb_image,"image"),"
",'
','","
",'
','
','","
",'
',''),'
Image position. Example: 50% 50%
',"
","
",'
','
','

Youtube / Vimeo

','
',''),'
Supported YouTube and Vimeo URLs
',"
",'
',"

Enable on Mobile Devices

",'"),"
","
",'
','
','

Video

','
',"

MP4

",n("awb_video_mp4",s.awb_video_mp4,"video"),"
",'
',"

WEBM

",n("awb_video_webm",s.awb_video_webm,"video"),"
",'
',"

OGV

",n("awb_video_ogv",s.awb_video_ogv,"video"),"
","
",'
','
','
',"

Start Time

",''),'
Start time in seconds when video
will be started (this value will be
applied also after loop)
',"
",'
',"

End Time

",''),'
End time in seconds when video
will be ended
',"
","
",'
','
','
',"

Always Play

",'"),'
Play video also when not in viewport.
',"
","
",'
','
','

Overlay Color

','
',''),"
","
",'
','
','

Parallax

','
',"

Type

",'","
",'
','
',"

Speed

",''),'
Provide number
from -1.0 to 2.0
',"
",'
',"

Enable on Mobile Devices

",'"),"
","
","
",'
','
','

Mouse Parallax

','
',"

Enable

",'"),"
",'
','
',"

Size

",''),'
pixels
',"
",'
',"

Speed

",''),'
milliseconds
',"
","
","
","
",'
','
','

Padding

','
',"

Top

",'',"
",'
',"

Bottom

",'',"
",'
',"

Left

",'',"
",'
',"

Right

",'',"
",'
','

Margin

','
',"

Top

",'',"
",'
',"

Bottom

",'',"
",'
',"

Left

",'',"
",'
',"

Right

",'',"
","
","
"].join(" "),buttons:[{text:"Insert",classes:"widget btn primary",id:"awb-panel-insert",onclick:"submit",minHeight:32,minWidth:70},{text:"Close",classes:"widget btn secondary",onclick:"close",minHeight:32,minWidth:70}],onSubmit:function(){var e=i.windowManager.getWindows()[0],t=jQuery(e.$el[0]);t.find(".wp-picker-container:visible").each(function(){a(this).find(".awb-colorpicker").css("display","inline-block")});var l=t.find(".awb-mce-form [name]"),c={};l.each(function(){var e=a(this);if(e.is("[type=hidden]")){if(!e.parent().is(":visible"))return}else if(!e.is(":visible"))return;c[this.name]="checkbox"===this.type?this.checked:this.value});var n="[".concat("nk_awb");Object.keys(o).forEach(function(a){void 0!==c[a]&&c[a]&&(n+=" ".concat(a,'="').concat(c[a],'"'))});var d="";l.filter("[data-style]").each(function(){var e=a(this),t=e.val();t&&(a.isNumeric(t)&&(t+="px"),d+=" ".concat(e.attr("data-style"),": ").concat(t,";"))}),d&&(n+=' awb_styles="'.concat(d,'"'));var b=s.content||"

Your Content Here

";n+="]".concat(b,"[/").concat("nk_awb","]"),i.insertContent(n)},onOpen:function(){var e=i.windowManager.getWindows()[0],o=jQuery(e.$el[0]);"object"===t(a.wp)&&"function"==typeof a.wp.wpColorPicker&&o.find(".awb-colorpicker").wpColorPicker({alpha:!0});var l=o.find(".awb-tabs");if(l.length){var c=l.parent().children("[data-tab]");l.on("click",".awb-tab",function(e){e.preventDefault();var t=a(this),i=c.filter('[data-tab="'.concat(this.hash.replace("#",""),'"]'));i.length&&(c.removeClass("awb-tab-active"),i.addClass("awb-tab-active"),t.addClass("awb-tab-active").siblings().removeClass("awb-tab-active"))})}o.conditionize()}})}),i.addButton("awb",{icon:"awb",tooltip:"Advanced WordPress Backgrounds",onclick:function(){i.execCommand("awb_popup","",a.extend({content:i.selection.getContent()},o))}})})}}(jQuery)}});