!function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=5)}({5:function(t,e){jQuery(window.document).ready(function(){"use strict";if(jQuery.fn.switchButton){var t=function(){jQuery(".appointments-settings .switch-button").each(function(){var t=jQuery(this).data("slave");if(t){var e=jQuery(".appointments-settings ."+t);jQuery(".switch-button-background",jQuery(this).closest("td")).hasClass("checked")?e.show():e.hide()}})};jQuery(".appointments-settings .switch-button").each(function(){var e={checked:jQuery(this).checked,on_label:jQuery(this).data("on")||switch_button.labels.label_on,off_label:jQuery(this).data("off")||switch_button.labels.label_off,on_callback:t,off_callback:t};jQuery(this).switchButton(e)})}})}}); //# sourceMappingURL=switch-button.js.map