!function($,a,c){"use strict";var e,o,n,s=[],i="";function l(t=a.body){let e=t.getElementsByClassName("themify_cm_loader")[0];e||((e=a.createElement("div")).className="themify_cm_loader",t.prepend(e)),e.classList.add("busy")}function m(t=a.body){const e=t.getElementsByClassName("themify_cm_loader")[0];e&&e.classList.remove("busy")}function r(t){const e=(t=t||o).querySelectorAll('input[type="checkbox"]');for(let t=0;t').end().val(n).attr("name","themify_cm["+a+"]["+e+"][menu]"),(t=function(t,e,n,i){return i=i||"",t.find(".locations-row-links").empty().html(''+c.lang.conditions+' x'),t}(t,"themify_cm["+a+"]["+e+"][condition]",e,i)).insertBefore(jQuery('.menu-locations tr[data-menu="'+a+'"]')),$(".menu-location-menus select").length),i=$(".cm-replacement-button").length+1;t.find(".menu-location-menus").attr("data-item",a+e),n===i&&$(".themify-cm-conditions-container:first").addClass("themify-cm-conditions-container-"+a+e).data("item",a+e),i '+c.lang.add_assignment+"")}),$.each(c.options,function(n,t){"object"==typeof t&&$.each(t,function(t,e){y($("#locations-"+n).closest("tr"),t,e.menu,e.condition),s[n]=++t})})})}(jQuery,document,themify_cm);