text: var form_picker = function () {
  
      //BEGIN COLOR PICKER
      var handleColorPicker = function () {
          $('.colorpicker-default').colorpicker();
          $('.colorpicker-rgba').colorpicker();
          $('.colorpicker-component').colorpicker({
              format: 'hex'
          }).on('changeColor', function (ev) {
              $('.colorpicker-component span i').css('color', ev.color.toHex());
              $('.colorpicker-component input').val(ev.color.toHex());
          });
      }
      //END COLOR PICKER
  
      //BEGIN DATETIME PICKER
      var handleDateTimePicker = function () {
          $('.datetimepicker-default').datetimepicker();
          $('.datetimepicker-disable-date').datetimepicker({
              pickDate: false
          });
          $('.datetimepicker-disable-time').datetimepicker({
              pickTime: false
          });
          $('.datetimepicker-start').datetimepicker();
          $('.datetimepicker-end').datetimepicker();
          $('.datetimepicker-start').on("change.dp", function (e) {
              $('.datetimepicker-end').data("DateTimePicker").setStartDate(e.date);
          });
          $('.datetimepicker-end').on("change.dp", function (e) {
              $('.datetimepicker-start').data("DateTimePicker").setEndDate(e.date);
          });
      }
      //END DATETIME PICKER
  
      //BEGIN TIME PICKER
      var handleTimePicker = function () {
          $('.timepicker-default').timepicker();
          $('.timepicker-24hr').timepicker({
              autoclose: true,
              minuteStep: 1,
              showSeconds: true,
              showMeridian: false
          });
      }
      //END TIME PICKER
  
      //BEGIN CLOCKFACE
      var handleClockFace = function () {
          $('.clockface-default').clockface();
          $('.clockface-component').clockface({
              format: 'HH:mm',
              trigger: 'manual'
          });
  
          $('.btn-clockface-component').click(function (e) {
              e.stopPropagation();
              $('.clockface-component').clockface('toggle');
          });
  
          $('.clockface-inline').clockface({
              format: 'H:mm'
          }).clockface('show', '14:30');
      }
      //END CLOCKFACE
  
      //BEGIN DATE PICKER
      var handleDatePicker = function () {
          $('.datepicker-default').datepicker();
          $('.datepicker-years').datepicker({
              startView: 1,
              minViewMode: 2
          });
          $('.input-daterange').datepicker({
              format: "dd-mm-yyyy"
          });
          $('.datepicker-inline').datepicker({
              format: "dd-mm-yyyy",
              startView: 2,
              minViewMode: 1
          });
      }
      //END DATE PICKER
  
      //BEGIN DATE RANGE PICKER
      var handleDateRangePicker = function () {
          $('input[name="daterangepicker-default"]').daterangepicker();
          $('input[name="daterangepicker-date-time"]').daterangepicker({
              timePicker: true,
              timePickerIncrement: 30,
              format: 'MM/DD/YYYY h:mm A'
          });
          $('.reportrange').daterangepicker(
              {
                  ranges: {
                      'Today': [moment(), moment()],
                      'Yesterday': [moment().subtract('days', 1), moment().subtract('days', 1)],
                      'Last 7 Days': [moment().subtract('days', 6), moment()],
                      'Last 30 Days': [moment().subtract('days', 29), moment()],
                      'This Month': [moment().startOf('month'), moment().endOf('month')],
                      'Last Month': [moment().subtract('month', 1).startOf('month'), moment().subtract('month', 1).endOf('month')]
                  },
                  startDate: moment().subtract('days', 29),
                  endDate: moment(),
                  opens: 'left'
              },
              function (start, end) {
                  $('.reportrange span').html(start.format('MMMM D, YYYY') + ' - ' + end.format('MMMM D, YYYY'));
                  $('input[name="datestart"]').val(start.format("YYYY-MM-DD"));
                  $('input[name="endstart"]').val(end.format("YYYY-MM-DD"));
              }
          );
          $('.reportrange span').html(moment().subtract('days', 29).format('MMMM D, YYYY') + ' - ' + moment().format('MMMM D, YYYY'));
      }
      //END DATE RANGE PICKER
  
      return {
          init: function () {
              handleColorPicker();
              handleDateRangePicker();
              handleDateTimePicker();
              handleTimePicker();
              handleClockFace();
              handleDatePicker();
          }
      }
  }(jQuery);
  
  