!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=7)}({7:function(t,e){var n;(n=jQuery)((function(){var t,e,r,o=n("#post-review-box");o.length>0&&(t=o.find(".breakdowns_container"),e=o.find(".breakdowns_count"),r=o.find(".add_breakdown"),o.on("click",".delete_breakdown",(function(){var t=n(this).parents(".breakdown");t.slideUp("fast",(function(){t.remove();var e=o.find(".breakdown");e.length<=1?e.find(".delete_breakdown").hide():e.find(".delete_breakdown").show()}))})),r.on("click",(function(n){n.preventDefault();var r=e.val();t.append('<div class="breakdown group" data-breakdown_id="'+r+'">\t\t\t\t\t\t<div class="header">'+EXTRA.label_breakdown_number+r+'</div>\t\t\t\t\t\t<div class="content">\t\t\t\t\t\t\t<div class="delete_breakdown">X</div>\t\t\t\t\t\t\t<p class="field_wrap">\t\t\t\t\t\t\t\t<label for="_post_review_box_breakdowns['+r+'][title]">'+EXTRA.label_breakdown_title+'</label>\t\t\t\t\t\t\t\t<input class="widefat" id="_post_review_box_breakdowns['+r+'][title]" name="_post_review_box_breakdowns['+r+'][title]" type="text" value="">\t\t\t\t\t\t\t</p>\t\t\t\t\t\t\t<p class="field_wrap">\t\t\t\t\t\t\t\t<label for="_post_review_box_breakdowns['+r+'][rating]">'+EXTRA.label_breakdown_rating+'</label>\t\t\t\t\t\t\t\t<input class="widefat" id="_post_review_box_breakdowns['+r+'][rating]" name="_post_review_box_breakdowns['+r+'][rating]" type="text" value="">\t\t\t\t\t\t\t</p>\t\t\t\t\t\t</div>\t\t\t\t\t</div>'),(t=o.find(".breakdowns_container")).accordion("refresh"),t.find(".group").last().find(".header").trigger("click"),o.find(".delete_breakdown").show(),e.val(parseInt(r)+1)})),o.find(".breakdowns_container").accordion({header:"> div > .header",heightStyle:"content",collapsible:!0}))}))}});