!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=369)}({369:function(e,t){var r;(r=jQuery)((function(){var e=function(){setTimeout((function(){var e=r('#custom_image_overlays_repeat input[type="text"]');1===e.length?e.prop("required",!1):e.prop("required",!0)}),55)},t=function(){setTimeout((function(){var e=r(".default-overlay-field"),t=["","play","gif"],n={};r('#custom_image_overlays_repeat input[type="text"]').each((function(e,t){var o=r(t).val(),i=function(e){e=(e=e.replace(/^\s+|\s+$/g,"")).toLowerCase();for(var t="àáäâèéëêìíïîòóöôùúüûñçěščřžýúůďťň·/_,:;",r=0,n=t.length;r<n;r++)e=e.replace(new RegExp(t.charAt(r),"g"),"aaaaeeeeiiiioooouuuuncescrzyuudtn------".charAt(r));return e.replace(".","-").replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/\//g,"")}(o);n[i]=o})),e.each((function(e,o){var i=r(o).find(".cmb2-radio-list"),u=i.children("li"),a=u.first(),c=i.find("input:checked").val();u.each((function(e,n){var o=r(n),i=o.find("input").val();if(-1!==t.indexOf(i))return!0;o.remove()})),r.each(n,(function(e,t){if(!e||!t)return!0;var r=a.find("input").attr("id")+"-synced-item-"+e,n=a.clone();n.find("input").attr("id",r).val(e).prop("checked",e===c).siblings("label").text(t).attr("for",r),i.append(n)})),0===i.find("input:checked").length&&i.find("input").first().prop("checked",!0)}))}),55)};r("#custom_image_overlays_repeat").on("click",".cmb-remove-group-row-button, button.cmb-add-group-row",e),e(),r("#custom_image_overlays_repeat").on("change",'input[type="text"]',t),r("#custom_image_overlays_repeat").on("click",".cmb-remove-group-row-button",t),t()}))}});