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AAe,4BAA4B;WAC3C,eAAe;WACf,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA,8CAA8C;;;;;WCA9C;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;;;;;;;;;;ACNA;AACA","sources":["webpack://advanced-custom-fields-pro/./src/advanced-custom-fields-pro/assets/src/js/pro/_acf-setting-clone.js","webpack://advanced-custom-fields-pro/./src/advanced-custom-fields-pro/assets/src/js/pro/_acf-setting-flexible-content.js","webpack://advanced-custom-fields-pro/./src/advanced-custom-fields-pro/assets/src/js/pro/_acf-setting-repeater.js","webpack://advanced-custom-fields-pro/webpack/bootstrap","webpack://advanced-custom-fields-pro/webpack/runtime/compat get default export","webpack://advanced-custom-fields-pro/webpack/runtime/define property getters","webpack://advanced-custom-fields-pro/webpack/runtime/hasOwnProperty shorthand","webpack://advanced-custom-fields-pro/webpack/runtime/make namespace object","webpack://advanced-custom-fields-pro/./src/advanced-custom-fields-pro/assets/src/js/pro/acf-pro-field-group.js"],"sourcesContent":["( function ( $ ) {\n\t/**\n\t * CloneDisplayFieldSetting\n\t *\n\t * Extra logic for this field setting\n\t *\n\t * @date\t18/4/18\n\t * @since\t5.6.9\n\t *\n\t * @param\tvoid\n\t * @return\tvoid\n\t */\n\n\tvar CloneDisplayFieldSetting = acf.FieldSetting.extend( {\n\t\ttype: 'clone',\n\t\tname: 'display',\n\t\trender: function () {\n\t\t\t// vars\n\t\t\tvar display = this.field.val();\n\n\t\t\t// set data attribute used by CSS to hide/show\n\t\t\tthis.$fieldObject.attr( 'data-display', display );\n\t\t},\n\t} );\n\n\tacf.registerFieldSetting( CloneDisplayFieldSetting );\n\n\t/**\n\t * ClonePrefixLabelFieldSetting\n\t *\n\t * Extra logic for this field setting\n\t *\n\t * @date\t18/4/18\n\t * @since\t5.6.9\n\t *\n\t * @param\tvoid\n\t * @return\tvoid\n\t */\n\n\tvar ClonePrefixLabelFieldSetting = acf.FieldSetting.extend( {\n\t\ttype: 'clone',\n\t\tname: 'prefix_label',\n\t\trender: function () {\n\t\t\t// vars\n\t\t\tvar prefix = '';\n\n\t\t\t// if checked\n\t\t\tif ( this.field.val() ) {\n\t\t\t\tprefix = this.fieldObject.prop( 'label' ) + ' ';\n\t\t\t}\n\n\t\t\t// update HTML\n\t\t\tthis.$( 'code' ).html( prefix + '%field_label%' );\n\t\t},\n\t} );\n\n\tacf.registerFieldSetting( ClonePrefixLabelFieldSetting );\n\n\t/**\n\t * ClonePrefixNameFieldSetting\n\t *\n\t * Extra logic for this field setting\n\t *\n\t * @date\t18/4/18\n\t * @since\t5.6.9\n\t *\n\t * @param\tvoid\n\t * @return\tvoid\n\t */\n\n\tvar ClonePrefixNameFieldSetting = acf.FieldSetting.extend( {\n\t\ttype: 'clone',\n\t\tname: 'prefix_name',\n\t\trender: function () {\n\t\t\t// vars\n\t\t\tvar prefix = '';\n\n\t\t\t// if checked\n\t\t\tif ( this.field.val() ) {\n\t\t\t\tprefix = this.fieldObject.prop( 'name' ) + '_';\n\t\t\t}\n\n\t\t\t// update HTML\n\t\t\tthis.$( 'code' ).html( prefix + '%field_name%' );\n\t\t},\n\t} );\n\n\tacf.registerFieldSetting( ClonePrefixNameFieldSetting );\n\n\t/**\n\t * cloneFieldSelectHelper\n\t *\n\t * Customizes the clone field setting Select2 isntance\n\t *\n\t * @date\t18/4/18\n\t * @since\t5.6.9\n\t *\n\t * @param\tvoid\n\t * @return\tvoid\n\t */\n\n\tvar cloneFieldSelectHelper = new acf.Model( {\n\t\tfilters: {\n\t\t\tselect2_args: 'select2Args',\n\t\t},\n\n\t\tselect2Args: function ( options, $select, data, $el, instance ) {\n\t\t\t// check\n\t\t\tif ( data.ajaxAction == 'acf/fields/clone/query' ) {\n\t\t\t\t// remain open on select\n\t\t\t\toptions.closeOnSelect = false;\n\n\t\t\t\t// customize ajaxData function\n\t\t\t\tinstance.data.ajaxData = this.ajaxData;\n\t\t\t}\n\n\t\t\t// return\n\t\t\treturn options;\n\t\t},\n\n\t\tajaxData: function ( data ) {\n\t\t\t// find current fields\n\t\t\tdata.fields = {};\n\n\t\t\t// loop\n\t\t\tacf.getFieldObjects().map( function ( fieldObject ) {\n\t\t\t\t// append\n\t\t\t\tdata.fields[ fieldObject.prop( 'key' ) ] = {\n\t\t\t\t\tkey: fieldObject.prop( 'key' ),\n\t\t\t\t\ttype: fieldObject.prop( 'type' ),\n\t\t\t\t\tlabel: fieldObject.prop( 'label' ),\n\t\t\t\t\tancestors: fieldObject.getParents().length,\n\t\t\t\t};\n\t\t\t} );\n\n\t\t\t// append title\n\t\t\tdata.title = $( '#title' ).val();\n\n\t\t\t// return\n\t\t\treturn data;\n\t\t},\n\t} );\n} )( jQuery );\n","( function ( $ ) {\n\t/**\n\t * CloneDisplayFieldSetting\n\t *\n\t * Extra logic for this field setting\n\t *\n\t * @date\t18/4/18\n\t * @since\t5.6.9\n\t *\n\t * @param\tvoid\n\t * @return\tvoid\n\t */\n\n\tvar FlexibleContentLayoutFieldSetting = acf.FieldSetting.extend( {\n\t\ttype: 'flexible_content',\n\t\tname: 'fc_layout',\n\n\t\tevents: {\n\t\t\t'blur .layout-label': 'onChangeLabel',\n\t\t\t'click .add-layout': 'onClickAdd',\n\t\t\t'click .duplicate-layout': 'onClickDuplicate',\n\t\t\t'click .delete-layout': 'onClickDelete',\n\t\t},\n\n\t\t$input: function ( name ) {\n\t\t\treturn $( '#' + this.getInputId() + '-' + name );\n\t\t},\n\n\t\t$list: function () {\n\t\t\treturn this.$( '.acf-field-list:first' );\n\t\t},\n\n\t\tgetInputId: function () {\n\t\t\treturn (\n\t\t\t\tthis.fieldObject.getInputId() +\n\t\t\t\t'-layouts-' +\n\t\t\t\tthis.field.get( 'id' )\n\t\t\t);\n\t\t},\n\n\t\t// get all sub fields\n\t\tgetFields: function () {\n\t\t\treturn acf.getFieldObjects( { parent: this.$el } );\n\t\t},\n\n\t\t// get imediate children\n\t\tgetChildren: function () {\n\t\t\treturn acf.getFieldObjects( { list: this.$list() } );\n\t\t},\n\n\t\tinitialize: function () {\n\t\t\t// add sortable\n\t\t\tvar $tbody = this.$el.parent();\n\t\t\tif ( ! $tbody.hasClass( 'ui-sortable' ) ) {\n\t\t\t\t$tbody.sortable( {\n\t\t\t\t\titems: '> .acf-field-setting-fc_layout',\n\t\t\t\t\thandle: '.reorder-layout',\n\t\t\t\t\tforceHelperSize: true,\n\t\t\t\t\tforcePlaceholderSize: true,\n\t\t\t\t\tscroll: true,\n\t\t\t\t\tstop: this.proxy( function ( event, ui ) {\n\t\t\t\t\t\tthis.fieldObject.save();\n\t\t\t\t\t} ),\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\t// add meta to sub fields\n\t\t\tthis.updateFieldLayouts();\n\t\t},\n\n\t\tupdateFieldLayouts: function () {\n\t\t\tthis.getChildren().map( this.updateFieldLayout, this );\n\t\t},\n\n\t\tupdateFieldLayout: function ( field ) {\n\t\t\tfield.prop( 'parent_layout', this.get( 'id' ) );\n\t\t},\n\n\t\tonChangeLabel: function ( e, $el ) {\n\t\t\t// vars\n\t\t\tvar label = $el.val();\n\t\t\tvar $name = this.$input( 'name' );\n\n\t\t\t// render name\n\t\t\tif ( $name.val() == '' ) {\n\t\t\t\tacf.val( $name, acf.strSanitize( label ) );\n\t\t\t}\n\t\t},\n\n\t\tonClickAdd: function ( e, $el ) {\n\t\t\t// vars\n\t\t\tvar prevKey = this.get( 'id' );\n\t\t\tvar newKey = acf.uniqid( 'layout_' );\n\n\t\t\t// duplicate\n\t\t\t$layout = acf.duplicate( {\n\t\t\t\t$el: this.$el,\n\t\t\t\tsearch: prevKey,\n\t\t\t\treplace: newKey,\n\t\t\t\tafter: function ( $el, $el2 ) {\n\t\t\t\t\t// vars\n\t\t\t\t\tvar $list = $el2.find( '.acf-field-list:first' );\n\n\t\t\t\t\t// remove sub fields\n\t\t\t\t\t$list.children( '.acf-field-object' ).remove();\n\n\t\t\t\t\t// show empty\n\t\t\t\t\t$list.addClass( '-empty' );\n\n\t\t\t\t\t// reset layout meta values\n\t\t\t\t\t$el2.find( '.acf-fc-meta input' ).val( '' );\n\t\t\t\t},\n\t\t\t} );\n\n\t\t\t// get layout\n\t\t\tvar layout = acf.getFieldSetting( $layout );\n\n\t\t\t// update hidden input\n\t\t\tlayout.$input( 'key' ).val( newKey );\n\n\t\t\t// save\n\t\t\tthis.fieldObject.save();\n\t\t},\n\n\t\tonClickDuplicate: function ( e, $el ) {\n\t\t\t// vars\n\t\t\tvar prevKey = this.get( 'id' );\n\t\t\tvar newKey = acf.uniqid( 'layout_' );\n\n\t\t\t// duplicate\n\t\t\t$layout = acf.duplicate( {\n\t\t\t\t$el: this.$el,\n\t\t\t\tsearch: prevKey,\n\t\t\t\treplace: newKey,\n\t\t\t} );\n\n\t\t\t// get all fields in new layout similar to fieldManager.onDuplicateField().\n\t\t\t// important to run field.wipe() before making any changes to the \"parent_layout\" prop\n\t\t\t// to ensure the correct input is modified.\n\t\t\tvar children = acf.getFieldObjects( { parent: $layout } );\n\t\t\tif ( children.length ) {\n\t\t\t\t// loop\n\t\t\t\tchildren.map( function ( child ) {\n\t\t\t\t\t// wipe field\n\t\t\t\t\tchild.wipe();\n\n\t\t\t\t\t// update parent\n\t\t\t\t\tchild.updateParent();\n\t\t\t\t} );\n\n\t\t\t\t// action\n\t\t\t\tacf.doAction(\n\t\t\t\t\t'duplicate_field_objects',\n\t\t\t\t\tchildren,\n\t\t\t\t\tthis.fieldObject,\n\t\t\t\t\tthis.fieldObject\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// get layout\n\t\t\tvar layout = acf.getFieldSetting( $layout );\n\n\t\t\t// update hidden input\n\t\t\tlayout.$input( 'key' ).val( newKey );\n\n\t\t\t// save\n\t\t\tthis.fieldObject.save();\n\t\t},\n\n\t\tonClickDelete: function ( e, $el ) {\n\t\t\t// Bypass confirmation when holding down \"shift\" key.\n\t\t\tif ( e.shiftKey ) {\n\t\t\t\treturn this.delete();\n\t\t\t}\n\n\t\t\t// add class\n\t\t\tthis.$el.addClass( '-hover' );\n\n\t\t\t// add tooltip\n\t\t\tvar tooltip = acf.newTooltip( {\n\t\t\t\tconfirmRemove: true,\n\t\t\t\ttarget: $el,\n\t\t\t\tcontext: this,\n\t\t\t\tconfirm: function () {\n\t\t\t\t\tthis.delete();\n\t\t\t\t},\n\t\t\t\tcancel: function () {\n\t\t\t\t\tthis.$el.removeClass( '-hover' );\n\t\t\t\t},\n\t\t\t} );\n\t\t},\n\n\t\tdelete: function () {\n\t\t\t// vars\n\t\t\tvar $siblings = this.$el.siblings( '.acf-field-setting-fc_layout' );\n\n\t\t\t// validate\n\t\t\tif ( ! $siblings.length ) {\n\t\t\t\talert(\n\t\t\t\t\tacf.__( 'Flexible Content requires at least 1 layout' )\n\t\t\t\t);\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t// delete sub fields\n\t\t\tthis.getFields().map( function ( child ) {\n\t\t\t\tchild.delete( {\n\t\t\t\t\tanimate: false,\n\t\t\t\t} );\n\t\t\t} );\n\n\t\t\t// remove tr\n\t\t\tacf.remove( this.$el );\n\n\t\t\t// save\n\t\t\tthis.fieldObject.save();\n\t\t},\n\t} );\n\n\tacf.registerFieldSetting( FlexibleContentLayoutFieldSetting );\n\n\t/**\n\t * flexibleContentHelper\n\t *\n\t * description\n\t *\n\t * @date\t19/4/18\n\t * @since\t5.6.9\n\t *\n\t * @param\ttype $var Description. Default.\n\t * @return\ttype Description.\n\t */\n\n\tvar flexibleContentHelper = new acf.Model( {\n\t\tactions: {\n\t\t\tsortstop_field_object: 'updateParentLayout',\n\t\t\tchange_field_object_parent: 'updateParentLayout',\n\t\t},\n\n\t\tupdateParentLayout: function ( fieldObject ) {\n\t\t\t// vars\n\t\t\tvar parent = fieldObject.getParent();\n\n\t\t\t// delete meta\n\t\t\tif ( ! parent || parent.prop( 'type' ) !== 'flexible_content' ) {\n\t\t\t\tfieldObject.prop( 'parent_layout', null );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// get layout\n\t\t\tvar $layout = fieldObject.$el.closest(\n\t\t\t\t'.acf-field-setting-fc_layout'\n\t\t\t);\n\t\t\tvar layout = acf.getFieldSetting( $layout );\n\n\t\t\t// check if previous prop exists\n\t\t\t// - if not, set prop to allow following code to trigger 'change' and save the field\n\t\t\tif ( ! fieldObject.has( 'parent_layout' ) ) {\n\t\t\t\tfieldObject.prop( 'parent_layout', 0 );\n\t\t\t}\n\n\t\t\t// update meta\n\t\t\tfieldObject.prop( 'parent_layout', layout.get( 'id' ) );\n\t\t},\n\t} );\n} )( jQuery );\n","( function ( $ ) {\n\t/*\n\t * Repeater\n\t *\n\t * This field type requires some extra logic for its settings\n\t *\n\t * @type\tfunction\n\t * @date\t24/10/13\n\t * @since\t5.0.0\n\t *\n\t * @param\tn/a\n\t * @return\tn/a\n\t */\n\n\tvar RepeaterCollapsedFieldSetting = acf.FieldSetting.extend( {\n\t\ttype: 'repeater',\n\t\tname: 'collapsed',\n\t\tevents: {\n\t\t\t'focus select': 'onFocus',\n\t\t},\n\t\tonFocus: function ( e, $el ) {\n\t\t\t// vars\n\t\t\tvar $select = $el;\n\n\t\t\t// collapsed\n\t\t\tvar choices = [];\n\n\t\t\t// keep 'null' choice\n\t\t\tchoices.push( {\n\t\t\t\tlabel: $select.find( 'option[value=\"\"]' ).text(),\n\t\t\t\tvalue: '',\n\t\t\t} );\n\n\t\t\t// find sub fields\n\t\t\tvar $list = this.fieldObject.$( '.acf-field-list:first' );\n\t\t\tvar fields = acf.getFieldObjects( {\n\t\t\t\tlist: $list,\n\t\t\t} );\n\n\t\t\t// loop\n\t\t\tfields.map( function ( field ) {\n\t\t\t\tchoices.push( {\n\t\t\t\t\tlabel: field.prop( 'label' ),\n\t\t\t\t\tvalue: field.prop( 'key' ),\n\t\t\t\t} );\n\t\t\t} );\n\n\t\t\t// render\n\t\t\tacf.renderSelect( $select, choices );\n\t\t},\n\t} );\n\n\tacf.registerFieldSetting( RepeaterCollapsedFieldSetting );\n} )( jQuery );\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import './_acf-setting-repeater.js';\nimport './_acf-setting-flexible-content.js';\nimport './_acf-setting-clone.js';\n"],"names":["$","CloneDisplayFieldSetting","acf","FieldSetting","extend","type","name","render","display","field","val","$fieldObject","attr","registerFieldSetting","ClonePrefixLabelFieldSetting","prefix","fieldObject","prop","html","ClonePrefixNameFieldSetting","cloneFieldSelectHelper","Model","filters","select2_args","select2Args","options","$select","data","$el","instance","ajaxAction","closeOnSelect","ajaxData","fields","getFieldObjects","map","key","label","ancestors","getParents","length","title","jQuery","FlexibleContentLayoutFieldSetting","events","$input","getInputId","$list","get","getFields","parent","getChildren","list","initialize","$tbody","hasClass","sortable","items","handle","forceHelperSize","forcePlaceholderSize","scroll","stop","proxy","event","ui","save","updateFieldLayouts","updateFieldLayout","onChangeLabel","e","$name","strSanitize","onClickAdd","prevKey","newKey","uniqid","$layout","duplicate","search","replace","after","$el2","find","children","remove","addClass","layout","getFieldSetting","onClickDuplicate","child","wipe","updateParent","doAction","onClickDelete","shiftKey","delete","tooltip","newTooltip","confirmRemove","target","context","confirm","cancel","removeClass","$siblings","siblings","alert","__","animate","flexibleContentHelper","actions","sortstop_field_object","change_field_object_parent","updateParentLayout","getParent","closest","has","RepeaterCollapsedFieldSetting","onFocus","choices","push","text","value","renderSelect"],"sourceRoot":""}