Файловый менеджер - Редактировать - /home/beautybuzzbeyond/public_html/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/post-settings.b6f84d1a.js
Назад
var ce=Object.defineProperty;var le=(n,s,c)=>s in n?ce(n,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):n[s]=c;var A=(n,s,c)=>le(n,typeof s!="symbol"?s+"":s,c);import{v as l,o as _,c as f,C as i,a,t as m,l as g,k,b as V,x as O,F as de,J as pe,q as ue,T as me,Y as N,h as U}from"./js/runtime-dom.esm-bundler.6789c400.js";import{e as K,l as _e}from"./js/index.3eb8f806.js";import{l as ge}from"./js/index.ee8124c6.js";import{l as fe}from"./js/index.1ca84f0e.js";import{e as B,B as H,f as be,u as ne,G as he,o as Se,z as we,A as ve,c as xe}from"./js/index.5a710757.js";import{y as j,i as ye}from"./js/helpers.b97d7047.js";import{d as Ce}from"./js/debounce.40834200.js";import{_ as ie}from"./js/App.d867d60c.js";import{s as ae}from"./js/metabox.1128ddb8.js";import"./js/translations.12335a6a.js";import{_ as o}from"./js/default-i18n.54b5d8cd.js";import{e as Pe}from"./js/elemLoaded.5e0343ce.js";import{l as Le}from"./js/loadTruSeo.2ecf3383.js";import{d as Ee}from"./js/Caret.662da1f3.js";import{C as re}from"./js/SettingsRow.1934f141.js";import{_ as S}from"./js/_plugin-vue_export-helper.249dac1d.js";import{d as Ae,L as Ie,C as Ve,G as ke,e as Q,H as X}from"./js/constants.2019bcb3.js";import{B as Be}from"./js/Phone.5d7c5570.js";import{C as De}from"./js/Tabs.08a4fd23.js";import{B as Oe}from"./js/Checkbox.e983780b.js";import{B as He}from"./js/RadioToggle.64619d6b.js";import{S as Te}from"./js/Settings.d1d930e5.js";import"./js/helpers.f95d5840.js";import"./js/cleanForSlug.f9ffe7db.js";import"./js/toString.1401d490.js";import"./js/_baseTrim.940c51cf.js";import"./js/_stringToArray.08127ca9.js";import"./js/_baseSet.32e7a763.js";import"./js/regex.f8017116.js";import"./js/toNumber.30f8b529.js";/* empty css */import"./js/LicenseKeyBar.116709fd.js";import"./js/ScrollTo.97c9805f.js";import"./js/params.764403f6.js";import"./js/LogoGear.29bd352d.js";import"./js/allowed.b971be4c.js";import"./js/Row.f01f32cd.js";import"./js/Url.cc9d8d5e.js";import"./js/Index.c4d148bc.js";import"./js/MaxCounts.d28a6cb7.js";import"./js/Tags.3157574f.js";import"./js/Ellipse.c57f22ea.js";import"./js/toFinite.bbcc0565.js";import"./js/TruSeoScore.13b74a09.js";import"./js/Tooltip.b6b45c85.js";import"./js/Statistics.324b239a.js";import"./js/Plus.c3a1a43f.js";import"./js/Eye.902c8763.js";import"./js/GoogleSearchPreview.805aa110.js";import"./js/HtmlTagsEditor.b85e0cfa.js";import"./js/Editor.e5877fb8.js";import"./js/isEqual.51bf23f5.js";import"./js/_baseIsEqual.6bc92395.js";import"./js/_getTag.8dc22eac.js";import"./js/_baseClone.50c6045c.js";import"./js/_arrayEach.f4f00336.js";import"./js/UnfilteredHtml.559aa5ad.js";import"./js/Slide.d0517fb0.js";import"./js/ProBadge.7733ac87.js";import"./js/popup.189dc215.js";import"./js/SetupWizardStore.f2a8f9f3.js";import"./js/datetime.cb3980ce.js";import"./js/license.03044dbc.js";import"./js/upperFirst.96c04516.js";import"./js/Mobile.3fcac169.js";import"./js/vue3-apexcharts.8b5abfad.js";import"./js/ConnectCta.5056f139.js";import"./js/GoogleSearchConsole.c9d25148.js";import"./js/Index.c0a0a208.js";import"./js/Blur.31bfcf06.js";import"./js/Graph.4f83fda6.js";import"./js/numbers.b55b32c5.js";import"./js/WpTable.40f759ac.js";import"./js/Table.0a6a3fdb.js";import"./js/Download.6a0d8455.js";import"./js/RequiredPlans.7723218f.js";import"./js/addons.ef42f038.js";import"./js/PostTypes.d6c1987b.js";import"./js/External.b3b0805d.js";import"./js/InternalOutbound.b4a71286.js";import"./js/Image.72fb04c2.js";import"./js/FacebookPreview.e03b069d.js";import"./js/Img.2fc40874.js";import"./js/Profile.19fffd1c.js";import"./js/ImageUploader.82ab8ffd.js";import"./js/TwitterPreview.4c191e49.js";import"./js/Book.e7bb6a80.js";import"./js/Build.828bd995.js";import"./js/Redirects.31560156.js";import"./js/Index.2a80ac06.js";import"./js/JsonValues.892a7505.js";import"./js/External.c84e4310.js";import"./js/escapeRegExp.d673186c.js";import"./js/Exclamation.bf79561a.js";import"./js/Gear.1433c8c3.js";import"./js/date.839db266.js";import"./js/DatePicker.b0d8c799.js";import"./js/Calendar.4686ac3f.js";import"./js/pick.231724a9.js";import"./js/Card.5b602127.js";import"./js/Upsell.3b19b12e.js";import"./js/preload-helper.73eeda98.js";import"./js/vue-router.fc4966b9.js";import"./js/Information.82968754.js";import"./js/Checkmark.32f79576.js";import"./js/TableOfContentsStore.564030c3.js";const ee=()=>{let s=B().currentPost.postStatus;return H()&&(s=window.wp.data.select("core/editor").getCurrentPostAttribute("status")),s};class Re{constructor(){A(this,"previousPostSlug");A(this,"previousPostStatus");A(this,"updatingRedirects",!1);A(this,"update",Ce(()=>{const s=j(),c=ee();if(this.previousPostSlug===s&&this.previousPostStatus===c)return;this.previousPostSlug=s,this.previousPostStatus=c,this.updatingRedirects=!0,Se().getPostRedirects({}).finally(()=>{this.updatingRedirects=!1})},2500));const s=be(),c=ne(),t=s.addons.find(e=>e.sku==="aioseo-redirects");!c.aioseo.currentPost||!t||!t.isActive||c.aioseo.redirectsWatcherSet||(this.initWatchers(),c.aioseo.redirectsWatcherSet=!0)}initWatchers(){if(!he()&&H()){const s=window.setInterval(()=>{window.wp.data.select("core/editor").getCurrentPost().id&&(window.clearInterval(s),this.previousPostSlug=j(),this.previousPostStatus=ee(),this.watchBlockEditor())},50)}}watchBlockEditor(){window.wp.data.subscribe(()=>{this.updatingRedirects||this.update()})}}function $e(){var D,W,F,G,Y,Z,q,J;const n="all-in-one-seo-pack";if(!H()||!ae())return;const s=ne();if(s.aioseo.registerScoreTogglerSet)return;s.aioseo.registerScoreTogglerSet=!0;const c=window.wp.plugins.registerPlugin,t=((W=(D=window==null?void 0:window.wp)==null?void 0:D.editor)==null?void 0:W.PluginSidebarMoreMenuItem)||((G=(F=window.wp)==null?void 0:F.editPost)==null?void 0:G.PluginSidebarMoreMenuItem),e=((Z=(Y=window==null?void 0:window.wp)==null?void 0:Y.editor)==null?void 0:Z.PluginSidebar)||((J=(q=window.wp)==null?void 0:q.editPost)==null?void 0:J.PluginSidebar),d=window.wp.element.Fragment,r=window.wp.element.createElement,p=s.aioseo.user.capabilities.aioseo_page_analysis,x=B().currentPost.seo_score,y=o("N/A",n),C=function(T){return!p||!ye()?"score-disabled":80<T?"score-green":50<T?"score-orange":1<T?"score-red":"score-disabled"},b=r("svg",{width:24,height:24,fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},r("path",{d:"M11.9811 23.7877C18.5428 23.7877 23.8623 18.4684 23.8623 11.9066C23.8623 5.34477 18.5428 0.0253906 11.9811 0.0253906C5.41924 0.0253906 0.0998535 5.34477 0.0998535 11.9066C0.0998535 18.4684 5.41924 23.7877 11.9811 23.7877ZM10.0892 4.37389C9.92824 4.12859 9.6301 4.01391 9.35674 4.11048C9.04535 4.22048 8.74079 4.34987 8.44488 4.49781C8.18513 4.6277 8.05479 4.92439 8.11199 5.21372L8.31571 6.24468C8.36815 6.51003 8.25986 6.77935 8.0543 6.95044C7.72937 7.22084 7.42944 7.52654 7.16069 7.86489C6.99366 8.07521 6.73011 8.18668 6.46987 8.13409L5.45923 7.92995C5.17534 7.87259 4.88492 8.00678 4.75864 8.27251C4.68731 8.42264 4.61997 8.57591 4.55683 8.73224C4.49369 8.88855 4.43564 9.04574 4.38258 9.20355C4.28872 9.4829 4.40211 9.78694 4.64318 9.95035L5.50129 10.5321C5.72226 10.6819 5.8323 10.9505 5.80561 11.2198C5.76265 11.6532 5.76441 12.0857 5.80825 12.5112C5.83598 12.7804 5.72684 13.0494 5.5064 13.2L4.64996 13.785C4.40958 13.9493 4.29718 14.2535 4.3918 14.5324C4.49961 14.8502 4.62641 15.1609 4.7714 15.4629C4.89868 15.728 5.18943 15.8609 5.47301 15.8026L6.48336 15.5947C6.7434 15.5412 7.00735 15.6517 7.17499 15.8615C7.43997 16.193 7.73956 16.499 8.07114 16.7733C8.27723 16.9437 8.38649 17.2127 8.33498 17.4782L8.13487 18.5095C8.07868 18.7992 8.2102 19.0955 8.47059 19.2244C8.61773 19.2971 8.76793 19.3659 8.92112 19.4303C9.07434 19.4947 9.22835 19.5539 9.38302 19.6081C9.83552 19.7664 10.4688 19.1996 10.937 18.7805C11.1679 18.5738 11.3103 18.2813 11.3119 17.9682C11.3119 17.9665 11.3119 17.9648 11.3119 17.9632V16.2386C11.3119 16.2204 11.3125 16.2022 11.3139 16.1843C9.93098 15.847 8.90283 14.5775 8.90283 13.0629V11.2317C8.90283 11.0925 9.01342 10.9797 9.14984 10.9797H10.0064V9.17798C10.0064 8.92921 10.204 8.72754 10.4478 8.72754C10.6916 8.72754 10.8892 8.92921 10.8892 9.17798V10.9797H13.2067V9.17798C13.2067 8.92921 13.4043 8.72754 13.6481 8.72754C13.8919 8.72754 14.0895 8.92921 14.0895 9.17798V10.9797H14.9461C15.0825 10.9797 15.193 11.0925 15.193 11.2317V13.0629C15.193 14.6253 14.0989 15.927 12.6497 16.2135C12.6501 16.2218 12.6502 16.2302 12.6502 16.2386V17.9557C12.6502 18.275 12.7969 18.5727 13.0347 18.7801C13.5113 19.1958 14.1555 19.7576 14.6053 19.5987C14.9167 19.4887 15.2213 19.3593 15.5172 19.2113C15.7769 19.0814 15.9073 18.7848 15.8501 18.4954L15.6464 17.4644C15.5939 17.1991 15.7022 16.9298 15.9078 16.7587C16.2327 16.4883 16.5326 16.1826 16.8013 15.8442C16.9684 15.634 17.2319 15.5225 17.4922 15.575L18.5028 15.7792C18.7867 15.8366 19.0771 15.7024 19.2034 15.4366C19.2747 15.2865 19.3421 15.1333 19.4052 14.9769C19.4683 14.8206 19.5264 14.6634 19.5795 14.5056C19.6733 14.2263 19.5599 13.9222 19.3189 13.7588L18.4607 13.177C18.2398 13.0272 18.1297 12.7586 18.1564 12.4893C18.1994 12.056 18.1976 11.6234 18.1538 11.1979C18.1261 10.9287 18.2352 10.6598 18.4556 10.5092L19.3121 9.92409C19.5525 9.75989 19.6649 9.45566 19.5702 9.17674C19.4624 8.85899 19.3356 8.5482 19.1907 8.24628C19.0634 7.98121 18.7726 7.84823 18.489 7.90657L17.4787 8.11444C17.2187 8.16796 16.9547 8.05746 16.7871 7.84769C16.5221 7.51615 16.2225 7.2101 15.8909 6.93588C15.6848 6.76543 15.5756 6.49649 15.6271 6.23094L15.8272 5.19968C15.8834 4.90999 15.7519 4.61365 15.4914 4.48481C15.3443 4.412 15.1941 4.34331 15.0409 4.27886C14.8877 4.21444 14.7337 4.1552 14.579 4.10107C14.3053 4.00526 14.0073 4.12099 13.8472 4.36697L13.277 5.24259C13.1302 5.46808 12.867 5.58035 12.6031 5.55312C12.1784 5.5093 11.7545 5.51109 11.3375 5.55581C11.0737 5.58411 10.8101 5.47276 10.6625 5.24782L10.0892 4.37389Z",fillRule:"evenodd",clipRule:"evenodd",fill:"#005AE0"})),h=r("div",{id:"aioseo-post-settings-sidebar-button",className:C(x)},b,r("span",{id:"aioseo-post-score-disabled"},y),r("span",{id:"aioseo-post-score"},x),r("span",{},"/100")),w=s.aioseo.user;c("aioseo-post-settings-sidebar",{render:function(){return!w.capabilities.aioseo_page_analysis&&!w.capabilities.aioseo_page_general_settings&&!w.capabilities.aioseo_page_social_settings&&!w.capabilities.aioseo_page_schema_settings&&!w.capabilities.aioseo_page_advanced_settings?null:r(d,{},r(t,{target:"aioseo-post-settings-sidebar",icon:b},"AIOSEO"),r(e,{name:"aioseo-post-settings-sidebar",icon:h,title:"AIOSEO"},r("div",{id:"aioseo-post-settings-sidebar",className:"aioseo-post-settings-sidebar"},r("div",{id:"aioseo-post-settings-sidebar-vue",className:"aioseo-post-settings-sidebar-vue"},r("div",{className:"aioseo-loading-spinner dark",style:{left:0,right:0,margin:"30px auto"}},r("div",{className:"double-bounce1"},null),r("div",{className:"double-bounce2"},null))))))}})}let P;const Me=()=>{if(H()){const{subscribe:n,select:s}=window.wp.data,c=s("core/editor");n(()=>{const t=c==null?void 0:c.getEditedPostAttribute("featured_media");(!P||P!==t)&&(K.emit("updateFeaturedImage",t),P=t)})}if(we()||ve()){const n=window.MutationObserver||window.WebKitMutationObserver,s=new n(()=>{var e;const t=(e=document.getElementById("_thumbnail_id"))==null?void 0:e.value;(!P||P!==t)&&(K.emit("updateFeaturedImage",t),P=t)}),c=document.getElementById("postimagediv");c&&s.observe(c,{subtree:!0,childList:!0})}},Ne=()=>{Me()},Ue="all-in-one-seo-pack",ze={data(){return{strings:{areaServedDescription:o("The geographic area where a service or offered item is provided.",Ue)}}}},We={class:"aioseo-col col-xs-12 text-xs-left"},Fe={class:"field-description"};function Ge(n,s,c,t,e,d){const r=l("base-input");return _(),f("div",We,[i(r,{type:"text",size:"medium"}),a("span",Fe,m(e.strings.areaServedDescription),1)])}const Ye=S(ze,[["render",Ge],["__scopeId","data-v-f926573a"]]),L="all-in-one-seo-pack",Ze={data(){return{COUNTRY_LIST:Ae,strings:{streetAddress:o("Address Line 1",L),streetAddress2:o("Address Line 2",L),zipCode:o("Zip Code",L),city:o("City",L),state:o("State",L),country:o("Country",L)}}}},qe={class:"columns field-row"},Je={class:"aioseo-col col-xs-12 text-xs-left"},Ke={class:"field-description"},je={class:"aioseo-col col-xs-12 text-xs-left"},Qe={class:"field-description mt-8"},Xe={class:"aioseo-address-wrapper"},es={class:"aioseo-col col-xs-12 col-sm-12 col-md-4 text-xs-left"},ss={class:"field-description mt-8"},os={class:"aioseo-col col-xs-12 col-sm-12 col-md-4 text-xs-left"},ts={class:"field-description mt-8"},ns={class:"aioseo-col col-xs-12 col-sm-12 col-md-4 text-xs-left"},is={class:"field-description mt-8"},as={class:"aioseo-col col-xs-12 col-sm-6 text-xs-left"},rs={class:"field-description mt-8"};function cs(n,s,c,t,e,d){const r=l("base-input"),p=l("base-select");return _(),f("div",qe,[a("div",Je,[a("span",Ke,m(e.strings.streetAddress),1),i(r,{type:"text",size:"medium"})]),a("div",je,[a("span",Qe,m(e.strings.streetAddress2),1),i(r,{type:"text",size:"medium"})]),a("div",Xe,[a("div",es,[a("span",ss,m(e.strings.zipCode),1),i(r,{type:"text",size:"medium"})]),a("div",os,[a("span",ts,m(e.strings.city),1),i(r,{type:"text",size:"medium"})]),a("div",ns,[a("span",is,m(e.strings.state),1),i(r,{type:"text",size:"medium"})])]),a("div",as,[a("span",rs,m(e.strings.country),1),i(p,{size:"medium",options:e.COUNTRY_LIST},null,8,["options"])])])}const ls=S(Ze,[["render",cs],["__scopeId","data-v-720b3124"]]),R="all-in-one-seo-pack",ds={components:{BasePhone:Be},data(){return{strings:{emailAddress:o("Email Address",R),phoneNumber:o("Phone Number",R),faxNumber:o("Fax Number",R)}}}},ps={class:"aioseo-col col-xs-12 text-xs-left"},us={class:"field-description"},ms={class:"aioseo-col col-xs-12 text-xs-left"},_s={class:"field-description mt-8"},gs={class:"aioseo-col col-xs-12 text-xs-left"},fs={class:"field-description mt-8"};function bs(n,s,c,t,e,d){const r=l("base-input"),p=l("base-phone");return _(),f("div",null,[a("div",ps,[a("span",us,m(e.strings.emailAddress),1),i(r,{type:"text",size:"medium"})]),a("div",ms,[a("span",_s,m(e.strings.phoneNumber),1),i(p)]),a("div",gs,[a("span",fs,m(e.strings.faxNumber),1),i(p)])])}const hs=S(ds,[["render",bs],["__scopeId","data-v-17c98d44"]]),se="all-in-one-seo-pack",Ss={data(){return{strings:{vatID:o("VAT ID:",se),taxID:o("Tax ID:",se)}}}},ws={class:"aioseo-col col-xs-12 text-xs-left"},vs={class:"field-description"},xs={class:"aioseo-col col-xs-12 text-xs-left"},ys={class:"field-description mt-8"};function Cs(n,s,c,t,e,d){const r=l("base-input");return _(),f("div",null,[a("div",ws,[a("span",vs,m(e.strings.vatID),1),i(r,{type:"text",size:"medium"})]),a("div",xs,[a("span",ys,m(e.strings.taxID),1),i(r,{type:"text",size:"medium"})])])}const Ps=S(Ss,[["render",Cs],["__scopeId","data-v-462e3315"]]),Ls="all-in-one-seo-pack",Es={data(){return{LOCAL_SEO_BUSINESS_TYPES:Ie,strings:{businessType:o("Type",Ls)}}}};function As(n,s,c,t,e,d){const r=l("base-select");return _(),f("div",null,[i(r,{size:"large",options:e.LOCAL_SEO_BUSINESS_TYPES},null,8,["options"])])}const Is=S(Es,[["render",As]]),Vs={};function ks(n,s){return _(),f("div")}const Bs=S(Vs,[["render",ks]]),Ds={};function Os(n,s){return _(),f("div")}const Hs=S(Ds,[["render",Os]]),oe="all-in-one-seo-pack",Ts={data(){return{strings:{name:o("name",oe),nameDesc:o("Your name or company name.",oe)}}}},Rs={class:"aioseo-col col-xs-12 text-xs-left"},$s={class:"field-description"};function Ms(n,s,c,t,e,d){const r=l("base-input");return _(),f("div",Rs,[i(r,{type:"text",size:"medium"}),a("span",$s,m(e.strings.nameDesc),1)])}const Ns=S(Ts,[["render",Ms],["__scopeId","data-v-1b48195c"]]),$="all-in-one-seo-pack",Us={data(){return{currencies:Ve,strings:{priceIndicator:o("Price Indicator",$),currenciesAccepted:o("Currencies Accepted",$),paymentMethods:o("Payment Methods Accepted",$)}}}},zs={class:"aioseo-col col-xs-12 text-xs-left"},Ws={class:"field-description"},Fs={class:"aioseo-col col-xs-12 text-xs-left"},Gs={class:"field-description mt-8"},Ys={class:"aioseo-col col-xs-12 text-xs-left"},Zs={class:"field-description mt-8"};function qs(n,s,c,t,e,d){const r=l("base-select"),p=l("base-input");return _(),f("div",null,[a("div",zs,[a("span",Ws,m(e.strings.priceIndicator),1),i(r,{size:"medium",options:e.currencies},null,8,["options"])]),a("div",Fs,[a("span",Gs,m(e.strings.currenciesAccepted),1),i(r,{size:"medium",label:"currenciesAccepted","track-by":"value",class:"aioseo-multiselect",options:e.currencies,multiple:""},null,8,["options"])]),a("div",Ys,[a("span",Zs,m(e.strings.paymentMethods),1),i(p,{type:"text",size:"medium"})])])}const Js=S(Us,[["render",qs],["__scopeId","data-v-e89dcce9"]]),v="all-in-one-seo-pack",Ks={components:{CoreSettingsRow:re,LocalBusinessAreaServed:Ye,LocalBusinessBusinessAddress:ls,LocalBusinessBusinessContact:hs,LocalBusinessBusinessIds:Ps,LocalBusinessBusinessType:Is,LocalBusinessImage:Bs,LocalBusinessMap:Hs,LocalBusinessName:Ns,LocalBusinessPaymentInfo:Js},data(){return{strings:{pageName:o("Business Info",v),name:o("Name",v),businessType:o("Type",v),image:o("Image",v),urls:o("URLs",v),websiteDesc:o("Website URL",v),aboutDesc:o("About Page URL",v),contactDesc:o("Contact Page URL",v),businessAddress:o("Address",v),businessContact:o("Contact Info",v),businessIDs:o("IDs",v),paymentInfo:o("Payment Info",v),areaServed:o("Area Served",v),map:o("Map",v)}}}},js={class:"aioseo-tab-content aioseo-localseo-info"};function Qs(n,s,c,t,e,d){const r=l("local-business-name"),p=l("core-settings-row"),E=l("local-business-business-type"),x=l("local-business-image"),y=l("local-business-business-address"),C=l("local-business-map"),b=l("local-business-business-contact"),h=l("local-business-business-ids"),w=l("local-business-payment-info"),D=l("local-business-area-served");return _(),f("div",js,[i(p,{name:e.strings.name,class:"info-name-row",align:""},{content:g(()=>[i(r)]),_:1},8,["name"]),i(p,{name:e.strings.businessType,class:"info-business-type",align:""},{content:g(()=>[i(E)]),_:1},8,["name"]),i(p,{class:"info-business-image",name:e.strings.image,align:""},{content:g(()=>[i(x)]),_:1},8,["name"]),i(p,{name:e.strings.businessAddress,class:"info-businessaddress-row",align:""},{content:g(()=>[i(y)]),_:1},8,["name"]),i(p,{name:e.strings.map,align:""},{content:g(()=>[i(C)]),_:1},8,["name"]),i(p,{name:e.strings.businessContact,class:"info-businesscontact-row",align:""},{content:g(()=>[i(b)]),_:1},8,["name"]),i(p,{name:e.strings.businessIDs,class:"info-businessids-row",align:""},{content:g(()=>[i(h)]),_:1},8,["name"]),i(p,{name:e.strings.paymentInfo,class:"info-paymentinfo-row",align:""},{content:g(()=>[i(w)]),_:1},8,["name"]),i(p,{name:e.strings.areaServed,class:"info-area-row",align:""},{content:g(()=>[i(D)]),_:1},8,["name"])])}const Xs=S(Ks,[["render",Qs]]),u="all-in-one-seo-pack",eo={setup(){return{postEditorStore:B(),GLOBAL_STRINGS:ke,HOURS_12H_FORMAT:Q,HOURS_24H_FORMAT:X}},components:{BaseCheckbox:Oe,BaseRadioToggle:He,CoreSettingsRow:re},data(){return{selectTimezone:[{value:"none",label:o("Select your timezone",u)}],strings:{pageName:o("Opening Hours",u),useDefaults:o("Use Defaults",u),useDefaultsDesc:o("Will default opening hours set globally",u),showOpeningHours:o("Show Opening Hours",u),labels:o("Labels",u),closedLabel:o("Closed",u),closedLabelDesc:o("Displayed when the business is closed.",u),closed:o("Closed",u),settings:o("Settings",u),open24h:o("Open 24h",u),open24Label:o("Open 24h",u),open24LabelDesc:o("Displayed when the business is open all day long.",u),alwaysOpen:o("Open 24/7",u),use24hFormat:o("Use 24h format",u),twoSets:o("I have two sets of opening hours per day",u),timezone:o("Timezone",u),hours:o("Hours",u)},weekdays:{monday:o("Monday",u),tuesday:o("Tuesday",u),wednesday:o("Wednesday",u),thursday:o("Thursday",u),friday:o("Friday",u),saturday:o("Saturday",u),sunday:o("Sunday",u)}}},computed:{toggled:function(){return!0},unToggled:function(){return!1},closedLabel:{get(){return this.postEditorStore.currentPost.local_seo.openingHours.closedLabel},set(n){this.postEditorStore.currentPost.local_seo.openingHours.closedLabel=n}}},methods:{getSelectOptions(n){return this.postEditorStore.currentPost.local_seo.openingHours.use24hFormat?X.find(s=>s.value===n):Q.find(s=>s.value===n)},saveDay(n,s,c){this.postEditorStore.currentPost.local_seo.openingHours.days[n][s]=c},getWeekDay(n){return this.postEditorStore.currentPost.local_seo.openingHours.days[n]}}},so={class:"aioseo-tab-content aioseo-localseo-opening"},oo={class:"aioseo-col col-xs-12 text-xs-left"},to={key:0},no={class:"aioseo-col col-xs-12 text-xs-left"},io={class:"aioseo-col col-xs-12 text-xs-left"},ao={class:"field-description"},ro={class:"field-description mt-10"},co={class:"aioseo-col col-xs-12 text-xs-left"},lo={class:"field-description mt-8"},po={class:"field-description mt-10"},uo={class:"aioseo-col col-xs-12 text-xs-left"},mo={class:"aioseo-col col-xs-12 text-xs-left"},_o={class:"aioseo-col col-xs-12 text-xs-left"},go={class:"aioseo-col-day text-xs-left"},fo={class:"aioseo-col-hours text-xs-left"},bo=a("span",{class:"separator"},"-",-1),ho={class:"aioseo-col-alwaysopen text-xs-left"};function So(n,s,c,t,e,d){const r=l("base-radio-toggle"),p=l("core-settings-row"),E=l("base-input"),x=l("base-toggle"),y=l("base-select"),C=l("base-checkbox");return _(),f("div",so,[i(p,{name:e.strings.useDefaults,align:""},{content:g(()=>[a("div",oo,[i(r,{name:"useDefaults",modelValue:t.postEditorStore.currentPost.local_seo.openingHours.useDefaults,"onUpdate:modelValue":s[0]||(s[0]=b=>t.postEditorStore.currentPost.local_seo.openingHours.useDefaults=b),options:[{label:t.GLOBAL_STRINGS.no,value:!1},{label:t.GLOBAL_STRINGS.yes,value:!0}]},null,8,["modelValue","options"])])]),_:1},8,["name"]),t.postEditorStore.currentPost.local_seo.openingHours.useDefaults?V("",!0):(_(),f("div",to,[i(p,{name:e.strings.showOpeningHours,class:"info-openinghours-row",align:""},{content:g(()=>[a("div",no,[i(r,{name:"openingHours",modelValue:t.postEditorStore.currentPost.local_seo.openingHours.show,"onUpdate:modelValue":s[1]||(s[1]=b=>t.postEditorStore.currentPost.local_seo.openingHours.show=b),options:[{label:t.GLOBAL_STRINGS.no,value:!1},{label:t.GLOBAL_STRINGS.yes,value:!0}]},null,8,["modelValue","options"])])]),_:1},8,["name"]),t.postEditorStore.currentPost.local_seo.openingHours.show?(_(),k(p,{key:0,name:e.strings.labels,class:"info-labels-row",align:""},{content:g(()=>[a("div",io,[a("span",ao,m(e.strings.closedLabel),1),i(E,{type:"text",size:"medium",modelValue:t.postEditorStore.currentPost.local_seo.openingHours.labels.closed,"onUpdate:modelValue":s[2]||(s[2]=b=>t.postEditorStore.currentPost.local_seo.openingHours.labels.closed=b)},null,8,["modelValue"]),a("span",ro,m(e.strings.closedLabelDesc),1)]),a("div",co,[a("span",lo,m(e.strings.open24Label),1),i(E,{size:"medium",modelValue:t.postEditorStore.currentPost.local_seo.openingHours.labels.alwaysOpen,"onUpdate:modelValue":s[3]||(s[3]=b=>t.postEditorStore.currentPost.local_seo.openingHours.labels.alwaysOpen=b)},null,8,["modelValue"]),a("span",po,m(e.strings.open24LabelDesc),1)])]),_:1},8,["name"])):V("",!0),t.postEditorStore.currentPost.local_seo.openingHours.show?(_(),k(p,{key:1,name:e.strings.settings,class:"info-settings-row",align:""},{content:g(()=>[a("div",uo,[i(x,{modelValue:t.postEditorStore.currentPost.local_seo.openingHours.alwaysOpen,"onUpdate:modelValue":s[4]||(s[4]=b=>t.postEditorStore.currentPost.local_seo.openingHours.alwaysOpen=b)},{default:g(()=>[O(m(e.strings.alwaysOpen),1)]),_:1},8,["modelValue"])]),a("div",mo,[i(x,{modelValue:t.postEditorStore.currentPost.local_seo.openingHours.use24hFormat,"onUpdate:modelValue":s[5]||(s[5]=b=>t.postEditorStore.currentPost.local_seo.openingHours.use24hFormat=b)},{default:g(()=>[O(m(e.strings.use24hFormat),1)]),_:1},8,["modelValue"])])]),_:1},8,["name"])):V("",!0),t.postEditorStore.currentPost.local_seo.openingHours.show&&!t.postEditorStore.currentPost.local_seo.openingHours.alwaysOpen?(_(),k(p,{key:2,name:e.strings.hours,class:"info-hours-row",align:""},{content:g(()=>[a("div",_o,[(_(!0),f(de,null,pe(e.weekdays,(b,h)=>(_(),f("div",{class:"aioseo-col-flex text-xs-left",key:h},[a("div",go,m(b),1),a("div",fo,[i(y,{disabled:d.getWeekDay(h).open24h||d.getWeekDay(h).closed,size:"medium",options:t.postEditorStore.currentPost.local_seo.openingHours.use24hFormat?t.HOURS_24H_FORMAT:t.HOURS_12H_FORMAT,modelValue:d.getSelectOptions(d.getWeekDay(h).openTime),"onUpdate:modelValue":w=>d.saveDay(h,"openTime",w.value)},null,8,["disabled","options","modelValue","onUpdate:modelValue"]),bo,i(y,{disabled:d.getWeekDay(h).open24h||d.getWeekDay(h).closed,size:"medium",options:t.postEditorStore.currentPost.local_seo.openingHours.use24hFormat?t.HOURS_24H_FORMAT:t.HOURS_12H_FORMAT,modelValue:d.getSelectOptions(d.getWeekDay(h).closeTime),"onUpdate:modelValue":w=>d.saveDay(h,"closeTime",w.value)},null,8,["disabled","options","modelValue","onUpdate:modelValue"])]),a("div",ho,[i(C,{disabled:d.getWeekDay(h).closed,size:"medium",modelValue:d.getWeekDay(h).open24h,"onUpdate:modelValue":w=>d.getWeekDay(h).open24h=w},{default:g(()=>[O(m(e.strings.open24h),1)]),_:2},1032,["disabled","modelValue","onUpdate:modelValue"]),i(C,{size:"medium",class:"closed-label",modelValue:d.getWeekDay(h).closed,"onUpdate:modelValue":w=>d.getWeekDay(h).closed=w},{default:g(()=>[O(m(e.strings.closed),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])])]))),128))])]),_:1},8,["name"])):V("",!0)]))])}const wo=S(eo,[["render",So]]),vo={};function xo(n,s){return _(),f("div")}const yo=S(vo,[["render",xo]]),Co={};function Po(n,s){return _(),f("div")}const Lo=S(Co,[["render",Po]]),Eo={components:{LocalBusinessMapCustomMarker:yo,LocalBusinessMapDefaultStyle:Lo},data(){return{strings:{}}}},Ao={class:"aioseo-tab-content aioseo-localseo-maps"};function Io(n,s,c,t,e,d){const r=l("local-business-map-default-style"),p=l("local-business-map-custom-marker");return _(),f("div",Ao,[i(r),i(p)])}const Vo=S(Eo,[["render",Io]]),M="all-in-one-seo-pack",ko={setup(){return{postEditorStore:B()}},components:{BusinessInfo:Xs,CoreMainTabs:De,OpeningHours:wo,Maps:Vo,SvgSettings:Te},data(){return{tab:"business-info",tabs:[{slug:"business-info",icon:"svg-settings",name:o("Business Info",M)},{slug:"opening-hours",icon:"svg-settings",name:o("Opening Hours",M)},{slug:"maps",icon:"svg-settings",name:o("Maps",M)}]}},watch:{"postEditorStore.currentPost":{deep:!0,handler(){Ee(this.postEditorStore.savePostState,250)}}},methods:{processChangeTab(n){this.tab=n}}},Bo={class:"aioseo-app aioseo-post-settings"};function Do(n,s,c,t,e,d){const r=l("core-main-tabs");return _(),f("div",Bo,[i(r,{tabs:e.tabs,showSaveButton:!1,active:e.tab,internal:"",disableMobile:"",onChanged:s[0]||(s[0]=p=>d.processChangeTab(p))},null,8,["tabs","active"]),i(me,{name:"route-fade",mode:"out-in"},{default:g(()=>[(_(),k(ue(e.tab)))]),_:1})])}const Oo=S(ko,[["render",Do]]),Ho={setup(){return{postEditorStore:B()}},components:{"main-view":Oo}};function To(n,s,c,t,e,d){const r=l("main-view");return _(),f("div",null,[t.postEditorStore.currentPost.id?(_(),k(r,{key:0})):V("",!0)])}const Ro=S(Ho,[["render",To]]);Ne();const z=n=>(n=_e(n),n=ge(n),n=fe(n),xe(n),new Re,$e(),window.addEventListener("load",()=>Le()),n);let I;const te=()=>{I&&I.unmount(),I=N({name:"Standalone/PostSettings/Sidebar",data(){return{tableContext:"post",screenContext:"sidebar"}},render:()=>U(ie)}),window.aioseo.headlineAnalyzerSidebarApp&&window.aioseo.headlineAnalyzerSidebarApp.unmount(),z(I).mount("#aioseo-post-settings-sidebar-vue"),window.aioseo.postSettingsSidebarApp=I};if(window.aioseo.currentPost){const n=window.aioseo.currentPost.context;document.querySelector(`#aioseo-${n}-settings-metabox`)&&ae()&&(!window.wp.blockEditor&&window.wp.blocks&&window.wp.oldEditor&&(window.wp.blockEditor=window.wp.editor),z(N({name:"Standalone/PostSettings/Metabox",data(){return{tableContext:n,screenContext:"metabox"}},render:()=>U(ie)})).mount(`#aioseo-${n}-settings-metabox`),n==="post"&&(document.getElementById("aioseo-post-settings-sidebar-vue")?te():(Pe("#aioseo-post-settings-sidebar-vue","aioseoSidebarVisible"),document.addEventListener("animationstart",function(t){t.animationName==="aioseoSidebarVisible"&&te()},{passive:!0}))))}window.aioseo.currentPost&&window.aioseo.localBusiness&&document.getElementById("aioseo-location-settings-metabox")&&z(N({name:"Standalone/LocalSeo/Metabox",data(){return{screenContext:"metabox"}},render:()=>U(Ro)})).mount("#aioseo-location-settings-metabox");
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка