import{$ as e}from"./jquery-BJllTr_o.js";import{i as d}from"./codemirror-initialize-X9RoGwOm.js";import{f as c}from"./file-manager-BqTxa2JX.js";import"./mapbox-Cpj98o6Y.js";import"./helper-DH3MvDof.js";import"./moment-BxhnadHa.js";d("editorContainer");c("file-uploader","image");const s=e("#adsense-fields"),i=e("#adsterra"),a=e("#html-code"),t=e("#image"),o=e("#link"),l=e(".select-2");function r(n){switch(s.hide(),i.hide(),a.hide(),t.hide(),o.hide(),n){case"adsense":s.show();break;case"adsterra":i.show();break;case"custom":a.show();break;default:t.show(),o.show()}}r(e("#type").val());l.on("change",function(){["adsense","adsterra","custom","image"].includes(e(this).val())&&r(e(this).val())});
