"use strict";(self.webpackJSONPwpmdb=self.webpackJSONPwpmdb||[]).push([[135],{83135:function(e,t,l){var r=l(4665),n=l(62295),a=l(42233),s=l(75338);t.Z=e=>{var t="exclude-files-".concat(e.type),l=e=>{var t=e.type,l=(0,n.v9)((e=>e.migrations)),i=l.current_migration,p=l.local_site,u=l.remote_site;return r.createElement("p",null,(0,s.ZP)((0,a.gB)((0,a.__)('Use <a href="%s" target="_blank" rel="noopener noreferrer">gitignore patterns</a> to exclude files relative to <code>%s</code>',"wp-migrate-db"),"https://deliciousbrains.com/wp-migrate-db-pro/doc/ignored-files/",(()=>{var e,l,r,n,a,s="pull"===i.intent,c=s?u:p,d=c.site_details,o=d.themes_path,m=d.plugins_path,g=d.muplugins_path,_=d.content_dir,h=s?c.path:c.this_path,w=(e,t)=>void 0===e?null:e.replace(t,"").replace(/^\/|\/$/g,"");switch(t){case"themes":return null!==(e=w(o,h))&&void 0!==e?e:"wp-content/themes";case"plugins":return null!==(l=w(m,h))&&void 0!==l?l:"wp-content/plugins";case"muplugins":return null!==(r=w(g,h))&&void 0!==r?r:"wp-content/mu-plugins";case"media":return null!==(n=w(s?c.wp_upload_dir:c.this_wp_upload_dir,h))&&void 0!==n?n:"wp-content/uploads";case"others":return null!==(a=w(_,h))&&void 0!==a?a:"wp-content";default:return""}})())))};return r.createElement(r.Fragment,null,r.createElement("h4",{className:"exclude-files-title",id:t},(0,s.ZP)((0,a.gB)((0,a.__)('Excluded Files<span class="screen-reader-text"> %s</span>',"wp-migrate-db"),e.type))),r.createElement(l,{type:e.type}),r.createElement("textarea",{onChange:t=>{e.excludesUpdater(t.target.value,e.type)},value:e.excludes||"","aria-labelledby":t}))}}}]);