@wix/blog 1.0.720 → 1.0.722
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/context-blog-feed.js +1564 -1417
- package/build/cjs/context-blog-feed.js.map +1 -1
- package/build/cjs/context-category-item.js +71 -65
- package/build/cjs/context-category-item.js.map +1 -1
- package/build/cjs/context-post-by-id.js +1538 -1391
- package/build/cjs/context-post-by-id.js.map +1 -1
- package/build/cjs/context-post-by-slug.js +1555 -1408
- package/build/cjs/context-post-by-slug.js.map +1 -1
- package/build/cjs/context-post-list-item.js +1204 -1057
- package/build/cjs/context-post-list-item.js.map +1 -1
- package/build/cjs/context-post.d.ts +1 -1
- package/build/cjs/context-post.js +37 -31
- package/build/cjs/context-post.js.map +1 -1
- package/build/cjs/context-related-posts.js +1296 -1149
- package/build/cjs/context-related-posts.js.map +1 -1
- package/build/cjs/context-tag-item.js +71 -65
- package/build/cjs/context-tag-item.js.map +1 -1
- package/build/es/context-blog-feed.mjs +1564 -1417
- package/build/es/context-blog-feed.mjs.map +1 -1
- package/build/es/context-category-item.mjs +71 -65
- package/build/es/context-category-item.mjs.map +1 -1
- package/build/es/context-post-by-id.mjs +1538 -1391
- package/build/es/context-post-by-id.mjs.map +1 -1
- package/build/es/context-post-by-slug.mjs +1555 -1408
- package/build/es/context-post-by-slug.mjs.map +1 -1
- package/build/es/context-post-list-item.mjs +1204 -1057
- package/build/es/context-post-list-item.mjs.map +1 -1
- package/build/es/context-post.d.mts +1 -1
- package/build/es/context-post.mjs +37 -31
- package/build/es/context-post.mjs.map +1 -1
- package/build/es/context-related-posts.mjs +1296 -1149
- package/build/es/context-related-posts.mjs.map +1 -1
- package/build/es/context-tag-item.mjs +71 -65
- package/build/es/context-tag-item.mjs.map +1 -1
- package/build/internal/cjs/context-post.d.ts +1 -1
- package/build/internal/es/context-post.d.mts +1 -1
- package/context-runtime/context-blog-feed/runtime.js +4 -4
- package/context-runtime/context-category-item/runtime.js +2 -2
- package/context-runtime/context-post/runtime.d.ts +1 -1
- package/context-runtime/context-post/runtime.js +2 -2
- package/context-runtime/context-post-by-id/runtime.js +4 -4
- package/context-runtime/context-post-by-slug/runtime.js +4 -4
- package/context-runtime/context-post-list-item/runtime.js +4 -4
- package/context-runtime/context-related-posts/runtime.js +4 -4
- package/context-runtime/context-tag-item/runtime.js +2 -2
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import e,{usePostContext as t}from"@wix/blog/post-context-provider";import{Component as n,Suspense as r,createContext as i,createElement as a,startTransition as o,useCallback as s,useContext as c,useEffect as l,useMemo as u,useRef as d,useState as f}from"react";import{useGetService as p,useService as m}from"@wix/services-manager-react";import{jsx as h,jsxs as g}from"react/jsx-runtime";var _=Object.defineProperty,v=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),y=(e,t)=>{let n={};for(var r in e)_(n,r,{get:e[r],enumerable:!0});return t||_(n,Symbol.toStringTag,{value:`Module`}),n},b={};function x(e,t=!1,n=e=>e){return()=>({__type:`event-definition`,type:e,isDomainEvent:t,transformations:n})}var S=e=>{switch(e){case`get`:case`GET`:return`GET`;case`post`:case`POST`:return`POST`;case`put`:case`PUT`:return`PUT`;case`delete`:case`DELETE`:return`DELETE`;case`patch`:case`PATCH`:return`PATCH`;case`head`:case`HEAD`:return`HEAD`;case`options`:case`OPTIONS`:return`OPTIONS`;default:throw Error(`Unknown method: ${e}`)}},C=e=>t=>async n=>{let r,i=t=>{if(r=e(n)(t),r.url===void 0)throw Error(`Url was not successfully created for this request, please reach out to support channels for assistance.`);let{method:i,url:a,params:o}=r;return{...r,method:S(i),url:a,data:r.data,params:o}};try{let e=await t.request(i);if(r===void 0)throw Error(`Request options were not created for this request, please reach out to support channels for assistance.`);let n=Array.isArray(r.transformResponse)?r.transformResponse:[r.transformResponse],a=e.data;return n.forEach(t=>{t&&(a=t(e.data,e.headers))}),a}catch(e){throw typeof e==`object`&&e&&`response`in e&&typeof e.response==`object`&&e.response!==null&&`data`in e.response?e.response.data:e}},ee=e=>e.__isAmbassador?!0:!!e().__isAmbassador,w=`__metadata`,T=`edge.wixapis.com`,te=class extends Error{message;response;constructor(e,t){super(e),this.message=e,this.response=t}async details(){let e=await this.response.json();return ne(this.response.status,e?.message,e?.details,{requestId:this.response.headers.get(`X-Wix-Request-Id`),details:e})}},ne=(e,t,n,r)=>({details:{...!n?.validationError&&{applicationError:{description:t,code:e,data:r}},...n},message:t,requestId:r?.requestId}),re=e=>e?.method&&[`post`,`put`,`patch`].includes(e.method.toLocaleLowerCase())&&e.body?{"Content-Type":`application/json`}:{},ie=e=>e&&typeof e==`object`&&!Array.isArray(e),ae=e=>e.__type===`host`;function oe(e,t){return e.create(t)}var se=`x-wix-bi-gateway`;function ce(e,t,n){return{[se]:le({environment:`js-sdk${n?`-${n}`:``}`,"package-name":e.packageName??t?.PACKAGE_NAME,"method-fqn":e.methodFqn,entity:e.entityFqdn})}}function le(e){return Object.entries(e).filter(([e,t])=>!!t).map(([e,t])=>`${e}=${t}`).join(`,`)}function ue(e){let t=globalThis.__wix_context__,n={client:b.client,elevatedClient:b.elevatedClient},r;globalThis.__wix_context__=void 0,b.client=void 0,b.elevatedClient=void 0,typeof $wixContext<`u`&&(r={client:$wixContext?.client,elevatedClient:$wixContext?.elevatedClient},delete $wixContext.client,delete $wixContext.elevatedClient);try{return e()}finally{globalThis.__wix_context__=t,b.client=n.client,b.elevatedClient=n.elevatedClient,typeof $wixContext<`u`&&($wixContext.client=r.client,$wixContext.elevatedClient=r.elevatedClient)}}var de={id:`_id`,createdDate:`_createdDate`,updatedDate:`_updatedDate`};function fe(e){return _e(e).map(e=>e.toLocaleUpperCase()).join(`_`)}var pe=/([\p{Ll}\d])(\p{Lu})/gu,me=/(\p{Lu})([\p{Lu}][\p{Ll}])/gu,he=`$1\0$2`,ge=/[^\p{L}\d]+/giu;function _e(e){let t=e.trim();t=t.replace(pe,he).replace(me,he),t=t.replace(ge,`\0`);let n=0,r=t.length;for(;t.charAt(n)===`\0`;)n++;if(n===r)return[];for(;t.charAt(r-1)===`\0`;)r--;return t.slice(n,r).split(/\0/g)}var ve=e=>`validationError`in(e.response?.data?.details??{}),ye=e=>`applicationError`in(e.response?.data?.details??{}),be=e=>(e.response?.status??-1)>=400&&(e.response?.status??-1)<500;function xe(e,t={explicitPathsToArguments:{},spreadPathsToArguments:{},singleArgumentUnchanged:!1},n=[]){if(typeof e!=`object`||!e)throw e;if(ve(e))return Se(e,t,n);if(ye(e))return we(e);if(be(e)){let t=e.response?.status,n=e.response?.statusText??`UNKNOWN`,r=e.response?.data?.message??n,i={applicationError:{description:n,code:fe(n),data:{}},requestId:e.requestId};return Ce(e,{message:JSON.stringify({message:r,details:i},null,2),extraProperties:{details:i,status:t}})}return Te(e)}var Se=(e,t,n)=>{let r=e.response?.data,i=e.requestId,{fieldViolations:a}=r.details.validationError,o=Ee(t,a,n)?.sort((e,t)=>e.field<t.field?-1:1),s=`INVALID_ARGUMENT: ${o?.map(({field:e,description:t})=>`"${e}" ${t}`)?.join(`, `)}`,c={validationError:{fieldViolations:o},requestId:i};return Ce(e,{message:JSON.stringify({message:s,details:c},null,2),extraProperties:{details:c,status:e.response?.status,requestId:i}})},Ce=(e,{message:t,extraProperties:n})=>Object.assign(e,{...n,message:t}),we=e=>{let t=e.response?.status,n=e.response?.statusText??`UNKNOWN`,r=e.response?.data?.message??n,i=e.response?.data?.details?.applicationError?.description??n,a=e.response?.data?.details?.applicationError?.code??fe(n),o=e.response?.data?.details?.applicationError?.data??{},s=r===i?r:`${r}: ${i}`,c={applicationError:{description:i,code:a,data:o},requestId:e.requestId};return Ce(e,{message:JSON.stringify({message:s,details:c},null,2),extraProperties:{details:c,status:t,requestId:e.requestId}})},Te=e=>Ce(e,{message:e.requestId?`System error occurred, request-id: ${e.requestId}`:`System error occurred: ${JSON.stringify(e)}`,extraProperties:{requestId:e.requestId,status:e.response?.status,code:fe(e.response?.statusText??`UNKNOWN`),...!e.response&&{runtimeError:e}}}),Ee=({spreadPathsToArguments:e,explicitPathsToArguments:t,singleArgumentUnchanged:n},r,i)=>{let a={...e,...t},o=Object.keys(a);return r?.filter(e=>!r.some(t=>t.field.length>e.field.length&&t.field.startsWith(e.field)&&o.includes(t.field))).map(e=>{let r=t[e.field];if(r)return{...e,field:De(r,i)};let s=o?.sort((e,t)=>t.length-e.length)?.find(t=>e.field.startsWith(t));if(s){let t=a[s];if(t)return{...e,field:e.field.replace(s,De(t,i))}}return n?{...e,field:`${i[0]}.${e.field}`}:e})},De=(e,t)=>{let n=Oe(e);return n==null?e:e.replace(`$[${n}]`,t[n])},Oe=e=>{let t=e.match(/\$\[(?<argIndex>\d+)\]/);return t&&t.groups&&Number(t.groups.argIndex)};function ke(e,t,n,r,i,a,o,s,c,l,u){return ue(()=>e({request:async e=>{let i=e({host:s?.HTTPHost||`www.wixapis.com`}),a=i;a.method===`GET`&&a.fallback?.length&&(a.params?.toString().length??0)>4e3&&(a=i.fallback[0]);let o=s?.HTTPHost??`www.wixapis.com`,u=`https://${l?T:o}${a.url}`;a.params&&a.params.toString()&&(u+=`?${a.params.toString()}`);try{let e=ce(i,t,c),o={method:a.method,...a.data&&{body:JSON.stringify(a.data)},headers:{...e}},s=await n(u,o);if(s.status!==200){let e=null;try{e=await s.json()}catch{}let t=je(s.status,e?.message??s.statusText,e?.details,{requestId:s.headers.get(`X-Wix-Request-Id`),details:e}),n=xe(t);throw r?.handleError(n,{requestOptions:{url:a.url,method:a.method,entityFqdn:i.entityFqdn,methodFqn:i.methodFqn}}),t}let l=await s.json();return{data:a.migrationOptions?.optInTransformResponse&&a.transformResponse?Array.isArray(a.transformResponse)?a.transformResponse[0](l):a.transformResponse(l):l,headers:s.headers,status:s.status,statusText:s.statusText}}catch(e){throw e.message?.includes(`fetch is not defined`)&&console.error(`Node.js v18+ is required`),e}},fetchWithAuth:n,wixAPIFetch:i,getActiveToken:a,getAuthHeaders:o},{validateRequestSchema:u}))}var Ae=class extends Error{response;requestId;constructor(e){super(),this.response=e.response,this.requestId=e.requestId}},je=(e,t,n,r)=>new Ae({response:{data:{details:{...!n?.validationError&&{applicationError:{description:t,code:e,data:r}},...n},message:t},status:e},requestId:r?.requestId}),Me=`.`;function Ne(e,t,n){if(e==null)throw Error(`Cannot set value on null or undefined`);let r=Pe(t),i=e;for(let e=0;e<r.length;e++){let t=r[e];if(e===r.length-1){i[t]=n;break}let a=r[e+1];(!(t in i)||i[t]==null||typeof i[t]!=`object`||i[t]===null)&&(i[t]=typeof a==`number`?[]:{}),i=i[t]}return e}function Pe(e){return Array.isArray(e)?e:e.split(Me).map(e=>Fe(e)?Number(e):e)}function Fe(e){return/^\d+$/.test(e)}function Ie(e){let t={};for(let[n,r]of Object.entries(e))Le(n)||Ne(t,Pe(n),r);return t}function Le(e){return e===`__proto__`||e===`constructor`||e===`prototype`}var Re=class{BRACKET_PATTERN=/\[(\d+)\]/g;NUMERIC_PATTERN=/^\d+$/;ESCAPED_DOT_PATTERN=/\\\./g;ESCAPED_LEFT_BRACKET_PATTERN=/\\\[/g;ESCAPED_RIGHT_BRACKET_PATTERN=/\\\]/g;SPLIT_PATTERN=/\.|\[(\d+)\]/g;DOT_BEFORE_BRACKET_PATTERN=/\.\[/g;ESCAPED_DOT_PLACEHOLDER=`__DOT__`;ESCAPED_RIGHT_BRACKET_PLACEHOLDER=`__RB__`;ESCAPED_LEFT_BRACKET_PLACEHOLDER=`__LB__`;modifiedFields;cleanedModifiedFields;constructor(e){this.modifiedFields=e}replaceEscapedCharacters(e){return e.replace(this.ESCAPED_DOT_PATTERN,this.ESCAPED_DOT_PLACEHOLDER).replace(this.ESCAPED_LEFT_BRACKET_PATTERN,this.ESCAPED_LEFT_BRACKET_PLACEHOLDER).replace(this.ESCAPED_RIGHT_BRACKET_PATTERN,this.ESCAPED_RIGHT_BRACKET_PLACEHOLDER)}restoreEscapedCharacters(e){return e.replace(this.ESCAPED_DOT_PLACEHOLDER,`\\.`).replace(this.ESCAPED_RIGHT_BRACKET_PLACEHOLDER,`\\]`).replace(this.ESCAPED_LEFT_BRACKET_PLACEHOLDER,`\\[`)}unflatten(){return this.cleanedModifiedFields=Object.fromEntries(Object.entries(this.modifiedFields).map(([e,t])=>[this.replaceEscapedCharacters(this.bracketToDotNotation(e)),t])),Ie(this.cleanedModifiedFields)}flatten(e){let t={};for(let n of Object.keys(this.cleanedModifiedFields)){let r=this.splitPath(n),i=this.navigatePath(e,r);t={...t,...i}}return Object.fromEntries(Object.entries(t).map(([e,t])=>[this.restoreEscapedCharacters(e),t]))}splitPath(e){let t=[],n=0,r=Array.from(e.matchAll(this.SPLIT_PATTERN));for(let i of r)i.index>n&&t.push(e.substring(n,i.index)),i[1]&&t.push(i[1]),n=i.index+i[0].length;return n<e.length&&t.push(e.substring(n)),t}navigatePath(e,t){let n=e,r=[],i=e=>{if(!Array.isArray(n))throw Error(`Expected array at path ${this.buildPathString(r)}, but got ${typeof n}`);r.push(`[${e}]`),n=n[parseInt(e,10)]},a=(e,t)=>{let i=e in de?de[e]:void 0;if(i&&i in t){r.push(i),n=t[i];return}let a=He(e);if(a&&a in t)r.push(a),n=t[a];else throw Error(`Cannot find key '${e}' or its transformations at path ${this.buildPathString(r)}`)},o=(e,t)=>{r.push(e),n=t[e]};for(let e of t){if(this.NUMERIC_PATTERN.test(e)){i(e);continue}if(typeof n!=`object`||!n)throw Error(`Cannot access property '${e}' on ${typeof n} at path ${this.buildPathString(r)}`);let t=n;e in n?o(e,t):a(e,t)}return{[this.buildPathString(r)]:n}}buildPathString(e){return e.join(`.`).replace(this.DOT_BEFORE_BRACKET_PATTERN,`[`)}bracketToDotNotation(e){return e.replace(this.BRACKET_PATTERN,(t,n,r)=>r>0&&e[r-1]===`\\`?t:`.`+n)}};function ze(e,t){let n=e?.modifiedFields;if(!n)return null;let r=Be(n);if(!r)return null;let{unflattenedModifiedFields:i,modifiedFieldsManipulator:a}=r;e={...e,modifiedFields:i};let o=t(e),s=o?.modifiedFields;if(!s)return null;let c=Ve(s,a);return c===null?null:(o.modifiedFields=c,o)}function Be(e){if(typeof e==`object`&&e&&!Array.isArray(e))try{let t=new Re(e);return{unflattenedModifiedFields:t.unflatten(),modifiedFieldsManipulator:t}}catch{return null}return null}function Ve(e,t){if(typeof e==`object`&&e&&!Array.isArray(e))try{return t.flatten(e)}catch{return null}return null}function He(e){return e.replace(/[-_\s]+(.)?/g,(e,t)=>t?t.toUpperCase():``).replace(/^./,e=>e.toLowerCase())}function Ue(){return{emit(e,...t){for(let n=0,r=this.events[e]||[],i=r.length;n<i;n++)r[n](...t)},events:{},on(e,t){return(this.events[e]||=[]).push(t),()=>{this.events[e]=this.events[e]?.filter(e=>t!==e)}}}}var We=e=>e.__type===`event-definition`;function Ge(e,t,n,r){let i;if(e.isDomainEvent){let{deletedEvent:e,actionEvent:t,createdEvent:a,updatedEvent:o,...s}=n,c={...r,...s};i=e?e?.deletedEntity?{entity:e?.deletedEntity,metadata:c}:{metadata:c}:t?{data:t.body,metadata:c}:o?{entity:o.currentEntity,metadata:c,...o.modifiedFields?{modifiedFields:o.modifiedFields}:{}}:{entity:a?.entity,metadata:c}}else i={data:n,metadata:r};let a=e.transformations??(e=>e),o=i,s=i;if(s.modifiedFields){let e=s.modifiedFields;if(typeof e==`object`&&e&&!Array.isArray(e)){o=structuredClone(i);let e=ze(s,a);if(e)return t(e)}}return t(a(o))}function Ke(e){let t=new Map,n=Ue();return{initModule(e){return r=>{let i=t.get(e.type)??[];i.push({eventDefinition:e,handler:r}),t.set(e.type,i),n.emit(`registered`,e)}},client:{...n,getRegisteredEvents:()=>t,async process(e,n={expectedEvents:[]}){let{eventType:r,identity:i,instanceId:a,payload:o,accountInfo:s}=await this.parseJWT(e),c=[...n.expectedEvents,...Array.from(t.keys()).map(e=>({type:e}))];if(c.length>0&&!c.some(({type:e})=>e===r))throw Error(`Unexpected event type: ${r}. Expected one of: ${c.map(e=>e.type).join(`, `)}`);let l=t.get(r)??[];return await Promise.all(l.map(({eventDefinition:e,handler:t})=>Ge(e,t,o,{instanceId:a,identity:i,accountInfo:s}))),{instanceId:a,eventType:r,payload:o,identity:i,accountInfo:s}},async processRequest(e,t){let n=await e.text();return this.process(n,t)},async parseJWT(t){let n=e();if(!n.decodeJWT)throw Error(`decodeJWT is not supported by the authentication strategy`);let{decoded:r,valid:i}=await n.decodeJWT(t);if(!i)throw Error(`JWT is not valid`);if(typeof r.data!=`string`)throw Error(`Unexpected type of JWT data: expected string, got ${typeof r.data}`);let a=JSON.parse(r.data),o=a.eventType,s=a.accountInfo,c=a.instanceId,l=a.identity?JSON.parse(a.identity):void 0;return{instanceId:c,eventType:o,payload:JSON.parse(a.data),identity:l,accountInfo:s}},async parseRequest(e){let t=await e.text();return this.parseJWT(t)},async executeHandlers(e){let n=Array.from(t.keys()).map(e=>({type:e}));if(n.length>0&&!n.some(({type:t})=>t===e.eventType))throw Error(`Unexpected event type: ${e.eventType}. Expected one of: ${n.map(e=>e.type).join(`, `)}`);let r=t.get(e.eventType)??[];await Promise.all(r.map(({eventDefinition:t,handler:n})=>Ge(t,n,e.payload,{instanceId:e.instanceId,identity:e.identity})))},apps:{AppInstalled:x(`AppInstalled`)(),AppRemoved:x(`AppRemoved`)()}}}}var qe=e=>e.__type===`service-plugin-definition`;function Je(e){let t=new Map,n=Ue();return{initModule(e){return r=>{let i=t.get(e.componentType.toLowerCase())??[];i.push({servicePluginDefinition:e,implementation:r}),t.set(e.componentType.toLowerCase(),i),n.emit(`registered`,e)}},client:{...n,getRegisteredServicePlugins:()=>t,async parseJWT(t){let n=e();if(!n.decodeJWT)throw Error(`decodeJWT is not supported by the authentication strategy`);let{decoded:r,valid:i}=await n.decodeJWT(t,!0);if(!i)throw Error(`JWT is not valid`);if(typeof r.data!=`object`||r.data===null||!(`metadata`in r.data)||typeof r.data.metadata!=`object`||r.data.metadata===null||!(`appExtensionType`in r.data.metadata)||typeof r.data.metadata.appExtensionType!=`string`)throw Error(`Unexpected JWT data: expected object with metadata.appExtensionType string`);return r.data},async process(e){let t=await this.parseJWT(e.body);return this.executeHandler(t,e.url)},async parseRequest(e){let t=await e.text();return this.parseJWT(t)},async processRequest(e){let t=await this.parseRequest(e);return this.processParsedRequest(t,e.url)},async processParsedRequest(e,t){try{let n=await this.executeHandler(e,t);return Response.json(n)}catch(e){if(e.errorType===`SPI`&&e.applicationCode&&e.httpCode)return Response.json({applicationError:{code:e.applicationCode,data:e.data}},{status:e.httpCode});throw e}},async executeHandler(e,n){let r=e.metadata.appExtensionType.toLowerCase(),i=t.get(r)??[];if(i.length===0)throw Error(`No service plugin implementations found for component type ${r}`);if(i.length>1)throw Error(`Multiple service plugin implementations found for component type ${r}. This is currently not supported`);let{implementation:a,servicePluginDefinition:o}=i[0],s=o.methods.find(e=>n.endsWith(e.primaryHttpMappingPath));if(!s)throw Error(`Unexpect request: request url did not match any method: `+n);let c=a[s.name];if(!c)throw Error(`Got request for service plugin method ${s.name} but no implementation was provided. Available methods: ${Object.keys(a).join(`, `)}`);return s.transformations.toREST(await c(s.transformations.fromREST(e)))}}}}var E=`X-Wix-Consistent`;function Ye(e){let t=e.headers||{Authorization:``},n={getAuthHeaders:e=>Promise.resolve({headers:{}})},r=e.auth,i=typeof r==`function`?r:()=>r??n,a=()=>i().getAuthHeaders(e.host),o=()=>e.fetch??fetch,s=async(n,r)=>{let i=o(),s=await a(),c={...r?.headers??{},...s.headers,...e.host?.essentials?.passThroughHeaders,...t[`X-Wix-Consistent`]?{[E]:t[E]}:{}},l=e.host?.getErrorHandler?.();try{if(typeof n==`string`||n instanceof URL){let e=await i(n,{...r,headers:c});l?.handleError(e,{requestOptions:{url:n.toString(),method:r?.method}});let a=Xe(e);return a&&(t[E]=a),e}{for(let[e,t]of Object.entries(c))typeof t==`string`&&n.headers.set(e,t);let e=await i(n,r);l?.handleError(e,{requestOptions:{url:n.url,method:r?.method}});let a=Xe(e);return a&&(t[E]=a),e}}catch(e){throw l?.handleError(e,{requestOptions:{url:typeof n==`string`||n instanceof URL?n.toString():n.url,method:r?.method}}),e}},{client:c,initModule:l}=Je(i),{client:u,initModule:d}=Ke(i),f=async(n,r)=>{let i=o(),s=await a(),c=re(r),l=await i(n,{...r,headers:{...c,...t,...s?.headers,...r?.headers,...e.host?.essentials?.passThroughHeaders,...t[`X-Wix-Consistent`]?{[E]:t[E]}:{}}}),u=Xe(l);return u&&(t[E]=u),l},p=(t,n)=>{if(We(t))return d(t);if(qe(t))return l(t);if(ae(t)&&e.host)return oe(t,e.host);if(typeof t==`function`){if(`__type`in t&&t.__type===`wix_spi_error`)return t;let r=e.host?.apiBaseUrl??`www.wixapis.com`,o=e.useCDN===void 0?i().shouldUseCDN:e.useCDN;return ke(ue(()=>ee(t))?C(t):t,n??{},f,e.host?.getErrorHandler?.(),(e,t)=>{let n=new URL(e,`https://${r}`);return n.host=r,n.protocol=`https`,f(n.toString(),t)},i().getActiveToken,async()=>a(),{HTTPHost:r},e.host?.name,o,e.validateRequestSchema)}return ie(t)?Object.fromEntries(Object.entries(t).map(([e,n])=>[e,p(n,t[w])])):t},m=e=>{for(let n in e)t[n]=e[n]};return{...e.modules?p(e.modules):{},get auth(){let t=i();return t.getAuthHeaders=t.getAuthHeaders.bind(void 0,e.host),t},setHeaders:m,use:p,enableContext(e,t={elevated:!1}){e===`global`?globalThis.__wix_context__==null?t.elevated?globalThis.__wix_context__={elevatedClient:this}:globalThis.__wix_context__={client:this}:t.elevated?globalThis.__wix_context__.elevatedClient=this:globalThis.__wix_context__.client=this:t.elevated?b.elevatedClient=this:b.client=this},fetch:(t,n)=>{let r=e.host?.apiBaseUrl??`www.wixapis.com`,i=new URL(t,`https://${r}`);return i.host=r,i.protocol=`https`,f(i.toString(),n)},fetchWithAuth:s,async graphql(t,n,r={apiVersion:`alpha`}){let i=e?.host?.apiBaseUrl??`www.wixapis.com`,a=await f(`https://${i}/graphql/${r.apiVersion}`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({query:t,variables:n})});if(a.status!==200)throw new te(`GraphQL request failed with status ${a.status}`,a);let{data:o,errors:s}=await a.json();return{data:o??{},errors:s}},webhooks:u,servicePlugins:c}}function Xe(e){return e.headers?.get(`X-Wix-Consistent`)??e.headers?.get(`x-wix-consistent`)}var Ze={_id:`id`,_createdDate:`createdDate`,_updatedDate:`updatedDate`},Qe={id:`_id`,createdDate:`_createdDate`,updatedDate:`_updatedDate`},$e=`items`,et=`pagingMetadata`,tt=Ze;function nt(e,t){return e?.split(`.`).map(e=>t?.[e]??e).join(`.`)}var rt=`sort.fieldName`;function it(e,t,n){return(e===rt||e.endsWith(`.${rt}`))&&typeof t==`string`?nt(t,n):t}function at(e,t,n){let r=e=>n.includes(e),i=(e,n)=>{if(Array.isArray(e))e.forEach(e=>{i(e,n)});else if(typeof e==`object`&&e){let a=e;Object.keys(a).forEach(e=>{let o=n===``?e:`${n}.${e}`;if(r(o))return;let s=ot(e,t);s!==e&&!(s in a)&&(a[s]=a[e],delete a[e]),a[s]=it(o,a[s],t),i(a[s],o)})}};return i(e,``),e}function ot(e,t){let n;return n=e.includes(`.`)?e.split(`.`).map(e=>t[e]??e).join(`.`):t[e]??e,n}function D(e,t=[]){return at(e,Ze,t)}function O(e,t=[]){return at(e,Qe,t)}function st(e){return e?.toISOString()}function k(e){return e?new Date(e):void 0}var ct=new WeakMap;function lt(){return{leaves:void 0,fields:void 0,mapFields:void 0,anyField:void 0}}function ut(e,t){let n=e.get(t);return n||(n=lt(),e.set(t,n)),n}function dt(e,t){return t===`*`?(e.anyField??=lt(),e.anyField):t.endsWith(`{}`)?(e.mapFields??=new Map,ut(e.mapFields,t.slice(0,-2))):(e.fields??=new Map,ut(e.fields,t))}function ft(e){let t=lt();for(let n of e){let e=n.path.split(`.`).reduce(dt,t);e.leaves??=[],e.leaves.push(n)}return t}function pt(e){let t=ct.get(e);return t||(t=ft(e),ct.set(e,t)),t}function mt(e){return typeof e==`object`&&!!e}function ht(e,{isRepeated:t,isMap:n},r){return t?Array.isArray(e)?e.map(r):e:n?mt(e)?Object.fromEntries(Object.entries(e).map(([e,t])=>[e,r(t)])):e:r(e)}function gt(e,t,n){mt(e)&&yt(e,t,n)}function _t(e,t,n){for(let[r,i]of t){if(!(r in e))continue;if(i.leaves)for(let t of i.leaves)e[r]=ht(e[r],t,n);let t=e[r];Array.isArray(t)?t.forEach(e=>gt(e,i,n)):gt(t,i,n)}}function vt(e,t,n){for(let[r,i]of t){let t=e[r];mt(t)&&Object.values(t).forEach(e=>gt(e,i,n))}}function yt(e,{fields:t,mapFields:n,anyField:r},i){t&&_t(e,t,i),n&&vt(e,n,i),r&&Object.values(e).forEach(e=>gt(e,r,i))}function A(e,t){if(!mt(e))return e;for(let{paths:n,transformFn:r}of t)yt(e,pt(n),r);return e}function bt(e){return Tt(e).map(e=>e.toLocaleUpperCase()).join(`_`)}var xt=/([\p{Ll}\d])(\p{Lu})/gu,St=/(\p{Lu})([\p{Lu}][\p{Ll}])/gu,Ct=`$1\0$2`,wt=/[^\p{L}\d]+/giu;function Tt(e){let t=e.trim();t=t.replace(xt,Ct).replace(St,Ct),t=t.replace(wt,`\0`);let n=0,r=t.length;for(;t.charAt(n)===`\0`;)n++;if(n===r)return[];for(;t.charAt(r-1)===`\0`;)r--;return t.slice(n,r).split(/\0/g)}var Et=e=>`validationError`in(e.response?.data?.details??{}),Dt=e=>`applicationError`in(e.response?.data?.details??{}),Ot=e=>(e.response?.status??-1)>=400&&(e.response?.status??-1)<500;function j(e,t={explicitPathsToArguments:{},spreadPathsToArguments:{},singleArgumentUnchanged:!1},n=[]){if(typeof e!=`object`||!e)throw e;if(Et(e))return kt(e,t,n);if(Dt(e))return jt(e);if(Ot(e)){let t=e.response?.status,n=e.response?.statusText??`UNKNOWN`,r=e.response?.data?.message??n,i={applicationError:{description:n,code:bt(n),data:{}},requestId:e.requestId};return At(e,{message:JSON.stringify({message:r,details:i},null,2),extraProperties:{details:i,status:t}})}return Mt(e)}var kt=(e,t,n)=>{let r=e.response?.data,i=e.requestId,{fieldViolations:a}=r.details.validationError,o=Nt(t,a,n)?.sort((e,t)=>e.field<t.field?-1:1),s=`INVALID_ARGUMENT: ${o?.map(({field:e,description:t})=>`"${e}" ${t}`)?.join(`, `)}`,c={validationError:{fieldViolations:o},requestId:i};return At(e,{message:JSON.stringify({message:s,details:c},null,2),extraProperties:{details:c,status:e.response?.status,requestId:i}})},At=(e,{message:t,extraProperties:n})=>Object.assign(e,{...n,message:t}),jt=e=>{let t=e.response?.status,n=e.response?.statusText??`UNKNOWN`,r=e.response?.data?.message??n,i=e.response?.data?.details?.applicationError?.description??n,a=e.response?.data?.details?.applicationError?.code??bt(n),o=e.response?.data?.details?.applicationError?.data??{},s=r===i?r:`${r}: ${i}`,c={applicationError:{description:i,code:a,data:o},requestId:e.requestId};return At(e,{message:JSON.stringify({message:s,details:c},null,2),extraProperties:{details:c,status:t,requestId:e.requestId}})},Mt=e=>At(e,{message:e.requestId?`System error occurred, request-id: ${e.requestId}`:`System error occurred: ${JSON.stringify(e)}`,extraProperties:{requestId:e.requestId,status:e.response?.status,code:bt(e.response?.statusText??`UNKNOWN`),...!e.response&&{runtimeError:e}}}),Nt=({spreadPathsToArguments:e,explicitPathsToArguments:t,singleArgumentUnchanged:n},r,i)=>{let a={...e,...t},o=Object.keys(a);return r?.filter(e=>!r.some(t=>t.field.length>e.field.length&&t.field.startsWith(e.field)&&o.includes(t.field))).map(e=>{let r=t[e.field];if(r)return{...e,field:Pt(r,i)};let s=o?.sort((e,t)=>t.length-e.length)?.find(t=>e.field.startsWith(t));if(s){let t=a[s];if(t)return{...e,field:e.field.replace(s,Pt(t,i))}}return n?{...e,field:`${i[0]}.${e.field}`}:e})},Pt=(e,t)=>{let n=Ft(e);return n==null?e:e.replace(`$[${n}]`,t[n])},Ft=e=>{let t=e.match(/\$\[(?<argIndex>\d+)\]/);return t&&t.groups&&Number(t.groups.argIndex)};function It(){let e=typeof $wixContext<`u`&&$wixContext.initWixModules?$wixContext.initWixModules:globalThis.__wix_context__!==void 0&&globalThis.__wix_context__.initWixModules?globalThis.__wix_context__.initWixModules:void 0;if(e)return{initWixModules(t,n){return Lt(()=>e(t,n))},fetchWithAuth(){throw Error(`fetchWithAuth is not available in this context`)},graphql(){throw Error(`graphql is not available in this context`)}};let t=typeof $wixContext<`u`?$wixContext.client:b.client===void 0?globalThis.__wix_context__===void 0?void 0:globalThis.__wix_context__.client:b.client,n=typeof $wixContext<`u`?$wixContext.elevatedClient:b.elevatedClient===void 0?globalThis.__wix_context__===void 0?void 0:globalThis.__wix_context__.elevatedClient:b.elevatedClient;if(t||n)return{initWixModules(e,r){if(r){if(!n)throw Error(`An elevated client is required to use elevated modules. Make sure to initialize the Wix context with an elevated client before using elevated SDK modules`);return Lt(()=>n.use(e))}if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return Lt(()=>t.use(e))},fetchWithAuth:(e,n)=>{if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return t.fetchWithAuth(e,n)},getAuth(){if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return t.auth},async graphql(e,n,r){if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return t.graphql(e,n,r)}}}function Lt(e){let t=globalThis.__wix_context__,n={client:b.client,elevatedClient:b.elevatedClient},r;globalThis.__wix_context__=void 0,b.client=void 0,b.elevatedClient=void 0,typeof $wixContext<`u`&&(r={client:$wixContext?.client,elevatedClient:$wixContext?.elevatedClient},delete $wixContext.client,delete $wixContext.elevatedClient);try{return e()}finally{globalThis.__wix_context__=t,b.client=n.client,b.elevatedClient=n.elevatedClient,typeof $wixContext<`u`&&($wixContext.client=r.client,$wixContext.elevatedClient=r.elevatedClient)}}function Rt(e,t){return((...n)=>{let r=It();return r?r.initWixModules(e,t).apply(void 0,n):e.apply(void 0,n)})}function M(e,t=!1){return Rt(e,t)}function N(e,t){let n=zt(e),r=Object.entries(n).some(([e,t])=>e.includes(`.`)||Array.isArray(t)&&t.some(e=>typeof e==`object`));return t&&r?new URLSearchParams({".r":Vt(JSON.stringify(e))}):Object.entries(n).reduce((e,[t,n])=>((Array.isArray(n)?n:[n]).forEach(r=>{r==null||Array.isArray(n)&&typeof r==`object`||e.append(t,r)}),e),new URLSearchParams)}function P(e){let t=en(Qt(e.host),e.domainToMappings);return un(sn(e.protoPath,e.data||{}),t)}function zt(e,t=``){let n={};return Object.entries(e).forEach(([e,r])=>{let i=typeof r==`object`&&!!r&&!Array.isArray(r),a=Bt(t,e);if(i){let e=zt(r,a);Object.assign(n,e)}else n[a]=r}),n}function Bt(e,t){return`${e}${e?`.`:``}${t}`}var Vt=e=>{let t=new TextEncoder().encode(e);return(typeof btoa<`u`?btoa(String.fromCodePoint(...t)):Buffer.from(e,`utf-8`).toString(`base64`)).replace(/=/g,``).replace(/\+/g,`-`).replace(/\//g,`_`)},Ht=[`wix.com`,`editorx.com`],Ut=`_`,Wt=`*.`,Gt=RegExp(`\\.(${Ht.join(`|`)})$`),Kt=[`42.wixprod.net`,`uw2-edt-1.wixprod.net`,`virginia-edt.wixprod.net`],qt={"payments.base44.com":`manage.wix.com`,"create.editorx.com":`editor.editorx.com`},Jt=`dev.wix-code.com`,Yt=/{(.*)}/,Xt=RegExp(`\\.(${Kt.join(`|`)})$`),Zt=RegExp(`.*\\.${Jt}$`);function Qt(e){return $t(e).replace(Gt,`._base_domain_`).replace(Xt,`._api_base_domain_`).replace(Zt,`*.dev.wix-code.com`)}function $t(e){return qt[e]??e}function en(e,t){let n=t[e];if(n)return n;let r=tn(e,t)??nn(e,t);if(!r){if(an(e)){let e=t[on];if(e)return e}let n=t[Ut];if(n)return n}return r??[]}function tn(e,t){return Object.entries(t).find(([t])=>{let[,...n]=e.split(`.`);return n.join(`.`)===t})?.[1]}function nn(e,t){let[n]=Object.entries(t).filter(([t])=>rn(e,t)).sort(([e],[t])=>t.length-e.length);if(!n)return;let[,r]=n;return r}function rn(e,t){if(!t.startsWith(Wt))return!1;let n=t.slice(1);return e.length>n.length&&e.endsWith(n)}function an(e){return!!e.match(/\._base_domain_$/)}var on=`www._base_domain_`;function sn(e,t){return e.split(`/`).map(e=>cn(e,t)).join(`/`)}function cn(e,t){let n=e.match(Yt)||[],r=n[1];return r?ln(t,r,e,e.replace(n[0],``)):e}function ln(e,t,n,r){let i=e;for(let e of t.split(`.`)){if(!i)return n;i=i[e]}return`${i}${r}`}function un(e,t){let n=t?.find(t=>e.startsWith(t.destPath));return n?n.srcPath+e.slice(n.destPath.length):e}function dn(e){return isFinite(e)?e:e.toString()}function F(e){return e===`NaN`?NaN:e===`Infinity`?1/0:e===`-Infinity`?-1/0:e}function fn(e){return Uint8Array.from(atob(e),e=>e.charCodeAt(0))}var pn=`modulepreload`,mn=function(e,t){return new URL(e,t).href},hn={},gn=function(e){return e.pathname.endsWith(`.css`)},_n=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},I=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=mn(t,n);let r=s(t),i=gn(r);return _n(hn,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:pn,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{t.addEventListener(`load`,e),t.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${r}`)))})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},vn=`x-wix-linguist`,yn=`00000000-0000-0000-0000-000000000000`,bn=`false`,xn=()=>{let e=wn(`language`),t=wn(`locale`);if(e)return{[vn]:[e,t||e,bn,yn].join(`|`)}};function Sn(){let e=null,t=null;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var Cn=()=>(typeof window<`u`?window.commonConfig:void 0)??globalThis.commonConfig,wn=e=>Cn()?.[e],Tn=({createHost:e})=>({__type:`host`,create:e=>({}),host:t=>{let{applicationId:n,componentId:r}=t??{},i=typeof window<`u`?window.wixEmbedsAPI:void 0,a=e(t),o=Dn();return{...a,apiBaseUrl:o,getMonitoringClient:i?.getMonitoringClientFunction?.(n,r),essentials:{language:wn(`language`),locale:wn(`locale`),get passThroughHeaders(){return xn()}}}},auth:e=>{let t=typeof window<`u`?window.wixEmbedsAPI:void 0;!e&&En()&&(e=t?.getAccessTokenFunction?.());let n=!1,{resolve:r,promise:i}=Sn();return{getAuthHeaders:async()=>{if(!e&&n&&(e=await i),!e)throw Error(`Failed to resolve auth token`);return{headers:{Authorization:await e()}}},getAccessTokenInjector:()=>(n=!0,e=>{r(e)})}}});function En(){return typeof document<`u`&&document.currentScript?.tagName===`SCRIPT`}function Dn(){let e=(typeof window<`u`?window.wixEmbedsAPI:void 0)?.getExternalBaseUrl?.();if(!e)return;let t=new URL(e);return t?.pathname&&t.pathname!==`/`?`${t.hostname}${t.pathname}`:t.hostname}var On=({clientSdk:e,applicationId:t})=>({invoke:async({namespace:n,method:r,args:i})=>{if(!e)throw Error(`Wix Site SDK only works in a Wix site environment. Learn more: https://dev.wix.com/docs/sdk/host-modules/site/introduction`);return e.invoke({namespace:n,method:r,args:i,applicationId:t,accessToken:`accessToken`})},getAccessToken:()=>{throw Error(`Not implemented`)},observeState:()=>({disconnect:()=>{}})}),kn=Tn({createHost:function(e){let t=(typeof $wixContext<`u`?$wixContext.clientSdk:void 0)??e?.clientSdk??(typeof window<`u`?window?.clientSdk:void 0),{applicationId:n}=e||{};if(!n)throw Error(`"createHost" was called without a required field "applicationId"`);return{channel:On({clientSdk:t,applicationId:n}),close:()=>{}}}}),An=(e,t)=>{let n=kn.host({applicationId:e,componentId:t}),r=kn.auth();return Ye({auth:r,host:n}).enableContext(`module`),r.getAccessTokenInjector()},jn=e=>An(`14bcded7-0066-7c35-14d7-466cb3f09103`,e);function Mn(){let e=typeof $wixContext<`u`&&$wixContext.initWixModules?$wixContext.initWixModules:globalThis.__wix_context__!==void 0&&globalThis.__wix_context__.initWixModules?globalThis.__wix_context__.initWixModules:void 0;if(e)return{initWixModules(t,n){return Nn(()=>e(t,n))},fetchWithAuth(){throw Error(`fetchWithAuth is not available in this context`)},graphql(){throw Error(`graphql is not available in this context`)}};let t=typeof $wixContext<`u`?$wixContext.client:b.client===void 0?globalThis.__wix_context__===void 0?void 0:globalThis.__wix_context__.client:b.client,n=typeof $wixContext<`u`?$wixContext.elevatedClient:b.elevatedClient===void 0?globalThis.__wix_context__===void 0?void 0:globalThis.__wix_context__.elevatedClient:b.elevatedClient;if(t||n)return{initWixModules(e,r){if(r){if(!n)throw Error(`An elevated client is required to use elevated modules. Make sure to initialize the Wix context with an elevated client before using elevated SDK modules`);return Nn(()=>n.use(e))}if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return Nn(()=>t.use(e))},fetchWithAuth:(e,n)=>{if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return t.fetchWithAuth(e,n)},getAuth(){if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return t.auth},async graphql(e,n,r){if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return t.graphql(e,n,r)}}}function Nn(e){let t=globalThis.__wix_context__,n={client:b.client,elevatedClient:b.elevatedClient},r;globalThis.__wix_context__=void 0,b.client=void 0,b.elevatedClient=void 0,typeof $wixContext<`u`&&(r={client:$wixContext?.client,elevatedClient:$wixContext?.elevatedClient},delete $wixContext.client,delete $wixContext.elevatedClient);try{return e()}finally{globalThis.__wix_context__=t,b.client=n.client,b.elevatedClient=n.elevatedClient,typeof $wixContext<`u`&&($wixContext.client=r.client,$wixContext.elevatedClient=r.elevatedClient)}}function Pn(e,t){return{...e,...Object.fromEntries(t.map(t=>[t,(...n)=>{let r=Mn();if(!r)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return r.initWixModules(e)[t].apply(void 0,n)}]))}}function Fn(e){return Pn({__type:`host`,create:t=>Object.entries(e).reduce((e,[n,r])=>({...e,[n]:r(t)}),{})},Object.keys(e))}var In=class{constructor(e){this.message=e,this.captureException=()=>{console.error(this.message)},this.captureMessage=()=>{console.error(this.message)},this.startSpan=(e,t)=>(console.error(this.message),t(void 0)),this.startSpanManual=()=>(console.error(this.message),{end:()=>{},fail:()=>{}}),this.endSpanManual=()=>{console.error(this.message)},this.addBreadcrumb=()=>{console.error(this.message)}}},Ln=e=>new In(e),Rn=Fn({getMonitoringClient:e=>()=>e.getMonitoringClient?e.getMonitoringClient():Ln(`Host monitoring client is not available on the current host. Make sure to use an updated version of the host initialization package.`)});function zn(e){let t=Promise.resolve(e);return t.status=`fulfilled`,t.value=e,t}function Bn(e){if(e.status===`fulfilled`)return e.value;throw e.status===`rejected`?e.reason:(e.status===`pending`||(e.status=`pending`,e.then(t=>{e.status=`fulfilled`,e.value=t},t=>{e.status=`rejected`,e.reason=t})),e)}var Vn=new WeakMap;function Hn(e,t,n){let r=Vn.get(e);r||(r=new WeakMap,Vn.set(e,r));let i=r.get(t);i||(i=new WeakMap,r.set(t,i));let a=i.get(n);if(!a){if(e.status===`fulfilled`)a=zn(t(e.value));else if(e.status===`rejected`)try{a=zn(n(e.reason))}catch{a=e.then(t,n)}else a=e.then(t,n);i.set(n,a)}return a}function L(e){return e}var Un=L(`@wix/site-service-rendering-context`),Wn=L(`@wix/site-service-editor-context`),Gn=()=>{try{return!!m(Wn).previewMode}catch{return!1}},Kn=i({isEditor:!1,isPreview:!1}),qn=()=>c(Kn),Jn=({isEditor:e,isPreview:t})=>e&&!t,Yn=()=>{try{let{SSR:e,SEO:t}=m(Un);return e||t}catch{return!1}},Xn=()=>{let e=Yn();return Jn(qn())&&!e},Zn=[{path:`richContent.nodes.buttonData.styles.background.gradient.centerX`},{path:`richContent.nodes.buttonData.styles.background.gradient.centerY`},{path:`richContent.nodes.buttonData.styles.background.gradient.stops.position`},{path:`richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX`},{path:`richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY`},{path:`richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position`},{path:`richContent.nodes.galleryData.items.image.media.duration`},{path:`richContent.nodes.galleryData.items.video.media.duration`},{path:`richContent.nodes.galleryData.items.video.thumbnail.duration`},{path:`richContent.nodes.galleryData.options.item.ratio`},{path:`richContent.nodes.imageData.image.duration`},{path:`richContent.nodes.imageData.crop.x`},{path:`richContent.nodes.imageData.crop.y`},{path:`richContent.nodes.imageData.crop.width`},{path:`richContent.nodes.imageData.crop.height`},{path:`richContent.nodes.mapData.mapSettings.lat`},{path:`richContent.nodes.mapData.mapSettings.lng`},{path:`richContent.nodes.pollData.poll.image.duration`},{path:`richContent.nodes.pollData.poll.options.image.duration`},{path:`richContent.nodes.pollData.design.poll.background.image.duration`},{path:`richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`richContent.nodes.appEmbedData.image.duration`},{path:`richContent.nodes.videoData.video.duration`},{path:`richContent.nodes.videoData.thumbnail.duration`},{path:`richContent.nodes.audioData.audio.duration`},{path:`richContent.nodes.audioData.coverImage.duration`},{path:`richContent.nodes.layoutData.backgroundImage.media.duration`},{path:`richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX`},{path:`richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY`},{path:`richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position`},{path:`richContent.nodes.layoutData.backdropImage.media.duration`},{path:`richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX`},{path:`richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY`},{path:`richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position`},{path:`richContent.nodes.layoutData.background.gradient.centerX`},{path:`richContent.nodes.layoutData.background.gradient.centerY`},{path:`richContent.nodes.layoutData.background.gradient.stops.position`},{path:`richContent.nodes.layoutData.backdrop.gradient.centerX`},{path:`richContent.nodes.layoutData.backdrop.gradient.centerY`},{path:`richContent.nodes.layoutData.backdrop.gradient.stops.position`},{path:`richContent.nodes.shapeData.shape.duration`},{path:`richContent.nodes.cardData.background.gradient.centerX`},{path:`richContent.nodes.cardData.background.gradient.centerY`},{path:`richContent.nodes.cardData.background.gradient.stops.position`},{path:`richContent.nodes.cardData.backgroundImage.media.duration`},{path:`richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX`},{path:`richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY`},{path:`richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position`},{path:`richContent.nodes.tocData.fontSize`},{path:`richContent.nodes.tocData.itemSpacing`},{path:`richContent.nodes.smartBlockCellData.shape.duration`},{path:`richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position`}],Qn=[{path:`richContent.metadata.createdTimestamp`},{path:`richContent.metadata.updatedTimestamp`}];function $n(e){return P(Object.assign(e,{domainToMappings:{"manage._base_domain_":[{srcPath:`/_api/blog-paywall-service`,destPath:``}],"editor._base_domain_":[{srcPath:`/_api/blog-paywall-service`,destPath:``}],"blocks._base_domain_":[{srcPath:`/_api/blog-paywall-service`,destPath:``}],"create.editorx":[{srcPath:`/_api/blog-paywall-service`,destPath:``}],_:[{srcPath:`/_api/blog-paywall-service`,destPath:``}],"www.wixapis.com":[{srcPath:`/blog-paywall-service/v1/post-paywalls`,destPath:`/v1/post-paywalls`}]}}))}var er=`@wix/auto_sdk_blog_post-paywalls`;function tr(e){function t({host:t}){return{entityFqdn:`wix.blog.blog_paywall_service.v1.post_paywall`,method:`GET`,methodFqn:`wix.blog.blog_paywall_service.v1.PostPaywallService.GetPostPaywall`,packageName:er,migrationOptions:{optInTransformResponse:!0},url:$n({protoPath:`/v1/post-paywalls/{postFqdn}/{postId}`,data:e,host:t}),params:N(e),transformResponse:e=>A(e,[{transformFn:F,paths:Zn},{transformFn:k,paths:Qn}])}}return t}async function nr(e,t){let{httpClient:n,sideEffects:r}=arguments[2],i=tr(D({postFqdn:e?.postFqdn,postId:e?.postId,language:t?.language},[]));r?.onSiteCall?.();try{let e=await n.request(i);return r?.onSuccess?.(e),O(e.data,[])}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{postFqdn:`$[0].postFqdn`,postId:`$[0].postId`,language:`$[1].language`},singleArgumentUnchanged:!1},[`identifiers`,`options`]);throw r?.onError?.(e),t}}function rr(e){return(t,n)=>nr(t,n,{httpClient:e})}var ir=M(rr);function ar(e){return Object.keys(e).length===1&&`$and`in e&&Array.isArray(e.$and)}function or(e){return Object.keys(e).length===1&&`$or`in e&&Array.isArray(e.$or)}function sr(e){return Object.keys(e).length===1&&`$not`in e&&typeof e.$not==`object`}function R(e,t){return e===void 0||Object.keys(e).length===0?t:t===void 0||Object.keys(t).length===0?e:{$and:[...ar(e)?e.$and:[e],...ar(t)?t.$and:[t]]}}function cr(e,t){return e===void 0||Object.keys(e).length===0?t:t===void 0||Object.keys(t).length===0?e:{$or:[...or(e)?e.$or:[e],...or(t)?t.$or:[t]]}}function lr(e){if(e!==void 0&&Object.keys(e).length!==0)return sr(e)?e.$not:{$not:e}}var ur=class{_items;_fetchNextPage;_fetchPrevPage;_originQuery;_limit;constructor({items:e,originQuery:t,fetchNextPage:n,fetchPrevPage:r,limit:i}){this._items=e,this._fetchNextPage=n,this._fetchPrevPage=r,this._originQuery=t,this._limit=i}get items(){return this._items}get length(){return this._items.length}get pageSize(){return this._limit}get query(){return this._originQuery}async next(){if(!this.hasNext())throw Error(`No next page to fetch`);return await this._fetchNextPage()}async prev(){if(!this.hasPrev())throw Error(`No previous page to fetch`);return await this._fetchPrevPage()}},dr=class extends ur{_nextCursor;_prevCursor;cursors;constructor({items:e,originQuery:t,fetchNextPage:n,fetchPrevPage:r,limit:i,nextCursor:a,prevCursor:o}){super({items:e,originQuery:t,fetchNextPage:n,fetchPrevPage:r,limit:i}),this._nextCursor=a,this._prevCursor=o,this.cursors={next:a,prev:o}}hasNext(){return!!this._nextCursor}hasPrev(){return!!this._prevCursor}},fr=class extends ur{_totalCount;_offset;_tooManyToCount;constructor({items:e,fetchNextPage:t,fetchPrevPage:n,offset:r,originQuery:i,limit:a,totalCount:o,tooManyToCount:s}){super({items:e,fetchNextPage:t,fetchPrevPage:n,originQuery:i,limit:a}),this._totalCount=o,this._offset=r,this._tooManyToCount=s}get currentPage(){return this._limit===0?void 0:Math.floor(this._offset/this._limit)}get totalPages(){return this._tooManyToCount||this._limit===0?void 0:Math.ceil(this._totalCount/this._limit)}get totalCount(){return this._tooManyToCount?void 0:this._totalCount}hasNext(){return this._limit!==0&&this.currentPage!==void 0&&this.totalPages!==void 0&&this.currentPage<this.totalPages-1}hasPrev(){return!!(this._limit!==0&&this.currentPage&&this.currentPage>0)}};function pr(e){let t=n=>({query:n,async find(){try{let r=e.requestTransformer(e.pagingMethod===`CURSOR`&&n.cursorPaging.cursor?{cursorPaging:n.cursorPaging}:n),i=await e.func(r),{[$e]:a,[et]:o}=e.responseTransformer(i);if(e.pagingMethod===`OFFSET`){let e=n;return new fr({items:a??[],fetchNextPage:()=>t({...e,paging:{offset:e.paging.offset+e.paging.limit,limit:e.paging.limit}}).find(),fetchPrevPage:()=>t({...n,paging:{offset:Math.max(e.paging.offset-e.paging.limit,0),limit:e.paging.limit}}).find(),offset:e.paging.offset,limit:e.paging.limit,totalCount:o?.total,tooManyToCount:o?.tooManyToCount,originQuery:this})}let s=n.cursorPaging;return new dr({items:a??[],limit:s.limit,originQuery:this,fetchNextPage:()=>t({...n,cursorPaging:{cursor:o?.cursors?.next??void 0,limit:s.limit}}).find(),fetchPrevPage:()=>t({...n,cursorPaging:{cursor:o?.cursors?.prev??void 0,limit:s.limit}}).find(),prevCursor:o?.cursors?.prev??void 0,nextCursor:o?.cursors?.next??void 0})}catch(t){throw e.errorTransformer(t)}},skipTo(e){return t({...n,cursorPaging:{cursor:e,limit:n.cursorPaging.limit}})},eq(r,i){let a=i===void 0?null:i,o={[z(e.transformationPaths,r)]:a};return t({...n,filter:R(n.filter,o)})},ne(r,i){let a=i===void 0?null:i,o={[z(e.transformationPaths,r)]:{$ne:a}};return t({...n,filter:R(n.filter,o)})},ge(r,i){let a={[z(e.transformationPaths,r)]:{$gte:i}};return t({...n,filter:R(n.filter,a)})},gt(r,i){let a={[z(e.transformationPaths,r)]:{$gt:i}};return t({...n,filter:R(n.filter,a)})},le(r,i){let a={[z(e.transformationPaths,r)]:{$lte:i}};return t({...n,filter:R(n.filter,a)})},lt(r,i){let a={[z(e.transformationPaths,r)]:{$lt:i}};return t({...n,filter:R(n.filter,a)})},isNotEmpty(e){return this.ne(e,null)},isEmpty(e){return this.eq(e,null)},startsWith(r,i){let a={[z(e.transformationPaths,r)]:{$startsWith:i}};return t({...n,filter:R(n.filter,a)})},endsWith(r,i){let a={[z(e.transformationPaths,r)]:{$endsWith:i}};return t({...n,filter:R(n.filter,a)})},contains(r,i){let a={[z(e.transformationPaths,r)]:{$contains:i}};return t({...n,filter:R(n.filter,a)})},hasSome(r,...i){let a={[z(e.transformationPaths,r)]:{$hasSome:Array.isArray(i[0])?i[0]:i}};return t({...n,filter:R(n.filter,a)})},hasAll(r,...i){let a={[z(e.transformationPaths,r)]:{$hasAll:Array.isArray(i[0])?i[0]:i}};return t({...n,filter:R(n.filter,a)})},between(e,t,n){return this.ge(e,t).lt(e,n)},in(r,i){let a={[z(e.transformationPaths,r)]:{$in:i}};return t({...n,filter:R(n.filter,a)})},exists(r,i=!0){let a={[z(e.transformationPaths,r)]:{$exists:i}};return t({...n,filter:R(n.filter,a)})},or(e){return t({...n,filter:cr(n.filter,e.query.filter)})},and(e){return t({...n,filter:R(n.filter,e.query.filter)})},not(e){return t({...n,filter:lr(e.query.filter)})},ascending(...r){return t({...n,sort:[...n.sort??[],...r.map(t=>({fieldName:z(e.transformationPaths,t),order:`ASC`}))]})},descending(...r){return t({...n,sort:[...n.sort??[],...r.map(t=>({fieldName:z(e.transformationPaths,t),order:`DESC`}))]})},skip(e){return t({...n,paging:{offset:e,limit:`limit`in n.paging?n.paging.limit:50}})},limit(r){if(e.pagingMethod===`CURSOR`){let e=n;return t({...n,cursorPaging:{limit:r,cursor:`cursor`in e.cursorPaging?e.cursorPaging.cursor:void 0}})}let i=n;return t({...n,paging:{limit:r,offset:`offset`in i.paging?i.paging.offset:0}})}});return t({filter:{},...e.pagingMethod===`OFFSET`?{paging:{offset:0,limit:50}}:{cursorPaging:{limit:50}}})}function z(e,t){let n=Object.entries(e).find(([e])=>e===t||t.startsWith(`${e}.`))?.[0];return n?t.replace(n,e[n]):nt(t,{...e,...tt})}var mr=`filter`,hr=`sort`,gr=`cursorPaging`,_r=`paging`,vr=[mr,hr,gr],yr=[mr,hr,_r];function br(e,t){return!e||typeof e!=`object`?!1:t.some(t=>e.hasOwnProperty(t))}function xr(e){return br(e,vr)}function Sr(e){return br(e,yr)}function Cr(e){let{hasOptionsParameter:t}=e;return function(...n){return t?Tr(n,e):wr(n,e)}}function wr(e,t){return e.length===0?t.builderQueryFunction():t.typedQueryFunction(e[0])}function Tr(e,t){switch(e.length){case 0:return t.builderQueryFunction();case 1:return xr(e[0])||Sr(e[0])?t.typedQueryFunction(e[0]):t.builderQueryFunction(e[0]);default:return t.typedQueryFunction(e[0],e[1])}}var Er=[{path:`like.createdDate`}],Dr=[{path:`likes.createdDate`}];function Or(e){return P(Object.assign(e,{domainToMappings:{_:[{srcPath:`/_api/blog-like-service`,destPath:``}],"api._api_base_domain_":[{srcPath:`/blog-like-service`,destPath:``}],"social-blog._base_domain_":[{srcPath:`/_api/blog-like-service`,destPath:``}],"manage._base_domain_":[{srcPath:`/_api/blog-like-service`,destPath:``}],"apps._base_domain_":[{srcPath:`/_api/blog-like-service`,destPath:``}],"www.wixapis.com":[{srcPath:`/blog/v1/likes`,destPath:`/v1/likes`}],"*.dev.wix-code.com":[{srcPath:`/blog/v1/likes`,destPath:`/v1/likes`}]}}))}var kr=`@wix/auto_sdk_blog_likes`;function Ar(e){function t({host:t}){let n=A(e,[{transformFn:st,paths:Er}]);return{entityFqdn:`wix.blog.v1.like`,method:`POST`,methodFqn:`wix.blog.v1.LikeService.CreateLike`,packageName:kr,migrationOptions:{optInTransformResponse:!0},url:Or({protoPath:`/v1/likes`,data:n,host:t}),data:n,transformResponse:e=>A(e,[{transformFn:k,paths:Er}])}}return t}function jr(e){function t({host:t}){return{entityFqdn:`wix.blog.v1.like`,method:`POST`,methodFqn:`wix.blog.v1.LikeService.QueryLikes`,packageName:kr,migrationOptions:{optInTransformResponse:!0},url:Or({protoPath:`/v1/likes/query`,data:e,host:t}),data:e,transformResponse:e=>A(e,[{transformFn:k,paths:Dr}])}}return t}function Mr(e){function t({host:t}){return{entityFqdn:`wix.blog.v1.like`,method:`DELETE`,methodFqn:`wix.blog.v1.LikeService.DeleteLikeByFqdnAndEntityId`,packageName:kr,migrationOptions:{optInTransformResponse:!0},url:Or({protoPath:`/v1/likes/fqdn/{fqdn}/entity-id/{entityId}`,data:e,host:t}),params:N(e)}}return t}async function Nr(e){let{httpClient:t,sideEffects:n}=arguments[1],r=Ar(D({like:e?.like}));n?.onSiteCall?.();try{let e=await t.request(r);return n?.onSuccess?.(e),O(e.data)?.like}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{like:`$[0].like`},singleArgumentUnchanged:!1},[`options`]);throw n?.onError?.(e),t}}function Pr(){let{httpClient:e,sideEffects:t}=arguments[0];return pr({func:async n=>{let r=jr(n);t?.onSiteCall?.();try{let n=await e.request(r);return t?.onSuccess?.(n),n}catch(e){throw t?.onError?.(e),e}},requestTransformer:e=>{let t=[e,{}];return D({...t?.[1],query:t?.[0]})},responseTransformer:({data:e})=>{let t=O(A(e,[]));return{items:t?.likes,pagingMetadata:t?.pagingMetadata}},errorTransformer:e=>{throw j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{query:`$[0]`},singleArgumentUnchanged:!1})},pagingMethod:`CURSOR`,transformationPaths:{}})}async function Fr(e){let{httpClient:t,sideEffects:n}=arguments[1],r=jr(D({query:e}));n?.onSiteCall?.();try{let e=await t.request(r);return n?.onSuccess?.(e),O(e.data)}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{query:`$[0]`},singleArgumentUnchanged:!1},[`query`]);throw n?.onError?.(e),t}}async function Ir(e){let{httpClient:t,sideEffects:n}=arguments[1],r=Mr(D({fqdn:e?.fqdn,entityId:e?.entityId}));n?.onSiteCall?.();try{let e=await t.request(r);n?.onSuccess?.(e)}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{fqdn:`$[0].fqdn`,entityId:`$[0].entityId`},singleArgumentUnchanged:!1},[`identifiers`]);throw n?.onError?.(e),t}}function Lr(e){return t=>Nr(t,{httpClient:e})}function Rr(e){return()=>Pr({httpClient:e})}function zr(e){return t=>Fr(t,{httpClient:e})}function Br(e){return t=>Ir(t,{httpClient:e})}function Vr(e){let t=Cr({builderQueryFunction:()=>Rr(e)(),typedQueryFunction:t=>zr(e)(t),hasOptionsParameter:!1});function n(e){return t(...arguments)}return n}var Hr=M(Lr),Ur=M(Br),Wr=M(Vr);function B(e){if(!e)return;let t=``;return(e.filename||e.altText)&&(t=`/${encodeURIComponent(e.filename||e.altText)}`),e.id?`wix:image://v1/${e.id}${t}#originWidth=${e.width}&originHeight=${e.height}`:e.url}function V(e){if(e)return[`http://`,`https://`].some(t=>e.base?.startsWith(t))?`${e.base}${e.path}`:`http://${e.base}${e.path}`}var Gr=[{path:`categories.updatedDate`},{path:`categories.coverImage.urlExpirationDate`}],Kr=[{path:`categories.coverImage.focalPoint.x`},{path:`categories.coverImage.focalPoint.y`}];function qr(e){return P(Object.assign(e,{domainToMappings:{"manage._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`},{srcPath:`/_api/communities-blog-node-api/v3/bulk/category`,destPath:`/v3/bulk/category`},{srcPath:`/_api/communities-blog-node-api/v3/bulk/categories`,destPath:`/v3/bulk/categories`}],"*.pub.wix-code.com":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"bo._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"wixbo.ai":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"wix-bo.com":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"editor.wixapps.net":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"editor._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"blocks._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"create.editorx":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"social-blog._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],_:[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"apps._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"www._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"www.wixapis.com":[{srcPath:`/blog/v3/categories`,destPath:`/v3/categories`},{srcPath:`/v3/categories`,destPath:`/v3/categories`}],"*.dev.wix-code.com":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"api._api_base_domain_":[{srcPath:`/category-service-api-proxy`,destPath:``}]}}))}var Jr=`@wix/auto_sdk_blog_categories`;function Yr(e){function t({host:t}){return{entityFqdn:`wix.blog.v3.category`,method:`GET`,methodFqn:`com.wixpress.npm.communities.platformized.blog.v3.CategoryService.ListCategories`,packageName:Jr,migrationOptions:{optInTransformResponse:!0},url:qr({protoPath:`/v3/categories`,data:e,host:t}),params:N(e),transformResponse:e=>A(e,[{transformFn:k,paths:Gr},{transformFn:F,paths:Kr}])}}return t}var Xr=[{path:`categories.url`},{path:`categories.translations.url`}],Zr=[{path:`categories.coverImage`}];async function Qr(e){let{httpClient:t,sideEffects:n}=arguments[1],r=Yr(D({paging:e?.paging,fieldsets:e?.fieldsets,language:e?.language}));n?.onSiteCall?.();try{let e=await t.request(r);return n?.onSuccess?.(e),O(A(e.data,[{transformFn:V,paths:Xr},{transformFn:B,paths:Zr}]))}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{paging:`$[0].paging`,fieldsets:`$[0].fieldsets`,language:`$[0].language`},singleArgumentUnchanged:!1},[`options`]);throw n?.onError?.(e),t}}function $r(e){return t=>Qr(t,{httpClient:e})}var ei=M($r);function H(e){if(!e)return;let t=``;e?.filename&&(t=`/${encodeURIComponent(e.filename)}`);let n=``;if(e.posters?.length){let[t,r]=e.posters,i=r||t,a=i.id||``;if(!a&&i.url){let e=i.url.lastIndexOf(`/`);e!==-1&&(a=i.url.substring(e+1))}a&&(n=`#posterUri=${a}&posterWidth=${i.width}&posterHeight=${i.height}`)}return e.id?`wix:video://v1/${e.id}${t}${n}`:e.url}var ti=[{path:`draftPost.editedDate`},{path:`draftPost.scheduledPublishDate`},{path:`draftPost.firstPublishedDate`},{path:`draftPost.createdDate`},{path:`draftPost.expirationDate`},{path:`draftPost.heroImage.urlExpirationDate`},{path:`draftPost.richContent.metadata.createdTimestamp`},{path:`draftPost.richContent.metadata.updatedTimestamp`},{path:`draftPost.moderationDetails.submittedDate`},{path:`draftPost.moderationDetails.moderationDate`},{path:`draftPost.media.wixMedia.image.urlExpirationDate`},{path:`draftPost.media.wixMedia.videoV2.urlExpirationDate`},{path:`draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate`},{path:`draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate`},{path:`draftPost.media.wixMedia.videoV2.posters.urlExpirationDate`}],ni=[{path:`draftPost.heroImage.focalPoint.x`},{path:`draftPost.heroImage.focalPoint.y`},{path:`draftPost.media.wixMedia.image.focalPoint.x`},{path:`draftPost.media.wixMedia.image.focalPoint.y`},{path:`draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x`},{path:`draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y`},{path:`draftPost.media.wixMedia.videoV2.posters.focalPoint.x`},{path:`draftPost.media.wixMedia.videoV2.posters.focalPoint.y`},{path:`draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX`},{path:`draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY`},{path:`draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position`},{path:`draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX`},{path:`draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY`},{path:`draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position`},{path:`draftPost.richContent.nodes.galleryData.items.image.media.duration`},{path:`draftPost.richContent.nodes.galleryData.items.video.media.duration`},{path:`draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration`},{path:`draftPost.richContent.nodes.galleryData.options.item.ratio`},{path:`draftPost.richContent.nodes.imageData.image.duration`},{path:`draftPost.richContent.nodes.imageData.crop.x`},{path:`draftPost.richContent.nodes.imageData.crop.y`},{path:`draftPost.richContent.nodes.imageData.crop.width`},{path:`draftPost.richContent.nodes.imageData.crop.height`},{path:`draftPost.richContent.nodes.mapData.mapSettings.lat`},{path:`draftPost.richContent.nodes.mapData.mapSettings.lng`},{path:`draftPost.richContent.nodes.pollData.poll.image.duration`},{path:`draftPost.richContent.nodes.pollData.poll.options.image.duration`},{path:`draftPost.richContent.nodes.pollData.design.poll.background.image.duration`},{path:`draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`draftPost.richContent.nodes.appEmbedData.image.duration`},{path:`draftPost.richContent.nodes.videoData.video.duration`},{path:`draftPost.richContent.nodes.videoData.thumbnail.duration`},{path:`draftPost.richContent.nodes.audioData.audio.duration`},{path:`draftPost.richContent.nodes.audioData.coverImage.duration`},{path:`draftPost.richContent.nodes.layoutData.backgroundImage.media.duration`},{path:`draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX`},{path:`draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY`},{path:`draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position`},{path:`draftPost.richContent.nodes.layoutData.backdropImage.media.duration`},{path:`draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX`},{path:`draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY`},{path:`draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position`},{path:`draftPost.richContent.nodes.layoutData.background.gradient.centerX`},{path:`draftPost.richContent.nodes.layoutData.background.gradient.centerY`},{path:`draftPost.richContent.nodes.layoutData.background.gradient.stops.position`},{path:`draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX`},{path:`draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY`},{path:`draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position`},{path:`draftPost.richContent.nodes.shapeData.shape.duration`},{path:`draftPost.richContent.nodes.cardData.background.gradient.centerX`},{path:`draftPost.richContent.nodes.cardData.background.gradient.centerY`},{path:`draftPost.richContent.nodes.cardData.background.gradient.stops.position`},{path:`draftPost.richContent.nodes.cardData.backgroundImage.media.duration`},{path:`draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX`},{path:`draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY`},{path:`draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position`},{path:`draftPost.richContent.nodes.tocData.fontSize`},{path:`draftPost.richContent.nodes.tocData.itemSpacing`},{path:`draftPost.richContent.nodes.smartBlockCellData.shape.duration`},{path:`draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position`}];function ri(e){return P(Object.assign(e,{domainToMappings:{_api_base_domain_:[{srcPath:`/draft-post-service-api-proxy`,destPath:``}],"*.dev.wix-code.com":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`},{srcPath:`/blog/v3/bulk/draft-posts/create`,destPath:`/v3/bulk/draft-posts/create`},{srcPath:`/blog/v3/bulk/draft-posts`,destPath:`/v3/bulk/draft-posts`}],"*.pub.wix-code.com":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],_:[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`},{srcPath:`/blog/v3/bulk/draft-posts/create`,destPath:`/v3/bulk/draft-posts/create`},{srcPath:`/blog/v3/bulk/draft-posts`,destPath:`/v3/bulk/draft-posts`}],"apps._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],"bo._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],"wixbo.ai":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],"wix-bo.com":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],"editor._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],"blocks._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],"create.editorx":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],"editor.wixapps.net":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],"manage._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`},{srcPath:`/_api/draft-post-service-api-proxy/v3/bulk/draft-posts`,destPath:`/v3/bulk/draft-posts`},{srcPath:`/_api/communities-blog-node-api/v3/multilingual`,destPath:`/v3/multilingual`},{srcPath:`/_api/communities-blog-node-api/v3/stats`,destPath:`/v3/stats`},{srcPath:`/_api/communities-blog-node-api/v3/moderation`,destPath:`/v3/moderation`},{srcPath:`/_api/communities-blog-node-api/v3/bulk/moderation`,destPath:`/v3/bulk/moderation`},{srcPath:`/_api/communities-blog-node-api/v3/bulk/draft-posts/create`,destPath:`/v3/bulk/draft-posts/create`}],"social-blog._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],"www.wixapis.com":[{srcPath:`/blog/v3/draft-posts`,destPath:`/v3/draft-posts`},{srcPath:`/blog/v3/bulk/draft-posts/create`,destPath:`/v3/bulk/draft-posts/create`},{srcPath:`/blog/v3/draft-posts/`,destPath:`/v3/draft-posts`},{srcPath:`/blog/v3/bulk/draft-posts`,destPath:`/v3/bulk/draft-posts`},{srcPath:`/blog/v3/multilingual`,destPath:`/v3/multilingual`}],"www._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}]}}))}var ii=`@wix/auto_sdk_blog_draft-posts`;function ai(e){function t({host:t}){return{entityFqdn:`wix.blog.v3.draft`,method:`GET`,methodFqn:`com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDraftPost`,packageName:ii,migrationOptions:{optInTransformResponse:!0},url:ri({protoPath:`/v3/draft-posts/{draftPostId}`,data:e,host:t}),params:N(e),transformResponse:e=>A(e,[{transformFn:k,paths:ti},{transformFn:F,paths:ni}])}}return t}var oi=[{path:`draftPost.heroImage`},{path:`draftPost.media.wixMedia.image`}],si=[{path:`draftPost.url`},{path:`draftPost.translations.url`}],ci=[{path:`draftPost.media.wixMedia.videoV2`}],li=(e=>(e.UNKNOWN=`UNKNOWN`,e.URL=`URL`,e.INTERNAL_ID=`INTERNAL_ID`,e.CONTENT=`CONTENT`,e.RICH_CONTENT=`RICH_CONTENT`,e.TRANSLATIONS=`TRANSLATIONS`,e.GENERATED_EXCERPT=`GENERATED_EXCERPT`,e))(li||{});async function ui(e,t){let{httpClient:n,sideEffects:r}=arguments[2],i=ai(D({draftPostId:e,fieldsets:t?.fieldsets},[]));r?.onSiteCall?.();try{let e=await n.request(i);return r?.onSuccess?.(e),O(A(e.data,[{transformFn:B,paths:oi},{transformFn:V,paths:si},{transformFn:H,paths:ci}]),[`draftPost.richContent`])}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{draftPostId:`$[0]`,fieldsets:`$[1].fieldsets`},singleArgumentUnchanged:!1},[`draftPostId`,`options`]);throw r?.onError?.(e),t}}function di(e){return(t,n)=>ui(t,n,{httpClient:e})}var fi=M(di),pi=[{path:`post.firstPublishedDate`},{path:`post.lastPublishedDate`},{path:`post.expirationDate`},{path:`post.heroImage.urlExpirationDate`},{path:`post.richContent.metadata.createdTimestamp`},{path:`post.richContent.metadata.updatedTimestamp`},{path:`post.moderationDetails.submittedDate`},{path:`post.moderationDetails.moderationDate`},{path:`post.media.wixMedia.image.urlExpirationDate`},{path:`post.media.wixMedia.videoV2.urlExpirationDate`},{path:`post.media.wixMedia.videoV2.resolutions.urlExpirationDate`},{path:`post.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate`},{path:`post.media.wixMedia.videoV2.posters.urlExpirationDate`}],mi=[{path:`post.richContentCompressed`}],hi=[{path:`post.heroImage.focalPoint.x`},{path:`post.heroImage.focalPoint.y`},{path:`post.media.wixMedia.image.focalPoint.x`},{path:`post.media.wixMedia.image.focalPoint.y`},{path:`post.media.wixMedia.videoV2.resolutions.poster.focalPoint.x`},{path:`post.media.wixMedia.videoV2.resolutions.poster.focalPoint.y`},{path:`post.media.wixMedia.videoV2.posters.focalPoint.x`},{path:`post.media.wixMedia.videoV2.posters.focalPoint.y`},{path:`post.metrics.averageRating`},{path:`post.richContent.nodes.buttonData.styles.background.gradient.centerX`},{path:`post.richContent.nodes.buttonData.styles.background.gradient.centerY`},{path:`post.richContent.nodes.buttonData.styles.background.gradient.stops.position`},{path:`post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX`},{path:`post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY`},{path:`post.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position`},{path:`post.richContent.nodes.galleryData.items.image.media.duration`},{path:`post.richContent.nodes.galleryData.items.video.media.duration`},{path:`post.richContent.nodes.galleryData.items.video.thumbnail.duration`},{path:`post.richContent.nodes.galleryData.options.item.ratio`},{path:`post.richContent.nodes.imageData.image.duration`},{path:`post.richContent.nodes.imageData.crop.x`},{path:`post.richContent.nodes.imageData.crop.y`},{path:`post.richContent.nodes.imageData.crop.width`},{path:`post.richContent.nodes.imageData.crop.height`},{path:`post.richContent.nodes.mapData.mapSettings.lat`},{path:`post.richContent.nodes.mapData.mapSettings.lng`},{path:`post.richContent.nodes.pollData.poll.image.duration`},{path:`post.richContent.nodes.pollData.poll.options.image.duration`},{path:`post.richContent.nodes.pollData.design.poll.background.image.duration`},{path:`post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`post.richContent.nodes.appEmbedData.image.duration`},{path:`post.richContent.nodes.videoData.video.duration`},{path:`post.richContent.nodes.videoData.thumbnail.duration`},{path:`post.richContent.nodes.audioData.audio.duration`},{path:`post.richContent.nodes.audioData.coverImage.duration`},{path:`post.richContent.nodes.layoutData.backgroundImage.media.duration`},{path:`post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX`},{path:`post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY`},{path:`post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position`},{path:`post.richContent.nodes.layoutData.backdropImage.media.duration`},{path:`post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX`},{path:`post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY`},{path:`post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position`},{path:`post.richContent.nodes.layoutData.background.gradient.centerX`},{path:`post.richContent.nodes.layoutData.background.gradient.centerY`},{path:`post.richContent.nodes.layoutData.background.gradient.stops.position`},{path:`post.richContent.nodes.layoutData.backdrop.gradient.centerX`},{path:`post.richContent.nodes.layoutData.backdrop.gradient.centerY`},{path:`post.richContent.nodes.layoutData.backdrop.gradient.stops.position`},{path:`post.richContent.nodes.shapeData.shape.duration`},{path:`post.richContent.nodes.cardData.background.gradient.centerX`},{path:`post.richContent.nodes.cardData.background.gradient.centerY`},{path:`post.richContent.nodes.cardData.background.gradient.stops.position`},{path:`post.richContent.nodes.cardData.backgroundImage.media.duration`},{path:`post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX`},{path:`post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY`},{path:`post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position`},{path:`post.richContent.nodes.tocData.fontSize`},{path:`post.richContent.nodes.tocData.itemSpacing`},{path:`post.richContent.nodes.smartBlockCellData.shape.duration`},{path:`post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position`}],gi=[{path:`posts.firstPublishedDate`},{path:`posts.lastPublishedDate`},{path:`posts.expirationDate`},{path:`posts.heroImage.urlExpirationDate`},{path:`posts.richContent.metadata.createdTimestamp`},{path:`posts.richContent.metadata.updatedTimestamp`},{path:`posts.moderationDetails.submittedDate`},{path:`posts.moderationDetails.moderationDate`},{path:`posts.media.wixMedia.image.urlExpirationDate`},{path:`posts.media.wixMedia.videoV2.urlExpirationDate`},{path:`posts.media.wixMedia.videoV2.resolutions.urlExpirationDate`},{path:`posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate`},{path:`posts.media.wixMedia.videoV2.posters.urlExpirationDate`}],_i=[{path:`posts.richContentCompressed`}],vi=[{path:`posts.heroImage.focalPoint.x`},{path:`posts.heroImage.focalPoint.y`},{path:`posts.media.wixMedia.image.focalPoint.x`},{path:`posts.media.wixMedia.image.focalPoint.y`},{path:`posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x`},{path:`posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y`},{path:`posts.media.wixMedia.videoV2.posters.focalPoint.x`},{path:`posts.media.wixMedia.videoV2.posters.focalPoint.y`},{path:`posts.metrics.averageRating`},{path:`posts.richContent.nodes.buttonData.styles.background.gradient.centerX`},{path:`posts.richContent.nodes.buttonData.styles.background.gradient.centerY`},{path:`posts.richContent.nodes.buttonData.styles.background.gradient.stops.position`},{path:`posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX`},{path:`posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY`},{path:`posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position`},{path:`posts.richContent.nodes.galleryData.items.image.media.duration`},{path:`posts.richContent.nodes.galleryData.items.video.media.duration`},{path:`posts.richContent.nodes.galleryData.items.video.thumbnail.duration`},{path:`posts.richContent.nodes.galleryData.options.item.ratio`},{path:`posts.richContent.nodes.imageData.image.duration`},{path:`posts.richContent.nodes.imageData.crop.x`},{path:`posts.richContent.nodes.imageData.crop.y`},{path:`posts.richContent.nodes.imageData.crop.width`},{path:`posts.richContent.nodes.imageData.crop.height`},{path:`posts.richContent.nodes.mapData.mapSettings.lat`},{path:`posts.richContent.nodes.mapData.mapSettings.lng`},{path:`posts.richContent.nodes.pollData.poll.image.duration`},{path:`posts.richContent.nodes.pollData.poll.options.image.duration`},{path:`posts.richContent.nodes.pollData.design.poll.background.image.duration`},{path:`posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.nodes.appEmbedData.image.duration`},{path:`posts.richContent.nodes.videoData.video.duration`},{path:`posts.richContent.nodes.videoData.thumbnail.duration`},{path:`posts.richContent.nodes.audioData.audio.duration`},{path:`posts.richContent.nodes.audioData.coverImage.duration`},{path:`posts.richContent.nodes.layoutData.backgroundImage.media.duration`},{path:`posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX`},{path:`posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY`},{path:`posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position`},{path:`posts.richContent.nodes.layoutData.backdropImage.media.duration`},{path:`posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX`},{path:`posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY`},{path:`posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position`},{path:`posts.richContent.nodes.layoutData.background.gradient.centerX`},{path:`posts.richContent.nodes.layoutData.background.gradient.centerY`},{path:`posts.richContent.nodes.layoutData.background.gradient.stops.position`},{path:`posts.richContent.nodes.layoutData.backdrop.gradient.centerX`},{path:`posts.richContent.nodes.layoutData.backdrop.gradient.centerY`},{path:`posts.richContent.nodes.layoutData.backdrop.gradient.stops.position`},{path:`posts.richContent.nodes.shapeData.shape.duration`},{path:`posts.richContent.nodes.cardData.background.gradient.centerX`},{path:`posts.richContent.nodes.cardData.background.gradient.centerY`},{path:`posts.richContent.nodes.cardData.background.gradient.stops.position`},{path:`posts.richContent.nodes.cardData.backgroundImage.media.duration`},{path:`posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX`},{path:`posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY`},{path:`posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position`},{path:`posts.richContent.nodes.tocData.fontSize`},{path:`posts.richContent.nodes.tocData.itemSpacing`},{path:`posts.richContent.nodes.smartBlockCellData.shape.duration`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position`}],yi=[{path:`sort.origin.latitude`},{path:`sort.origin.longitude`},{path:`query.sort.origin.latitude`},{path:`query.sort.origin.longitude`}],bi=[{path:`metrics.averageRating`}];function xi(e){return P(Object.assign(e,{domainToMappings:{_:[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"apps._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"www._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"www.wixapis.com":[{srcPath:`/v3/posts`,destPath:`/v3/posts`},{srcPath:`/blog/v3/posts`,destPath:`/v3/posts`},{srcPath:`/_api/v3/posts`,destPath:`/v3/posts`}],"manage._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`},{srcPath:`/_api/post-service-api-proxy/v3/bulk/posts`,destPath:`/v3/bulk/posts`}],"*.dev.wix-code.com":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"editor._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"blocks._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"create.editorx":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"editor.wixapps.net":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"dev._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}]}}))}var Si=`@wix/auto_sdk_blog_posts`;function Ci(e){function t({host:t}){return{entityFqdn:`wix.blog.v3.post`,method:`GET`,methodFqn:`com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug`,packageName:Si,migrationOptions:{optInTransformResponse:!0},url:xi({protoPath:`/v3/posts/slugs/{slug}`,data:e,host:t}),params:N(e),transformResponse:e=>A(e,[{transformFn:k,paths:pi},{transformFn:fn,paths:mi},{transformFn:F,paths:hi}])}}return t}function wi(e){function t({host:t}){return{entityFqdn:`wix.blog.v3.post`,method:`GET`,methodFqn:`com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts`,packageName:Si,migrationOptions:{optInTransformResponse:!0},url:xi({protoPath:`/v3/posts`,data:e,host:t}),params:N(e),transformResponse:e=>A(e,[{transformFn:k,paths:gi},{transformFn:fn,paths:_i},{transformFn:F,paths:vi}])}}return t}function Ti(e){function t({host:t}){let n=A(e,[{transformFn:dn,paths:yi}]);return{entityFqdn:`wix.blog.v3.post`,method:`POST`,methodFqn:`com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts`,packageName:Si,migrationOptions:{optInTransformResponse:!0},url:xi({protoPath:`/v3/posts/query`,data:n,host:t}),data:n,transformResponse:e=>A(e,[{transformFn:k,paths:gi},{transformFn:fn,paths:_i},{transformFn:F,paths:vi}])}}return t}function Ei(e){function t({host:t}){return{entityFqdn:`wix.blog.v3.post`,method:`GET`,methodFqn:`com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostMetrics`,packageName:Si,migrationOptions:{optInTransformResponse:!0},url:xi({protoPath:`/v3/posts/{postId}/metrics`,data:e,host:t}),params:N(e),transformResponse:e=>A(e,[{transformFn:F,paths:bi}])}}return t}function Di(e){function t({host:t}){return{entityFqdn:`wix.blog.v3.post`,method:`POST`,methodFqn:`com.wixpress.npm.communities.platformized.blog.v3.PostService.ViewPost`,packageName:Si,migrationOptions:{optInTransformResponse:!0},url:xi({protoPath:`/v3/posts/{postId}/view`,data:e,host:t}),data:e}}return t}var Oi=[{path:`post.url`},{path:`post.translations.url`}],ki=[{path:`post.heroImage`},{path:`post.media.wixMedia.image`}],Ai=[{path:`post.media.wixMedia.videoV2`}],ji=[{path:`posts.url`},{path:`posts.translations.url`}],Mi=[{path:`posts.heroImage`},{path:`posts.media.wixMedia.image`}],Ni=[{path:`posts.media.wixMedia.videoV2`}],U=(e=>(e.UNKNOWN=`UNKNOWN`,e.COUNTERS=`COUNTERS`,e.URL=`URL`,e.CONTENT_TEXT=`CONTENT_TEXT`,e.METRICS=`METRICS`,e.SEO=`SEO`,e.CONTENT=`CONTENT`,e.INTERNAL_ID=`INTERNAL_ID`,e.CONTACT_ID=`CONTACT_ID`,e.RICH_CONTENT=`RICH_CONTENT`,e.RICH_CONTENT_STRING=`RICH_CONTENT_STRING`,e.RICH_CONTENT_COMPRESSED=`RICH_CONTENT_COMPRESSED`,e.TRANSLATIONS=`TRANSLATIONS`,e.REFERENCE_ID=`REFERENCE_ID`,e.EXCLUDE_PAID_CONTENT=`EXCLUDE_PAID_CONTENT`,e.SEO_DATA=`SEO_DATA`,e.OWNER=`OWNER`,e.HAS_UNPUBLISHED_CHANGES=`HAS_UNPUBLISHED_CHANGES`,e.HEADING=`HEADING`,e.IMAGE=`IMAGE`,e))(U||{});async function Pi(e,t){let{httpClient:n,sideEffects:r}=arguments[2],i=Ci(D({slug:e,fieldsets:t?.fieldsets,language:t?.language},[]));r?.onSiteCall?.();try{let e=await n.request(i);return r?.onSuccess?.(e),O(A(e.data,[{transformFn:V,paths:Oi},{transformFn:B,paths:ki},{transformFn:H,paths:Ai}]),[`post.richContent`,`post.rich_content`])}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{slug:`$[0]`,fieldsets:`$[1].fieldsets`,language:`$[1].language`},singleArgumentUnchanged:!1},[`slug`,`options`]);throw r?.onError?.(e),t}}async function Fi(e){let{httpClient:t,sideEffects:n}=arguments[1],r=wi(D({featured:e?.featured,hashtags:e?.hashtags,categoryIds:e?.categoryIds,tagIds:e?.tagIds,sort:e?.sort,paging:e?.paging,language:e?.language,memberId:e?.memberId,fieldsets:e?.fieldsets},[]));n?.onSiteCall?.();try{let e=await t.request(r);return n?.onSuccess?.(e),O(A(e.data,[{transformFn:V,paths:ji},{transformFn:B,paths:Mi},{transformFn:H,paths:Ni}]),[`posts.richContent`,`posts.rich_content`])}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{featured:`$[0].featured`,hashtags:`$[0].hashtags`,categoryIds:`$[0].categoryIds`,tagIds:`$[0].tagIds`,sort:`$[0].sort`,paging:`$[0].paging`,language:`$[0].language`,memberId:`$[0].memberId`,fieldsets:`$[0].fieldsets`},singleArgumentUnchanged:!1},[`options`]);throw n?.onError?.(e),t}}function Ii(e){let{httpClient:t,sideEffects:n}=arguments[1];return pr({func:async r=>{let i=Ti({...r,...e??{}});n?.onSiteCall?.();try{let e=await t.request(i);return n?.onSuccess?.(e),e}catch(e){throw n?.onError?.(e),e}},requestTransformer:t=>{let n=[t,e];return D({...n?.[1],query:n?.[0]},[])},responseTransformer:({data:e})=>{let t=O(A(e,[{transformFn:V,paths:ji},{transformFn:B,paths:Mi},{transformFn:H,paths:Ni}]),[`posts.richContent`,`posts.rich_content`]);return{items:t?.posts,pagingMetadata:t?.pagingMetadata}},errorTransformer:e=>{throw j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{query:`$[0]`},singleArgumentUnchanged:!1})},pagingMethod:`CURSOR`,transformationPaths:{}})}async function Li(e,t){let{httpClient:n,sideEffects:r}=arguments[2],i=Ti(D({query:e,...t},[]));r?.onSiteCall?.();try{let e=await n.request(i);return r?.onSuccess?.(e),O(A(e.data,[{transformFn:V,paths:ji},{transformFn:B,paths:Mi},{transformFn:H,paths:Ni}]),[`posts.richContent`,`posts.rich_content`])}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{query:`$[0]`},singleArgumentUnchanged:!1},[`query`,`options`]);throw r?.onError?.(e),t}}async function Ri(e){let{httpClient:t,sideEffects:n}=arguments[1],r=Ei(D({postId:e},[]));n?.onSiteCall?.();try{let e=await t.request(r);return n?.onSuccess?.(e),O(e.data,[])}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{postId:`$[0]`},singleArgumentUnchanged:!1},[`postId`]);throw n?.onError?.(e),t}}async function zi(e){let{httpClient:t,sideEffects:n}=arguments[1],r=Di(D({postId:e},[]));n?.onSiteCall?.();try{let e=await t.request(r);return n?.onSuccess?.(e),O(e.data,[])}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{postId:`$[0]`},singleArgumentUnchanged:!1},[`postId`]);throw n?.onError?.(e),t}}function Bi(e){return(t,n)=>Pi(t,n,{httpClient:e})}function Vi(e){return t=>Fi(t,{httpClient:e})}function Hi(e){return t=>Ii(t,{httpClient:e})}function Ui(e){return(t,n)=>Li(t,n,{httpClient:e})}function Wi(e){return t=>Ri(t,{httpClient:e})}function Gi(e){return t=>zi(t,{httpClient:e})}function Ki(e){let t=Cr({builderQueryFunction:t=>Hi(e)(t),typedQueryFunction:(t,n)=>Ui(e)(t,n),hasOptionsParameter:!0});function n(e,n){return t(...arguments)}return n}var qi=M(Bi),Ji=M(Vi),Yi=M(Wi),Xi=M(Gi),Zi=M(Ki),Qi=[{path:`query.sort.origin.latitude`},{path:`query.sort.origin.longitude`}],$i=[{path:`tags.createdDate`},{path:`tags.updatedDate`}];function ea(e){return P(Object.assign(e,{domainToMappings:{_:[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"apps._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"www._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"www.wixapis.com":[{srcPath:`/v3/tags`,destPath:`/v3/tags`},{srcPath:`/blog/v3/tags`,destPath:`/v3/tags`}],"manage._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v2/tags`,destPath:`/v2/tags`},{srcPath:`/_api/communities-blog-node-api/v3/bulk/tag`,destPath:`/v3/bulk/tag`},{srcPath:`/_api/communities-blog-node-api/v3/bulk/tags`,destPath:`/v3/bulk/tags`},{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"bo._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"wixbo.ai":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"wix-bo.com":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"editor._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"blocks._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"create.editorx":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"editor.wixapps.net":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"*.dev.wix-code.com":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"social-blog._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}]}}))}var ta=`@wix/auto_sdk_blog_tags`;function na(e){function t({host:t}){let n=A(e,[{transformFn:dn,paths:Qi}]);return{entityFqdn:`wix.blog.v3.tag`,method:`POST`,methodFqn:`com.wixpress.npm.communities.platformized.blog.TagService.QueryTags`,packageName:ta,migrationOptions:{optInTransformResponse:!0},url:ea({protoPath:`/v3/tags/query`,data:n,host:t}),data:n,transformResponse:e=>A(e,[{transformFn:k,paths:$i}])}}return t}var ra=[{path:`tags.url`}];function ia(e){let{httpClient:t,sideEffects:n}=arguments[1];return pr({func:async r=>{let i=na({...r,...e??{}});n?.onSiteCall?.();try{let e=await t.request(i);return n?.onSuccess?.(e),e}catch(e){throw n?.onError?.(e),e}},requestTransformer:t=>{let n=[t,e];return D({...n?.[1],query:n?.[0]})},responseTransformer:({data:e})=>{let t=O(A(e,[{transformFn:V,paths:ra}]));return{items:t?.tags,pagingMetadata:t?.pagingMetadata}},errorTransformer:e=>{throw j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{query:`$[0]`},singleArgumentUnchanged:!1})},pagingMethod:`OFFSET`,transformationPaths:{}})}async function aa(e,t){let{httpClient:n,sideEffects:r}=arguments[2],i=na(D({query:e,...t}));r?.onSiteCall?.();try{let e=await n.request(i);return r?.onSuccess?.(e),O(A(e.data,[{transformFn:V,paths:ra}]))}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{query:`$[0]`},singleArgumentUnchanged:!1},[`query`,`options`]);throw r?.onError?.(e),t}}function oa(e){return t=>ia(t,{httpClient:e})}function sa(e){return(t,n)=>aa(t,n,{httpClient:e})}function ca(e){let t=Cr({builderQueryFunction:t=>oa(e)(t),typedQueryFunction:(t,n)=>sa(e)(t,n),hasOptionsParameter:!0});function n(e,n){return t(...arguments)}return n}var la=M(ca),ua=async e=>{let{views:t}=await Xi(e);return t},da=e=>{let t=Xn(),n=Gn();l(()=>{!e||t||n||typeof navigator<`u`&&navigator.webdriver||ua(e).catch(()=>{})},[e,t,n])},fa=()=>{try{return m(Un).SSR}catch{return!1}},pa=(e,t)=>e.length===t.length&&e.every((e,n)=>Object.is(e,t[n]));function ma(e,t){let[n,r]=f(()=>({deps:t,value:e()}));return l(()=>{if(pa(n.deps,t))return;let i=e();o(()=>r({deps:t,value:i}))},t),n.value}var ha=L(`@wix/viewer-service-site-members`),ga=()=>{try{return m(ha)}catch{return}},_a=(e,t)=>{let n=ga(),[r,i]=f(),a=!!e.post?.preview;return l(()=>{if(!a)return;let e=!0,r=()=>{t().then(t=>{e&&t&&!t.preview&&i(t)},()=>{})};n?.isInitiallyLoggedIn&&r();let o=n?.addMemberLoginListener?.(()=>{i(void 0),r()});return()=>{e=!1,o!==void 0&&n?.removeMemberLoginListener?.(o)}},[a,t,n]),u(()=>a&&r&&r._id===e.post?._id?{...e,post:r,paywall:void 0}:e,[a,r,e])},W=L(`@wix/site-service-url`),va=`14bcded7-0066-7c35-14d7-466cb3f09103`,ya=`post`,ba=`category`,xa=`builder-post`,Sa=`__blog_unknown_section__`,Ca=e=>{let t;try{let n=e.appSectionRelativeUrl(va,xa);if(t=e.appSectionRelativeUrl(va,xa,!0),n===e.appSectionRelativeUrl(`14bcded7-0066-7c35-14d7-466cb3f09103`,Sa)&&!n?.endsWith(`/post-page`)&&t===n)return}catch{return}if(!t)return;let n=t.split(`/`).filter(Boolean);return n[n.length-1]===`post-page`&&n.pop(),n.length>0?n.join(`/`):void 0},wa=e=>`${e}/${ya}`,Ta=e=>{let t=Ca(e);if(t&&e.siteUrl)return`${e.siteUrl.replace(/\/+$/,``)}/${wa(t)}`},Ea=(e,t)=>{if(!e||!t)return;let n;try{n=new URL(e)}catch{return}let r=n.pathname.replace(/\/+$/,``);for(let e of[t,encodeURIComponent(t)]){let t=`/${e}`,i=r.slice(0,-t.length);if(r.endsWith(t)&&i.endsWith(`/post`))return`${n.origin}${i}`}},Da=e=>{if(!e)return;if(typeof e==`string`)return e;let{base:t,path:n}=e;return t?`${t.replace(/\/+$/,``)}${n??``}`:void 0},Oa=(e,t)=>{let n=Da(e.url),r=`/${ya}`;if(!n||!t?.endsWith(r))return;let i,a;try{i=new URL(n),a=new URL(t)}catch{return}let{pathname:o}=i,s=a.pathname,c=s.slice(0,-r.length),l=c.slice(0,c.lastIndexOf(`/`));if(!c||o.startsWith(`${s}/`))return;let u=o.startsWith(`${c}/`),d=o.split(`/`),{slug:f}=e,p=f?d.includes(f)||d.includes(encodeURIComponent(f)):!1,m=i.origin===a.origin&&o.startsWith(`${l}/`)&&p;return u||m?n:void 0},ka=(e,t)=>{let n=Oa(e,t);if(n)return{href:n,target:`_self`};if(t&&e.slug)return{href:`${t}/${encodeURIComponent(e.slug)}`,target:`_self`};let r=Da(e.url);return r?{href:r,target:`_self`}:void 0},Aa=(e,t)=>{let n=Ca(e);if(n&&e.siteUrl)return`${e.siteUrl.replace(/\/+$/,``)}/${n}/${t}`},ja=e=>{let t;try{t=m(W)}catch{return}return Ta(t)??Ea(t.currentUrl,e)},Ma=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,Na=e=>{let t=e.split(`/`).filter(Boolean);if(t.length<3)return;let[n,r,i]=t.slice(-3);if(r===`preview`&&Ma.test(n)&&i)return{draftPostId:n,instance:i}},Pa=()=>{let e;try{e=m(W).currentUrl}catch{return}if(e)try{return Na(new URL(e).pathname)}catch{return}},Fa=(e,t)=>{let n;try{n=new URL(e).pathname.split(`/`).filter(Boolean)}catch{return}let r=t?.split(`/`).filter(Boolean)??[],i=n[n.length-1];if(r.length>0){for(let e=0;e+r.length<=n.length;e++)if(r.every((t,r)=>n[e+r]===t)){i=n[e+r.length];break}}if(i!==void 0)try{return decodeURIComponent(i)}catch{return i}},Ia=()=>{let e;try{e=m(W)}catch{return}if(!e.currentUrl)return;let t=Ca(e);return Fa(e.currentUrl,t&&wa(t))},La={categoryHeader:`WixBlog.CategoryHeader`,coverMedia:`WixBlog.PostCoverMedia`,postActions:`WixBlog.PostActionBar`,postCategories:`WixBlog.PostCategoryList`,postCounters:`WixBlog.PostCounterBar`,postMetadata:`WixBlog.PostMetadataBar`,postTags:`WixBlog.PostTagList`,feedProvider:`WixBlog.BlogFeedContextProvider`,postBySlugProvider:`WixBlog.PostBySlugContextProvider`,postByIdProvider:`WixBlog.PostByIdContextProvider`,relatedPostsProvider:`WixBlog.RelatedPostsContextProvider`},Ra=e=>`${e} rendered`,za=(e,t,n)=>{l(()=>{if(t!==`loading`&&typeof performance<`u`&&typeof performance.mark==`function`)try{performance.mark(Ra(e),{detail:{state:t,compId:n}})}catch{}},[e,t,n])},Ba=L(`seo/seo-service`),Va=L(`@wix/viewer-service-multilingual`),Ha={post:`post`,feed:`feed`,relatedPosts:`related-posts`,comments:`comments`,seo:`seo`,likes:`likes`},Ua=e=>{try{return e.getMonitoringClient?.()??null}catch{return null}},Wa=(e,t)=>e&&typeof e[t]==`function`?e:null;function Ga(e,t,{feature:n,action:r,level:i=`error`,tags:a,contexts:o}){let s=Wa(e,`captureException`);if(!s)return;let c=t instanceof Error?t:Error(String(t));s.captureException(c,{level:i,tags:{feature:n,action:r,...a},...o?{contexts:o}:{}})}function Ka(e,t,{feature:n,tags:r},i){let a=Wa(e,`startSpanManual`);if(!a)return i;let o=a.startSpanManual({name:t,tags:{feature:n,...r}});return i.then(()=>o.end(),e=>o.fail(e instanceof Error?e:Error(String(e)))),i}var qa=`https://static.wixstatic.com/media/`,Ja=100,Ya=(e,t=``)=>{let n=e?.profile?.photo;if(!n?.url)return;let r=e?.profile?.nickname,{_id:i}=n,a=i||(n.url.startsWith(qa)?n.url.slice(35).split(/[?#]/)[0]:void 0);return{...a&&{uri:a},url:n.url,name:r??a??`author-photo`,width:n.width||Ja,height:n.height||Ja,alt:r??t}},Xa=`https://static.wixstatic.com/media/`,Za=`wix:image://`,Qa=1200,$a=800,eo=e=>{if(!e)return;let t=Number.parseInt(e,10);return Number.isFinite(t)&&t>0?t:void 0},to=e=>{if(!e.startsWith(Za)){let t=e.split(/[?#]/)[0];return t?{uri:t}:void 0}let[t,n]=e.slice(12).split(`#`),[,r,i]=t.split(`/`).filter(Boolean);if(!r)return;let a=new URLSearchParams(n??``);return{uri:decodeURIComponent(r),name:i?decodeURIComponent(i):void 0,width:eo(a.get(`originWidth`)),height:eo(a.get(`originHeight`))}},no=(e,t)=>{if(!e)return;let n=to(e);if(!n)return;let r=n.name??n.uri;return{uri:n.uri,url:`${Xa}${n.uri}`,name:r,width:n.width??Qa,height:n.height??$a,alt:t??r}},ro=e=>{let t=e?.media?.wixMedia?.image;if(!t)return;let n=to(t);if(!n)return;let r=n.name??n.uri;return{uri:n.uri,url:`${Xa}${n.uri}`,name:r,width:n.width??Qa,height:n.height??$a,alt:e?.media?.altText??e?.title??r}},io=e=>(e?.tags??[]).filter(e=>!e.disabled),ao=e=>io(e).find(e=>e.type===`title`)?.children||void 0,oo=e=>{let t=io(e).find(e=>e.type===`meta`&&e.props?.name===`description`)?.props?.content;return typeof t==`string`&&t?t:void 0},so=(e,t=[])=>(e.translations??[]).flatMap(({language:e,url:n})=>!e||!n?[]:[{url:n,langCode:(t.find(({id:t})=>t===e)??t.find(({languageCode:t})=>t===e))?.regionalFormat||e}]),co=(e,t)=>{try{let n=new URL(t??``).searchParams.get(`lang`);if(!n)return e;let r=new URL(e);return r.searchParams.set(`lang`,n),r.toString()}catch{return e}},lo=500,uo=`max-snippet:-1, max-image-preview:large, max-video-preview:-1`,fo=1e3,po=(e,t)=>{if(!e||!t)return{width:e,height:t};let n=Math.min(1,fo/e,fo/t);return{width:Math.round(e*n),height:Math.round(t*n)}},mo=e=>{if(!e)return;let t=new Date(e);return Number.isNaN(t.getTime())?void 0:t.toISOString()},ho=e=>(oo(e.seoData)||e.excerpt||e.contentText||void 0)?.slice(0,lo),go=(e,t)=>Oa(e,t)||(t&&e.slug?`${t}/${encodeURIComponent(e.slug)}`:e.url||void 0),_o=(e,t,n,r=[],i,a)=>{let{_id:o}=e,s=r.flatMap(e=>e.label?[e.label]:[]),c=go(e,n),l=c&&co(c,a),u=e.media?.displayed?ro(e):void 0,d=Ya(t)?.url;return{post:{id:o,title:ao(e.seoData)||e.title,language:e.language??void 0,description:ho(e),type:`article`,canonicalUrl:l,optInMeta:uo,slug:e.slug,excerpt:e.excerpt,firstPublishedDate:mo(e.firstPublishedDate),lastPublishedDate:mo(e.lastPublishedDate),owner:{name:t?.profile?.nickname??void 0,...d&&{image:{url:d}}},...s.length&&{categories:s.join(`, `),mainCategory:s[0]},path:l,...u&&{image:{url:u.url,...po(u.width,u.height)}}},postsSettings:{isAmpEnabled:!1,isSchemaEnabled:!0},translatedPages:so(e,i)}},vo=new WeakSet,yo=({post:e,author:t,categories:n},r=!1,i)=>{let a;try{a={seo:m(Ba),url:m(W),renderingContext:m(Un)}}catch{return}let o;try{o=m(Va).locales}catch{}let{_id:s}=e??{};if(!r&&e&&s&&!vo.has(e)&&a.renderingContext.SSR){vo.add(e);let r=Ta(a.url)??Ea(a.url.currentUrl,e.slug);a.seo.setSeoEntity({itemType:`BLOG_POST`,itemData:_o({...e,_id:s},t,r,n,o,a.url.currentUrl),seoData:e.seoData}).catch(e=>{Ga(i,e,{feature:Ha.seo,action:`set-post-seo-entity`,contexts:{seo:{postId:s}}})})}},bo=L(`@wix/site-service-locale`),xo=L(`@wix/site-service-renderer-configuration`),So=()=>{let e,t;try{e=m(xo).languageCode}catch{}try{t=m(bo).language}catch{}return e||t},Co=`wix.blog.v4.post`,wo=async(e,t)=>{let n=await ir({postFqdn:Co,postId:e},t?{language:t}:void 0);if(typeof n!=`object`||!n)throw Error(`No Wix SDK context for the post paywall read`);let{richContent:r}=n;return D(r)},To=`1522827f-c56c-a5c9-2ac9-00f9e6ae12d3`,Eo=`membership_plan_picker_tpa`,Do=e=>{let t;try{t=e.appSectionRelativeUrl(To,Eo)}catch{return}if(t&&e.siteUrl)return`${e.siteUrl.replace(/\/+$/,``)}/${t.replace(/^\/+/,``)}`},Oo=(e,t)=>e.flatMap(e=>{let n=e.nodes?{...e,nodes:Oo(e.nodes,t)}:e;return e.type!==`BUTTON`||e.buttonData?.type!==`ACTION`?[n]:t?[{...n,buttonData:{...e.buttonData,type:`LINK`,link:{url:t,target:`SELF`,rel:{nofollow:!0}}}}]:[]}),ko=(e,t,n)=>{if(!t?.nodes?.length)return e;let r=Oo(t.nodes.map(e=>e.layoutData?{...e,layoutData:{...e.layoutData,banner:void 0}}:e),n);return{...e,nodes:[...e.nodes??[],...r]}},Ao=()=>{try{return m(W).currentUrl}catch{return}},jo=()=>{try{return Do(m(W))}catch{return}},Mo=(e,t)=>{let n;try{n=new URL(e)}catch{return}let r=n.pathname.split(`/`).filter(Boolean);if(r.length!==0)return r[r.length-1]=encodeURIComponent(t),n.pathname=`/${r.join(`/`)}`,n.toString()},No=(e,t,n)=>{let r=Ao(),i=Xn(),a=Gn(),{language:o,translationId:s}=e??{},c=!!(t&&s&&o&&o!==t);l(()=>{if(!c||!t||!s||!r||i||a)return;let e=!1;return n(s,t).then(t=>{let n=t&&Mo(r,t);!e&&n&&n!==r&&window.location.assign(n)}),()=>{e=!0}},[c,t,s,r,i,a,n])},Po=L(`@wix/site-service-warmup-data`);function Fo(){let e=fa(),t=null;try{t=p()(Po)}catch{}return u(()=>({isServer:e,scope:t??void 0,get:async n=>{if(e||!t)return null;try{return await t.get(n)}catch{return null}},set:(n,r)=>{if(e&&t)try{t.set(n,r)}catch{}}}),[e,t])}var Io=()=>{let e=new Map;return{getOrInsert:(t,n)=>(e.has(t)||e.set(t,n().finally(()=>{e.delete(t)})),e.get(t))}},Lo=async e=>{try{let{default:t}=await e();return t}catch{return}},Ro=({isDev:e,loadMessages:t,loadDevMessages:n})=>{let r=Io(),i=async r=>{let[i,a]=await Promise.all([Lo(()=>t(r)),!e||!n?void 0:Lo(()=>n(r))]);if(i&&a)return{...i,...a};if(i)return i;if(a)return a;throw Error(`No translation files found for ${r}`)};return e=>r.getOrInsert(e,()=>i(e))},G=e=>typeof e==`string`,zo=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},Bo=e=>e==null?``:String(e),Vo=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},Ho=/###/g,Uo=e=>e&&e.includes(`###`)?e.replace(Ho,`.`):e,Wo=e=>!e||G(e),Go=(e,t,n)=>{let r=G(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(Wo(e))return{};let t=Uo(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return Wo(e)?{}:{obj:e,k:Uo(r[i])}},Ko=(e,t,n)=>{let{obj:r,k:i}=Go(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=Go(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=Go(e,o,Object),s?.obj&&s.obj[`${s.k}.${a}`]!==void 0&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},qo=(e,t,n,r)=>{let{obj:i,k:a}=Go(e,t,Object);i[a]=i[a]||[],i[a].push(n)},Jo=(e,t)=>{let{obj:n,k:r}=Go(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},Yo=(e,t,n)=>{let r=Jo(e,n);return r===void 0?Jo(t,n):r},Xo=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(Object.prototype.hasOwnProperty.call(e,r)?G(e[r])||e[r]instanceof String||G(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Xo(e[r],t[r],n):e[r]=t[r]);return e},K=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),Zo={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`,"/":`/`},Qo=e=>G(e)?e.replace(/[&<>"'\/]/g,e=>Zo[e]):e,$o=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}},es=[` `,`,`,`?`,`!`,`;`],ts=new $o(20),ns=(e,t,n)=>{t||=``,n||=``;let r=es.filter(e=>!t.includes(e)&&!n.includes(e));if(r.length===0)return!0;let i=ts.getRegExp(`(${r.map(e=>e===`?`?`\\?`:e).join(`|`)})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},rs=(e,t,n=`.`)=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;let r=t.split(n),i=e;for(let e=0;e<r.length;){if(!i||typeof i!=`object`)return;let t,a=``;for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],t=i[a],t!==void 0){if([`string`,`number`,`boolean`].includes(typeof t)&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},is=e=>e?.replace(/_/g,`-`),as={type:`logger`,log(e){this.output(`log`,e)},warn(e){this.output(`warn`,e)},error(e){this.output(`error`,e)},output(e,t){console?.[e]?.apply?.(console,t)}},q=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||`i18next:`,this.logger=e||as,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,`log`,``,!0)}warn(...e){return this.forward(e,`warn`,``,!0)}error(...e){return this.forward(e,`error`,``)}deprecate(...e){return this.forward(e,`warn`,`WARNING DEPRECATED: `,!0)}forward(e,t,n,r){return r&&!this.debug?null:(e=e.map(e=>G(e)?e.replace(/[\r\n\x00-\x1F\x7F]/g,` `):e),G(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t||=this.options,t.prefix=t.prefix||this.prefix,new e(this.logger,t)}},os=class{constructor(){this.observers={}}on(e,t){return e.split(` `).forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}once(e,t){let n=(...r)=>{t(...r),this.off(e,n)};return this.on(e,n),this}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers[`*`]&&Array.from(this.observers[`*`].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n(e,...t)})}},ss=new WeakSet,cs=class extends os{constructor(e,t={ns:[`translation`],defaultNS:`translation`}){super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.includes(e)||this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){let i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o;e.includes(`.`)?o=e.split(`.`):(o=[e,t],n&&(Array.isArray(n)?o.push(...n):G(n)&&i?o.push(...n.split(i)):o.push(n)));let s=Jo(this.data,o);return!s&&!t&&!n&&e.includes(`.`)&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s||!a||!G(n)?s:rs(this.data?.[e]?.[t],n,i)}addResource(e,t,n,r,i={silent:!1}){let a=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.includes(`.`)&&(o=e.split(`.`),r=t,t=o[1]),this.addNamespaces(t),Ko(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(let r in n)(G(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit(`added`,e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){let o=[e,t];e.includes(`.`)&&(o=e.split(`.`),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=Jo(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Xo(s,n,i):s={...s,...n},Ko(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||=this.options.defaultNS,this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>{let n=t[e];return ss.has(n)?!0:!n||Object.keys(n).length===0?!1:(typeof n==`object`&&ss.add(n),!0)})}toJSON(){return this.data}},ls={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}},us=Symbol(`i18next/PATH_KEY`);function ds(){let e=[],t=Object.create(null),n;return t.get=(r,i)=>(n?.revoke?.(),i===us?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function fs(e,t){let{[us]:n}=e(ds()),r=t?.keySeparator??`.`,i=t?.nsSeparator??`:`,a=t?.enableSelector===`strict`;if(n.length>1&&i){let e=t?.ns,o=a?Array.isArray(e)?e:e?[e]:null:Array.isArray(e)?e:null;if(o&&(a?o:o.length>1?o.slice(1):[]).includes(n[0]))return`${n[0]}${i}${n.slice(1).join(r)}`}return n.join(r)}var ps=e=>!G(e)&&typeof e!=`boolean`&&typeof e!=`number`,ms=class e extends os{constructor(e,t={}){super(),Vo([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=q.create(`translator`),this.checkedLoadedFor={}}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(e==null)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=ps(r.res);return!(n.returnObjects===!1&&i)}extractFromKey(e,t){let n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);let r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.includes(n),o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!ns(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:G(i)?[i]:i};let a=e.split(n);(n!==r||n===r&&this.options.ns.includes(a[0]))&&(i=a.shift()),e=a.join(r)}return{key:e,namespaces:G(i)?[i]:i}}translate(t,n,r){let i=typeof n==`object`?{...n}:n;if(typeof i!=`object`&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i==`object`&&(i={...i}),i||={},t==null)return``;typeof t==`function`&&(t=fs(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(e=>typeof e==`function`?fs(e,{...this.options,...i}):String(e));let a=i.returnDetails===void 0?this.options.returnDetails:i.returnDetails,o=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,{key:s,namespaces:c}=this.extractFromKey(t[t.length-1],i),l=c[c.length-1],u=i.nsSeparator===void 0?this.options.nsSeparator:i.nsSeparator;u===void 0&&(u=`:`);let d=i.lng||this.language,f=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()===`cimode`)return f?a?{res:`${l}${u}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:`${l}${u}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:s;let p=this.resolve(t,i),m=p?.res,h=p?.usedKey||s,g=p?.exactUsedKey||s,_=[`[object Number]`,`[object Function]`,`[object RegExp]`],v=i.joinArrays===void 0?this.options.joinArrays:i.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=i.count!==void 0&&!G(i.count),x=e.hasDefaultValue(i),S=b?this.pluralResolver.getSuffix(d,i.count,i):``,C=i.ordinal&&b?this.pluralResolver.getSuffix(d,i.count,{ordinal:!1}):``,ee=b&&!i.ordinal&&i.count===0,w=ee&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${S}`]||i[`defaultValue${C}`]||i.defaultValue,T=m;y&&!m&&x&&(T=w);let te=ps(T),ne=Object.prototype.toString.apply(T);if(y&&T&&te&&!_.includes(ne)&&!(G(v)&&Array.isArray(T))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn(`accessing an object - but returnObjects options is not enabled!`);let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,T,{...i,ns:c}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(p.res=e,p.usedParams=this.getUsedParamsDetails(i),p):e}if(o){let e=Array.isArray(T),t=e?[]:{},n=e?g:h;for(let e in T)if(Object.prototype.hasOwnProperty.call(T,e)){let r=`${n}${o}${e}`;t[e]=x&&!m?this.translate(r,{...i,defaultValue:ps(w)?w[e]:void 0,joinArrays:!1,ns:c}):this.translate(r,{...i,joinArrays:!1,ns:c}),t[e]===r&&(t[e]=T[e])}m=t}}else if(y&&G(v)&&Array.isArray(m))m=m.join(v),m&&=this.extendTranslation(m,t,i,r);else{let e=!1,n=!1;!this.isValidLookup(m)&&x&&(e=!0,m=w),this.isValidLookup(m)||(n=!0,m=s);let a=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:m,c=x&&w!==m&&this.options.updateMissing;if(n||e||c){if(this.logger.log(c?`updateKey`:`missingKey`,d,l,b&&!c?`${s}${this.pluralResolver.getSuffix(d,i.count,i)}`:s,c?w:m),o){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo===`fallback`&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else this.options.saveMissingTo===`all`?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let n=(e,t,n)=>{let r=x&&n!==m?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,r,c,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,r,c,i),this.emit(`missingKey`,e,l,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);ee&&i[`defaultValue${this.options.pluralSeparator}zero`]&&!t.includes(`${this.options.pluralSeparator}zero`)&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,i[`defaultValue${t}`]||w)})}):n(e,s,w))}m=this.extendTranslation(m,t,i,p,r),n&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${l}${u}${s}`),(n||e)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${s}`:s,e?m:void 0,i))}return a?(p.res=m,p.usedParams=this.getUsedParamsDetails(i),p):m}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let a=G(e)&&(n?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:n.interpolation.skipOnVariables),o;if(a){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let s=n.replace&&!G(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),a){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;o<r&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,(...e)=>i?.[0]===e[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null):this.translate(...e,t),n)),n.interpolation&&this.interpolator.reset()}let a=n.postProcess||this.options.postProcess,o=G(a)?[a]:a;return e!=null&&o?.length&&n.applyPostProcessor!==!1&&(e=ls.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,i,a,o;return G(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>typeof e==`function`?fs(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(n))return;let s=this.extractFromKey(e,t),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let u=t.count!==void 0&&!G(t.count),d=u&&!t.ordinal&&t.count===0,f=t.context!==void 0&&(G(t.context)||typeof t.context==`number`)&&t.context!==``,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);l.forEach(e=>{this.isValidLookup(n)||(o=e,!this.checkedLoadedFor[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(this.checkedLoadedFor[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(`, `)}" won't get resolved as namespace "${o}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),p.forEach(r=>{if(this.isValidLookup(n))return;a=r;let o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(t.ordinal&&e.startsWith(i)&&o.push(c+e.replace(i,this.options.pluralSeparator)),o.push(c+e),d&&o.push(c+n)),f){let r=`${c}${this.options.contextSeparator||`_`}${t.context}`;o.push(r),u&&(t.ordinal&&e.startsWith(i)&&o.push(r+e.replace(i,this.options.pluralSeparator)),o.push(r+e),d&&o.push(r+n))}}let s;for(;s=o.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e===``)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){let t=[`defaultValue`,`ordinal`,`context`,`replace`,`lng`,`lngs`,`fallbackLng`,`ns`,`keySeparator`,`nsSeparator`,`returnObjects`,`returnDetails`,`joinArrays`,`postProcess`,`interpolation`],n=e.replace&&!G(e.replace),r=n?e.replace:e;if(n&&e.count!==void 0&&(r={...r,count:e.count}),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(let e of t)delete r[e]}return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.startsWith(`defaultValue`)&&e[t]!==void 0)return!0;return!1}},hs=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=q.create(`languageUtils`),this.resolveHierarchyCache={}}clearCache(){this.resolveHierarchyCache={}}getScriptPartFromCode(e){if(e=is(e),!e||!e.includes(`-`))return null;let t=e.split(`-`);return t.length===2||(t.pop(),t[t.length-1].toLowerCase()===`x`)?null:this.formatLanguageCode(t.join(`-`))}getLanguagePartFromCode(e){if(e=is(e),!e||!e.includes(`-`))return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(G(e)&&e.includes(`-`)){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.includes(e)}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>e===r?!0:!e.includes(`-`)&&!r.includes(`-`)?!1:!!(e.includes(`-`)&&!r.includes(`-`)&&e.slice(0,e.indexOf(`-`))===r||e.startsWith(r)&&r.length>1))}),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t}getFallbackCodes(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),G(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||=e[this.getScriptPartFromCode(t)],n||=e[this.formatLanguageCode(t)],n||=e[this.getLanguagePartFromCode(t)],n||=e.default,n||[]}toResolveHierarchy(e,t){let n=this.options.fallbackLng,r=Array.isArray(n)?n.join(`|`):n;r!==this._cachedFallbackLng&&(this.resolveHierarchyCache={},this._cachedFallbackLng=r);let i=t===void 0||t===!1||G(t),a=t===void 0&&typeof this.options.fallbackLng==`function`,o=G(e)&&i&&!a,s=null;if(o){let n;n=t===void 0?`undefined`:t===!1?`boolean:false`:`string:${t}`,s=`${e.length}:${e}|${n}`}if(s!==null){let e=this.resolveHierarchyCache[s];if(e!==void 0)return e.slice()}let c=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),l=[],u=e=>{e&&(this.isSupportedCode(e)?l.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return G(e)&&(e.includes(`-`)||e.includes(`_`))?(this.options.load!==`languageOnly`&&u(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&u(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&u(this.getLanguagePartFromCode(e))):G(e)&&u(this.formatLanguageCode(e)),c.forEach(e=>{let t=this.formatLanguageCode(e);l.includes(t)||u(t)}),s===null?l:(this.resolveHierarchyCache[s]=l,l.slice())}},gs={zero:0,one:1,two:2,few:3,many:4,other:5},_s={select:e=>e===1?`one`:`other`,resolvedOptions:()=>({pluralCategories:[`one`,`other`]})},vs=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=q.create(`pluralResolver`),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n=is(e===`dev`?`en`:e),r=t.ordinal?`ordinal`:`cardinal`,i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:r})}catch{if(typeof Intl>`u`)return this.logger.error(`No Intl support, please use an Intl polyfill!`),_s;if(!e.match(/-|_/))return _s;let n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[i]=a,a}needsPlural(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?n.resolvedOptions().pluralCategories.sort((e,t)=>gs[e]-gs[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:``}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:``}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix(`dev`,t,n))}},ys=(e,t,n,r=`.`,i=!0)=>{let a=Yo(e,t,n);return!a&&i&&G(n)&&(a=rs(e,n,r),a===void 0&&(a=rs(t,n,r))),a},bs=e=>e.replace(/\$/g,`$$$$`),xs=class{constructor(e={}){this.logger=q.create(`interpolator`),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||={escapeValue:!0};let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:g,alwaysFormat:_}=e.interpolation;this.escape=t===void 0?Qo:t,this.escapeValue=n===void 0||n,this.useRawValueToEscape=r!==void 0&&r,this.prefix=i?K(i):a||`{{`,this.suffix=o?K(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u?K(u):`-`,this.unescapeSuffix=this.unescapePrefix?``:l?K(l):``,this.nestingPrefix=d?K(d):f||K(`$t(`),this.nestingSuffix=p?K(p):m||K(`)`),this.nestingOptionsSeparator=h||`,`,this.maxReplaces=g||1e3,this.alwaysFormat=_!==void 0&&_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,`g`);this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']|"[^"]*"|'[^']*'|\\((?:[^()"']|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,a,o,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(!e.includes(this.formatSeparator)){let i=ys(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(ys(t,s,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:a})};this.resetRegExp(),!this.escapeValue&&typeof e==`string`&&/\$t\([^)]*\{[^}]*\{\{/.test(e)&&this.logger.warn(`nesting options string contains interpolated variables with escapeValue: false — if any of those values are attacker-controlled they can inject additional nesting options (e.g. redirect lng/ns). Sanitise untrusted input before passing it to t(), or keep escapeValue: true.`);let l=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:r.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>e},{regex:this.regexp,safeValue:e=>this.escapeValue?this.escape(e):e}].forEach(t=>{for(o=0;i=t.regex.exec(e);){let n=i[1].trim();if(a=c(n),a===void 0){if(typeof l==`function`){let t=l(e,i,r);a=G(t)?t:``}else if(r&&Object.prototype.hasOwnProperty.call(r,n))a=``;else if(u){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),a=``}else!G(a)&&!this.useRawValueToEscape&&(a=Bo(a));let s=t.safeValue(a);if(e=e.replace(i[0],bs(s)),u?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,a,o=(e,t)=>{let n=this.nestingOptionsSeparator;if(!e.includes(n))return e;let r=e.split(RegExp(`${K(n)}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,a);let o=i.match(/'/g),s=i.match(/"/g);((o?.length??0)%2==0&&!s||(s?.length??0)%2!=0)&&(i=i.replace(/'/g,`"`));try{a=JSON.parse(i),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return a.defaultValue&&a.defaultValue.includes(this.prefix)&&delete a.defaultValue,e},s=new RegExp(this.nestingRegexp),c=``,l=0;for(;r=s.exec(e);){let u=[];a={...n},a=a.replace&&!G(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let d=/{.*}/s.test(r[1])?r[1].lastIndexOf(`}`)+1:r[1].indexOf(this.formatSeparator);if(d!==-1&&(u=r[1].slice(d).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,d)),i=t(o.call(this,r[1].trim(),a),a),i&&r[0]===e&&!G(i))return i;G(i)||(i=Bo(i)),i||=(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),``),u.length&&(i=u.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),c+=e.slice(l,r.index)+Bo(i),l=s.lastIndex,this.regexp.lastIndex=0}return l?c+e.slice(l):e}},Ss=e=>{let t=e.toLowerCase().trim(),n={};if(e.includes(`(`)){let r=e.split(`(`);t=r[0].toLowerCase().trim();let i=r[1].slice(0,-1);t===`currency`&&!i.includes(`:`)?n.currency||=i.trim():t===`relativetime`&&!i.includes(`:`)?n.range||=i.trim():i.split(`;`).forEach(e=>{if(e){let[t,...r]=e.split(`:`),i=r.join(`:`).trim().replace(/^'+|'+$/g,``),a=t.trim();n[a]||(n[a]=i),i===`false`&&(n[a]=!1),i===`true`&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}},Cs=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o=r+JSON.stringify(a),s=t[o];return s||(s=e(is(r),i),t[o]=s),s(n)}},ws=e=>(t,n,r)=>e(is(n),r)(t),Ts=class{constructor(e={}){this.logger=q.create(`formatter`),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||`,`;let n=t.cacheInBuiltFormats?Cs:ws;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:`currency`});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||`day`)}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Cs(t)}format(e,t,n,r={}){if(!t||e==null)return e;let i=t.split(this.formatSeparator),a=[];for(let e=0;e<i.length;e++){let t=i[e];for(;t.indexOf(`(`)>-1&&!t.includes(`)`)&&e+1<i.length;)t=`${t}${this.formatSeparator}${i[++e]}`;a.push(t)}return a.reduce((e,t)=>{let{formatName:i,formatOptions:a}=Ss(t);if(this.formats[i]){let t=e;try{let o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}},Es=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},Ds=class extends os{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=q.create(`backendConnector`),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(this.state[o]===1?a[o]===void 0&&(a[o]=!0):(this.state[o]=1,r=!1,a[o]===void 0&&(a[o]=!0),i[o]===void 0&&(i[o]=!0),s[t]===void 0&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split(`|`),i=r[0],a=r[1];t&&this.emit(`failedLoading`,i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let o={};this.queue.forEach(n=>{qo(n.loaded,[i],a),Es(n,e),t&&n.errors.push(t),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{o[e][t]===void 0&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit(`loaded`,o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});return}this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}o&&s&&r<this.maxRetries?setTimeout(()=>{this.read(e,t,n,r+1,i*2,a)},i):a(o,s)},s=this.backend[n].bind(this.backend);if(s.length===2)try{let n=s(e,t);n&&typeof n.then==`function`?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}else return s(e,t,o)}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),r&&r();G(e)&&(e=this.languageUtils.toResolveHierarchy(e)),G(t)&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=``){let n=e.split(`|`),r=n[0],i=n[1];this.read(r,i,`read`,void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t))this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`);else if(n!=null&&n!==``){if(this.backend?.create){let s={...a,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let i;i=c.length===5?c(e,t,n,r,s):c(e,t,n,r),i&&typeof i.then==`function`?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else c(e,t,n,r,o,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}},Os=()=>({debug:!1,initAsync:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:[`dev`],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,enableSelector:!1,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==`object`&&(t=e[1]),G(e[1])&&(t.defaultValue=e[1]),G(e[2])&&(t.tDescription=e[2]),typeof e[2]==`object`||typeof e[3]==`object`){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),ks=e=>(G(e.ns)&&(e.ns=[e.ns]),G(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),G(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&!e.supportedLngs.includes(`cimode`)&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),e),As=()=>{},js=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},J=class e extends os{constructor(e={},t){if(super(),this.options=ks(e),this.services={},this.logger=q,this.modules={external:[]},js(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e==`function`&&(t=e,e={}),e.defaultNS==null&&e.ns&&(G(e.ns)?e.defaultNS=e.ns:e.ns.includes(`translation`)||(e.defaultNS=e.ns[0]));let n=Os();this.options={...n,...this.options,...ks(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!=`function`&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler);let r=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.modules.logger?q.init(r(this.modules.logger),this.options):q.init(null,this.options);let e;e=this.modules.formatter?this.modules.formatter:Ts;let t=new hs(this.options);this.store=new cs(this.options.resources,this.options);let n=this.services;n.logger=q,n.resourceStore=this.store,n.languageUtils=t,n.pluralResolver=new vs(t,{prepend:this.options.pluralSeparator}),e&&(n.formatter=r(e),n.formatter.init&&n.formatter.init(n,this.options),this.options.interpolation.format=n.formatter.format.bind(n.formatter)),n.interpolator=new xs(this.options),n.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},n.backendConnector=new Ds(r(this.modules.backend),n.resourceStore,n,this.options),n.backendConnector.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(n.languageDetector=r(this.modules.languageDetector),n.languageDetector.init&&n.languageDetector.init(n,this.options.detection,this.options)),this.modules.i18nFormat&&(n.i18nFormat=r(this.modules.i18nFormat),n.i18nFormat.init&&n.i18nFormat.init(this)),this.translator=new ms(this.services,this.options),this.translator.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||=As,this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&e[0]!==`dev`&&(this.options.lng=e[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let i=zo(),a=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(`init: i18next is already initialized. You should call init just once!`),this.isInitialized=!0,this.options.isClone||this.logger.log(`initialized`,this.options),this.emit(`initialized`,this.options),i.resolve(n),t(e,n)};if((this.languages||this.isLanguageChangingTo)&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),i}loadResources(e,t=As){let n=t,r=G(e)?e:this.language;if(typeof e==`function`&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()===`cimode`&&(!this.options.preload||this.options.preload.length===0))return n();let e=[],t=t=>{t&&t!==`cimode`&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{t!==`cimode`&&(e.includes(t)||e.push(t))})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{!e&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=zo();return typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=void 0),e||=this.languages,t||=this.options.ns,n||=As,this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);return e.type===`backend`&&(this.modules.backend=e),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&(this.modules.languageDetector=e),e.type===`i18nFormat`&&(this.modules.i18nFormat=e),e.type===`postProcessor`&&ls.addPostProcessor(e),e.type===`formatter`&&(this.modules.formatter=e),e.type===`3rdParty`&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&![`cimode`,`dev`].includes(e)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(![`cimode`,`dev`].includes(t)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&!this.languages.includes(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=zo();this.emit(`languageChanging`,e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit(`languageChanged`,a),this.logger.log(`languageChanged`,a)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},a=t=>{!e&&!t&&this.services.languageDetector&&(t=[]);let n=G(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(G(t)?[t]:t);a&&(this.language||r(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{i(e,a)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e),n}getFixedT(e,t,n,r){let i=r?.scopeNs,a=(e,t,...r)=>{let o;o=typeof t==`object`?{...t}:this.options.overloadTranslationOptionHandler([e,t].concat(r)),o.lng=o.lng||a.lng,o.lngs=o.lngs||a.lngs;let s=o.ns!==void 0&&o.ns!==null;o.ns=o.ns||a.ns,o.keyPrefix!==``&&(o.keyPrefix=o.keyPrefix||n||a.keyPrefix);let c={...this.options,...o};Array.isArray(i)&&!s&&(c.ns=i),typeof o.keyPrefix==`function`&&(o.keyPrefix=fs(o.keyPrefix,c));let l=this.options.keySeparator||`.`,u;return o.keyPrefix&&Array.isArray(e)?u=e.map(e=>(typeof e==`function`&&(e=fs(e,c)),`${o.keyPrefix}${l}${e}`)):(typeof e==`function`&&(e=fs(e,c)),u=o.keyPrefix?`${o.keyPrefix}${l}${e}`:e),this.t(u,o)};return G(e)?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=n,a}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()===`cimode`)return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return n===-1||n===0||n===2};if(t.precheck){let e=t.precheck(this,a);if(e!==void 0)return e}if(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages)return!0;let{languageUtils:o}=this.services,s=t.lng?o.isSupportedCode(n)&&o.toResolveHierarchy(n,!1)[0]:n;return!(s&&!a(s,e)||r&&!a(i,e))}loadNamespaces(e,t){let n=zo();return this.options.ns?(G(e)&&(e=[e]),e.forEach(e=>{this.options.ns.includes(e)||this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=zo();G(e)&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>!r.includes(e)&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language),!e)return`rtl`;try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch{}let t=`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`),n=this.services?.languageUtils||new hs(Os());return e.toLowerCase().indexOf(`-latn`)>1?`ltr`:t.includes(n.getLanguagePartFromCode(e))||e.toLowerCase().indexOf(`-arab`)>1?`rtl`:`ltr`}static createInstance(t={},n){let r=new e(t,n);return r.createInstance=e.createInstance,r}cloneInstance(t={},n=As){let r=t.forkResourceStore;r&&delete t.forkResourceStore;let i={...this.options,preload:!1,...t,isClone:!0},a=new e(i);if((t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),[`store`,`services`,`language`].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new cs(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{}),i),a.services.resourceStore=a.store),t.interpolation){let e={...Os().interpolation,...this.options.interpolation,...t.interpolation},n={...i,interpolation:e};a.services.interpolator=new xs(n)}return a.translator=new ms(a.services,i),a.translator.on(`*`,(e,...t)=>{a.emit(e,...t)}),a.init(i,n),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}.createInstance();J.createInstance,J.dir,J.init,J.loadResources,J.reloadResources,J.use,J.changeLanguage,J.getFixedT,J.t,J.exists,J.setDefaultNamespace,J.hasLoadedNamespace,J.loadNamespaces,J.loadLanguages;var Ms=({locale:e,asyncMessagesLoader:t,messages:n,useSuspense:r=!1,disableAutoInit:i=!1,bindI18n:a},{icu:o}={})=>{let s={lng:e,fallbackLng:`en`,keySeparator:!1,react:{useSuspense:r,bindI18n:a},_polyfill:{isLoading:!1}},c=J.createInstance(i?s:void 0);return o&&c.use(o),t&&c.use({type:`backend`,read:async(e,n,r)=>{try{return r(null,await t(e))}catch(e){return r(e,null)}}}),n&&(s.resources={[e]:{translation:n}}),i||c.init(s),c};function Ns(e,t){let n=t&&t.cache?t.cache:Us,r=t&&t.serializer?t.serializer:Vs;return(t&&t.strategy?t.strategy:Rs)(e,{cache:n,serializer:r})}function Ps(e){return e==null||typeof e==`number`||typeof e==`boolean`}function Fs(e,t,n,r){let i=Ps(r)?r:n(r),a=t.get(i);return a===void 0&&(a=e.call(this,r),t.set(i,a)),a}function Is(e,t,n){let r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return a===void 0&&(a=e.apply(this,r),t.set(i,a)),a}function Ls(e,t,n,r,i){return n.bind(t,e,r,i)}function Rs(e,t){let n=e.length===1?Fs:Is;return Ls(e,this,n,t.cache.create(),t.serializer)}function zs(e,t){return Ls(e,this,Is,t.cache.create(),t.serializer)}function Bs(e,t){return Ls(e,this,Fs,t.cache.create(),t.serializer)}var Vs=function(){return JSON.stringify(arguments)},Hs=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}},Us={create:function(){return new Hs}},Ws={variadic:zs,monadic:Bs},Gs=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Ks(e){let t={};return e.replace(Gs,e=>{let n=e.length;switch(e[0]){case`G`:t.era=n===4?`long`:n===5?`narrow`:`short`;break;case`y`:t.year=n===2?`2-digit`:`numeric`;break;case`Y`:case`u`:case`U`:case`r`:throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case`q`:case`Q`:throw RangeError("`q/Q` (quarter) patterns are not supported");case`M`:case`L`:t.month=[`numeric`,`2-digit`,`short`,`long`,`narrow`][n-1];break;case`w`:case`W`:throw RangeError("`w/W` (week) patterns are not supported");case`d`:t.day=[`numeric`,`2-digit`][n-1];break;case`D`:case`F`:case`g`:throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case`E`:t.weekday=n===4?`long`:n===5?`narrow`:`short`;break;case`e`:if(n<4)throw RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=[`short`,`long`,`narrow`,`short`][n-3];break;case`c`:if(n<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=[`short`,`long`,`narrow`,`short`][n-3];break;case`a`:t.hour12=!0;break;case`b`:case`B`:throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case`h`:t.hourCycle=`h12`,t.hour=[`numeric`,`2-digit`][n-1];break;case`H`:t.hourCycle=`h23`,t.hour=[`numeric`,`2-digit`][n-1];break;case`K`:t.hourCycle=`h11`,t.hour=[`numeric`,`2-digit`][n-1];break;case`k`:t.hourCycle=`h24`,t.hour=[`numeric`,`2-digit`][n-1];break;case`j`:case`J`:case`C`:throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case`m`:t.minute=[`numeric`,`2-digit`][n-1];break;case`s`:t.second=[`numeric`,`2-digit`][n-1];break;case`S`:case`A`:throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case`z`:t.timeZoneName=n<4?`short`:`long`;break;case`Z`:case`O`:case`v`:case`V`:case`X`:case`x`:throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return``}),t}var qs=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Js(e){if(e.length===0)throw Error(`Number skeleton cannot be empty`);let t=e.split(qs).filter(e=>e.length>0),n=[];for(let e of t){let t=e.split(`/`);if(t.length===0)throw Error(`Invalid number skeleton`);let[r,...i]=t;for(let e of i)if(e.length===0)throw Error(`Invalid number skeleton`);n.push({stem:r,options:i})}return n}function Ys(e){return e.replace(/^(.*?)-/,``)}var Xs=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Zs=/^(@+)?(\+|#+)?[rs]?$/g,Qs=/(\*)(0+)|(#+)(0+)|(0+)/g,$s=/^(0+)$/;function ec(e){let t={};return e[e.length-1]===`r`?t.roundingPriority=`morePrecision`:e[e.length-1]===`s`&&(t.roundingPriority=`lessPrecision`),e.replace(Zs,function(e,n,r){return typeof r==`string`?r===`+`?t.minimumSignificantDigits=n.length:n[0]===`#`?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof r==`string`?r.length:0)):(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length),``}),t}function tc(e){switch(e){case`sign-auto`:return{signDisplay:`auto`};case`sign-accounting`:case`()`:return{currencySign:`accounting`};case`sign-always`:case`+!`:return{signDisplay:`always`};case`sign-accounting-always`:case`()!`:return{signDisplay:`always`,currencySign:`accounting`};case`sign-except-zero`:case`+?`:return{signDisplay:`exceptZero`};case`sign-accounting-except-zero`:case`()?`:return{signDisplay:`exceptZero`,currencySign:`accounting`};case`sign-never`:case`+_`:return{signDisplay:`never`}}}function nc(e){let t;if(e[0]===`E`&&e[1]===`E`?(t={notation:`engineering`},e=e.slice(2)):e[0]===`E`&&(t={notation:`scientific`},e=e.slice(1)),t){let n=e.slice(0,2);if(n===`+!`?(t.signDisplay=`always`,e=e.slice(2)):n===`+?`&&(t.signDisplay=`exceptZero`,e=e.slice(2)),!$s.test(e))throw Error(`Malformed concise eng/scientific notation`);t.minimumIntegerDigits=e.length}return t}function rc(e){return tc(e)||{}}function ic(e){let t={};for(let n of e){switch(n.stem){case`percent`:case`%`:t.style=`percent`;continue;case`%x100`:t.style=`percent`,t.scale=100;continue;case`currency`:t.style=`currency`,t.currency=n.options[0];continue;case`group-off`:case`,_`:t.useGrouping=!1;continue;case`precision-integer`:case`.`:t.maximumFractionDigits=0;continue;case`measure-unit`:case`unit`:t.style=`unit`,t.unit=Ys(n.options[0]);continue;case`compact-short`:case`K`:t.notation=`compact`,t.compactDisplay=`short`;continue;case`compact-long`:case`KK`:t.notation=`compact`,t.compactDisplay=`long`;continue;case`scientific`:t={...t,notation:`scientific`,...n.options.reduce((e,t)=>({...e,...rc(t)}),{})};continue;case`engineering`:t={...t,notation:`engineering`,...n.options.reduce((e,t)=>({...e,...rc(t)}),{})};continue;case`notation-simple`:t.notation=`standard`;continue;case`unit-width-narrow`:t.currencyDisplay=`narrowSymbol`,t.unitDisplay=`narrow`;continue;case`unit-width-short`:t.currencyDisplay=`code`,t.unitDisplay=`short`;continue;case`unit-width-full-name`:t.currencyDisplay=`name`,t.unitDisplay=`long`;continue;case`unit-width-iso-code`:t.currencyDisplay=`symbol`;continue;case`scale`:t.scale=parseFloat(n.options[0]);continue;case`rounding-mode-floor`:t.roundingMode=`floor`;continue;case`rounding-mode-ceiling`:t.roundingMode=`ceil`;continue;case`rounding-mode-down`:t.roundingMode=`trunc`;continue;case`rounding-mode-up`:t.roundingMode=`expand`;continue;case`rounding-mode-half-even`:t.roundingMode=`halfEven`;continue;case`rounding-mode-half-down`:t.roundingMode=`halfTrunc`;continue;case`rounding-mode-half-up`:t.roundingMode=`halfExpand`;continue;case`integer-width`:if(n.options.length>1)throw RangeError(`integer-width stems only accept a single optional option`);n.options[0].replace(Qs,function(e,n,r,i,a,o){if(n)t.minimumIntegerDigits=r.length;else if(i&&a)throw Error(`We currently do not support maximum integer digits`);else if(o)throw Error(`We currently do not support exact integer digits`);return``});continue}if($s.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Xs.test(n.stem)){if(n.options.length>1)throw RangeError(`Fraction-precision stems only accept a single optional option`);n.stem.replace(Xs,function(e,n,r,i,a,o){return r===`*`?t.minimumFractionDigits=n.length:i&&i[0]===`#`?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),``});let e=n.options[0];e===`w`?t={...t,trailingZeroDisplay:`stripIfInteger`}:e&&(t={...t,...ec(e)});continue}if(Zs.test(n.stem)){t={...t,...ec(n.stem)};continue}let e=tc(n.stem);e&&(t={...t,...e});let r=nc(n.stem);r&&(t={...t,...r})}return t}var ac=function(e){return e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]=`EXPECT_ARGUMENT_CLOSING_BRACE`,e[e.EMPTY_ARGUMENT=2]=`EMPTY_ARGUMENT`,e[e.MALFORMED_ARGUMENT=3]=`MALFORMED_ARGUMENT`,e[e.EXPECT_ARGUMENT_TYPE=4]=`EXPECT_ARGUMENT_TYPE`,e[e.INVALID_ARGUMENT_TYPE=5]=`INVALID_ARGUMENT_TYPE`,e[e.EXPECT_ARGUMENT_STYLE=6]=`EXPECT_ARGUMENT_STYLE`,e[e.INVALID_NUMBER_SKELETON=7]=`INVALID_NUMBER_SKELETON`,e[e.INVALID_DATE_TIME_SKELETON=8]=`INVALID_DATE_TIME_SKELETON`,e[e.EXPECT_NUMBER_SKELETON=9]=`EXPECT_NUMBER_SKELETON`,e[e.EXPECT_DATE_TIME_SKELETON=10]=`EXPECT_DATE_TIME_SKELETON`,e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]=`UNCLOSED_QUOTE_IN_ARGUMENT_STYLE`,e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]=`EXPECT_SELECT_ARGUMENT_OPTIONS`,e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]=`EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]=`INVALID_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]=`EXPECT_SELECT_ARGUMENT_SELECTOR`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]=`EXPECT_PLURAL_ARGUMENT_SELECTOR`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]=`EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]=`EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT`,e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]=`INVALID_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]=`DUPLICATE_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]=`DUPLICATE_SELECT_ARGUMENT_SELECTOR`,e[e.MISSING_OTHER_CLAUSE=22]=`MISSING_OTHER_CLAUSE`,e[e.INVALID_TAG=23]=`INVALID_TAG`,e[e.INVALID_TAG_NAME=25]=`INVALID_TAG_NAME`,e[e.UNMATCHED_CLOSING_TAG=26]=`UNMATCHED_CLOSING_TAG`,e[e.UNCLOSED_TAG=27]=`UNCLOSED_TAG`,e}({});function oc(e){return e.type===0}function sc(e){return e.type===1}function cc(e){return e.type===2}function lc(e){return e.type===3}function uc(e){return e.type===4}function dc(e){return e.type===5}function fc(e){return e.type===6}function pc(e){return e.type===7}function mc(e){return e.type===8}function hc(e){return!!(e&&typeof e==`object`&&e.type===0)}function gc(e){return!!(e&&typeof e==`object`&&e.type===1)}var _c=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,vc={"001":[`H`,`h`],419:[`h`,`H`,`hB`,`hb`],AC:[`H`,`h`,`hb`,`hB`],AD:[`H`,`hB`],AE:[`h`,`hB`,`hb`,`H`],AF:[`H`,`hb`,`hB`,`h`],AG:[`h`,`hb`,`H`,`hB`],AI:[`H`,`h`,`hb`,`hB`],AL:[`h`,`H`,`hB`],AM:[`H`,`hB`],AO:[`H`,`hB`],AR:[`h`,`H`,`hB`,`hb`],AS:[`h`,`H`],AT:[`H`,`hB`],AU:[`h`,`hb`,`H`,`hB`],AW:[`H`,`hB`],AX:[`H`],AZ:[`H`,`hB`,`h`],BA:[`H`,`hB`,`h`],BB:[`h`,`hb`,`H`,`hB`],BD:[`h`,`hB`,`H`],BE:[`H`,`hB`],BF:[`H`,`hB`],BG:[`H`,`hB`,`h`],BH:[`h`,`hB`,`hb`,`H`],BI:[`H`,`h`],BJ:[`H`,`hB`],BL:[`H`,`hB`],BM:[`h`,`hb`,`H`,`hB`],BN:[`hb`,`hB`,`h`,`H`],BO:[`h`,`H`,`hB`,`hb`],BQ:[`H`],BR:[`H`,`hB`],BS:[`h`,`hb`,`H`,`hB`],BT:[`h`,`H`],BW:[`H`,`h`,`hb`,`hB`],BY:[`H`,`h`],BZ:[`H`,`h`,`hb`,`hB`],CA:[`h`,`hb`,`H`,`hB`],CC:[`H`,`h`,`hb`,`hB`],CD:[`hB`,`H`],CF:[`H`,`h`,`hB`],CG:[`H`,`hB`],CH:[`H`,`hB`,`h`],CI:[`H`,`hB`],CK:[`H`,`h`,`hb`,`hB`],CL:[`h`,`H`,`hB`,`hb`],CM:[`H`,`h`,`hB`],CN:[`H`,`hB`,`hb`,`h`],CO:[`h`,`H`,`hB`,`hb`],CP:[`H`],CR:[`h`,`H`,`hB`,`hb`],CU:[`h`,`H`,`hB`,`hb`],CV:[`H`,`hB`],CW:[`H`,`hB`],CX:[`H`,`h`,`hb`,`hB`],CY:[`h`,`H`,`hb`,`hB`],CZ:[`H`],DE:[`H`,`hB`],DG:[`H`,`h`,`hb`,`hB`],DJ:[`h`,`H`],DK:[`H`],DM:[`h`,`hb`,`H`,`hB`],DO:[`h`,`H`,`hB`,`hb`],DZ:[`h`,`hB`,`hb`,`H`],EA:[`H`,`h`,`hB`,`hb`],EC:[`h`,`H`,`hB`,`hb`],EE:[`H`,`hB`],EG:[`h`,`hB`,`hb`,`H`],EH:[`h`,`hB`,`hb`,`H`],ER:[`h`,`H`],ES:[`H`,`hB`,`h`,`hb`],ET:[`hB`,`hb`,`h`,`H`],FI:[`H`],FJ:[`h`,`hb`,`H`,`hB`],FK:[`H`,`h`,`hb`,`hB`],FM:[`h`,`hb`,`H`,`hB`],FO:[`H`,`h`],FR:[`H`,`hB`],GA:[`H`,`hB`],GB:[`H`,`h`,`hb`,`hB`],GD:[`h`,`hb`,`H`,`hB`],GE:[`H`,`hB`,`h`],GF:[`H`,`hB`],GG:[`H`,`h`,`hb`,`hB`],GH:[`h`,`H`],GI:[`H`,`h`,`hb`,`hB`],GL:[`H`,`h`],GM:[`h`,`hb`,`H`,`hB`],GN:[`H`,`hB`],GP:[`H`,`hB`],GQ:[`H`,`hB`,`h`,`hb`],GR:[`h`,`H`,`hb`,`hB`],GS:[`H`,`h`,`hb`,`hB`],GT:[`h`,`H`,`hB`,`hb`],GU:[`h`,`hb`,`H`,`hB`],GW:[`H`,`hB`],GY:[`h`,`hb`,`H`,`hB`],HK:[`h`,`hB`,`hb`,`H`],HN:[`h`,`H`,`hB`,`hb`],HR:[`H`,`hB`],HU:[`H`,`h`],IC:[`H`,`h`,`hB`,`hb`],ID:[`H`],IE:[`H`,`h`,`hb`,`hB`],IL:[`H`,`hB`],IM:[`H`,`h`,`hb`,`hB`],IN:[`h`,`H`],IO:[`H`,`h`,`hb`,`hB`],IQ:[`h`,`hB`,`hb`,`H`],IR:[`hB`,`H`],IS:[`H`],IT:[`H`,`hB`],JE:[`H`,`h`,`hb`,`hB`],JM:[`h`,`hb`,`H`,`hB`],JO:[`h`,`hB`,`hb`,`H`],JP:[`H`,`K`,`h`],KE:[`hB`,`hb`,`H`,`h`],KG:[`H`,`h`,`hB`,`hb`],KH:[`hB`,`h`,`H`,`hb`],KI:[`h`,`hb`,`H`,`hB`],KM:[`H`,`h`,`hB`,`hb`],KN:[`h`,`hb`,`H`,`hB`],KP:[`h`,`H`,`hB`,`hb`],KR:[`h`,`H`,`hB`,`hb`],KW:[`h`,`hB`,`hb`,`H`],KY:[`h`,`hb`,`H`,`hB`],KZ:[`H`,`hB`],LA:[`H`,`hb`,`hB`,`h`],LB:[`h`,`hB`,`hb`,`H`],LC:[`h`,`hb`,`H`,`hB`],LI:[`H`,`hB`,`h`],LK:[`H`,`h`,`hB`,`hb`],LR:[`h`,`hb`,`H`,`hB`],LS:[`h`,`H`],LT:[`H`,`h`,`hb`,`hB`],LU:[`H`,`h`,`hB`],LV:[`H`,`hB`,`hb`,`h`],LY:[`h`,`hB`,`hb`,`H`],MA:[`H`,`h`,`hB`,`hb`],MC:[`H`,`hB`],MD:[`H`,`hB`],ME:[`H`,`hB`,`h`],MF:[`H`,`hB`],MG:[`H`,`h`],MH:[`h`,`hb`,`H`,`hB`],MK:[`H`,`h`,`hb`,`hB`],ML:[`H`],MM:[`hB`,`hb`,`H`,`h`],MN:[`H`,`h`,`hb`,`hB`],MO:[`h`,`hB`,`hb`,`H`],MP:[`h`,`hb`,`H`,`hB`],MQ:[`H`,`hB`],MR:[`h`,`hB`,`hb`,`H`],MS:[`H`,`h`,`hb`,`hB`],MT:[`H`,`h`],MU:[`H`,`h`],MV:[`H`,`h`],MW:[`h`,`hb`,`H`,`hB`],MX:[`h`,`H`,`hB`,`hb`],MY:[`hb`,`hB`,`h`,`H`],MZ:[`H`,`hB`],NA:[`h`,`H`,`hB`,`hb`],NC:[`H`,`hB`],NE:[`H`],NF:[`H`,`h`,`hb`,`hB`],NG:[`H`,`h`,`hb`,`hB`],NI:[`h`,`H`,`hB`,`hb`],NL:[`H`,`hB`],NO:[`H`,`h`],NP:[`H`,`h`,`hB`],NR:[`H`,`h`,`hb`,`hB`],NU:[`H`,`h`,`hb`,`hB`],NZ:[`h`,`hb`,`H`,`hB`],OM:[`h`,`hB`,`hb`,`H`],PA:[`h`,`H`,`hB`,`hb`],PE:[`h`,`H`,`hB`,`hb`],PF:[`H`,`h`,`hB`],PG:[`h`,`H`],PH:[`h`,`hB`,`hb`,`H`],PK:[`h`,`hB`,`H`],PL:[`H`,`h`],PM:[`H`,`hB`],PN:[`H`,`h`,`hb`,`hB`],PR:[`h`,`H`,`hB`,`hb`],PS:[`h`,`hB`,`hb`,`H`],PT:[`H`,`hB`],PW:[`h`,`H`],PY:[`h`,`H`,`hB`,`hb`],QA:[`h`,`hB`,`hb`,`H`],RE:[`H`,`hB`],RO:[`H`,`hB`],RS:[`H`,`hB`,`h`],RU:[`H`],RW:[`H`,`h`],SA:[`h`,`hB`,`hb`,`H`],SB:[`h`,`hb`,`H`,`hB`],SC:[`H`,`h`,`hB`],SD:[`h`,`hB`,`hb`,`H`],SE:[`H`],SG:[`h`,`hb`,`H`,`hB`],SH:[`H`,`h`,`hb`,`hB`],SI:[`H`,`hB`],SJ:[`H`],SK:[`H`],SL:[`h`,`hb`,`H`,`hB`],SM:[`H`,`h`,`hB`],SN:[`H`,`h`,`hB`],SO:[`h`,`H`],SR:[`H`,`hB`],SS:[`h`,`hb`,`H`,`hB`],ST:[`H`,`hB`],SV:[`h`,`H`,`hB`,`hb`],SX:[`H`,`h`,`hb`,`hB`],SY:[`h`,`hB`,`hb`,`H`],SZ:[`h`,`hb`,`H`,`hB`],TA:[`H`,`h`,`hb`,`hB`],TC:[`h`,`hb`,`H`,`hB`],TD:[`h`,`H`,`hB`],TF:[`H`,`h`,`hB`],TG:[`H`,`hB`],TH:[`H`,`h`],TJ:[`H`,`h`],TL:[`H`,`hB`,`hb`,`h`],TM:[`H`,`h`],TN:[`h`,`hB`,`hb`,`H`],TO:[`h`,`H`],TR:[`H`,`hB`],TT:[`h`,`hb`,`H`,`hB`],TW:[`hB`,`hb`,`h`,`H`],TZ:[`hB`,`hb`,`H`,`h`],UA:[`H`,`hB`,`h`],UG:[`hB`,`hb`,`H`,`h`],UM:[`h`,`hb`,`H`,`hB`],US:[`h`,`hb`,`H`,`hB`],UY:[`h`,`H`,`hB`,`hb`],UZ:[`H`,`hB`,`h`],VA:[`H`,`h`,`hB`],VC:[`h`,`hb`,`H`,`hB`],VE:[`h`,`H`,`hB`,`hb`],VG:[`h`,`hb`,`H`,`hB`],VI:[`h`,`hb`,`H`,`hB`],VN:[`H`,`h`],VU:[`h`,`H`],WF:[`H`,`hB`],WS:[`h`,`H`],XK:[`H`,`hB`,`h`],YE:[`h`,`hB`,`hb`,`H`],YT:[`H`,`hB`],ZA:[`H`,`h`,`hb`,`hB`],ZM:[`h`,`hb`,`H`,`hB`],ZW:[`H`,`h`],"af-ZA":[`H`,`h`,`hB`,`hb`],"ar-001":[`h`,`hB`,`hb`,`H`],"ca-ES":[`H`,`h`,`hB`],"en-001":[`h`,`hb`,`H`,`hB`],"en-HK":[`h`,`hb`,`H`,`hB`],"en-IL":[`H`,`h`,`hb`,`hB`],"en-MY":[`h`,`hb`,`H`,`hB`],"es-BR":[`H`,`h`,`hB`,`hb`],"es-ES":[`H`,`h`,`hB`,`hb`],"es-GQ":[`H`,`h`,`hB`,`hb`],"fr-CA":[`H`,`h`,`hB`],"gl-ES":[`H`,`h`,`hB`],"gu-IN":[`hB`,`hb`,`h`,`H`],"hi-IN":[`hB`,`h`,`H`],"it-CH":[`H`,`h`,`hB`],"it-IT":[`H`,`h`,`hB`],"kn-IN":[`hB`,`h`,`H`],"ku-SY":[`H`,`hB`],"ml-IN":[`hB`,`h`,`H`],"mr-IN":[`hB`,`hb`,`h`,`H`],"pa-IN":[`hB`,`hb`,`h`,`H`],"ta-IN":[`hB`,`h`,`hb`,`H`],"te-IN":[`hB`,`h`,`H`],"zu-ZA":[`H`,`hB`,`hb`,`h`]};function yc(e,t){let n=``;for(let r=0;r<e.length;r++){let i=e.charAt(r);if(i===`j`){let a=0;for(;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;let o=1+(a&1),s=a<2?1:3+(a>>1),c=bc(t);for((c==`H`||c==`k`)&&(s=0);s-->0;)n+=`a`;for(;o-->0;)n=c+n}else n+=i===`J`?`H`:i}return n}function bc(e){let t=e.hourCycle;if(t===void 0){let n=e;t=n.getHourCycles?.()[0]??n.hourCycles?.[0]}if(t)switch(t){case`h24`:return`k`;case`h23`:return`H`;case`h12`:return`h`;case`h11`:return`K`;default:throw Error(`Invalid hourCycle`)}let n=e.language,r;return n!==`root`&&(r=e.maximize().region),(vc[`${n}-${r}`]||vc[r||``]||vc[n||``]||vc[`${n}-001`]||vc[`001`])[0].charAt(0)}var xc=RegExp(`^${_c.source}*`),Sc=RegExp(`${_c.source}*$`);function Y(e,t){return{start:e,end:t}}var Cc=!!Object.fromEntries,wc=!!String.prototype.trimStart,Tc=!!String.prototype.trimEnd,Ec=Cc?Object.fromEntries:function(e){let t={};for(let[n,r]of e)t[n]=r;return t},Dc=wc?function(e){return e.trimStart()}:function(e){return e.replace(xc,``)},Oc=Tc?function(e){return e.trimEnd()}:function(e){return e.replace(Sc,``)},kc=RegExp(`([^\\p{White_Space}\\p{Pattern_Syntax}]*)`,`yu`);function Ac(e,t){return kc.lastIndex=t,kc.exec(e)[1]??``}function jc(e){if(e.length===0)return null;let t=1,n=1;for(let r=0;r<e.length;){let i=e.charCodeAt(r);switch(i){case 35:case 39:case 60:case 123:case 125:return null}if(i===10)t++,n=1,r++;else if(n++,i>=55296&&i<=56319&&r+1<e.length){let t=e.charCodeAt(r+1);r+=t>=56320&&t<=57343?2:1}else r++}return{offset:e.length,line:t,column:n}}var Mc=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}parse(){if(this.offset()!==0)throw Error(`parser can only be used once`);if(this.message.length>0){let e=this.message.charCodeAt(0);if(e!==35&&e!==39&&e!==60&&e!==123&&e!==125){let e=jc(this.message);if(e){let t=this.clonePosition();return this.position=e,{val:[{type:0,value:this.message,location:Y(t,this.clonePosition())}],err:null}}}}return this.parseMessage(0,``,!1)}parseMessage(e,t,n){let r=[];for(;!this.isEOF();){let i=this.char();if(i===123){let t=this.parseArgument(e,n);if(t.err)return t;r.push(t.val)}else if(i===125&&e>0)break;else if(i===35&&(t===`plural`||t===`selectordinal`)){let e=this.clonePosition();this.bump(),r.push({type:7,location:Y(e,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(26,Y(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&Nc(this.peek()||0)){let n=this.parseTag(e,t);if(n.err)return n;r.push(n.val)}else{let n=this.parseLiteral(e,t);if(n.err)return n;r.push(n.val)}}return{val:r,err:null}}parseTag(e,t){let n=this.clonePosition();this.bump();let r=this.parseTagName();if(this.bumpSpace(),this.bumpIf(`/>`))return{val:{type:0,value:`<${r}/>`,location:Y(n,this.clonePosition())},err:null};if(this.bumpIf(`>`)){let i=this.parseMessage(e+1,t,!0);if(i.err)return i;let a=i.val,o=this.clonePosition();if(this.bumpIf(`</`)){if(this.isEOF()||!Nc(this.char()))return this.error(23,Y(o,this.clonePosition()));let e=this.clonePosition();return r===this.parseTagName()?(this.bumpSpace(),this.bumpIf(`>`)?{val:{type:8,value:r,children:a,location:Y(n,this.clonePosition())},err:null}:this.error(23,Y(o,this.clonePosition()))):this.error(26,Y(e,this.clonePosition()))}return this.error(27,Y(n,this.clonePosition()))}return this.error(23,Y(n,this.clonePosition()))}parseTagName(){let e=this.offset();for(this.bump();!this.isEOF()&&Fc(this.char());)this.bump();return this.message.slice(e,this.offset())}parseLiteral(e,t){let n=this.clonePosition(),r=``;for(;;){let n=this.tryParseQuote(t);if(n){r+=n;continue}let i=this.tryParseUnquoted(e,t);if(i){r+=i;continue}let a=this.tryParseLeftAngleBracket();if(a)r+=a;else break}let i=Y(n,this.clonePosition());return{val:{type:0,value:r,location:i},err:null}}tryParseLeftAngleBracket(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Pc(this.peek()||0))?(this.bump(),`<`):null}tryParseQuote(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),`'`;case 123:case 60:case 62:case 125:break;case 35:if(e===`plural`||e===`selectordinal`)break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let e=this.char();if(e===39){if(this.peek()===39)t.push(39),this.bump();else{this.bump();break}}else t.push(e);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let n=this.char();return n===60||n===123||n===35&&(t===`plural`||t===`selectordinal`)||n===125&&e>0?null:(this.bump(),String.fromCodePoint(n))}parseArgument(e,t){let n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,Y(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(2,Y(n,this.clonePosition()));let r=this.parseIdentifierIfPossible().value;if(!r)return this.error(3,Y(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,Y(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:r,location:Y(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(1,Y(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(3,Y(n,this.clonePosition()))}}parseIdentifierIfPossible(){let e=this.clonePosition(),t=this.offset(),n=Ac(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:Y(e,this.clonePosition())}}parseArgumentOptions(e,t,n,r){let i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(a){case``:return this.error(4,Y(i,o));case`number`:case`date`:case`time`:{this.bumpSpace();let e=null;if(this.bumpIf(`,`)){this.bumpSpace();let t=this.clonePosition(),n=this.parseSimpleArgStyleIfPossible();if(n.err)return n;let r=Oc(n.val);if(r.length===0)return this.error(6,Y(this.clonePosition(),this.clonePosition()));e={style:r,styleLocation:Y(t,this.clonePosition())}}let t=this.tryParseArgumentClose(r);if(t.err)return t;let i=Y(r,this.clonePosition());if(e&&e.style.startsWith(`::`)){let t=Dc(e.style.slice(2));if(a===`number`){let r=this.parseNumberSkeletonFromString(t,e.styleLocation);return r.err?r:{val:{type:2,value:n,location:i,style:r.val},err:null}}{if(t.length===0)return this.error(10,i);let r=t;this.locale&&(r=yc(t,this.locale));let o={type:1,pattern:r,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?Ks(r):{}};return{val:{type:a===`date`?3:4,value:n,location:i,style:o},err:null}}}return{val:{type:a===`number`?2:a===`date`?3:4,value:n,location:i,style:e?.style??null},err:null}}case`plural`:case`selectordinal`:case`select`:{let i=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(`,`))return this.error(12,Y(i,{...i}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),s=0;if(a!==`select`&&o.value===`offset`){if(!this.bumpIf(`:`))return this.error(13,Y(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(13,14);if(e.err)return e;this.bumpSpace(),o=this.parseIdentifierIfPossible(),s=e.val}let c=this.tryParsePluralOrSelectOptions(e,a,t,o);if(c.err)return c;let l=this.tryParseArgumentClose(r);if(l.err)return l;let u=Y(r,this.clonePosition());return a===`select`?{val:{type:5,value:n,options:Ec(c.val),location:u},err:null}:{val:{type:6,value:n,options:Ec(c.val),offset:s,pluralType:a===`plural`?`cardinal`:`ordinal`,location:u},err:null}}default:return this.error(5,Y(i,o))}}tryParseArgumentClose(e){return this.isEOF()||this.char()!==125?this.error(1,Y(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil(`'`))return this.error(11,Y(e,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(e>0)--e;else return{val:this.message.slice(t.offset,this.offset()),err:null};break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let n=[];try{n=Js(e)}catch{return this.error(7,t)}return{val:{type:0,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?ic(n):{}},err:null}}tryParsePluralOrSelectOptions(e,t,n,r){let i=!1,a=[],o=new Set,{value:s,location:c}=r;for(;;){if(s.length===0){let e=this.clonePosition();if(t!==`select`&&this.bumpIf(`=`)){let t=this.tryParseDecimalInteger(16,19);if(t.err)return t;c=Y(e,this.clonePosition()),s=this.message.slice(e.offset,this.offset())}else break}if(o.has(s))return this.error(t===`select`?21:20,c);s===`other`&&(i=!0),this.bumpSpace();let r=this.clonePosition();if(!this.bumpIf(`{`))return this.error(t===`select`?17:18,Y(this.clonePosition(),this.clonePosition()));let l=this.parseMessage(e+1,t,n);if(l.err)return l;let u=this.tryParseArgumentClose(r);if(u.err)return u;a.push([s,{value:l.val,location:Y(r,this.clonePosition())}]),o.add(s),this.bumpSpace(),{value:s,location:c}=this.parseIdentifierIfPossible()}return a.length===0?this.error(t===`select`?15:16,Y(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(22,Y(this.clonePosition(),this.clonePosition())):{val:a,err:null}}tryParseDecimalInteger(e,t){let n=1,r=this.clonePosition();this.bumpIf(`+`)||this.bumpIf(`-`)&&(n=-1);let i=!1,a=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)i=!0,a=a*10+(e-48),this.bump();else break}let o=Y(r,this.clonePosition());return i?(a*=n,Number.isSafeInteger(a)?{val:a,err:null}:this.error(t,o)):this.error(e,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error(`out of bound`);let t=this.message.codePointAt(e);if(t===void 0)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){if(this.message.startsWith(e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(;!this.isEOF()&&Ic(this.char());)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function Nc(e){return e>=97&&e<=122||e>=65&&e<=90}function Pc(e){return Nc(e)||e===47}function Fc(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Ic(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Lc(e){e.forEach(e=>{if(delete e.location,dc(e)||fc(e))for(let t in e.options)delete e.options[t].location,Lc(e.options[t].value);else cc(e)&&hc(e.style)||(lc(e)||uc(e))&&gc(e.style)?delete e.style.location:mc(e)&&Lc(e.children)})}function Rc(e,t={}){t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t};let n=new Mc(e,t).parse();if(n.err){let e=SyntaxError(ac[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return t?.captureLocation||Lc(n.val),n.val}var zc=class extends Error{constructor(e,t,n){super(e),this.code=t,this.originalMessage=n}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},Bc=class extends zc{constructor(e,t,n,r){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(n).join(`", "`)}"`,`INVALID_VALUE`,r)}},Vc=class extends zc{constructor(e,t,n){super(`Value for "${e}" must be of type ${t}`,`INVALID_VALUE`,n)}},Hc=class extends zc{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,`MISSING_VALUE`,t)}};function Uc(e){return e.length<2?e:e.reduce((e,t)=>{let n=e[e.length-1];return!n||n.type!==0||t.type!==0?e.push(t):n.value+=t.value,e},[])}function Wc(e){return typeof e==`function`}function Gc(e,t,n,r,i,a,o){if(e.length===1&&oc(e[0]))return[{type:0,value:e[0].value}];let s=[];for(let c of e){if(oc(c)){s.push({type:0,value:c.value});continue}if(pc(c)){typeof a==`number`&&s.push({type:0,value:n.getNumberFormat(t).format(a)});continue}let{value:e}=c;if(!(i&&e in i))throw new Hc(e,o);let l=i[e];if(sc(c))(!l||typeof l==`string`||typeof l==`number`||typeof l==`bigint`)&&(l=typeof l==`string`||typeof l==`number`||typeof l==`bigint`?String(l):``),s.push({type:typeof l==`string`?0:1,value:l});else if(lc(c)){let e=typeof c.style==`string`?r.date[c.style]:gc(c.style)?c.style.parsedOptions:void 0;s.push({type:0,value:n.getDateTimeFormat(t,e).format(l)})}else if(uc(c)){let e=typeof c.style==`string`?r.time[c.style]:gc(c.style)?c.style.parsedOptions:r.time.medium;s.push({type:0,value:n.getDateTimeFormat(t,e).format(l)})}else if(cc(c)){let e=typeof c.style==`string`?r.number[c.style]:hc(c.style)?c.style.parsedOptions:void 0;if(e&&e.scale){let t=e.scale||1;if(typeof l==`bigint`){if(!Number.isInteger(t))throw TypeError(`Cannot apply fractional scale ${t} to bigint value. Scale must be an integer when formatting bigint.`);l*=BigInt(t)}else l*=t}s.push({type:0,value:n.getNumberFormat(t,e).format(l)})}else{if(mc(c)){let{children:e,value:l}=c,u=i[l];if(!Wc(u))throw new Vc(l,`function`,o);let d=u(Gc(e,t,n,r,i,a).map(e=>e.value));Array.isArray(d)||(d=[d]),s.push(...d.map(e=>({type:typeof e==`string`?0:1,value:e})))}if(dc(c)){let e=l,a=(Object.prototype.hasOwnProperty.call(c.options,e)?c.options[e]:void 0)||c.options.other;if(!a)throw new Bc(c.value,l,Object.keys(c.options),o);s.push(...Gc(a.value,t,n,r,i))}else if(fc(c)){let e=`=${l}`,a=Object.prototype.hasOwnProperty.call(c.options,e)?c.options[e]:void 0;if(!a){if(!Intl.PluralRules)throw new zc(`Intl.PluralRules is not available in this environment.
|
|
1
|
+
import e,{usePostContext as t}from"@wix/blog/post-context-provider";import{Component as n,Suspense as r,createContext as i,createElement as a,startTransition as o,useCallback as s,useContext as c,useEffect as l,useMemo as u,useRef as d,useState as f}from"react";import{useGetService as p,useService as m}from"@wix/services-manager-react";import{jsx as h,jsxs as g}from"react/jsx-runtime";var _=Object.defineProperty,v=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},y=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),b=(e,t)=>{let n={};for(var r in e)_(n,r,{get:e[r],enumerable:!0});return t||_(n,Symbol.toStringTag,{value:`Module`}),n},x={};function S(e,t=!1,n=e=>e){return()=>({__type:`event-definition`,type:e,isDomainEvent:t,transformations:n})}var C=e=>{switch(e){case`get`:case`GET`:return`GET`;case`post`:case`POST`:return`POST`;case`put`:case`PUT`:return`PUT`;case`delete`:case`DELETE`:return`DELETE`;case`patch`:case`PATCH`:return`PATCH`;case`head`:case`HEAD`:return`HEAD`;case`options`:case`OPTIONS`:return`OPTIONS`;default:throw Error(`Unknown method: ${e}`)}},ee=e=>t=>async n=>{let r,i=t=>{if(r=e(n)(t),r.url===void 0)throw Error(`Url was not successfully created for this request, please reach out to support channels for assistance.`);let{method:i,url:a,params:o}=r;return{...r,method:C(i),url:a,data:r.data,params:o}};try{let e=await t.request(i);if(r===void 0)throw Error(`Request options were not created for this request, please reach out to support channels for assistance.`);let n=Array.isArray(r.transformResponse)?r.transformResponse:[r.transformResponse],a=e.data;return n.forEach(t=>{t&&(a=t(e.data,e.headers))}),a}catch(e){throw typeof e==`object`&&e&&`response`in e&&typeof e.response==`object`&&e.response!==null&&`data`in e.response?e.response.data:e}},w=e=>e.__isAmbassador?!0:!!e().__isAmbassador,T=`__metadata`,te=`edge.wixapis.com`,ne=class extends Error{message;response;constructor(e,t){super(e),this.message=e,this.response=t}async details(){let e=await this.response.json();return re(this.response.status,e?.message,e?.details,{requestId:this.response.headers.get(`X-Wix-Request-Id`),details:e})}},re=(e,t,n,r)=>({details:{...!n?.validationError&&{applicationError:{description:t,code:e,data:r}},...n},message:t,requestId:r?.requestId}),ie=e=>e?.method&&[`post`,`put`,`patch`].includes(e.method.toLocaleLowerCase())&&e.body?{"Content-Type":`application/json`}:{},ae=e=>e&&typeof e==`object`&&!Array.isArray(e),oe=e=>e.__type===`host`;function se(e,t){return e.create(t)}var ce=`x-wix-bi-gateway`;function le(e,t,n){return{[ce]:ue({environment:`js-sdk${n?`-${n}`:``}`,"package-name":e.packageName??t?.PACKAGE_NAME,"method-fqn":e.methodFqn,entity:e.entityFqdn})}}function ue(e){return Object.entries(e).filter(([e,t])=>!!t).map(([e,t])=>`${e}=${t}`).join(`,`)}function de(e){let t=globalThis.__wix_context__,n={client:x.client,elevatedClient:x.elevatedClient},r;globalThis.__wix_context__=void 0,x.client=void 0,x.elevatedClient=void 0,typeof $wixContext<`u`&&(r={client:$wixContext?.client,elevatedClient:$wixContext?.elevatedClient},delete $wixContext.client,delete $wixContext.elevatedClient);try{return e()}finally{globalThis.__wix_context__=t,x.client=n.client,x.elevatedClient=n.elevatedClient,typeof $wixContext<`u`&&($wixContext.client=r.client,$wixContext.elevatedClient=r.elevatedClient)}}var fe={id:`_id`,createdDate:`_createdDate`,updatedDate:`_updatedDate`};function pe(e){return ve(e).map(e=>e.toLocaleUpperCase()).join(`_`)}var me=/([\p{Ll}\d])(\p{Lu})/gu,he=/(\p{Lu})([\p{Lu}][\p{Ll}])/gu,ge=`$1\0$2`,_e=/[^\p{L}\d]+/giu;function ve(e){let t=e.trim();t=t.replace(me,ge).replace(he,ge),t=t.replace(_e,`\0`);let n=0,r=t.length;for(;t.charAt(n)===`\0`;)n++;if(n===r)return[];for(;t.charAt(r-1)===`\0`;)r--;return t.slice(n,r).split(/\0/g)}var ye=e=>`validationError`in(e.response?.data?.details??{}),be=e=>`applicationError`in(e.response?.data?.details??{}),xe=e=>(e.response?.status??-1)>=400&&(e.response?.status??-1)<500;function Se(e,t={explicitPathsToArguments:{},spreadPathsToArguments:{},singleArgumentUnchanged:!1},n=[]){if(typeof e!=`object`||!e)throw e;if(ye(e))return Ce(e,t,n);if(be(e))return Te(e);if(xe(e)){let t=e.response?.status,n=e.response?.statusText??`UNKNOWN`,r=e.response?.data?.message??n,i={applicationError:{description:n,code:pe(n),data:{}},requestId:e.requestId};return we(e,{message:JSON.stringify({message:r,details:i},null,2),extraProperties:{details:i,status:t}})}return Ee(e)}var Ce=(e,t,n)=>{let r=e.response?.data,i=e.requestId,{fieldViolations:a}=r.details.validationError,o=De(t,a,n)?.sort((e,t)=>e.field<t.field?-1:1),s=`INVALID_ARGUMENT: ${o?.map(({field:e,description:t})=>`"${e}" ${t}`)?.join(`, `)}`,c={validationError:{fieldViolations:o},requestId:i};return we(e,{message:JSON.stringify({message:s,details:c},null,2),extraProperties:{details:c,status:e.response?.status,requestId:i}})},we=(e,{message:t,extraProperties:n})=>Object.assign(e,{...n,message:t}),Te=e=>{let t=e.response?.status,n=e.response?.statusText??`UNKNOWN`,r=e.response?.data?.message??n,i=e.response?.data?.details?.applicationError?.description??n,a=e.response?.data?.details?.applicationError?.code??pe(n),o=e.response?.data?.details?.applicationError?.data??{},s=r===i?r:`${r}: ${i}`,c={applicationError:{description:i,code:a,data:o},requestId:e.requestId};return we(e,{message:JSON.stringify({message:s,details:c},null,2),extraProperties:{details:c,status:t,requestId:e.requestId}})},Ee=e=>we(e,{message:e.requestId?`System error occurred, request-id: ${e.requestId}`:`System error occurred: ${JSON.stringify(e)}`,extraProperties:{requestId:e.requestId,status:e.response?.status,code:pe(e.response?.statusText??`UNKNOWN`),...!e.response&&{runtimeError:e}}}),De=({spreadPathsToArguments:e,explicitPathsToArguments:t,singleArgumentUnchanged:n},r,i)=>{let a={...e,...t},o=Object.keys(a);return r?.filter(e=>!r.some(t=>t.field.length>e.field.length&&t.field.startsWith(e.field)&&o.includes(t.field))).map(e=>{let r=t[e.field];if(r)return{...e,field:Oe(r,i)};let s=o?.sort((e,t)=>t.length-e.length)?.find(t=>e.field.startsWith(t));if(s){let t=a[s];if(t)return{...e,field:e.field.replace(s,Oe(t,i))}}return n?{...e,field:`${i[0]}.${e.field}`}:e})},Oe=(e,t)=>{let n=ke(e);return n==null?e:e.replace(`$[${n}]`,t[n])},ke=e=>{let t=e.match(/\$\[(?<argIndex>\d+)\]/);return t&&t.groups&&Number(t.groups.argIndex)};function Ae(e,t,n,r,i,a,o,s,c,l,u){return de(()=>e({request:async e=>{let i=e({host:s?.HTTPHost||`www.wixapis.com`}),a=i;a.method===`GET`&&a.fallback?.length&&(a.params?.toString().length??0)>4e3&&(a=i.fallback[0]);let o=s?.HTTPHost??`www.wixapis.com`,u=`https://${l?te:o}${a.url}`;a.params&&a.params.toString()&&(u+=`?${a.params.toString()}`);try{let e=le(i,t,c),o={method:a.method,...a.data&&{body:JSON.stringify(a.data)},headers:{...e}},s=await n(u,o);if(s.status!==200){let e=null;try{e=await s.json()}catch{}let t=Me(s.status,e?.message??s.statusText,e?.details,{requestId:s.headers.get(`X-Wix-Request-Id`),details:e}),n=Se(t);throw r?.handleError(n,{requestOptions:{url:a.url,method:a.method,entityFqdn:i.entityFqdn,methodFqn:i.methodFqn}}),t}let l=await s.json();return{data:a.migrationOptions?.optInTransformResponse&&a.transformResponse?Array.isArray(a.transformResponse)?a.transformResponse[0](l):a.transformResponse(l):l,headers:s.headers,status:s.status,statusText:s.statusText}}catch(e){throw e.message?.includes(`fetch is not defined`)&&console.error(`Node.js v18+ is required`),e}},fetchWithAuth:n,wixAPIFetch:i,getActiveToken:a,getAuthHeaders:o},{validateRequestSchema:u}))}var je=class extends Error{response;requestId;constructor(e){super(),this.response=e.response,this.requestId=e.requestId}},Me=(e,t,n,r)=>new je({response:{data:{details:{...!n?.validationError&&{applicationError:{description:t,code:e,data:r}},...n},message:t},status:e},requestId:r?.requestId}),Ne=`.`;function Pe(e,t,n){if(e==null)throw Error(`Cannot set value on null or undefined`);let r=Fe(t),i=e;for(let e=0;e<r.length;e++){let t=r[e];if(e===r.length-1){i[t]=n;break}let a=r[e+1];(!(t in i)||i[t]==null||typeof i[t]!=`object`||i[t]===null)&&(i[t]=typeof a==`number`?[]:{}),i=i[t]}return e}function Fe(e){return Array.isArray(e)?e:e.split(Ne).map(e=>Ie(e)?Number(e):e)}function Ie(e){return/^\d+$/.test(e)}function Le(e){let t={};for(let[n,r]of Object.entries(e))Re(n)||Pe(t,Fe(n),r);return t}function Re(e){return e===`__proto__`||e===`constructor`||e===`prototype`}var ze=class{BRACKET_PATTERN=/\[(\d+)\]/g;NUMERIC_PATTERN=/^\d+$/;ESCAPED_DOT_PATTERN=/\\\./g;ESCAPED_LEFT_BRACKET_PATTERN=/\\\[/g;ESCAPED_RIGHT_BRACKET_PATTERN=/\\\]/g;SPLIT_PATTERN=/\.|\[(\d+)\]/g;DOT_BEFORE_BRACKET_PATTERN=/\.\[/g;ESCAPED_DOT_PLACEHOLDER=`__DOT__`;ESCAPED_RIGHT_BRACKET_PLACEHOLDER=`__RB__`;ESCAPED_LEFT_BRACKET_PLACEHOLDER=`__LB__`;modifiedFields;cleanedModifiedFields;constructor(e){this.modifiedFields=e}replaceEscapedCharacters(e){return e.replace(this.ESCAPED_DOT_PATTERN,this.ESCAPED_DOT_PLACEHOLDER).replace(this.ESCAPED_LEFT_BRACKET_PATTERN,this.ESCAPED_LEFT_BRACKET_PLACEHOLDER).replace(this.ESCAPED_RIGHT_BRACKET_PATTERN,this.ESCAPED_RIGHT_BRACKET_PLACEHOLDER)}restoreEscapedCharacters(e){return e.replace(this.ESCAPED_DOT_PLACEHOLDER,`\\.`).replace(this.ESCAPED_RIGHT_BRACKET_PLACEHOLDER,`\\]`).replace(this.ESCAPED_LEFT_BRACKET_PLACEHOLDER,`\\[`)}unflatten(){return this.cleanedModifiedFields=Object.fromEntries(Object.entries(this.modifiedFields).map(([e,t])=>[this.replaceEscapedCharacters(this.bracketToDotNotation(e)),t])),Le(this.cleanedModifiedFields)}flatten(e){let t={};for(let n of Object.keys(this.cleanedModifiedFields)){let r=this.splitPath(n),i=this.navigatePath(e,r);t={...t,...i}}return Object.fromEntries(Object.entries(t).map(([e,t])=>[this.restoreEscapedCharacters(e),t]))}splitPath(e){let t=[],n=0,r=Array.from(e.matchAll(this.SPLIT_PATTERN));for(let i of r)i.index>n&&t.push(e.substring(n,i.index)),i[1]&&t.push(i[1]),n=i.index+i[0].length;return n<e.length&&t.push(e.substring(n)),t}navigatePath(e,t){let n=e,r=[],i=e=>{if(!Array.isArray(n))throw Error(`Expected array at path ${this.buildPathString(r)}, but got ${typeof n}`);r.push(`[${e}]`),n=n[parseInt(e,10)]},a=(e,t)=>{let i=e in fe?fe[e]:void 0;if(i&&i in t){r.push(i),n=t[i];return}let a=Ue(e);if(a&&a in t)r.push(a),n=t[a];else throw Error(`Cannot find key '${e}' or its transformations at path ${this.buildPathString(r)}`)},o=(e,t)=>{r.push(e),n=t[e]};for(let e of t){if(this.NUMERIC_PATTERN.test(e)){i(e);continue}if(typeof n!=`object`||!n)throw Error(`Cannot access property '${e}' on ${typeof n} at path ${this.buildPathString(r)}`);let t=n;e in n?o(e,t):a(e,t)}return{[this.buildPathString(r)]:n}}buildPathString(e){return e.join(`.`).replace(this.DOT_BEFORE_BRACKET_PATTERN,`[`)}bracketToDotNotation(e){return e.replace(this.BRACKET_PATTERN,(t,n,r)=>r>0&&e[r-1]===`\\`?t:`.`+n)}};function Be(e,t){let n=e?.modifiedFields;if(!n)return null;let r=Ve(n);if(!r)return null;let{unflattenedModifiedFields:i,modifiedFieldsManipulator:a}=r;e={...e,modifiedFields:i};let o=t(e),s=o?.modifiedFields;if(!s)return null;let c=He(s,a);return c===null?null:(o.modifiedFields=c,o)}function Ve(e){if(typeof e==`object`&&e&&!Array.isArray(e))try{let t=new ze(e);return{unflattenedModifiedFields:t.unflatten(),modifiedFieldsManipulator:t}}catch{return null}return null}function He(e,t){if(typeof e==`object`&&e&&!Array.isArray(e))try{return t.flatten(e)}catch{return null}return null}function Ue(e){return e.replace(/[-_\s]+(.)?/g,(e,t)=>t?t.toUpperCase():``).replace(/^./,e=>e.toLowerCase())}function We(){return{emit(e,...t){for(let n=0,r=this.events[e]||[],i=r.length;n<i;n++)r[n](...t)},events:{},on(e,t){return(this.events[e]||=[]).push(t),()=>{this.events[e]=this.events[e]?.filter(e=>t!==e)}}}}var Ge=e=>e.__type===`event-definition`;function Ke(e,t,n,r){let i;if(e.isDomainEvent){let{deletedEvent:e,actionEvent:t,createdEvent:a,updatedEvent:o,...s}=n,c={...r,...s};i=e?e?.deletedEntity?{entity:e?.deletedEntity,metadata:c}:{metadata:c}:t?{data:t.body,metadata:c}:o?{entity:o.currentEntity,metadata:c,...o.modifiedFields?{modifiedFields:o.modifiedFields}:{}}:{entity:a?.entity,metadata:c}}else i={data:n,metadata:r};let a=e.transformations??(e=>e),o=i,s=i;if(s.modifiedFields){let e=s.modifiedFields;if(typeof e==`object`&&e&&!Array.isArray(e)){o=structuredClone(i);let e=Be(s,a);if(e)return t(e)}}return t(a(o))}function qe(e){let t=new Map,n=We();return{initModule(e){return r=>{let i=t.get(e.type)??[];i.push({eventDefinition:e,handler:r}),t.set(e.type,i),n.emit(`registered`,e)}},client:{...n,getRegisteredEvents:()=>t,async process(e,n={expectedEvents:[]}){let{eventType:r,identity:i,instanceId:a,payload:o,accountInfo:s}=await this.parseJWT(e),c=[...n.expectedEvents,...Array.from(t.keys()).map(e=>({type:e}))];if(c.length>0&&!c.some(({type:e})=>e===r))throw Error(`Unexpected event type: ${r}. Expected one of: ${c.map(e=>e.type).join(`, `)}`);let l=t.get(r)??[];return await Promise.all(l.map(({eventDefinition:e,handler:t})=>Ke(e,t,o,{instanceId:a,identity:i,accountInfo:s}))),{instanceId:a,eventType:r,payload:o,identity:i,accountInfo:s}},async processRequest(e,t){let n=await e.text();return this.process(n,t)},async parseJWT(t){let n=e();if(!n.decodeJWT)throw Error(`decodeJWT is not supported by the authentication strategy`);let{decoded:r,valid:i}=await n.decodeJWT(t);if(!i)throw Error(`JWT is not valid`);if(typeof r.data!=`string`)throw Error(`Unexpected type of JWT data: expected string, got ${typeof r.data}`);let a=JSON.parse(r.data),o=a.eventType,s=a.accountInfo,c=a.instanceId,l=a.identity?JSON.parse(a.identity):void 0;return{instanceId:c,eventType:o,payload:JSON.parse(a.data),identity:l,accountInfo:s}},async parseRequest(e){let t=await e.text();return this.parseJWT(t)},async executeHandlers(e){let n=Array.from(t.keys()).map(e=>({type:e}));if(n.length>0&&!n.some(({type:t})=>t===e.eventType))throw Error(`Unexpected event type: ${e.eventType}. Expected one of: ${n.map(e=>e.type).join(`, `)}`);let r=t.get(e.eventType)??[];await Promise.all(r.map(({eventDefinition:t,handler:n})=>Ke(t,n,e.payload,{instanceId:e.instanceId,identity:e.identity})))},apps:{AppInstalled:S(`AppInstalled`)(),AppRemoved:S(`AppRemoved`)()}}}}var Je=e=>e.__type===`service-plugin-definition`;function Ye(e){let t=new Map,n=We();return{initModule(e){return r=>{let i=t.get(e.componentType.toLowerCase())??[];i.push({servicePluginDefinition:e,implementation:r}),t.set(e.componentType.toLowerCase(),i),n.emit(`registered`,e)}},client:{...n,getRegisteredServicePlugins:()=>t,async parseJWT(t){let n=e();if(!n.decodeJWT)throw Error(`decodeJWT is not supported by the authentication strategy`);let{decoded:r,valid:i}=await n.decodeJWT(t,!0);if(!i)throw Error(`JWT is not valid`);if(typeof r.data!=`object`||r.data===null||!(`metadata`in r.data)||typeof r.data.metadata!=`object`||r.data.metadata===null||!(`appExtensionType`in r.data.metadata)||typeof r.data.metadata.appExtensionType!=`string`)throw Error(`Unexpected JWT data: expected object with metadata.appExtensionType string`);return r.data},async process(e){let t=await this.parseJWT(e.body);return this.executeHandler(t,e.url)},async parseRequest(e){let t=await e.text();return this.parseJWT(t)},async processRequest(e){let t=await this.parseRequest(e);return this.processParsedRequest(t,e.url)},async processParsedRequest(e,t){try{let n=await this.executeHandler(e,t);return Response.json(n)}catch(e){if(e.errorType===`SPI`&&e.applicationCode&&e.httpCode)return Response.json({applicationError:{code:e.applicationCode,data:e.data}},{status:e.httpCode});throw e}},async executeHandler(e,n){let r=e.metadata.appExtensionType.toLowerCase(),i=t.get(r)??[];if(i.length===0)throw Error(`No service plugin implementations found for component type ${r}`);if(i.length>1)throw Error(`Multiple service plugin implementations found for component type ${r}. This is currently not supported`);let{implementation:a,servicePluginDefinition:o}=i[0],s=o.methods.find(e=>n.endsWith(e.primaryHttpMappingPath));if(!s)throw Error(`Unexpect request: request url did not match any method: `+n);let c=a[s.name];if(!c)throw Error(`Got request for service plugin method ${s.name} but no implementation was provided. Available methods: ${Object.keys(a).join(`, `)}`);return s.transformations.toREST(await c(s.transformations.fromREST(e)))}}}}var E=`X-Wix-Consistent`;function Xe(e){let t=e.headers||{Authorization:``},n={getAuthHeaders:e=>Promise.resolve({headers:{}})},r=e.auth,i=typeof r==`function`?r:()=>r??n,a=()=>i().getAuthHeaders(e.host),o=()=>e.fetch??fetch,s=async(n,r)=>{let i=o(),s=await a(),c={...r?.headers??{},...s.headers,...e.host?.essentials?.passThroughHeaders,...t[`X-Wix-Consistent`]?{[E]:t[E]}:{}},l=e.host?.getErrorHandler?.();try{if(typeof n==`string`||n instanceof URL){let e=await i(n,{...r,headers:c});l?.handleError(e,{requestOptions:{url:n.toString(),method:r?.method}});let a=Ze(e);return a&&(t[E]=a),e}{for(let[e,t]of Object.entries(c))typeof t==`string`&&n.headers.set(e,t);let e=await i(n,r);l?.handleError(e,{requestOptions:{url:n.url,method:r?.method}});let a=Ze(e);return a&&(t[E]=a),e}}catch(e){throw l?.handleError(e,{requestOptions:{url:typeof n==`string`||n instanceof URL?n.toString():n.url,method:r?.method}}),e}},{client:c,initModule:l}=Ye(i),{client:u,initModule:d}=qe(i),f=async(n,r)=>{let i=o(),s=await a(),c=ie(r),l=await i(n,{...r,headers:{...c,...t,...s?.headers,...r?.headers,...e.host?.essentials?.passThroughHeaders,...t[`X-Wix-Consistent`]?{[E]:t[E]}:{}}}),u=Ze(l);return u&&(t[E]=u),l},p=(t,n)=>{if(Ge(t))return d(t);if(Je(t))return l(t);if(oe(t)&&e.host)return se(t,e.host);if(typeof t==`function`){if(`__type`in t&&t.__type===`wix_spi_error`)return t;let r=e.host?.apiBaseUrl??`www.wixapis.com`,o=e.useCDN===void 0?i().shouldUseCDN:e.useCDN;return Ae(de(()=>w(t))?ee(t):t,n??{},f,e.host?.getErrorHandler?.(),(e,t)=>{let n=new URL(e,`https://${r}`);return n.host=r,n.protocol=`https`,f(n.toString(),t)},i().getActiveToken,async()=>a(),{HTTPHost:r},e.host?.name,o,e.validateRequestSchema)}return ae(t)?Object.fromEntries(Object.entries(t).map(([e,n])=>[e,p(n,t[T])])):t},m=e=>{for(let n in e)t[n]=e[n]};return{...e.modules?p(e.modules):{},get auth(){let t=i();return t.getAuthHeaders=t.getAuthHeaders.bind(void 0,e.host),t},setHeaders:m,use:p,enableContext(e,t={elevated:!1}){e===`global`?globalThis.__wix_context__==null?t.elevated?globalThis.__wix_context__={elevatedClient:this}:globalThis.__wix_context__={client:this}:t.elevated?globalThis.__wix_context__.elevatedClient=this:globalThis.__wix_context__.client=this:t.elevated?x.elevatedClient=this:x.client=this},fetch:(t,n)=>{let r=e.host?.apiBaseUrl??`www.wixapis.com`,i=new URL(t,`https://${r}`);return i.host=r,i.protocol=`https`,f(i.toString(),n)},fetchWithAuth:s,async graphql(t,n,r={apiVersion:`alpha`}){let i=e?.host?.apiBaseUrl??`www.wixapis.com`,a=await f(`https://${i}/graphql/${r.apiVersion}`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({query:t,variables:n})});if(a.status!==200)throw new ne(`GraphQL request failed with status ${a.status}`,a);let{data:o,errors:s}=await a.json();return{data:o??{},errors:s}},webhooks:u,servicePlugins:c}}function Ze(e){return e.headers?.get(`X-Wix-Consistent`)??e.headers?.get(`x-wix-consistent`)}var Qe={_id:`id`,_createdDate:`createdDate`,_updatedDate:`updatedDate`},$e={id:`_id`,createdDate:`_createdDate`,updatedDate:`_updatedDate`},et=`items`,tt=`pagingMetadata`,nt=Qe;function rt(e,t){return e?.split(`.`).map(e=>t?.[e]??e).join(`.`)}var it=`sort.fieldName`;function at(e,t,n){return(e===it||e.endsWith(`.${it}`))&&typeof t==`string`?rt(t,n):t}function ot(e,t,n){let r=e=>n.includes(e),i=(e,n)=>{if(Array.isArray(e))e.forEach(e=>{i(e,n)});else if(typeof e==`object`&&e){let a=e;Object.keys(a).forEach(e=>{let o=n===``?e:`${n}.${e}`;if(r(o))return;let s=st(e,t);s!==e&&!(s in a)&&(a[s]=a[e],delete a[e]),a[s]=at(o,a[s],t),i(a[s],o)})}};return i(e,``),e}function st(e,t){let n;return n=e.includes(`.`)?e.split(`.`).map(e=>t[e]??e).join(`.`):t[e]??e,n}function D(e,t=[]){return ot(e,Qe,t)}function O(e,t=[]){return ot(e,$e,t)}function ct(e){return e?.toISOString()}function k(e){return e?new Date(e):void 0}var lt=new WeakMap;function ut(){return{leaves:void 0,fields:void 0,mapFields:void 0,anyField:void 0}}function dt(e,t){let n=e.get(t);return n||(n=ut(),e.set(t,n)),n}function ft(e,t){return t===`*`?(e.anyField??=ut(),e.anyField):t.endsWith(`{}`)?(e.mapFields??=new Map,dt(e.mapFields,t.slice(0,-2))):(e.fields??=new Map,dt(e.fields,t))}function pt(e){let t=ut();for(let n of e){let e=n.path.split(`.`).reduce(ft,t);e.leaves??=[],e.leaves.push(n)}return t}function mt(e){let t=lt.get(e);return t||(t=pt(e),lt.set(e,t)),t}function ht(e){return typeof e==`object`&&!!e}function gt(e,{isRepeated:t,isMap:n},r){return t?Array.isArray(e)?e.map(r):e:n?ht(e)?Object.fromEntries(Object.entries(e).map(([e,t])=>[e,r(t)])):e:r(e)}function _t(e,t,n){ht(e)&&bt(e,t,n)}function vt(e,t,n){for(let[r,i]of t){if(!(r in e))continue;if(i.leaves)for(let t of i.leaves)e[r]=gt(e[r],t,n);let t=e[r];Array.isArray(t)?t.forEach(e=>_t(e,i,n)):_t(t,i,n)}}function yt(e,t,n){for(let[r,i]of t){let t=e[r];ht(t)&&Object.values(t).forEach(e=>_t(e,i,n))}}function bt(e,{fields:t,mapFields:n,anyField:r},i){t&&vt(e,t,i),n&&yt(e,n,i),r&&Object.values(e).forEach(e=>_t(e,r,i))}function A(e,t){if(!ht(e))return e;for(let{paths:n,transformFn:r}of t)bt(e,mt(n),r);return e}function xt(e){return Et(e).map(e=>e.toLocaleUpperCase()).join(`_`)}var St=/([\p{Ll}\d])(\p{Lu})/gu,Ct=/(\p{Lu})([\p{Lu}][\p{Ll}])/gu,wt=`$1\0$2`,Tt=/[^\p{L}\d]+/giu;function Et(e){let t=e.trim();t=t.replace(St,wt).replace(Ct,wt),t=t.replace(Tt,`\0`);let n=0,r=t.length;for(;t.charAt(n)===`\0`;)n++;if(n===r)return[];for(;t.charAt(r-1)===`\0`;)r--;return t.slice(n,r).split(/\0/g)}var Dt=e=>`validationError`in(e.response?.data?.details??{}),Ot=e=>`applicationError`in(e.response?.data?.details??{}),kt=e=>(e.response?.status??-1)>=400&&(e.response?.status??-1)<500;function j(e,t={explicitPathsToArguments:{},spreadPathsToArguments:{},singleArgumentUnchanged:!1},n=[]){if(typeof e!=`object`||!e)throw e;if(Dt(e))return At(e,t,n);if(Ot(e))return Mt(e);if(kt(e)){let t=e.response?.status,n=e.response?.statusText??`UNKNOWN`,r=e.response?.data?.message??n,i={applicationError:{description:n,code:xt(n),data:{}},requestId:e.requestId};return jt(e,{message:JSON.stringify({message:r,details:i},null,2),extraProperties:{details:i,status:t}})}return Nt(e)}var At=(e,t,n)=>{let r=e.response?.data,i=e.requestId,{fieldViolations:a}=r.details.validationError,o=Pt(t,a,n)?.sort((e,t)=>e.field<t.field?-1:1),s=`INVALID_ARGUMENT: ${o?.map(({field:e,description:t})=>`"${e}" ${t}`)?.join(`, `)}`,c={validationError:{fieldViolations:o},requestId:i};return jt(e,{message:JSON.stringify({message:s,details:c},null,2),extraProperties:{details:c,status:e.response?.status,requestId:i}})},jt=(e,{message:t,extraProperties:n})=>Object.assign(e,{...n,message:t}),Mt=e=>{let t=e.response?.status,n=e.response?.statusText??`UNKNOWN`,r=e.response?.data?.message??n,i=e.response?.data?.details?.applicationError?.description??n,a=e.response?.data?.details?.applicationError?.code??xt(n),o=e.response?.data?.details?.applicationError?.data??{},s=r===i?r:`${r}: ${i}`,c={applicationError:{description:i,code:a,data:o},requestId:e.requestId};return jt(e,{message:JSON.stringify({message:s,details:c},null,2),extraProperties:{details:c,status:t,requestId:e.requestId}})},Nt=e=>jt(e,{message:e.requestId?`System error occurred, request-id: ${e.requestId}`:`System error occurred: ${JSON.stringify(e)}`,extraProperties:{requestId:e.requestId,status:e.response?.status,code:xt(e.response?.statusText??`UNKNOWN`),...!e.response&&{runtimeError:e}}}),Pt=({spreadPathsToArguments:e,explicitPathsToArguments:t,singleArgumentUnchanged:n},r,i)=>{let a={...e,...t},o=Object.keys(a);return r?.filter(e=>!r.some(t=>t.field.length>e.field.length&&t.field.startsWith(e.field)&&o.includes(t.field))).map(e=>{let r=t[e.field];if(r)return{...e,field:Ft(r,i)};let s=o?.sort((e,t)=>t.length-e.length)?.find(t=>e.field.startsWith(t));if(s){let t=a[s];if(t)return{...e,field:e.field.replace(s,Ft(t,i))}}return n?{...e,field:`${i[0]}.${e.field}`}:e})},Ft=(e,t)=>{let n=It(e);return n==null?e:e.replace(`$[${n}]`,t[n])},It=e=>{let t=e.match(/\$\[(?<argIndex>\d+)\]/);return t&&t.groups&&Number(t.groups.argIndex)};function Lt(){let e=typeof $wixContext<`u`&&$wixContext.initWixModules?$wixContext.initWixModules:globalThis.__wix_context__!==void 0&&globalThis.__wix_context__.initWixModules?globalThis.__wix_context__.initWixModules:void 0;if(e)return{initWixModules(t,n){return Rt(()=>e(t,n))},fetchWithAuth(){throw Error(`fetchWithAuth is not available in this context`)},graphql(){throw Error(`graphql is not available in this context`)}};let t=typeof $wixContext<`u`?$wixContext.client:x.client===void 0?globalThis.__wix_context__===void 0?void 0:globalThis.__wix_context__.client:x.client,n=typeof $wixContext<`u`?$wixContext.elevatedClient:x.elevatedClient===void 0?globalThis.__wix_context__===void 0?void 0:globalThis.__wix_context__.elevatedClient:x.elevatedClient;if(t||n)return{initWixModules(e,r){if(r){if(!n)throw Error(`An elevated client is required to use elevated modules. Make sure to initialize the Wix context with an elevated client before using elevated SDK modules`);return Rt(()=>n.use(e))}if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return Rt(()=>t.use(e))},fetchWithAuth:(e,n)=>{if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return t.fetchWithAuth(e,n)},getAuth(){if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return t.auth},async graphql(e,n,r){if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return t.graphql(e,n,r)}}}function Rt(e){let t=globalThis.__wix_context__,n={client:x.client,elevatedClient:x.elevatedClient},r;globalThis.__wix_context__=void 0,x.client=void 0,x.elevatedClient=void 0,typeof $wixContext<`u`&&(r={client:$wixContext?.client,elevatedClient:$wixContext?.elevatedClient},delete $wixContext.client,delete $wixContext.elevatedClient);try{return e()}finally{globalThis.__wix_context__=t,x.client=n.client,x.elevatedClient=n.elevatedClient,typeof $wixContext<`u`&&($wixContext.client=r.client,$wixContext.elevatedClient=r.elevatedClient)}}function zt(e,t){return((...n)=>{let r=Lt();return r?r.initWixModules(e,t).apply(void 0,n):e.apply(void 0,n)})}function M(e,t=!1){return zt(e,t)}function N(e,t){let n=Bt(e),r=Object.entries(n).some(([e,t])=>e.includes(`.`)||Array.isArray(t)&&t.some(e=>typeof e==`object`));return t&&r?new URLSearchParams({".r":Ht(JSON.stringify(e))}):Object.entries(n).reduce((e,[t,n])=>((Array.isArray(n)?n:[n]).forEach(r=>{r==null||Array.isArray(n)&&typeof r==`object`||e.append(t,r)}),e),new URLSearchParams)}function P(e){let t=tn($t(e.host),e.domainToMappings);return dn(cn(e.protoPath,e.data||{}),t)}function Bt(e,t=``){let n={};return Object.entries(e).forEach(([e,r])=>{let i=typeof r==`object`&&!!r&&!Array.isArray(r),a=Vt(t,e);if(i){let e=Bt(r,a);Object.assign(n,e)}else n[a]=r}),n}function Vt(e,t){return`${e}${e?`.`:``}${t}`}var Ht=e=>{let t=new TextEncoder().encode(e);return(typeof btoa<`u`?btoa(String.fromCodePoint(...t)):Buffer.from(e,`utf-8`).toString(`base64`)).replace(/=/g,``).replace(/\+/g,`-`).replace(/\//g,`_`)},Ut=[`wix.com`,`editorx.com`],Wt=`_`,Gt=`*.`,Kt=RegExp(`\\.(${Ut.join(`|`)})$`),qt=[`42.wixprod.net`,`uw2-edt-1.wixprod.net`,`virginia-edt.wixprod.net`],Jt={"payments.base44.com":`manage.wix.com`,"create.editorx.com":`editor.editorx.com`},Yt=`dev.wix-code.com`,Xt=/{(.*)}/,Zt=RegExp(`\\.(${qt.join(`|`)})$`),Qt=RegExp(`.*\\.${Yt}$`);function $t(e){return en(e).replace(Kt,`._base_domain_`).replace(Zt,`._api_base_domain_`).replace(Qt,`*.dev.wix-code.com`)}function en(e){return Jt[e]??e}function tn(e,t){let n=t[e];if(n)return n;let r=nn(e,t)??rn(e,t);if(!r){if(on(e)){let e=t[sn];if(e)return e}let n=t[Wt];if(n)return n}return r??[]}function nn(e,t){return Object.entries(t).find(([t])=>{let[,...n]=e.split(`.`);return n.join(`.`)===t})?.[1]}function rn(e,t){let[n]=Object.entries(t).filter(([t])=>an(e,t)).sort(([e],[t])=>t.length-e.length);if(!n)return;let[,r]=n;return r}function an(e,t){if(!t.startsWith(Gt))return!1;let n=t.slice(1);return e.length>n.length&&e.endsWith(n)}function on(e){return!!e.match(/\._base_domain_$/)}var sn=`www._base_domain_`;function cn(e,t){return e.split(`/`).map(e=>ln(e,t)).join(`/`)}function ln(e,t){let n=e.match(Xt)||[],r=n[1];return r?un(t,r,e,e.replace(n[0],``)):e}function un(e,t,n,r){let i=e;for(let e of t.split(`.`)){if(!i)return n;i=i[e]}return`${i}${r}`}function dn(e,t){let n=t?.find(t=>e.startsWith(t.destPath));return n?n.srcPath+e.slice(n.destPath.length):e}function fn(e){return isFinite(e)?e:e.toString()}function F(e){return e===`NaN`?NaN:e===`Infinity`?1/0:e===`-Infinity`?-1/0:e}function pn(e){return Uint8Array.from(atob(e),e=>e.charCodeAt(0))}var mn=`modulepreload`,hn=function(e,t){return new URL(e,t).href},gn={},_n=function(e){return e.pathname.endsWith(`.css`)},vn=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},I=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=hn(t,n);let r=s(t),i=_n(r);return vn(gn,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:mn,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{t.addEventListener(`load`,e),t.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${r}`)))})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},yn=`x-wix-currency`,bn=()=>{let e=Dn(`currency`);if(e)return{[yn]:e}},xn=`x-wix-linguist`,Sn=`00000000-0000-0000-0000-000000000000`,Cn=`false`,wn=()=>{let e=Dn(`language`),t=Dn(`locale`);if(e)return{[xn]:[e,t||e,Cn,Sn].join(`|`)}};function Tn(){let e=null,t=null;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var En=()=>(typeof window<`u`?window.commonConfig:void 0)??globalThis.commonConfig,Dn=e=>En()?.[e],On=({createHost:e})=>({__type:`host`,create:e=>({}),host:t=>{let{applicationId:n,componentId:r}=t??{},i=typeof window<`u`?window.wixEmbedsAPI:void 0,a=e(t),o=An();return{...a,apiBaseUrl:o,getMonitoringClient:i?.getMonitoringClientFunction?.(n,r),essentials:{language:Dn(`language`),locale:Dn(`locale`),get passThroughHeaders(){let e={...wn(),...bn()};return Object.keys(e).length>0?e:void 0}}}},auth:e=>{let t=typeof window<`u`?window.wixEmbedsAPI:void 0;!e&&kn()&&(e=t?.getAccessTokenFunction?.());let n=!1,{resolve:r,promise:i}=Tn();return{getAuthHeaders:async()=>{if(!e&&n&&(e=await i),!e)throw Error(`Failed to resolve auth token`);return{headers:{Authorization:await e()}}},getAccessTokenInjector:()=>(n=!0,e=>{r(e)})}}});function kn(){return typeof document<`u`&&document.currentScript?.tagName===`SCRIPT`}function An(){let e=(typeof window<`u`?window.wixEmbedsAPI:void 0)?.getExternalBaseUrl?.();if(!e)return;let t=new URL(e);return t?.pathname&&t.pathname!==`/`?`${t.hostname}${t.pathname}`:t.hostname}var jn=({clientSdk:e,applicationId:t})=>({invoke:async({namespace:n,method:r,args:i})=>{if(!e)throw Error(`Wix Site SDK only works in a Wix site environment. Learn more: https://dev.wix.com/docs/sdk/host-modules/site/introduction`);return e.invoke({namespace:n,method:r,args:i,applicationId:t,accessToken:`accessToken`})},getAccessToken:()=>{throw Error(`Not implemented`)},observeState:()=>({disconnect:()=>{}})}),Mn=On({createHost:function(e){let t=(typeof $wixContext<`u`?$wixContext.clientSdk:void 0)??e?.clientSdk??(typeof window<`u`?window?.clientSdk:void 0),{applicationId:n}=e||{};if(!n)throw Error(`"createHost" was called without a required field "applicationId"`);return{channel:jn({clientSdk:t,applicationId:n}),close:()=>{}}}}),Nn=(e,t)=>{let n=Mn.host({applicationId:e,componentId:t}),r=Mn.auth();return Xe({auth:r,host:n}).enableContext(`module`),r.getAccessTokenInjector()},Pn=e=>Nn(`14bcded7-0066-7c35-14d7-466cb3f09103`,e);function Fn(){let e=typeof $wixContext<`u`&&$wixContext.initWixModules?$wixContext.initWixModules:globalThis.__wix_context__!==void 0&&globalThis.__wix_context__.initWixModules?globalThis.__wix_context__.initWixModules:void 0;if(e)return{initWixModules(t,n){return In(()=>e(t,n))},fetchWithAuth(){throw Error(`fetchWithAuth is not available in this context`)},graphql(){throw Error(`graphql is not available in this context`)}};let t=typeof $wixContext<`u`?$wixContext.client:x.client===void 0?globalThis.__wix_context__===void 0?void 0:globalThis.__wix_context__.client:x.client,n=typeof $wixContext<`u`?$wixContext.elevatedClient:x.elevatedClient===void 0?globalThis.__wix_context__===void 0?void 0:globalThis.__wix_context__.elevatedClient:x.elevatedClient;if(t||n)return{initWixModules(e,r){if(r){if(!n)throw Error(`An elevated client is required to use elevated modules. Make sure to initialize the Wix context with an elevated client before using elevated SDK modules`);return In(()=>n.use(e))}if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return In(()=>t.use(e))},fetchWithAuth:(e,n)=>{if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return t.fetchWithAuth(e,n)},getAuth(){if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return t.auth},async graphql(e,n,r){if(!t)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return t.graphql(e,n,r)}}}function In(e){let t=globalThis.__wix_context__,n={client:x.client,elevatedClient:x.elevatedClient},r;globalThis.__wix_context__=void 0,x.client=void 0,x.elevatedClient=void 0,typeof $wixContext<`u`&&(r={client:$wixContext?.client,elevatedClient:$wixContext?.elevatedClient},delete $wixContext.client,delete $wixContext.elevatedClient);try{return e()}finally{globalThis.__wix_context__=t,x.client=n.client,x.elevatedClient=n.elevatedClient,typeof $wixContext<`u`&&($wixContext.client=r.client,$wixContext.elevatedClient=r.elevatedClient)}}function Ln(e,t){return{...e,...Object.fromEntries(t.map(t=>[t,(...n)=>{let r=Fn();if(!r)throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);return r.initWixModules(e)[t].apply(void 0,n)}]))}}function Rn(e){return Ln({__type:`host`,create:t=>Object.entries(e).reduce((e,[n,r])=>({...e,[n]:r(t)}),{})},Object.keys(e))}var zn=class{constructor(e){this.message=e,this.captureException=()=>{console.error(this.message)},this.captureMessage=()=>{console.error(this.message)},this.startSpan=(e,t)=>(console.error(this.message),t(void 0)),this.startSpanManual=()=>(console.error(this.message),{end:()=>{},fail:()=>{}}),this.endSpanManual=()=>{console.error(this.message)},this.addBreadcrumb=()=>{console.error(this.message)}}},Bn=e=>new zn(e),Vn=Rn({getMonitoringClient:e=>()=>e.getMonitoringClient?e.getMonitoringClient():Bn(`Host monitoring client is not available on the current host. Make sure to use an updated version of the host initialization package.`)});function Hn(e){let t=Promise.resolve(e);return t.status=`fulfilled`,t.value=e,t}function Un(e){if(e.status===`fulfilled`)return e.value;throw e.status===`rejected`?e.reason:(e.status===`pending`||(e.status=`pending`,e.then(t=>{e.status=`fulfilled`,e.value=t},t=>{e.status=`rejected`,e.reason=t})),e)}var Wn=new WeakMap;function Gn(e,t,n){let r=Wn.get(e);r||(r=new WeakMap,Wn.set(e,r));let i=r.get(t);i||(i=new WeakMap,r.set(t,i));let a=i.get(n);if(!a){if(e.status===`fulfilled`)a=Hn(t(e.value));else if(e.status===`rejected`)try{a=Hn(n(e.reason))}catch{a=e.then(t,n)}else a=e.then(t,n);i.set(n,a)}return a}function L(e){return e}var Kn=L(`@wix/site-service-rendering-context`),qn=L(`@wix/site-service-editor-context`),Jn=()=>{try{return!!m(qn).previewMode}catch{return!1}},Yn=i({isEditor:!1,isPreview:!1}),Xn=()=>c(Yn),Zn=({isEditor:e,isPreview:t})=>e&&!t,Qn=()=>{try{let{SSR:e,SEO:t}=m(Kn);return e||t}catch{return!1}},$n=()=>{let e=Qn();return Zn(Xn())&&!e},er=[{path:`richContent.nodes.buttonData.styles.background.gradient.centerX`},{path:`richContent.nodes.buttonData.styles.background.gradient.centerY`},{path:`richContent.nodes.buttonData.styles.background.gradient.stops.position`},{path:`richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX`},{path:`richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY`},{path:`richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position`},{path:`richContent.nodes.galleryData.items.image.media.duration`},{path:`richContent.nodes.galleryData.items.video.media.duration`},{path:`richContent.nodes.galleryData.items.video.thumbnail.duration`},{path:`richContent.nodes.galleryData.options.item.ratio`},{path:`richContent.nodes.imageData.image.duration`},{path:`richContent.nodes.imageData.crop.x`},{path:`richContent.nodes.imageData.crop.y`},{path:`richContent.nodes.imageData.crop.width`},{path:`richContent.nodes.imageData.crop.height`},{path:`richContent.nodes.mapData.mapSettings.lat`},{path:`richContent.nodes.mapData.mapSettings.lng`},{path:`richContent.nodes.pollData.poll.image.duration`},{path:`richContent.nodes.pollData.poll.options.image.duration`},{path:`richContent.nodes.pollData.design.poll.background.image.duration`},{path:`richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`richContent.nodes.appEmbedData.image.duration`},{path:`richContent.nodes.videoData.video.duration`},{path:`richContent.nodes.videoData.thumbnail.duration`},{path:`richContent.nodes.audioData.audio.duration`},{path:`richContent.nodes.audioData.coverImage.duration`},{path:`richContent.nodes.layoutData.backgroundImage.media.duration`},{path:`richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX`},{path:`richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY`},{path:`richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position`},{path:`richContent.nodes.layoutData.backdropImage.media.duration`},{path:`richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX`},{path:`richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY`},{path:`richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position`},{path:`richContent.nodes.layoutData.background.gradient.centerX`},{path:`richContent.nodes.layoutData.background.gradient.centerY`},{path:`richContent.nodes.layoutData.background.gradient.stops.position`},{path:`richContent.nodes.layoutData.backdrop.gradient.centerX`},{path:`richContent.nodes.layoutData.backdrop.gradient.centerY`},{path:`richContent.nodes.layoutData.backdrop.gradient.stops.position`},{path:`richContent.nodes.shapeData.shape.duration`},{path:`richContent.nodes.cardData.background.gradient.centerX`},{path:`richContent.nodes.cardData.background.gradient.centerY`},{path:`richContent.nodes.cardData.background.gradient.stops.position`},{path:`richContent.nodes.cardData.backgroundImage.media.duration`},{path:`richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX`},{path:`richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY`},{path:`richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position`},{path:`richContent.nodes.tocData.fontSize`},{path:`richContent.nodes.tocData.itemSpacing`},{path:`richContent.nodes.smartBlockCellData.shape.duration`},{path:`richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position`}],tr=[{path:`richContent.metadata.createdTimestamp`},{path:`richContent.metadata.updatedTimestamp`}];function nr(e){return P(Object.assign(e,{domainToMappings:{"manage._base_domain_":[{srcPath:`/_api/blog-paywall-service`,destPath:``}],"editor._base_domain_":[{srcPath:`/_api/blog-paywall-service`,destPath:``}],"blocks._base_domain_":[{srcPath:`/_api/blog-paywall-service`,destPath:``}],"create.editorx":[{srcPath:`/_api/blog-paywall-service`,destPath:``}],_:[{srcPath:`/_api/blog-paywall-service`,destPath:``}],"www.wixapis.com":[{srcPath:`/blog-paywall-service/v1/post-paywalls`,destPath:`/v1/post-paywalls`}]}}))}var rr=`@wix/auto_sdk_blog_post-paywalls`;function ir(e){function t({host:t}){return{entityFqdn:`wix.blog.blog_paywall_service.v1.post_paywall`,method:`GET`,methodFqn:`wix.blog.blog_paywall_service.v1.PostPaywallService.GetPostPaywall`,packageName:rr,migrationOptions:{optInTransformResponse:!0},url:nr({protoPath:`/v1/post-paywalls/{postFqdn}/{postId}`,data:e,host:t}),params:N(e),transformResponse:e=>A(e,[{transformFn:F,paths:er},{transformFn:k,paths:tr}])}}return t}async function ar(e,t){let{httpClient:n,sideEffects:r}=arguments[2],i=ir(D({postFqdn:e?.postFqdn,postId:e?.postId,language:t?.language},[]));r?.onSiteCall?.();try{let e=await n.request(i);return r?.onSuccess?.(e),O(e.data,[])}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{postFqdn:`$[0].postFqdn`,postId:`$[0].postId`,language:`$[1].language`},singleArgumentUnchanged:!1},[`identifiers`,`options`]);throw r?.onError?.(e),t}}function or(e){return(t,n)=>ar(t,n,{httpClient:e})}var sr=M(or);function cr(e){return Object.keys(e).length===1&&`$and`in e&&Array.isArray(e.$and)}function lr(e){return Object.keys(e).length===1&&`$or`in e&&Array.isArray(e.$or)}function ur(e){return Object.keys(e).length===1&&`$not`in e&&typeof e.$not==`object`}function R(e,t){return e===void 0||Object.keys(e).length===0?t:t===void 0||Object.keys(t).length===0?e:{$and:[...cr(e)?e.$and:[e],...cr(t)?t.$and:[t]]}}function dr(e,t){return e===void 0||Object.keys(e).length===0?t:t===void 0||Object.keys(t).length===0?e:{$or:[...lr(e)?e.$or:[e],...lr(t)?t.$or:[t]]}}function fr(e){if(e!==void 0&&Object.keys(e).length!==0)return ur(e)?e.$not:{$not:e}}var pr=class{_items;_fetchNextPage;_fetchPrevPage;_originQuery;_limit;constructor({items:e,originQuery:t,fetchNextPage:n,fetchPrevPage:r,limit:i}){this._items=e,this._fetchNextPage=n,this._fetchPrevPage=r,this._originQuery=t,this._limit=i}get items(){return this._items}get length(){return this._items.length}get pageSize(){return this._limit}get query(){return this._originQuery}async next(){if(!this.hasNext())throw Error(`No next page to fetch`);return await this._fetchNextPage()}async prev(){if(!this.hasPrev())throw Error(`No previous page to fetch`);return await this._fetchPrevPage()}},mr=class extends pr{_nextCursor;_prevCursor;cursors;constructor({items:e,originQuery:t,fetchNextPage:n,fetchPrevPage:r,limit:i,nextCursor:a,prevCursor:o}){super({items:e,originQuery:t,fetchNextPage:n,fetchPrevPage:r,limit:i}),this._nextCursor=a,this._prevCursor=o,this.cursors={next:a,prev:o}}hasNext(){return!!this._nextCursor}hasPrev(){return!!this._prevCursor}},hr=class extends pr{_totalCount;_offset;_tooManyToCount;constructor({items:e,fetchNextPage:t,fetchPrevPage:n,offset:r,originQuery:i,limit:a,totalCount:o,tooManyToCount:s}){super({items:e,fetchNextPage:t,fetchPrevPage:n,originQuery:i,limit:a}),this._totalCount=o,this._offset=r,this._tooManyToCount=s}get currentPage(){return this._limit===0?void 0:Math.floor(this._offset/this._limit)}get totalPages(){return this._tooManyToCount||this._limit===0?void 0:Math.ceil(this._totalCount/this._limit)}get totalCount(){return this._tooManyToCount?void 0:this._totalCount}hasNext(){return this._limit!==0&&this.currentPage!==void 0&&this.totalPages!==void 0&&this.currentPage<this.totalPages-1}hasPrev(){return!!(this._limit!==0&&this.currentPage&&this.currentPage>0)}};function gr(e){let t=n=>({query:n,async find(){try{let r=e.requestTransformer(e.pagingMethod===`CURSOR`&&n.cursorPaging.cursor?{cursorPaging:n.cursorPaging}:n),i=await e.func(r),{[et]:a,[tt]:o}=e.responseTransformer(i);if(e.pagingMethod===`OFFSET`){let e=n;return new hr({items:a??[],fetchNextPage:()=>t({...e,paging:{offset:e.paging.offset+e.paging.limit,limit:e.paging.limit}}).find(),fetchPrevPage:()=>t({...n,paging:{offset:Math.max(e.paging.offset-e.paging.limit,0),limit:e.paging.limit}}).find(),offset:e.paging.offset,limit:e.paging.limit,totalCount:o?.total,tooManyToCount:o?.tooManyToCount,originQuery:this})}let s=n.cursorPaging;return new mr({items:a??[],limit:s.limit,originQuery:this,fetchNextPage:()=>t({...n,cursorPaging:{cursor:o?.cursors?.next??void 0,limit:s.limit}}).find(),fetchPrevPage:()=>t({...n,cursorPaging:{cursor:o?.cursors?.prev??void 0,limit:s.limit}}).find(),prevCursor:o?.cursors?.prev??void 0,nextCursor:o?.cursors?.next??void 0})}catch(t){throw e.errorTransformer(t)}},skipTo(e){return t({...n,cursorPaging:{cursor:e,limit:n.cursorPaging.limit}})},eq(r,i){let a=i===void 0?null:i,o={[z(e.transformationPaths,r)]:a};return t({...n,filter:R(n.filter,o)})},ne(r,i){let a=i===void 0?null:i,o={[z(e.transformationPaths,r)]:{$ne:a}};return t({...n,filter:R(n.filter,o)})},ge(r,i){let a={[z(e.transformationPaths,r)]:{$gte:i}};return t({...n,filter:R(n.filter,a)})},gt(r,i){let a={[z(e.transformationPaths,r)]:{$gt:i}};return t({...n,filter:R(n.filter,a)})},le(r,i){let a={[z(e.transformationPaths,r)]:{$lte:i}};return t({...n,filter:R(n.filter,a)})},lt(r,i){let a={[z(e.transformationPaths,r)]:{$lt:i}};return t({...n,filter:R(n.filter,a)})},isNotEmpty(e){return this.ne(e,null)},isEmpty(e){return this.eq(e,null)},startsWith(r,i){let a={[z(e.transformationPaths,r)]:{$startsWith:i}};return t({...n,filter:R(n.filter,a)})},endsWith(r,i){let a={[z(e.transformationPaths,r)]:{$endsWith:i}};return t({...n,filter:R(n.filter,a)})},contains(r,i){let a={[z(e.transformationPaths,r)]:{$contains:i}};return t({...n,filter:R(n.filter,a)})},hasSome(r,...i){let a={[z(e.transformationPaths,r)]:{$hasSome:Array.isArray(i[0])?i[0]:i}};return t({...n,filter:R(n.filter,a)})},hasAll(r,...i){let a={[z(e.transformationPaths,r)]:{$hasAll:Array.isArray(i[0])?i[0]:i}};return t({...n,filter:R(n.filter,a)})},between(e,t,n){return this.ge(e,t).lt(e,n)},in(r,i){let a={[z(e.transformationPaths,r)]:{$in:i}};return t({...n,filter:R(n.filter,a)})},exists(r,i=!0){let a={[z(e.transformationPaths,r)]:{$exists:i}};return t({...n,filter:R(n.filter,a)})},or(e){return t({...n,filter:dr(n.filter,e.query.filter)})},and(e){return t({...n,filter:R(n.filter,e.query.filter)})},not(e){return t({...n,filter:fr(e.query.filter)})},ascending(...r){return t({...n,sort:[...n.sort??[],...r.map(t=>({fieldName:z(e.transformationPaths,t),order:`ASC`}))]})},descending(...r){return t({...n,sort:[...n.sort??[],...r.map(t=>({fieldName:z(e.transformationPaths,t),order:`DESC`}))]})},skip(e){return t({...n,paging:{offset:e,limit:`limit`in n.paging?n.paging.limit:50}})},limit(r){if(e.pagingMethod===`CURSOR`){let e=n;return t({...n,cursorPaging:{limit:r,cursor:`cursor`in e.cursorPaging?e.cursorPaging.cursor:void 0}})}let i=n;return t({...n,paging:{limit:r,offset:`offset`in i.paging?i.paging.offset:0}})}});return t({filter:{},...e.pagingMethod===`OFFSET`?{paging:{offset:0,limit:50}}:{cursorPaging:{limit:50}}})}function z(e,t){let n=Object.entries(e).find(([e])=>e===t||t.startsWith(`${e}.`))?.[0];return n?t.replace(n,e[n]):rt(t,{...e,...nt})}var _r=`filter`,vr=`sort`,yr=`cursorPaging`,br=`paging`,xr=[_r,vr,yr],Sr=[_r,vr,br];function Cr(e,t){return!e||typeof e!=`object`?!1:t.some(t=>e.hasOwnProperty(t))}function wr(e){return Cr(e,xr)}function Tr(e){return Cr(e,Sr)}function Er(e){let{hasOptionsParameter:t}=e;return function(...n){return t?Or(n,e):Dr(n,e)}}function Dr(e,t){return e.length===0?t.builderQueryFunction():t.typedQueryFunction(e[0])}function Or(e,t){switch(e.length){case 0:return t.builderQueryFunction();case 1:return wr(e[0])||Tr(e[0])?t.typedQueryFunction(e[0]):t.builderQueryFunction(e[0]);default:return t.typedQueryFunction(e[0],e[1])}}var kr=[{path:`like.createdDate`}],Ar=[{path:`likes.createdDate`}];function jr(e){return P(Object.assign(e,{domainToMappings:{_:[{srcPath:`/_api/blog-like-service`,destPath:``}],"api._api_base_domain_":[{srcPath:`/blog-like-service`,destPath:``}],"social-blog._base_domain_":[{srcPath:`/_api/blog-like-service`,destPath:``}],"manage._base_domain_":[{srcPath:`/_api/blog-like-service`,destPath:``}],"apps._base_domain_":[{srcPath:`/_api/blog-like-service`,destPath:``}],"www.wixapis.com":[{srcPath:`/blog/v1/likes`,destPath:`/v1/likes`}],"*.dev.wix-code.com":[{srcPath:`/blog/v1/likes`,destPath:`/v1/likes`}]}}))}var Mr=`@wix/auto_sdk_blog_likes`;function Nr(e){function t({host:t}){let n=A(e,[{transformFn:ct,paths:kr}]);return{entityFqdn:`wix.blog.v1.like`,method:`POST`,methodFqn:`wix.blog.v1.LikeService.CreateLike`,packageName:Mr,migrationOptions:{optInTransformResponse:!0},url:jr({protoPath:`/v1/likes`,data:n,host:t}),data:n,transformResponse:e=>A(e,[{transformFn:k,paths:kr}])}}return t}function Pr(e){function t({host:t}){return{entityFqdn:`wix.blog.v1.like`,method:`POST`,methodFqn:`wix.blog.v1.LikeService.QueryLikes`,packageName:Mr,migrationOptions:{optInTransformResponse:!0},url:jr({protoPath:`/v1/likes/query`,data:e,host:t}),data:e,transformResponse:e=>A(e,[{transformFn:k,paths:Ar}])}}return t}function Fr(e){function t({host:t}){return{entityFqdn:`wix.blog.v1.like`,method:`DELETE`,methodFqn:`wix.blog.v1.LikeService.DeleteLikeByFqdnAndEntityId`,packageName:Mr,migrationOptions:{optInTransformResponse:!0},url:jr({protoPath:`/v1/likes/fqdn/{fqdn}/entity-id/{entityId}`,data:e,host:t}),params:N(e)}}return t}async function Ir(e){let{httpClient:t,sideEffects:n}=arguments[1],r=Nr(D({like:e?.like}));n?.onSiteCall?.();try{let e=await t.request(r);return n?.onSuccess?.(e),O(e.data)?.like}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{like:`$[0].like`},singleArgumentUnchanged:!1},[`options`]);throw n?.onError?.(e),t}}function Lr(){let{httpClient:e,sideEffects:t}=arguments[0];return gr({func:async n=>{let r=Pr(n);t?.onSiteCall?.();try{let n=await e.request(r);return t?.onSuccess?.(n),n}catch(e){throw t?.onError?.(e),e}},requestTransformer:e=>{let t=[e,{}];return D({...t?.[1],query:t?.[0]})},responseTransformer:({data:e})=>{let t=O(A(e,[]));return{items:t?.likes,pagingMetadata:t?.pagingMetadata}},errorTransformer:e=>{throw j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{query:`$[0]`},singleArgumentUnchanged:!1})},pagingMethod:`CURSOR`,transformationPaths:{}})}async function Rr(e){let{httpClient:t,sideEffects:n}=arguments[1],r=Pr(D({query:e}));n?.onSiteCall?.();try{let e=await t.request(r);return n?.onSuccess?.(e),O(e.data)}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{query:`$[0]`},singleArgumentUnchanged:!1},[`query`]);throw n?.onError?.(e),t}}async function zr(e){let{httpClient:t,sideEffects:n}=arguments[1],r=Fr(D({fqdn:e?.fqdn,entityId:e?.entityId}));n?.onSiteCall?.();try{let e=await t.request(r);n?.onSuccess?.(e)}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{fqdn:`$[0].fqdn`,entityId:`$[0].entityId`},singleArgumentUnchanged:!1},[`identifiers`]);throw n?.onError?.(e),t}}function Br(e){return t=>Ir(t,{httpClient:e})}function Vr(e){return()=>Lr({httpClient:e})}function Hr(e){return t=>Rr(t,{httpClient:e})}function Ur(e){return t=>zr(t,{httpClient:e})}function Wr(e){let t=Er({builderQueryFunction:()=>Vr(e)(),typedQueryFunction:t=>Hr(e)(t),hasOptionsParameter:!1});function n(e){return t(...arguments)}return n}var Gr=M(Br),Kr=M(Ur),qr=M(Wr);function B(e){if(!e)return;let t=``;return(e.filename||e.altText)&&(t=`/${encodeURIComponent(e.filename||e.altText)}`),e.id?`wix:image://v1/${e.id}${t}#originWidth=${e.width}&originHeight=${e.height}`:e.url}function V(e){if(e)return[`http://`,`https://`].some(t=>e.base?.startsWith(t))?`${e.base}${e.path}`:`http://${e.base}${e.path}`}var Jr=[{path:`categories.updatedDate`},{path:`categories.coverImage.urlExpirationDate`}],Yr=[{path:`categories.coverImage.focalPoint.x`},{path:`categories.coverImage.focalPoint.y`}];function Xr(e){return P(Object.assign(e,{domainToMappings:{"manage._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`},{srcPath:`/_api/communities-blog-node-api/v3/bulk/category`,destPath:`/v3/bulk/category`},{srcPath:`/_api/communities-blog-node-api/v3/bulk/categories`,destPath:`/v3/bulk/categories`}],"*.pub.wix-code.com":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"bo._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"wixbo.ai":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"wix-bo.com":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"editor.wixapps.net":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"editor._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"blocks._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"create.editorx":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"social-blog._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],_:[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"apps._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"www._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"www.wixapis.com":[{srcPath:`/blog/v3/categories`,destPath:`/v3/categories`},{srcPath:`/v3/categories`,destPath:`/v3/categories`}],"*.dev.wix-code.com":[{srcPath:`/_api/communities-blog-node-api/v3/categories`,destPath:`/v3/categories`}],"api._api_base_domain_":[{srcPath:`/category-service-api-proxy`,destPath:``}]}}))}var Zr=`@wix/auto_sdk_blog_categories`;function Qr(e){function t({host:t}){return{entityFqdn:`wix.blog.v3.category`,method:`GET`,methodFqn:`com.wixpress.npm.communities.platformized.blog.v3.CategoryService.ListCategories`,packageName:Zr,migrationOptions:{optInTransformResponse:!0},url:Xr({protoPath:`/v3/categories`,data:e,host:t}),params:N(e),transformResponse:e=>A(e,[{transformFn:k,paths:Jr},{transformFn:F,paths:Yr}])}}return t}var $r=[{path:`categories.url`},{path:`categories.translations.url`}],ei=[{path:`categories.coverImage`}];async function ti(e){let{httpClient:t,sideEffects:n}=arguments[1],r=Qr(D({paging:e?.paging,fieldsets:e?.fieldsets,language:e?.language}));n?.onSiteCall?.();try{let e=await t.request(r);return n?.onSuccess?.(e),O(A(e.data,[{transformFn:V,paths:$r},{transformFn:B,paths:ei}]))}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{paging:`$[0].paging`,fieldsets:`$[0].fieldsets`,language:`$[0].language`},singleArgumentUnchanged:!1},[`options`]);throw n?.onError?.(e),t}}function ni(e){return t=>ti(t,{httpClient:e})}var ri=M(ni);function H(e){if(!e)return;let t=``;e?.filename&&(t=`/${encodeURIComponent(e.filename)}`);let n=``;if(e.posters?.length){let[t,r]=e.posters,i=r||t,a=i.id||``;if(!a&&i.url){let e=i.url.lastIndexOf(`/`);e!==-1&&(a=i.url.substring(e+1))}a&&(n=`#posterUri=${a}&posterWidth=${i.width}&posterHeight=${i.height}`)}return e.id?`wix:video://v1/${e.id}${t}${n}`:e.url}var ii=[{path:`draftPost.editedDate`},{path:`draftPost.scheduledPublishDate`},{path:`draftPost.firstPublishedDate`},{path:`draftPost.createdDate`},{path:`draftPost.expirationDate`},{path:`draftPost.heroImage.urlExpirationDate`},{path:`draftPost.richContent.metadata.createdTimestamp`},{path:`draftPost.richContent.metadata.updatedTimestamp`},{path:`draftPost.moderationDetails.submittedDate`},{path:`draftPost.moderationDetails.moderationDate`},{path:`draftPost.media.wixMedia.image.urlExpirationDate`},{path:`draftPost.media.wixMedia.videoV2.urlExpirationDate`},{path:`draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate`},{path:`draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate`},{path:`draftPost.media.wixMedia.videoV2.posters.urlExpirationDate`}],ai=[{path:`draftPost.heroImage.focalPoint.x`},{path:`draftPost.heroImage.focalPoint.y`},{path:`draftPost.media.wixMedia.image.focalPoint.x`},{path:`draftPost.media.wixMedia.image.focalPoint.y`},{path:`draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x`},{path:`draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y`},{path:`draftPost.media.wixMedia.videoV2.posters.focalPoint.x`},{path:`draftPost.media.wixMedia.videoV2.posters.focalPoint.y`},{path:`draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX`},{path:`draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY`},{path:`draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position`},{path:`draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX`},{path:`draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY`},{path:`draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position`},{path:`draftPost.richContent.nodes.galleryData.items.image.media.duration`},{path:`draftPost.richContent.nodes.galleryData.items.video.media.duration`},{path:`draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration`},{path:`draftPost.richContent.nodes.galleryData.options.item.ratio`},{path:`draftPost.richContent.nodes.imageData.image.duration`},{path:`draftPost.richContent.nodes.imageData.crop.x`},{path:`draftPost.richContent.nodes.imageData.crop.y`},{path:`draftPost.richContent.nodes.imageData.crop.width`},{path:`draftPost.richContent.nodes.imageData.crop.height`},{path:`draftPost.richContent.nodes.mapData.mapSettings.lat`},{path:`draftPost.richContent.nodes.mapData.mapSettings.lng`},{path:`draftPost.richContent.nodes.pollData.poll.image.duration`},{path:`draftPost.richContent.nodes.pollData.poll.options.image.duration`},{path:`draftPost.richContent.nodes.pollData.design.poll.background.image.duration`},{path:`draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`draftPost.richContent.nodes.appEmbedData.image.duration`},{path:`draftPost.richContent.nodes.videoData.video.duration`},{path:`draftPost.richContent.nodes.videoData.thumbnail.duration`},{path:`draftPost.richContent.nodes.audioData.audio.duration`},{path:`draftPost.richContent.nodes.audioData.coverImage.duration`},{path:`draftPost.richContent.nodes.layoutData.backgroundImage.media.duration`},{path:`draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX`},{path:`draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY`},{path:`draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position`},{path:`draftPost.richContent.nodes.layoutData.backdropImage.media.duration`},{path:`draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX`},{path:`draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY`},{path:`draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position`},{path:`draftPost.richContent.nodes.layoutData.background.gradient.centerX`},{path:`draftPost.richContent.nodes.layoutData.background.gradient.centerY`},{path:`draftPost.richContent.nodes.layoutData.background.gradient.stops.position`},{path:`draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX`},{path:`draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY`},{path:`draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position`},{path:`draftPost.richContent.nodes.shapeData.shape.duration`},{path:`draftPost.richContent.nodes.cardData.background.gradient.centerX`},{path:`draftPost.richContent.nodes.cardData.background.gradient.centerY`},{path:`draftPost.richContent.nodes.cardData.background.gradient.stops.position`},{path:`draftPost.richContent.nodes.cardData.backgroundImage.media.duration`},{path:`draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX`},{path:`draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY`},{path:`draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position`},{path:`draftPost.richContent.nodes.tocData.fontSize`},{path:`draftPost.richContent.nodes.tocData.itemSpacing`},{path:`draftPost.richContent.nodes.smartBlockCellData.shape.duration`},{path:`draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position`}];function oi(e){return P(Object.assign(e,{domainToMappings:{_api_base_domain_:[{srcPath:`/draft-post-service-api-proxy`,destPath:``}],"*.dev.wix-code.com":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`},{srcPath:`/blog/v3/bulk/draft-posts/create`,destPath:`/v3/bulk/draft-posts/create`},{srcPath:`/blog/v3/bulk/draft-posts`,destPath:`/v3/bulk/draft-posts`}],"*.pub.wix-code.com":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],_:[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`},{srcPath:`/blog/v3/bulk/draft-posts/create`,destPath:`/v3/bulk/draft-posts/create`},{srcPath:`/blog/v3/bulk/draft-posts`,destPath:`/v3/bulk/draft-posts`}],"apps._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],"bo._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],"wixbo.ai":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],"wix-bo.com":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],"editor._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],"blocks._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],"create.editorx":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],"editor.wixapps.net":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],"manage._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`},{srcPath:`/_api/draft-post-service-api-proxy/v3/bulk/draft-posts`,destPath:`/v3/bulk/draft-posts`},{srcPath:`/_api/communities-blog-node-api/v3/multilingual`,destPath:`/v3/multilingual`},{srcPath:`/_api/communities-blog-node-api/v3/stats`,destPath:`/v3/stats`},{srcPath:`/_api/communities-blog-node-api/v3/moderation`,destPath:`/v3/moderation`},{srcPath:`/_api/communities-blog-node-api/v3/bulk/moderation`,destPath:`/v3/bulk/moderation`},{srcPath:`/_api/communities-blog-node-api/v3/bulk/draft-posts/create`,destPath:`/v3/bulk/draft-posts/create`}],"social-blog._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}],"www.wixapis.com":[{srcPath:`/blog/v3/draft-posts`,destPath:`/v3/draft-posts`},{srcPath:`/blog/v3/bulk/draft-posts/create`,destPath:`/v3/bulk/draft-posts/create`},{srcPath:`/blog/v3/draft-posts/`,destPath:`/v3/draft-posts`},{srcPath:`/blog/v3/bulk/draft-posts`,destPath:`/v3/bulk/draft-posts`},{srcPath:`/blog/v3/multilingual`,destPath:`/v3/multilingual`}],"www._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/draft-posts`,destPath:`/v3/draft-posts`}]}}))}var si=`@wix/auto_sdk_blog_draft-posts`;function ci(e){function t({host:t}){return{entityFqdn:`wix.blog.v3.draft`,method:`GET`,methodFqn:`com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDraftPost`,packageName:si,migrationOptions:{optInTransformResponse:!0},url:oi({protoPath:`/v3/draft-posts/{draftPostId}`,data:e,host:t}),params:N(e),transformResponse:e=>A(e,[{transformFn:k,paths:ii},{transformFn:F,paths:ai}])}}return t}var li=[{path:`draftPost.heroImage`},{path:`draftPost.media.wixMedia.image`}],ui=[{path:`draftPost.url`},{path:`draftPost.translations.url`}],di=[{path:`draftPost.media.wixMedia.videoV2`}],fi=(e=>(e.UNKNOWN=`UNKNOWN`,e.URL=`URL`,e.INTERNAL_ID=`INTERNAL_ID`,e.CONTENT=`CONTENT`,e.RICH_CONTENT=`RICH_CONTENT`,e.TRANSLATIONS=`TRANSLATIONS`,e.GENERATED_EXCERPT=`GENERATED_EXCERPT`,e))(fi||{});async function pi(e,t){let{httpClient:n,sideEffects:r}=arguments[2],i=ci(D({draftPostId:e,fieldsets:t?.fieldsets},[]));r?.onSiteCall?.();try{let e=await n.request(i);return r?.onSuccess?.(e),O(A(e.data,[{transformFn:B,paths:li},{transformFn:V,paths:ui},{transformFn:H,paths:di}]),[`draftPost.richContent`])}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{draftPostId:`$[0]`,fieldsets:`$[1].fieldsets`},singleArgumentUnchanged:!1},[`draftPostId`,`options`]);throw r?.onError?.(e),t}}function mi(e){return(t,n)=>pi(t,n,{httpClient:e})}var hi=M(mi),gi=[{path:`post.firstPublishedDate`},{path:`post.lastPublishedDate`},{path:`post.expirationDate`},{path:`post.heroImage.urlExpirationDate`},{path:`post.richContent.metadata.createdTimestamp`},{path:`post.richContent.metadata.updatedTimestamp`},{path:`post.moderationDetails.submittedDate`},{path:`post.moderationDetails.moderationDate`},{path:`post.media.wixMedia.image.urlExpirationDate`},{path:`post.media.wixMedia.videoV2.urlExpirationDate`},{path:`post.media.wixMedia.videoV2.resolutions.urlExpirationDate`},{path:`post.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate`},{path:`post.media.wixMedia.videoV2.posters.urlExpirationDate`}],_i=[{path:`post.richContentCompressed`}],vi=[{path:`post.heroImage.focalPoint.x`},{path:`post.heroImage.focalPoint.y`},{path:`post.media.wixMedia.image.focalPoint.x`},{path:`post.media.wixMedia.image.focalPoint.y`},{path:`post.media.wixMedia.videoV2.resolutions.poster.focalPoint.x`},{path:`post.media.wixMedia.videoV2.resolutions.poster.focalPoint.y`},{path:`post.media.wixMedia.videoV2.posters.focalPoint.x`},{path:`post.media.wixMedia.videoV2.posters.focalPoint.y`},{path:`post.metrics.averageRating`},{path:`post.richContent.nodes.buttonData.styles.background.gradient.centerX`},{path:`post.richContent.nodes.buttonData.styles.background.gradient.centerY`},{path:`post.richContent.nodes.buttonData.styles.background.gradient.stops.position`},{path:`post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX`},{path:`post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY`},{path:`post.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position`},{path:`post.richContent.nodes.galleryData.items.image.media.duration`},{path:`post.richContent.nodes.galleryData.items.video.media.duration`},{path:`post.richContent.nodes.galleryData.items.video.thumbnail.duration`},{path:`post.richContent.nodes.galleryData.options.item.ratio`},{path:`post.richContent.nodes.imageData.image.duration`},{path:`post.richContent.nodes.imageData.crop.x`},{path:`post.richContent.nodes.imageData.crop.y`},{path:`post.richContent.nodes.imageData.crop.width`},{path:`post.richContent.nodes.imageData.crop.height`},{path:`post.richContent.nodes.mapData.mapSettings.lat`},{path:`post.richContent.nodes.mapData.mapSettings.lng`},{path:`post.richContent.nodes.pollData.poll.image.duration`},{path:`post.richContent.nodes.pollData.poll.options.image.duration`},{path:`post.richContent.nodes.pollData.design.poll.background.image.duration`},{path:`post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`post.richContent.nodes.appEmbedData.image.duration`},{path:`post.richContent.nodes.videoData.video.duration`},{path:`post.richContent.nodes.videoData.thumbnail.duration`},{path:`post.richContent.nodes.audioData.audio.duration`},{path:`post.richContent.nodes.audioData.coverImage.duration`},{path:`post.richContent.nodes.layoutData.backgroundImage.media.duration`},{path:`post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX`},{path:`post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY`},{path:`post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position`},{path:`post.richContent.nodes.layoutData.backdropImage.media.duration`},{path:`post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX`},{path:`post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY`},{path:`post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position`},{path:`post.richContent.nodes.layoutData.background.gradient.centerX`},{path:`post.richContent.nodes.layoutData.background.gradient.centerY`},{path:`post.richContent.nodes.layoutData.background.gradient.stops.position`},{path:`post.richContent.nodes.layoutData.backdrop.gradient.centerX`},{path:`post.richContent.nodes.layoutData.backdrop.gradient.centerY`},{path:`post.richContent.nodes.layoutData.backdrop.gradient.stops.position`},{path:`post.richContent.nodes.shapeData.shape.duration`},{path:`post.richContent.nodes.cardData.background.gradient.centerX`},{path:`post.richContent.nodes.cardData.background.gradient.centerY`},{path:`post.richContent.nodes.cardData.background.gradient.stops.position`},{path:`post.richContent.nodes.cardData.backgroundImage.media.duration`},{path:`post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX`},{path:`post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY`},{path:`post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position`},{path:`post.richContent.nodes.tocData.fontSize`},{path:`post.richContent.nodes.tocData.itemSpacing`},{path:`post.richContent.nodes.smartBlockCellData.shape.duration`},{path:`post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position`}],yi=[{path:`posts.firstPublishedDate`},{path:`posts.lastPublishedDate`},{path:`posts.expirationDate`},{path:`posts.heroImage.urlExpirationDate`},{path:`posts.richContent.metadata.createdTimestamp`},{path:`posts.richContent.metadata.updatedTimestamp`},{path:`posts.moderationDetails.submittedDate`},{path:`posts.moderationDetails.moderationDate`},{path:`posts.media.wixMedia.image.urlExpirationDate`},{path:`posts.media.wixMedia.videoV2.urlExpirationDate`},{path:`posts.media.wixMedia.videoV2.resolutions.urlExpirationDate`},{path:`posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate`},{path:`posts.media.wixMedia.videoV2.posters.urlExpirationDate`}],bi=[{path:`posts.richContentCompressed`}],xi=[{path:`posts.heroImage.focalPoint.x`},{path:`posts.heroImage.focalPoint.y`},{path:`posts.media.wixMedia.image.focalPoint.x`},{path:`posts.media.wixMedia.image.focalPoint.y`},{path:`posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x`},{path:`posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y`},{path:`posts.media.wixMedia.videoV2.posters.focalPoint.x`},{path:`posts.media.wixMedia.videoV2.posters.focalPoint.y`},{path:`posts.metrics.averageRating`},{path:`posts.richContent.nodes.buttonData.styles.background.gradient.centerX`},{path:`posts.richContent.nodes.buttonData.styles.background.gradient.centerY`},{path:`posts.richContent.nodes.buttonData.styles.background.gradient.stops.position`},{path:`posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX`},{path:`posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY`},{path:`posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position`},{path:`posts.richContent.nodes.galleryData.items.image.media.duration`},{path:`posts.richContent.nodes.galleryData.items.video.media.duration`},{path:`posts.richContent.nodes.galleryData.items.video.thumbnail.duration`},{path:`posts.richContent.nodes.galleryData.options.item.ratio`},{path:`posts.richContent.nodes.imageData.image.duration`},{path:`posts.richContent.nodes.imageData.crop.x`},{path:`posts.richContent.nodes.imageData.crop.y`},{path:`posts.richContent.nodes.imageData.crop.width`},{path:`posts.richContent.nodes.imageData.crop.height`},{path:`posts.richContent.nodes.mapData.mapSettings.lat`},{path:`posts.richContent.nodes.mapData.mapSettings.lng`},{path:`posts.richContent.nodes.pollData.poll.image.duration`},{path:`posts.richContent.nodes.pollData.poll.options.image.duration`},{path:`posts.richContent.nodes.pollData.design.poll.background.image.duration`},{path:`posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.nodes.appEmbedData.image.duration`},{path:`posts.richContent.nodes.videoData.video.duration`},{path:`posts.richContent.nodes.videoData.thumbnail.duration`},{path:`posts.richContent.nodes.audioData.audio.duration`},{path:`posts.richContent.nodes.audioData.coverImage.duration`},{path:`posts.richContent.nodes.layoutData.backgroundImage.media.duration`},{path:`posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX`},{path:`posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY`},{path:`posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position`},{path:`posts.richContent.nodes.layoutData.backdropImage.media.duration`},{path:`posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX`},{path:`posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY`},{path:`posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position`},{path:`posts.richContent.nodes.layoutData.background.gradient.centerX`},{path:`posts.richContent.nodes.layoutData.background.gradient.centerY`},{path:`posts.richContent.nodes.layoutData.background.gradient.stops.position`},{path:`posts.richContent.nodes.layoutData.backdrop.gradient.centerX`},{path:`posts.richContent.nodes.layoutData.backdrop.gradient.centerY`},{path:`posts.richContent.nodes.layoutData.backdrop.gradient.stops.position`},{path:`posts.richContent.nodes.shapeData.shape.duration`},{path:`posts.richContent.nodes.cardData.background.gradient.centerX`},{path:`posts.richContent.nodes.cardData.background.gradient.centerY`},{path:`posts.richContent.nodes.cardData.background.gradient.stops.position`},{path:`posts.richContent.nodes.cardData.backgroundImage.media.duration`},{path:`posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX`},{path:`posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY`},{path:`posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position`},{path:`posts.richContent.nodes.tocData.fontSize`},{path:`posts.richContent.nodes.tocData.itemSpacing`},{path:`posts.richContent.nodes.smartBlockCellData.shape.duration`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position`}],Si=[{path:`sort.origin.latitude`},{path:`sort.origin.longitude`},{path:`query.sort.origin.latitude`},{path:`query.sort.origin.longitude`}],Ci=[{path:`metrics.averageRating`}];function wi(e){return P(Object.assign(e,{domainToMappings:{_:[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"apps._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"www._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"www.wixapis.com":[{srcPath:`/v3/posts`,destPath:`/v3/posts`},{srcPath:`/blog/v3/posts`,destPath:`/v3/posts`},{srcPath:`/_api/v3/posts`,destPath:`/v3/posts`}],"manage._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`},{srcPath:`/_api/post-service-api-proxy/v3/bulk/posts`,destPath:`/v3/bulk/posts`}],"*.dev.wix-code.com":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"editor._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"blocks._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"create.editorx":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"editor.wixapps.net":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"dev._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}]}}))}var Ti=`@wix/auto_sdk_blog_posts`;function Ei(e){function t({host:t}){return{entityFqdn:`wix.blog.v3.post`,method:`GET`,methodFqn:`com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug`,packageName:Ti,migrationOptions:{optInTransformResponse:!0},url:wi({protoPath:`/v3/posts/slugs/{slug}`,data:e,host:t}),params:N(e),transformResponse:e=>A(e,[{transformFn:k,paths:gi},{transformFn:pn,paths:_i},{transformFn:F,paths:vi}])}}return t}function Di(e){function t({host:t}){return{entityFqdn:`wix.blog.v3.post`,method:`GET`,methodFqn:`com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts`,packageName:Ti,migrationOptions:{optInTransformResponse:!0},url:wi({protoPath:`/v3/posts`,data:e,host:t}),params:N(e),transformResponse:e=>A(e,[{transformFn:k,paths:yi},{transformFn:pn,paths:bi},{transformFn:F,paths:xi}])}}return t}function Oi(e){function t({host:t}){let n=A(e,[{transformFn:fn,paths:Si}]);return{entityFqdn:`wix.blog.v3.post`,method:`POST`,methodFqn:`com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts`,packageName:Ti,migrationOptions:{optInTransformResponse:!0},url:wi({protoPath:`/v3/posts/query`,data:n,host:t}),data:n,transformResponse:e=>A(e,[{transformFn:k,paths:yi},{transformFn:pn,paths:bi},{transformFn:F,paths:xi}])}}return t}function ki(e){function t({host:t}){return{entityFqdn:`wix.blog.v3.post`,method:`GET`,methodFqn:`com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostMetrics`,packageName:Ti,migrationOptions:{optInTransformResponse:!0},url:wi({protoPath:`/v3/posts/{postId}/metrics`,data:e,host:t}),params:N(e),transformResponse:e=>A(e,[{transformFn:F,paths:Ci}])}}return t}function Ai(e){function t({host:t}){return{entityFqdn:`wix.blog.v3.post`,method:`POST`,methodFqn:`com.wixpress.npm.communities.platformized.blog.v3.PostService.ViewPost`,packageName:Ti,migrationOptions:{optInTransformResponse:!0},url:wi({protoPath:`/v3/posts/{postId}/view`,data:e,host:t}),data:e}}return t}var ji=[{path:`post.url`},{path:`post.translations.url`}],Mi=[{path:`post.heroImage`},{path:`post.media.wixMedia.image`}],Ni=[{path:`post.media.wixMedia.videoV2`}],Pi=[{path:`posts.url`},{path:`posts.translations.url`}],Fi=[{path:`posts.heroImage`},{path:`posts.media.wixMedia.image`}],Ii=[{path:`posts.media.wixMedia.videoV2`}],U=(e=>(e.UNKNOWN=`UNKNOWN`,e.COUNTERS=`COUNTERS`,e.URL=`URL`,e.CONTENT_TEXT=`CONTENT_TEXT`,e.METRICS=`METRICS`,e.SEO=`SEO`,e.CONTENT=`CONTENT`,e.INTERNAL_ID=`INTERNAL_ID`,e.CONTACT_ID=`CONTACT_ID`,e.RICH_CONTENT=`RICH_CONTENT`,e.RICH_CONTENT_STRING=`RICH_CONTENT_STRING`,e.RICH_CONTENT_COMPRESSED=`RICH_CONTENT_COMPRESSED`,e.TRANSLATIONS=`TRANSLATIONS`,e.REFERENCE_ID=`REFERENCE_ID`,e.EXCLUDE_PAID_CONTENT=`EXCLUDE_PAID_CONTENT`,e.SEO_DATA=`SEO_DATA`,e.OWNER=`OWNER`,e.HAS_UNPUBLISHED_CHANGES=`HAS_UNPUBLISHED_CHANGES`,e.HEADING=`HEADING`,e.IMAGE=`IMAGE`,e))(U||{});async function Li(e,t){let{httpClient:n,sideEffects:r}=arguments[2],i=Ei(D({slug:e,fieldsets:t?.fieldsets,language:t?.language},[]));r?.onSiteCall?.();try{let e=await n.request(i);return r?.onSuccess?.(e),O(A(e.data,[{transformFn:V,paths:ji},{transformFn:B,paths:Mi},{transformFn:H,paths:Ni}]),[`post.richContent`])}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{slug:`$[0]`,fieldsets:`$[1].fieldsets`,language:`$[1].language`},singleArgumentUnchanged:!1},[`slug`,`options`]);throw r?.onError?.(e),t}}async function Ri(e){let{httpClient:t,sideEffects:n}=arguments[1],r=Di(D({featured:e?.featured,hashtags:e?.hashtags,categoryIds:e?.categoryIds,tagIds:e?.tagIds,sort:e?.sort,paging:e?.paging,language:e?.language,memberId:e?.memberId,fieldsets:e?.fieldsets},[]));n?.onSiteCall?.();try{let e=await t.request(r);return n?.onSuccess?.(e),O(A(e.data,[{transformFn:V,paths:Pi},{transformFn:B,paths:Fi},{transformFn:H,paths:Ii}]),[`posts.richContent`])}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{featured:`$[0].featured`,hashtags:`$[0].hashtags`,categoryIds:`$[0].categoryIds`,tagIds:`$[0].tagIds`,sort:`$[0].sort`,paging:`$[0].paging`,language:`$[0].language`,memberId:`$[0].memberId`,fieldsets:`$[0].fieldsets`},singleArgumentUnchanged:!1},[`options`]);throw n?.onError?.(e),t}}function zi(e){let{httpClient:t,sideEffects:n}=arguments[1];return gr({func:async r=>{let i=Oi({...r,...e??{}});n?.onSiteCall?.();try{let e=await t.request(i);return n?.onSuccess?.(e),e}catch(e){throw n?.onError?.(e),e}},requestTransformer:t=>{let n=[t,e];return D({...n?.[1],query:n?.[0]},[])},responseTransformer:({data:e})=>{let t=O(A(e,[{transformFn:V,paths:Pi},{transformFn:B,paths:Fi},{transformFn:H,paths:Ii}]),[`posts.richContent`]);return{items:t?.posts,pagingMetadata:t?.pagingMetadata}},errorTransformer:e=>{throw j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{query:`$[0]`},singleArgumentUnchanged:!1})},pagingMethod:`CURSOR`,transformationPaths:{}})}async function Bi(e,t){let{httpClient:n,sideEffects:r}=arguments[2],i=Oi(D({query:e,...t},[]));r?.onSiteCall?.();try{let e=await n.request(i);return r?.onSuccess?.(e),O(A(e.data,[{transformFn:V,paths:Pi},{transformFn:B,paths:Fi},{transformFn:H,paths:Ii}]),[`posts.richContent`])}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{query:`$[0]`},singleArgumentUnchanged:!1},[`query`,`options`]);throw r?.onError?.(e),t}}async function Vi(e){let{httpClient:t,sideEffects:n}=arguments[1],r=ki(D({postId:e},[]));n?.onSiteCall?.();try{let e=await t.request(r);return n?.onSuccess?.(e),O(e.data,[])}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{postId:`$[0]`},singleArgumentUnchanged:!1},[`postId`]);throw n?.onError?.(e),t}}async function Hi(e){let{httpClient:t,sideEffects:n}=arguments[1],r=Ai(D({postId:e},[]));n?.onSiteCall?.();try{let e=await t.request(r);return n?.onSuccess?.(e),O(e.data,[])}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{postId:`$[0]`},singleArgumentUnchanged:!1},[`postId`]);throw n?.onError?.(e),t}}function Ui(e){return(t,n)=>Li(t,n,{httpClient:e})}function Wi(e){return t=>Ri(t,{httpClient:e})}function Gi(e){return t=>zi(t,{httpClient:e})}function Ki(e){return(t,n)=>Bi(t,n,{httpClient:e})}function qi(e){return t=>Vi(t,{httpClient:e})}function Ji(e){return t=>Hi(t,{httpClient:e})}function Yi(e){let t=Er({builderQueryFunction:t=>Gi(e)(t),typedQueryFunction:(t,n)=>Ki(e)(t,n),hasOptionsParameter:!0});function n(e,n){return t(...arguments)}return n}var Xi=M(Ui),Zi=M(Wi),Qi=M(qi),$i=M(Ji),ea=M(Yi),ta=[{path:`query.sort.origin.latitude`},{path:`query.sort.origin.longitude`}],na=[{path:`tags.createdDate`},{path:`tags.updatedDate`}];function ra(e){return P(Object.assign(e,{domainToMappings:{_:[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"apps._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"www._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"www.wixapis.com":[{srcPath:`/v3/tags`,destPath:`/v3/tags`},{srcPath:`/blog/v3/tags`,destPath:`/v3/tags`}],"manage._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v2/tags`,destPath:`/v2/tags`},{srcPath:`/_api/communities-blog-node-api/v3/bulk/tag`,destPath:`/v3/bulk/tag`},{srcPath:`/_api/communities-blog-node-api/v3/bulk/tags`,destPath:`/v3/bulk/tags`},{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"bo._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"wixbo.ai":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"wix-bo.com":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"editor._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"blocks._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"create.editorx":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"editor.wixapps.net":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"*.dev.wix-code.com":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}],"social-blog._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/tags`,destPath:`/v3/tags`}]}}))}var ia=`@wix/auto_sdk_blog_tags`;function aa(e){function t({host:t}){let n=A(e,[{transformFn:fn,paths:ta}]);return{entityFqdn:`wix.blog.v3.tag`,method:`POST`,methodFqn:`com.wixpress.npm.communities.platformized.blog.TagService.QueryTags`,packageName:ia,migrationOptions:{optInTransformResponse:!0},url:ra({protoPath:`/v3/tags/query`,data:n,host:t}),data:n,transformResponse:e=>A(e,[{transformFn:k,paths:na}])}}return t}var oa=[{path:`tags.url`}];function sa(e){let{httpClient:t,sideEffects:n}=arguments[1];return gr({func:async r=>{let i=aa({...r,...e??{}});n?.onSiteCall?.();try{let e=await t.request(i);return n?.onSuccess?.(e),e}catch(e){throw n?.onError?.(e),e}},requestTransformer:t=>{let n=[t,e];return D({...n?.[1],query:n?.[0]})},responseTransformer:({data:e})=>{let t=O(A(e,[{transformFn:V,paths:oa}]));return{items:t?.tags,pagingMetadata:t?.pagingMetadata}},errorTransformer:e=>{throw j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{query:`$[0]`},singleArgumentUnchanged:!1})},pagingMethod:`OFFSET`,transformationPaths:{}})}async function ca(e,t){let{httpClient:n,sideEffects:r}=arguments[2],i=aa(D({query:e,...t}));r?.onSiteCall?.();try{let e=await n.request(i);return r?.onSuccess?.(e),O(A(e.data,[{transformFn:V,paths:oa}]))}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{query:`$[0]`},singleArgumentUnchanged:!1},[`query`,`options`]);throw r?.onError?.(e),t}}function la(e){return t=>sa(t,{httpClient:e})}function ua(e){return(t,n)=>ca(t,n,{httpClient:e})}function da(e){let t=Er({builderQueryFunction:t=>la(e)(t),typedQueryFunction:(t,n)=>ua(e)(t,n),hasOptionsParameter:!0});function n(e,n){return t(...arguments)}return n}var fa=M(da),pa=async e=>{let{views:t}=await $i(e);return t},ma=e=>{let t=$n(),n=Jn();l(()=>{!e||t||n||typeof navigator<`u`&&navigator.webdriver||pa(e).catch(()=>{})},[e,t,n])},ha=()=>{try{return m(Kn).SSR}catch{return!1}},ga=(e,t)=>e.length===t.length&&e.every((e,n)=>Object.is(e,t[n]));function _a(e,t){let[n,r]=f(()=>({deps:t,value:e()}));return l(()=>{if(ga(n.deps,t))return;let i=e();o(()=>r({deps:t,value:i}))},t),n.value}var va=L(`@wix/viewer-service-site-members`),ya=()=>{try{return m(va)}catch{return}},ba=(e,t)=>{let n=ya(),[r,i]=f(),a=!!e.post?.preview;return l(()=>{if(!a)return;let e=!0,r=()=>{t().then(t=>{e&&t&&!t.preview&&i(t)},()=>{})};n?.isInitiallyLoggedIn&&r();let o=n?.addMemberLoginListener?.(()=>{i(void 0),r()});return()=>{e=!1,o!==void 0&&n?.removeMemberLoginListener?.(o)}},[a,t,n]),u(()=>a&&r&&r._id===e.post?._id?{...e,post:r,paywall:void 0}:e,[a,r,e])},W=L(`@wix/site-service-url`),xa=`14bcded7-0066-7c35-14d7-466cb3f09103`,Sa=`post`,Ca=`category`,wa=`builder-post`,Ta=`__blog_unknown_section__`,Ea=e=>{let t;try{let n=e.appSectionRelativeUrl(xa,wa);if(t=e.appSectionRelativeUrl(xa,wa,!0),n===e.appSectionRelativeUrl(`14bcded7-0066-7c35-14d7-466cb3f09103`,Ta)&&!n?.endsWith(`/post-page`)&&t===n)return}catch{return}if(!t)return;let n=t.split(`/`).filter(Boolean);return n[n.length-1]===`post-page`&&n.pop(),n.length>0?n.join(`/`):void 0},Da=e=>`${e}/${Sa}`,Oa=e=>{let t=Ea(e);if(t&&e.siteUrl)return`${e.siteUrl.replace(/\/+$/,``)}/${Da(t)}`},ka=(e,t)=>{if(!e||!t)return;let n;try{n=new URL(e)}catch{return}let r=n.pathname.replace(/\/+$/,``);for(let e of[t,encodeURIComponent(t)]){let t=`/${e}`,i=r.slice(0,-t.length);if(r.endsWith(t)&&i.endsWith(`/post`))return`${n.origin}${i}`}},Aa=e=>{if(!e)return;if(typeof e==`string`)return e;let{base:t,path:n}=e;return t?`${t.replace(/\/+$/,``)}${n??``}`:void 0},ja=(e,t)=>{let n=Aa(e.url),r=`/${Sa}`;if(!n||!t?.endsWith(r))return;let i,a;try{i=new URL(n),a=new URL(t)}catch{return}let{pathname:o}=i,s=a.pathname,c=s.slice(0,-r.length),l=c.slice(0,c.lastIndexOf(`/`));if(!c||o.startsWith(`${s}/`))return;let u=o.startsWith(`${c}/`),d=o.split(`/`),{slug:f}=e,p=f?d.includes(f)||d.includes(encodeURIComponent(f)):!1,m=i.origin===a.origin&&o.startsWith(`${l}/`)&&p;return u||m?n:void 0},Ma=(e,t)=>{let n=ja(e,t);if(n)return{href:n,target:`_self`};if(t&&e.slug)return{href:`${t}/${encodeURIComponent(e.slug)}`,target:`_self`};let r=Aa(e.url);return r?{href:r,target:`_self`}:void 0},Na=(e,t)=>{let n=Ea(e);if(n&&e.siteUrl)return`${e.siteUrl.replace(/\/+$/,``)}/${n}/${t}`},Pa=e=>{let t;try{t=m(W)}catch{return}return Oa(t)??ka(t.currentUrl,e)},Fa=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,Ia=e=>{let t=e.split(`/`).filter(Boolean);if(t.length<3)return;let[n,r,i]=t.slice(-3);if(r===`preview`&&Fa.test(n)&&i)return{draftPostId:n,instance:i}},La=()=>{let e;try{e=m(W).currentUrl}catch{return}if(e)try{return Ia(new URL(e).pathname)}catch{return}},Ra=(e,t)=>{let n;try{n=new URL(e).pathname.split(`/`).filter(Boolean)}catch{return}let r=t?.split(`/`).filter(Boolean)??[],i=n[n.length-1];if(r.length>0){for(let e=0;e+r.length<=n.length;e++)if(r.every((t,r)=>n[e+r]===t)){i=n[e+r.length];break}}if(i!==void 0)try{return decodeURIComponent(i)}catch{return i}},za=()=>{let e;try{e=m(W)}catch{return}if(!e.currentUrl)return;let t=Ea(e);return Ra(e.currentUrl,t&&Da(t))},Ba={categoryHeader:`WixBlog.CategoryHeader`,coverMedia:`WixBlog.PostCoverMedia`,postActions:`WixBlog.PostActionBar`,postCategories:`WixBlog.PostCategoryList`,postCounters:`WixBlog.PostCounterBar`,postMetadata:`WixBlog.PostMetadataBar`,postTags:`WixBlog.PostTagList`,feedProvider:`WixBlog.BlogFeedContextProvider`,postBySlugProvider:`WixBlog.PostBySlugContextProvider`,postByIdProvider:`WixBlog.PostByIdContextProvider`,relatedPostsProvider:`WixBlog.RelatedPostsContextProvider`},Va=e=>`${e} rendered`,Ha=(e,t,n)=>{l(()=>{if(t!==`loading`&&typeof performance<`u`&&typeof performance.mark==`function`)try{performance.mark(Va(e),{detail:{state:t,compId:n}})}catch{}},[e,t,n])},Ua=L(`seo/seo-service`),Wa=L(`@wix/site-service-renderer-configuration`),Ga={post:`post`,feed:`feed`,relatedPosts:`related-posts`,comments:`comments`,seo:`seo`,likes:`likes`},Ka=e=>{try{return e.getMonitoringClient?.()??null}catch{return null}},qa=(e,t)=>e&&typeof e[t]==`function`?e:null;function Ja(e,t,{feature:n,action:r,level:i=`error`,tags:a,contexts:o}){let s=qa(e,`captureException`);if(!s)return;let c=t instanceof Error?t:Error(String(t));s.captureException(c,{level:i,tags:{feature:n,action:r,...a},...o?{contexts:o}:{}})}function Ya(e,t,{feature:n,tags:r},i){let a=qa(e,`startSpanManual`);if(!a)return i;let o=a.startSpanManual({name:t,tags:{feature:n,...r}});return i.then(()=>o.end(),e=>o.fail(e instanceof Error?e:Error(String(e)))),i}var Xa=`https://static.wixstatic.com/media/`,Za=100,Qa=(e,t=``)=>{let n=e?.profile?.photo;if(!n?.url)return;let r=e?.profile?.nickname,{_id:i}=n,a=i||(n.url.startsWith(Xa)?n.url.slice(35).split(/[?#]/)[0]:void 0);return{...a&&{uri:a},url:n.url,name:r??a??`author-photo`,width:n.width||Za,height:n.height||Za,alt:r??t}},$a=`https://static.wixstatic.com/media/`,eo=`wix:image://`,to=1200,no=800,ro=e=>{if(!e)return;let t=Number.parseInt(e,10);return Number.isFinite(t)&&t>0?t:void 0},io=e=>{if(!e.startsWith(eo)){let t=e.split(/[?#]/)[0];return t?{uri:t}:void 0}let[t,n]=e.slice(12).split(`#`),[,r,i]=t.split(`/`).filter(Boolean);if(!r)return;let a=new URLSearchParams(n??``);return{uri:decodeURIComponent(r),name:i?decodeURIComponent(i):void 0,width:ro(a.get(`originWidth`)),height:ro(a.get(`originHeight`))}},ao=(e,t)=>{if(!e)return;let n=io(e);if(!n)return;let r=n.name??n.uri;return{uri:n.uri,url:`${$a}${n.uri}`,name:r,width:n.width??to,height:n.height??no,alt:t??r}},oo=e=>{let t=e?.media?.wixMedia?.image;if(!t)return;let n=io(t);if(!n)return;let r=n.name??n.uri;return{uri:n.uri,url:`${$a}${n.uri}`,name:r,width:n.width??to,height:n.height??no,alt:e?.media?.altText??e?.title??r}},so=e=>(e?.tags??[]).filter(e=>!e.disabled),co=e=>so(e).find(e=>e.type===`title`)?.children||void 0,lo=e=>{let t=so(e).find(e=>e.type===`meta`&&e.props?.name===`description`)?.props?.content;return typeof t==`string`&&t?t:void 0},uo=(e,t=[])=>(e.translations??[]).flatMap(({language:e,url:n})=>!e||!n?[]:[{url:n,langCode:(t.find(({id:t})=>t===e)??t.find(({languageCode:t})=>t===e))?.regionalFormat||e}]),fo=(e,t)=>{try{let n=new URL(t??``).searchParams.get(`lang`);if(!n)return e;let r=new URL(e);return r.searchParams.set(`lang`,n),r.toString()}catch{return e}},po=500,mo=`max-snippet:-1, max-image-preview:large, max-video-preview:-1`,ho=1e3,go=(e,t)=>{if(!e||!t)return{width:e,height:t};let n=Math.min(1,ho/e,ho/t);return{width:Math.round(e*n),height:Math.round(t*n)}},_o=e=>{if(!e)return;let t=new Date(e);return Number.isNaN(t.getTime())?void 0:t.toISOString()},vo=e=>(lo(e.seoData)||e.excerpt||e.contentText||void 0)?.slice(0,po),yo=(e,t)=>ja(e,t)||(t&&e.slug?`${t}/${encodeURIComponent(e.slug)}`:e.url||void 0),bo=(e,t,n,r=[],i,a)=>{let{_id:o}=e,s=r.flatMap(e=>e.label?[e.label]:[]),c=yo(e,n),l=c&&fo(c,a),u=e.media?.displayed?oo(e):void 0,d=Qa(t)?.url;return{post:{id:o,title:co(e.seoData)||e.title,language:e.language??void 0,description:vo(e),type:`article`,canonicalUrl:l,optInMeta:mo,slug:e.slug,excerpt:e.excerpt,firstPublishedDate:_o(e.firstPublishedDate),lastPublishedDate:_o(e.lastPublishedDate),owner:{name:t?.profile?.nickname??void 0,...d&&{image:{url:d}}},...s.length&&{categories:s.join(`, `),mainCategory:s[0]},path:l,...u&&{image:{url:u.url,...go(u.width,u.height)}}},postsSettings:{isAmpEnabled:!1,isSchemaEnabled:!0},translatedPages:uo(e,i)}},xo=new WeakSet,So=({post:e,author:t,categories:n},r=!1,i)=>{let a;try{a={seo:m(Ua),url:m(W),renderingContext:m(Kn)}}catch{return}let o;try{o=m(Wa).locales}catch{}let{_id:s}=e??{};if(!r&&e&&s&&!xo.has(e)&&a.renderingContext.SSR){xo.add(e);let r=Oa(a.url)??ka(a.url.currentUrl,e.slug);a.seo.setSeoEntity({itemType:`BLOG_POST`,itemData:bo({...e,_id:s},t,r,n,o,a.url.currentUrl),seoData:e.seoData}).catch(e=>{Ja(i,e,{feature:Ga.seo,action:`set-post-seo-entity`,contexts:{seo:{postId:s}}})})}},Co=L(`@wix/site-service-locale`),wo=()=>{let e,t;try{e=m(Wa).languageCode}catch{}try{t=m(Co).language}catch{}return e||t},To=`wix.blog.v4.post`,Eo=async(e,t)=>{let n=await sr({postFqdn:To,postId:e},t?{language:t}:void 0);if(typeof n!=`object`||!n)throw Error(`No Wix SDK context for the post paywall read`);let{richContent:r}=n;return D(r)},Do=`1522827f-c56c-a5c9-2ac9-00f9e6ae12d3`,Oo=`membership_plan_picker_tpa`,ko=e=>{let t;try{t=e.appSectionRelativeUrl(Do,Oo)}catch{return}if(t&&e.siteUrl)return`${e.siteUrl.replace(/\/+$/,``)}/${t.replace(/^\/+/,``)}`},Ao=(e,t)=>e.flatMap(e=>{let n=e.nodes?{...e,nodes:Ao(e.nodes,t)}:e;return e.type!==`BUTTON`||e.buttonData?.type!==`ACTION`?[n]:t?[{...n,buttonData:{...e.buttonData,type:`LINK`,link:{url:t,target:`SELF`,rel:{nofollow:!0}}}}]:[]}),jo=(e,t,n)=>{if(!t?.nodes?.length)return e;let r=Ao(t.nodes.map(e=>e.layoutData?{...e,layoutData:{...e.layoutData,banner:void 0}}:e),n);return{...e,nodes:[...e.nodes??[],...r]}},Mo=()=>{try{return m(W).currentUrl}catch{return}},No=()=>{try{return ko(m(W))}catch{return}},Po=(e,t)=>{let n;try{n=new URL(e)}catch{return}let r=n.pathname.split(`/`).filter(Boolean);if(r.length!==0)return r[r.length-1]=encodeURIComponent(t),n.pathname=`/${r.join(`/`)}`,n.toString()},Fo=(e,t,n)=>{let r=Mo(),i=$n(),a=Jn(),{language:o,translationId:s}=e??{},c=!!(t&&s&&o&&o!==t);l(()=>{if(!c||!t||!s||!r||i||a)return;let e=!1;return n(s,t).then(t=>{let n=t&&Po(r,t);!e&&n&&n!==r&&window.location.assign(n)}),()=>{e=!0}},[c,t,s,r,i,a,n])},Io=L(`@wix/site-service-warmup-data`);function Lo(){let e=ha(),t=null;try{t=p()(Io)}catch{}return u(()=>({isServer:e,scope:t??void 0,get:async n=>{if(e||!t)return null;try{return await t.get(n)}catch{return null}},set:(n,r)=>{if(e&&t)try{t.set(n,r)}catch{}}}),[e,t])}var Ro=()=>{let e=new Map;return{getOrInsert:(t,n)=>(e.has(t)||e.set(t,n().finally(()=>{e.delete(t)})),e.get(t))}},zo=async e=>{try{let{default:t}=await e();return t}catch{return}},Bo=({isDev:e,loadMessages:t,loadDevMessages:n})=>{let r=Ro(),i=async r=>{let[i,a]=await Promise.all([zo(()=>t(r)),!e||!n?void 0:zo(()=>n(r))]);if(i&&a)return{...i,...a};if(i)return i;if(a)return a;throw Error(`No translation files found for ${r}`)};return e=>r.getOrInsert(e,()=>i(e))},G=e=>typeof e==`string`,Vo=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},Ho=e=>e==null?``:String(e),Uo=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},Wo=/###/g,Go=e=>e&&e.includes(`###`)?e.replace(Wo,`.`):e,Ko=e=>!e||G(e),qo=(e,t,n)=>{let r=G(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(Ko(e))return{};let t=Go(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return Ko(e)?{}:{obj:e,k:Go(r[i])}},Jo=(e,t,n)=>{let{obj:r,k:i}=qo(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=qo(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=qo(e,o,Object),s?.obj&&s.obj[`${s.k}.${a}`]!==void 0&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},Yo=(e,t,n,r)=>{let{obj:i,k:a}=qo(e,t,Object);i[a]=i[a]||[],i[a].push(n)},Xo=(e,t)=>{let{obj:n,k:r}=qo(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},Zo=(e,t,n)=>{let r=Xo(e,n);return r===void 0?Xo(t,n):r},Qo=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(Object.prototype.hasOwnProperty.call(e,r)?G(e[r])||e[r]instanceof String||G(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Qo(e[r],t[r],n):e[r]=t[r]);return e},K=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),$o={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`,"/":`/`},es=e=>G(e)?e.replace(/[&<>"'\/]/g,e=>$o[e]):e,ts=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}},ns=[` `,`,`,`?`,`!`,`;`],rs=new ts(20),is=(e,t,n)=>{t||=``,n||=``;let r=ns.filter(e=>!t.includes(e)&&!n.includes(e));if(r.length===0)return!0;let i=rs.getRegExp(`(${r.map(e=>e===`?`?`\\?`:e).join(`|`)})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},as=(e,t,n=`.`)=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;let r=t.split(n),i=e;for(let e=0;e<r.length;){if(!i||typeof i!=`object`)return;let t,a=``;for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],t=i[a],(typeof t==`function`||a===`__proto__`)&&!Object.prototype.hasOwnProperty.call(i,a)&&(t=void 0),t!==void 0){if([`string`,`number`,`boolean`].includes(typeof t)&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},os=e=>e?.replace(/_/g,`-`),ss={type:`logger`,log(e){this.output(`log`,e)},warn(e){this.output(`warn`,e)},error(e){this.output(`error`,e)},output(e,t){console?.[e]?.apply?.(console,t)}},q=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||`i18next:`,this.logger=e||ss,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,`log`,``,!0)}warn(...e){return this.forward(e,`warn`,``,!0)}error(...e){return this.forward(e,`error`,``)}deprecate(...e){return this.forward(e,`warn`,`WARNING DEPRECATED: `,!0)}forward(e,t,n,r){return r&&!this.debug?null:(e=e.map(e=>G(e)?e.replace(/[\r\n\x00-\x1F\x7F]/g,` `):e),G(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t||=this.options,t.prefix=t.prefix||this.prefix,new e(this.logger,t)}},cs=class{constructor(){this.observers={}}on(e,t){return e.split(` `).forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}once(e,t){let n=(...r)=>{t(...r),this.off(e,n)};return this.on(e,n),this}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers[`*`]&&Array.from(this.observers[`*`].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n(e,...t)})}},ls=new WeakSet,us=class extends cs{constructor(e,t={ns:[`translation`],defaultNS:`translation`}){super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.includes(e)||this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){let i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o;e.includes(`.`)?o=e.split(`.`):(o=[e,t],n&&(Array.isArray(n)?o.push(...n):G(n)&&i?o.push(...n.split(i)):o.push(n)));let s=Xo(this.data,o);return s==null&&!t&&!n&&e.includes(`.`)&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s!=null||!a||!G(n)?s:as(this.data?.[e]?.[t],n,i)}addResource(e,t,n,r,i={silent:!1}){let a=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.includes(`.`)&&(o=e.split(`.`),r=t,t=o[1]),this.addNamespaces(t),Jo(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(let r in n)(G(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit(`added`,e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){let o=[e,t];e.includes(`.`)&&(o=e.split(`.`),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=Xo(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Qo(s,n,i):s={...s,...n},Jo(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||=this.options.defaultNS,this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>{let n=t[e];return ls.has(n)?!0:!n||Object.keys(n).length===0?!1:(typeof n==`object`&&ls.add(n),!0)})}toJSON(){return this.data}},ds={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}},fs=Symbol(`i18next/PATH_KEY`);function ps(){let e=[],t=Object.create(null),n;return t.get=(r,i)=>(n?.revoke?.(),i===fs?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function ms(e,t){let{[fs]:n}=e(ps()),r=t?.keySeparator??`.`,i=t?.nsSeparator??`:`,a=t?.enableSelector===`strict`;if(n.length>1&&i){let e=t?.ns,o=a?Array.isArray(e)?e:e?[e]:null:Array.isArray(e)?e:null;if(o&&(a?o:o.length>1?o.slice(1):[]).includes(n[0]))return`${n[0]}${i}${n.slice(1).join(r)}`}return n.join(r)}var hs=e=>!G(e)&&typeof e!=`boolean`&&typeof e!=`number`,gs=class e extends cs{constructor(e,t={}){super(),Uo([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=q.create(`translator`),this.checkedLoadedFor={}}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(e==null)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=hs(r.res);return!(n.returnObjects===!1&&i)}extractFromKey(e,t){let n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);let r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.includes(n),o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!is(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:G(i)?[i]:i};let a=e.split(n);(n!==r||n===r&&this.options.ns.includes(a[0]))&&(i=a.shift()),e=a.join(r)}return{key:e,namespaces:G(i)?[i]:i}}translate(t,n,r){let i=typeof n==`object`?{...n}:n;if(typeof i!=`object`&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i==`object`&&(i={...i}),i||={},t==null)return``;typeof t==`function`&&(t=ms(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(e=>typeof e==`function`?ms(e,{...this.options,...i}):String(e));let a=i.returnDetails===void 0?this.options.returnDetails:i.returnDetails,o=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,{key:s,namespaces:c}=this.extractFromKey(t[t.length-1],i),l=c[c.length-1],u=i.nsSeparator===void 0?this.options.nsSeparator:i.nsSeparator;u===void 0&&(u=`:`);let d=i.lng||this.language,f=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()===`cimode`)return f?a?{res:`${l}${u}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:`${l}${u}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:s;let p=this.resolve(t,i),m=p?.res,h=p?.usedKey||s,g=p?.exactUsedKey||s,_=[`[object Number]`,`[object Function]`,`[object RegExp]`],v=i.joinArrays===void 0?this.options.joinArrays:i.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=i.count!==void 0&&!G(i.count),x=e.hasDefaultValue(i),S=b?this.pluralResolver.getSuffix(d,i.count,i):``,C=i.ordinal&&b?this.pluralResolver.getSuffix(d,i.count,{ordinal:!1}):``,ee=b&&!i.ordinal&&i.count===0,w=ee&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${S}`]||i[`defaultValue${C}`]||i.defaultValue,T=m;y&&!m&&x&&(T=w);let te=hs(T),ne=Object.prototype.toString.apply(T);if(y&&T&&te&&!_.includes(ne)&&!(G(v)&&Array.isArray(T))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn(`accessing an object - but returnObjects options is not enabled!`);let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,T,{...i,ns:c}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(p.res=e,p.usedParams=this.getUsedParamsDetails(i),p):e}if(o){let e=Array.isArray(T),t=e?[]:{},n=e?g:h;for(let e in T)if(Object.prototype.hasOwnProperty.call(T,e)){let r=`${n}${o}${e}`;t[e]=x&&!m?this.translate(r,{...i,defaultValue:hs(w)?w[e]:void 0,joinArrays:!1,ns:c}):this.translate(r,{...i,joinArrays:!1,ns:c}),t[e]===r&&(t[e]=T[e])}m=t}}else if(y&&G(v)&&Array.isArray(m))m=m.join(v),m&&=this.extendTranslation(m,t,i,p,r);else{let e=!1,n=!1;!this.isValidLookup(m)&&x&&(e=!0,m=w),this.isValidLookup(m)||(n=!0,m=s);let a=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:m,c=x&&w!==m&&this.options.updateMissing;if(n||e||c){if(this.logger.log(c?`updateKey`:`missingKey`,d,l,b&&!c?`${s}${this.pluralResolver.getSuffix(d,i.count,i)}`:s,c?w:m),o){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo===`fallback`&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else this.options.saveMissingTo===`all`?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let n=(e,t,n)=>{let r=x&&n!==m?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,r,c,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,r,c,i),this.emit(`missingKey`,e,l,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);ee&&i[`defaultValue${this.options.pluralSeparator}zero`]&&!t.includes(`${this.options.pluralSeparator}zero`)&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,i[`defaultValue${t}`]||w)})}):n(e,s,w))}m=this.extendTranslation(m,t,i,p,r),n&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${l}${u}${s}`),(n||e)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${s}`:s,e?m:void 0,i))}return a?(p.res=m,p.usedParams=this.getUsedParamsDetails(i),p):m}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let a=G(e)&&(n?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:n.interpolation.skipOnVariables),o;if(a){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let s=n.replace&&!G(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),a){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;o<r&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,(...e)=>i?.[0]===e[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null):this.translate(...e,t),n)),n.interpolation&&this.interpolator.reset()}let a=n.postProcess||this.options.postProcess,o=G(a)?[a]:a;return e!=null&&o?.length&&n.applyPostProcessor!==!1&&(e=ds.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,i,a,o;return G(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>typeof e==`function`?ms(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(n))return;let s=this.extractFromKey(e,t),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let u=t.count!==void 0&&!G(t.count),d=u&&!t.ordinal&&t.count===0,f=t.context!==void 0&&(G(t.context)||typeof t.context==`number`)&&t.context!==``,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);l.forEach(e=>{this.isValidLookup(n)||(o=e,!this.checkedLoadedFor[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(this.checkedLoadedFor[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(`, `)}" won't get resolved as namespace "${o}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),p.forEach(r=>{if(this.isValidLookup(n))return;a=r;let o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(t.ordinal&&e.startsWith(i)&&o.push(c+e.replace(i,this.options.pluralSeparator)),o.push(c+e),d&&o.push(c+n)),f){let r=`${c}${this.options.contextSeparator||`_`}${t.context}`;o.push(r),u&&(t.ordinal&&e.startsWith(i)&&o.push(r+e.replace(i,this.options.pluralSeparator)),o.push(r+e),d&&o.push(r+n))}}let s;for(;s=o.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e===``)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){let t=[`defaultValue`,`ordinal`,`context`,`replace`,`lng`,`lngs`,`fallbackLng`,`ns`,`keySeparator`,`nsSeparator`,`returnObjects`,`returnDetails`,`joinArrays`,`postProcess`,`interpolation`],n=e.replace&&!G(e.replace),r=n?e.replace:e;if(n&&e.count!==void 0&&(r={...r,count:e.count}),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(let e of t)delete r[e]}return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.startsWith(`defaultValue`)&&e[t]!==void 0)return!0;return!1}},_s=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=q.create(`languageUtils`),this.resolveHierarchyCache={}}clearCache(){this.resolveHierarchyCache={}}getScriptPartFromCode(e){if(e=os(e),!e||!e.includes(`-`))return null;let t=e.split(`-`);return t.length===2||(t.pop(),t[t.length-1].toLowerCase()===`x`)?null:this.formatLanguageCode(t.join(`-`))}getLanguagePartFromCode(e){if(e=os(e),!e||!e.includes(`-`))return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(G(e)&&e.includes(`-`)){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.includes(e)}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>e===r?!0:!e.includes(`-`)&&!r.includes(`-`)?!1:!(!e.includes(`-`)||r.includes(`-`)||e.slice(0,e.indexOf(`-`))!==r))}),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t}getFallbackCodes(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),G(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||=e[this.getScriptPartFromCode(t)],n||=e[this.formatLanguageCode(t)],n||=e[this.getLanguagePartFromCode(t)],n||=e.default,n||[]}toResolveHierarchy(e,t){let n=this.options.fallbackLng,r=Array.isArray(n)?n.join(`|`):n;r!==this._cachedFallbackLng&&(this.resolveHierarchyCache={},this._cachedFallbackLng=r);let i=t===void 0||t===!1||G(t),a=t===void 0&&typeof this.options.fallbackLng==`function`,o=G(e)&&i&&!a,s=null;if(o){let n;n=t===void 0?`undefined`:t===!1?`boolean:false`:`string:${t}`,s=`${e.length}:${e}|${n}`}if(s!==null){let e=this.resolveHierarchyCache[s];if(e!==void 0)return e.slice()}let c=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),l=[],u=e=>{e&&(this.isSupportedCode(e)?l.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return G(e)&&(e.includes(`-`)||e.includes(`_`))?(this.options.load!==`languageOnly`&&u(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&u(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&u(this.getLanguagePartFromCode(e))):G(e)&&u(this.formatLanguageCode(e)),c.forEach(e=>{let t=this.formatLanguageCode(e);l.includes(t)||u(t)}),s===null?l:(this.resolveHierarchyCache[s]=l,l.slice())}},vs={zero:0,one:1,two:2,few:3,many:4,other:5},ys={select:e=>e===1?`one`:`other`,resolvedOptions:()=>({pluralCategories:[`one`,`other`]})},bs=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=q.create(`pluralResolver`),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n=os(e===`dev`?`en`:e),r=t.ordinal?`ordinal`:`cardinal`,i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:r})}catch{if(typeof Intl>`u`)return this.logger.error(`No Intl support, please use an Intl polyfill!`),ys;if(!e.match(/-|_/))return ys;let n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[i]=a,a}needsPlural(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?n.resolvedOptions().pluralCategories.sort((e,t)=>vs[e]-vs[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:``}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:``}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix(`dev`,t,n))}},xs=(e,t,n,r=`.`,i=!0)=>{let a=Zo(e,t,n);return!a&&i&&G(n)&&(a=as(e,n,r),a===void 0&&(a=as(t,n,r))),a},Ss=class{constructor(e={}){this.logger=q.create(`interpolator`),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||={escapeValue:!0};let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:g,alwaysFormat:_}=e.interpolation;this.escape=t===void 0?es:t,this.escapeValue=n===void 0||n,this.useRawValueToEscape=r!==void 0&&r,this.prefix=i?K(i):a||`{{`,this.suffix=o?K(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u?K(u):`-`,this.unescapeSuffix=this.unescapePrefix?``:l?K(l):``,this.nestingPrefix=d?K(d):f||K(`$t(`),this.nestingSuffix=p?K(p):m||K(`)`),this.nestingOptionsSeparator=h||`,`,this.maxReplaces=g||1e3,this.alwaysFormat=_!==void 0&&_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,`g`);this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']|"[^"]*"|'[^']*'|\\((?:[^()"']|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,a,o,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(!e.includes(this.formatSeparator)){let i=xs(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(xs(t,s,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:a})};this.resetRegExp(),!this.escapeValue&&typeof e==`string`&&/\$t\([^)]*\{[^}]*\{\{/.test(e)&&this.logger.warn(`nesting options string contains interpolated variables with escapeValue: false — if any of those values are attacker-controlled they can inject additional nesting options (e.g. redirect lng/ns). Sanitise untrusted input before passing it to t(), or keep escapeValue: true.`);let l=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:r.interpolation.skipOnVariables,d=[{regex:this.regexpUnescape,safeValue:e=>e},{regex:this.regexp,safeValue:e=>this.escapeValue?this.escape(e):e}],f=[],p=0;return d.forEach(t=>{for(o=0;i=t.regex.exec(e);){let n=i.index-p,s=f.find(([e,t])=>n>=e&&n<t);if(s){t.regex.lastIndex=s[1]+p;continue}let d=i[1].trim();if(a=c(d),a===void 0){if(typeof l==`function`){let t=l(e,i,r);a=G(t)?t:``}else if(r&&Object.prototype.hasOwnProperty.call(r,d))a=``;else if(u){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${d} for interpolating ${e}`),a=``}else!G(a)&&!this.useRawValueToEscape&&(a=Ho(a));let m=Ho(t.safeValue(a));if(e=e.slice(0,i.index)+m+e.slice(i.index+i[0].length),u?(t.regex===this.regexpUnescape?f.push([i.index,i.index+m.length]):p+=m.length-i[0].length,t.regex.lastIndex+=m.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,a,o=(e,t)=>{let n=this.nestingOptionsSeparator;if(!e.includes(n))return e;let r=e.split(RegExp(`${K(n)}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,a);let o=i.match(/'/g),s=i.match(/"/g);((o?.length??0)%2==0&&!s||(s?.length??0)%2!=0)&&(i=i.replace(/'/g,`"`));try{a=JSON.parse(i),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return a.defaultValue&&a.defaultValue.includes(this.prefix)&&delete a.defaultValue,e},s=new RegExp(this.nestingRegexp),c=``,l=0;for(;r=s.exec(e);){let u=[];a={...n},a=a.replace&&!G(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let d=/{.*}/s.test(r[1])?r[1].lastIndexOf(`}`)+1:r[1].indexOf(this.formatSeparator);if(d!==-1&&(u=r[1].slice(d).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,d)),i=t(o.call(this,r[1].trim(),a),a),i&&r[0]===e&&!G(i))return i;G(i)||(i=Ho(i)),i||=(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),``),u.length&&(i=u.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),c+=e.slice(l,r.index)+Ho(i),l=s.lastIndex,this.regexp.lastIndex=0}return l?c+e.slice(l):e}},Cs=e=>{let t=e.toLowerCase().trim(),n={};if(e.includes(`(`)){let r=e.split(`(`);t=r[0].toLowerCase().trim();let i=r[1].slice(0,-1);t===`currency`&&!i.includes(`:`)?n.currency||=i.trim():t===`relativetime`&&!i.includes(`:`)?n.range||=i.trim():i.split(`;`).forEach(e=>{if(e){let[t,...r]=e.split(`:`),i=r.join(`:`).trim().replace(/^'+|'+$/g,``),a=t.trim();n[a]||(n[a]=i),i===`false`&&(n[a]=!1),i===`true`&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}},ws=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o;try{o=r+JSON.stringify(a)}catch{return e(os(r),i)(n)}let s=t[o];return s||(s=e(os(r),i),t[o]=s),s(n)}},Ts=e=>(t,n,r)=>e(os(n),r)(t),Es=class{constructor(e={}){this.logger=q.create(`formatter`),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||`,`;let n=t.cacheInBuiltFormats?ws:Ts;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:`currency`});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||`day`)}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=ws(t)}format(e,t,n,r={}){if(!t||e==null)return e;let i=t.split(this.formatSeparator),a=[];for(let e=0;e<i.length;e++){let t=i[e];for(;t.indexOf(`(`)>-1&&!t.includes(`)`)&&e+1<i.length;)t=`${t}${this.formatSeparator}${i[++e]}`;a.push(t)}return a.reduce((e,t)=>{let{formatName:i,formatOptions:a}=Cs(t);if(this.formats[i]){let t=e;try{let o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}},Ds=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},Os=class extends cs{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=q.create(`backendConnector`),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(this.state[o]===1?a[o]===void 0&&(a[o]=!0):(this.state[o]=1,r=!1,a[o]===void 0&&(a[o]=!0),i[o]===void 0&&(i[o]=!0),s[t]===void 0&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split(`|`),i=r[0],a=r[1];t&&this.emit(`failedLoading`,i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let o={};this.queue.forEach(n=>{Yo(n.loaded,[i],a),Ds(n,e),t&&n.errors.push(t),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{o[e][t]===void 0&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit(`loaded`,o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});return}this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}o&&s&&r<this.maxRetries?setTimeout(()=>{this.read(e,t,n,r+1,i*2,a)},i):a(o,s)},s=this.backend[n].bind(this.backend);if(s.length===2)try{let n=s(e,t);n&&typeof n.then==`function`?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}else return s(e,t,o)}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),r&&r();G(e)&&(e=this.languageUtils.toResolveHierarchy(e)),G(t)&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=``){let n=e.split(`|`),r=n[0],i=n[1];this.read(r,i,`read`,void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t))this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`);else if(n!=null&&n!==``){if(this.backend?.create){let s={...a,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let i;i=c.length===5?c(e,t,n,r,s):c(e,t,n,r),i&&typeof i.then==`function`?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else c(e,t,n,r,o,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}},ks=()=>({debug:!1,initAsync:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:[`dev`],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,enableSelector:!1,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==`object`&&(t=e[1]),G(e[1])&&(t.defaultValue=e[1]),G(e[2])&&(t.tDescription=e[2]),typeof e[2]==`object`||typeof e[3]==`object`){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),As=e=>(G(e.ns)&&(e.ns=[e.ns]),G(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),G(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&!e.supportedLngs.includes(`cimode`)&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),e),js=()=>{},Ms=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},J=class e extends cs{constructor(e={},t){if(super(),this.options=As(e),this.services={},this.logger=q,this.modules={external:[]},Ms(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e==`function`&&(t=e,e={}),e.defaultNS==null&&e.ns&&(G(e.ns)?e.defaultNS=e.ns:e.ns.includes(`translation`)||(e.defaultNS=e.ns[0]));let n=ks();this.options={...n,...this.options,...As(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!=`function`&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler);let r=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.modules.logger?q.init(r(this.modules.logger),this.options):q.init(null,this.options);let e;e=this.modules.formatter?this.modules.formatter:Es;let t=new _s(this.options);this.store=new us(this.options.resources,this.options);let n=this.services;n.logger=q,n.resourceStore=this.store,n.languageUtils=t,n.pluralResolver=new bs(t,{prepend:this.options.pluralSeparator}),e&&(n.formatter=r(e),n.formatter.init&&n.formatter.init(n,this.options),this.options.interpolation.format=n.formatter.format.bind(n.formatter)),n.interpolator=new Ss(this.options),n.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},n.backendConnector=new Os(r(this.modules.backend),n.resourceStore,n,this.options),n.backendConnector.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(n.languageDetector=r(this.modules.languageDetector),n.languageDetector.init&&n.languageDetector.init(n,this.options.detection,this.options)),this.modules.i18nFormat&&(n.i18nFormat=r(this.modules.i18nFormat),n.i18nFormat.init&&n.i18nFormat.init(this)),this.translator=new gs(this.services,this.options),this.translator.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||=js,this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&e[0]!==`dev`&&(this.options.lng=e[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let i=Vo(),a=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(`init: i18next is already initialized. You should call init just once!`),this.isInitialized=!0,this.options.isClone||this.logger.log(`initialized`,this.options),this.emit(`initialized`,this.options),i.resolve(n),t(e,n)};if((this.languages||this.isLanguageChangingTo)&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),i}loadResources(e,t=js){let n=t,r=G(e)?e:this.language;if(typeof e==`function`&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()===`cimode`&&(!this.options.preload||this.options.preload.length===0))return n();let e=[],t=t=>{t&&t!==`cimode`&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{t!==`cimode`&&(e.includes(t)||e.push(t))})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{!e&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=Vo();return typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=void 0),e||=this.languages,t||=this.options.ns,n||=js,this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);return e.type===`backend`&&(this.modules.backend=e),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&(this.modules.languageDetector=e),e.type===`i18nFormat`&&(this.modules.i18nFormat=e),e.type===`postProcessor`&&ds.addPostProcessor(e),e.type===`formatter`&&(this.modules.formatter=e),e.type===`3rdParty`&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&![`cimode`,`dev`].includes(e)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(![`cimode`,`dev`].includes(t)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&!this.languages.includes(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=Vo();this.emit(`languageChanging`,e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit(`languageChanged`,a),this.logger.log(`languageChanged`,a)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},a=t=>{!e&&!t&&this.services.languageDetector&&(t=[]);let n=G(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(G(t)?[t]:t);a&&(this.language||r(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{i(e,a)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e),n}getFixedT(e,t,n,r){let i=r?.scopeNs,a=(e,t,...r)=>{let o;o=typeof t==`object`?{...t}:this.options.overloadTranslationOptionHandler([e,t].concat(r)),o.lng=o.lng||a.lng,o.lngs=o.lngs||a.lngs;let s=o.ns!==void 0&&o.ns!==null;o.ns=o.ns||a.ns,o.keyPrefix!==``&&(o.keyPrefix=o.keyPrefix||n||a.keyPrefix);let c={...this.options,...o};Array.isArray(i)&&!s&&(c.ns=i),typeof o.keyPrefix==`function`&&(o.keyPrefix=ms(o.keyPrefix,c));let l=this.options.keySeparator||`.`,u;return o.keyPrefix&&Array.isArray(e)?u=e.map(e=>(typeof e==`function`&&(e=ms(e,c)),`${o.keyPrefix}${l}${e}`)):(typeof e==`function`&&(e=ms(e,c)),u=o.keyPrefix?`${o.keyPrefix}${l}${e}`:e),this.t(u,o)};return G(e)?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=n,a}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()===`cimode`)return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return n===-1||n===0||n===2};if(t.precheck){let e=t.precheck(this,a);if(e!==void 0)return e}if(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages)return!0;let{languageUtils:o}=this.services,s=t.lng?o.isSupportedCode(n)&&o.toResolveHierarchy(n,!1)[0]:n;return!(s&&!a(s,e)||r&&!a(i,e))}loadNamespaces(e,t){let n=Vo();return this.options.ns?(G(e)&&(e=[e]),e.forEach(e=>{this.options.ns.includes(e)||this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=Vo();G(e)&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>!r.includes(e)&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language),!e)return`rtl`;try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch{}let t=`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`),n=this.services?.languageUtils||new _s(ks());return e.toLowerCase().indexOf(`-latn`)>1?`ltr`:t.includes(n.getLanguagePartFromCode(e))||e.toLowerCase().indexOf(`-arab`)>1?`rtl`:`ltr`}static createInstance(t={},n){let r=new e(t,n);return r.createInstance=e.createInstance,r}cloneInstance(t={},n=js){let r=t.forkResourceStore;r&&delete t.forkResourceStore;let i={...this.options,preload:!1,...t,isClone:!0},a=new e(i);if((t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),[`store`,`services`,`language`].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r){let e=t=>{let n=Array.isArray(t)?[...t]:{...t};return Object.keys(n).forEach(t=>{n[t]&&typeof n[t]==`object`&&(n[t]=e(n[t]))}),n};a.store=new us(e(this.store.data),i),a.services.resourceStore=a.store}if(t.interpolation){let e={...ks().interpolation,...this.options.interpolation,...t.interpolation},n={...i,interpolation:e};a.services.interpolator=new Ss(n)}return a.translator=new gs(a.services,i),a.translator.on(`*`,(e,...t)=>{a.emit(e,...t)}),a.init(i,n),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}.createInstance();J.createInstance,J.dir,J.init,J.loadResources,J.reloadResources,J.use,J.changeLanguage,J.getFixedT,J.t,J.exists,J.setDefaultNamespace,J.hasLoadedNamespace,J.loadNamespaces,J.loadLanguages;var Ns=({locale:e,asyncMessagesLoader:t,messages:n,useSuspense:r=!1,disableAutoInit:i=!1,bindI18n:a},{icu:o}={})=>{let s={lng:e,fallbackLng:`en`,keySeparator:!1,react:{useSuspense:r,bindI18n:a},_polyfill:{isLoading:!1}},c=J.createInstance(i?s:void 0);return o&&c.use(o),t&&c.use({type:`backend`,read:async(e,n,r)=>{try{return r(null,await t(e))}catch(e){return r(e,null)}}}),n&&(s.resources={[e]:{translation:n}}),i||c.init(s),c};function Ps(e,t){let n=t&&t.cache?t.cache:Ws,r=t&&t.serializer?t.serializer:Hs;return(t&&t.strategy?t.strategy:zs)(e,{cache:n,serializer:r})}function Fs(e){return e==null||typeof e==`number`||typeof e==`boolean`}function Is(e,t,n,r){let i=Fs(r)?r:n(r),a=t.get(i);return a===void 0&&(a=e.call(this,r),t.set(i,a)),a}function Ls(e,t,n){let r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return a===void 0&&(a=e.apply(this,r),t.set(i,a)),a}function Rs(e,t,n,r,i){return n.bind(t,e,r,i)}function zs(e,t){let n=e.length===1?Is:Ls;return Rs(e,this,n,t.cache.create(),t.serializer)}function Bs(e,t){return Rs(e,this,Ls,t.cache.create(),t.serializer)}function Vs(e,t){return Rs(e,this,Is,t.cache.create(),t.serializer)}var Hs=function(){return JSON.stringify(arguments)},Us=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}},Ws={create:function(){return new Us}},Gs={variadic:Bs,monadic:Vs},Ks=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function qs(e){let t={};return e.replace(Ks,e=>{let n=e.length;switch(e[0]){case`G`:t.era=n===4?`long`:n===5?`narrow`:`short`;break;case`y`:t.year=n===2?`2-digit`:`numeric`;break;case`Y`:case`u`:case`U`:case`r`:throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case`q`:case`Q`:throw RangeError("`q/Q` (quarter) patterns are not supported");case`M`:case`L`:t.month=[`numeric`,`2-digit`,`short`,`long`,`narrow`][n-1];break;case`w`:case`W`:throw RangeError("`w/W` (week) patterns are not supported");case`d`:t.day=[`numeric`,`2-digit`][n-1];break;case`D`:case`F`:case`g`:throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case`E`:t.weekday=n===4?`long`:n===5?`narrow`:`short`;break;case`e`:if(n<4)throw RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=[`short`,`long`,`narrow`,`short`][n-3];break;case`c`:if(n<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=[`short`,`long`,`narrow`,`short`][n-3];break;case`a`:t.hour12=!0;break;case`b`:case`B`:throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case`h`:t.hourCycle=`h12`,t.hour=[`numeric`,`2-digit`][n-1];break;case`H`:t.hourCycle=`h23`,t.hour=[`numeric`,`2-digit`][n-1];break;case`K`:t.hourCycle=`h11`,t.hour=[`numeric`,`2-digit`][n-1];break;case`k`:t.hourCycle=`h24`,t.hour=[`numeric`,`2-digit`][n-1];break;case`j`:case`J`:case`C`:throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case`m`:t.minute=[`numeric`,`2-digit`][n-1];break;case`s`:t.second=[`numeric`,`2-digit`][n-1];break;case`S`:case`A`:throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case`z`:t.timeZoneName=n<4?`short`:`long`;break;case`Z`:case`O`:case`v`:case`V`:case`X`:case`x`:throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return``}),t}var Js=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Ys(e){if(e.length===0)throw Error(`Number skeleton cannot be empty`);let t=e.split(Js).filter(e=>e.length>0),n=[];for(let e of t){let t=e.split(`/`);if(t.length===0)throw Error(`Invalid number skeleton`);let[r,...i]=t;for(let e of i)if(e.length===0)throw Error(`Invalid number skeleton`);n.push({stem:r,options:i})}return n}function Xs(e){return e.replace(/^(.*?)-/,``)}var Zs=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Qs=/^(@+)?(\+|#+)?[rs]?$/g,$s=/(\*)(0+)|(#+)(0+)|(0+)/g,ec=/^(0+)$/;function tc(e){let t={};return e[e.length-1]===`r`?t.roundingPriority=`morePrecision`:e[e.length-1]===`s`&&(t.roundingPriority=`lessPrecision`),e.replace(Qs,function(e,n,r){return typeof r==`string`?r===`+`?t.minimumSignificantDigits=n.length:n[0]===`#`?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof r==`string`?r.length:0)):(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length),``}),t}function nc(e){switch(e){case`sign-auto`:return{signDisplay:`auto`};case`sign-accounting`:case`()`:return{currencySign:`accounting`};case`sign-always`:case`+!`:return{signDisplay:`always`};case`sign-accounting-always`:case`()!`:return{signDisplay:`always`,currencySign:`accounting`};case`sign-except-zero`:case`+?`:return{signDisplay:`exceptZero`};case`sign-accounting-except-zero`:case`()?`:return{signDisplay:`exceptZero`,currencySign:`accounting`};case`sign-never`:case`+_`:return{signDisplay:`never`}}}function rc(e){let t;if(e[0]===`E`&&e[1]===`E`?(t={notation:`engineering`},e=e.slice(2)):e[0]===`E`&&(t={notation:`scientific`},e=e.slice(1)),t){let n=e.slice(0,2);if(n===`+!`?(t.signDisplay=`always`,e=e.slice(2)):n===`+?`&&(t.signDisplay=`exceptZero`,e=e.slice(2)),!ec.test(e))throw Error(`Malformed concise eng/scientific notation`);t.minimumIntegerDigits=e.length}return t}function ic(e){return nc(e)||{}}function ac(e){let t={};for(let n of e){switch(n.stem){case`percent`:case`%`:t.style=`percent`;continue;case`%x100`:t.style=`percent`,t.scale=100;continue;case`currency`:t.style=`currency`,t.currency=n.options[0];continue;case`group-off`:case`,_`:t.useGrouping=!1;continue;case`precision-integer`:case`.`:t.maximumFractionDigits=0;continue;case`measure-unit`:case`unit`:t.style=`unit`,t.unit=Xs(n.options[0]);continue;case`compact-short`:case`K`:t.notation=`compact`,t.compactDisplay=`short`;continue;case`compact-long`:case`KK`:t.notation=`compact`,t.compactDisplay=`long`;continue;case`scientific`:t={...t,notation:`scientific`,...n.options.reduce((e,t)=>({...e,...ic(t)}),{})};continue;case`engineering`:t={...t,notation:`engineering`,...n.options.reduce((e,t)=>({...e,...ic(t)}),{})};continue;case`notation-simple`:t.notation=`standard`;continue;case`unit-width-narrow`:t.currencyDisplay=`narrowSymbol`,t.unitDisplay=`narrow`;continue;case`unit-width-short`:t.currencyDisplay=`code`,t.unitDisplay=`short`;continue;case`unit-width-full-name`:t.currencyDisplay=`name`,t.unitDisplay=`long`;continue;case`unit-width-iso-code`:t.currencyDisplay=`symbol`;continue;case`scale`:t.scale=parseFloat(n.options[0]);continue;case`rounding-mode-floor`:t.roundingMode=`floor`;continue;case`rounding-mode-ceiling`:t.roundingMode=`ceil`;continue;case`rounding-mode-down`:t.roundingMode=`trunc`;continue;case`rounding-mode-up`:t.roundingMode=`expand`;continue;case`rounding-mode-half-even`:t.roundingMode=`halfEven`;continue;case`rounding-mode-half-down`:t.roundingMode=`halfTrunc`;continue;case`rounding-mode-half-up`:t.roundingMode=`halfExpand`;continue;case`integer-width`:if(n.options.length>1)throw RangeError(`integer-width stems only accept a single optional option`);n.options[0].replace($s,function(e,n,r,i,a,o){if(n)t.minimumIntegerDigits=r.length;else if(i&&a)throw Error(`We currently do not support maximum integer digits`);else if(o)throw Error(`We currently do not support exact integer digits`);return``});continue}if(ec.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Zs.test(n.stem)){if(n.options.length>1)throw RangeError(`Fraction-precision stems only accept a single optional option`);n.stem.replace(Zs,function(e,n,r,i,a,o){return r===`*`?t.minimumFractionDigits=n.length:i&&i[0]===`#`?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),``});let e=n.options[0];e===`w`?t={...t,trailingZeroDisplay:`stripIfInteger`}:e&&(t={...t,...tc(e)});continue}if(Qs.test(n.stem)){t={...t,...tc(n.stem)};continue}let e=nc(n.stem);e&&(t={...t,...e});let r=rc(n.stem);r&&(t={...t,...r})}return t}var oc=function(e){return e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]=`EXPECT_ARGUMENT_CLOSING_BRACE`,e[e.EMPTY_ARGUMENT=2]=`EMPTY_ARGUMENT`,e[e.MALFORMED_ARGUMENT=3]=`MALFORMED_ARGUMENT`,e[e.EXPECT_ARGUMENT_TYPE=4]=`EXPECT_ARGUMENT_TYPE`,e[e.INVALID_ARGUMENT_TYPE=5]=`INVALID_ARGUMENT_TYPE`,e[e.EXPECT_ARGUMENT_STYLE=6]=`EXPECT_ARGUMENT_STYLE`,e[e.INVALID_NUMBER_SKELETON=7]=`INVALID_NUMBER_SKELETON`,e[e.INVALID_DATE_TIME_SKELETON=8]=`INVALID_DATE_TIME_SKELETON`,e[e.EXPECT_NUMBER_SKELETON=9]=`EXPECT_NUMBER_SKELETON`,e[e.EXPECT_DATE_TIME_SKELETON=10]=`EXPECT_DATE_TIME_SKELETON`,e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]=`UNCLOSED_QUOTE_IN_ARGUMENT_STYLE`,e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]=`EXPECT_SELECT_ARGUMENT_OPTIONS`,e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]=`EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]=`INVALID_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]=`EXPECT_SELECT_ARGUMENT_SELECTOR`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]=`EXPECT_PLURAL_ARGUMENT_SELECTOR`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]=`EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]=`EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT`,e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]=`INVALID_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]=`DUPLICATE_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]=`DUPLICATE_SELECT_ARGUMENT_SELECTOR`,e[e.MISSING_OTHER_CLAUSE=22]=`MISSING_OTHER_CLAUSE`,e[e.INVALID_TAG=23]=`INVALID_TAG`,e[e.INVALID_TAG_NAME=25]=`INVALID_TAG_NAME`,e[e.UNMATCHED_CLOSING_TAG=26]=`UNMATCHED_CLOSING_TAG`,e[e.UNCLOSED_TAG=27]=`UNCLOSED_TAG`,e}({});function sc(e){return e.type===0}function cc(e){return e.type===1}function lc(e){return e.type===2}function uc(e){return e.type===3}function dc(e){return e.type===4}function fc(e){return e.type===5}function pc(e){return e.type===6}function mc(e){return e.type===7}function hc(e){return e.type===8}function gc(e){return!!(e&&typeof e==`object`&&e.type===0)}function _c(e){return!!(e&&typeof e==`object`&&e.type===1)}var vc=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,yc={"001":[`H`,`h`],419:[`h`,`H`,`hB`,`hb`],AC:[`H`,`h`,`hb`,`hB`],AD:[`H`,`hB`],AE:[`h`,`hB`,`hb`,`H`],AF:[`H`,`hb`,`hB`,`h`],AG:[`h`,`hb`,`H`,`hB`],AI:[`H`,`h`,`hb`,`hB`],AL:[`h`,`H`,`hB`],AM:[`H`,`hB`],AO:[`H`,`hB`],AR:[`h`,`H`,`hB`,`hb`],AS:[`h`,`H`],AT:[`H`,`hB`],AU:[`h`,`hb`,`H`,`hB`],AW:[`H`,`hB`],AX:[`H`],AZ:[`H`,`hB`,`h`],BA:[`H`,`hB`,`h`],BB:[`h`,`hb`,`H`,`hB`],BD:[`h`,`hB`,`H`],BE:[`H`,`hB`],BF:[`H`,`hB`],BG:[`H`,`hB`,`h`],BH:[`h`,`hB`,`hb`,`H`],BI:[`H`,`h`],BJ:[`H`,`hB`],BL:[`H`,`hB`],BM:[`h`,`hb`,`H`,`hB`],BN:[`hb`,`hB`,`h`,`H`],BO:[`h`,`H`,`hB`,`hb`],BQ:[`H`],BR:[`H`,`hB`],BS:[`h`,`hb`,`H`,`hB`],BT:[`h`,`H`],BW:[`H`,`h`,`hb`,`hB`],BY:[`H`,`h`],BZ:[`H`,`h`,`hb`,`hB`],CA:[`h`,`hb`,`H`,`hB`],CC:[`H`,`h`,`hb`,`hB`],CD:[`hB`,`H`],CF:[`H`,`h`,`hB`],CG:[`H`,`hB`],CH:[`H`,`hB`,`h`],CI:[`H`,`hB`],CK:[`H`,`h`,`hb`,`hB`],CL:[`h`,`H`,`hB`,`hb`],CM:[`H`,`h`,`hB`],CN:[`H`,`hB`,`hb`,`h`],CO:[`h`,`H`,`hB`,`hb`],CP:[`H`],CR:[`h`,`H`,`hB`,`hb`],CU:[`h`,`H`,`hB`,`hb`],CV:[`H`,`hB`],CW:[`H`,`hB`],CX:[`H`,`h`,`hb`,`hB`],CY:[`h`,`H`,`hb`,`hB`],CZ:[`H`],DE:[`H`,`hB`],DG:[`H`,`h`,`hb`,`hB`],DJ:[`h`,`H`],DK:[`H`],DM:[`h`,`hb`,`H`,`hB`],DO:[`h`,`H`,`hB`,`hb`],DZ:[`h`,`hB`,`hb`,`H`],EA:[`H`,`h`,`hB`,`hb`],EC:[`h`,`H`,`hB`,`hb`],EE:[`H`,`hB`],EG:[`h`,`hB`,`hb`,`H`],EH:[`h`,`hB`,`hb`,`H`],ER:[`h`,`H`],ES:[`H`,`hB`,`h`,`hb`],ET:[`hB`,`hb`,`h`,`H`],FI:[`H`],FJ:[`h`,`hb`,`H`,`hB`],FK:[`H`,`h`,`hb`,`hB`],FM:[`h`,`hb`,`H`,`hB`],FO:[`H`,`h`],FR:[`H`,`hB`],GA:[`H`,`hB`],GB:[`H`,`h`,`hb`,`hB`],GD:[`h`,`hb`,`H`,`hB`],GE:[`H`,`hB`,`h`],GF:[`H`,`hB`],GG:[`H`,`h`,`hb`,`hB`],GH:[`h`,`H`],GI:[`H`,`h`,`hb`,`hB`],GL:[`H`,`h`],GM:[`h`,`hb`,`H`,`hB`],GN:[`H`,`hB`],GP:[`H`,`hB`],GQ:[`H`,`hB`,`h`,`hb`],GR:[`h`,`H`,`hb`,`hB`],GS:[`H`,`h`,`hb`,`hB`],GT:[`h`,`H`,`hB`,`hb`],GU:[`h`,`hb`,`H`,`hB`],GW:[`H`,`hB`],GY:[`h`,`hb`,`H`,`hB`],HK:[`h`,`hB`,`hb`,`H`],HN:[`h`,`H`,`hB`,`hb`],HR:[`H`,`hB`],HU:[`H`,`h`],IC:[`H`,`h`,`hB`,`hb`],ID:[`H`],IE:[`H`,`h`,`hb`,`hB`],IL:[`H`,`hB`],IM:[`H`,`h`,`hb`,`hB`],IN:[`h`,`H`],IO:[`H`,`h`,`hb`,`hB`],IQ:[`h`,`hB`,`hb`,`H`],IR:[`hB`,`H`],IS:[`H`],IT:[`H`,`hB`],JE:[`H`,`h`,`hb`,`hB`],JM:[`h`,`hb`,`H`,`hB`],JO:[`h`,`hB`,`hb`,`H`],JP:[`H`,`K`,`h`],KE:[`hB`,`hb`,`H`,`h`],KG:[`H`,`h`,`hB`,`hb`],KH:[`hB`,`h`,`H`,`hb`],KI:[`h`,`hb`,`H`,`hB`],KM:[`H`,`h`,`hB`,`hb`],KN:[`h`,`hb`,`H`,`hB`],KP:[`h`,`H`,`hB`,`hb`],KR:[`h`,`H`,`hB`,`hb`],KW:[`h`,`hB`,`hb`,`H`],KY:[`h`,`hb`,`H`,`hB`],KZ:[`H`,`hB`],LA:[`H`,`hb`,`hB`,`h`],LB:[`h`,`hB`,`hb`,`H`],LC:[`h`,`hb`,`H`,`hB`],LI:[`H`,`hB`,`h`],LK:[`H`,`h`,`hB`,`hb`],LR:[`h`,`hb`,`H`,`hB`],LS:[`h`,`H`],LT:[`H`,`h`,`hb`,`hB`],LU:[`H`,`h`,`hB`],LV:[`H`,`hB`,`hb`,`h`],LY:[`h`,`hB`,`hb`,`H`],MA:[`H`,`h`,`hB`,`hb`],MC:[`H`,`hB`],MD:[`H`,`hB`],ME:[`H`,`hB`,`h`],MF:[`H`,`hB`],MG:[`H`,`h`],MH:[`h`,`hb`,`H`,`hB`],MK:[`H`,`h`,`hb`,`hB`],ML:[`H`],MM:[`hB`,`hb`,`H`,`h`],MN:[`H`,`h`,`hb`,`hB`],MO:[`h`,`hB`,`hb`,`H`],MP:[`h`,`hb`,`H`,`hB`],MQ:[`H`,`hB`],MR:[`h`,`hB`,`hb`,`H`],MS:[`H`,`h`,`hb`,`hB`],MT:[`H`,`h`],MU:[`H`,`h`],MV:[`H`,`h`],MW:[`h`,`hb`,`H`,`hB`],MX:[`h`,`H`,`hB`,`hb`],MY:[`hb`,`hB`,`h`,`H`],MZ:[`H`,`hB`],NA:[`h`,`H`,`hB`,`hb`],NC:[`H`,`hB`],NE:[`H`],NF:[`H`,`h`,`hb`,`hB`],NG:[`H`,`h`,`hb`,`hB`],NI:[`h`,`H`,`hB`,`hb`],NL:[`H`,`hB`],NO:[`H`,`h`],NP:[`H`,`h`,`hB`],NR:[`H`,`h`,`hb`,`hB`],NU:[`H`,`h`,`hb`,`hB`],NZ:[`h`,`hb`,`H`,`hB`],OM:[`h`,`hB`,`hb`,`H`],PA:[`h`,`H`,`hB`,`hb`],PE:[`h`,`H`,`hB`,`hb`],PF:[`H`,`h`,`hB`],PG:[`h`,`H`],PH:[`h`,`hB`,`hb`,`H`],PK:[`h`,`hB`,`H`],PL:[`H`,`h`],PM:[`H`,`hB`],PN:[`H`,`h`,`hb`,`hB`],PR:[`h`,`H`,`hB`,`hb`],PS:[`h`,`hB`,`hb`,`H`],PT:[`H`,`hB`],PW:[`h`,`H`],PY:[`h`,`H`,`hB`,`hb`],QA:[`h`,`hB`,`hb`,`H`],RE:[`H`,`hB`],RO:[`H`,`hB`],RS:[`H`,`hB`,`h`],RU:[`H`],RW:[`H`,`h`],SA:[`h`,`hB`,`hb`,`H`],SB:[`h`,`hb`,`H`,`hB`],SC:[`H`,`h`,`hB`],SD:[`h`,`hB`,`hb`,`H`],SE:[`H`],SG:[`h`,`hb`,`H`,`hB`],SH:[`H`,`h`,`hb`,`hB`],SI:[`H`,`hB`],SJ:[`H`],SK:[`H`],SL:[`h`,`hb`,`H`,`hB`],SM:[`H`,`h`,`hB`],SN:[`H`,`h`,`hB`],SO:[`h`,`H`],SR:[`H`,`hB`],SS:[`h`,`hb`,`H`,`hB`],ST:[`H`,`hB`],SV:[`h`,`H`,`hB`,`hb`],SX:[`H`,`h`,`hb`,`hB`],SY:[`h`,`hB`,`hb`,`H`],SZ:[`h`,`hb`,`H`,`hB`],TA:[`H`,`h`,`hb`,`hB`],TC:[`h`,`hb`,`H`,`hB`],TD:[`h`,`H`,`hB`],TF:[`H`,`h`,`hB`],TG:[`H`,`hB`],TH:[`H`,`h`],TJ:[`H`,`h`],TL:[`H`,`hB`,`hb`,`h`],TM:[`H`,`h`],TN:[`h`,`hB`,`hb`,`H`],TO:[`h`,`H`],TR:[`H`,`hB`],TT:[`h`,`hb`,`H`,`hB`],TW:[`hB`,`hb`,`h`,`H`],TZ:[`hB`,`hb`,`H`,`h`],UA:[`H`,`hB`,`h`],UG:[`hB`,`hb`,`H`,`h`],UM:[`h`,`hb`,`H`,`hB`],US:[`h`,`hb`,`H`,`hB`],UY:[`h`,`H`,`hB`,`hb`],UZ:[`H`,`hB`,`h`],VA:[`H`,`h`,`hB`],VC:[`h`,`hb`,`H`,`hB`],VE:[`h`,`H`,`hB`,`hb`],VG:[`h`,`hb`,`H`,`hB`],VI:[`h`,`hb`,`H`,`hB`],VN:[`H`,`h`],VU:[`h`,`H`],WF:[`H`,`hB`],WS:[`h`,`H`],XK:[`H`,`hB`,`h`],YE:[`h`,`hB`,`hb`,`H`],YT:[`H`,`hB`],ZA:[`H`,`h`,`hb`,`hB`],ZM:[`h`,`hb`,`H`,`hB`],ZW:[`H`,`h`],"af-ZA":[`H`,`h`,`hB`,`hb`],"ar-001":[`h`,`hB`,`hb`,`H`],"ca-ES":[`H`,`h`,`hB`],"en-001":[`h`,`hb`,`H`,`hB`],"en-HK":[`h`,`hb`,`H`,`hB`],"en-IL":[`H`,`h`,`hb`,`hB`],"en-MY":[`h`,`hb`,`H`,`hB`],"es-BR":[`H`,`h`,`hB`,`hb`],"es-ES":[`H`,`h`,`hB`,`hb`],"es-GQ":[`H`,`h`,`hB`,`hb`],"fr-CA":[`H`,`h`,`hB`],"gl-ES":[`H`,`h`,`hB`],"gu-IN":[`hB`,`hb`,`h`,`H`],"hi-IN":[`hB`,`h`,`H`],"it-CH":[`H`,`h`,`hB`],"it-IT":[`H`,`h`,`hB`],"kn-IN":[`hB`,`h`,`H`],"ku-SY":[`H`,`hB`],"ml-IN":[`hB`,`h`,`H`],"mr-IN":[`hB`,`hb`,`h`,`H`],"pa-IN":[`hB`,`hb`,`h`,`H`],"ta-IN":[`hB`,`h`,`hb`,`H`],"te-IN":[`hB`,`h`,`H`],"zu-ZA":[`H`,`hB`,`hb`,`h`]};function bc(e,t){let n=``;for(let r=0;r<e.length;r++){let i=e.charAt(r);if(i===`j`){let a=0;for(;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;let o=1+(a&1),s=a<2?1:3+(a>>1),c=xc(t);for((c==`H`||c==`k`)&&(s=0);s-->0;)n+=`a`;for(;o-->0;)n=c+n}else n+=i===`J`?`H`:i}return n}function xc(e){let t=e.hourCycle;if(t===void 0){let n=e;t=n.getHourCycles?.()[0]??n.hourCycles?.[0]}if(t)switch(t){case`h24`:return`k`;case`h23`:return`H`;case`h12`:return`h`;case`h11`:return`K`;default:throw Error(`Invalid hourCycle`)}let n=e.language,r;return n!==`root`&&(r=e.maximize().region),(yc[`${n}-${r}`]||yc[r||``]||yc[n||``]||yc[`${n}-001`]||yc[`001`])[0].charAt(0)}var Sc=RegExp(`^${vc.source}*`),Cc=RegExp(`${vc.source}*$`);function Y(e,t){return{start:e,end:t}}var wc=!!Object.fromEntries,Tc=!!String.prototype.trimStart,Ec=!!String.prototype.trimEnd,Dc=wc?Object.fromEntries:function(e){let t={};for(let[n,r]of e)t[n]=r;return t},Oc=Tc?function(e){return e.trimStart()}:function(e){return e.replace(Sc,``)},kc=Ec?function(e){return e.trimEnd()}:function(e){return e.replace(Cc,``)},Ac=RegExp(`([^\\p{White_Space}\\p{Pattern_Syntax}]*)`,`yu`);function jc(e,t){return Ac.lastIndex=t,Ac.exec(e)[1]??``}function Mc(e){if(e.length===0)return null;let t=1,n=1;for(let r=0;r<e.length;){let i=e.charCodeAt(r);switch(i){case 35:case 39:case 60:case 123:case 125:return null}if(i===10)t++,n=1,r++;else if(n++,i>=55296&&i<=56319&&r+1<e.length){let t=e.charCodeAt(r+1);r+=t>=56320&&t<=57343?2:1}else r++}return{offset:e.length,line:t,column:n}}var Nc=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}parse(){if(this.offset()!==0)throw Error(`parser can only be used once`);if(this.message.length>0){let e=this.message.charCodeAt(0);if(e!==35&&e!==39&&e!==60&&e!==123&&e!==125){let e=Mc(this.message);if(e){let t=this.clonePosition();return this.position=e,{val:[{type:0,value:this.message,location:Y(t,this.clonePosition())}],err:null}}}}return this.parseMessage(0,``,!1)}parseMessage(e,t,n){let r=[];for(;!this.isEOF();){let i=this.char();if(i===123){let t=this.parseArgument(e,n);if(t.err)return t;r.push(t.val)}else if(i===125&&e>0)break;else if(i===35&&(t===`plural`||t===`selectordinal`)){let e=this.clonePosition();this.bump(),r.push({type:7,location:Y(e,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(26,Y(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&Pc(this.peek()||0)){let n=this.parseTag(e,t);if(n.err)return n;r.push(n.val)}else{let n=this.parseLiteral(e,t);if(n.err)return n;r.push(n.val)}}return{val:r,err:null}}parseTag(e,t){let n=this.clonePosition();this.bump();let r=this.parseTagName();if(this.bumpSpace(),this.bumpIf(`/>`))return{val:{type:0,value:`<${r}/>`,location:Y(n,this.clonePosition())},err:null};if(this.bumpIf(`>`)){let i=this.parseMessage(e+1,t,!0);if(i.err)return i;let a=i.val,o=this.clonePosition();if(this.bumpIf(`</`)){if(this.isEOF()||!Pc(this.char()))return this.error(23,Y(o,this.clonePosition()));let e=this.clonePosition();return r===this.parseTagName()?(this.bumpSpace(),this.bumpIf(`>`)?{val:{type:8,value:r,children:a,location:Y(n,this.clonePosition())},err:null}:this.error(23,Y(o,this.clonePosition()))):this.error(26,Y(e,this.clonePosition()))}return this.error(27,Y(n,this.clonePosition()))}return this.error(23,Y(n,this.clonePosition()))}parseTagName(){let e=this.offset();for(this.bump();!this.isEOF()&&Ic(this.char());)this.bump();return this.message.slice(e,this.offset())}parseLiteral(e,t){let n=this.clonePosition(),r=``;for(;;){let n=this.tryParseQuote(t);if(n){r+=n;continue}let i=this.tryParseUnquoted(e,t);if(i){r+=i;continue}let a=this.tryParseLeftAngleBracket();if(a)r+=a;else break}let i=Y(n,this.clonePosition());return{val:{type:0,value:r,location:i},err:null}}tryParseLeftAngleBracket(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Fc(this.peek()||0))?(this.bump(),`<`):null}tryParseQuote(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),`'`;case 123:case 60:case 62:case 125:break;case 35:if(e===`plural`||e===`selectordinal`)break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let e=this.char();if(e===39){if(this.peek()===39)t.push(39),this.bump();else{this.bump();break}}else t.push(e);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let n=this.char();return n===60||n===123||n===35&&(t===`plural`||t===`selectordinal`)||n===125&&e>0?null:(this.bump(),String.fromCodePoint(n))}parseArgument(e,t){let n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,Y(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(2,Y(n,this.clonePosition()));let r=this.parseIdentifierIfPossible().value;if(!r)return this.error(3,Y(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,Y(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:r,location:Y(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(1,Y(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(3,Y(n,this.clonePosition()))}}parseIdentifierIfPossible(){let e=this.clonePosition(),t=this.offset(),n=jc(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:Y(e,this.clonePosition())}}parseArgumentOptions(e,t,n,r){let i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(a){case``:return this.error(4,Y(i,o));case`number`:case`date`:case`time`:{this.bumpSpace();let e=null;if(this.bumpIf(`,`)){this.bumpSpace();let t=this.clonePosition(),n=this.parseSimpleArgStyleIfPossible();if(n.err)return n;let r=kc(n.val);if(r.length===0)return this.error(6,Y(this.clonePosition(),this.clonePosition()));e={style:r,styleLocation:Y(t,this.clonePosition())}}let t=this.tryParseArgumentClose(r);if(t.err)return t;let i=Y(r,this.clonePosition());if(e&&e.style.startsWith(`::`)){let t=Oc(e.style.slice(2));if(a===`number`){let r=this.parseNumberSkeletonFromString(t,e.styleLocation);return r.err?r:{val:{type:2,value:n,location:i,style:r.val},err:null}}{if(t.length===0)return this.error(10,i);let r=t;this.locale&&(r=bc(t,this.locale));let o={type:1,pattern:r,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?qs(r):{}};return{val:{type:a===`date`?3:4,value:n,location:i,style:o},err:null}}}return{val:{type:a===`number`?2:a===`date`?3:4,value:n,location:i,style:e?.style??null},err:null}}case`plural`:case`selectordinal`:case`select`:{let i=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(`,`))return this.error(12,Y(i,{...i}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),s=0;if(a!==`select`&&o.value===`offset`){if(!this.bumpIf(`:`))return this.error(13,Y(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(13,14);if(e.err)return e;this.bumpSpace(),o=this.parseIdentifierIfPossible(),s=e.val}let c=this.tryParsePluralOrSelectOptions(e,a,t,o);if(c.err)return c;let l=this.tryParseArgumentClose(r);if(l.err)return l;let u=Y(r,this.clonePosition());return a===`select`?{val:{type:5,value:n,options:Dc(c.val),location:u},err:null}:{val:{type:6,value:n,options:Dc(c.val),offset:s,pluralType:a===`plural`?`cardinal`:`ordinal`,location:u},err:null}}default:return this.error(5,Y(i,o))}}tryParseArgumentClose(e){return this.isEOF()||this.char()!==125?this.error(1,Y(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil(`'`))return this.error(11,Y(e,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(e>0)--e;else return{val:this.message.slice(t.offset,this.offset()),err:null};break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let n=[];try{n=Ys(e)}catch{return this.error(7,t)}return{val:{type:0,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?ac(n):{}},err:null}}tryParsePluralOrSelectOptions(e,t,n,r){let i=!1,a=[],o=new Set,{value:s,location:c}=r;for(;;){if(s.length===0){let e=this.clonePosition();if(t!==`select`&&this.bumpIf(`=`)){let t=this.tryParseDecimalInteger(16,19);if(t.err)return t;c=Y(e,this.clonePosition()),s=this.message.slice(e.offset,this.offset())}else break}if(o.has(s))return this.error(t===`select`?21:20,c);s===`other`&&(i=!0),this.bumpSpace();let r=this.clonePosition();if(!this.bumpIf(`{`))return this.error(t===`select`?17:18,Y(this.clonePosition(),this.clonePosition()));let l=this.parseMessage(e+1,t,n);if(l.err)return l;let u=this.tryParseArgumentClose(r);if(u.err)return u;a.push([s,{value:l.val,location:Y(r,this.clonePosition())}]),o.add(s),this.bumpSpace(),{value:s,location:c}=this.parseIdentifierIfPossible()}return a.length===0?this.error(t===`select`?15:16,Y(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(22,Y(this.clonePosition(),this.clonePosition())):{val:a,err:null}}tryParseDecimalInteger(e,t){let n=1,r=this.clonePosition();this.bumpIf(`+`)||this.bumpIf(`-`)&&(n=-1);let i=!1,a=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)i=!0,a=a*10+(e-48),this.bump();else break}let o=Y(r,this.clonePosition());return i?(a*=n,Number.isSafeInteger(a)?{val:a,err:null}:this.error(t,o)):this.error(e,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error(`out of bound`);let t=this.message.codePointAt(e);if(t===void 0)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){if(this.message.startsWith(e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(;!this.isEOF()&&Lc(this.char());)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function Pc(e){return e>=97&&e<=122||e>=65&&e<=90}function Fc(e){return Pc(e)||e===47}function Ic(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Lc(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Rc(e){e.forEach(e=>{if(delete e.location,fc(e)||pc(e))for(let t in e.options)delete e.options[t].location,Rc(e.options[t].value);else lc(e)&&gc(e.style)||(uc(e)||dc(e))&&_c(e.style)?delete e.style.location:hc(e)&&Rc(e.children)})}function zc(e,t={}){t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t};let n=new Nc(e,t).parse();if(n.err){let e=SyntaxError(oc[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return t?.captureLocation||Rc(n.val),n.val}var Bc=class extends Error{constructor(e,t,n){super(e),this.code=t,this.originalMessage=n}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},Vc=class extends Bc{constructor(e,t,n,r){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(n).join(`", "`)}"`,`INVALID_VALUE`,r)}},Hc=class extends Bc{constructor(e,t,n){super(`Value for "${e}" must be of type ${t}`,`INVALID_VALUE`,n)}},Uc=class extends Bc{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,`MISSING_VALUE`,t)}};function Wc(e){return e.length<2?e:e.reduce((e,t)=>{let n=e[e.length-1];return!n||n.type!==0||t.type!==0?e.push(t):n.value+=t.value,e},[])}function Gc(e){return typeof e==`function`}function Kc(e,t,n,r,i,a,o){if(e.length===1&&sc(e[0]))return[{type:0,value:e[0].value}];let s=[];for(let c of e){if(sc(c)){s.push({type:0,value:c.value});continue}if(mc(c)){typeof a==`number`&&s.push({type:0,value:n.getNumberFormat(t).format(a)});continue}let{value:e}=c;if(!(i&&e in i))throw new Uc(e,o);let l=i[e];if(cc(c))(!l||typeof l==`string`||typeof l==`number`||typeof l==`bigint`)&&(l=typeof l==`string`||typeof l==`number`||typeof l==`bigint`?String(l):``),s.push({type:typeof l==`string`?0:1,value:l});else if(uc(c)){let e=typeof c.style==`string`?r.date[c.style]:_c(c.style)?c.style.parsedOptions:void 0;s.push({type:0,value:n.getDateTimeFormat(t,e).format(l)})}else if(dc(c)){let e=typeof c.style==`string`?r.time[c.style]:_c(c.style)?c.style.parsedOptions:r.time.medium;s.push({type:0,value:n.getDateTimeFormat(t,e).format(l)})}else if(lc(c)){let e=typeof c.style==`string`?r.number[c.style]:gc(c.style)?c.style.parsedOptions:void 0;if(e&&e.scale){let t=e.scale||1;if(typeof l==`bigint`){if(!Number.isInteger(t))throw TypeError(`Cannot apply fractional scale ${t} to bigint value. Scale must be an integer when formatting bigint.`);l*=BigInt(t)}else l*=t}s.push({type:0,value:n.getNumberFormat(t,e).format(l)})}else{if(hc(c)){let{children:e,value:l}=c,u=i[l];if(!Gc(u))throw new Hc(l,`function`,o);let d=u(Kc(e,t,n,r,i,a).map(e=>e.value));Array.isArray(d)||(d=[d]),s.push(...d.map(e=>({type:typeof e==`string`?0:1,value:e})))}if(fc(c)){let e=l,a=(Object.prototype.hasOwnProperty.call(c.options,e)?c.options[e]:void 0)||c.options.other;if(!a)throw new Vc(c.value,l,Object.keys(c.options),o);s.push(...Kc(a.value,t,n,r,i))}else if(pc(c)){let e=`=${l}`,a=Object.prototype.hasOwnProperty.call(c.options,e)?c.options[e]:void 0;if(!a){if(!Intl.PluralRules)throw new Bc(`Intl.PluralRules is not available in this environment.
|
|
2
2
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
|
-
`,`MISSING_INTL_API`,o);let e=typeof l==`bigint`?Number(l):l,r=n.getPluralRules(t,{type:c.pluralType}).select(e-(c.offset||0));a=(Object.prototype.hasOwnProperty.call(c.options,r)?c.options[r]:void 0)||c.options.other}if(!a)throw new
|
|
4
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function il(e,t){if(e){if(typeof e==`string`)return al(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?al(e,t):void 0}}function al(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ol(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function sl(e){if(Array.isArray(e))return e}function cl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ll(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?cl(Object(n),!0).forEach(function(t){ul(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cl(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ul(e,t,n){return(t=ml(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dl(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function fl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,ml(r.key),r)}}function pl(e,t,n){return t&&fl(e.prototype,t),n&&fl(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ml(e){var t=hl(e,`string`);return X(t)==`symbol`?t:t+``}function hl(e,t){if(X(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(X(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function X(e){"@babel/helpers - typeof";return X=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},X(e)}var gl=`https://www.i18next.com/how-to/using-icu-or-mf2`,_l=[`zero`,`one`,`two`,`few`,`many`,`other`];function vl(){return{memoize:!0,memoizeFallback:!1,bindI18n:``,bindI18nStore:``,parseErrorHandler:function(e,t,n,r){return n},parseLngForICU:function(e){return e},escapeVariables:!1}}function yl(e,t,n,r){return n&&t&&X(t)===`object`?`${r} resolved to an object or array, but i18next-icu does not support returnObjects or joinArrays and returns the raw value unformatted.`:n&&typeof t==`string`&&t.indexOf(`{{`)>-1?`${r} could not be parsed (${e.message}). It contains "{{": i18next interpolation like {{name}} does not work with ICU, use {name}.`:`${r} could not be ${n?`parsed`:`formatted`}: ${e.message}`}var bl=function(){function e(t){dl(this,e),this.type=`i18nFormat`,this.mem={},this.warned=new Set,this.init(null,t)}return pl(e,[{key:`init`,value:function(e,t){var n=this,r=e&&e.options&&e.options.i18nFormat||{};if(this.options=tl(r,t,this.options||{},vl()),this.formats=this.options.formats,e){var i=this.options,a=i.bindI18n,o=i.bindI18nStore,s=i.memoize;e.IntlMessageFormat=Xc,e.ICU=this,this.i18next=e,this.debug=!!(e.options&&e.options.debug),this.debug&&e.options.interpolation&&e.options.interpolation.escapeValue!==!1&&!this.options.escapeVariables&&this.warn(`interpolation.escapeValue is not applied, values are inserted without HTML escaping. Set the i18next-icu option escapeVariables: true to escape them, or interpolation.escapeValue: false if your output is escaped elsewhere (e.g. by React).`),s&&(a&&e.on(a,function(){return n.clearCache()}),o&&e.store.on(o,function(){return n.clearCache()}))}}},{key:`addUserDefinedFormats`,value:function(e){this.formats=this.formats?ll(ll({},this.formats),e):e,this.clearCache()}},{key:`parse`,value:function(e,t,n,r,i,a){var o=a&&a.resolved&&a.resolved.res,s=this.options.memoize&&[n,r,i],c;if(this.options.memoize){var l=el(this.mem,s);l&&l.res===e&&(c=l.fc)}try{c||(this.debug&&typeof e==`string`&&e.indexOf(`$t(`)>-1&&this.firstTime(`nesting ${n} ${r} ${i}`)&&this.warn(`key "${i}" (${n}/${r}) contains "$t(", but i18next-icu does not support nesting, the text is output as is.`),c=new Xc(e,this.options.parseLngForICU(n),this.formats,{ignoreTag:!0}),this.options.memoize&&(this.options.memoizeFallback||!a||o)&&$c(this.mem,s,{res:e,fc:c}));var u=t&&t.replace&&X(t.replace)===`object`?ll(ll({},t),t.replace):t;return c.format(this.escapeVariableValues(u))}catch(a){return this.debug&&this.firstTime(`error ${n} ${r} ${i}`)&&this.warn(yl(a,e,!c,`key "${i}" (${n}/${r})`)),this.options.parseErrorHandler(a,i,e,t)}}},{key:`addLookupKeys`,value:function(e,t,n,r,i){return this.debug&&i&&this.checkSuffixKeys(t,n,r,i),e}},{key:`checkSuffixKeys`,value:function(e,t,n,r){var i=r.count,a=r.context,o=this.i18next.options,s=o.pluralSeparator,c=s===void 0?`_`:s,l=o.contextSeparator,u=l===void 0?`_`:l,d=this.i18next.services.resourceStore,f=`key "${e}" (${t}/${n})`;if(i!==void 0&&this.firstTime(`plural ${t} ${n} ${e}`)){var p=_l.concat(_l.map(function(e){return`ordinal${c}${e}`})).map(function(t){return`${e}${c}${t}`}).filter(function(e){return d.getResource(t,n,e)!==void 0});p.length&&this.warn(`${f} was called with count, but i18next-icu does not look up plural suffix keys (${p.join(`, `)}). Put the plural into the message: {count, plural, one {# item} other {# items}}.`)}var m=`${e}${u}${a}`;a!==void 0&&a!==``&&this.firstTime(`context ${t} ${n} ${m}`)&&d.getResource(t,n,m)!==void 0&&this.warn(`${f} was called with context "${a}", but i18next-icu does not look up context keys (${m}). Use a select in the message: {context, select, ${a} {...} other {...}}.`)}},{key:`firstTime`,value:function(e){return!this.warned.has(e)&&(this.warned.add(e),!0)}},{key:`warn`,value:function(e){this.i18next.services.logger.warn(`i18next-icu: ${e} See ${gl}`)}},{key:`clearCache`,value:function(){this.mem={}}},{key:`escapeVariableValues`,value:function(e){if(!this.options.escapeVariables||!e||X(e)!==`object`)return e;for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var i=nl(r[n],2),a=i[0],o=i[1];t[a]=typeof o==`string`?o.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`):o}return t}}]),e}();bl.type=`i18nFormat`;function xl({icuOptions:e={},...t}){let{parseErrorHandler:n=void 0}=t;return Ms(t,{icu:new bl({parseErrorHandler:n,bindI18n:t.bindI18n,...e})})}var Sl=(e,t,n,r)=>{let i=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,`warn`,`react-i18next::`,!0);Z(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)},Cl={},wl=(e,t,n,r)=>{Z(n)&&Cl[n]||(Z(n)&&(Cl[n]=new Date),Sl(e,t,n,r))},Tl=(e,t)=>()=>{if(e.isInitialized)t();else{let n=()=>{setTimeout(()=>{e.off(`initialized`,n)},0),t()};e.on(`initialized`,n)}},El=(e,t,n)=>{e.loadNamespaces(t,Tl(e,n))},Dl=(e,t,n,r)=>{if(Z(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return El(e,n,r);n.forEach(t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)}),e.loadLanguages(t,Tl(e,r))},Ol=(e,t,n={})=>!t.languages||!t.languages.length?(wl(t,`NO_LANGUAGES`,`i18n.languages were undefined or empty`,{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf(`languageChanging`)>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}),Z=e=>typeof e==`string`,kl=e=>typeof e==`object`&&!!e,Al=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,jl={"&":`&`,"&":`&`,"<":`<`,"<":`<`,">":`>`,">":`>`,"'":`'`,"'":`'`,""":`"`,""":`"`," ":` `," ":` `,"©":`©`,"©":`©`,"®":`®`,"®":`®`,"…":`…`,"…":`…`,"/":`/`,"/":`/`},Ml=e=>jl[e],Nl={bindI18n:`languageChanged`,bindI18nStore:``,transEmptyNodeValue:``,transSupportBasicHtmlNodes:!0,transWrapTextNodes:``,transKeepBasicHtmlNodesFor:[`br`,`strong`,`i`,`p`],useSuspense:!0,unescape:e=>e.replace(Al,Ml)},Pl=()=>Nl,Fl,Il=()=>Fl,Ll=i(),Rl=class{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}},zl=(e,t)=>{let n=d();return l(()=>{n.current=t?n.current:e},[e,t]),n.current},Bl=(e,t,n,r)=>e.getFixedT(t,n,r),Vl=(e,t,n,r)=>s(Bl(e,t,n,r),[e,t,n,r]),Hl=(e,t={})=>{let{i18n:n}=t,{i18n:r,defaultNS:i}=c(Ll)||{},a=n||r||Il();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new Rl),!a){wl(a,`NO_I18NEXT_INSTANCE`,`useTranslation: You will need to pass in an i18next instance by using initReactI18next`);let e=(e,t)=>Z(t)?t:kl(t)&&Z(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}a.options.react?.wait&&wl(a,`DEPRECATED_OPTION`,`useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.`);let o={...Pl(),...a.options.react,...t},{useSuspense:s,keyPrefix:u}=o,p=e||i||a.options?.defaultNS;p=Z(p)?[p]:p||[`translation`],a.reportNamespaces.addUsedNamespaces?.(p);let m=(a.isInitialized||a.initializedStoreOnce)&&p.every(e=>Ol(e,a,o)),h=Vl(a,t.lng||null,o.nsMode===`fallback`?p:p[0],u),g=()=>h,_=()=>Bl(a,t.lng||null,o.nsMode===`fallback`?p:p[0],u),[v,y]=f(g),b=p.join();t.lng&&(b=`${t.lng}${b}`);let x=zl(b),S=d(!0);l(()=>{let{bindI18n:e,bindI18nStore:n}=o;S.current=!0,!m&&!s&&(t.lng?Dl(a,t.lng,p,()=>{S.current&&y(_)}):El(a,p,()=>{S.current&&y(_)})),m&&x&&x!==b&&S.current&&y(_);let r=()=>{S.current&&y(_)};return e&&a?.on(e,r),n&&a?.store.on(n,r),()=>{S.current=!1,a&&e&&e?.split(` `).forEach(e=>a.off(e,r)),n&&a&&n.split(` `).forEach(e=>a.store.off(e,r))}},[a,b]),l(()=>{S.current&&m&&y(g)},[a,u,m]);let C=[v,a,m];if(C.t=v,C.i18n=a,C.ready=m,m||!m&&!s)return C;throw new Promise(e=>{t.lng?Dl(a,t.lng,p,()=>e()):El(a,p,()=>e())})};function Ul({i18n:e,defaultNS:t,children:n}){let r=u(()=>({i18n:e,defaultNS:t}),[e,t]);return a(Ll.Provider,{value:r},n)}var Wl=`wix-warmup-data`,Gl=null;function Kl(e){if(typeof document<`u`)try{let t=document.getElementById(Wl)?.textContent;return t?(Gl?.text!==t&&(Gl={text:t,data:JSON.parse(t).builderComponentsWarmupData??{}}),Gl.data[e]??void 0):void 0}catch{return}}var ql=5e3,Jl=100,Yl={},Xl=new WeakMap,Zl=e=>{let t=e.scope??Yl,n=Xl.get(t);return n||(n=new Map,Xl.set(t,n)),n};function Ql({key:e,warmupData:t,fetchData:n}){if(e===null)return n();if(t.isServer)return n().then(n=>(t.set(e,n),n));let r=Zl(t),i=Date.now();for(let[e,t]of r)t.expiresAt<=i&&r.delete(e);let a=r.get(e);if(a)return a.promise;let o=Kl(e);if(o!==void 0){let t=zn(o);return r.set(e,{promise:t,expiresAt:i+ql}),t}let s=(async()=>await t.get(e)??n())();r.size>=Jl&&r.delete(r.keys().next().value);let c={promise:s,expiresAt:1/0};return r.set(e,c),s.then(()=>{c.expiresAt=Date.now()+ql},()=>{r.get(e)===c&&r.delete(e)}),s}var $l=`blog-builder:i18n`,eu=`translation`,tu=()=>Kl($l),nu=new Map;function ru(e,t){let n=nu.get(e);if(n)return n;let r=tu(),i=r?.locale===e?r.messages:void 0,a=xl({locale:e,useSuspense:!0,...i?{messages:i}:{asyncMessagesLoader:t}});return nu.set(e,a),a}function iu(e){let t=()=>e.loadNamespaces(eu).then(()=>void 0,()=>void 0);return e.isInitialized?t():new Promise(n=>{e.on(`initialized`,()=>void t().then(n))})}function au(e,t){return e.getResourceBundle(t,`translation`)??e.getResourceBundle(`en`,`translation`)}var ou=(e,t,n)=>{let r=t.lastIndexOf(`?`),i=e[r===-1||r<t.lastIndexOf(`/`)?t:t.slice(0,r)];return i?typeof i==`function`?i():Promise.resolve(i):new Promise((e,r)=>{(typeof queueMicrotask==`function`?queueMicrotask:setTimeout)(r.bind(null,Error(`Unknown variable dynamic import: `+t+(t.split(`/`).length===n?``:`. Note that variables only represent file names one level deep.`))))})},su=e=>e.split(`-`)[0]??e;Ro({isDev:!1,loadMessages:e=>ou(Object.assign({"../assets/locale/messages_ar.json":()=>I(()=>Promise.resolve().then(()=>fu),void 0,import.meta.url),"../assets/locale/messages_bg.json":()=>I(()=>Promise.resolve().then(()=>hu),void 0,import.meta.url),"../assets/locale/messages_ca.json":()=>I(()=>Promise.resolve().then(()=>vu),void 0,import.meta.url),"../assets/locale/messages_cs.json":()=>I(()=>Promise.resolve().then(()=>xu),void 0,import.meta.url),"../assets/locale/messages_da.json":()=>I(()=>Promise.resolve().then(()=>wu),void 0,import.meta.url),"../assets/locale/messages_de.json":()=>I(()=>Promise.resolve().then(()=>Du),void 0,import.meta.url),"../assets/locale/messages_el.json":()=>I(()=>Promise.resolve().then(()=>Au),void 0,import.meta.url),"../assets/locale/messages_en.dev.json":()=>I(()=>Promise.resolve().then(()=>Nu),void 0,import.meta.url),"../assets/locale/messages_en.json":()=>I(()=>Promise.resolve().then(()=>Fu),void 0,import.meta.url),"../assets/locale/messages_es.json":()=>I(()=>Promise.resolve().then(()=>Ru),void 0,import.meta.url),"../assets/locale/messages_fi.json":()=>I(()=>Promise.resolve().then(()=>Vu),void 0,import.meta.url),"../assets/locale/messages_fr.json":()=>I(()=>Promise.resolve().then(()=>Wu),void 0,import.meta.url),"../assets/locale/messages_he.json":()=>I(()=>Promise.resolve().then(()=>qu),void 0,import.meta.url),"../assets/locale/messages_hi.json":()=>I(()=>Promise.resolve().then(()=>Xu),void 0,import.meta.url),"../assets/locale/messages_hr.json":()=>I(()=>Promise.resolve().then(()=>$u),void 0,import.meta.url),"../assets/locale/messages_hu.json":()=>I(()=>Promise.resolve().then(()=>nd),void 0,import.meta.url),"../assets/locale/messages_id.json":()=>I(()=>Promise.resolve().then(()=>ad),void 0,import.meta.url),"../assets/locale/messages_it.json":()=>I(()=>Promise.resolve().then(()=>cd),void 0,import.meta.url),"../assets/locale/messages_ja.json":()=>I(()=>Promise.resolve().then(()=>dd),void 0,import.meta.url),"../assets/locale/messages_ko.json":()=>I(()=>Promise.resolve().then(()=>md),void 0,import.meta.url),"../assets/locale/messages_lt.json":()=>I(()=>Promise.resolve().then(()=>_d),void 0,import.meta.url),"../assets/locale/messages_lv.json":()=>I(()=>Promise.resolve().then(()=>bd),void 0,import.meta.url),"../assets/locale/messages_ms.json":()=>I(()=>Promise.resolve().then(()=>Cd),void 0,import.meta.url),"../assets/locale/messages_nl.json":()=>I(()=>Promise.resolve().then(()=>Ed),void 0,import.meta.url),"../assets/locale/messages_no.json":()=>I(()=>Promise.resolve().then(()=>kd),void 0,import.meta.url),"../assets/locale/messages_pl.json":()=>I(()=>Promise.resolve().then(()=>Md),void 0,import.meta.url),"../assets/locale/messages_pt.json":()=>I(()=>Promise.resolve().then(()=>Fd),void 0,import.meta.url),"../assets/locale/messages_ro.json":()=>I(()=>Promise.resolve().then(()=>Rd),void 0,import.meta.url),"../assets/locale/messages_ru.json":()=>I(()=>Promise.resolve().then(()=>Vd),void 0,import.meta.url),"../assets/locale/messages_sk.json":()=>I(()=>Promise.resolve().then(()=>Wd),void 0,import.meta.url),"../assets/locale/messages_sl.json":()=>I(()=>Promise.resolve().then(()=>qd),void 0,import.meta.url),"../assets/locale/messages_sv.json":()=>I(()=>Promise.resolve().then(()=>Xd),void 0,import.meta.url),"../assets/locale/messages_th.json":()=>I(()=>Promise.resolve().then(()=>$d),void 0,import.meta.url),"../assets/locale/messages_tl.json":()=>I(()=>Promise.resolve().then(()=>nf),void 0,import.meta.url),"../assets/locale/messages_tr.json":()=>I(()=>Promise.resolve().then(()=>of),void 0,import.meta.url),"../assets/locale/messages_uk.json":()=>I(()=>Promise.resolve().then(()=>lf),void 0,import.meta.url),"../assets/locale/messages_vi.json":()=>I(()=>Promise.resolve().then(()=>ff),void 0,import.meta.url),"../assets/locale/messages_zh.json":()=>I(()=>Promise.resolve().then(()=>hf),void 0,import.meta.url)}),`../assets/locale/messages_${su(e)}.json`,4),loadDevMessages:e=>ou(Object.assign({"../assets/locale/messages_en.dev.json":()=>I(()=>Promise.resolve().then(()=>Nu),void 0,import.meta.url)}),`../assets/locale/messages_${su(e)}.dev.json`,4)});var cu=new WeakMap;function lu(e){let t=cu.get(e);return t||(t=iu(e).finally(()=>cu.delete(e)),cu.set(e,t)),t}function uu({i18n:e,locale:t}){let n=fa(),r=Fo();if(!n)return null;if(!e.isInitialized||!e.hasLoadedNamespace(`translation`))throw lu(e);let i=au(e,t);return i&&r.set($l,{locale:t,messages:i}),null}function du(e){let t=So(),n=tu()?.locale??t??`en`;return{i18n:ru(n,e),locale:n}}var fu=y({default:()=>mu,title:()=>pu}),pu=`My App`,mu={"canvas.category":`فئة`,"post-list.empty-state.description":`بعد نشر المنشورات، ستظهر هنا.`,"canvas.tag-numbered":`وسم {number}`,"cover-media.play":`تشغيل الفيديو`,"post-comments.unavailable":`التعليقات غير متاحة. لا يوجد مثيل تطبيق.`,"post-counters.loading-likes":`جارٍ تحميل الإعجابات`,"post-comments.loading":`جارٍ تحميل التعليقات…`,"post-actions.like":`إعجاب بالمنشور`,"canvas.content":`هنا يظهر المنشور الكامل. اكتب قصتك هنا، وأضف الصور والمعارض والفيديو من لوحة التحكم، واستخدم العناوين والاقتباسات لتسهيل القراءة.`,"related-posts.empty-state.title":`لا توجد منشورات ذات صلة بعد`,"post.time-to-read":`{count, plural, zero {{count,number} د قراءة} one {{count,number} د قراءة} two {{count,number} د قراءة} few {{count,number} د قراءة} many {{count,number} د قراءة} other {{count,number} د قراءة}}`,"post-actions.link-copied":`تم نسخ الرابط`,"category-header.all-posts":`كل المنشورات`,"post-actions.copy-manually":`انسخ الرابط أدناه لمشاركة هذا المنشور.`,"post-actions.copy-link":`نسخ الرابط`,"cover-media.placeholder-alt":`صورة غلاف المنشور`,"post-actions.link-label":`رابط المنشور`,"post-list.empty-state.title":`لا توجد منشورات بعد`,"post-actions.share-dialog":`مشاركة المنشور`,"canvas.post-title":`عنوان المنشور`,"post-actions.unlike":`إلغاء الإعجاب بالمنشور`,"post-comments.no-post":`لم يتم ربط أي منشور بعنوان URL هذا بعد.`,"post.like-count":`{count, plural, zero {{formatted} إعجاب} one {{formatted} إعجاب} two {{formatted} إعجابان} few {{formatted} إعجابات} many {{formatted} إعجابًا} other {{formatted} إعجاب}}`,"canvas.category-numbered":`فئة {number}`,"post.comment-count":`{count, plural, zero {{formatted} تعليق} one {{formatted} تعليق} two {{formatted} تعليقان} few {{formatted} تعليقات} many {{formatted} تعليقًا} other {{formatted} تعليق}}`,"post-actions.share":`مشاركة المنشور`,"post.view-count":`{count, plural, zero {{formatted} مشاهدة} one {{formatted} مشاهدة} two {{formatted} مشاهدتان} few {{formatted} مشاهدات} many {{formatted} مشاهدة} other {{formatted} مشاهدة}}`,"post-actions.close":`إغلاق`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`صورة المؤلف`,"canvas.author-name":`اسم المؤلف`,"post-comments.demo-notice":`تظهر تعليقات نموذجية أثناء التحرير. سيرى الزوار التعليقات الحقيقية.`,title:pu,"related-posts.empty-state.description":`بعد نشر المزيد من المنشورات، ستظهر هنا.`,"canvas.excerpt":`شارك الفكرة الرئيسية لمنشورك هنا. يظهر هذا الملخص القصير في بطاقات الموجز ونتائج البحث، ويوضح للقراء لماذا يستحق المنشور وقتهم.`},hu=y({default:()=>_u,title:()=>gu}),gu=`My App`,_u={"canvas.category":`Категория`,"post-list.empty-state.description":`След като публикациите бъдат публикувани, ще се показват тук.`,"canvas.tag-numbered":`Таг {number}`,"cover-media.play":`Пускане на видеоклипа`,"post-comments.unavailable":`Коментарите не са налични. Липсва екземпляр на приложението.`,"post-counters.loading-likes":`Зареждат се харесвания`,"post-comments.loading":`Зареждат се коментари…`,"post-actions.like":`Харесайте публикацията`,"canvas.content":`Тук се показва цялата публикация. Напишете историята си тук, добавете изображения, галерии и видеоклип от таблото за управление и използвайте заглавия и цитати, за да остане лесна за четене.`,"related-posts.empty-state.title":`Все още няма свързани публикации`,"post.time-to-read":`{count, plural, one {{count,number} мин. четене} other {{count,number} мин. четене}}`,"post-actions.link-copied":`Връзката е копирана`,"category-header.all-posts":`Всички публикации`,"post-actions.copy-manually":`Копирайте връзката по-долу, за да споделите тази публикация.`,"post-actions.copy-link":`Копирайте връзката`,"cover-media.placeholder-alt":`Изображение на корицата на публикацията`,"post-actions.link-label":`Връзка към публикацията`,"post-list.empty-state.title":`Все още няма публикации`,"post-actions.share-dialog":`Споделете публикацията`,"canvas.post-title":`Заглавие на публикацията`,"post-actions.unlike":`Премахнете харесването на публикацията`,"post-comments.no-post":`Все още няма публикация, съпоставена с този URL адрес.`,"post.like-count":`{count, plural, one {{formatted} харесване} other {{formatted} харесвания}}`,"canvas.category-numbered":`Категория {number}`,"post.comment-count":`{count, plural, one {{formatted} коментар} other {{formatted} коментара}}`,"post-actions.share":`Споделете публикацията`,"post.view-count":`{count, plural, one {{formatted} преглед} other {{formatted} прегледа}}`,"post-actions.close":`Затваряне`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Снимка на автора`,"canvas.author-name":`Име на автора`,"post-comments.demo-notice":`При редактиране се показват примерни коментари. Посетителите ще виждат реалните коментари.`,title:gu,"related-posts.empty-state.description":`След като бъдат публикувани още публикации, ще се показват тук.`,"canvas.excerpt":`Споделете основната идея на публикацията си тук. Това кратко резюме се показва в картите в канала и в резултатите от търсенето и казва на читателите защо публикацията си струва времето им.`},vu=y({default:()=>bu,title:()=>yu}),yu=`My App`,bu={"canvas.category":`Categoria`,"post-list.empty-state.description":`Quan es publiquin entrades, apareixeran aquí.`,"canvas.tag-numbered":`Etiqueta {number}`,"cover-media.play":`Reprodueix el vídeo`,"post-comments.unavailable":`Els comentaris no estan disponibles. No hi ha cap instància de l'aplicació.`,"post-counters.loading-likes":`S'estan carregant els m'agrada`,"post-comments.loading":`S'estan carregant els comentaris…`,"post-actions.like":`M'agrada l'entrada`,"canvas.content":`Aquí apareix l'entrada completa. Escriu-hi la història, afegeix imatges, galeries i vídeos des del tauler, i utilitza encapçalaments i cites perquè sigui fàcil de llegir.`,"related-posts.empty-state.title":`Encara no hi ha entrades relacionades`,"post.time-to-read":`{count, plural, one {{count,number} min de lectura} other {{count,number} min de lectura}}`,"post-actions.link-copied":`L'enllaç s'ha copiat`,"category-header.all-posts":`Totes les entrades`,"post-actions.copy-manually":`Copia l'enllaç següent per compartir aquesta entrada.`,"post-actions.copy-link":`Copia l'enllaç`,"cover-media.placeholder-alt":`Portada de l'entrada`,"post-actions.link-label":`Enllaç de l'entrada`,"post-list.empty-state.title":`Encara no hi ha entrades`,"post-actions.share-dialog":`Comparteix l'entrada`,"canvas.post-title":`Títol de l'entrada`,"post-actions.unlike":`Treu el m'agrada de l'entrada`,"post-comments.no-post":`Encara no s'ha resolt cap entrada per a aquest URL.`,"post.like-count":`{count, plural, one {{formatted} m'agrada} other {{formatted} m'agrada}}`,"canvas.category-numbered":`Categoria {number}`,"post.comment-count":`{count, plural, one {{formatted} comentari} other {{formatted} comentaris}}`,"post-actions.share":`Comparteix l'entrada`,"post.view-count":`{count, plural, one {{formatted} visualització} other {{formatted} visualitzacions}}`,"post-actions.close":`Tanca`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Retrat de l'autor`,"canvas.author-name":`Nom de l'autor`,"post-comments.demo-notice":`Durant l'edició es mostren comentaris de mostra. Les persones visitants veuran comentaris reals.`,title:yu,"related-posts.empty-state.description":`Quan es publiquin més entrades, apareixeran aquí.`,"canvas.excerpt":`Comparteix aquí la idea principal de l'entrada. Aquest resum breu es mostra a les targetes del feed i als resultats de cerca, i explica per què val la pena llegir l'entrada.`},xu=y({default:()=>Cu,title:()=>Su}),Su=`My App`,Cu={"canvas.category":`Kategorie`,"post-list.empty-state.description":`Až budou příspěvky publikované, zobrazí se tady.`,"canvas.tag-numbered":`Štítek {number}`,"cover-media.play":`Přehrát video`,"post-comments.unavailable":`Komentáře nejsou dostupné — chybí instance aplikace.`,"post-counters.loading-likes":`Načítání označení To se mi líbí`,"post-comments.loading":`Načítání komentářů…`,"post-actions.like":`Označit příspěvek jako To se mi líbí`,"canvas.content":`Tady se zobrazuje celý příspěvek. Napište svůj příběh, přidejte obrázky, galerie a video z ovládacího panelu a pomocí nadpisů a citací ho zpřehledněte.`,"related-posts.empty-state.title":`Zatím žádné související příspěvky`,"post.time-to-read":`{count, plural, one {{count,number} min čtení} few {{count,number} min čtení} many {{count,number} min čtení} other {{count,number} min čtení}}`,"post-actions.link-copied":`Odkaz zkopírován`,"category-header.all-posts":`Všechny příspěvky`,"post-actions.copy-manually":`Zkopírujte níže uvedený odkaz a sdílejte tento příspěvek.`,"post-actions.copy-link":`Zkopírovat odkaz`,"cover-media.placeholder-alt":`Úvodní obrázek příspěvku`,"post-actions.link-label":`Odkaz na příspěvek`,"post-list.empty-state.title":`Zatím žádné příspěvky`,"post-actions.share-dialog":`Sdílet příspěvek`,"canvas.post-title":`Název příspěvku`,"post-actions.unlike":`Odebrat To se mi líbí z příspěvku`,"post-comments.no-post":`Pro tuto URL zatím není k dispozici žádný příspěvek.`,"post.like-count":`{count, plural, one {{formatted} označení To se mi líbí} few {{formatted} označení To se mi líbí} many {{formatted} označení To se mi líbí} other {{formatted} označení To se mi líbí}}`,"canvas.category-numbered":`Kategorie {number}`,"post.comment-count":`{count, plural, one {{formatted} komentář} few {{formatted} komentáře} many {{formatted} komentáře} other {{formatted} komentářů}}`,"post-actions.share":`Sdílet příspěvek`,"post.view-count":`{count, plural, one {{formatted} zobrazení} few {{formatted} zobrazení} many {{formatted} zobrazení} other {{formatted} zobrazení}}`,"post-actions.close":`Zavřít`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Fotka autora`,"canvas.author-name":`Jméno autora`,"post-comments.demo-notice":`Při úpravách se zobrazují ukázkové komentáře. Návštěvníci uvidí skutečné komentáře.`,title:Su,"related-posts.empty-state.description":`Až bude publikováno víc příspěvků, zobrazí se tady.`,"canvas.excerpt":`Tady představte hlavní myšlenku příspěvku. Toto krátké shrnutí se zobrazuje na kartách kanálu a ve výsledcích hledání a čtenářům říká, proč se příspěvek vyplatí přečíst.`},wu=y({default:()=>Eu,title:()=>Tu}),Tu=`My App`,Eu={"canvas.category":`Kategori`,"post-list.empty-state.description":`Når indlæg er udgivet, vises de her.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`Afspil video`,"post-comments.unavailable":`Kommentarer er ikke tilgængelige — ingen appforekomst.`,"post-counters.loading-likes":`Indlæser synes godt om`,"post-comments.loading":`Indlæser kommentarer…`,"post-actions.like":`Synes godt om indlæg`,"canvas.content":`Det er her, hele indlægget vises. Skriv din historie her, tilføj billeder, gallerier og video fra kontrolpanelet, og brug overskrifter og citater til at gøre det nemt at læse.`,"related-posts.empty-state.title":`Ingen relaterede indlæg endnu`,"post.time-to-read":`{count, plural, one {{count,number} min. læsning} other {{count,number} min. læsning}}`,"post-actions.link-copied":`Link kopieret`,"category-header.all-posts":`Alle indlæg`,"post-actions.copy-manually":`Kopiér linket nedenfor for at dele dette indlæg.`,"post-actions.copy-link":`Kopiér link`,"cover-media.placeholder-alt":`Coverbillede til indlæg`,"post-actions.link-label":`Link til indlæg`,"post-list.empty-state.title":`Ingen indlæg endnu`,"post-actions.share-dialog":`Del indlæg`,"canvas.post-title":`Indlægstitel`,"post-actions.unlike":`Fjern Synes godt om fra indlæg`,"post-comments.no-post":`Der er endnu ikke fundet et indlæg for denne URL.`,"post.like-count":`{count, plural, one {{formatted} synes godt om} other {{formatted} synes godt om}}`,"canvas.category-numbered":`Kategori {number}`,"post.comment-count":`{count, plural, one {{formatted} kommentar} other {{formatted} kommentarer}}`,"post-actions.share":`Del indlæg`,"post.view-count":`{count, plural, one {{formatted} visning} other {{formatted} visninger}}`,"post-actions.close":`Luk`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Skribentbillede`,"canvas.author-name":`Skribentnavn`,"post-comments.demo-notice":`Eksempelkommentarer vises under redigering. Besøgende ser rigtige kommentarer.`,title:Tu,"related-posts.empty-state.description":`Når flere indlæg er udgivet, vises de her.`,"canvas.excerpt":`Del hovedideen i dit indlæg her. Dette korte resumé vises på feedkort og i søgeresultater og fortæller læserne, hvorfor indlægget er værd at læse.`},Du=y({default:()=>ku,title:()=>Ou}),Ou=`My App`,ku={"canvas.category":`Kategorie`,"post-list.empty-state.description":`Sobald Beiträge veröffentlicht sind, werden sie hier angezeigt.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`Video abspielen`,"post-comments.unavailable":`Kommentare sind nicht verfügbar — keine App-Instanz.`,"post-counters.loading-likes":`Likes werden geladen`,"post-comments.loading":`Kommentare werden geladen …`,"post-actions.like":`Beitrag liken`,"canvas.content":`Hier wird der vollständige Beitrag angezeigt. Schreibe hier deine Geschichte, füge Bilder, Galerien und Videos aus dem Dashboard hinzu und nutze Überschriften und Zitate, damit sie leicht lesbar bleibt.`,"related-posts.empty-state.title":`Noch keine ähnlichen Beiträge`,"post.time-to-read":`{count, plural, one {{count,number} Min. Lesezeit} other {{count,number} Min. Lesezeit}}`,"post-actions.link-copied":`Link kopiert`,"category-header.all-posts":`Alle Beiträge`,"post-actions.copy-manually":`Kopiere den Link unten, um diesen Beitrag zu teilen.`,"post-actions.copy-link":`Link kopieren`,"cover-media.placeholder-alt":`Titelbild des Beitrags`,"post-actions.link-label":`Link zum Beitrag`,"post-list.empty-state.title":`Noch keine Beiträge`,"post-actions.share-dialog":`Beitrag teilen`,"canvas.post-title":`Beitragstitel`,"post-actions.unlike":`Like für Beitrag entfernen`,"post-comments.no-post":`Für diese URL wurde noch kein Beitrag gefunden.`,"post.like-count":`{count, plural, one {{formatted} Like} other {{formatted} Likes}}`,"canvas.category-numbered":`Kategorie {number}`,"post.comment-count":`{count, plural, one {{formatted} Kommentar} other {{formatted} Kommentare}}`,"post-actions.share":`Beitrag teilen`,"post.view-count":`{count, plural, one {{formatted} Aufruf} other {{formatted} Aufrufe}}`,"post-actions.close":`Schließen`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Autorenfoto`,"canvas.author-name":`Autorenname`,"post-comments.demo-notice":`Beim Bearbeiten werden Beispielkommentare angezeigt. Besucher sehen echte Kommentare.`,title:Ou,"related-posts.empty-state.description":`Sobald weitere Beiträge veröffentlicht sind, werden sie hier angezeigt.`,"canvas.excerpt":`Teile hier die wichtigste Idee deines Beitrags. Diese kurze Zusammenfassung wird auf Feed-Karten und in Suchergebnissen angezeigt und zeigt Lesern, warum sich das Lesen lohnt.`},Au=y({default:()=>Mu,title:()=>ju}),ju=`My App`,Mu={"canvas.category":`Κατηγορία`,"post-list.empty-state.description":`Μόλις δημοσιευτούν δημοσιεύσεις, θα εμφανιστούν εδώ.`,"canvas.tag-numbered":`Ετικέτα {number}`,"cover-media.play":`Αναπαραγωγή βίντεο`,"post-comments.unavailable":`Τα σχόλια δεν είναι διαθέσιμα — δεν υπάρχει instance εφαρμογής.`,"post-counters.loading-likes":`Φόρτωση επισημάνσεων «Μου αρέσει»`,"post-comments.loading":`Φόρτωση σχολίων…`,"post-actions.like":`Μου αρέσει η δημοσίευση`,"canvas.content":`Εδώ εμφανίζεται η πλήρης δημοσίευση. Γράψε την ιστορία σου εδώ, πρόσθεσε εικόνες, συλλογές και βίντεο από τον Πίνακα εργαλείων, και χρησιμοποίησε επικεφαλίδες και παραθέματα για να είναι εύκολη στην ανάγνωση.`,"related-posts.empty-state.title":`Δεν υπάρχουν ακόμη σχετικές δημοσιεύσεις`,"post.time-to-read":`{count, plural, one {{count,number} λεπτό ανάγνωσης} other {{count,number} λεπτά ανάγνωσης}}`,"post-actions.link-copied":`Ο σύνδεσμος αντιγράφηκε`,"category-header.all-posts":`Όλες οι δημοσιεύσεις`,"post-actions.copy-manually":`Αντίγραψε τον παρακάτω σύνδεσμο για να κοινοποιήσεις αυτή τη δημοσίευση.`,"post-actions.copy-link":`Αντιγραφή συνδέσμου`,"cover-media.placeholder-alt":`Εικόνα εξωφύλλου δημοσίευσης`,"post-actions.link-label":`Σύνδεσμος δημοσίευσης`,"post-list.empty-state.title":`Δεν υπάρχουν ακόμη δημοσιεύσεις`,"post-actions.share-dialog":`Κοινοποίηση δημοσίευσης`,"canvas.post-title":`Τίτλος δημοσίευσης`,"post-actions.unlike":`Κατάργηση Μου αρέσει από τη δημοσίευση`,"post-comments.no-post":`Δεν έχει βρεθεί ακόμη δημοσίευση για αυτό το URL.`,"post.like-count":`{count, plural, one {{formatted} επισήμανση «Μου αρέσει»} other {{formatted} επισημάνσεις «Μου αρέσει»}}`,"canvas.category-numbered":`Κατηγορία {number}`,"post.comment-count":`{count, plural, one {{formatted} σχόλιο} other {{formatted} σχόλια}}`,"post-actions.share":`Κοινοποίηση δημοσίευσης`,"post.view-count":`{count, plural, one {{formatted} προβολή} other {{formatted} προβολές}}`,"post-actions.close":`Κλείσιμο`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Φωτογραφία συγγραφέα`,"canvas.author-name":`Όνομα συγγραφέα`,"post-comments.demo-notice":`Κατά την επεξεργασία εμφανίζονται ενδεικτικά σχόλια. Οι επισκέπτες θα βλέπουν πραγματικά σχόλια.`,title:ju,"related-posts.empty-state.description":`Μόλις δημοσιευτούν περισσότερες δημοσιεύσεις, θα εμφανιστούν εδώ.`,"canvas.excerpt":`Μοιράσου εδώ την κύρια ιδέα της δημοσίευσής σου. Αυτή η σύντομη σύνοψη εμφανίζεται στις κάρτες ροής και στα αποτελέσματα αναζήτησης, και δείχνει στους αναγνώστες γιατί αξίζει να διαβάσουν τη δημοσίευση.`},Nu=y({default:()=>Pu}),Pu={"post.time-to-read":`{count, plural, one {# min read} other {# min read}}`,"post.view-count":`{count, plural, one {{formatted} view} other {{formatted} views}}`,"post.comment-count":`{count, plural, one {{formatted} comment} other {{formatted} comments}}`,"post.like-count":`{count, plural, one {{formatted} like} other {{formatted} likes}}`,"post-list.empty-state.title":`No posts yet`,"post-list.empty-state.description":`Once posts are published, they will appear here.`,"related-posts.empty-state.title":`No related posts yet`,"related-posts.empty-state.description":`Once more posts are published, they will appear here.`,"post-actions.like":`Like post`,"post-actions.unlike":`Unlike post`,"post-actions.share":`Share post`,"post-actions.share-dialog":`Share post`,"post-actions.link-copied":`Link copied`,"post-actions.copy-manually":`Copy the link below to share this post.`,"post-actions.link-label":`Post link`,"post-actions.copy-link":`Copy link`,"post-actions.close":`Close`,"post-counters.loading-likes":`Loading likes`,"cover-media.play":`Play video`,"cover-media.placeholder-alt":`Post cover image`,"post-comments.loading":`Loading comments…`,"post-comments.no-post":`No post resolved for this URL yet.`,"post-comments.unavailable":`Comments are unavailable — no app instance.`,"post-comments.demo-notice":`Sample comments are shown while editing. Visitors will see real comments.`,"canvas.post-title":`Post Title`,"canvas.author-name":`Author Name`,"canvas.excerpt":`Share the key idea of your post here. This short summary shows on feed cards and in search results, and tells readers why the post is worth their time.`,"canvas.content":`This is where the full post appears. Write your story here, add images, galleries and video from the dashboard, and use headings and quotes to keep it easy to read.`,"canvas.category":`Category`,"canvas.category-numbered":`Category {number}`,"canvas.tag-numbered":`Tag {number}`,"canvas.author-photo-alt":`Author photo`,"category-header.all-posts":`All Posts`},Fu=y({default:()=>Lu,title:()=>Iu}),Iu=`My App`,Lu={"canvas.category":`Category`,"post-list.empty-state.description":`Once posts are published, they will appear here.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`Play video`,"post-comments.unavailable":`Comments are unavailable — no app instance.`,"post-counters.loading-likes":`Loading likes`,"post-comments.loading":`Loading comments…`,"post-actions.like":`Like post`,"canvas.content":`This is where the full post appears. Write your story here, add images, galleries and video from the dashboard, and use headings and quotes to keep it easy to read.`,"related-posts.empty-state.title":`No related posts yet`,"post.time-to-read":`{count, plural, one {# min read} other {# min read}}`,"post-actions.link-copied":`Link copied`,"category-header.all-posts":`All Posts`,"post-actions.copy-manually":`Copy the link below to share this post.`,"post-actions.copy-link":`Copy link`,"cover-media.placeholder-alt":`Post cover image`,"post-actions.link-label":`Post link`,"post-list.empty-state.title":`No posts yet`,"post-actions.share-dialog":`Share post`,"canvas.post-title":`Post Title`,"post-actions.unlike":`Unlike post`,"post-comments.no-post":`No post resolved for this URL yet.`,"post.like-count":`{count, plural, one {{formatted} like} other {{formatted} likes}}`,"canvas.category-numbered":`Category {number}`,"post.comment-count":`{count, plural, one {{formatted} comment} other {{formatted} comments}}`,"post-actions.share":`Share post`,"post.view-count":`{count, plural, one {{formatted} view} other {{formatted} views}}`,"post-actions.close":`Close`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Author photo`,"canvas.author-name":`Author Name`,"post-comments.demo-notice":`Sample comments are shown while editing. Visitors will see real comments.`,title:Iu,"related-posts.empty-state.description":`Once more posts are published, they will appear here.`,"canvas.excerpt":`Share the key idea of your post here. This short summary shows on feed cards and in search results, and tells readers why the post is worth their time.`},Ru=y({default:()=>Bu,title:()=>zu}),zu=`My App`,Bu={"canvas.category":`Categoría`,"post-list.empty-state.description":`Cuando se publiquen entradas, aparecerán aquí.`,"canvas.tag-numbered":`Etiqueta {number}`,"cover-media.play":`Reproducir video`,"post-comments.unavailable":`Los comentarios no están disponibles — no hay instancia de la app.`,"post-counters.loading-likes":`Cargando Me gusta`,"post-comments.loading":`Cargando comentarios…`,"post-actions.like":`Dar Me gusta a la entrada`,"canvas.content":`Aquí se muestra la entrada completa. Escribe tu historia aquí, agrega imágenes, galerías y video desde el panel de control, y usa encabezados y citas para que sea fácil de leer.`,"related-posts.empty-state.title":`Aún no hay entradas relacionadas`,"post.time-to-read":`{count, plural, one {{count,number} min de lectura} other {{count,number} min de lectura}}`,"post-actions.link-copied":`Enlace copiado`,"category-header.all-posts":`Todas las entradas`,"post-actions.copy-manually":`Copia el enlace a continuación para compartir esta entrada.`,"post-actions.copy-link":`Copiar enlace`,"cover-media.placeholder-alt":`Imagen de portada de la entrada`,"post-actions.link-label":`Enlace de la entrada`,"post-list.empty-state.title":`Aún no hay entradas`,"post-actions.share-dialog":`Compartir entrada`,"canvas.post-title":`Título de la entrada`,"post-actions.unlike":`Quitar Me gusta de la entrada`,"post-comments.no-post":`Aún no se resolvió ninguna entrada para esta URL.`,"post.like-count":`{count, plural, one {{formatted} Me gusta} other {{formatted} Me gusta}}`,"canvas.category-numbered":`Categoría {number}`,"post.comment-count":`{count, plural, one {{formatted} comentario} other {{formatted} comentarios}}`,"post-actions.share":`Compartir entrada`,"post.view-count":`{count, plural, one {{formatted} vista} other {{formatted} vistas}}`,"post-actions.close":`Cerrar`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Foto del autor`,"canvas.author-name":`Nombre del autor`,"post-comments.demo-notice":`Se muestran comentarios de muestra durante la edición. Los visitantes verán comentarios reales.`,title:zu,"related-posts.empty-state.description":`Cuando se publiquen más entradas, aparecerán aquí.`,"canvas.excerpt":`Comparte aquí la idea principal de tu entrada. Este breve resumen se muestra en las tarjetas del feed y en los resultados de búsqueda, y les dice a los lectores por qué vale la pena leer la entrada.`},Vu=y({default:()=>Uu,title:()=>Hu}),Hu=`My App`,Uu={"canvas.category":`Kategoria`,"post-list.empty-state.description":`Kun julkaisuja julkaistaan, ne näkyvät täällä.`,"canvas.tag-numbered":`Tunniste {number}`,"cover-media.play":`Toista video`,"post-comments.unavailable":`Kommentit eivät ole saatavilla — ei sovellusinstanssia.`,"post-counters.loading-likes":`Ladataan tykkäyksiä`,"post-comments.loading":`Ladataan kommentteja…`,"post-actions.like":`Tykkää julkaisusta`,"canvas.content":`Tässä näkyy koko julkaisu. Kirjoita tarinasi tähän, lisää kuvia, gallerioita ja videoita hallintapaneelista sekä käytä otsikoita ja lainauksia, jotta tekstiä on helppo lukea.`,"related-posts.empty-state.title":`Ei vielä aiheeseen liittyviä julkaisuja`,"post.time-to-read":`{count, plural, one {{count,number} min lukuaika} other {{count,number} min lukuaika}}`,"post-actions.link-copied":`Linkki kopioitu`,"category-header.all-posts":`Kaikki julkaisut`,"post-actions.copy-manually":`Kopioi alla oleva linkki jakaaksesi tämän julkaisun.`,"post-actions.copy-link":`Kopioi linkki`,"cover-media.placeholder-alt":`Julkaisun kansikuva`,"post-actions.link-label":`Julkaisun linkki`,"post-list.empty-state.title":`Ei vielä julkaisuja`,"post-actions.share-dialog":`Jaa julkaisu`,"canvas.post-title":`Julkaisun otsikko`,"post-actions.unlike":`Poista tykkäys julkaisusta`,"post-comments.no-post":`Tälle URL-osoitteelle ei vielä löydy julkaisua.`,"post.like-count":`{count, plural, one {{formatted} tykkäys} other {{formatted} tykkäystä}}`,"canvas.category-numbered":`Kategoria {number}`,"post.comment-count":`{count, plural, one {{formatted} kommentti} other {{formatted} kommenttia}}`,"post-actions.share":`Jaa julkaisu`,"post.view-count":`{count, plural, one {{formatted} näkymä} other {{formatted} näkymää}}`,"post-actions.close":`Sulje`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Kirjoittajan kuva`,"canvas.author-name":`Kirjoittajan nimi`,"post-comments.demo-notice":`Muokkauksen aikana näytetään esimerkkikommentteja. Vierailijat näkevät oikeat kommentit.`,title:Hu,"related-posts.empty-state.description":`Kun lisää julkaisuja julkaistaan, ne näkyvät täällä.`,"canvas.excerpt":`Jaa julkaisusi pääidea tässä. Tämä lyhyt yhteenveto näkyy syötekorteissa ja hakutuloksissa, ja kertoo lukijoille, miksi julkaisu kannattaa lukea.`},Wu=y({default:()=>Ku,title:()=>Gu}),Gu=`My App`,Ku={"canvas.category":`Catégorie`,"post-list.empty-state.description":`Une fois les posts publiés, ils apparaîtront ici.`,"canvas.tag-numbered":`Mot-clé {number}`,"cover-media.play":`Lire la vidéo`,"post-comments.unavailable":`Les commentaires ne sont pas disponibles — aucune instance d'application.`,"post-counters.loading-likes":`Chargement des J'aime`,"post-comments.loading":`Chargement des commentaires…`,"post-actions.like":`Aimer le post`,"canvas.content":`C'est ici que le post complet apparaît. Rédigez votre histoire ici, ajoutez des images, des galeries et des vidéos depuis le tableau de bord, et utilisez des titres et des citations pour faciliter la lecture.`,"related-posts.empty-state.title":`Aucun post associé pour le moment`,"post.time-to-read":`{count, plural, one {{count,number} min de lecture} other {{count,number} min de lecture}}`,"post-actions.link-copied":`Lien copié`,"category-header.all-posts":`Tous les posts`,"post-actions.copy-manually":`Copiez le lien ci-dessous pour partager ce post.`,"post-actions.copy-link":`Copier le lien`,"cover-media.placeholder-alt":`Image de couverture du post`,"post-actions.link-label":`Lien du post`,"post-list.empty-state.title":`Aucun post pour le moment`,"post-actions.share-dialog":`Partager le post`,"canvas.post-title":`Titre du post`,"post-actions.unlike":`Ne plus aimer le post`,"post-comments.no-post":`Aucun post n'est encore associé à cette URL.`,"post.like-count":`{count, plural, one {{formatted} J'aime} other {{formatted} J'aime}}`,"canvas.category-numbered":`Catégorie {number}`,"post.comment-count":`{count, plural, one {{formatted} commentaire} other {{formatted} commentaires}}`,"post-actions.share":`Partager le post`,"post.view-count":`{count, plural, one {{formatted} vue} other {{formatted} vues}}`,"post-actions.close":`Fermer`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Photo de l'auteur`,"canvas.author-name":`Nom de l'auteur`,"post-comments.demo-notice":`Des exemples de commentaires s'affichent pendant la modification. Les visiteurs verront les vrais commentaires.`,title:Gu,"related-posts.empty-state.description":`Une fois d'autres posts publiés, ils apparaîtront ici.`,"canvas.excerpt":`Partagez ici l'idée principale de votre post. Ce bref résumé s'affiche sur les fiches du fil et dans les résultats de recherche, et indique aux lecteurs pourquoi ce post mérite d'être lu.`},qu=y({default:()=>Yu,title:()=>Ju}),Ju=`My App`,Yu={"canvas.category":`קטגוריה`,"post-list.empty-state.description":`אחרי פרסום פוסטים, הם יופיעו כאן.`,"canvas.tag-numbered":`תג {number}`,"cover-media.play":`הפעלת סרטון`,"post-comments.unavailable":`התגובות לא זמינות — אין מופע אפליקציה.`,"post-counters.loading-likes":`טעינת לייקים`,"post-comments.loading":`טעינת תגובות…`,"post-actions.like":`סימון פוסט בלייק`,"canvas.content":`כאן מופיע הפוסט המלא. אפשר לכתוב כאן את הסיפור, להוסיף תמונות, גלריות וסרטונים מהדאשבורד, ולהשתמש בתגי Heading ובציטוטים כדי להקל על הקריאה.`,"related-posts.empty-state.title":`אין עדיין פוסטים קשורים`,"post.time-to-read":`{count, plural, one {# min read} other {# min read}}`,"post-actions.link-copied":`הלינק הועתק`,"category-header.all-posts":`כל הפוסטים`,"post-actions.copy-manually":`אפשר להעתיק את הלינק שבהמשך כדי לשתף את הפוסט הזה.`,"post-actions.copy-link":`העתקת לינק`,"cover-media.placeholder-alt":`תמונת קאבר של פוסט`,"post-actions.link-label":`לינק לפוסט`,"post-list.empty-state.title":`אין עדיין פוסטים`,"post-actions.share-dialog":`שיתוף פוסט`,"canvas.post-title":`כותרת הפוסט`,"post-actions.unlike":`ביטול לייק לפוסט`,"post-comments.no-post":`עדיין לא נמצא פוסט לכתובת URL זו.`,"post.like-count":`{count, plural, one {{formatted} like} other {{formatted} likes}}`,"canvas.category-numbered":`קטגוריה {number}`,"post.comment-count":`{count, plural, one {{formatted} comment} other {{formatted} comments}}`,"post-actions.share":`שיתוף פוסט`,"post.view-count":`{count, plural, one {{formatted} view} other {{formatted} views}}`,"post-actions.close":`סגירה`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`תמונת מחבר/ת`,"canvas.author-name":`שם המחבר/ת`,"post-comments.demo-notice":`בזמן העריכה מוצגות תגובות לדוגמה. הגולשים יראו תגובות אמיתיות.`,title:Ju,"related-posts.empty-state.description":`אחרי פרסום פוסטים נוספים, הם יופיעו כאן.`,"canvas.excerpt":`כאן אפשר לשתף את הרעיון המרכזי של הפוסט. התקציר הקצר הזה מופיע בכרטיסי הפיד ובתוצאות החיפוש, ומסביר למה כדאי לקרוא את הפוסט.`},Xu=y({default:()=>Qu,title:()=>Zu}),Zu=`My App`,Qu={"canvas.category":`श्रेणी`,"post-list.empty-state.description":`पोस्ट प्रकाशित होने के बाद वे यहाँ दिखाई देंगी।`,"canvas.tag-numbered":`टैग {number}`,"cover-media.play":`वीडियो प्ले करें`,"post-comments.unavailable":`टिप्पणियां उपलब्ध नहीं हैं — कोई ऐप इंस्टेंस नहीं है।`,"post-counters.loading-likes":`लाइक लोड हो रहे हैं`,"post-comments.loading":`टिप्पणियां लोड हो रही हैं…`,"post-actions.like":`पोस्ट लाइक करें`,"canvas.content":`पूरी पोस्ट यहाँ दिखाई देती है। अपनी कहानी यहाँ लिखें, डैशबोर्ड से इमेज, गैलरी और वीडियो जोड़ें, और पढ़ने में आसान रखने के लिए हेडिंग और उद्धरणों का उपयोग करें।`,"related-posts.empty-state.title":`अभी तक कोई संबंधित पोस्ट नहीं`,"post.time-to-read":`{count, plural, one {{count,number} मिनट रीड्स} other {{count,number} मिनट रीड्स}}`,"post-actions.link-copied":`लिंक कॉपी हो गया`,"category-header.all-posts":`सभी पोस्ट`,"post-actions.copy-manually":`इस पोस्ट को शेयर करने के लिए नीचे दिया गया लिंक कॉपी करें।`,"post-actions.copy-link":`लिंक कॉपी करें`,"cover-media.placeholder-alt":`पोस्ट कवर इमेज`,"post-actions.link-label":`पोस्ट लिंक`,"post-list.empty-state.title":`अभी तक कोई पोस्ट नहीं`,"post-actions.share-dialog":`पोस्ट शेयर करें`,"canvas.post-title":`पोस्ट शीर्षक`,"post-actions.unlike":`पोस्ट से लाइक हटाएँ`,"post-comments.no-post":`इस URL के लिए अभी तक कोई पोस्ट हल नहीं हुई है।`,"post.like-count":`{count, plural, one {{formatted} लाइक} other {{formatted} लाइक}}`,"canvas.category-numbered":`श्रेणी {number}`,"post.comment-count":`{count, plural, one {{formatted} टिप्पणी} other {{formatted} टिप्पणियां}}`,"post-actions.share":`पोस्ट शेयर करें`,"post.view-count":`{count, plural, one {{formatted} देखें} other {{formatted} देखें}}`,"post-actions.close":`बंद करें`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`लेखक की फ़ोटो`,"canvas.author-name":`लेखक का नाम`,"post-comments.demo-notice":`एडिटिंग के दौरान सैंपल टिप्पणियां दिखाई जाती हैं। विज़िटर असली टिप्पणियां देखेंगे।`,title:Zu,"related-posts.empty-state.description":`और पोस्ट प्रकाशित होने के बाद वे यहाँ दिखाई देंगी।`,"canvas.excerpt":`अपनी पोस्ट का मुख्य विचार यहाँ शेयर करें। यह छोटा सारांश फ़ीड कार्ड और खोज परिणामों में दिखता है, और पाठकों को बताता है कि पोस्ट उनके समय के लायक क्यों है।`},$u=y({default:()=>td,title:()=>ed}),ed=`My App`,td={"canvas.category":`Kategorija`,"post-list.empty-state.description":`Nakon objavljivanja objave će se pojaviti ovdje.`,"canvas.tag-numbered":`Oznaka {number}`,"cover-media.play":`Reproduciraj videozapis`,"post-comments.unavailable":`Komentari nisu dostupni — nema instance aplikacije.`,"post-counters.loading-likes":`Učitavanje sviđanja`,"post-comments.loading":`Učitavanje komentara…`,"post-actions.like":`Označi objavu sviđanjem`,"canvas.content":`Ovdje se prikazuje cijela objava. Ovdje napišite svoju priču, dodajte slike, galerije i videozapise s Nadzorne ploče te upotrijebite naslove i citate kako bi se tekst lakše čitao.`,"related-posts.empty-state.title":`Još nema povezanih objava`,"post.time-to-read":`{count, plural, one {# min read} other {# min read}}`,"post-actions.link-copied":`Poveznica kopirana`,"category-header.all-posts":`Sve objave`,"post-actions.copy-manually":`Kopirajte poveznicu u nastavku da biste podijelili ovu objavu.`,"post-actions.copy-link":`Kopiraj poveznicu`,"cover-media.placeholder-alt":`Naslovna slika objave`,"post-actions.link-label":`Poveznica objave`,"post-list.empty-state.title":`Još nema objava`,"post-actions.share-dialog":`Podijeli objavu`,"canvas.post-title":`Naslov objave`,"post-actions.unlike":`Ukloni sviđanje s objave`,"post-comments.no-post":`Za ovaj URL još nije pronađena objava.`,"post.like-count":`{count, plural, one {{formatted} like} other {{formatted} likes}}`,"canvas.category-numbered":`Kategorija {number}`,"post.comment-count":`{count, plural, one {{formatted} comment} other {{formatted} comments}}`,"post-actions.share":`Podijeli objavu`,"post.view-count":`{count, plural, one {{formatted} view} other {{formatted} views}}`,"post-actions.close":`Zatvori`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Fotografija autora`,"canvas.author-name":`Ime autora`,"post-comments.demo-notice":`Tijekom uređivanja prikazuju se ogledni komentari. Posjetitelji će vidjeti stvarne komentare.`,title:ed,"related-posts.empty-state.description":`Nakon objavljivanja dodatnih objava pojavit će se ovdje.`,"canvas.excerpt":`Ovdje podijelite glavnu ideju svoje objave. Ovaj kratki sažetak prikazuje se na karticama feeda i u rezultatima pretraživanja te čitateljima govori zašto vrijedi pročitati objavu.`},nd=y({default:()=>id,title:()=>rd}),rd=`My App`,id={"canvas.category":`Kategória`,"post-list.empty-state.description":`A közzétett bejegyzések itt jelennek majd meg.`,"canvas.tag-numbered":`{number}. címke`,"cover-media.play":`Videó lejátszása`,"post-comments.unavailable":`A hozzászólások nem érhetők el – nincs alkalmazáspéldány.`,"post-counters.loading-likes":`Kedvelések betöltése`,"post-comments.loading":`Hozzászólások betöltése…`,"post-actions.like":`Bejegyzés kedvelése`,"canvas.content":`Itt jelenik meg a teljes bejegyzés. Ide írhatod a történetedet, itt adhatsz hozzá képeket, galériákat és videókat az irányítópultról, és itt használhatsz fejléceket és idézeteket, hogy a tartalmak könnyen olvashatók maradjanak.`,"related-posts.empty-state.title":`Még nincsenek kapcsolódó bejegyzések`,"post.time-to-read":`{count, plural, one {{count,number} perc olvasás} other {{count,number} perc olvasás}}`,"post-actions.link-copied":`Kimásoltad a hivatkozást`,"category-header.all-posts":`Összes bejegyzés`,"post-actions.copy-manually":`A bejegyzés megosztásához másold ki az alábbi hivatkozást.`,"post-actions.copy-link":`Hivatkozás másolása`,"cover-media.placeholder-alt":`Bejegyzés borítóképe`,"post-actions.link-label":`Bejegyzés hivatkozása`,"post-list.empty-state.title":`Még nincs bejegyzés`,"post-actions.share-dialog":`Bejegyzés megosztása`,"canvas.post-title":`Bejegyzés címe`,"post-actions.unlike":`Bejegyzés kedvelésének visszavonása`,"post-comments.no-post":`Ehhez az URL-címhez még nem tartozik bejegyzés.`,"post.like-count":`{count, plural, one {{formatted} kedvelés} other {{formatted} kedvelés}}`,"canvas.category-numbered":`{number}. kategória`,"post.comment-count":`{count, plural, one {{formatted} hozzászólás} other {{formatted} hozzászólás}}`,"post-actions.share":`Bejegyzés megosztása`,"post.view-count":`{count, plural, one {{formatted} megtekintés} other {{formatted} megtekintés}}`,"post-actions.close":`Bezárás`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Szerző fotója`,"canvas.author-name":`Szerző neve`,"post-comments.demo-notice":`Szerkesztés közben mintahozzászólások jelennek meg. A látogatók valós hozzászólásokat fognak látni.`,title:rd,"related-posts.empty-state.description":`A további közzétett bejegyzések itt jelennek majd meg.`,"canvas.excerpt":`Itt oszthatod meg a bejegyzés fő mondanivalóját. Ez a rövid összefoglaló a hírcsatorna kártyáin és a keresési találatokban jelenik meg, és megmutatja az olvasóknak, miért érdemes elolvasni a bejegyzést.`},ad=y({default:()=>sd,title:()=>od}),od=`My App`,sd={"canvas.category":`Kategori`,"post-list.empty-state.description":`Setelah postingan dipublikasikan, postingan akan muncul di sini.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`Putar video`,"post-comments.unavailable":`Komentar tidak tersedia — tidak ada instans aplikasi.`,"post-counters.loading-likes":`Memuat Suka`,"post-comments.loading":`Memuat komentar…`,"post-actions.like":`Sukai postingan`,"canvas.content":`Postingan lengkap akan muncul di sini. Tulis cerita Anda di sini, tambahkan gambar, galeri, dan video dari Dashboard, serta gunakan heading dan kutipan agar mudah dibaca.`,"related-posts.empty-state.title":`Belum ada postingan terkait`,"post.time-to-read":`{count, plural, other {{count,number} mnt baca}}`,"post-actions.link-copied":`Tautan disalin`,"category-header.all-posts":`Semua Postingan`,"post-actions.copy-manually":`Salin tautan di bawah untuk membagikan postingan ini.`,"post-actions.copy-link":`Salin tautan`,"cover-media.placeholder-alt":`Gambar sampul postingan`,"post-actions.link-label":`Tautan postingan`,"post-list.empty-state.title":`Belum ada postingan`,"post-actions.share-dialog":`Bagikan postingan`,"canvas.post-title":`Judul Postingan`,"post-actions.unlike":`Batal menyukai postingan`,"post-comments.no-post":`Belum ada postingan yang terselesaikan untuk URL ini.`,"post.like-count":`{count, plural, other {{formatted} Suka}}`,"canvas.category-numbered":`Kategori {number}`,"post.comment-count":`{count, plural, other {{formatted} komentar}}`,"post-actions.share":`Bagikan postingan`,"post.view-count":`{count, plural, other {{formatted} lihat}}`,"post-actions.close":`Tutup`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Foto penulis`,"canvas.author-name":`Nama Penulis`,"post-comments.demo-notice":`Komentar contoh ditampilkan saat mengedit. Pengunjung akan melihat komentar asli.`,title:od,"related-posts.empty-state.description":`Setelah postingan lainnya dipublikasikan, postingan akan muncul di sini.`,"canvas.excerpt":`Bagikan ide utama postingan Anda di sini. Ringkasan singkat ini muncul di kartu feed dan hasil pencarian, serta memberi tahu pembaca mengapa postingan ini layak dibaca.`},cd=y({default:()=>ud,title:()=>ld}),ld=`My App`,ud={"canvas.category":`Categoria`,"post-list.empty-state.description":`Una volta pubblicati, i post appariranno qui.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`Riproduci video`,"post-comments.unavailable":`Commenti non disponibili — nessuna istanza dell'app.`,"post-counters.loading-likes":`Caricamento dei Mi piace`,"post-comments.loading":`Caricamento dei commenti…`,"post-actions.like":`Metti Mi piace al post`,"canvas.content":`Qui appare il post completo. Scrivi la tua storia, aggiungi immagini, gallerie e video dal Pannello di controllo, e usa titoli e citazioni per facilitarne la lettura.`,"related-posts.empty-state.title":`Ancora nessun post correlato`,"post.time-to-read":`{count, plural, one {{count,number} min di lettura} other {{count,number} min di lettura}}`,"post-actions.link-copied":`Link copiato`,"category-header.all-posts":`Tutti i post`,"post-actions.copy-manually":`Copia il link qui sotto per condividere questo post.`,"post-actions.copy-link":`Copia link`,"cover-media.placeholder-alt":`Immagine di copertina del post`,"post-actions.link-label":`Link del post`,"post-list.empty-state.title":`Ancora nessun post`,"post-actions.share-dialog":`Condividi post`,"canvas.post-title":`Titolo del post`,"post-actions.unlike":`Togli Mi piace dal post`,"post-comments.no-post":`Nessun post ancora risolto per questo URL.`,"post.like-count":`{count, plural, one {{formatted} Mi piace} other {{formatted} Mi piace}}`,"canvas.category-numbered":`Categoria {number}`,"post.comment-count":`{count, plural, one {{formatted} commento} other {{formatted} commenti}}`,"post-actions.share":`Condividi post`,"post.view-count":`{count, plural, one {{formatted} visualizzazione} other {{formatted} visualizzazioni}}`,"post-actions.close":`Chiudi`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Foto dell'autore`,"canvas.author-name":`Nome dell'autore`,"post-comments.demo-notice":`Durante la modifica vengono mostrati commenti di esempio. I visitatori vedranno i commenti reali.`,title:ld,"related-posts.empty-state.description":`Una volta pubblicati altri post, appariranno qui.`,"canvas.excerpt":`Condividi qui l'idea principale del tuo post. Questo breve riassunto appare nelle schede del feed e nei risultati di ricerca, e spiega ai lettori perché vale la pena leggere il post.`},dd=y({default:()=>pd,title:()=>fd}),fd=`My App`,pd={"canvas.category":`カテゴリー`,"post-list.empty-state.description":`記事が公開されると、ここに表示されます。`,"canvas.tag-numbered":`タグ {number}`,"cover-media.play":`動画を再生`,"post-comments.unavailable":`コメントを利用できません — アプリインスタンスがありません。`,"post-counters.loading-likes":`いいね!数を読み込み中`,"post-comments.loading":`コメントを読み込み中…`,"post-actions.like":`記事にいいね!する`,"canvas.content":`ここに記事の本文が表示されます。ダッシュボードから画像、ギャラリー、動画を追加して記事を書き、見出しや引用を使って読みやすくします。`,"related-posts.empty-state.title":`関連記事がありません`,"post.time-to-read":`{count, plural, other {{count,number}分で読めます}}`,"post-actions.link-copied":`リンクをコピーしました`,"category-header.all-posts":`すべての記事`,"post-actions.copy-manually":`この記事をシェアするには、以下のリンクをコピーしてください。`,"post-actions.copy-link":`リンクをコピー`,"cover-media.placeholder-alt":`記事のカバー画像`,"post-actions.link-label":`記事のリンク`,"post-list.empty-state.title":`記事がありません`,"post-actions.share-dialog":`記事をシェア`,"canvas.post-title":`記事タイトル`,"post-actions.unlike":`記事のいいね!を取り消す`,"post-comments.no-post":`この URL に対応する記事はまだありません。`,"post.like-count":`{count, plural, one {{formatted} like} other {{formatted} likes}}`,"canvas.category-numbered":`カテゴリー {number}`,"post.comment-count":`{count, plural, one {{formatted} comment} other {{formatted} comments}}`,"post-actions.share":`記事をシェアする`,"post.view-count":`{count, plural, one {{formatted} view} other {{formatted} views}}`,"post-actions.close":`閉じる`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`執筆者の写真`,"canvas.author-name":`執筆者名`,"post-comments.demo-notice":`編集中はサンプルコメントが表示されます。サイト訪問者には実際のコメントが表示されます。`,title:fd,"related-posts.empty-state.description":`記事がさらに公開されると、ここに表示されます。`,"canvas.excerpt":`記事の要点をここに入力します。この短い概要はフィードカードや検索結果に表示され、記事を読む価値を読者に伝えます。`},md=y({default:()=>gd,title:()=>hd}),hd=`My App`,gd={"canvas.category":`카테고리`,"post-list.empty-state.description":`게시물이 게시되면 여기에 표시됩니다.`,"canvas.tag-numbered":`태그 {number}`,"cover-media.play":`동영상 재생`,"post-comments.unavailable":`댓글을 사용할 수 없습니다 — 앱 인스턴스가 없습니다.`,"post-counters.loading-likes":`좋아요 불러오는 중`,"post-comments.loading":`댓글 불러오는 중…`,"post-actions.like":`게시물 좋아요`,"canvas.content":`전체 게시물이 여기에 표시됩니다. 스토리를 작성하고, 대시보드에서 이미지, 갤러리 및 동영상을 추가하세요. 읽기 쉽도록 제목과 인용문을 사용하세요.`,"related-posts.empty-state.title":`관련 게시물 없음`,"post.time-to-read":`{count, plural, other {{count,number}분 읽기}}`,"post-actions.link-copied":`링크 복사 완료`,"category-header.all-posts":`모든 게시물`,"post-actions.copy-manually":`해당 게시물을 공유하려면 아래 링크를 복사하세요.`,"post-actions.copy-link":`링크 복사`,"cover-media.placeholder-alt":`게시물 커버 이미지`,"post-actions.link-label":`게시물 링크`,"post-list.empty-state.title":`게시물 없음`,"post-actions.share-dialog":`게시물 공유`,"canvas.post-title":`게시물 제목`,"post-actions.unlike":`게시물 좋아요 취소`,"post-comments.no-post":`해당 URL에 연결된 게시물이 아직 없습니다.`,"post.like-count":`{count, plural, one {{formatted} like} other {{formatted} likes}}`,"canvas.category-numbered":`카테고리 {number}`,"post.comment-count":`{count, plural, one {{formatted} comment} other {{formatted} comments}}`,"post-actions.share":`게시물 공유`,"post.view-count":`{count, plural, one {{formatted} view} other {{formatted} views}}`,"post-actions.close":`닫기`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`작성자 사진`,"canvas.author-name":`작성자 이름`,"post-comments.demo-notice":`편집 중에는 샘플 댓글이 표시됩니다. 방문자에게는 실제 댓글이 표시됩니다.`,title:hd,"related-posts.empty-state.description":`게시물이 더 게시되면 여기에 표시됩니다.`,"canvas.excerpt":`게시물의 핵심 아이디어를 여기에 공유하세요. 해당 짧은 요약은 피드 카드 및 검색 결과에 표시되며, 독자에게 게시물을 읽을 가치가 있는 이유를 알려줍니다.`},_d=y({default:()=>yd,title:()=>vd}),vd=`My App`,yd={"canvas.category":`Kategorija`,"post-list.empty-state.description":`Kai įrašai bus paskelbti, jie bus rodomi čia.`,"canvas.tag-numbered":`Žyma {number}`,"cover-media.play":`Leisti vaizdo įrašą`,"post-comments.unavailable":`Komentarai nepasiekiami — nėra programėlės egzemplioriaus.`,"post-counters.loading-likes":`Įkeliamos žymos „Patinka“`,"post-comments.loading":`Įkeliami komentarai…`,"post-actions.like":`Pažymėti įrašą „Patinka“`,"canvas.content":`Čia rodomas visas įrašas. Rašykite savo istoriją čia, pridėkite vaizdų, galerijų ir vaizdo įrašų iš ataskaitų srities, naudokite antraštes ir citatas, kad tekstą būtų lengva skaityti.`,"related-posts.empty-state.title":`Susijusių įrašų dar nėra`,"post.time-to-read":`{count, plural, one {{count,number} min. skaitymo} few {{count,number} min. skaitymo} many {{count,number} min. skaitymo} other {{count,number} min. skaitymo}}`,"post-actions.link-copied":`Saitas nukopijuotas`,"category-header.all-posts":`Visi įrašai`,"post-actions.copy-manually":`Norėdami bendrinti šį įrašą, nukopijuokite toliau pateiktą saitą.`,"post-actions.copy-link":`Kopijuoti saitą`,"cover-media.placeholder-alt":`Įrašo viršelio nuotrauka`,"post-actions.link-label":`Įrašo saitas`,"post-list.empty-state.title":`Įrašų dar nėra`,"post-actions.share-dialog":`Bendrinti įrašą`,"canvas.post-title":`Įrašo pavadinimas`,"post-actions.unlike":`Pašalinti įrašo žymą „Patinka“`,"post-comments.no-post":`Šiam URL dar nepriskirtas joks įrašas.`,"post.like-count":`{count, plural, one {{formatted} pažymėjimas „Patinka“} few {{formatted} pažymėjimai „Patinka“} many {{formatted} pažymėjimų „Patinka“} other {{formatted} pažymėjimo „Patinka“}}`,"canvas.category-numbered":`Kategorija {number}`,"post.comment-count":`{count, plural, one {{formatted} komentaras} few {{formatted} komentarai} many {{formatted} komentarų} other {{formatted} komentaro}}`,"post-actions.share":`Bendrinti įrašą`,"post.view-count":`{count, plural, one {{formatted} peržiūra} few {{formatted} peržiūros} many {{formatted} peržiūrų} other {{formatted} peržiūros}}`,"post-actions.close":`Uždaryti`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Autoriaus nuotrauka`,"canvas.author-name":`Autoriaus vardas`,"post-comments.demo-notice":`Redaguojant rodomi pavyzdiniai komentarai. Lankytojai matys tikrus komentarus.`,title:vd,"related-posts.empty-state.description":`Kai bus paskelbta daugiau įrašų, jie bus rodomi čia.`,"canvas.excerpt":`Čia bendrinkite pagrindinę įrašo mintį. Ši trumpa santrauka rodoma sklaidos kanalo kortelėse ir paieškos rezultatuose, ji padeda skaitytojams suprasti, kodėl verta skaityti įrašą.`},bd=y({default:()=>Sd,title:()=>xd}),xd=`My App`,Sd={"canvas.category":`Kategorija`,"post-list.empty-state.description":`Kad ieraksti būs publicēti, tie tiks parādīti šeit.`,"canvas.tag-numbered":`Tags {number}`,"cover-media.play":`Atskaņot video`,"post-comments.unavailable":`Komentāri nav pieejami — nav lietotnes instances.`,"post-counters.loading-likes":`Notiek atzīmju „Patīk“ ielāde`,"post-comments.loading":`Notiek komentāru ielāde…`,"post-actions.like":`Atzīmēt ierakstu ar „Patīk“`,"canvas.content":`Šeit tiek rādīts pilnais ieraksts. Rakstiet savu stāstu šeit, pievienojiet attēlus, galerijas un video no informācijas paneļa un izmantojiet virsrakstus un citātus, lai teksts būtu viegli lasāms.`,"related-posts.empty-state.title":`Vēl nav saistītu ierakstu`,"post.time-to-read":`{count, plural, zero {{count,number} min. lasīšanai} one {{count,number} min. lasīšanai} other {{count,number} min. lasīšanai}}`,"post-actions.link-copied":`Saite nokopēta`,"category-header.all-posts":`Visi ieraksti`,"post-actions.copy-manually":`Lai kopīgotu šo ierakstu, nokopējiet tālāk norādīto saiti.`,"post-actions.copy-link":`Kopēt saiti`,"cover-media.placeholder-alt":`Ieraksta vāka attēls`,"post-actions.link-label":`Ieraksta saite`,"post-list.empty-state.title":`Vēl nav ierakstu`,"post-actions.share-dialog":`Kopīgot ierakstu`,"canvas.post-title":`Ieraksta virsraksts`,"post-actions.unlike":`Noņemt ierakstam atzīmi „Patīk“`,"post-comments.no-post":`Šim URL vēl nav piesaistīts neviens ieraksts.`,"post.like-count":`{count, plural, zero {{formatted} atzīmju „Patīk“} one {{formatted} atzīme „Patīk“} other {{formatted} atzīmes „Patīk“}}`,"canvas.category-numbered":`Kategorija {number}`,"post.comment-count":`{count, plural, zero {{formatted} komentāru} one {{formatted} komentārs} other {{formatted} komentāri}}`,"post-actions.share":`Kopīgot ierakstu`,"post.view-count":`{count, plural, zero {{formatted} skatījumu} one {{formatted} skatījums} other {{formatted} skatījumi}}`,"post-actions.close":`Aizvērt`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Autora fotoattēls`,"canvas.author-name":`Autora vārds`,"post-comments.demo-notice":`Rediģēšanas laikā tiek rādīti komentāru paraugi. Apmeklētāji redzēs īstus komentārus.`,title:xd,"related-posts.empty-state.description":`Kad būs publicēti vēl citi ieraksti, tie tiks parādīti šeit.`,"canvas.excerpt":`Šeit kopīgojiet ieraksta galveno domu. Šis īsais kopsavilkums tiek rādīts plūsmas kartītēs un meklēšanas rezultātos, kā arī paskaidro lasītājiem, kāpēc ierakstu ir vērts izlasīt.`},Cd=y({default:()=>Td,title:()=>wd}),wd=`My App`,Td={"canvas.category":`Kategori`,"post-list.empty-state.description":`Setelah catatan diterbitkan, catatan akan dipaparkan di sini.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`Mainkan video`,"post-comments.unavailable":`Komen tidak tersedia — tiada tika aplikasi.`,"post-counters.loading-likes":`Sedang memuatkan suka`,"post-comments.loading":`Sedang memuatkan komen…`,"post-actions.like":`Sukai catatan`,"canvas.content":`Di sinilah catatan penuh dipaparkan. Tulis cerita anda di sini, tambah imej, galeri dan video daripada papan pemuka, dan gunakan tajuk utama serta petikan untuk memastikan catatan mudah dibaca.`,"related-posts.empty-state.title":`Tiada catatan berkaitan lagi`,"post.time-to-read":`{count, plural, other {{count,number} minit bacaan}}`,"post-actions.link-copied":`Pautan disalin`,"category-header.all-posts":`Semua catatan`,"post-actions.copy-manually":`Salin pautan di bawah untuk berkongsi catatan ini.`,"post-actions.copy-link":`Salin pautan`,"cover-media.placeholder-alt":`Imej kulit catatan`,"post-actions.link-label":`Pautan catatan`,"post-list.empty-state.title":`Tiada catatan lagi`,"post-actions.share-dialog":`Kongsi catatan`,"canvas.post-title":`Tajuk catatan`,"post-actions.unlike":`Batalkan suka catatan`,"post-comments.no-post":`Tiada catatan diselesaikan untuk URL ini lagi.`,"post.like-count":`{count, plural, other {{formatted} suka}}`,"canvas.category-numbered":`Kategori {number}`,"post.comment-count":`{count, plural, other {{formatted} komen}}`,"post-actions.share":`Kongsi catatan`,"post.view-count":`{count, plural, other {{formatted} tontonan}}`,"post-actions.close":`Tutup`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Foto pengarang`,"canvas.author-name":`Nama pengarang`,"post-comments.demo-notice":`Komen sampel dipaparkan semasa mengedit. Pelawat akan melihat komen sebenar.`,title:wd,"related-posts.empty-state.description":`Setelah lebih banyak catatan diterbitkan, catatan akan dipaparkan di sini.`,"canvas.excerpt":`Kongsi idea utama catatan anda di sini. Ringkasan pendek ini dipaparkan pada kad suapan dan dalam hasil carian, serta memberitahu pembaca sebab catatan ini berbaloi untuk dibaca.`},Ed=y({default:()=>Od,title:()=>Dd}),Dd=`My App`,Od={"canvas.category":`Categorie`,"post-list.empty-state.description":`Zodra posts zijn gepubliceerd, verschijnen ze hier.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`Video afspelen`,"post-comments.unavailable":`Reacties zijn niet beschikbaar — geen app-instantie.`,"post-counters.loading-likes":`Likes laden`,"post-comments.loading":`Reacties laden…`,"post-actions.like":`Post liken`,"canvas.content":`Hier verschijnt de volledige post. Schrijf hier je verhaal, voeg afbeeldingen, galerijen en video's toe vanuit het dashboard, en gebruik koppen en citaten om de tekst goed leesbaar te houden.`,"related-posts.empty-state.title":`Nog geen gerelateerde posts`,"post.time-to-read":`{count, plural, one {{count,number} min leestijd} other {{count,number} min leestijd}}`,"post-actions.link-copied":`Link is gekopieerd`,"category-header.all-posts":`Alle posts`,"post-actions.copy-manually":`Kopieer de link hieronder om deze post te delen.`,"post-actions.copy-link":`Link kopiëren`,"cover-media.placeholder-alt":`Omslagafbeelding van post`,"post-actions.link-label":`Postlink`,"post-list.empty-state.title":`Nog geen posts`,"post-actions.share-dialog":`Post delen`,"canvas.post-title":`Posttitel`,"post-actions.unlike":`Post niet meer liken`,"post-comments.no-post":`Er is nog geen post voor deze URL gevonden.`,"post.like-count":`{count, plural, one {{formatted} like} other {{formatted} likes}}`,"canvas.category-numbered":`Categorie {number}`,"post.comment-count":`{count, plural, one {{formatted} reactie} other {{formatted} reacties}}`,"post-actions.share":`Post delen`,"post.view-count":`{count, plural, one {{formatted} weergave} other {{formatted} weergaven}}`,"post-actions.close":`Sluiten`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Auteursfoto`,"canvas.author-name":`Auteursnaam`,"post-comments.demo-notice":`Tijdens het bewerken worden voorbeeldreacties getoond. Bezoekers zien echte reacties.`,title:Dd,"related-posts.empty-state.description":`Zodra er meer posts zijn gepubliceerd, verschijnen ze hier.`,"canvas.excerpt":`Deel hier het belangrijkste idee van je post. Deze korte samenvatting verschijnt op feedkaarten en in zoekresultaten, en laat lezers zien waarom je post de moeite waard is.`},kd=y({default:()=>jd,title:()=>Ad}),Ad=`My App`,jd={"canvas.category":`Kategori`,"post-list.empty-state.description":`Når innlegg publiseres, vises de her.`,"canvas.tag-numbered":`Tagg {number}`,"cover-media.play":`Spill av video`,"post-comments.unavailable":`Kommentarer er ikke tilgjengelige — ingen appforekomst.`,"post-counters.loading-likes":`Laster likerklikk`,"post-comments.loading":`Laster inn kommentarer …`,"post-actions.like":`Lik innlegget`,"canvas.content":`Det er her hele innlegget vises. Skriv historien din her, legg til bilder, gallerier og video fra dashbordet, og bruk overskrifter og sitater for å gjøre det lett å lese.`,"related-posts.empty-state.title":`Ingen relaterte innlegg ennå`,"post.time-to-read":`{count, plural, one {{count,number} min lesetid} other {{count,number} min lesetid}}`,"post-actions.link-copied":`Lenken er kopiert`,"category-header.all-posts":`Alle innlegg`,"post-actions.copy-manually":`Kopier lenken nedenfor for å dele dette innlegget.`,"post-actions.copy-link":`Kopier lenke`,"cover-media.placeholder-alt":`Forsidebilde for innlegg`,"post-actions.link-label":`Innleggslenke`,"post-list.empty-state.title":`Ingen innlegg ennå`,"post-actions.share-dialog":`Del innlegg`,"canvas.post-title":`Innleggstittel`,"post-actions.unlike":`Fjern likerklikk fra innlegget`,"post-comments.no-post":`Fant ingen innlegg for denne URL-en ennå.`,"post.like-count":`{count, plural, one {{formatted} likerklikk} other {{formatted} likerklikk}}`,"canvas.category-numbered":`Kategori {number}`,"post.comment-count":`{count, plural, one {{formatted} kommentar} other {{formatted} kommentarer}}`,"post-actions.share":`Del innlegg`,"post.view-count":`{count, plural, one {{formatted} visning} other {{formatted} visninger}}`,"post-actions.close":`Lukk`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Forfatterbilde`,"canvas.author-name":`Forfatternavn`,"post-comments.demo-notice":`Eksempelkommentarer vises under redigering. Besøkende ser ekte kommentarer.`,title:Ad,"related-posts.empty-state.description":`Når flere innlegg publiseres, vises de her.`,"canvas.excerpt":`Del hovedideen i innlegget ditt her. Dette korte sammendraget vises på feedkort og i søkeresultater, og forteller leserne hvorfor innlegget er verdt tiden deres.`},Md=y({default:()=>Pd,title:()=>Nd}),Nd=`My App`,Pd={"canvas.category":`Kategoria`,"post-list.empty-state.description":`Opublikowane posty pojawią się tutaj.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`Odtwórz wideo`,"post-comments.unavailable":`Komentarze są niedostępne — brak instancji aplikacji.`,"post-counters.loading-likes":`Ładowanie polubień`,"post-comments.loading":`Ładowanie komentarzy…`,"post-actions.like":`Polub post`,"canvas.content":`Tutaj pojawia się pełna treść posta. Opowiedz swoją historię, dodaj obrazy, galerie i wideo z pulpitu oraz użyj nagłówków i cytatów, aby tekst był czytelny.`,"related-posts.empty-state.title":`Brak powiązanych postów`,"post.time-to-read":`{count, plural, one {{count,number} min czytania} few {{count,number} min czytania} many {{count,number} min czytania} other {{count,number} min czytania}}`,"post-actions.link-copied":`Link skopiowany`,"category-header.all-posts":`Wszystkie posty`,"post-actions.copy-manually":`Skopiuj poniższy link, aby udostępnić ten post.`,"post-actions.copy-link":`Kopiuj link`,"cover-media.placeholder-alt":`Okładka posta`,"post-actions.link-label":`Link do posta`,"post-list.empty-state.title":`Brak postów`,"post-actions.share-dialog":`Udostępnij post`,"canvas.post-title":`Tytuł posta`,"post-actions.unlike":`Cofnij polubienie posta`,"post-comments.no-post":`Nie znaleziono jeszcze postu dla tego adresu URL.`,"post.like-count":`{count, plural, one {{formatted} polubienie} few {{formatted} polubienia} many {{formatted} polubień} other {{formatted} polubienia}}`,"canvas.category-numbered":`Kategoria {number}`,"post.comment-count":`{count, plural, one {{formatted} komentarz} few {{formatted} komentarze} many {{formatted} komentarzy} other {{formatted} komentarza}}`,"post-actions.share":`Udostępnij post`,"post.view-count":`{count, plural, one {{formatted} odsłona} few {{formatted} odsłony} many {{formatted} odsłon} other {{formatted} odsłony}}`,"post-actions.close":`Zamknij`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Zdjęcie autora`,"canvas.author-name":`Nazwa autora`,"post-comments.demo-notice":`Podczas edycji wyświetlane są przykładowe komentarze. Odwiedzający zobaczą prawdziwe komentarze.`,title:Nd,"related-posts.empty-state.description":`Gdy opublikujesz więcej postów, pojawią się tutaj.`,"canvas.excerpt":`Udostępnij tutaj główną myśl swojego posta. To krótkie podsumowanie pojawia się na kartach w feedzie i w wynikach wyszukiwania oraz pokazuje czytelnikom, dlaczego warto przeczytać post.`},Fd=y({default:()=>Ld,title:()=>Id}),Id=`My App`,Ld={"canvas.category":`Categoria`,"post-list.empty-state.description":`Depois que os posts forem publicados, eles aparecerão aqui.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`Reproduzir vídeo`,"post-comments.unavailable":`Comentários indisponíveis — nenhuma instância do app.`,"post-counters.loading-likes":`Carregando curtidas`,"post-comments.loading":`Carregando comentários…`,"post-actions.like":`Curtir post`,"canvas.content":`É aqui que o post completo aparece. Escreva sua história, adicione imagens, galerias e vídeo pelo painel de controle, e use cabeçalhos e citações para facilitar a leitura.`,"related-posts.empty-state.title":`Ainda não há posts relacionados`,"post.time-to-read":`{count, plural, one {{count,number} min de leitura} other {{count,number} min de leitura}}`,"post-actions.link-copied":`Link copiado`,"category-header.all-posts":`Todos os posts`,"post-actions.copy-manually":`Copie o link abaixo para compartilhar este post.`,"post-actions.copy-link":`Copiar link`,"cover-media.placeholder-alt":`Imagem de capa do post`,"post-actions.link-label":`Link do post`,"post-list.empty-state.title":`Ainda não há posts`,"post-actions.share-dialog":`Compartilhar post`,"canvas.post-title":`Título do post`,"post-actions.unlike":`Remover curtida do post`,"post-comments.no-post":`Ainda não há post resolvido para este URL.`,"post.like-count":`{count, plural, one {{formatted} curtida} other {{formatted} curtidas}}`,"canvas.category-numbered":`Categoria {number}`,"post.comment-count":`{count, plural, one {{formatted} comentário} other {{formatted} comentários}}`,"post-actions.share":`Compartilhar post`,"post.view-count":`{count, plural, one {{formatted} visualização} other {{formatted} visualizações}}`,"post-actions.close":`Fechar`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Foto do autor`,"canvas.author-name":`Nome do autor`,"post-comments.demo-notice":`Comentários de exemplo são exibidos durante a edição. Os visitantes verão comentários reais.`,title:Id,"related-posts.empty-state.description":`Quando mais posts forem publicados, eles aparecerão aqui.`,"canvas.excerpt":`Compartilhe aqui a ideia principal do post. Esse breve resumo aparece nos cartões do feed e nos resultados de busca, e mostra aos leitores por que vale a pena ler o post.`},Rd=y({default:()=>Bd,title:()=>zd}),zd=`My App`,Bd={"canvas.category":`Categorie`,"post-list.empty-state.description":`După ce postările sunt publicate, vor apărea aici.`,"canvas.tag-numbered":`Etichetă {number}`,"cover-media.play":`Redă videoclipul`,"post-comments.unavailable":`Comentariile nu sunt disponibile — nu există nicio instanță a aplicației.`,"post-counters.loading-likes":`Se încarcă aprecierile`,"post-comments.loading":`Se încarcă comentariile…`,"post-actions.like":`Apreciază postarea`,"canvas.content":`Aici apare postarea completă. Scrie-ți povestea aici, adaugă imagini, galerii și videoclipuri din Dashboard și folosește titluri și citate pentru a o face ușor de citit.`,"related-posts.empty-state.title":`Încă nu există postări similare`,"post.time-to-read":`{count, plural, one {{count,number} min citire} few {{count,number} min citire} other {{count,number} min citire}}`,"post-actions.link-copied":`Link copiat`,"category-header.all-posts":`Toate postările`,"post-actions.copy-manually":`Copiază linkul de mai jos pentru a distribui această postare.`,"post-actions.copy-link":`Copiază linkul`,"cover-media.placeholder-alt":`Imagine de copertă a postării`,"post-actions.link-label":`Linkul postării`,"post-list.empty-state.title":`Încă nu există postări`,"post-actions.share-dialog":`Distribuie postarea`,"canvas.post-title":`Titlul postării`,"post-actions.unlike":`Nu mai aprecia postarea`,"post-comments.no-post":`Nu s-a găsit încă nicio postare pentru acest URL.`,"post.like-count":`{count, plural, one {{formatted} apreciere} few {{formatted} aprecieri} other {{formatted} aprecieri}}`,"canvas.category-numbered":`Categorie {number}`,"post.comment-count":`{count, plural, one {{formatted} comentariu} few {{formatted} comentarii} other {{formatted} comentarii}}`,"post-actions.share":`Distribuie postarea`,"post.view-count":`{count, plural, one {{formatted} vizualizare} few {{formatted} vizualizări} other {{formatted} vizualizări}}`,"post-actions.close":`Închide`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Fotografia autorului`,"canvas.author-name":`Nume autor`,"post-comments.demo-notice":`Comentariile exemplu sunt afișate în timpul editării. Vizitatorii vor vedea comentarii reale.`,title:zd,"related-posts.empty-state.description":`După ce sunt publicate mai multe postări, vor apărea aici.`,"canvas.excerpt":`Distribuie aici ideea principală a postării. Acest scurt rezumat apare pe cardurile din flux și în rezultatele căutării și le arată cititorilor de ce merită să citească postarea.`},Vd=y({default:()=>Ud,title:()=>Hd}),Hd=`My App`,Ud={"canvas.category":`Рубрика`,"post-list.empty-state.description":`Когда посты будут опубликованы, они появятся здесь.`,"canvas.tag-numbered":`Тег {number}`,"cover-media.play":`Воспроизвести видео`,"post-comments.unavailable":`Комментарии недоступны — нет экземпляра приложения.`,"post-counters.loading-likes":`Загрузка лайков`,"post-comments.loading":`Загрузка комментариев…`,"post-actions.like":`Поставить лайк посту`,"canvas.content":`Здесь отображается полный текст поста. Напишите свою историю, добавьте изображения, галереи и видео из панели управления, используйте заголовки и цитаты, чтобы текст было удобно читать.`,"related-posts.empty-state.title":`Похожих постов пока нет`,"post.time-to-read":`{count, plural, one {{count,number} мин чтения} few {{count,number} мин чтения} many {{count,number} мин чтения} other {{count,number} мин чтения}}`,"post-actions.link-copied":`Ссылка скопирована`,"category-header.all-posts":`Все посты`,"post-actions.copy-manually":`Скопируйте ссылку ниже, чтобы поделиться этим постом.`,"post-actions.copy-link":`Копировать ссылку`,"cover-media.placeholder-alt":`Обложка поста`,"post-actions.link-label":`Ссылка на пост`,"post-list.empty-state.title":`Постов пока нет`,"post-actions.share-dialog":`Поделиться постом`,"canvas.post-title":`Заголовок поста`,"post-actions.unlike":`Убрать лайк с поста`,"post-comments.no-post":`Для этого URL пока не найден пост.`,"post.like-count":`{count, plural, one {{formatted} лайк} few {{formatted} лайка} many {{formatted} лайков} other {{formatted} лайка}}`,"canvas.category-numbered":`Рубрика {number}`,"post.comment-count":`{count, plural, one {{formatted} комментарий} few {{formatted} комментария} many {{formatted} комментариев} other {{formatted} комментария}}`,"post-actions.share":`Поделиться постом`,"post.view-count":`{count, plural, one {{formatted} просмотр} few {{formatted} просмотра} many {{formatted} просмотров} other {{formatted} просмотра}}`,"post-actions.close":`Закрыть`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Фото автора`,"canvas.author-name":`Имя автора`,"post-comments.demo-notice":`В режиме редактирования показаны примеры комментариев. Посетители увидят настоящие комментарии.`,title:Hd,"related-posts.empty-state.description":`Когда будет опубликовано больше постов, они появятся здесь.`,"canvas.excerpt":`Кратко опишите основную идею поста. Это описание появится в карточках ленты и результатах поиска, а читатели поймут, почему пост стоит прочитать.`},Wd=y({default:()=>Kd,title:()=>Gd}),Gd=`My App`,Kd={"canvas.category":`Kategória`,"post-list.empty-state.description":`Po publikovaní sa príspevky zobrazia tu.`,"canvas.tag-numbered":`Štítok {number}`,"cover-media.play":`Prehrať video`,"post-comments.unavailable":`Komentáre nie sú dostupné — chýba inštancia aplikácie.`,"post-counters.loading-likes":`Načítavajú sa označenia Páči sa mi`,"post-comments.loading":`Načítavajú sa komentáre…`,"post-actions.like":`Označiť príspevok ako Páči sa mi`,"canvas.content":`Tu sa zobrazí celý príspevok. Napíš svoj príbeh, pridaj obrázky, galérie a video z ovládacieho panela a pomocou nadpisov a citátov ho udrž ľahko čitateľný.`,"related-posts.empty-state.title":`Zatiaľ žiadne súvisiace príspevky`,"post.time-to-read":`{count, plural, one {{count,number} min čítania} few {{count,number} min čítania} many {{count,number} min čítania} other {{count,number} min čítania}}`,"post-actions.link-copied":`Odkaz skopírovaný`,"category-header.all-posts":`Všetky príspevky`,"post-actions.copy-manually":`Skopíruj odkaz nižšie a zdieľaj tento príspevok.`,"post-actions.copy-link":`Kopírovať odkaz`,"cover-media.placeholder-alt":`Hlavný obrázok príspevku`,"post-actions.link-label":`Odkaz na príspevok`,"post-list.empty-state.title":`Zatiaľ žiadne príspevky`,"post-actions.share-dialog":`Zdieľať príspevok`,"canvas.post-title":`Názov príspevku`,"post-actions.unlike":`Zrušiť označenie Páči sa mi pri príspevku`,"post-comments.no-post":`Pre túto URL adresu sa zatiaľ nenašiel žiadny príspevok.`,"post.like-count":`{count, plural, one {{formatted} označenie Páči sa mi} few {{formatted} označenia Páči sa mi} many {{formatted} označenia Páči sa mi} other {{formatted} označení Páči sa mi}}`,"canvas.category-numbered":`Kategória {number}`,"post.comment-count":`{count, plural, one {{formatted} komentár} few {{formatted} komentáre} many {{formatted} komentára} other {{formatted} komentárov}}`,"post-actions.share":`Zdieľať príspevok`,"post.view-count":`{count, plural, one {{formatted} zobrazenie} few {{formatted} zobrazenia} many {{formatted} zobrazenia} other {{formatted} zobrazení}}`,"post-actions.close":`Zavrieť`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Fotografia autora`,"canvas.author-name":`Meno autora`,"post-comments.demo-notice":`Počas úprav sa zobrazujú ukážkové komentáre. Návštevníci uvidia skutočné komentáre.`,title:Gd,"related-posts.empty-state.description":`Keď budú publikované ďalšie príspevky, zobrazia sa tu.`,"canvas.excerpt":`Tu zdieľaj hlavnú myšlienku príspevku. Toto krátke zhrnutie sa zobrazuje na kartách kanála a vo výsledkoch vyhľadávania a čitateľom ukáže, prečo sa príspevok oplatí čítať.`},qd=y({default:()=>Yd,title:()=>Jd}),Jd=`My App`,Yd={"canvas.category":`Kategorija`,"post-list.empty-state.description":`Ko bodo objave objavljene, bodo prikazane tukaj.`,"canvas.tag-numbered":`Oznaka {number}`,"cover-media.play":`Predvajaj video`,"post-comments.unavailable":`Komentarji niso na voljo — ni primerka aplikacije.`,"post-counters.loading-likes":`Nalaganje všečkov`,"post-comments.loading":`Nalaganje komentarjev…`,"post-actions.like":`Všečkajte objavo`,"canvas.content":`Tukaj je prikazana celotna objava. Napišite svojo zgodbo, dodajte slike, galerije in videoposnetke z nadzorne plošče ter z naslovi in citati poskrbite, da bo besedilo lahko berljivo.`,"related-posts.empty-state.title":`Sorodnih objav še ni`,"post.time-to-read":`{count, plural, one {{count,number} min branja} two {{count,number} min branja} few {{count,number} min branja} other {{count,number} min branja}}`,"post-actions.link-copied":`Povezava kopirana`,"category-header.all-posts":`Vse objave`,"post-actions.copy-manually":`Kopirajte spodnjo povezavo za deljenje te objave.`,"post-actions.copy-link":`Kopiraj povezavo`,"cover-media.placeholder-alt":`Naslovna slika objave`,"post-actions.link-label":`Povezava do objave`,"post-list.empty-state.title":`Objav še ni`,"post-actions.share-dialog":`Delite objavo`,"canvas.post-title":`Naslov objave`,"post-actions.unlike":`Odstranite všeček z objave`,"post-comments.no-post":`Za ta URL še ni najdene objave.`,"post.like-count":`{count, plural, one {{formatted} všeček} two {{formatted} všečka} few {{formatted} všečki} other {{formatted} všečkov}}`,"canvas.category-numbered":`Kategorija {number}`,"post.comment-count":`{count, plural, one {{formatted} komentar} two {{formatted} komentarja} few {{formatted} komentarji} other {{formatted} komentarjev}}`,"post-actions.share":`Delite objavo`,"post.view-count":`{count, plural, one {{formatted} ogled} two {{formatted} ogleda} few {{formatted} ogledi} other {{formatted} ogledov}}`,"post-actions.close":`Zapri`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Fotografija avtorja`,"canvas.author-name":`Ime avtorja`,"post-comments.demo-notice":`Med urejanjem so prikazani vzorčni komentarji. Obiskovalci bodo videli prave komentarje.`,title:Jd,"related-posts.empty-state.description":`Ko bo objavljenih več objav, bodo prikazane tukaj.`,"canvas.excerpt":`Tukaj delite glavno idejo svoje objave. Ta kratek povzetek je prikazan na karticah vira in v rezultatih iskanja ter bralcem pove, zakaj je objava vredna njihovega časa.`},Xd=y({default:()=>Qd,title:()=>Zd}),Zd=`My App`,Qd={"canvas.category":`Kategori`,"post-list.empty-state.description":`När inlägg publiceras visas de här.`,"canvas.tag-numbered":`Tagg {number}`,"cover-media.play":`Spela upp video`,"post-comments.unavailable":`Kommentarer är inte tillgängliga – ingen appinstans.`,"post-counters.loading-likes":`Läser in gillamarkeringar`,"post-comments.loading":`Läser in kommentarer…`,"post-actions.like":`Gilla inlägg`,"canvas.content":`Det är här hela inlägget visas. Skriv din text här, lägg till bilder, gallerier och video från översikten, och använd rubriker och citat för att göra det lätt att läsa.`,"related-posts.empty-state.title":`Inga liknande inlägg än`,"post.time-to-read":`{count, plural, one {{count,number} min läsning} other {{count,number} min läsning}}`,"post-actions.link-copied":`Länken har kopierats`,"category-header.all-posts":`Alla inlägg`,"post-actions.copy-manually":`Kopiera länken nedan för att dela det här inlägget.`,"post-actions.copy-link":`Kopiera länk`,"cover-media.placeholder-alt":`Omslagsbild för inlägg`,"post-actions.link-label":`Inläggslänk`,"post-list.empty-state.title":`Inga inlägg än`,"post-actions.share-dialog":`Dela inlägg`,"canvas.post-title":`Inläggsrubrik`,"post-actions.unlike":`Sluta gilla inlägg`,"post-comments.no-post":`Inget inlägg har hittats för den här URL:en än.`,"post.like-count":`{count, plural, one {{formatted} gillamarkering} other {{formatted} gillamarkeringar}}`,"canvas.category-numbered":`Kategori {number}`,"post.comment-count":`{count, plural, one {{formatted} kommentar} other {{formatted} kommentarer}}`,"post-actions.share":`Dela inlägg`,"post.view-count":`{count, plural, one {{formatted} visning} other {{formatted} visningar}}`,"post-actions.close":`Stäng`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Författarfoto`,"canvas.author-name":`Författarnamn`,"post-comments.demo-notice":`Exempelkommentarer visas under redigering. Besökare ser riktiga kommentarer.`,title:Zd,"related-posts.empty-state.description":`När fler inlägg publiceras visas de här.`,"canvas.excerpt":`Dela huvudidén med ditt inlägg här. Den här korta sammanfattningen visas på flödeskort och i sökresultat, och berättar varför inlägget är värt att läsa.`},$d=y({default:()=>tf,title:()=>ef}),ef=`My App`,tf={"canvas.category":`หมวดหมู่`,"post-list.empty-state.description":`เมื่อมีการเผยแพร่โพสต์ โพสต์จะแสดงที่นี่`,"canvas.tag-numbered":`แท็ก {number}`,"cover-media.play":`เล่นวิดีโอ`,"post-comments.unavailable":`ไม่สามารถใช้งานความคิดเห็นได้ เนื่องจากไม่มีอินสแตนซ์ของแอป`,"post-counters.loading-likes":`กำลังโหลดการกดถูกใจ`,"post-comments.loading":`กำลังโหลดความคิดเห็น…`,"post-actions.like":`กดถูกใจโพสต์`,"canvas.content":`เนื้อหาโพสต์ทั้งหมดจะแสดงที่นี่ เขียนเรื่องราวของคุณ เพิ่มรูปภาพ แกลเลอรี และวิดีโอจากแดชบอร์ด แล้วใช้หัวเรื่องและคำคมเพื่อให้อ่านง่าย`,"related-posts.empty-state.title":`ยังไม่มีโพสต์ที่เกี่ยวข้อง`,"post.time-to-read":`{count, plural, other {อ่าน {count,number} นาที}}`,"post-actions.link-copied":`คัดลอกลิงก์แล้ว`,"category-header.all-posts":`โพสต์ทั้งหมด`,"post-actions.copy-manually":`คัดลอกลิงก์ด้านล่างเพื่อแชร์โพสต์นี้`,"post-actions.copy-link":`คัดลอกลิงก์`,"cover-media.placeholder-alt":`รูปภาพหน้าปกโพสต์`,"post-actions.link-label":`ลิงก์โพสต์`,"post-list.empty-state.title":`ยังไม่มีโพสต์`,"post-actions.share-dialog":`แชร์โพสต์`,"canvas.post-title":`ชื่อโพสต์`,"post-actions.unlike":`เลิกกดถูกใจโพสต์`,"post-comments.no-post":`ยังไม่พบโพสต์สำหรับ URL นี้`,"post.like-count":`{count, plural, other {{formatted} การกดถูกใจ}}`,"canvas.category-numbered":`หมวดหมู่ {number}`,"post.comment-count":`{count, plural, other {{formatted} ความคิดเห็น}}`,"post-actions.share":`แชร์โพสต์`,"post.view-count":`{count, plural, one {{formatted} view} other {{formatted} views}}`,"post-actions.close":`ปิด`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`รูปผู้เขียน`,"canvas.author-name":`ชื่อผู้เขียน`,"post-comments.demo-notice":`ระบบจะแสดงตัวอย่างความคิดเห็นขณะแก้ไข ผู้เข้าชมจะเห็นความคิดเห็นจริง`,title:ef,"related-posts.empty-state.description":`เมื่อมีการเผยแพร่โพสต์เพิ่มเติม โพสต์จะแสดงที่นี่`,"canvas.excerpt":`แชร์ไอเดียหลักของโพสต์ที่นี่ สรุปสั้น ๆ นี้จะแสดงในการ์ดฟีดและผลการค้นหา เพื่อบอกผู้อ่านว่าเหตุใดโพสต์นี้จึงน่าอ่าน`},nf=y({default:()=>af,title:()=>rf}),rf=`My App`,af={"canvas.category":`Kategorya`,"post-list.empty-state.description":`Kapag na-publish na ang mga post, lalabas ang mga ito dito.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`I-play ang video`,"post-comments.unavailable":`Hindi available ang comments — walang app instance.`,"post-counters.loading-likes":`Naglo-load ang likes`,"post-comments.loading":`Naglo-load ang comments…`,"post-actions.like":`I-like ang post`,"canvas.content":`Dito lumalabas ang buong post. Isulat dito ang kuwento mo, magdagdag ng images, galleries at video mula sa Dashboard, at gumamit ng headings at quotes para madaling basahin.`,"related-posts.empty-state.title":`Wala pang related na post`,"post.time-to-read":`{count, plural, one {{count,number} min na pagbabasa} other {{count,number} min na pagbabasa}}`,"post-actions.link-copied":`Nakopya ang link`,"category-header.all-posts":`Lahat ng post`,"post-actions.copy-manually":`Kopyahin ang link sa ibaba para i-share ang post na ito.`,"post-actions.copy-link":`Kopyahin ang link`,"cover-media.placeholder-alt":`Cover image ng post`,"post-actions.link-label":`Link ng post`,"post-list.empty-state.title":`Wala pang post`,"post-actions.share-dialog":`I-share ang post`,"canvas.post-title":`Pamagat ng post`,"post-actions.unlike":`I-unlike ang post`,"post-comments.no-post":`Wala pang post na na-resolve para sa URL na ito.`,"post.like-count":`{count, plural, one {{formatted} like} other {{formatted} likes}}`,"canvas.category-numbered":`Kategorya {number}`,"post.comment-count":`{count, plural, one {{formatted} comment} other {{formatted} comments}}`,"post-actions.share":`I-share ang post`,"post.view-count":`{count, plural, one {{formatted} view} other {{formatted} views}}`,"post-actions.close":`Isara`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Photo ng author`,"canvas.author-name":`Pangalan ng author`,"post-comments.demo-notice":`Sample comments ang ipinapakita habang nag-e-edit. Makikita ng visitors ang totoong comments.`,title:rf,"related-posts.empty-state.description":`Kapag mas marami pang post ang na-publish, lalabas ang mga ito dito.`,"canvas.excerpt":`Ilagay dito ang pangunahing ideya ng post mo. Lumalabas ang maikling summary na ito sa mga feed card at search results, at ipinapakita nito sa readers kung bakit sulit basahin ang post.`},of=y({default:()=>cf,title:()=>sf}),sf=`My App`,cf={"canvas.category":`Kategori`,"post-list.empty-state.description":`Yazılar yayınlandığında burada görünür.`,"canvas.tag-numbered":`Etiket {number}`,"cover-media.play":`Videoyu oynat`,"post-comments.unavailable":`Yorumlar kullanılamıyor. Uygulama örneği yok.`,"post-counters.loading-likes":`Beğeniler yükleniyor`,"post-comments.loading":`Yorumlar yükleniyor…`,"post-actions.like":`Yazıyı Beğen`,"canvas.content":`Yazının tamamı burada görünür. Hikayenizi buraya yazın, kontrol panelinden görüntüler, galeriler ve video ekleyin, kolay okunması için başlıklar ve alıntılar kullanın.`,"related-posts.empty-state.title":`Henüz ilgili yazı yok`,"post.time-to-read":`{count, plural, one {{count,number} dk okuma} other {{count,number} dk okuma}}`,"post-actions.link-copied":`Bağlantı kopyalandı`,"category-header.all-posts":`Tüm Yazılar`,"post-actions.copy-manually":`Bu yazıyı paylaşmak için aşağıdaki bağlantıyı kopyalayın.`,"post-actions.copy-link":`Bağlantıyı Kopyala`,"cover-media.placeholder-alt":`Yazı kapak görüntüsü`,"post-actions.link-label":`Yazı bağlantısı`,"post-list.empty-state.title":`Henüz yazı yok`,"post-actions.share-dialog":`Yazıyı Paylaş`,"canvas.post-title":`Yazı Başlığı`,"post-actions.unlike":`Yazıdan Beğeniyi Kaldır`,"post-comments.no-post":`Bu URL için henüz yazı çözümlenmedi.`,"post.like-count":`{count, plural, one {{formatted} beğeni} other {{formatted} beğeni}}`,"canvas.category-numbered":`Kategori {number}`,"post.comment-count":`{count, plural, one {{formatted} yorum} other {{formatted} yorum}}`,"post-actions.share":`Yazıyı Paylaş`,"post.view-count":`{count, plural, one {{formatted} görüntülenme} other {{formatted} görüntülenme}}`,"post-actions.close":`Kapat`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Yazar fotoğrafı`,"canvas.author-name":`Yazar Adı`,"post-comments.demo-notice":`Düzenleme sırasında örnek yorumlar gösterilir. Ziyaretçiler gerçek yorumları görür.`,title:sf,"related-posts.empty-state.description":`Daha fazla yazı yayınlandığında burada görünür.`,"canvas.excerpt":`Yazınızın ana fikrini burada paylaşın. Bu kısa özet, akış kartlarında ve arama sonuçlarında gösterilir ve okuyuculara yazının neden okumaya değer olduğunu anlatır.`},lf=y({default:()=>df,title:()=>uf}),uf=`My App`,df={"canvas.category":`Рубрика`,"post-list.empty-state.description":`Коли пости буде опубліковано, вони з’являться тут.`,"canvas.tag-numbered":`Тег {number}`,"cover-media.play":`Відтворити відео`,"post-comments.unavailable":`Коментарі недоступні: немає екземпляра додатка.`,"post-counters.loading-likes":`Завантаження уподобань`,"post-comments.loading":`Завантаження коментарів`,"post-actions.like":`Уподобати пост`,"canvas.content":`Тут показується повний текст посту. Напишіть свою розповідь, додайте зображення, галереї та відео з Кабінету, а також використовуйте заголовки й цитати, щоб текст було легко читати.`,"related-posts.empty-state.title":`Схожих постів ще немає`,"post.time-to-read":`{count, plural, one {{count,number} хв читання} few {{count,number} хв читання} many {{count,number} хв читання} other {{count,number} хв читання}}`,"post-actions.link-copied":`Посилання скопійовано`,"category-header.all-posts":`Усі пости`,"post-actions.copy-manually":`Скопіюйте посилання нижче, щоб поділитися цим постом.`,"post-actions.copy-link":`Копіювати посилання`,"cover-media.placeholder-alt":`Зображення обкладинки посту`,"post-actions.link-label":`Посилання на пост`,"post-list.empty-state.title":`Постів ще немає`,"post-actions.share-dialog":`Поділитися постом`,"canvas.post-title":`Назва посту`,"post-actions.unlike":`Скасувати вподобання посту`,"post-comments.no-post":`Для цієї вебадреси ще не знайдено пост.`,"post.like-count":`{count, plural, one {{formatted} уподобання} few {{formatted} уподобання} many {{formatted} уподобань} other {{formatted} уподобання}}`,"canvas.category-numbered":`Рубрика {number}`,"post.comment-count":`{count, plural, one {{formatted} коментар} few {{formatted} коментарі} many {{formatted} коментарів} other {{formatted} коментаря}}`,"post-actions.share":`Поділитися постом`,"post.view-count":`{count, plural, one {{formatted} перегляд} few {{formatted} перегляди} many {{formatted} переглядів} other {{formatted} перегляду}}`,"post-actions.close":`Закрити`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Фото автора`,"canvas.author-name":`Ім’я автора`,"post-comments.demo-notice":`Під час редагування показуються зразки коментарів. Відвідувачі бачитимуть справжні коментарі.`,title:uf,"related-posts.empty-state.description":`Коли буде опубліковано більше постів, вони з’являться тут.`,"canvas.excerpt":`Поділіться тут головною ідеєю посту. Цей короткий опис показується на картках стрічки й у результатах пошуку та пояснює читачам, чому пост варто прочитати.`},ff=y({default:()=>mf,title:()=>pf}),pf=`My App`,mf={"canvas.category":`Danh mục`,"post-list.empty-state.description":`Sau khi bài đăng được xuất bản, chúng sẽ xuất hiện ở đây.`,"canvas.tag-numbered":`Thẻ {number}`,"cover-media.play":`Phát video`,"post-comments.unavailable":`Không thể sử dụng bình luận vì không có phiên bản ứng dụng.`,"post-counters.loading-likes":`Đang tải lượt thích`,"post-comments.loading":`Đang tải bình luận…`,"post-actions.like":`Thích bài đăng`,"canvas.content":`Đây là nơi hiển thị toàn bộ bài đăng. Viết câu chuyện tại đây, thêm hình ảnh, thư viện và video từ trang tổng quan, đồng thời dùng tiêu đề và trích dẫn để nội dung dễ đọc hơn.`,"related-posts.empty-state.title":`Chưa có bài đăng liên quan`,"post.time-to-read":`{count, plural, other {{count,number} phút đọc}}`,"post-actions.link-copied":`Đã sao chép liên kết`,"category-header.all-posts":`Tất cả bài đăng`,"post-actions.copy-manually":`Sao chép liên kết bên dưới để chia sẻ bài đăng này.`,"post-actions.copy-link":`Sao chép liên kết`,"cover-media.placeholder-alt":`Hình ảnh bìa bài đăng`,"post-actions.link-label":`Liên kết bài đăng`,"post-list.empty-state.title":`Chưa có bài đăng`,"post-actions.share-dialog":`Chia sẻ bài đăng`,"canvas.post-title":`Tiêu đề bài đăng`,"post-actions.unlike":`Bỏ thích bài đăng`,"post-comments.no-post":`Chưa có bài đăng nào được phân giải cho URL này.`,"post.like-count":`{count, plural, other {{formatted} lượt thích}}`,"canvas.category-numbered":`Danh mục {number}`,"post.comment-count":`{count, plural, other {{formatted} bình luận}}`,"post-actions.share":`Chia sẻ bài đăng`,"post.view-count":`{count, plural, other {{formatted} lượt xem}}`,"post-actions.close":`Đóng`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Ảnh tác giả`,"canvas.author-name":`Tên tác giả`,"post-comments.demo-notice":`Bình luận mẫu được hiển thị trong khi chỉnh sửa. Khách truy cập sẽ thấy bình luận thật.`,title:pf,"related-posts.empty-state.description":`Sau khi có thêm bài đăng được xuất bản, chúng sẽ xuất hiện ở đây.`,"canvas.excerpt":`Chia sẻ ý chính của bài đăng tại đây. Phần tóm tắt ngắn này hiển thị trên thẻ trong bảng tin và trong kết quả tìm kiếm, đồng thời cho người đọc biết lý do bài đăng đáng đọc.`},hf=y({default:()=>_f,title:()=>gf}),gf=`My App`,_f={"canvas.category":`類別`,"post-list.empty-state.description":`文章發佈後,會顯示在這裡。`,"canvas.tag-numbered":`標籤 {number}`,"cover-media.play":`播放影片`,"post-comments.unavailable":`留言不可用。沒有應用程式執行個體。`,"post-counters.loading-likes":`正在載入讚好`,"post-comments.loading":`正在載入留言……`,"post-actions.like":`讚好文章`,"canvas.content":`完整文章會顯示在這裡。請在這裡撰寫內容,並從管理介面新增圖片、圖庫和影片。使用標題和引言,讓內容更容易閱讀。`,"related-posts.empty-state.title":`尚無相關文章`,"post.time-to-read":`{count, plural, other {{count,number} 分鐘閱讀}}`,"post-actions.link-copied":`已複製連結`,"category-header.all-posts":`所有文章`,"post-actions.copy-manually":`請複製下方連結來分享這篇文章。`,"post-actions.copy-link":`複製連結`,"cover-media.placeholder-alt":`文章封面圖片`,"post-actions.link-label":`文章連結`,"post-list.empty-state.title":`尚無文章`,"post-actions.share-dialog":`分享文章`,"canvas.post-title":`文章標題`,"post-actions.unlike":`取消讚好文章`,"post-comments.no-post":`這個 URL 尚未解析出文章。`,"post.like-count":`{count, plural, other {{formatted} 個讚好}}`,"canvas.category-numbered":`類別 {number}`,"post.comment-count":`{count, plural, other {{formatted} 則留言}}`,"post-actions.share":`分享文章`,"post.view-count":`{count, plural, other {{formatted} 次查看}}`,"post-actions.close":`關閉`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`作者相片`,"canvas.author-name":`作者名稱`,"post-comments.demo-notice":`編輯時會顯示範例留言。訪客會看到實際留言。`,title:gf,"related-posts.empty-state.description":`發佈更多文章後,會顯示在這裡。`,"canvas.excerpt":`在這裡分享文章的核心想法。這段簡短摘要會顯示在動態消息卡片和搜尋結果中,並告訴讀者這篇文章值得閱讀的原因。`},vf=Object.assign({"../assets/locale/messages_ar.json":fu,"../assets/locale/messages_bg.json":hu,"../assets/locale/messages_ca.json":vu,"../assets/locale/messages_cs.json":xu,"../assets/locale/messages_da.json":wu,"../assets/locale/messages_de.json":Du,"../assets/locale/messages_el.json":Au,"../assets/locale/messages_en.dev.json":Nu,"../assets/locale/messages_en.json":Fu,"../assets/locale/messages_es.json":Ru,"../assets/locale/messages_fi.json":Vu,"../assets/locale/messages_fr.json":Wu,"../assets/locale/messages_he.json":qu,"../assets/locale/messages_hi.json":Xu,"../assets/locale/messages_hr.json":$u,"../assets/locale/messages_hu.json":nd,"../assets/locale/messages_id.json":ad,"../assets/locale/messages_it.json":cd,"../assets/locale/messages_ja.json":dd,"../assets/locale/messages_ko.json":md,"../assets/locale/messages_lt.json":_d,"../assets/locale/messages_lv.json":bd,"../assets/locale/messages_ms.json":Cd,"../assets/locale/messages_nl.json":Ed,"../assets/locale/messages_no.json":kd,"../assets/locale/messages_pl.json":Md,"../assets/locale/messages_pt.json":Fd,"../assets/locale/messages_ro.json":Rd,"../assets/locale/messages_ru.json":Vd,"../assets/locale/messages_sk.json":Wd,"../assets/locale/messages_sl.json":qd,"../assets/locale/messages_sv.json":Xd,"../assets/locale/messages_th.json":$d,"../assets/locale/messages_tl.json":nf,"../assets/locale/messages_tr.json":of,"../assets/locale/messages_uk.json":lf,"../assets/locale/messages_vi.json":ff,"../assets/locale/messages_zh.json":hf}),yf=(e,t)=>{let n=vf[`../assets/locale/messages_${su(e)}${t}.json`];return n?Promise.resolve(n):Promise.reject(Error(`no messages file`))},bf=Ro({isDev:!1,loadMessages:e=>yf(e,``),loadDevMessages:e=>yf(e,`.dev`)}),xf=e=>O(A(e,[{transformFn:V,paths:[{path:`posts.url`},{path:`posts.translations.url`}]},{transformFn:B,paths:[{path:`posts.heroImage`},{path:`posts.media.wixMedia.image`}]},{transformFn:H,paths:[{path:`posts.media.wixMedia.videoV2`}]}]),[`posts.richContent`,`posts.rich_content`]).posts??[],Sf=`https://blog.wixsite.com/blog-demo-posts`,Cf=M(e=>async t=>{let n=await e.fetchWithAuth(`${globalThis.location.origin}/_serverless/blog-demo-posts/v3/demo-posts?${N(t)}`);if(!n.ok)throw Error(`ListDemoPosts answered ${n.status}`);return xf(await n.json()).filter(e=>!e.url?.startsWith(Sf))}),wf=async e=>{try{return await Cf(e)}catch(e){return console.info(`[blog demo posts]`,`read failed`,e),[]}},Tf=[{path:`member.createdDate`},{path:`member.updatedDate`},{path:`member.lastLoginDate`}];function Ef(e){return P(Object.assign(e,{domainToMappings:{"www.wixapis.com":[{srcPath:`/members/v1/members`,destPath:`/v1/members`}],"api._api_base_domain_":[{srcPath:`/members-ng-api`,destPath:``}],"www._base_domain_":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"manage._base_domain_":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"editor._base_domain_":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"blocks._base_domain_":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"create.editorx":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"editor.wixapps.net":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"*.dev.wix-code.com":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"bo._base_domain_":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"wixbo.ai":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"wix-bo.com":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],_:[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"members.wixapps.net":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}]}}))}var Df=`@wix/auto_sdk_members_members`;function Of(e){function t({host:t}){return{entityFqdn:`wix.members.v1.member`,method:`GET`,methodFqn:`com.wixpress.members.api.Members.GetMember`,packageName:Df,migrationOptions:{optInTransformResponse:!0},url:Ef({protoPath:`/v1/members/{id}`,data:e,host:t}),params:N(e),transformResponse:e=>A(e,[{transformFn:k,paths:Tf}])}}return t}async function kf(e,t){let{httpClient:n,sideEffects:r}=arguments[2],i=Of(D({id:e,fieldsets:t?.fieldsets}));r?.onSiteCall?.();try{let e=await n.request(i);return r?.onSuccess?.(e),O(e.data)?.member}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{id:`$[0]`,fieldsets:`$[1].fieldsets`},singleArgumentUnchanged:!1},[`_id`,`options`]);throw r?.onError?.(e),t}}function Af(e){return(t,n)=>kf(t,n,{httpClient:e})}var jf=M(Af),Mf=async e=>{try{return await jf(e,{fieldsets:[`PUBLIC`]})}catch{return}},Nf=[{path:`posts.firstPublishedDate`},{path:`posts.lastPublishedDate`},{path:`posts.expirationDate`},{path:`posts.heroImage.urlExpirationDate`},{path:`posts.richContent.metadata.createdTimestamp`},{path:`posts.richContent.metadata.updatedTimestamp`},{path:`posts.moderationDetails.submittedDate`},{path:`posts.moderationDetails.moderationDate`},{path:`posts.media.wixMedia.image.urlExpirationDate`},{path:`posts.media.wixMedia.videoV2.urlExpirationDate`},{path:`posts.media.wixMedia.videoV2.resolutions.urlExpirationDate`},{path:`posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate`},{path:`posts.media.wixMedia.videoV2.posters.urlExpirationDate`}],Pf=[{path:`posts.richContentCompressed`}],Ff=[{path:`posts.heroImage.focalPoint.x`},{path:`posts.heroImage.focalPoint.y`},{path:`posts.media.wixMedia.image.focalPoint.x`},{path:`posts.media.wixMedia.image.focalPoint.y`},{path:`posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x`},{path:`posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y`},{path:`posts.media.wixMedia.videoV2.posters.focalPoint.x`},{path:`posts.media.wixMedia.videoV2.posters.focalPoint.y`},{path:`posts.metrics.averageRating`},{path:`posts.richContent.nodes.buttonData.styles.background.gradient.centerX`},{path:`posts.richContent.nodes.buttonData.styles.background.gradient.centerY`},{path:`posts.richContent.nodes.buttonData.styles.background.gradient.stops.position`},{path:`posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX`},{path:`posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY`},{path:`posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position`},{path:`posts.richContent.nodes.galleryData.items.image.media.duration`},{path:`posts.richContent.nodes.galleryData.items.video.media.duration`},{path:`posts.richContent.nodes.galleryData.items.video.thumbnail.duration`},{path:`posts.richContent.nodes.galleryData.options.item.ratio`},{path:`posts.richContent.nodes.imageData.image.duration`},{path:`posts.richContent.nodes.imageData.crop.x`},{path:`posts.richContent.nodes.imageData.crop.y`},{path:`posts.richContent.nodes.imageData.crop.width`},{path:`posts.richContent.nodes.imageData.crop.height`},{path:`posts.richContent.nodes.mapData.mapSettings.lat`},{path:`posts.richContent.nodes.mapData.mapSettings.lng`},{path:`posts.richContent.nodes.pollData.poll.image.duration`},{path:`posts.richContent.nodes.pollData.poll.options.image.duration`},{path:`posts.richContent.nodes.pollData.design.poll.background.image.duration`},{path:`posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.nodes.appEmbedData.image.duration`},{path:`posts.richContent.nodes.videoData.video.duration`},{path:`posts.richContent.nodes.videoData.thumbnail.duration`},{path:`posts.richContent.nodes.audioData.audio.duration`},{path:`posts.richContent.nodes.audioData.coverImage.duration`},{path:`posts.richContent.nodes.layoutData.backgroundImage.media.duration`},{path:`posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX`},{path:`posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY`},{path:`posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position`},{path:`posts.richContent.nodes.layoutData.backdropImage.media.duration`},{path:`posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX`},{path:`posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY`},{path:`posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position`},{path:`posts.richContent.nodes.layoutData.background.gradient.centerX`},{path:`posts.richContent.nodes.layoutData.background.gradient.centerY`},{path:`posts.richContent.nodes.layoutData.background.gradient.stops.position`},{path:`posts.richContent.nodes.layoutData.backdrop.gradient.centerX`},{path:`posts.richContent.nodes.layoutData.backdrop.gradient.centerY`},{path:`posts.richContent.nodes.layoutData.backdrop.gradient.stops.position`},{path:`posts.richContent.nodes.shapeData.shape.duration`},{path:`posts.richContent.nodes.cardData.background.gradient.centerX`},{path:`posts.richContent.nodes.cardData.background.gradient.centerY`},{path:`posts.richContent.nodes.cardData.background.gradient.stops.position`},{path:`posts.richContent.nodes.cardData.backgroundImage.media.duration`},{path:`posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX`},{path:`posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY`},{path:`posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position`},{path:`posts.richContent.nodes.tocData.fontSize`},{path:`posts.richContent.nodes.tocData.itemSpacing`},{path:`posts.richContent.nodes.smartBlockCellData.shape.duration`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position`}],If=[{path:`sort.origin.latitude`},{path:`sort.origin.longitude`},{path:`query.sort.origin.latitude`},{path:`query.sort.origin.longitude`}];function Lf(e){return P(Object.assign(e,{domainToMappings:{_:[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"apps._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"www._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"www.wixapis.com":[{srcPath:`/v3/posts`,destPath:`/v3/posts`},{srcPath:`/blog/v3/posts`,destPath:`/v3/posts`},{srcPath:`/_api/v3/posts`,destPath:`/v3/posts`}],"manage._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`},{srcPath:`/_api/post-service-api-proxy/v3/bulk/posts`,destPath:`/v3/bulk/posts`}],"*.dev.wix-code.com":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"editor._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"blocks._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"create.editorx":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"editor.wixapps.net":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"dev._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}]}}))}var Rf=`@wix/auto_sdk_blog_posts`;function zf(e){function t({host:t}){let n=A(e,[{transformFn:dn,paths:If}]);return{entityFqdn:`wix.blog.v3.post`,method:`POST`,methodFqn:`com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts`,packageName:Rf,migrationOptions:{optInTransformResponse:!0},url:Lf({protoPath:`/v3/posts/query`,data:n,host:t}),data:n,transformResponse:e=>A(e,[{transformFn:k,paths:Nf},{transformFn:fn,paths:Pf},{transformFn:F,paths:Ff}])}}return t}function Bf(){let e=zf({});return{getUrl:t=>{let{url:n}=e(t);return n},httpMethod:`POST`,path:`/v3/posts/query`,pathParams:{},__requestType:null,__originalRequestType:null,__responseType:null,__originalResponseType:null}}var Vf=Bf(),Hf=e=>t=>({method:`POST`,url:Vf.getUrl(t),data:{query:{filter:{id:{$in:e}},paging:{limit:e.length}}}}),Uf=M(e=>async t=>{let{data:n}=await e.request(Hf(t)),r={};for(let e of n.posts??[]){let{id:t}=e,n=e.media?.wixMedia?.videoV2?.resolutions;if(!t||!n?.length)continue;let i=n.filter(e=>e.url&&e.format===`mp4`).map(({url:e,width:t,height:n})=>({url:e,width:t,height:n}));i.length>0&&(r[t]=i)}return r}),Wf=async e=>{if(e.length===0)return{};try{return await Uf(e)}catch{return{}}},Gf=class extends Error{constructor(e,t){super(`SSR fetch "${e}" exceeded its ${t}ms deadline`),this.name=`SsrDeadlineError`}},Kf=(e,t,n)=>{let r,i=new Promise((e,i)=>{r=setTimeout(()=>i(new Gf(n,t)),t)});return Promise.race([e,i]).finally(()=>clearTimeout(r))},qf=[U.RICH_CONTENT,U.SEO,U.URL,U.CONTENT_TEXT,`TRANSLATIONS`],Jf=[U.RICH_CONTENT,U.URL];U.URL,U.METRICS;var Yf=e=>{let{status:t,details:n}=e??{};return t===404||String(n?.applicationError?.code??``).includes(`NOT_FOUND`)},Xf=(e,t)=>{if(t&&!Yf(e))throw e},Zf=e=>Wf(e.filter(e=>e.media?.wixMedia?.videoV2).map(({_id:e})=>e).filter(e=>!!e)),Qf=async(e,t,n=!1,r)=>{try{let{post:n}=await qi(e,{...t&&{fieldsets:t},...r&&{language:r}});if(n)return n}catch(e){Xf(e,n)}try{let{items:n}=await Zi(t?{fieldsets:t}:void 0).eq(`slug`,e).limit(1).find();return n[0]}catch(e){Xf(e,n);return}},$f=async(e,t=!1,n)=>{try{let t=async t=>{let{posts:r}=await Ji({paging:{limit:1},...e&&{fieldsets:e},...t&&n&&{language:n}});return r?.[0]};return await t(!0)??(n?await t(!1):void 0)}catch(e){Xf(e,t);return}},ep=async(e,t=!1,n)=>(e?await Qf(e,qf,t,n):void 0)??await $f(qf,t,n),tp=async e=>{try{let{metrics:t}=await Yi(e);return t}catch{return}},np=100,rp=async()=>{try{let{categories:e}=await ei({paging:{limit:np}});return e??[]}catch{return[]}},ip=(e,t)=>{let{categoryIds:n}=e??{};if(!n?.length)return[];let r=new Map(t.map(e=>[e._id,e]));return n.map(e=>r.get(e)).filter(e=>e!==void 0)},ap=30,op=async e=>{if(!e?.length)return[];try{let{items:t}=await la().in(`_id`,e).limit(ap).find();return t??[]}catch{return[]}},sp=(e,t)=>{let{tagIds:n}=e??{};if(!n?.length)return[];let r=new Map(t.map(e=>[e._id,e]));return n.map(e=>r.get(e)).filter(e=>e!==void 0)},cp=async(e,t)=>e.post?e:{...e,demoPost:(await wf({paging:{limit:1,offset:0},fieldsets:Jf,...t&&{language:t}}))[0]},lp=1e3,up=1e3,dp=async(e,t=!1,n)=>{let r=rp();return fp(await ep(e,t,n),r)},fp=async(e,t)=>{let{_id:n,memberId:r,tagIds:i,preview:a}=e??{},[o,s,c,l,u,d]=await Promise.all([r?Mf(r):void 0,n?tp(n):void 0,t,op(i),a&&n?Kf(wo(n,e?.language??void 0),lp,`post-paywall`).catch(()=>void 0):void 0,Kf(Zf(e?[e]:[]),up,`post-video`).catch(()=>({}))]),f=n?d[n]:void 0;return{post:e,author:o,metrics:s,categories:ip(e,c),tags:sp(e,l),...u&&{paywall:u},...f&&{videoSources:f}}},pp=e=>{let{_id:t,categoryIds:n,relatedPostIds:r}=e??{};return{currentPostId:t??void 0,categoryIds:n,relatedPostIds:r}},mp=async(e,t)=>{try{let{items:n}=await Zi().eq(`translationId`,e).eq(`language`,t).limit(1).find();return n[0]?.slug??void 0}catch{return}};v(((e,t)=>{(function(){var e={}.hasOwnProperty;function n(){for(var e=``,t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,r(n)))}return e}function r(t){if(typeof t==`string`||typeof t==`number`)return t;if(typeof t!=`object`)return``;if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes(`[native code]`))return t.toString();var r=``;for(var a in t)e.call(t,a)&&t[a]&&(r=i(r,a));return r}function i(e,t){return t?e?e+` `+t:e+t:e}t!==void 0&&t.exports?(n.default=n,t.exports=n):typeof define==`function`&&typeof define.amd==`object`&&define.amd?define(`classnames`,[],function(){return n}):window.classNames=n})()}))();var hp=class extends n{state={error:void 0};static getDerivedStateFromError(e){return{error:e??Error(`Unknown render error`)}}componentDidCatch(e,t){Ga(this.props.monitoringClient,e,{feature:this.props.feature,action:`render`,tags:this.props.component?{component:this.props.component}:void 0,contexts:{react:{componentStack:t.componentStack}}})}render(){if(this.state.error===void 0)return this.props.children;if(this.props.rethrow)throw this.state.error;return this.props.fallback}},gp=e=>e.then(e=>({...e,fetchedAt:Date.now()})),_p={post:void 0,author:void 0,metrics:void 0,categories:[],tags:[]},vp=[li.RICH_CONTENT,li.GENERATED_EXCERPT],yp=M(e=>()=>e.fetchWithAuth),bp=e=>e?yp():(...e)=>globalThis.fetch(...e),xp=(e,t)=>Ye({modules:{draftPosts:{getDraftPost:fi}},auth:{getAuthHeaders:()=>({headers:{authorization:e}})},fetch:bp(t)}),Sp=e=>{let{_id:t,title:n,excerpt:r,seoSlug:i,memberId:a,minutesToRead:o,categoryIds:s,tagIds:c,firstPublishedDate:l,richContent:u,media:d}=e??{};if(t)return{_id:t,title:n,excerpt:r??void 0,slug:i??void 0,memberId:a??void 0,minutesToRead:o,categoryIds:s,tagIds:c,firstPublishedDate:l??void 0,richContent:u,...d&&{media:d}}},Cp=e=>e instanceof Error?e.message:String(e),wp=async({draftPostId:e,instance:t},n)=>{let r=rp();try{let{draftPost:i}=await xp(t,n).draftPosts.getDraftPost(e,{fieldsets:vp}),a=Sp(i),{memberId:o,tagIds:s}=a??{},[c,l,u]=await Promise.all([o?Mf(o):void 0,r,op(s)]);return{post:a,author:c,metrics:void 0,categories:ip(a,l),tags:sp(a,u)}}catch(e){let t=Cp(e);return console.error(`[blog-builder] draft preview fetch failed (${t})`,e),{..._p,reason:t}}},Tp=i(void 0),Ep=i(void 0),Dp=e=>{let t;try{t=m(W)}catch{return}return Aa(t,e)},Op=1e4;function kp(e){let[t,n]=f(void 0);return l(()=>{let t=Date.now();t-e>Op&&o(()=>n(t))},[]),t??e}var Ap=`wix.blog.v3.post`,jp=async e=>{await Hr({like:{entityId:e,fqdn:Ap}})},Mp=async e=>{await Ur({fqdn:Ap,entityId:e})},Np=100,Pp,Fp=e=>{let t=[...e.keys()];for(let n=0;n<t.length;n+=Np){let r=t.slice(n,n+Np);Wr().eq(`fqdn`,Ap).in(`entityId`,r).limit(r.length).find().then(({items:t})=>{let n=new Set(t.map(e=>e.entityId));for(let t of r)e.get(t)?.forEach(e=>e.resolve(n.has(t)))},t=>{for(let n of r)e.get(n)?.forEach(e=>e.reject(t))})}},Ip=e=>new Promise((t,n)=>{if(!Pp){let e=new Map;Pp=e,setTimeout(()=>{Pp=void 0,Fp(e)})}Pp.set(e,[...Pp.get(e)??[],{resolve:t,reject:n}])}),Lp=e=>typeof e==`number`?e:void 0,Rp=async(e,t=!0)=>{let[n,r]=await Promise.allSettled([Ip(e),t?Yi(e):void 0]),i=r.status===`fulfilled`?r.value?.metrics:void 0;return{liked:n.status===`fulfilled`&&n.value,likeCount:Lp(i?.likes),viewCount:Lp(i?.views),commentCount:Lp(i?.comments)}},zp={liked:!1,baselineLiked:!1,freshLikeCount:void 0,viewCount:void 0,commentCount:void 0,isLikeCountLoaded:!1},Bp=`wix-blog:post-like-toggled`,Vp=()=>{let e=window;return e[Bp]??=new Map},Hp=e=>{Vp().set(e.postId,e.liked),window.dispatchEvent(new CustomEvent(Bp,{detail:e}))},Up=(e,t)=>({isLiked:e.liked,likeCount:Math.max(0,(e.freshLikeCount??t)+Number(e.liked)-Number(e.baselineLiked)),isLikeCountLoaded:e.isLikeCountLoaded,viewCount:e.viewCount,commentCount:e.commentCount}),Wp=(e,t,n=!1,r,i=!0)=>{let a=Gn()||n,[c,p]=f(zp),m=d(zp),h=d(t),g=d(new Set),_=d(!1),v=d(!1),y=d(void 0),b=ga(),[x,S]=f(0);l(()=>{let e=b?.addMemberLoginListener?.(()=>{Vp().clear(),S(e=>e+1)});return()=>{e!==void 0&&b?.removeMemberLoginListener?.(e)}},[b]);let C=s(e=>{let t=m.current,n={...t,...e};Object.keys(n).every(e=>n[e]===t[e])||(m.current=n,g.current.forEach(e=>e()),o(()=>p(n)))},[]),ee=u(()=>({get:()=>Up(m.current,h.current),subscribe:e=>(g.current.add(e),()=>{g.current.delete(e)})}),[]);l(()=>{h.current!==t&&(h.current=t,g.current.forEach(e=>e()))},[t]),l(()=>{if(y.current!==e&&(y.current=e,C(zp)),v.current=!1,!e||a){C({isLikeCountLoaded:!0});return}let t=!1;return Rp(e,i).then(({liked:e,likeCount:n,viewCount:r,commentCount:i})=>{t||C({isLikeCountLoaded:!0,viewCount:r,commentCount:i,baselineLiked:e,freshLikeCount:n,...!v.current&&{liked:e}})}).catch(n=>{t||C({isLikeCountLoaded:!0}),Ga(r,n,{feature:Ha.likes,action:`read-like-state`,level:`warning`,contexts:{likes:{postId:e}}})}),()=>{t=!0}},[e,a,r,C,x,i]),l(()=>{if(!e)return;let t=e=>{v.current=!0,C({liked:e})},n=Vp().get(e);n!==void 0&&t(n);let r=n=>{let{detail:r}=n;r.postId===e&&t(r.liked)};return window.addEventListener(Bp,r),()=>window.removeEventListener(Bp,r)},[e,C]);let w=s(async t=>{if(!e||_.current)return;v.current=!0;let n=!m.current.liked;if(C({liked:n}),Hp({postId:e,liked:n}),!a){_.current=!0;try{await(n?jp(e):Mp(e))}catch(t){C({liked:!n}),Hp({postId:e,liked:!n}),Ga(r,t,{feature:Ha.likes,action:n?`like-post`:`unlike-post`,contexts:{likes:{postId:e}}})}finally{_.current=!1}}},[e,a,r,C]);return{...Up(c,t),toggleLike:w,liveLikes:ee}},Gp=()=>{let e;try{let{multilingualEnabled:t,currentLocale:n}=m(Va);t&&n&&!n.primaryLocale&&(e=n.regionalFormat)}catch{}let t,n;try{({locale:t,language:n}=m(bo))}catch{}return e||t||n},Kp=(e,t,n)=>typeof e!=`number`||!Number.isFinite(e)||e<0?``:new Intl.NumberFormat(n,t===`compact`?{notation:`compact`,maximumFractionDigits:1}:void 0).format(e),Q={timeToRead:`post.time-to-read`,viewCount:`post.view-count`,commentCount:`post.comment-count`,likeCount:`post.like-count`,noPostsTitle:`post-list.empty-state.title`,noPostsDescription:`post-list.empty-state.description`,noRelatedPostsTitle:`related-posts.empty-state.title`,noRelatedPostsDescription:`related-posts.empty-state.description`,canvasPostTitle:`canvas.post-title`,canvasAuthorName:`canvas.author-name`,canvasExcerpt:`canvas.excerpt`,canvasContent:`canvas.content`,canvasCategory:`canvas.category`,canvasCategoryNumbered:`canvas.category-numbered`,canvasTagNumbered:`canvas.tag-numbered`,canvasCoverAlt:`cover-media.placeholder-alt`,canvasAuthorPhotoAlt:`canvas.author-photo-alt`},qp=(e,t)=>{let n=n=>r=>e(n,{count:r,formatted:Kp(r,`full`,t)});return{timeToRead:t=>e(Q.timeToRead,{count:t}),viewCount:n(Q.viewCount),commentCount:n(Q.commentCount),likeCount:n(Q.likeCount),noPostsEmptyState:()=>({title:e(Q.noPostsTitle),description:e(Q.noPostsDescription)}),noRelatedPostsEmptyState:()=>({title:e(Q.noRelatedPostsTitle),description:e(Q.noRelatedPostsDescription)}),canvas:{postTitle:()=>e(Q.canvasPostTitle),authorName:()=>e(Q.canvasAuthorName),excerpt:()=>e(Q.canvasExcerpt),content:()=>e(Q.canvasContent),category:()=>e(Q.canvasCategory),categoryNumbered:t=>e(Q.canvasCategoryNumbered,{number:t}),tagNumbered:t=>e(Q.canvasTagNumbered,{number:t}),coverAlt:()=>e(Q.canvasCoverAlt),authorPhotoAlt:()=>e(Q.canvasAuthorPhotoAlt)}}},Jp=e=>({href:e??`#`,target:`_self`}),Yp=e=>{if(!e)return;let t=e instanceof Date?e:new Date(e);return Number.isFinite(t.getTime())?t.toISOString():void 0},Xp=e=>typeof e==`number`&&e>0?e:void 0,Zp=e=>e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`),$=e=>({text:e,html:`<p>${Zp(e)}</p>`,linkList:[]}),Qp=6e4,$p=Qp*60,em=$p*24,tm=em*7,nm=e=>e<Qp?[`second`,e/1e3]:e<$p?[`minute`,e/Qp]:e<em?[`hour`,e/$p]:[`day`,e/em],rm=(e,t,n=Date.now())=>{let r=e instanceof Date?e:new Date(e),i=n-r.getTime();if(i>=0&&i<tm){let[e,n]=nm(i);return new Intl.RelativeTimeFormat(t).format(-Math.round(n),e)}let a=r.getFullYear()===new Date(n).getFullYear();return new Intl.DateTimeFormat(t,{...a?{}:{year:`numeric`},month:`short`,day:`numeric`}).format(r)},im=`https://static.wixstatic.com/media/`,am=`wix:video://`,om=e=>{if(!e)return;let t=Number.parseInt(e,10);return Number.isFinite(t)&&t>0?t:void 0},sm=e=>{if(!e.startsWith(am))return;let[t,n]=e.slice(12).split(`#`),[,r]=t.split(`/`).filter(Boolean);if(!r)return;let i=new URLSearchParams(n??``),a=i.get(`posterUri`);return{id:decodeURIComponent(r),posterUrl:a?`${im}${a}`:void 0,posterWidth:om(i.get(`posterWidth`)),posterHeight:om(i.get(`posterHeight`))}},cm=[/https?:\/\/(?:www\.|m\.)?youtube\.com\/watch\?(?:[^#]*&)?v=([\w-]+)/i,/https?:\/\/(?:www\.)?youtube\.com\/embed\/([\w-]+)/i,/https?:\/\/youtu\.be\/([\w-]+)/i],lm=[/https?:\/\/player\.vimeo\.com\/video\/(\d+)/i,/https?:\/\/vimeo\.com\/(\d+)/i],um=(e,t)=>{for(let n of e){let e=n.exec(t);if(e)return e[1]}},dm=e=>{let t=um(cm,e);if(t)return{provider:`youtube`,embedUrl:`https://www.youtube.com/embed/${t}?autoplay=1`};let n=um(lm,e);return n?{provider:`vimeo`,embedUrl:`https://player.vimeo.com/video/${n}?autoplay=1`}:{provider:`unknown`}},fm=(e,t=[])=>{let n=e?.media;if(!n||n.displayed===!1)return;let r=ro(e);if(r)return{kind:`image`,image:r};let i=n.altText??e?.title??``,a=n.wixMedia?.videoV2?sm(n.wixMedia.videoV2):void 0;if(a)return{kind:`wixVideo`,...a,sources:t,altText:i};let o=n.embedMedia?.video?.url;if(o){let{thumbnail:e}=n.embedMedia??{};return{kind:`embed`,videoUrl:o,...dm(o),thumbnailUrl:e?.url,thumbnailWidth:e?.width,thumbnailHeight:e?.height,altText:i}}},pm=e=>{let t=ro(e),n=e?.media?.wixMedia?.videoV2;if(t||!n)return t;let r=sm(n),i=no(r?.posterUrl?.slice(35),e?.media?.altText??e?.title);return i&&{...i,width:r?.posterWidth??i.width,height:r?.posterHeight??i.height}},mm=(e,t)=>e&&t?`${e}/${encodeURIComponent(t)}`:void 0,hm=(e,t)=>{let n=mm(e,t);return n?{href:n,target:`_self`}:void 0},gm={href:`#`,target:`_self`},_m=(e,t)=>{let{_id:n,label:r,slug:i}=e,a=r??``;return{_id:n??i??``,label:a,itemCategoryLabel:$(a),itemCategoryLink:hm(t,i??``),categoryItem:{label:a,slug:i??``}}},vm=2,ym=e=>Array.from({length:vm},(t,n)=>{let r=e.canvas.categoryNumbered(n+1);return{_id:`placeholder-category-${n}`,label:r,itemCategoryLabel:$(r),itemCategoryLink:gm,categoryItem:{label:r,slug:``}}}),bm=(e,t)=>{let{_id:n,label:r,slug:i}=e,a=r??``;return{_id:n??i??``,label:a,itemTagLabel:$(a),itemTagLink:hm(t,i??``),tagItem:{label:a,slug:i??``}}},xm=3,Sm=e=>Array.from({length:xm},(t,n)=>{let r=e.canvas.tagNumbered(n+1);return{_id:`placeholder-tag-${n}`,label:r,itemTagLabel:$(r),itemTagLink:gm,tagItem:{label:r,slug:``}}}),Cm=1,wm={views:120,comments:4,likes:12},Tm=e=>({nodes:[{type:`PARAGRAPH`,nodes:[{type:`TEXT`,nodes:[],textData:{text:e,decorations:[]}}]}]}),Em=(e,t,n,r)=>$(e===void 0?n?r(t):``:r(e)),Dm=(e,t,n)=>e??(n?t:void 0),Om={nodes:[]},km=()=>({title:$(``),excerpt:$(``),coverImage:void 0,coverMedia:void 0,richContent:Om,authorName:$(``),authorImage:void 0,timeToRead:$(``),publishedDate:$(``),viewCount:$(``),commentCount:$(``),likeCount:$(``),postCategories:[],itemCategoryLabel:$(``),postTags:[],hasCoverImage:!1,hasExcerpt:!1,hasTags:!1,publishedDateValue:void 0,minutesToReadValue:void 0,viewCountValue:void 0,commentCountValue:void 0}),Am=({post:e,author:t,metrics:n,categories:r,tags:i,videoSources:a},o,s,c=!1,l=Date.now(),u={})=>!e&&!c?km():{title:$(e?.title??o.canvas.postTitle()),excerpt:$(e?.excerpt??o.canvas.excerpt()),coverImage:pm(e),coverMedia:fm(e,a),richContent:e?.richContent??Tm(o.canvas.content()),authorName:$(t?.profile?.nickname??o.canvas.authorName()),authorImage:Ya(t,o.canvas.authorPhotoAlt()),timeToRead:$(typeof e?.minutesToRead==`number`&&e.minutesToRead>0?o.timeToRead(e.minutesToRead):c?o.timeToRead(Cm):``),publishedDate:$(rm(e?.firstPublishedDate??new Date(l),s,l)),viewCount:Em(n?.views,wm.views,c,o.viewCount),commentCount:Em(n?.comments,wm.comments,c,o.commentCount),likeCount:Em(n?.likes,wm.likes,c,o.likeCount),postCategories:r.length===0&&c?ym(o):r.map(e=>_m(e,u.category)),itemCategoryLabel:$(r[0]?.label??(c?o.canvas.category():``)),postTags:i.length===0&&c?Sm(o):i.map(e=>bm(e,u.tag)),hasCoverImage:!e||e.media?.displayed!==!1&&pm(e)!==void 0,hasExcerpt:!e||!!e.excerpt?.trim(),hasTags:!e||i.length>0,publishedDateValue:Yp(e?.firstPublishedDate)??(c?`2026-05-12T12:00:00.000Z`:void 0),minutesToReadValue:Xp(e?.minutesToRead)??(c?Cm:void 0),viewCountValue:Dm(n?.views,wm.views,c),commentCountValue:Dm(n?.comments,wm.comments,c)},jm=({postWithAuthor:e,hasError:t,monitoringClient:n,isPostInPreview:r,postPageBase:i})=>{let{t:a}=Hl(),o=Gp(),s=u(()=>qp(a,o),[a,o]),c=kp(e.fetchedAt),l=Xn(),{isLiked:d,likeCount:f,isLikeCountLoaded:p,viewCount:m,commentCount:h,toggleLike:g,liveLikes:_}=Wp(e.post?._id??void 0,e.metrics?.likes??0,r,n),v=Dp(ba),y=Dp(`tag`),b=u(()=>pp(e.post),[e]),x=jo(),S=u(()=>e.post?.richContent&&e.paywall?ko(e.post.richContent,e.paywall,x):void 0,[e,x]);return u(()=>{let n=Am(!e.post&&l&&e.demoPost?{...e,post:e.demoPost}:e,s,o,l,c,{category:v,tag:y}),a=r||!e.post?void 0:ka(e.post,i),u=a??(l?Jp(i):void 0);return{...n,...S&&{richContent:S},relatedPostsSource:b,commentingEnabled:e.post?.commentingEnabled??void 0,viewCountValue:m??n.viewCountValue,commentCountValue:h??n.commentCountValue,itemLink:u,postUrl:a?.href,...e.post&&(e.metrics?.likes!==void 0||p)?{likeCount:$(s.likeCount(f))}:{},isLiked:d,likeCountValue:f,isLikeCountLoaded:p,toggleLike:g,liveLikes:_,clockValue:c,isLoadingPost:!1,hasError:t,isEmpty:!e.post&&!l}},[e,t,b,S,s,o,c,f,d,p,m,h,g,_,l,r,i,v,y])},Mm=e=>({post:e,hasError:!1}),Nm=()=>({post:{post:void 0,author:void 0,metrics:void 0,categories:[],tags:[],fetchedAt:Date.now()},hasError:!0}),Pm=e=>{throw e},Fm={...km(),isLiked:!1,likeCountValue:0,isLikeCountLoaded:!1,toggleLike:async()=>{},liveLikes:void 0,postUrl:void 0,itemLink:void 0,clockValue:0,relatedPostsSource:{currentPostId:void 0,categoryIds:void 0,relatedPostIds:void 0},commentingEnabled:void 0,isLoadingPost:!0,hasError:!1,isEmpty:!1},Im={...Fm,richContent:Tm(``)},Lm=e=>e?Im:Fm,Rm={...Fm,isLoadingPost:!1,hasError:!0,isEmpty:!0};function zm(){return t()}var Bm=({source:e,children:t})=>h(Ep.Provider,{value:void 0,children:h(Tp.Provider,{value:e,children:t})}),Vm=2500,Hm=({children:t,postLoadPromise:n,relatedSourcePromise:r,monitoringClient:i,slug:a,language:o,isPostInPreview:c})=>{let{post:l,hasError:u}=Bn(n),d=_a(l,s(()=>ep(a,!1,o),[a,o]));yo(d,c,i),No(a&&d.post?.slug===a&&!c?d.post:void 0,o,mp);let{_id:f}=d.post??{};da(c?void 0:f??void 0);let p=jm({postWithAuthor:d,hasError:u,monitoringClient:i,isPostInPreview:c,postPageBase:ja(a)});return za(La.postBySlugProvider,u?`error`:d.post?`data`:`empty`),h(e,{value:p,children:h(Bm,{source:r,children:t})})};function Um({children:t}){let n=Pa(),i=Ia(),a=So(),o=fa(),{draftPostId:s,instance:c}=n??{},l=Xn(),d=Fo(),f=u(()=>Ua(Rn),[]),{i18n:p,locale:m}=du(bf),_=ma(()=>{let e=s&&c?gp(wp({draftPostId:s,instance:c},o)):Ql({key:i?`blog-builder:post:${i}|${a??``}`:null,warmupData:d,fetchData:()=>{let e=dp(i,o,a).then(e=>l?cp(e,a):e);return gp(Ka(f,`post-read`,{feature:Ha.post},o?Kf(e,Vm,`post`):e))}}),t=e.then(({post:e})=>pp(e));return t.catch(()=>{}),{slug:i,language:a,isPostInPreview:!!s,postLoadPromise:Hn(e,Mm,o?Pm:Nm),relatedSourcePromise:t}},[s,c,a,i,o,l,d,f]);return h(Ul,{i18n:p,children:g(r,{fallback:h(e,{value:Lm(l),children:h(Bm,{source:_.relatedSourcePromise,children:t})}),children:[h(uu,{i18n:p,locale:m}),h(hp,{fallback:h(e,{value:Rm,children:h(Bm,{source:_.relatedSourcePromise,children:t})}),feature:Ha.post,monitoringClient:f,rethrow:o,children:h(Hm,{postLoadPromise:_.postLoadPromise,relatedSourcePromise:_.relatedSourcePromise,monitoringClient:f,slug:_.isPostInPreview?void 0:_.slug,language:_.language,isPostInPreview:_.isPostInPreview,children:t})})]})})}var Wm=jn(`12ed204c-821c-4ce9-802b-8bfe8e98d7e2`);export{Um as PostBySlugProvider,Um as default,Wm as injectAccessTokenGetter,zm as usePostBySlugContext};
|
|
5
|
-
//# sourceMappingURL=context-provider-12ed204c-821c-4ce9-802b-8bfe8e98d7e2-
|
|
3
|
+
`,`MISSING_INTL_API`,o);let e=typeof l==`bigint`?Number(l):l,r=n.getPluralRules(t,{type:c.pluralType}).select(e-(c.offset||0));a=(Object.prototype.hasOwnProperty.call(c.options,r)?c.options[r]:void 0)||c.options.other}if(!a)throw new Vc(c.value,l,Object.keys(c.options),o);let u=typeof l==`bigint`?Number(l):l;s.push(...Kc(a.value,t,n,r,i,u-(c.offset||0)))}}}return Wc(s)}function qc(e,t){return t?{...e,...t,...Object.keys(e).reduce((n,r)=>(n[r]={...e[r],...t[r]},n),{})}:e}function Jc(e,t){return t?Object.keys(e).reduce((n,r)=>(n[r]=qc(e[r],t[r]),n),{...e}):e}function Yc(e){return{create(){return{get(t){return e[t]},set(t,n){e[t]=n}}}}}function Xc(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:Ps((...e)=>new Intl.NumberFormat(...e),{cache:Yc(e.number),strategy:Gs.variadic}),getDateTimeFormat:Ps((...e)=>new Intl.DateTimeFormat(...e),{cache:Yc(e.dateTime),strategy:Gs.variadic}),getPluralRules:Ps((...e)=>new Intl.PluralRules(...e),{cache:Yc(e.pluralRules),strategy:Gs.variadic})}}var Zc=class e{constructor(t,n=e.defaultLocale,r,i){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=e=>{let t=this.formatToParts(e);if(t.length===1)return t[0].value;let n=t.reduce((e,t)=>(!e.length||t.type!==0||typeof e[e.length-1]!=`string`?e.push(t.value):e[e.length-1]+=t.value,e),[]);return n.length<=1?n[0]||``:n},this.formatToParts=e=>Kc(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t==`string`){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");let{...n}=i||{};this.ast=e.__parse(t,{...n,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError(`A message must be provided as a String or AST.`);this.formats=Jc(e.formats,r),this.formatters=i&&i.formatters||Xc(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return e.memoizedDefaultLocale||=new Intl.NumberFormat().resolvedOptions().locale,e.memoizedDefaultLocale}static{this.resolveLocale=e=>{if(Intl.Locale===void 0)return;let t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale(typeof e==`string`?e:e[0])}}static{this.__parse=zc}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:`currency`},percent:{style:`percent`}},date:{short:{month:`numeric`,day:`numeric`,year:`2-digit`},medium:{month:`short`,day:`numeric`,year:`numeric`},long:{month:`long`,day:`numeric`,year:`numeric`},full:{weekday:`long`,month:`long`,day:`numeric`,year:`numeric`}},time:{short:{hour:`numeric`,minute:`numeric`},medium:{hour:`numeric`,minute:`numeric`,second:`numeric`},long:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`},full:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`}}}}},Qc=[`__proto__`,`constructor`,`prototype`];function $c(e,t,n){function r(e){return e&&e.indexOf(`###`)>-1?e.replace(/###/g,`.`):e}function i(){return!e||typeof e==`string`}for(var a=typeof t==`string`?t.split(`.`):[].concat(t);a.length>1;){if(i())return{};var o=r(a.shift());if(Qc.indexOf(o)>-1)return{};!e[o]&&n&&(e[o]=new n),e=e[o]}if(i())return{};var s=r(a.shift());return Qc.indexOf(s)>-1?{}:{obj:e,k:s}}function el(e,t,n){var r=$c(e,t,Object),i=r.obj,a=r.k;i!==void 0&&(i[a]=n)}function tl(e,t){var n=$c(e,t),r=n.obj,i=n.k;if(r)return r[i]}function nl(e){return[...arguments].slice(1).forEach(function(t){if(t)for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Qc.indexOf(i)>-1||e[i]===void 0&&(e[i]=t[i])}}),e}function rl(e,t){return cl(e)||sl(e,t)||al(e,t)||il()}function il(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function al(e,t){if(e){if(typeof e==`string`)return ol(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ol(e,t):void 0}}function ol(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function sl(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function cl(e){if(Array.isArray(e))return e}function ll(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ul(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?ll(Object(n),!0).forEach(function(t){dl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ll(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function dl(e,t,n){return(t=hl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fl(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function pl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,hl(r.key),r)}}function ml(e,t,n){return t&&pl(e.prototype,t),n&&pl(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function hl(e){var t=gl(e,`string`);return X(t)==`symbol`?t:t+``}function gl(e,t){if(X(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(X(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function X(e){"@babel/helpers - typeof";return X=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},X(e)}var _l=`https://www.i18next.com/how-to/using-icu-or-mf2`,vl=[`zero`,`one`,`two`,`few`,`many`,`other`];function yl(){return{memoize:!0,memoizeFallback:!1,bindI18n:``,bindI18nStore:``,parseErrorHandler:function(e,t,n,r){return n},parseLngForICU:function(e){return e},escapeVariables:!1}}function bl(e,t,n,r){return n&&t&&X(t)===`object`?`${r} resolved to an object or array, but i18next-icu does not support returnObjects or joinArrays and returns the raw value unformatted.`:n&&typeof t==`string`&&t.indexOf(`{{`)>-1?`${r} could not be parsed (${e.message}). It contains "{{": i18next interpolation like {{name}} does not work with ICU, use {name}.`:`${r} could not be ${n?`parsed`:`formatted`}: ${e.message}`}var xl=function(){function e(t){fl(this,e),this.type=`i18nFormat`,this.mem={},this.warned=new Set,this.init(null,t)}return ml(e,[{key:`init`,value:function(e,t){var n=this,r=e&&e.options&&e.options.i18nFormat||{};if(this.options=nl(r,t,this.options||{},yl()),this.formats=this.options.formats,e){var i=this.options,a=i.bindI18n,o=i.bindI18nStore,s=i.memoize;e.IntlMessageFormat=Zc,e.ICU=this,this.i18next=e,this.debug=!!(e.options&&e.options.debug),this.debug&&e.options.interpolation&&e.options.interpolation.escapeValue!==!1&&!this.options.escapeVariables&&this.warn(`interpolation.escapeValue is not applied, values are inserted without HTML escaping. Set the i18next-icu option escapeVariables: true to escape them, or interpolation.escapeValue: false if your output is escaped elsewhere (e.g. by React).`),s&&(a&&e.on(a,function(){return n.clearCache()}),o&&e.store.on(o,function(){return n.clearCache()}))}}},{key:`addUserDefinedFormats`,value:function(e){this.formats=this.formats?ul(ul({},this.formats),e):e,this.clearCache()}},{key:`parse`,value:function(e,t,n,r,i,a){var o=a&&a.resolved&&a.resolved.res,s=this.options.memoize&&[n,r,i],c;if(this.options.memoize){var l=tl(this.mem,s);l&&l.res===e&&(c=l.fc)}try{c||(this.debug&&typeof e==`string`&&e.indexOf(`$t(`)>-1&&this.firstTime(`nesting ${n} ${r} ${i}`)&&this.warn(`key "${i}" (${n}/${r}) contains "$t(", but i18next-icu does not support nesting, the text is output as is.`),c=new Zc(e,this.options.parseLngForICU(n),this.formats,{ignoreTag:!0}),this.options.memoize&&(this.options.memoizeFallback||!a||o)&&el(this.mem,s,{res:e,fc:c}));var u=t&&t.replace&&X(t.replace)===`object`?ul(ul({},t),t.replace):t;return c.format(this.escapeVariableValues(u))}catch(a){return this.debug&&this.firstTime(`error ${n} ${r} ${i}`)&&this.warn(bl(a,e,!c,`key "${i}" (${n}/${r})`)),this.options.parseErrorHandler(a,i,e,t)}}},{key:`addLookupKeys`,value:function(e,t,n,r,i){return this.debug&&i&&this.checkSuffixKeys(t,n,r,i),e}},{key:`checkSuffixKeys`,value:function(e,t,n,r){var i=r.count,a=r.context,o=this.i18next.options,s=o.pluralSeparator,c=s===void 0?`_`:s,l=o.contextSeparator,u=l===void 0?`_`:l,d=this.i18next.services.resourceStore,f=`key "${e}" (${t}/${n})`;if(i!==void 0&&this.firstTime(`plural ${t} ${n} ${e}`)){var p=vl.concat(vl.map(function(e){return`ordinal${c}${e}`})).map(function(t){return`${e}${c}${t}`}).filter(function(e){return d.getResource(t,n,e)!==void 0});p.length&&this.warn(`${f} was called with count, but i18next-icu does not look up plural suffix keys (${p.join(`, `)}). Put the plural into the message: {count, plural, one {# item} other {# items}}.`)}var m=`${e}${u}${a}`;a!==void 0&&a!==``&&this.firstTime(`context ${t} ${n} ${m}`)&&d.getResource(t,n,m)!==void 0&&this.warn(`${f} was called with context "${a}", but i18next-icu does not look up context keys (${m}). Use a select in the message: {context, select, ${a} {...} other {...}}.`)}},{key:`firstTime`,value:function(e){return!this.warned.has(e)&&(this.warned.add(e),!0)}},{key:`warn`,value:function(e){this.i18next.services.logger.warn(`i18next-icu: ${e} See ${_l}`)}},{key:`clearCache`,value:function(){this.mem={}}},{key:`escapeVariableValues`,value:function(e){if(!this.options.escapeVariables||!e||X(e)!==`object`)return e;for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var i=rl(r[n],2),a=i[0],o=i[1];t[a]=typeof o==`string`?o.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`):o}return t}}]),e}();xl.type=`i18nFormat`;function Sl({icuOptions:e={},...t}){let{parseErrorHandler:n=void 0}=t;return Ns(t,{icu:new xl({parseErrorHandler:n,bindI18n:t.bindI18n,...e})})}var Cl=(e,t,n,r)=>{let i=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,`warn`,`react-i18next::`,!0);Z(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)},wl={},Tl=(e,t,n,r)=>{Z(n)&&wl[n]||(Z(n)&&(wl[n]=new Date),Cl(e,t,n,r))},El=(e,t)=>()=>{if(e.isInitialized)t();else{let n=()=>{setTimeout(()=>{e.off(`initialized`,n)},0),t()};e.on(`initialized`,n)}},Dl=(e,t,n)=>{e.loadNamespaces(t,El(e,n))},Ol=(e,t,n,r)=>{if(Z(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return Dl(e,n,r);n.forEach(t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)}),e.loadLanguages(t,El(e,r))},kl=(e,t,n={})=>!t.languages||!t.languages.length?(Tl(t,`NO_LANGUAGES`,`i18n.languages were undefined or empty`,{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf(`languageChanging`)>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}),Z=e=>typeof e==`string`,Al=e=>typeof e==`object`&&!!e,jl=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Ml={"&":`&`,"&":`&`,"<":`<`,"<":`<`,">":`>`,">":`>`,"'":`'`,"'":`'`,""":`"`,""":`"`," ":` `," ":` `,"©":`©`,"©":`©`,"®":`®`,"®":`®`,"…":`…`,"…":`…`,"/":`/`,"/":`/`},Nl=e=>Ml[e],Pl={bindI18n:`languageChanged`,bindI18nStore:``,transEmptyNodeValue:``,transSupportBasicHtmlNodes:!0,transWrapTextNodes:``,transKeepBasicHtmlNodesFor:[`br`,`strong`,`i`,`p`],useSuspense:!0,unescape:e=>e.replace(jl,Nl)},Fl=()=>Pl,Il,Ll=()=>Il,Rl=i(),zl=class{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}},Bl=(e,t)=>{let n=d();return l(()=>{n.current=t?n.current:e},[e,t]),n.current},Vl=(e,t,n,r)=>e.getFixedT(t,n,r),Hl=(e,t,n,r)=>s(Vl(e,t,n,r),[e,t,n,r]),Ul=(e,t={})=>{let{i18n:n}=t,{i18n:r,defaultNS:i}=c(Rl)||{},a=n||r||Ll();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new zl),!a){Tl(a,`NO_I18NEXT_INSTANCE`,`useTranslation: You will need to pass in an i18next instance by using initReactI18next`);let e=(e,t)=>Z(t)?t:Al(t)&&Z(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}a.options.react?.wait&&Tl(a,`DEPRECATED_OPTION`,`useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.`);let o={...Fl(),...a.options.react,...t},{useSuspense:s,keyPrefix:u}=o,p=e||i||a.options?.defaultNS;p=Z(p)?[p]:p||[`translation`],a.reportNamespaces.addUsedNamespaces?.(p);let m=(a.isInitialized||a.initializedStoreOnce)&&p.every(e=>kl(e,a,o)),h=Hl(a,t.lng||null,o.nsMode===`fallback`?p:p[0],u),g=()=>h,_=()=>Vl(a,t.lng||null,o.nsMode===`fallback`?p:p[0],u),[v,y]=f(g),b=p.join();t.lng&&(b=`${t.lng}${b}`);let x=Bl(b),S=d(!0);l(()=>{let{bindI18n:e,bindI18nStore:n}=o;S.current=!0,!m&&!s&&(t.lng?Ol(a,t.lng,p,()=>{S.current&&y(_)}):Dl(a,p,()=>{S.current&&y(_)})),m&&x&&x!==b&&S.current&&y(_);let r=()=>{S.current&&y(_)};return e&&a?.on(e,r),n&&a?.store.on(n,r),()=>{S.current=!1,a&&e&&e?.split(` `).forEach(e=>a.off(e,r)),n&&a&&n.split(` `).forEach(e=>a.store.off(e,r))}},[a,b]),l(()=>{S.current&&m&&y(g)},[a,u,m]);let C=[v,a,m];if(C.t=v,C.i18n=a,C.ready=m,m||!m&&!s)return C;throw new Promise(e=>{t.lng?Ol(a,t.lng,p,()=>e()):Dl(a,p,()=>e())})};function Wl({i18n:e,defaultNS:t,children:n}){let r=u(()=>({i18n:e,defaultNS:t}),[e,t]);return a(Rl.Provider,{value:r},n)}var Gl=`wix-warmup-data`,Kl=null;function ql(e){if(typeof document<`u`)try{let t=document.getElementById(Gl)?.textContent;return t?(Kl?.text!==t&&(Kl={text:t,data:JSON.parse(t).builderComponentsWarmupData??{}}),Kl.data[e]??void 0):void 0}catch{return}}var Jl=5e3,Yl=100,Xl={},Zl=new WeakMap,Ql=e=>{let t=e.scope??Xl,n=Zl.get(t);return n||(n=new Map,Zl.set(t,n)),n};function $l({key:e,warmupData:t,fetchData:n}){if(e===null)return n();if(t.isServer)return n().then(n=>(t.set(e,n),n));let r=Ql(t),i=Date.now();for(let[e,t]of r)t.expiresAt<=i&&r.delete(e);let a=r.get(e);if(a)return a.promise;let o=ql(e);if(o!==void 0){let t=Hn(o);return r.set(e,{promise:t,expiresAt:i+Jl}),t}let s=(async()=>await t.get(e)??n())();r.size>=Yl&&r.delete(r.keys().next().value);let c={promise:s,expiresAt:1/0};return r.set(e,c),s.then(()=>{c.expiresAt=Date.now()+Jl},()=>{r.get(e)===c&&r.delete(e)}),s}var eu=`blog-builder:i18n`,tu=`translation`,nu=()=>ql(eu),ru=new Map;function iu(e,t){let n=ru.get(e);if(n)return n;let r=nu(),i=r?.locale===e?r.messages:void 0,a=Sl({locale:e,useSuspense:!0,...i?{messages:i}:{asyncMessagesLoader:t}});return ru.set(e,a),a}function au(e){let t=()=>e.loadNamespaces(tu).then(()=>void 0,()=>void 0);return e.isInitialized?t():new Promise(n=>{e.on(`initialized`,()=>void t().then(n))})}function ou(e,t){return e.getResourceBundle(t,`translation`)??e.getResourceBundle(`en`,`translation`)}var su=(e,t,n)=>{let r=t.lastIndexOf(`?`),i=e[r===-1||r<t.lastIndexOf(`/`)?t:t.slice(0,r)];return i?typeof i==`function`?i():Promise.resolve(i):new Promise((e,r)=>{(typeof queueMicrotask==`function`?queueMicrotask:setTimeout)(r.bind(null,Error(`Unknown variable dynamic import: `+t+(t.split(`/`).length===n?``:`. Note that variables only represent file names one level deep.`))))})},cu=e=>e.split(`-`)[0]??e,lu=b({default:()=>du,title:()=>uu}),uu,du,fu=v((()=>{uu=`My App`,du={"canvas.category":`فئة`,"post-list.empty-state.description":`بعد نشر المنشورات، ستظهر هنا.`,"canvas.tag-numbered":`وسم {number}`,"cover-media.play":`تشغيل الفيديو`,"post-comments.unavailable":`التعليقات غير متاحة. لا يوجد مثيل تطبيق.`,"post-counters.loading-likes":`جارٍ تحميل الإعجابات`,"post-comments.loading":`جارٍ تحميل التعليقات…`,"post-actions.like":`إعجاب بالمنشور`,"canvas.content":`هنا يظهر المنشور الكامل. اكتب قصتك هنا، وأضف الصور والمعارض والفيديو من لوحة التحكم، واستخدم العناوين والاقتباسات لتسهيل القراءة.`,"related-posts.empty-state.title":`لا توجد منشورات ذات صلة بعد`,"post.time-to-read":`{count, plural, zero {{count,number} د قراءة} one {{count,number} د قراءة} two {{count,number} د قراءة} few {{count,number} د قراءة} many {{count,number} د قراءة} other {{count,number} د قراءة}}`,"post-actions.link-copied":`تم نسخ الرابط`,"category-header.all-posts":`كل المنشورات`,"post-actions.copy-manually":`انسخ الرابط أدناه لمشاركة هذا المنشور.`,"post-actions.copy-link":`نسخ الرابط`,"cover-media.placeholder-alt":`صورة غلاف المنشور`,"post-actions.link-label":`رابط المنشور`,"post-list.empty-state.title":`لا توجد منشورات بعد`,"post-actions.share-dialog":`مشاركة المنشور`,"canvas.post-title":`عنوان المنشور`,"post-actions.unlike":`إلغاء الإعجاب بالمنشور`,"post-comments.no-post":`لم يتم ربط أي منشور بعنوان URL هذا بعد.`,"post.like-count":`{count, plural, zero {{formatted} إعجاب} one {{formatted} إعجاب} two {{formatted} إعجابان} few {{formatted} إعجابات} many {{formatted} إعجابًا} other {{formatted} إعجاب}}`,"canvas.category-numbered":`فئة {number}`,"post.comment-count":`{count, plural, zero {{formatted} تعليق} one {{formatted} تعليق} two {{formatted} تعليقان} few {{formatted} تعليقات} many {{formatted} تعليقًا} other {{formatted} تعليق}}`,"post-actions.share":`مشاركة المنشور`,"post.view-count":`{count, plural, zero {{formatted} مشاهدة} one {{formatted} مشاهدة} two {{formatted} مشاهدتان} few {{formatted} مشاهدات} many {{formatted} مشاهدة} other {{formatted} مشاهدة}}`,"post-actions.close":`إغلاق`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`صورة المؤلف`,"canvas.author-name":`اسم المؤلف`,"post-comments.demo-notice":`تظهر تعليقات نموذجية أثناء التحرير. سيرى الزوار التعليقات الحقيقية.`,title:uu,"related-posts.empty-state.description":`بعد نشر المزيد من المنشورات، ستظهر هنا.`,"canvas.excerpt":`شارك الفكرة الرئيسية لمنشورك هنا. يظهر هذا الملخص القصير في بطاقات الموجز ونتائج البحث، ويوضح للقراء لماذا يستحق المنشور وقتهم.`}})),pu=b({default:()=>hu,title:()=>mu}),mu,hu,gu=v((()=>{mu=`My App`,hu={"canvas.category":`Категория`,"post-list.empty-state.description":`След като публикациите бъдат публикувани, ще се показват тук.`,"canvas.tag-numbered":`Таг {number}`,"cover-media.play":`Пускане на видеоклипа`,"post-comments.unavailable":`Коментарите не са налични. Липсва екземпляр на приложението.`,"post-counters.loading-likes":`Зареждат се харесвания`,"post-comments.loading":`Зареждат се коментари…`,"post-actions.like":`Харесайте публикацията`,"canvas.content":`Тук се показва цялата публикация. Напишете историята си тук, добавете изображения, галерии и видеоклип от таблото за управление и използвайте заглавия и цитати, за да остане лесна за четене.`,"related-posts.empty-state.title":`Все още няма свързани публикации`,"post.time-to-read":`{count, plural, one {{count,number} мин. четене} other {{count,number} мин. четене}}`,"post-actions.link-copied":`Връзката е копирана`,"category-header.all-posts":`Всички публикации`,"post-actions.copy-manually":`Копирайте връзката по-долу, за да споделите тази публикация.`,"post-actions.copy-link":`Копирайте връзката`,"cover-media.placeholder-alt":`Изображение на корицата на публикацията`,"post-actions.link-label":`Връзка към публикацията`,"post-list.empty-state.title":`Все още няма публикации`,"post-actions.share-dialog":`Споделете публикацията`,"canvas.post-title":`Заглавие на публикацията`,"post-actions.unlike":`Премахнете харесването на публикацията`,"post-comments.no-post":`Все още няма публикация, съпоставена с този URL адрес.`,"post.like-count":`{count, plural, one {{formatted} харесване} other {{formatted} харесвания}}`,"canvas.category-numbered":`Категория {number}`,"post.comment-count":`{count, plural, one {{formatted} коментар} other {{formatted} коментара}}`,"post-actions.share":`Споделете публикацията`,"post.view-count":`{count, plural, one {{formatted} преглед} other {{formatted} прегледа}}`,"post-actions.close":`Затваряне`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Снимка на автора`,"canvas.author-name":`Име на автора`,"post-comments.demo-notice":`При редактиране се показват примерни коментари. Посетителите ще виждат реалните коментари.`,title:mu,"related-posts.empty-state.description":`След като бъдат публикувани още публикации, ще се показват тук.`,"canvas.excerpt":`Споделете основната идея на публикацията си тук. Това кратко резюме се показва в картите в канала и в резултатите от търсенето и казва на читателите защо публикацията си струва времето им.`}})),_u=b({default:()=>yu,title:()=>vu}),vu,yu,bu=v((()=>{vu=`My App`,yu={"canvas.category":`Categoria`,"post-list.empty-state.description":`Quan es publiquin entrades, apareixeran aquí.`,"canvas.tag-numbered":`Etiqueta {number}`,"cover-media.play":`Reprodueix el vídeo`,"post-comments.unavailable":`Els comentaris no estan disponibles. No hi ha cap instància de l'aplicació.`,"post-counters.loading-likes":`S'estan carregant els m'agrada`,"post-comments.loading":`S'estan carregant els comentaris…`,"post-actions.like":`M'agrada l'entrada`,"canvas.content":`Aquí apareix l'entrada completa. Escriu-hi la història, afegeix imatges, galeries i vídeos des del tauler, i utilitza encapçalaments i cites perquè sigui fàcil de llegir.`,"related-posts.empty-state.title":`Encara no hi ha entrades relacionades`,"post.time-to-read":`{count, plural, one {{count,number} min de lectura} other {{count,number} min de lectura}}`,"post-actions.link-copied":`L'enllaç s'ha copiat`,"category-header.all-posts":`Totes les entrades`,"post-actions.copy-manually":`Copia l'enllaç següent per compartir aquesta entrada.`,"post-actions.copy-link":`Copia l'enllaç`,"cover-media.placeholder-alt":`Portada de l'entrada`,"post-actions.link-label":`Enllaç de l'entrada`,"post-list.empty-state.title":`Encara no hi ha entrades`,"post-actions.share-dialog":`Comparteix l'entrada`,"canvas.post-title":`Títol de l'entrada`,"post-actions.unlike":`Treu el m'agrada de l'entrada`,"post-comments.no-post":`Encara no s'ha resolt cap entrada per a aquest URL.`,"post.like-count":`{count, plural, one {{formatted} m'agrada} other {{formatted} m'agrada}}`,"canvas.category-numbered":`Categoria {number}`,"post.comment-count":`{count, plural, one {{formatted} comentari} other {{formatted} comentaris}}`,"post-actions.share":`Comparteix l'entrada`,"post.view-count":`{count, plural, one {{formatted} visualització} other {{formatted} visualitzacions}}`,"post-actions.close":`Tanca`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Retrat de l'autor`,"canvas.author-name":`Nom de l'autor`,"post-comments.demo-notice":`Durant l'edició es mostren comentaris de mostra. Les persones visitants veuran comentaris reals.`,title:vu,"related-posts.empty-state.description":`Quan es publiquin més entrades, apareixeran aquí.`,"canvas.excerpt":`Comparteix aquí la idea principal de l'entrada. Aquest resum breu es mostra a les targetes del feed i als resultats de cerca, i explica per què val la pena llegir l'entrada.`}})),xu=b({default:()=>Cu,title:()=>Su}),Su,Cu,wu=v((()=>{Su=`My App`,Cu={"canvas.category":`Kategorie`,"post-list.empty-state.description":`Až budou příspěvky publikované, zobrazí se tady.`,"canvas.tag-numbered":`Štítek {number}`,"cover-media.play":`Přehrát video`,"post-comments.unavailable":`Komentáře nejsou dostupné — chybí instance aplikace.`,"post-counters.loading-likes":`Načítání označení To se mi líbí`,"post-comments.loading":`Načítání komentářů…`,"post-actions.like":`Označit příspěvek jako To se mi líbí`,"canvas.content":`Tady se zobrazuje celý příspěvek. Napište svůj příběh, přidejte obrázky, galerie a video z ovládacího panelu a pomocí nadpisů a citací ho zpřehledněte.`,"related-posts.empty-state.title":`Zatím žádné související příspěvky`,"post.time-to-read":`{count, plural, one {{count,number} min čtení} few {{count,number} min čtení} many {{count,number} min čtení} other {{count,number} min čtení}}`,"post-actions.link-copied":`Odkaz zkopírován`,"category-header.all-posts":`Všechny příspěvky`,"post-actions.copy-manually":`Zkopírujte níže uvedený odkaz a sdílejte tento příspěvek.`,"post-actions.copy-link":`Zkopírovat odkaz`,"cover-media.placeholder-alt":`Úvodní obrázek příspěvku`,"post-actions.link-label":`Odkaz na příspěvek`,"post-list.empty-state.title":`Zatím žádné příspěvky`,"post-actions.share-dialog":`Sdílet příspěvek`,"canvas.post-title":`Název příspěvku`,"post-actions.unlike":`Odebrat To se mi líbí z příspěvku`,"post-comments.no-post":`Pro tuto URL zatím není k dispozici žádný příspěvek.`,"post.like-count":`{count, plural, one {{formatted} označení To se mi líbí} few {{formatted} označení To se mi líbí} many {{formatted} označení To se mi líbí} other {{formatted} označení To se mi líbí}}`,"canvas.category-numbered":`Kategorie {number}`,"post.comment-count":`{count, plural, one {{formatted} komentář} few {{formatted} komentáře} many {{formatted} komentáře} other {{formatted} komentářů}}`,"post-actions.share":`Sdílet příspěvek`,"post.view-count":`{count, plural, one {{formatted} zobrazení} few {{formatted} zobrazení} many {{formatted} zobrazení} other {{formatted} zobrazení}}`,"post-actions.close":`Zavřít`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Fotka autora`,"canvas.author-name":`Jméno autora`,"post-comments.demo-notice":`Při úpravách se zobrazují ukázkové komentáře. Návštěvníci uvidí skutečné komentáře.`,title:Su,"related-posts.empty-state.description":`Až bude publikováno víc příspěvků, zobrazí se tady.`,"canvas.excerpt":`Tady představte hlavní myšlenku příspěvku. Toto krátké shrnutí se zobrazuje na kartách kanálu a ve výsledcích hledání a čtenářům říká, proč se příspěvek vyplatí přečíst.`}})),Tu=b({default:()=>Du,title:()=>Eu}),Eu,Du,Ou=v((()=>{Eu=`My App`,Du={"canvas.category":`Kategori`,"post-list.empty-state.description":`Når indlæg er udgivet, vises de her.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`Afspil video`,"post-comments.unavailable":`Kommentarer er ikke tilgængelige — ingen appforekomst.`,"post-counters.loading-likes":`Indlæser synes godt om`,"post-comments.loading":`Indlæser kommentarer…`,"post-actions.like":`Synes godt om indlæg`,"canvas.content":`Det er her, hele indlægget vises. Skriv din historie her, tilføj billeder, gallerier og video fra kontrolpanelet, og brug overskrifter og citater til at gøre det nemt at læse.`,"related-posts.empty-state.title":`Ingen relaterede indlæg endnu`,"post.time-to-read":`{count, plural, one {{count,number} min. læsning} other {{count,number} min. læsning}}`,"post-actions.link-copied":`Link kopieret`,"category-header.all-posts":`Alle indlæg`,"post-actions.copy-manually":`Kopiér linket nedenfor for at dele dette indlæg.`,"post-actions.copy-link":`Kopiér link`,"cover-media.placeholder-alt":`Coverbillede til indlæg`,"post-actions.link-label":`Link til indlæg`,"post-list.empty-state.title":`Ingen indlæg endnu`,"post-actions.share-dialog":`Del indlæg`,"canvas.post-title":`Indlægstitel`,"post-actions.unlike":`Fjern Synes godt om fra indlæg`,"post-comments.no-post":`Der er endnu ikke fundet et indlæg for denne URL.`,"post.like-count":`{count, plural, one {{formatted} synes godt om} other {{formatted} synes godt om}}`,"canvas.category-numbered":`Kategori {number}`,"post.comment-count":`{count, plural, one {{formatted} kommentar} other {{formatted} kommentarer}}`,"post-actions.share":`Del indlæg`,"post.view-count":`{count, plural, one {{formatted} visning} other {{formatted} visninger}}`,"post-actions.close":`Luk`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Skribentbillede`,"canvas.author-name":`Skribentnavn`,"post-comments.demo-notice":`Eksempelkommentarer vises under redigering. Besøgende ser rigtige kommentarer.`,title:Eu,"related-posts.empty-state.description":`Når flere indlæg er udgivet, vises de her.`,"canvas.excerpt":`Del hovedideen i dit indlæg her. Dette korte resumé vises på feedkort og i søgeresultater og fortæller læserne, hvorfor indlægget er værd at læse.`}})),ku=b({default:()=>ju,title:()=>Au}),Au,ju,Mu=v((()=>{Au=`My App`,ju={"canvas.category":`Kategorie`,"post-list.empty-state.description":`Sobald Beiträge veröffentlicht sind, werden sie hier angezeigt.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`Video abspielen`,"post-comments.unavailable":`Kommentare sind nicht verfügbar da keine App-Verknüpfung vorhanden ist.`,"post-counters.loading-likes":`Likes werden geladen`,"post-comments.loading":`Kommentare werden geladen …`,"post-actions.like":`Beitrag liken`,"canvas.content":`Hier wird der vollständige Beitrag angezeigt. Schreibe hier deine Geschichte, füge Bilder, Galerien und Videos aus der Verwaltung hinzu und nutze Überschriften und Zitate, damit sie leicht lesbar bleibt.`,"related-posts.empty-state.title":`Noch keine ähnlichen Beiträge vorhanden`,"post.time-to-read":`{count, plural, one {{count,number} Min. Lesezeit} other {{count,number} Min. Lesezeit}}`,"post-actions.link-copied":`Link kopiert`,"category-header.all-posts":`Alle Beiträge`,"post-actions.copy-manually":`Kopiere den Link unten, um diesen Beitrag zu teilen.`,"post-actions.copy-link":`Link kopieren`,"cover-media.placeholder-alt":`Titelbild des Beitrags`,"post-actions.link-label":`Link zum Beitrag`,"post-list.empty-state.title":`Noch keine Beiträge vorhanden`,"post-actions.share-dialog":`Beitrag teilen`,"canvas.post-title":`Beitragstitel`,"post-actions.unlike":`Like für Beitrag entfernen`,"post-comments.no-post":`Für diese URL wurde noch kein Beitrag gefunden.`,"post.like-count":`{count, plural, one {{formatted} Like} other {{formatted} Likes}}`,"canvas.category-numbered":`Kategorie {number}`,"post.comment-count":`{count, plural, one {{formatted} Kommentar} other {{formatted} Kommentare}}`,"post-actions.share":`Beitrag teilen`,"post.view-count":`{count, plural, one {{formatted} Aufruf} other {{formatted} Aufrufe}}`,"post-actions.close":`Schließen`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Autorenfoto`,"canvas.author-name":`Autorenname`,"post-comments.demo-notice":`Beim Bearbeiten werden Beispielkommentare angezeigt. Besucher sehen echte Kommentare.`,title:Au,"related-posts.empty-state.description":`Sobald weitere Beiträge veröffentlicht sind, werden sie hier angezeigt.`,"canvas.excerpt":`Teile hier die wichtigste Idee deines Beitrags. Diese kurze Zusammenfassung wird auf Feed-Karten und in Suchergebnissen angezeigt und zeigt Lesern, warum sich das Lesen lohnt.`}})),Nu=b({default:()=>Fu,title:()=>Pu}),Pu,Fu,Iu=v((()=>{Pu=`My App`,Fu={"canvas.category":`Κατηγορία`,"post-list.empty-state.description":`Μόλις δημοσιευτούν αναρτήσεις, θα εμφανιστούν εδώ.`,"canvas.tag-numbered":`Ετικέτα {number}`,"cover-media.play":`Αναπαραγωγή βίντεο`,"post-comments.unavailable":`Τα σχόλια δεν είναι διαθέσιμα — δεν υπάρχει παρουσία εφαρμογής.`,"post-counters.loading-likes":`Φόρτωση επισημάνσεων "Μου αρέσει"`,"post-comments.loading":`Φόρτωση σχολίων…`,"post-actions.like":`Επισήμανση ανάρτησης ως "Μου αρέσει"`,"canvas.content":`Εδώ εμφανίζεται η πλήρης ανάρτηση. Γράψε την ιστορία σου, πρόσθεσε εικόνες, συλλογές και βίντεο από τον Πίνακα εργαλείων, και χρησιμοποίησε επικεφαλίδες και παραθέσεις για εύκολη στην ανάγνωση.`,"related-posts.empty-state.title":`Δεν υπάρχουν ακόμη σχετικές αναρτήσεις`,"post.time-to-read":`{count, plural, one {{count,number} λεπτό ανάγνωσης} other {{count,number} λεπτά ανάγνωσης}}`,"post-actions.link-copied":`Ο σύνδεσμος αντιγράφηκε`,"category-header.all-posts":`Όλες οι αναρτήσεις`,"post-actions.copy-manually":`Αντίγραψε τον παρακάτω σύνδεσμο για να κοινοποιήσεις αυτήν την ανάρτηση.`,"post-actions.copy-link":`Αντιγραφή συνδέσμου`,"cover-media.placeholder-alt":`Εικόνα εξωφύλλου ανάρτησης`,"post-actions.link-label":`Σύνδεσμος ανάρτησης`,"post-list.empty-state.title":`Δεν υπάρχουν ακόμη αναρτήσεις`,"post-actions.share-dialog":`Κοινοποίηση ανάρτησης`,"canvas.post-title":`Τίτλος ανάρτησης`,"post-actions.unlike":`Κατάργηση επισήμανσης "Μου αρέσει" από την ανάρτηση`,"post-comments.no-post":`Δεν βρέθηκε ακόμη ανάρτηση για αυτό το URL.`,"post.like-count":`{count, plural, one {{formatted} επισήμανση "Μου αρέσει"} other {{formatted} επισημάνσεις "Μου αρέσει"}}`,"canvas.category-numbered":`Κατηγορία {number}`,"post.comment-count":`{count, plural, one {{formatted} σχόλιο} other {{formatted} σχόλια}}`,"post-actions.share":`Κοινοποίηση ανάρτησης`,"post.view-count":`{count, plural, one {{formatted} προβολή} other {{formatted} προβολές}}`,"post-actions.close":`Κλείσιμο`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Φωτογραφία συγγραφέα`,"canvas.author-name":`Όνομα συγγραφέα`,"post-comments.demo-notice":`Κατά την επεξεργασία εμφανίζονται ενδεικτικά σχόλια. Οι επισκέπτες θα βλέπουν πραγματικά σχόλια.`,title:Pu,"related-posts.empty-state.description":`Μόλις δημοσιευτούν περισσότερες αναρτήσεις, θα εμφανιστούν εδώ.`,"canvas.excerpt":`Μοιράσου εδώ την κύρια ιδέα της ανάρτησής σου. Αυτή η σύντομη σύνοψη εμφανίζεται στις κάρτες ροής και τα αποτελέσματα αναζήτησης, και δείχνει στους αναγνώστες γιατί αξίζει να διαβάσουν την ανάρτηση.`}})),Lu=b({default:()=>Ru}),Ru,zu=v((()=>{Ru={"post.time-to-read":`{count, plural, one {# min read} other {# min read}}`,"post.view-count":`{count, plural, one {{formatted} view} other {{formatted} views}}`,"post.comment-count":`{count, plural, one {{formatted} comment} other {{formatted} comments}}`,"post.like-count":`{count, plural, one {{formatted} like} other {{formatted} likes}}`,"post-list.empty-state.title":`No posts yet`,"post-list.empty-state.description":`Once posts are published, they will appear here.`,"related-posts.empty-state.title":`No related posts yet`,"related-posts.empty-state.description":`Once more posts are published, they will appear here.`,"post-actions.like":`Like post`,"post-actions.unlike":`Unlike post`,"post-actions.share":`Share post`,"post-actions.share-dialog":`Share post`,"post-actions.link-copied":`Link copied`,"post-actions.copy-manually":`Copy the link below to share this post.`,"post-actions.link-label":`Post link`,"post-actions.copy-link":`Copy link`,"post-actions.close":`Close`,"post-counters.loading-likes":`Loading likes`,"cover-media.play":`Play video`,"cover-media.placeholder-alt":`Post cover image`,"post-comments.loading":`Loading comments…`,"post-comments.no-post":`No post resolved for this URL yet.`,"post-comments.unavailable":`Comments are unavailable — no app instance.`,"post-comments.demo-notice":`Sample comments are shown while editing. Visitors will see real comments.`,"canvas.post-title":`Post Title`,"canvas.author-name":`Author Name`,"canvas.excerpt":`Share the key idea of your post here. This short summary shows on feed cards and in search results, and tells readers why the post is worth their time.`,"canvas.content":`This is where the full post appears. Write your story here, add images, galleries and video from the dashboard, and use headings and quotes to keep it easy to read.`,"canvas.category":`Category`,"canvas.category-numbered":`Category {number}`,"canvas.tag-numbered":`Tag {number}`,"canvas.author-photo-alt":`Author photo`,"category-header.all-posts":`All Posts`}})),Bu=b({default:()=>Hu,title:()=>Vu}),Vu,Hu,Uu=v((()=>{Vu=`My App`,Hu={"canvas.category":`Category`,"post-list.empty-state.description":`Once posts are published, they will appear here.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`Play video`,"post-comments.unavailable":`Comments are unavailable — no app instance.`,"post-counters.loading-likes":`Loading likes`,"post-comments.loading":`Loading comments…`,"post-actions.like":`Like post`,"canvas.content":`This is where the full post appears. Write your story here, add images, galleries and video from the dashboard, and use headings and quotes to keep it easy to read.`,"related-posts.empty-state.title":`No related posts yet`,"post.time-to-read":`{count, plural, one {# min read} other {# min read}}`,"post-actions.link-copied":`Link copied`,"category-header.all-posts":`All Posts`,"post-actions.copy-manually":`Copy the link below to share this post.`,"post-actions.copy-link":`Copy link`,"cover-media.placeholder-alt":`Post cover image`,"post-actions.link-label":`Post link`,"post-list.empty-state.title":`No posts yet`,"post-actions.share-dialog":`Share post`,"canvas.post-title":`Post Title`,"post-actions.unlike":`Unlike post`,"post-comments.no-post":`No post resolved for this URL yet.`,"post.like-count":`{count, plural, one {{formatted} like} other {{formatted} likes}}`,"canvas.category-numbered":`Category {number}`,"post.comment-count":`{count, plural, one {{formatted} comment} other {{formatted} comments}}`,"post-actions.share":`Share post`,"post.view-count":`{count, plural, one {{formatted} view} other {{formatted} views}}`,"post-actions.close":`Close`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Author photo`,"canvas.author-name":`Author Name`,"post-comments.demo-notice":`Sample comments are shown while editing. Visitors will see real comments.`,title:Vu,"related-posts.empty-state.description":`Once more posts are published, they will appear here.`,"canvas.excerpt":`Share the key idea of your post here. This short summary shows on feed cards and in search results, and tells readers why the post is worth their time.`}})),Wu=b({default:()=>Ku,title:()=>Gu}),Gu,Ku,qu=v((()=>{Gu=`My App`,Ku={"canvas.category":`Categoría`,"post-list.empty-state.description":`Cuando se publiquen entradas, aparecerán aquí.`,"canvas.tag-numbered":`Etiqueta {number}`,"cover-media.play":`Reproducir video`,"post-comments.unavailable":`Los comentarios no están disponibles — no hay instancia de la app.`,"post-counters.loading-likes":`Cargando Me gusta`,"post-comments.loading":`Cargando comentarios…`,"post-actions.like":`Dar Me gusta a la entrada`,"canvas.content":`Aquí se muestra la entrada completa. Escribe tu historia aquí, agrega imágenes, galerías y video desde el panel de control, y usa encabezados y citas para que sea fácil de leer.`,"related-posts.empty-state.title":`Aún no hay entradas relacionadas`,"post.time-to-read":`{count, plural, one {{count,number} min de lectura} other {{count,number} min de lectura}}`,"post-actions.link-copied":`Enlace copiado`,"category-header.all-posts":`Todas las entradas`,"post-actions.copy-manually":`Copia el enlace a continuación para compartir esta entrada.`,"post-actions.copy-link":`Copiar enlace`,"cover-media.placeholder-alt":`Imagen de portada de la entrada`,"post-actions.link-label":`Enlace de la entrada`,"post-list.empty-state.title":`Aún no hay entradas`,"post-actions.share-dialog":`Compartir entrada`,"canvas.post-title":`Título de la entrada`,"post-actions.unlike":`Quitar Me gusta de la entrada`,"post-comments.no-post":`Aún no se resolvió ninguna entrada para esta URL.`,"post.like-count":`{count, plural, one {{formatted} Me gusta} other {{formatted} Me gusta}}`,"canvas.category-numbered":`Categoría {number}`,"post.comment-count":`{count, plural, one {{formatted} comentario} other {{formatted} comentarios}}`,"post-actions.share":`Compartir entrada`,"post.view-count":`{count, plural, one {{formatted} vista} other {{formatted} vistas}}`,"post-actions.close":`Cerrar`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Foto del autor`,"canvas.author-name":`Nombre del autor`,"post-comments.demo-notice":`Se muestran comentarios de muestra durante la edición. Los visitantes verán comentarios reales.`,title:Gu,"related-posts.empty-state.description":`Cuando se publiquen más entradas, aparecerán aquí.`,"canvas.excerpt":`Comparte aquí la idea principal de tu entrada. Este breve resumen se muestra en las tarjetas del feed y en los resultados de búsqueda, y les dice a los lectores por qué vale la pena leer la entrada.`}})),Ju=b({default:()=>Xu,title:()=>Yu}),Yu,Xu,Zu=v((()=>{Yu=`My App`,Xu={"canvas.category":`Kategoria`,"post-list.empty-state.description":`Kun julkaisuja julkaistaan, ne näkyvät täällä.`,"canvas.tag-numbered":`Tunniste {number}`,"cover-media.play":`Toista video`,"post-comments.unavailable":`Kommentit eivät ole saatavilla — ei sovellusinstanssia.`,"post-counters.loading-likes":`Ladataan tykkäyksiä`,"post-comments.loading":`Ladataan kommentteja…`,"post-actions.like":`Tykkää julkaisusta`,"canvas.content":`Tässä näkyy koko julkaisu. Kirjoita tarinasi tähän, lisää kuvia, gallerioita ja videoita hallintapaneelista sekä käytä otsikoita ja lainauksia, jotta tekstiä on helppo lukea.`,"related-posts.empty-state.title":`Ei vielä aiheeseen liittyviä julkaisuja`,"post.time-to-read":`{count, plural, one {{count,number} min lukuaika} other {{count,number} min lukuaika}}`,"post-actions.link-copied":`Linkki kopioitu`,"category-header.all-posts":`Kaikki julkaisut`,"post-actions.copy-manually":`Kopioi alla oleva linkki jakaaksesi tämän julkaisun.`,"post-actions.copy-link":`Kopioi linkki`,"cover-media.placeholder-alt":`Julkaisun kansikuva`,"post-actions.link-label":`Julkaisun linkki`,"post-list.empty-state.title":`Ei vielä julkaisuja`,"post-actions.share-dialog":`Jaa julkaisu`,"canvas.post-title":`Julkaisun otsikko`,"post-actions.unlike":`Poista tykkäys julkaisusta`,"post-comments.no-post":`Tälle URL-osoitteelle ei vielä löydy julkaisua.`,"post.like-count":`{count, plural, one {{formatted} tykkäys} other {{formatted} tykkäystä}}`,"canvas.category-numbered":`Kategoria {number}`,"post.comment-count":`{count, plural, one {{formatted} kommentti} other {{formatted} kommenttia}}`,"post-actions.share":`Jaa julkaisu`,"post.view-count":`{count, plural, one {{formatted} näkymä} other {{formatted} näkymää}}`,"post-actions.close":`Sulje`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Kirjoittajan kuva`,"canvas.author-name":`Kirjoittajan nimi`,"post-comments.demo-notice":`Muokkauksen aikana näytetään esimerkkikommentteja. Vierailijat näkevät oikeat kommentit.`,title:Yu,"related-posts.empty-state.description":`Kun lisää julkaisuja julkaistaan, ne näkyvät täällä.`,"canvas.excerpt":`Jaa julkaisusi pääidea tässä. Tämä lyhyt yhteenveto näkyy syötekorteissa ja hakutuloksissa, ja kertoo lukijoille, miksi julkaisu kannattaa lukea.`}})),Qu=b({default:()=>ed,title:()=>$u}),$u,ed,td=v((()=>{$u=`My App`,ed={"canvas.category":`Catégorie`,"post-list.empty-state.description":`Une fois les posts publiés, ils apparaîtront ici.`,"canvas.tag-numbered":`Mot-clé {number}`,"cover-media.play":`Lire la vidéo`,"post-comments.unavailable":`Les commentaires ne sont pas disponibles (aucune appli installée).`,"post-counters.loading-likes":`Chargement des J'aime`,"post-comments.loading":`Chargement des commentaires…`,"post-actions.like":`Aimer le post`,"canvas.content":`C'est ici que le post complet apparaît. Rédigez votre post ici, ajoutez des images, des galeries et des vidéos depuis le tableau de bord, et utilisez des titres et des citations pour faciliter la lecture.`,"related-posts.empty-state.title":`Aucun post associé pour le moment`,"post.time-to-read":`{count, plural, one {{count,number} min de lecture} other {{count,number} min de lecture}}`,"post-actions.link-copied":`Lien copié`,"category-header.all-posts":`Tous les posts`,"post-actions.copy-manually":`Copiez le lien ci-dessous pour partager ce post.`,"post-actions.copy-link":`Copier le lien`,"cover-media.placeholder-alt":`Image de couverture du post`,"post-actions.link-label":`Lien du post`,"post-list.empty-state.title":`Aucun post pour le moment`,"post-actions.share-dialog":`Partager le post`,"canvas.post-title":`Titre du post`,"post-actions.unlike":`Ne plus aimer le post`,"post-comments.no-post":`Aucun post n'est encore associé à cette URL.`,"post.like-count":`{count, plural, one {{formatted} J'aime} other {{formatted} J'aime}}`,"canvas.category-numbered":`Catégorie {number}`,"post.comment-count":`{count, plural, one {{formatted} commentaire} other {{formatted} commentaires}}`,"post-actions.share":`Partager le post`,"post.view-count":`{count, plural, one {{formatted} vue} other {{formatted} vues}}`,"post-actions.close":`Fermer`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Photo de l'auteur`,"canvas.author-name":`Nom de l'auteur`,"post-comments.demo-notice":`Des exemples de commentaires s'affichent pendant la modification. Les visiteurs verront les vrais commentaires.`,title:$u,"related-posts.empty-state.description":`Une fois d'autres posts publiés, ils apparaîtront ici.`,"canvas.excerpt":`Partagez ici l'idée principale de votre post. Ce bref résumé s'affiche sur les fiches du fil et dans les résultats de recherche, et indique aux lecteurs pourquoi ce post mérite d'être lu.`}})),nd=b({default:()=>id,title:()=>rd}),rd,id,ad=v((()=>{rd=`My App`,id={"canvas.category":`קטגוריה`,"post-list.empty-state.description":`אחרי פרסום פוסטים, הם יופיעו כאן.`,"canvas.tag-numbered":`תג {number}`,"cover-media.play":`הפעלת סרטון`,"post-comments.unavailable":`התגובות לא זמינות — אין מופע אפליקציה.`,"post-counters.loading-likes":`טעינת לייקים`,"post-comments.loading":`טעינת תגובות…`,"post-actions.like":`סימון פוסט בלייק`,"canvas.content":`כאן מופיע הפוסט המלא. אפשר לכתוב כאן את הסיפור, להוסיף תמונות, גלריות וסרטונים מהדאשבורד, ולהשתמש בתגי Heading ובציטוטים כדי להקל על הקריאה.`,"related-posts.empty-state.title":`אין עדיין פוסטים קשורים`,"post.time-to-read":`{count, plural, one {# min read} other {# min read}}`,"post-actions.link-copied":`הלינק הועתק`,"category-header.all-posts":`כל הפוסטים`,"post-actions.copy-manually":`אפשר להעתיק את הלינק שבהמשך כדי לשתף את הפוסט הזה.`,"post-actions.copy-link":`העתקת לינק`,"cover-media.placeholder-alt":`תמונת קאבר של פוסט`,"post-actions.link-label":`לינק לפוסט`,"post-list.empty-state.title":`אין עדיין פוסטים`,"post-actions.share-dialog":`שיתוף פוסט`,"canvas.post-title":`כותרת הפוסט`,"post-actions.unlike":`ביטול לייק לפוסט`,"post-comments.no-post":`עדיין לא נמצא פוסט לכתובת URL זו.`,"post.like-count":`{count, plural, one {{formatted} like} other {{formatted} likes}}`,"canvas.category-numbered":`קטגוריה {number}`,"post.comment-count":`{count, plural, one {{formatted} comment} other {{formatted} comments}}`,"post-actions.share":`שיתוף פוסט`,"post.view-count":`{count, plural, one {{formatted} view} other {{formatted} views}}`,"post-actions.close":`סגירה`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`תמונת מחבר/ת`,"canvas.author-name":`שם המחבר/ת`,"post-comments.demo-notice":`בזמן העריכה מוצגות תגובות לדוגמה. הגולשים יראו תגובות אמיתיות.`,title:rd,"related-posts.empty-state.description":`אחרי פרסום פוסטים נוספים, הם יופיעו כאן.`,"canvas.excerpt":`כאן אפשר לשתף את הרעיון המרכזי של הפוסט. התקציר הקצר הזה מופיע בכרטיסי הפיד ובתוצאות החיפוש, ומסביר למה כדאי לקרוא את הפוסט.`}})),od=b({default:()=>cd,title:()=>sd}),sd,cd,ld=v((()=>{sd=`My App`,cd={"canvas.category":`श्रेणी`,"post-list.empty-state.description":`पोस्ट प्रकाशित होने के बाद वे यहाँ दिखाई देंगी।`,"canvas.tag-numbered":`टैग {number}`,"cover-media.play":`वीडियो प्ले करें`,"post-comments.unavailable":`टिप्पणियां उपलब्ध नहीं हैं — कोई ऐप इंस्टेंस नहीं है।`,"post-counters.loading-likes":`लाइक लोड हो रहे हैं`,"post-comments.loading":`टिप्पणियां लोड हो रही हैं…`,"post-actions.like":`पोस्ट लाइक करें`,"canvas.content":`पूरी पोस्ट यहाँ दिखाई देती है। अपनी कहानी यहाँ लिखें, डैशबोर्ड से इमेज, गैलरी और वीडियो जोड़ें, और पढ़ने में आसान रखने के लिए हेडिंग और उद्धरणों का उपयोग करें।`,"related-posts.empty-state.title":`अभी तक कोई संबंधित पोस्ट नहीं`,"post.time-to-read":`{count, plural, one {{count,number} मिनट रीड्स} other {{count,number} मिनट रीड्स}}`,"post-actions.link-copied":`लिंक कॉपी हो गया`,"category-header.all-posts":`सभी पोस्ट`,"post-actions.copy-manually":`इस पोस्ट को शेयर करने के लिए नीचे दिया गया लिंक कॉपी करें।`,"post-actions.copy-link":`लिंक कॉपी करें`,"cover-media.placeholder-alt":`पोस्ट कवर इमेज`,"post-actions.link-label":`पोस्ट लिंक`,"post-list.empty-state.title":`अभी तक कोई पोस्ट नहीं`,"post-actions.share-dialog":`पोस्ट शेयर करें`,"canvas.post-title":`पोस्ट शीर्षक`,"post-actions.unlike":`पोस्ट से लाइक हटाएँ`,"post-comments.no-post":`इस URL के लिए अभी तक कोई पोस्ट हल नहीं हुई है।`,"post.like-count":`{count, plural, one {{formatted} लाइक} other {{formatted} लाइक}}`,"canvas.category-numbered":`श्रेणी {number}`,"post.comment-count":`{count, plural, one {{formatted} टिप्पणी} other {{formatted} टिप्पणियां}}`,"post-actions.share":`पोस्ट शेयर करें`,"post.view-count":`{count, plural, one {{formatted} देखें} other {{formatted} देखें}}`,"post-actions.close":`बंद करें`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`लेखक की फ़ोटो`,"canvas.author-name":`लेखक का नाम`,"post-comments.demo-notice":`एडिटिंग के दौरान सैंपल टिप्पणियां दिखाई जाती हैं। विज़िटर असली टिप्पणियां देखेंगे।`,title:sd,"related-posts.empty-state.description":`और पोस्ट प्रकाशित होने के बाद वे यहाँ दिखाई देंगी।`,"canvas.excerpt":`अपनी पोस्ट का मुख्य विचार यहाँ शेयर करें। यह छोटा सारांश फ़ीड कार्ड और खोज परिणामों में दिखता है, और पाठकों को बताता है कि पोस्ट उनके समय के लायक क्यों है।`}})),ud=b({default:()=>fd,title:()=>dd}),dd,fd,pd=v((()=>{dd=`My App`,fd={"canvas.category":`Kategorija`,"post-list.empty-state.description":`Nakon objavljivanja objave će se pojaviti ovdje.`,"canvas.tag-numbered":`Oznaka {number}`,"cover-media.play":`Reproduciraj videozapis`,"post-comments.unavailable":`Komentari nisu dostupni — nema instance aplikacije.`,"post-counters.loading-likes":`Učitavanje sviđanja`,"post-comments.loading":`Učitavanje komentara…`,"post-actions.like":`Označi objavu sviđanjem`,"canvas.content":`Ovdje se prikazuje cijela objava. Ovdje napišite svoju priču, dodajte slike, galerije i videozapise s Nadzorne ploče te upotrijebite naslove i citate kako bi se tekst lakše čitao.`,"related-posts.empty-state.title":`Još nema povezanih objava`,"post.time-to-read":`{count, plural, one {# min read} other {# min read}}`,"post-actions.link-copied":`Poveznica kopirana`,"category-header.all-posts":`Sve objave`,"post-actions.copy-manually":`Kopirajte poveznicu u nastavku da biste podijelili ovu objavu.`,"post-actions.copy-link":`Kopiraj poveznicu`,"cover-media.placeholder-alt":`Naslovna slika objave`,"post-actions.link-label":`Poveznica objave`,"post-list.empty-state.title":`Još nema objava`,"post-actions.share-dialog":`Podijeli objavu`,"canvas.post-title":`Naslov objave`,"post-actions.unlike":`Ukloni sviđanje s objave`,"post-comments.no-post":`Za ovaj URL još nije pronađena objava.`,"post.like-count":`{count, plural, one {{formatted} like} other {{formatted} likes}}`,"canvas.category-numbered":`Kategorija {number}`,"post.comment-count":`{count, plural, one {{formatted} comment} other {{formatted} comments}}`,"post-actions.share":`Podijeli objavu`,"post.view-count":`{count, plural, one {{formatted} view} other {{formatted} views}}`,"post-actions.close":`Zatvori`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Fotografija autora`,"canvas.author-name":`Ime autora`,"post-comments.demo-notice":`Tijekom uređivanja prikazuju se ogledni komentari. Posjetitelji će vidjeti stvarne komentare.`,title:dd,"related-posts.empty-state.description":`Nakon objavljivanja dodatnih objava pojavit će se ovdje.`,"canvas.excerpt":`Ovdje podijelite glavnu ideju svoje objave. Ovaj kratki sažetak prikazuje se na karticama feeda i u rezultatima pretraživanja te čitateljima govori zašto vrijedi pročitati objavu.`}})),md=b({default:()=>gd,title:()=>hd}),hd,gd,_d=v((()=>{hd=`My App`,gd={"canvas.category":`Kategória`,"post-list.empty-state.description":`A közzétett bejegyzések itt jelennek majd meg.`,"canvas.tag-numbered":`{number}. címke`,"cover-media.play":`Videó lejátszása`,"post-comments.unavailable":`A hozzászólások nem érhetők el – nincs alkalmazáspéldány.`,"post-counters.loading-likes":`Kedvelések betöltése`,"post-comments.loading":`Hozzászólások betöltése…`,"post-actions.like":`Bejegyzés kedvelése`,"canvas.content":`Itt jelenik meg a teljes bejegyzés. Ide írhatod a történetedet, itt adhatsz hozzá képeket, galériákat és videókat az irányítópultról, és itt használhatsz fejléceket és idézeteket, hogy a tartalmak könnyen olvashatók maradjanak.`,"related-posts.empty-state.title":`Még nincsenek kapcsolódó bejegyzések`,"post.time-to-read":`{count, plural, one {{count,number} perc olvasás} other {{count,number} perc olvasás}}`,"post-actions.link-copied":`Kimásoltad a hivatkozást`,"category-header.all-posts":`Összes bejegyzés`,"post-actions.copy-manually":`A bejegyzés megosztásához másold ki az alábbi hivatkozást.`,"post-actions.copy-link":`Hivatkozás másolása`,"cover-media.placeholder-alt":`Bejegyzés borítóképe`,"post-actions.link-label":`Bejegyzés hivatkozása`,"post-list.empty-state.title":`Még nincs bejegyzés`,"post-actions.share-dialog":`Bejegyzés megosztása`,"canvas.post-title":`Bejegyzés címe`,"post-actions.unlike":`Bejegyzés kedvelésének visszavonása`,"post-comments.no-post":`Ehhez az URL-címhez még nem tartozik bejegyzés.`,"post.like-count":`{count, plural, one {{formatted} kedvelés} other {{formatted} kedvelés}}`,"canvas.category-numbered":`{number}. kategória`,"post.comment-count":`{count, plural, one {{formatted} hozzászólás} other {{formatted} hozzászólás}}`,"post-actions.share":`Bejegyzés megosztása`,"post.view-count":`{count, plural, one {{formatted} megtekintés} other {{formatted} megtekintés}}`,"post-actions.close":`Bezárás`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Szerző fotója`,"canvas.author-name":`Szerző neve`,"post-comments.demo-notice":`Szerkesztés közben mintahozzászólások jelennek meg. A látogatók valós hozzászólásokat fognak látni.`,title:hd,"related-posts.empty-state.description":`A további közzétett bejegyzések itt jelennek majd meg.`,"canvas.excerpt":`Itt oszthatod meg a bejegyzés fő mondanivalóját. Ez a rövid összefoglaló a hírcsatorna kártyáin és a keresési találatokban jelenik meg, és megmutatja az olvasóknak, miért érdemes elolvasni a bejegyzést.`}})),vd=b({default:()=>bd,title:()=>yd}),yd,bd,xd=v((()=>{yd=`My App`,bd={"canvas.category":`Kategori`,"post-list.empty-state.description":`Setelah postingan dipublikasikan, postingan akan muncul di sini.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`Putar video`,"post-comments.unavailable":`Komentar tidak tersedia — tidak ada instans aplikasi.`,"post-counters.loading-likes":`Memuat Suka`,"post-comments.loading":`Memuat komentar…`,"post-actions.like":`Sukai postingan`,"canvas.content":`Postingan lengkap akan muncul di sini. Tulis cerita Anda di sini, tambahkan gambar, galeri, dan video dari Dashboard, serta gunakan heading dan kutipan agar mudah dibaca.`,"related-posts.empty-state.title":`Belum ada postingan terkait`,"post.time-to-read":`{count, plural, other {{count,number} mnt baca}}`,"post-actions.link-copied":`Tautan disalin`,"category-header.all-posts":`Semua Postingan`,"post-actions.copy-manually":`Salin tautan di bawah untuk membagikan postingan ini.`,"post-actions.copy-link":`Salin tautan`,"cover-media.placeholder-alt":`Gambar sampul postingan`,"post-actions.link-label":`Tautan postingan`,"post-list.empty-state.title":`Belum ada postingan`,"post-actions.share-dialog":`Bagikan postingan`,"canvas.post-title":`Judul Postingan`,"post-actions.unlike":`Batal menyukai postingan`,"post-comments.no-post":`Belum ada postingan yang terselesaikan untuk URL ini.`,"post.like-count":`{count, plural, other {{formatted} Suka}}`,"canvas.category-numbered":`Kategori {number}`,"post.comment-count":`{count, plural, other {{formatted} komentar}}`,"post-actions.share":`Bagikan postingan`,"post.view-count":`{count, plural, other {{formatted} lihat}}`,"post-actions.close":`Tutup`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Foto penulis`,"canvas.author-name":`Nama Penulis`,"post-comments.demo-notice":`Komentar contoh ditampilkan saat mengedit. Pengunjung akan melihat komentar asli.`,title:yd,"related-posts.empty-state.description":`Setelah postingan lainnya dipublikasikan, postingan akan muncul di sini.`,"canvas.excerpt":`Bagikan ide utama postingan Anda di sini. Ringkasan singkat ini muncul di kartu feed dan hasil pencarian, serta memberi tahu pembaca mengapa postingan ini layak dibaca.`}})),Sd=b({default:()=>wd,title:()=>Cd}),Cd,wd,Td=v((()=>{Cd=`My App`,wd={"canvas.category":`Categoria`,"post-list.empty-state.description":`Una volta pubblicati, i post appariranno qui.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`Riproduci video`,"post-comments.unavailable":`Commenti non disponibili — nessuna istanza dell'app.`,"post-counters.loading-likes":`Caricamento dei Mi piace`,"post-comments.loading":`Caricamento dei commenti…`,"post-actions.like":`Metti Mi piace al post`,"canvas.content":`Qui appare il post completo. Scrivi la tua storia, aggiungi immagini, gallerie e video dal Pannello di controllo, e usa titoli e citazioni per facilitarne la lettura.`,"related-posts.empty-state.title":`Ancora nessun post correlato`,"post.time-to-read":`{count, plural, one {{count,number} min di lettura} other {{count,number} min di lettura}}`,"post-actions.link-copied":`Link copiato`,"category-header.all-posts":`Tutti i post`,"post-actions.copy-manually":`Copia il link qui sotto per condividere questo post.`,"post-actions.copy-link":`Copia link`,"cover-media.placeholder-alt":`Immagine di copertina del post`,"post-actions.link-label":`Link del post`,"post-list.empty-state.title":`Ancora nessun post`,"post-actions.share-dialog":`Condividi post`,"canvas.post-title":`Titolo del post`,"post-actions.unlike":`Togli Mi piace dal post`,"post-comments.no-post":`Nessun post ancora risolto per questo URL.`,"post.like-count":`{count, plural, one {{formatted} Mi piace} other {{formatted} Mi piace}}`,"canvas.category-numbered":`Categoria {number}`,"post.comment-count":`{count, plural, one {{formatted} commento} other {{formatted} commenti}}`,"post-actions.share":`Condividi post`,"post.view-count":`{count, plural, one {{formatted} visualizzazione} other {{formatted} visualizzazioni}}`,"post-actions.close":`Chiudi`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Foto dell'autore`,"canvas.author-name":`Nome dell'autore`,"post-comments.demo-notice":`Durante la modifica vengono mostrati commenti di esempio. I visitatori vedranno i commenti reali.`,title:Cd,"related-posts.empty-state.description":`Una volta pubblicati altri post, appariranno qui.`,"canvas.excerpt":`Condividi qui l'idea principale del tuo post. Questo breve riassunto appare nelle schede del feed e nei risultati di ricerca, e spiega ai lettori perché vale la pena leggere il post.`}})),Ed=b({default:()=>Od,title:()=>Dd}),Dd,Od,kd=v((()=>{Dd=`My App`,Od={"canvas.category":`カテゴリー`,"post-list.empty-state.description":`記事が公開されると、ここに表示されます。`,"canvas.tag-numbered":`タグ {number}`,"cover-media.play":`動画を再生`,"post-comments.unavailable":`コメントを利用できません — アプリインスタンスがありません。`,"post-counters.loading-likes":`いいね!数を読み込み中`,"post-comments.loading":`コメントを読み込み中…`,"post-actions.like":`記事にいいね!する`,"canvas.content":`ここに記事の本文が表示されます。ダッシュボードから画像、ギャラリー、動画を追加して記事を書き、見出しや引用を使って読みやすくします。`,"related-posts.empty-state.title":`関連記事がありません`,"post.time-to-read":`{count, plural, other {{count,number}分で読めます}}`,"post-actions.link-copied":`リンクをコピーしました`,"category-header.all-posts":`すべての記事`,"post-actions.copy-manually":`この記事をシェアするには、以下のリンクをコピーしてください。`,"post-actions.copy-link":`リンクをコピー`,"cover-media.placeholder-alt":`記事のカバー画像`,"post-actions.link-label":`記事のリンク`,"post-list.empty-state.title":`記事がありません`,"post-actions.share-dialog":`記事をシェア`,"canvas.post-title":`記事タイトル`,"post-actions.unlike":`記事のいいね!を取り消す`,"post-comments.no-post":`この URL に対応する記事はまだありません。`,"post.like-count":`{count, plural, one {{formatted} like} other {{formatted} likes}}`,"canvas.category-numbered":`カテゴリー {number}`,"post.comment-count":`{count, plural, one {{formatted} comment} other {{formatted} comments}}`,"post-actions.share":`記事をシェアする`,"post.view-count":`{count, plural, one {{formatted} view} other {{formatted} views}}`,"post-actions.close":`閉じる`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`執筆者の写真`,"canvas.author-name":`執筆者名`,"post-comments.demo-notice":`編集中はサンプルコメントが表示されます。サイト訪問者には実際のコメントが表示されます。`,title:Dd,"related-posts.empty-state.description":`記事がさらに公開されると、ここに表示されます。`,"canvas.excerpt":`記事の要点をここに入力します。この短い概要はフィードカードや検索結果に表示され、記事を読む価値を読者に伝えます。`}})),Ad=b({default:()=>Md,title:()=>jd}),jd,Md,Nd=v((()=>{jd=`My App`,Md={"canvas.category":`카테고리`,"post-list.empty-state.description":`게시물이 게시되면 여기에 표시됩니다.`,"canvas.tag-numbered":`태그 {number}`,"cover-media.play":`동영상 재생`,"post-comments.unavailable":`댓글을 사용할 수 없습니다 — 앱 인스턴스가 없습니다.`,"post-counters.loading-likes":`좋아요 불러오는 중`,"post-comments.loading":`댓글 불러오는 중…`,"post-actions.like":`게시물 좋아요`,"canvas.content":`전체 게시물이 여기에 표시됩니다. 스토리를 작성하고, 대시보드에서 이미지, 갤러리 및 동영상을 추가하세요. 읽기 쉽도록 제목과 인용문을 사용하세요.`,"related-posts.empty-state.title":`관련 게시물 없음`,"post.time-to-read":`{count, plural, other {{count,number}분 읽기}}`,"post-actions.link-copied":`링크 복사 완료`,"category-header.all-posts":`모든 게시물`,"post-actions.copy-manually":`해당 게시물을 공유하려면 아래 링크를 복사하세요.`,"post-actions.copy-link":`링크 복사`,"cover-media.placeholder-alt":`게시물 커버 이미지`,"post-actions.link-label":`게시물 링크`,"post-list.empty-state.title":`게시물 없음`,"post-actions.share-dialog":`게시물 공유`,"canvas.post-title":`게시물 제목`,"post-actions.unlike":`게시물 좋아요 취소`,"post-comments.no-post":`해당 URL에 연결된 게시물이 아직 없습니다.`,"post.like-count":`{count, plural, one {{formatted} like} other {{formatted} likes}}`,"canvas.category-numbered":`카테고리 {number}`,"post.comment-count":`{count, plural, one {{formatted} comment} other {{formatted} comments}}`,"post-actions.share":`게시물 공유`,"post.view-count":`{count, plural, one {{formatted} view} other {{formatted} views}}`,"post-actions.close":`닫기`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`작성자 사진`,"canvas.author-name":`작성자 이름`,"post-comments.demo-notice":`편집 중에는 샘플 댓글이 표시됩니다. 방문자에게는 실제 댓글이 표시됩니다.`,title:jd,"related-posts.empty-state.description":`게시물이 더 게시되면 여기에 표시됩니다.`,"canvas.excerpt":`게시물의 핵심 아이디어를 여기에 공유하세요. 해당 짧은 요약은 피드 카드 및 검색 결과에 표시되며, 독자에게 게시물을 읽을 가치가 있는 이유를 알려줍니다.`}})),Pd=b({default:()=>Id,title:()=>Fd}),Fd,Id,Ld=v((()=>{Fd=`My App`,Id={"canvas.category":`Kategorija`,"post-list.empty-state.description":`Kai įrašai bus paskelbti, jie bus rodomi čia.`,"canvas.tag-numbered":`Žyma {number}`,"cover-media.play":`Leisti vaizdo įrašą`,"post-comments.unavailable":`Komentarai nepasiekiami — nėra programėlės egzemplioriaus.`,"post-counters.loading-likes":`Įkeliamos žymos „Patinka“`,"post-comments.loading":`Įkeliami komentarai…`,"post-actions.like":`Pažymėti įrašą „Patinka“`,"canvas.content":`Čia rodomas visas įrašas. Rašykite savo istoriją čia, pridėkite vaizdų, galerijų ir vaizdo įrašų iš ataskaitų srities, naudokite antraštes ir citatas, kad tekstą būtų lengva skaityti.`,"related-posts.empty-state.title":`Susijusių įrašų dar nėra`,"post.time-to-read":`{count, plural, one {{count,number} min. skaitymo} few {{count,number} min. skaitymo} many {{count,number} min. skaitymo} other {{count,number} min. skaitymo}}`,"post-actions.link-copied":`Saitas nukopijuotas`,"category-header.all-posts":`Visi įrašai`,"post-actions.copy-manually":`Norėdami bendrinti šį įrašą, nukopijuokite toliau pateiktą saitą.`,"post-actions.copy-link":`Kopijuoti saitą`,"cover-media.placeholder-alt":`Įrašo viršelio nuotrauka`,"post-actions.link-label":`Įrašo saitas`,"post-list.empty-state.title":`Įrašų dar nėra`,"post-actions.share-dialog":`Bendrinti įrašą`,"canvas.post-title":`Įrašo pavadinimas`,"post-actions.unlike":`Pašalinti įrašo žymą „Patinka“`,"post-comments.no-post":`Šiam URL dar nepriskirtas joks įrašas.`,"post.like-count":`{count, plural, one {{formatted} pažymėjimas „Patinka“} few {{formatted} pažymėjimai „Patinka“} many {{formatted} pažymėjimų „Patinka“} other {{formatted} pažymėjimo „Patinka“}}`,"canvas.category-numbered":`Kategorija {number}`,"post.comment-count":`{count, plural, one {{formatted} komentaras} few {{formatted} komentarai} many {{formatted} komentarų} other {{formatted} komentaro}}`,"post-actions.share":`Bendrinti įrašą`,"post.view-count":`{count, plural, one {{formatted} peržiūra} few {{formatted} peržiūros} many {{formatted} peržiūrų} other {{formatted} peržiūros}}`,"post-actions.close":`Uždaryti`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Autoriaus nuotrauka`,"canvas.author-name":`Autoriaus vardas`,"post-comments.demo-notice":`Redaguojant rodomi pavyzdiniai komentarai. Lankytojai matys tikrus komentarus.`,title:Fd,"related-posts.empty-state.description":`Kai bus paskelbta daugiau įrašų, jie bus rodomi čia.`,"canvas.excerpt":`Čia bendrinkite pagrindinę įrašo mintį. Ši trumpa santrauka rodoma sklaidos kanalo kortelėse ir paieškos rezultatuose, ji padeda skaitytojams suprasti, kodėl verta skaityti įrašą.`}})),Rd=b({default:()=>Bd,title:()=>zd}),zd,Bd,Vd=v((()=>{zd=`My App`,Bd={"canvas.category":`Kategorija`,"post-list.empty-state.description":`Kad ieraksti būs publicēti, tie tiks parādīti šeit.`,"canvas.tag-numbered":`Tags {number}`,"cover-media.play":`Atskaņot video`,"post-comments.unavailable":`Komentāri nav pieejami — nav lietotnes instances.`,"post-counters.loading-likes":`Notiek atzīmju „Patīk“ ielāde`,"post-comments.loading":`Notiek komentāru ielāde…`,"post-actions.like":`Atzīmēt ierakstu ar „Patīk“`,"canvas.content":`Šeit tiek rādīts pilnais ieraksts. Rakstiet savu stāstu šeit, pievienojiet attēlus, galerijas un video no informācijas paneļa un izmantojiet virsrakstus un citātus, lai teksts būtu viegli lasāms.`,"related-posts.empty-state.title":`Vēl nav saistītu ierakstu`,"post.time-to-read":`{count, plural, zero {{count,number} min. lasīšanai} one {{count,number} min. lasīšanai} other {{count,number} min. lasīšanai}}`,"post-actions.link-copied":`Saite nokopēta`,"category-header.all-posts":`Visi ieraksti`,"post-actions.copy-manually":`Lai kopīgotu šo ierakstu, nokopējiet tālāk norādīto saiti.`,"post-actions.copy-link":`Kopēt saiti`,"cover-media.placeholder-alt":`Ieraksta vāka attēls`,"post-actions.link-label":`Ieraksta saite`,"post-list.empty-state.title":`Vēl nav ierakstu`,"post-actions.share-dialog":`Kopīgot ierakstu`,"canvas.post-title":`Ieraksta virsraksts`,"post-actions.unlike":`Noņemt ierakstam atzīmi „Patīk“`,"post-comments.no-post":`Šim URL vēl nav piesaistīts neviens ieraksts.`,"post.like-count":`{count, plural, zero {{formatted} atzīmju „Patīk“} one {{formatted} atzīme „Patīk“} other {{formatted} atzīmes „Patīk“}}`,"canvas.category-numbered":`Kategorija {number}`,"post.comment-count":`{count, plural, zero {{formatted} komentāru} one {{formatted} komentārs} other {{formatted} komentāri}}`,"post-actions.share":`Kopīgot ierakstu`,"post.view-count":`{count, plural, zero {{formatted} skatījumu} one {{formatted} skatījums} other {{formatted} skatījumi}}`,"post-actions.close":`Aizvērt`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Autora fotoattēls`,"canvas.author-name":`Autora vārds`,"post-comments.demo-notice":`Rediģēšanas laikā tiek rādīti komentāru paraugi. Apmeklētāji redzēs īstus komentārus.`,title:zd,"related-posts.empty-state.description":`Kad būs publicēti vēl citi ieraksti, tie tiks parādīti šeit.`,"canvas.excerpt":`Šeit kopīgojiet ieraksta galveno domu. Šis īsais kopsavilkums tiek rādīts plūsmas kartītēs un meklēšanas rezultātos, kā arī paskaidro lasītājiem, kāpēc ierakstu ir vērts izlasīt.`}})),Hd=b({default:()=>Wd,title:()=>Ud}),Ud,Wd,Gd=v((()=>{Ud=`My App`,Wd={"canvas.category":`Kategori`,"post-list.empty-state.description":`Setelah catatan diterbitkan, catatan akan dipaparkan di sini.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`Mainkan video`,"post-comments.unavailable":`Komen tidak tersedia — tiada tika aplikasi.`,"post-counters.loading-likes":`Sedang memuatkan suka`,"post-comments.loading":`Sedang memuatkan komen…`,"post-actions.like":`Sukai catatan`,"canvas.content":`Di sinilah catatan penuh dipaparkan. Tulis cerita anda di sini, tambah imej, galeri dan video daripada papan pemuka, dan gunakan tajuk utama serta petikan untuk memastikan catatan mudah dibaca.`,"related-posts.empty-state.title":`Tiada catatan berkaitan lagi`,"post.time-to-read":`{count, plural, other {{count,number} minit bacaan}}`,"post-actions.link-copied":`Pautan disalin`,"category-header.all-posts":`Semua catatan`,"post-actions.copy-manually":`Salin pautan di bawah untuk berkongsi catatan ini.`,"post-actions.copy-link":`Salin pautan`,"cover-media.placeholder-alt":`Imej kulit catatan`,"post-actions.link-label":`Pautan catatan`,"post-list.empty-state.title":`Tiada catatan lagi`,"post-actions.share-dialog":`Kongsi catatan`,"canvas.post-title":`Tajuk catatan`,"post-actions.unlike":`Batalkan suka catatan`,"post-comments.no-post":`Tiada catatan diselesaikan untuk URL ini lagi.`,"post.like-count":`{count, plural, other {{formatted} suka}}`,"canvas.category-numbered":`Kategori {number}`,"post.comment-count":`{count, plural, other {{formatted} komen}}`,"post-actions.share":`Kongsi catatan`,"post.view-count":`{count, plural, other {{formatted} tontonan}}`,"post-actions.close":`Tutup`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Foto pengarang`,"canvas.author-name":`Nama pengarang`,"post-comments.demo-notice":`Komen sampel dipaparkan semasa mengedit. Pelawat akan melihat komen sebenar.`,title:Ud,"related-posts.empty-state.description":`Setelah lebih banyak catatan diterbitkan, catatan akan dipaparkan di sini.`,"canvas.excerpt":`Kongsi idea utama catatan anda di sini. Ringkasan pendek ini dipaparkan pada kad suapan dan dalam hasil carian, serta memberitahu pembaca sebab catatan ini berbaloi untuk dibaca.`}})),Kd=b({default:()=>Jd,title:()=>qd}),qd,Jd,Yd=v((()=>{qd=`My App`,Jd={"canvas.category":`Categorie`,"post-list.empty-state.description":`Zodra posts zijn gepubliceerd, verschijnen ze hier.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`Video afspelen`,"post-comments.unavailable":`Reacties zijn niet beschikbaar — geen app-instantie.`,"post-counters.loading-likes":`Likes laden`,"post-comments.loading":`Reacties laden…`,"post-actions.like":`Post liken`,"canvas.content":`Hier verschijnt de volledige post. Schrijf hier je verhaal, voeg afbeeldingen, galerijen en video's toe vanuit het dashboard, en gebruik koppen en citaten om de tekst goed leesbaar te houden.`,"related-posts.empty-state.title":`Nog geen gerelateerde posts`,"post.time-to-read":`{count, plural, one {{count,number} min leestijd} other {{count,number} min leestijd}}`,"post-actions.link-copied":`Link is gekopieerd`,"category-header.all-posts":`Alle posts`,"post-actions.copy-manually":`Kopieer de link hieronder om deze post te delen.`,"post-actions.copy-link":`Link kopiëren`,"cover-media.placeholder-alt":`Omslagafbeelding van post`,"post-actions.link-label":`Postlink`,"post-list.empty-state.title":`Nog geen posts`,"post-actions.share-dialog":`Post delen`,"canvas.post-title":`Posttitel`,"post-actions.unlike":`Post niet meer liken`,"post-comments.no-post":`Er is nog geen post voor deze URL gevonden.`,"post.like-count":`{count, plural, one {{formatted} like} other {{formatted} likes}}`,"canvas.category-numbered":`Categorie {number}`,"post.comment-count":`{count, plural, one {{formatted} reactie} other {{formatted} reacties}}`,"post-actions.share":`Post delen`,"post.view-count":`{count, plural, one {{formatted} weergave} other {{formatted} weergaven}}`,"post-actions.close":`Sluiten`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Auteursfoto`,"canvas.author-name":`Auteursnaam`,"post-comments.demo-notice":`Tijdens het bewerken worden voorbeeldreacties getoond. Bezoekers zien echte reacties.`,title:qd,"related-posts.empty-state.description":`Zodra er meer posts zijn gepubliceerd, verschijnen ze hier.`,"canvas.excerpt":`Deel hier het belangrijkste idee van je post. Deze korte samenvatting verschijnt op feedkaarten en in zoekresultaten, en laat lezers zien waarom je post de moeite waard is.`}})),Xd=b({default:()=>Qd,title:()=>Zd}),Zd,Qd,$d=v((()=>{Zd=`My App`,Qd={"canvas.category":`Kategori`,"post-list.empty-state.description":`Når innlegg publiseres, vises de her.`,"canvas.tag-numbered":`Tagg {number}`,"cover-media.play":`Spill av video`,"post-comments.unavailable":`Kommentarer er ikke tilgjengelige — ingen appforekomst.`,"post-counters.loading-likes":`Laster likerklikk`,"post-comments.loading":`Laster inn kommentarer …`,"post-actions.like":`Lik innlegget`,"canvas.content":`Det er her hele innlegget vises. Skriv historien din her, legg til bilder, gallerier og video fra dashbordet, og bruk overskrifter og sitater for å gjøre det lett å lese.`,"related-posts.empty-state.title":`Ingen relaterte innlegg ennå`,"post.time-to-read":`{count, plural, one {{count,number} min lesetid} other {{count,number} min lesetid}}`,"post-actions.link-copied":`Lenken er kopiert`,"category-header.all-posts":`Alle innlegg`,"post-actions.copy-manually":`Kopier lenken nedenfor for å dele dette innlegget.`,"post-actions.copy-link":`Kopier lenke`,"cover-media.placeholder-alt":`Forsidebilde for innlegg`,"post-actions.link-label":`Innleggslenke`,"post-list.empty-state.title":`Ingen innlegg ennå`,"post-actions.share-dialog":`Del innlegg`,"canvas.post-title":`Innleggstittel`,"post-actions.unlike":`Fjern likerklikk fra innlegget`,"post-comments.no-post":`Fant ingen innlegg for denne URL-en ennå.`,"post.like-count":`{count, plural, one {{formatted} likerklikk} other {{formatted} likerklikk}}`,"canvas.category-numbered":`Kategori {number}`,"post.comment-count":`{count, plural, one {{formatted} kommentar} other {{formatted} kommentarer}}`,"post-actions.share":`Del innlegg`,"post.view-count":`{count, plural, one {{formatted} visning} other {{formatted} visninger}}`,"post-actions.close":`Lukk`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Forfatterbilde`,"canvas.author-name":`Forfatternavn`,"post-comments.demo-notice":`Eksempelkommentarer vises under redigering. Besøkende ser ekte kommentarer.`,title:Zd,"related-posts.empty-state.description":`Når flere innlegg publiseres, vises de her.`,"canvas.excerpt":`Del hovedideen i innlegget ditt her. Dette korte sammendraget vises på feedkort og i søkeresultater, og forteller leserne hvorfor innlegget er verdt tiden deres.`}})),ef=b({default:()=>nf,title:()=>tf}),tf,nf,rf=v((()=>{tf=`My App`,nf={"canvas.category":`Kategoria`,"post-list.empty-state.description":`Po opublikowaniu posty pojawią się tutaj.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`Odtwórz wideo`,"post-comments.unavailable":`Komentarze są niedostępne — brak instancji aplikacji.`,"post-counters.loading-likes":`Ładowanie polubień`,"post-comments.loading":`Ładowanie komentarzy…`,"post-actions.like":`Polub post`,"canvas.content":`Tutaj pojawia się pełna treść posta. Opowiedz swoją historię, dodaj obrazy, galerie i wideo z pulpitu oraz użyj nagłówków i cytatów, aby tekst był czytelny.`,"related-posts.empty-state.title":`Brak powiązanych postów`,"post.time-to-read":`{count, plural, one {{count,number} min czytania} few {{count,number} min czytania} many {{count,number} min czytania} other {{count,number} min czytania}}`,"post-actions.link-copied":`Link skopiowany`,"category-header.all-posts":`Wszystkie posty`,"post-actions.copy-manually":`Skopiuj poniższy link, aby udostępnić ten post.`,"post-actions.copy-link":`Kopiuj link`,"cover-media.placeholder-alt":`Okładka posta`,"post-actions.link-label":`Link do posta`,"post-list.empty-state.title":`Brak postów`,"post-actions.share-dialog":`Udostępnij post`,"canvas.post-title":`Tytuł posta`,"post-actions.unlike":`Cofnij polubienie posta`,"post-comments.no-post":`Nie znaleziono jeszcze posta dla tego adresu URL.`,"post.like-count":`{count, plural, one {{formatted} polubienie} few {{formatted} polubienia} many {{formatted} polubień} other {{formatted} polubienia}}`,"canvas.category-numbered":`Kategoria {number}`,"post.comment-count":`{count, plural, one {{formatted} komentarz} few {{formatted} komentarze} many {{formatted} komentarzy} other {{formatted} komentarza}}`,"post-actions.share":`Udostępnij post`,"post.view-count":`{count, plural, one {{formatted} wyświetlenie} few {{formatted} wyświetlenia} many {{formatted} wyświetleń} other {{formatted} wyświetlenia}}`,"post-actions.close":`Zamknij`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Zdjęcie autora`,"canvas.author-name":`Nazwa autora`,"post-comments.demo-notice":`Podczas edycji wyświetlane są przykładowe komentarze. Odwiedzający zobaczą prawdziwe komentarze.`,title:tf,"related-posts.empty-state.description":`Gdy opublikujesz więcej postów, pojawią się one tutaj.`,"canvas.excerpt":`Przedstaw tutaj główną myśl swojego posta. To krótkie podsumowanie będzie wyświetlane na kafelkach w aktualnościach oraz w wynikach wyszukiwania, informując czytelników, dlaczego warto poświęcić czas na przeczytanie wpisu.`}})),af=b({default:()=>sf,title:()=>of}),of,sf,cf=v((()=>{of=`My App`,sf={"canvas.category":`Categoria`,"post-list.empty-state.description":`Depois que os posts forem publicados, eles aparecerão aqui.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`Reproduzir vídeo`,"post-comments.unavailable":`Comentários indisponíveis — nenhuma instância do app.`,"post-counters.loading-likes":`Carregando curtidas`,"post-comments.loading":`Carregando comentários…`,"post-actions.like":`Curtir post`,"canvas.content":`É aqui que o post completo aparece. Escreva sua história, adicione imagens, galerias e vídeo pelo painel de controle, e use cabeçalhos e citações para facilitar a leitura.`,"related-posts.empty-state.title":`Ainda não há posts relacionados`,"post.time-to-read":`{count, plural, one {{count,number} min de leitura} other {{count,number} min de leitura}}`,"post-actions.link-copied":`Link copiado`,"category-header.all-posts":`Todos os posts`,"post-actions.copy-manually":`Copie o link abaixo para compartilhar este post.`,"post-actions.copy-link":`Copiar link`,"cover-media.placeholder-alt":`Imagem de capa do post`,"post-actions.link-label":`Link do post`,"post-list.empty-state.title":`Ainda não há posts`,"post-actions.share-dialog":`Compartilhar post`,"canvas.post-title":`Título do post`,"post-actions.unlike":`Remover curtida do post`,"post-comments.no-post":`Ainda não há post resolvido para este URL.`,"post.like-count":`{count, plural, one {{formatted} curtida} other {{formatted} curtidas}}`,"canvas.category-numbered":`Categoria {number}`,"post.comment-count":`{count, plural, one {{formatted} comentário} other {{formatted} comentários}}`,"post-actions.share":`Compartilhar post`,"post.view-count":`{count, plural, one {{formatted} visualização} other {{formatted} visualizações}}`,"post-actions.close":`Fechar`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Foto do autor`,"canvas.author-name":`Nome do autor`,"post-comments.demo-notice":`Comentários de exemplo são exibidos durante a edição. Os visitantes verão comentários reais.`,title:of,"related-posts.empty-state.description":`Quando mais posts forem publicados, eles aparecerão aqui.`,"canvas.excerpt":`Compartilhe aqui a ideia principal do post. Esse breve resumo aparece nos cartões do feed e nos resultados de busca, e mostra aos leitores por que vale a pena ler o post.`}})),lf=b({default:()=>df,title:()=>uf}),uf,df,ff=v((()=>{uf=`My App`,df={"canvas.category":`Categorie`,"post-list.empty-state.description":`După ce postările sunt publicate, vor apărea aici.`,"canvas.tag-numbered":`Etichetă {number}`,"cover-media.play":`Redă videoclipul`,"post-comments.unavailable":`Comentariile nu sunt disponibile — nu există nicio instanță a aplicației.`,"post-counters.loading-likes":`Se încarcă aprecierile`,"post-comments.loading":`Se încarcă comentariile…`,"post-actions.like":`Apreciază postarea`,"canvas.content":`Aici apare postarea completă. Scrie-ți povestea aici, adaugă imagini, galerii și videoclipuri din Dashboard și folosește titluri și citate pentru a o face ușor de citit.`,"related-posts.empty-state.title":`Încă nu există postări similare`,"post.time-to-read":`{count, plural, one {{count,number} min citire} few {{count,number} min citire} other {{count,number} min citire}}`,"post-actions.link-copied":`Link copiat`,"category-header.all-posts":`Toate postările`,"post-actions.copy-manually":`Copiază linkul de mai jos pentru a distribui această postare.`,"post-actions.copy-link":`Copiază linkul`,"cover-media.placeholder-alt":`Imagine de copertă a postării`,"post-actions.link-label":`Linkul postării`,"post-list.empty-state.title":`Încă nu există postări`,"post-actions.share-dialog":`Distribuie postarea`,"canvas.post-title":`Titlul postării`,"post-actions.unlike":`Nu mai aprecia postarea`,"post-comments.no-post":`Nu s-a găsit încă nicio postare pentru acest URL.`,"post.like-count":`{count, plural, one {{formatted} apreciere} few {{formatted} aprecieri} other {{formatted} aprecieri}}`,"canvas.category-numbered":`Categorie {number}`,"post.comment-count":`{count, plural, one {{formatted} comentariu} few {{formatted} comentarii} other {{formatted} comentarii}}`,"post-actions.share":`Distribuie postarea`,"post.view-count":`{count, plural, one {{formatted} vizualizare} few {{formatted} vizualizări} other {{formatted} vizualizări}}`,"post-actions.close":`Închide`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Fotografia autorului`,"canvas.author-name":`Nume autor`,"post-comments.demo-notice":`Comentariile exemplu sunt afișate în timpul editării. Vizitatorii vor vedea comentarii reale.`,title:uf,"related-posts.empty-state.description":`După ce sunt publicate mai multe postări, vor apărea aici.`,"canvas.excerpt":`Distribuie aici ideea principală a postării. Acest scurt rezumat apare pe cardurile din flux și în rezultatele căutării și le arată cititorilor de ce merită să citească postarea.`}})),pf=b({default:()=>hf,title:()=>mf}),mf,hf,gf=v((()=>{mf=`My App`,hf={"canvas.category":`Рубрика`,"post-list.empty-state.description":`Когда посты будут опубликованы, они появятся здесь.`,"canvas.tag-numbered":`Тег {number}`,"cover-media.play":`Воспроизвести видео`,"post-comments.unavailable":`Комментарии недоступны — нет экземпляра приложения.`,"post-counters.loading-likes":`Загрузка лайков`,"post-comments.loading":`Загрузка комментариев…`,"post-actions.like":`Поставить лайк посту`,"canvas.content":`Здесь отображается полный текст поста. Напишите свою историю, добавьте изображения, галереи и видео из панели управления, используйте заголовки и цитаты, чтобы текст было удобно читать.`,"related-posts.empty-state.title":`Похожих постов пока нет`,"post.time-to-read":`{count, plural, one {{count,number} мин чтения} few {{count,number} мин чтения} many {{count,number} мин чтения} other {{count,number} мин чтения}}`,"post-actions.link-copied":`Ссылка скопирована`,"category-header.all-posts":`Все посты`,"post-actions.copy-manually":`Скопируйте ссылку ниже, чтобы поделиться этим постом.`,"post-actions.copy-link":`Копировать ссылку`,"cover-media.placeholder-alt":`Обложка поста`,"post-actions.link-label":`Ссылка на пост`,"post-list.empty-state.title":`Постов пока нет`,"post-actions.share-dialog":`Поделиться постом`,"canvas.post-title":`Заголовок поста`,"post-actions.unlike":`Убрать лайк с поста`,"post-comments.no-post":`Для этого URL пока не найден пост.`,"post.like-count":`{count, plural, one {{formatted} лайк} few {{formatted} лайка} many {{formatted} лайков} other {{formatted} лайка}}`,"canvas.category-numbered":`Рубрика {number}`,"post.comment-count":`{count, plural, one {{formatted} комментарий} few {{formatted} комментария} many {{formatted} комментариев} other {{formatted} комментария}}`,"post-actions.share":`Поделиться постом`,"post.view-count":`{count, plural, one {{formatted} просмотр} few {{formatted} просмотра} many {{formatted} просмотров} other {{formatted} просмотра}}`,"post-actions.close":`Закрыть`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Фото автора`,"canvas.author-name":`Имя автора`,"post-comments.demo-notice":`В режиме редактирования показаны примеры комментариев. Посетители увидят настоящие комментарии.`,title:mf,"related-posts.empty-state.description":`Когда будет опубликовано больше постов, они появятся здесь.`,"canvas.excerpt":`Кратко опишите основную идею поста. Это описание появится в карточках ленты и результатах поиска, а читатели поймут, почему пост стоит прочитать.`}})),_f=b({default:()=>yf,title:()=>vf}),vf,yf,bf=v((()=>{vf=`My App`,yf={"canvas.category":`Kategória`,"post-list.empty-state.description":`Po publikovaní sa príspevky zobrazia tu.`,"canvas.tag-numbered":`Štítok {number}`,"cover-media.play":`Prehrať video`,"post-comments.unavailable":`Komentáre nie sú dostupné — chýba inštancia aplikácie.`,"post-counters.loading-likes":`Načítavajú sa označenia Páči sa mi`,"post-comments.loading":`Načítavajú sa komentáre…`,"post-actions.like":`Označiť príspevok ako Páči sa mi`,"canvas.content":`Tu sa zobrazí celý príspevok. Napíš svoj príbeh, pridaj obrázky, galérie a video z ovládacieho panela a pomocou nadpisov a citátov ho udrž ľahko čitateľný.`,"related-posts.empty-state.title":`Zatiaľ žiadne súvisiace príspevky`,"post.time-to-read":`{count, plural, one {{count,number} min čítania} few {{count,number} min čítania} many {{count,number} min čítania} other {{count,number} min čítania}}`,"post-actions.link-copied":`Odkaz skopírovaný`,"category-header.all-posts":`Všetky príspevky`,"post-actions.copy-manually":`Skopíruj odkaz nižšie a zdieľaj tento príspevok.`,"post-actions.copy-link":`Kopírovať odkaz`,"cover-media.placeholder-alt":`Hlavný obrázok príspevku`,"post-actions.link-label":`Odkaz na príspevok`,"post-list.empty-state.title":`Zatiaľ žiadne príspevky`,"post-actions.share-dialog":`Zdieľať príspevok`,"canvas.post-title":`Názov príspevku`,"post-actions.unlike":`Zrušiť označenie Páči sa mi pri príspevku`,"post-comments.no-post":`Pre túto URL adresu sa zatiaľ nenašiel žiadny príspevok.`,"post.like-count":`{count, plural, one {{formatted} označenie Páči sa mi} few {{formatted} označenia Páči sa mi} many {{formatted} označenia Páči sa mi} other {{formatted} označení Páči sa mi}}`,"canvas.category-numbered":`Kategória {number}`,"post.comment-count":`{count, plural, one {{formatted} komentár} few {{formatted} komentáre} many {{formatted} komentára} other {{formatted} komentárov}}`,"post-actions.share":`Zdieľať príspevok`,"post.view-count":`{count, plural, one {{formatted} zobrazenie} few {{formatted} zobrazenia} many {{formatted} zobrazenia} other {{formatted} zobrazení}}`,"post-actions.close":`Zavrieť`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Fotografia autora`,"canvas.author-name":`Meno autora`,"post-comments.demo-notice":`Počas úprav sa zobrazujú ukážkové komentáre. Návštevníci uvidia skutočné komentáre.`,title:vf,"related-posts.empty-state.description":`Keď budú publikované ďalšie príspevky, zobrazia sa tu.`,"canvas.excerpt":`Tu zdieľaj hlavnú myšlienku príspevku. Toto krátke zhrnutie sa zobrazuje na kartách kanála a vo výsledkoch vyhľadávania a čitateľom ukáže, prečo sa príspevok oplatí čítať.`}})),xf=b({default:()=>Cf,title:()=>Sf}),Sf,Cf,wf=v((()=>{Sf=`My App`,Cf={"canvas.category":`Kategorija`,"post-list.empty-state.description":`Ko bodo objave objavljene, bodo prikazane tukaj.`,"canvas.tag-numbered":`Oznaka {number}`,"cover-media.play":`Predvajaj video`,"post-comments.unavailable":`Komentarji niso na voljo — ni primerka aplikacije.`,"post-counters.loading-likes":`Nalaganje všečkov`,"post-comments.loading":`Nalaganje komentarjev…`,"post-actions.like":`Všečkajte objavo`,"canvas.content":`Tukaj je prikazana celotna objava. Napišite svojo zgodbo, dodajte slike, galerije in videoposnetke z nadzorne plošče ter z naslovi in citati poskrbite, da bo besedilo lahko berljivo.`,"related-posts.empty-state.title":`Sorodnih objav še ni`,"post.time-to-read":`{count, plural, one {{count,number} min branja} two {{count,number} min branja} few {{count,number} min branja} other {{count,number} min branja}}`,"post-actions.link-copied":`Povezava kopirana`,"category-header.all-posts":`Vse objave`,"post-actions.copy-manually":`Kopirajte spodnjo povezavo za deljenje te objave.`,"post-actions.copy-link":`Kopiraj povezavo`,"cover-media.placeholder-alt":`Naslovna slika objave`,"post-actions.link-label":`Povezava do objave`,"post-list.empty-state.title":`Objav še ni`,"post-actions.share-dialog":`Delite objavo`,"canvas.post-title":`Naslov objave`,"post-actions.unlike":`Odstranite všeček z objave`,"post-comments.no-post":`Za ta URL še ni najdene objave.`,"post.like-count":`{count, plural, one {{formatted} všeček} two {{formatted} všečka} few {{formatted} všečki} other {{formatted} všečkov}}`,"canvas.category-numbered":`Kategorija {number}`,"post.comment-count":`{count, plural, one {{formatted} komentar} two {{formatted} komentarja} few {{formatted} komentarji} other {{formatted} komentarjev}}`,"post-actions.share":`Delite objavo`,"post.view-count":`{count, plural, one {{formatted} ogled} two {{formatted} ogleda} few {{formatted} ogledi} other {{formatted} ogledov}}`,"post-actions.close":`Zapri`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Fotografija avtorja`,"canvas.author-name":`Ime avtorja`,"post-comments.demo-notice":`Med urejanjem so prikazani vzorčni komentarji. Obiskovalci bodo videli prave komentarje.`,title:Sf,"related-posts.empty-state.description":`Ko bo objavljenih več objav, bodo prikazane tukaj.`,"canvas.excerpt":`Tukaj delite glavno idejo svoje objave. Ta kratek povzetek je prikazan na karticah vira in v rezultatih iskanja ter bralcem pove, zakaj je objava vredna njihovega časa.`}})),Tf=b({default:()=>Df,title:()=>Ef}),Ef,Df,Of=v((()=>{Ef=`My App`,Df={"canvas.category":`Kategori`,"post-list.empty-state.description":`När du har publicerat ett inlägg kan du se det här.`,"canvas.tag-numbered":`Tagg {number}`,"cover-media.play":`Spela upp video`,"post-comments.unavailable":`Kommentarer är inte tillgängliga – ingen appinstans.`,"post-counters.loading-likes":`Läser in gillamarkeringar`,"post-comments.loading":`Läser in kommentarer\xA0…`,"post-actions.like":`Gilla inlägg`,"canvas.content":`Det är här hela inlägget visas. Skriv din text här, lägg till bilder, gallerier och video från översikten. Använd rubriker och citat för att underlätta läsningen.`,"related-posts.empty-state.title":`Inga liknande inlägg än`,"post.time-to-read":`{count, plural, one {{count,number} min lästid} other {{count,number} min lästid}}`,"post-actions.link-copied":`Länken har kopierats`,"category-header.all-posts":`Alla inlägg`,"post-actions.copy-manually":`Kopiera länken nedan för att dela det här inlägget.`,"post-actions.copy-link":`Kopiera länk`,"cover-media.placeholder-alt":`Omslagsbild för inlägg`,"post-actions.link-label":`Inläggslänk`,"post-list.empty-state.title":`Inga inlägg än`,"post-actions.share-dialog":`Dela inlägg`,"canvas.post-title":`Inläggsrubrik`,"post-actions.unlike":`Sluta gilla inlägg`,"post-comments.no-post":`Inget inlägg har hittats för den här URL:en än.`,"post.like-count":`{count, plural, one {{formatted} gillamarkering} other {{formatted} gillamarkeringar}}`,"canvas.category-numbered":`Kategori {number}`,"post.comment-count":`{count, plural, one {{formatted} kommentar} other {{formatted} kommentarer}}`,"post-actions.share":`Dela inlägg`,"post.view-count":`{count, plural, one {{formatted} visning} other {{formatted} visningar}}`,"post-actions.close":`Stäng`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Författarfoto`,"canvas.author-name":`Författarnamn`,"post-comments.demo-notice":`Exempelkommentarer visas under redigering. Besökarna ser riktiga kommentarer.`,title:Ef,"related-posts.empty-state.description":`När fler inlägg publiceras kan du se dem här.`,"canvas.excerpt":`Ange inläggets huvudbudskap här. Denna korta sammanfattning visas på flödeskort och i sökresultat och berättar för läsarna varför inlägget är värt att läsa.`}})),kf=b({default:()=>jf,title:()=>Af}),Af,jf,Mf=v((()=>{Af=`My App`,jf={"canvas.category":`หมวดหมู่`,"post-list.empty-state.description":`เมื่อมีการเผยแพร่โพสต์ โพสต์จะแสดงที่นี่`,"canvas.tag-numbered":`แท็ก {number}`,"cover-media.play":`เล่นวิดีโอ`,"post-comments.unavailable":`ไม่สามารถใช้งานความคิดเห็นได้ เนื่องจากไม่มีอินสแตนซ์ของแอป`,"post-counters.loading-likes":`กำลังโหลดการกดถูกใจ`,"post-comments.loading":`กำลังโหลดความคิดเห็น…`,"post-actions.like":`กดถูกใจโพสต์`,"canvas.content":`เนื้อหาโพสต์ทั้งหมดจะแสดงที่นี่ เขียนเรื่องราวของคุณ เพิ่มรูปภาพ แกลเลอรี และวิดีโอจากแดชบอร์ด แล้วใช้หัวเรื่องและคำคมเพื่อให้อ่านง่าย`,"related-posts.empty-state.title":`ยังไม่มีโพสต์ที่เกี่ยวข้อง`,"post.time-to-read":`{count, plural, other {อ่าน {count,number} นาที}}`,"post-actions.link-copied":`คัดลอกลิงก์แล้ว`,"category-header.all-posts":`โพสต์ทั้งหมด`,"post-actions.copy-manually":`คัดลอกลิงก์ด้านล่างเพื่อแชร์โพสต์นี้`,"post-actions.copy-link":`คัดลอกลิงก์`,"cover-media.placeholder-alt":`รูปภาพหน้าปกโพสต์`,"post-actions.link-label":`ลิงก์โพสต์`,"post-list.empty-state.title":`ยังไม่มีโพสต์`,"post-actions.share-dialog":`แชร์โพสต์`,"canvas.post-title":`ชื่อโพสต์`,"post-actions.unlike":`เลิกกดถูกใจโพสต์`,"post-comments.no-post":`ยังไม่พบโพสต์สำหรับ URL นี้`,"post.like-count":`{count, plural, other {{formatted} การกดถูกใจ}}`,"canvas.category-numbered":`หมวดหมู่ {number}`,"post.comment-count":`{count, plural, other {{formatted} ความคิดเห็น}}`,"post-actions.share":`แชร์โพสต์`,"post.view-count":`{count, plural, one {{formatted} view} other {{formatted} views}}`,"post-actions.close":`ปิด`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`รูปผู้เขียน`,"canvas.author-name":`ชื่อผู้เขียน`,"post-comments.demo-notice":`ระบบจะแสดงตัวอย่างความคิดเห็นขณะแก้ไข ผู้เข้าชมจะเห็นความคิดเห็นจริง`,title:Af,"related-posts.empty-state.description":`เมื่อมีการเผยแพร่โพสต์เพิ่มเติม โพสต์จะแสดงที่นี่`,"canvas.excerpt":`แชร์ไอเดียหลักของโพสต์ที่นี่ สรุปสั้น ๆ นี้จะแสดงในการ์ดฟีดและผลการค้นหา เพื่อบอกผู้อ่านว่าเหตุใดโพสต์นี้จึงน่าอ่าน`}})),Nf=b({default:()=>Ff,title:()=>Pf}),Pf,Ff,If=v((()=>{Pf=`My App`,Ff={"canvas.category":`Kategorya`,"post-list.empty-state.description":`Kapag na-publish na ang mga post, makikita ang mga ito dito.`,"canvas.tag-numbered":`Tag {number}`,"cover-media.play":`I-play ang video`,"post-comments.unavailable":`Hindi available ang mga comment — walang app instance.`,"post-counters.loading-likes":`Naglo-load ang mga like`,"post-comments.loading":`Naglo-load ang mga comment…`,"post-actions.like":`I-like ang post`,"canvas.content":`Dito makikita ang buong post. Isulat dito ang kuwento mo, magdagdag ng mga larawan, mga gallery at video mula sa dashboard, at gumamit ng mga heading at mga quote para madaling basahin.`,"related-posts.empty-state.title":`Wala pang related na post`,"post.time-to-read":`{count, plural, one {{count,number} min na pagbabasa} other {{count,number} min na pagbabasa}}`,"post-actions.link-copied":`Nakopya ang link`,"category-header.all-posts":`Lahat ng Post`,"post-actions.copy-manually":`Kopyahin ang link sa ibaba para i-share ang post na ito.`,"post-actions.copy-link":`Kopyahin ang link`,"cover-media.placeholder-alt":`Cover image ng post`,"post-actions.link-label":`Link ng post`,"post-list.empty-state.title":`Wala pang post`,"post-actions.share-dialog":`I-share ang post`,"canvas.post-title":`Pamagat ng Post`,"post-actions.unlike":`I-unlike ang post`,"post-comments.no-post":`Wala pang post na na-resolve para sa URL na ito.`,"post.like-count":`{count, plural, one {{formatted} like} other {{formatted} likes}}`,"canvas.category-numbered":`Kategorya {number}`,"post.comment-count":`{count, plural, one {{formatted} comment} other {{formatted} comments}}`,"post-actions.share":`I-share ang post`,"post.view-count":`{count, plural, one {{formatted} view} other {{formatted} views}}`,"post-actions.close":`Isara`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Litrato ng author`,"canvas.author-name":`Pangalan ng Author`,"post-comments.demo-notice":`Ipinapakita ang mga sample na comment habang nag-e-edit. Makakakita ang mga bisita ng mga totoong comment.`,title:Pf,"related-posts.empty-state.description":`Kapag mas marami pang post ang na-publish, makikita ang mga ito dito.`,"canvas.excerpt":`Ilagay dito ang pangunahing ideya ng post mo. Lumalabas ang maikling summary na ito sa mga feed card at mga resulta ng paghahanap, at ipinapakita nito sa mga mambabasa kung bakit sulit basahin ang post.`}})),Lf=b({default:()=>zf,title:()=>Rf}),Rf,zf,Bf=v((()=>{Rf=`My App`,zf={"canvas.category":`Kategori`,"post-list.empty-state.description":`Yazılar yayınlandığında burada görünür.`,"canvas.tag-numbered":`Etiket {number}`,"cover-media.play":`Videoyu oynat`,"post-comments.unavailable":`Yorumlar kullanılamıyor. Uygulama örneği yok.`,"post-counters.loading-likes":`Beğeniler yükleniyor`,"post-comments.loading":`Yorumlar yükleniyor…`,"post-actions.like":`Yazıyı Beğen`,"canvas.content":`Yazının tamamı burada görünür. Hikayenizi buraya yazın, kontrol panelinden görüntüler, galeriler ve video ekleyin, kolay okunması için başlıklar ve alıntılar kullanın.`,"related-posts.empty-state.title":`Henüz ilgili yazı yok`,"post.time-to-read":`{count, plural, one {{count,number} dk okuma} other {{count,number} dk okuma}}`,"post-actions.link-copied":`Bağlantı kopyalandı`,"category-header.all-posts":`Tüm Yazılar`,"post-actions.copy-manually":`Bu yazıyı paylaşmak için aşağıdaki bağlantıyı kopyalayın.`,"post-actions.copy-link":`Bağlantıyı Kopyala`,"cover-media.placeholder-alt":`Yazı kapak görüntüsü`,"post-actions.link-label":`Yazı bağlantısı`,"post-list.empty-state.title":`Henüz yazı yok`,"post-actions.share-dialog":`Yazıyı Paylaş`,"canvas.post-title":`Yazı Başlığı`,"post-actions.unlike":`Yazıdan Beğeniyi Kaldır`,"post-comments.no-post":`Bu URL için henüz yazı çözümlenmedi.`,"post.like-count":`{count, plural, one {{formatted} beğeni} other {{formatted} beğeni}}`,"canvas.category-numbered":`Kategori {number}`,"post.comment-count":`{count, plural, one {{formatted} yorum} other {{formatted} yorum}}`,"post-actions.share":`Yazıyı Paylaş`,"post.view-count":`{count, plural, one {{formatted} görüntülenme} other {{formatted} görüntülenme}}`,"post-actions.close":`Kapat`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Yazar fotoğrafı`,"canvas.author-name":`Yazar Adı`,"post-comments.demo-notice":`Düzenleme sırasında örnek yorumlar gösterilir. Ziyaretçiler gerçek yorumları görür.`,title:Rf,"related-posts.empty-state.description":`Daha fazla yazı yayınlandığında burada görünür.`,"canvas.excerpt":`Yazınızın ana fikrini burada paylaşın. Bu kısa özet, akış kartlarında ve arama sonuçlarında gösterilir ve okuyuculara yazının neden okumaya değer olduğunu anlatır.`}})),Vf=b({default:()=>Uf,title:()=>Hf}),Hf,Uf,Wf=v((()=>{Hf=`My App`,Uf={"canvas.category":`Рубрика`,"post-list.empty-state.description":`Опубліковані пости з'являться тут.`,"canvas.tag-numbered":`Тег {number}`,"cover-media.play":`Відтворити відео`,"post-comments.unavailable":`Коментарі недоступні: немає екземпляра додатка.`,"post-counters.loading-likes":`Завантаження уподобань`,"post-comments.loading":`Завантаження коментарів`,"post-actions.like":`Уподобати пост`,"canvas.content":`Тут відображаться повний текст посту. Напишіть свою розповідь, додайте зображення, галереї та відео з Кабінету, а також використовуйте заголовки й цитати, щоб текст було легко читати.`,"related-posts.empty-state.title":`Схожих постів ще немає`,"post.time-to-read":`{count, plural, one {{count,number} хвилина читання} few {{count,number} хвилини читання} many {{count,number} хвилин читання} other {{count,number} хвилини читання}}`,"post-actions.link-copied":`Посилання скопійовано`,"category-header.all-posts":`Усі пости`,"post-actions.copy-manually":`Скопіюйте посилання нижче, щоб поділитися цим постом.`,"post-actions.copy-link":`Копіювати посилання`,"cover-media.placeholder-alt":`Обкладинка посту`,"post-actions.link-label":`Посилання на пост`,"post-list.empty-state.title":`Постів ще немає`,"post-actions.share-dialog":`Поділитися постом`,"canvas.post-title":`Назва посту`,"post-actions.unlike":`Скасувати вподобання посту`,"post-comments.no-post":`Для цієї вебадреси ще не знайдено пост.`,"post.like-count":`{count, plural, one {{formatted} уподобання} few {{formatted} уподобання} many {{formatted} уподобань} other {{formatted} уподобання}}`,"canvas.category-numbered":`Рубрика {number}`,"post.comment-count":`{count, plural, one {{formatted} коментар} few {{formatted} коментарі} many {{formatted} коментарів} other {{formatted} коментарі}}`,"post-actions.share":`Поділитися постом`,"post.view-count":`{count, plural, one {{formatted} перегляд} few {{formatted} перегляди} many {{formatted} переглядів} other {{formatted} перегляди}}`,"post-actions.close":`Закрити`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Фото автора`,"canvas.author-name":`Ім’я автора`,"post-comments.demo-notice":`Під час редагування показуються зразки коментарів. Відвідувачі бачитимуть справжні коментарі.`,title:Hf,"related-posts.empty-state.description":`Коли буде опубліковано більше постів, вони з’являться тут.`,"canvas.excerpt":`Поділіться головною ідеєю посту тут. Цей короткий опис показується на картках стрічки та в результатах пошуку і пояснює читачам, чому пост варто прочитати.`}})),Gf=b({default:()=>qf,title:()=>Kf}),Kf,qf,Jf=v((()=>{Kf=`My App`,qf={"canvas.category":`Danh mục`,"post-list.empty-state.description":`Sau khi bài đăng được xuất bản, chúng sẽ xuất hiện ở đây.`,"canvas.tag-numbered":`Thẻ {number}`,"cover-media.play":`Phát video`,"post-comments.unavailable":`Không thể sử dụng bình luận vì không có phiên bản ứng dụng.`,"post-counters.loading-likes":`Đang tải lượt thích`,"post-comments.loading":`Đang tải bình luận…`,"post-actions.like":`Thích bài đăng`,"canvas.content":`Đây là nơi hiển thị toàn bộ bài đăng. Viết câu chuyện tại đây, thêm hình ảnh, thư viện và video từ trang tổng quan, đồng thời dùng tiêu đề và trích dẫn để nội dung dễ đọc hơn.`,"related-posts.empty-state.title":`Chưa có bài đăng liên quan`,"post.time-to-read":`{count, plural, other {{count,number} phút đọc}}`,"post-actions.link-copied":`Đã sao chép liên kết`,"category-header.all-posts":`Tất cả bài đăng`,"post-actions.copy-manually":`Sao chép liên kết bên dưới để chia sẻ bài đăng này.`,"post-actions.copy-link":`Sao chép liên kết`,"cover-media.placeholder-alt":`Hình ảnh bìa bài đăng`,"post-actions.link-label":`Liên kết bài đăng`,"post-list.empty-state.title":`Chưa có bài đăng`,"post-actions.share-dialog":`Chia sẻ bài đăng`,"canvas.post-title":`Tiêu đề bài đăng`,"post-actions.unlike":`Bỏ thích bài đăng`,"post-comments.no-post":`Chưa có bài đăng nào được phân giải cho URL này.`,"post.like-count":`{count, plural, other {{formatted} lượt thích}}`,"canvas.category-numbered":`Danh mục {number}`,"post.comment-count":`{count, plural, other {{formatted} bình luận}}`,"post-actions.share":`Chia sẻ bài đăng`,"post.view-count":`{count, plural, other {{formatted} lượt xem}}`,"post-actions.close":`Đóng`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`Ảnh tác giả`,"canvas.author-name":`Tên tác giả`,"post-comments.demo-notice":`Bình luận mẫu được hiển thị trong khi chỉnh sửa. Khách truy cập sẽ thấy bình luận thật.`,title:Kf,"related-posts.empty-state.description":`Sau khi có thêm bài đăng được xuất bản, chúng sẽ xuất hiện ở đây.`,"canvas.excerpt":`Chia sẻ ý chính của bài đăng tại đây. Phần tóm tắt ngắn này hiển thị trên thẻ trong bảng tin và trong kết quả tìm kiếm, đồng thời cho người đọc biết lý do bài đăng đáng đọc.`}})),Yf=b({default:()=>Zf,title:()=>Xf}),Xf,Zf,Qf=v((()=>{Xf=`My App`,Zf={"canvas.category":`類別`,"post-list.empty-state.description":`文章發佈後,會顯示在這裡。`,"canvas.tag-numbered":`標籤 {number}`,"cover-media.play":`播放影片`,"post-comments.unavailable":`留言不可用。沒有應用程式執行個體。`,"post-counters.loading-likes":`正在載入讚好`,"post-comments.loading":`正在載入留言……`,"post-actions.like":`讚好文章`,"canvas.content":`完整文章會顯示在這裡。請在這裡撰寫內容,並從管理介面新增圖片、圖庫和影片。使用標題和引言,讓內容更容易閱讀。`,"related-posts.empty-state.title":`尚無相關文章`,"post.time-to-read":`{count, plural, other {{count,number} 分鐘閱讀}}`,"post-actions.link-copied":`已複製連結`,"category-header.all-posts":`所有文章`,"post-actions.copy-manually":`請複製下方連結來分享這篇文章。`,"post-actions.copy-link":`複製連結`,"cover-media.placeholder-alt":`文章封面圖片`,"post-actions.link-label":`文章連結`,"post-list.empty-state.title":`尚無文章`,"post-actions.share-dialog":`分享文章`,"canvas.post-title":`文章標題`,"post-actions.unlike":`取消讚好文章`,"post-comments.no-post":`這個 URL 尚未解析出文章。`,"post.like-count":`{count, plural, other {{formatted} 個讚好}}`,"canvas.category-numbered":`類別 {number}`,"post.comment-count":`{count, plural, other {{formatted} 則留言}}`,"post-actions.share":`分享文章`,"post.view-count":`{count, plural, other {{formatted} 次查看}}`,"post-actions.close":`關閉`,"canvas.category-description":`Add a short description of this category so readers know what they will find here. It shows under the category title, above the posts.`,"canvas.author-photo-alt":`作者相片`,"canvas.author-name":`作者名稱`,"post-comments.demo-notice":`編輯時會顯示範例留言。訪客會看到實際留言。`,title:Xf,"related-posts.empty-state.description":`發佈更多文章後,會顯示在這裡。`,"canvas.excerpt":`在這裡分享文章的核心想法。這段簡短摘要會顯示在動態消息卡片和搜尋結果中,並告訴讀者這篇文章值得閱讀的原因。`}}));Bo({isDev:!1,loadMessages:e=>su(Object.assign({"../assets/locale/messages_ar.json":()=>I(()=>Promise.resolve().then(()=>(fu(),lu)),void 0,import.meta.url),"../assets/locale/messages_bg.json":()=>I(()=>Promise.resolve().then(()=>(gu(),pu)),void 0,import.meta.url),"../assets/locale/messages_ca.json":()=>I(()=>Promise.resolve().then(()=>(bu(),_u)),void 0,import.meta.url),"../assets/locale/messages_cs.json":()=>I(()=>Promise.resolve().then(()=>(wu(),xu)),void 0,import.meta.url),"../assets/locale/messages_da.json":()=>I(()=>Promise.resolve().then(()=>(Ou(),Tu)),void 0,import.meta.url),"../assets/locale/messages_de.json":()=>I(()=>Promise.resolve().then(()=>(Mu(),ku)),void 0,import.meta.url),"../assets/locale/messages_el.json":()=>I(()=>Promise.resolve().then(()=>(Iu(),Nu)),void 0,import.meta.url),"../assets/locale/messages_en.dev.json":()=>I(()=>Promise.resolve().then(()=>(zu(),Lu)),void 0,import.meta.url),"../assets/locale/messages_en.json":()=>I(()=>Promise.resolve().then(()=>(Uu(),Bu)),void 0,import.meta.url),"../assets/locale/messages_es.json":()=>I(()=>Promise.resolve().then(()=>(qu(),Wu)),void 0,import.meta.url),"../assets/locale/messages_fi.json":()=>I(()=>Promise.resolve().then(()=>(Zu(),Ju)),void 0,import.meta.url),"../assets/locale/messages_fr.json":()=>I(()=>Promise.resolve().then(()=>(td(),Qu)),void 0,import.meta.url),"../assets/locale/messages_he.json":()=>I(()=>Promise.resolve().then(()=>(ad(),nd)),void 0,import.meta.url),"../assets/locale/messages_hi.json":()=>I(()=>Promise.resolve().then(()=>(ld(),od)),void 0,import.meta.url),"../assets/locale/messages_hr.json":()=>I(()=>Promise.resolve().then(()=>(pd(),ud)),void 0,import.meta.url),"../assets/locale/messages_hu.json":()=>I(()=>Promise.resolve().then(()=>(_d(),md)),void 0,import.meta.url),"../assets/locale/messages_id.json":()=>I(()=>Promise.resolve().then(()=>(xd(),vd)),void 0,import.meta.url),"../assets/locale/messages_it.json":()=>I(()=>Promise.resolve().then(()=>(Td(),Sd)),void 0,import.meta.url),"../assets/locale/messages_ja.json":()=>I(()=>Promise.resolve().then(()=>(kd(),Ed)),void 0,import.meta.url),"../assets/locale/messages_ko.json":()=>I(()=>Promise.resolve().then(()=>(Nd(),Ad)),void 0,import.meta.url),"../assets/locale/messages_lt.json":()=>I(()=>Promise.resolve().then(()=>(Ld(),Pd)),void 0,import.meta.url),"../assets/locale/messages_lv.json":()=>I(()=>Promise.resolve().then(()=>(Vd(),Rd)),void 0,import.meta.url),"../assets/locale/messages_ms.json":()=>I(()=>Promise.resolve().then(()=>(Gd(),Hd)),void 0,import.meta.url),"../assets/locale/messages_nl.json":()=>I(()=>Promise.resolve().then(()=>(Yd(),Kd)),void 0,import.meta.url),"../assets/locale/messages_no.json":()=>I(()=>Promise.resolve().then(()=>($d(),Xd)),void 0,import.meta.url),"../assets/locale/messages_pl.json":()=>I(()=>Promise.resolve().then(()=>(rf(),ef)),void 0,import.meta.url),"../assets/locale/messages_pt.json":()=>I(()=>Promise.resolve().then(()=>(cf(),af)),void 0,import.meta.url),"../assets/locale/messages_ro.json":()=>I(()=>Promise.resolve().then(()=>(ff(),lf)),void 0,import.meta.url),"../assets/locale/messages_ru.json":()=>I(()=>Promise.resolve().then(()=>(gf(),pf)),void 0,import.meta.url),"../assets/locale/messages_sk.json":()=>I(()=>Promise.resolve().then(()=>(bf(),_f)),void 0,import.meta.url),"../assets/locale/messages_sl.json":()=>I(()=>Promise.resolve().then(()=>(wf(),xf)),void 0,import.meta.url),"../assets/locale/messages_sv.json":()=>I(()=>Promise.resolve().then(()=>(Of(),Tf)),void 0,import.meta.url),"../assets/locale/messages_th.json":()=>I(()=>Promise.resolve().then(()=>(Mf(),kf)),void 0,import.meta.url),"../assets/locale/messages_tl.json":()=>I(()=>Promise.resolve().then(()=>(If(),Nf)),void 0,import.meta.url),"../assets/locale/messages_tr.json":()=>I(()=>Promise.resolve().then(()=>(Bf(),Lf)),void 0,import.meta.url),"../assets/locale/messages_uk.json":()=>I(()=>Promise.resolve().then(()=>(Wf(),Vf)),void 0,import.meta.url),"../assets/locale/messages_vi.json":()=>I(()=>Promise.resolve().then(()=>(Jf(),Gf)),void 0,import.meta.url),"../assets/locale/messages_zh.json":()=>I(()=>Promise.resolve().then(()=>(Qf(),Yf)),void 0,import.meta.url)}),`../assets/locale/messages_${cu(e)}.json`,4),loadDevMessages:e=>su(Object.assign({"../assets/locale/messages_en.dev.json":()=>I(()=>Promise.resolve().then(()=>(zu(),Lu)),void 0,import.meta.url)}),`../assets/locale/messages_${cu(e)}.dev.json`,4)});var $f=new WeakMap;function ep(e){let t=$f.get(e);return t||(t=au(e).finally(()=>$f.delete(e)),$f.set(e,t)),t}function tp({i18n:e,locale:t}){let n=ha(),r=Lo();if(!n)return null;if(!e.isInitialized||!e.hasLoadedNamespace(`translation`))throw ep(e);let i=ou(e,t);return i&&r.set(eu,{locale:t,messages:i}),null}function np(e){let t=wo(),n=nu()?.locale??t??`en`;return{i18n:iu(n,e),locale:n}}fu(),gu(),bu(),wu(),Ou(),Mu(),Iu(),zu(),Uu(),qu(),Zu(),td(),ad(),ld(),pd(),_d(),xd(),Td(),kd(),Nd(),Ld(),Vd(),Gd(),Yd(),$d(),rf(),cf(),ff(),gf(),bf(),wf(),Of(),Mf(),If(),Bf(),Wf(),Jf(),Qf();var rp=Object.assign({"../assets/locale/messages_ar.json":lu,"../assets/locale/messages_bg.json":pu,"../assets/locale/messages_ca.json":_u,"../assets/locale/messages_cs.json":xu,"../assets/locale/messages_da.json":Tu,"../assets/locale/messages_de.json":ku,"../assets/locale/messages_el.json":Nu,"../assets/locale/messages_en.dev.json":Lu,"../assets/locale/messages_en.json":Bu,"../assets/locale/messages_es.json":Wu,"../assets/locale/messages_fi.json":Ju,"../assets/locale/messages_fr.json":Qu,"../assets/locale/messages_he.json":nd,"../assets/locale/messages_hi.json":od,"../assets/locale/messages_hr.json":ud,"../assets/locale/messages_hu.json":md,"../assets/locale/messages_id.json":vd,"../assets/locale/messages_it.json":Sd,"../assets/locale/messages_ja.json":Ed,"../assets/locale/messages_ko.json":Ad,"../assets/locale/messages_lt.json":Pd,"../assets/locale/messages_lv.json":Rd,"../assets/locale/messages_ms.json":Hd,"../assets/locale/messages_nl.json":Kd,"../assets/locale/messages_no.json":Xd,"../assets/locale/messages_pl.json":ef,"../assets/locale/messages_pt.json":af,"../assets/locale/messages_ro.json":lf,"../assets/locale/messages_ru.json":pf,"../assets/locale/messages_sk.json":_f,"../assets/locale/messages_sl.json":xf,"../assets/locale/messages_sv.json":Tf,"../assets/locale/messages_th.json":kf,"../assets/locale/messages_tl.json":Nf,"../assets/locale/messages_tr.json":Lf,"../assets/locale/messages_uk.json":Vf,"../assets/locale/messages_vi.json":Gf,"../assets/locale/messages_zh.json":Yf}),ip=(e,t)=>{let n=rp[`../assets/locale/messages_${cu(e)}${t}.json`];return n?Promise.resolve(n):Promise.reject(Error(`no messages file`))},ap=Bo({isDev:!1,loadMessages:e=>ip(e,``),loadDevMessages:e=>ip(e,`.dev`)}),op=e=>O(A(e,[{transformFn:V,paths:[{path:`posts.url`},{path:`posts.translations.url`}]},{transformFn:B,paths:[{path:`posts.heroImage`},{path:`posts.media.wixMedia.image`}]},{transformFn:H,paths:[{path:`posts.media.wixMedia.videoV2`}]}]),[`posts.richContent`,`posts.rich_content`]).posts??[],sp=`https://blog.wixsite.com/blog-demo-posts`,cp=M(e=>async t=>{let n=await e.fetchWithAuth(`${globalThis.location.origin}/_serverless/blog-demo-posts/v3/demo-posts?${N(t)}`);if(!n.ok)throw Error(`ListDemoPosts answered ${n.status}`);return op(await n.json()).filter(e=>!e.url?.startsWith(sp))}),lp=async e=>{try{return await cp(e)}catch(e){return console.info(`[blog demo posts]`,`read failed`,e),[]}},up=[{path:`member.createdDate`},{path:`member.updatedDate`},{path:`member.lastLoginDate`}];function dp(e){return P(Object.assign(e,{domainToMappings:{"www.wixapis.com":[{srcPath:`/members/v1/members`,destPath:`/v1/members`}],"api._api_base_domain_":[{srcPath:`/members-ng-api`,destPath:``}],"www._base_domain_":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"manage._base_domain_":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"editor._base_domain_":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"blocks._base_domain_":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"create.editorx":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"editor.wixapps.net":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"*.dev.wix-code.com":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"bo._base_domain_":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"wixbo.ai":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"wix-bo.com":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],_:[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}],"members.wixapps.net":[{srcPath:`/_api/members/v1/members`,destPath:`/v1/members`}]}}))}var fp=`@wix/auto_sdk_members_members`;function pp(e){function t({host:t}){return{entityFqdn:`wix.members.v1.member`,method:`GET`,methodFqn:`com.wixpress.members.api.Members.GetMember`,packageName:fp,migrationOptions:{optInTransformResponse:!0},url:dp({protoPath:`/v1/members/{id}`,data:e,host:t}),params:N(e),transformResponse:e=>A(e,[{transformFn:k,paths:up}])}}return t}async function mp(e,t){let{httpClient:n,sideEffects:r}=arguments[2],i=pp(D({id:e,fieldsets:t?.fieldsets}));r?.onSiteCall?.();try{let e=await n.request(i);return r?.onSuccess?.(e),O(e.data)?.member}catch(e){let t=j(e,{spreadPathsToArguments:{},explicitPathsToArguments:{id:`$[0]`,fieldsets:`$[1].fieldsets`},singleArgumentUnchanged:!1},[`_id`,`options`]);throw r?.onError?.(e),t}}function hp(e){return(t,n)=>mp(t,n,{httpClient:e})}var gp=M(hp),_p=async e=>{try{return await gp(e,{fieldsets:[`PUBLIC`]})}catch{return}},vp=[{path:`posts.firstPublishedDate`},{path:`posts.lastPublishedDate`},{path:`posts.expirationDate`},{path:`posts.heroImage.urlExpirationDate`},{path:`posts.richContent.metadata.createdTimestamp`},{path:`posts.richContent.metadata.updatedTimestamp`},{path:`posts.moderationDetails.submittedDate`},{path:`posts.moderationDetails.moderationDate`},{path:`posts.media.wixMedia.image.urlExpirationDate`},{path:`posts.media.wixMedia.videoV2.urlExpirationDate`},{path:`posts.media.wixMedia.videoV2.resolutions.urlExpirationDate`},{path:`posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate`},{path:`posts.media.wixMedia.videoV2.posters.urlExpirationDate`}],yp=[{path:`posts.richContentCompressed`}],bp=[{path:`posts.heroImage.focalPoint.x`},{path:`posts.heroImage.focalPoint.y`},{path:`posts.media.wixMedia.image.focalPoint.x`},{path:`posts.media.wixMedia.image.focalPoint.y`},{path:`posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x`},{path:`posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y`},{path:`posts.media.wixMedia.videoV2.posters.focalPoint.x`},{path:`posts.media.wixMedia.videoV2.posters.focalPoint.y`},{path:`posts.metrics.averageRating`},{path:`posts.richContent.nodes.buttonData.styles.background.gradient.centerX`},{path:`posts.richContent.nodes.buttonData.styles.background.gradient.centerY`},{path:`posts.richContent.nodes.buttonData.styles.background.gradient.stops.position`},{path:`posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX`},{path:`posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY`},{path:`posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position`},{path:`posts.richContent.nodes.galleryData.items.image.media.duration`},{path:`posts.richContent.nodes.galleryData.items.video.media.duration`},{path:`posts.richContent.nodes.galleryData.items.video.thumbnail.duration`},{path:`posts.richContent.nodes.galleryData.options.item.ratio`},{path:`posts.richContent.nodes.imageData.image.duration`},{path:`posts.richContent.nodes.imageData.crop.x`},{path:`posts.richContent.nodes.imageData.crop.y`},{path:`posts.richContent.nodes.imageData.crop.width`},{path:`posts.richContent.nodes.imageData.crop.height`},{path:`posts.richContent.nodes.mapData.mapSettings.lat`},{path:`posts.richContent.nodes.mapData.mapSettings.lng`},{path:`posts.richContent.nodes.pollData.poll.image.duration`},{path:`posts.richContent.nodes.pollData.poll.options.image.duration`},{path:`posts.richContent.nodes.pollData.design.poll.background.image.duration`},{path:`posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.nodes.appEmbedData.image.duration`},{path:`posts.richContent.nodes.videoData.video.duration`},{path:`posts.richContent.nodes.videoData.thumbnail.duration`},{path:`posts.richContent.nodes.audioData.audio.duration`},{path:`posts.richContent.nodes.audioData.coverImage.duration`},{path:`posts.richContent.nodes.layoutData.backgroundImage.media.duration`},{path:`posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX`},{path:`posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY`},{path:`posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position`},{path:`posts.richContent.nodes.layoutData.backdropImage.media.duration`},{path:`posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX`},{path:`posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY`},{path:`posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position`},{path:`posts.richContent.nodes.layoutData.background.gradient.centerX`},{path:`posts.richContent.nodes.layoutData.background.gradient.centerY`},{path:`posts.richContent.nodes.layoutData.background.gradient.stops.position`},{path:`posts.richContent.nodes.layoutData.backdrop.gradient.centerX`},{path:`posts.richContent.nodes.layoutData.backdrop.gradient.centerY`},{path:`posts.richContent.nodes.layoutData.backdrop.gradient.stops.position`},{path:`posts.richContent.nodes.shapeData.shape.duration`},{path:`posts.richContent.nodes.cardData.background.gradient.centerX`},{path:`posts.richContent.nodes.cardData.background.gradient.centerY`},{path:`posts.richContent.nodes.cardData.background.gradient.stops.position`},{path:`posts.richContent.nodes.cardData.backgroundImage.media.duration`},{path:`posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX`},{path:`posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY`},{path:`posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position`},{path:`posts.richContent.nodes.tocData.fontSize`},{path:`posts.richContent.nodes.tocData.itemSpacing`},{path:`posts.richContent.nodes.smartBlockCellData.shape.duration`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY`},{path:`posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position`}],xp=[{path:`sort.origin.latitude`},{path:`sort.origin.longitude`},{path:`query.sort.origin.latitude`},{path:`query.sort.origin.longitude`}];function Sp(e){return P(Object.assign(e,{domainToMappings:{_:[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"apps._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"www._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"www.wixapis.com":[{srcPath:`/v3/posts`,destPath:`/v3/posts`},{srcPath:`/blog/v3/posts`,destPath:`/v3/posts`},{srcPath:`/_api/v3/posts`,destPath:`/v3/posts`}],"manage._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`},{srcPath:`/_api/post-service-api-proxy/v3/bulk/posts`,destPath:`/v3/bulk/posts`}],"*.dev.wix-code.com":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"editor._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"blocks._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"create.editorx":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"editor.wixapps.net":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}],"dev._base_domain_":[{srcPath:`/_api/communities-blog-node-api/v3/posts`,destPath:`/v3/posts`}]}}))}var Cp=`@wix/auto_sdk_blog_posts`;function wp(e){function t({host:t}){let n=A(e,[{transformFn:fn,paths:xp}]);return{entityFqdn:`wix.blog.v3.post`,method:`POST`,methodFqn:`com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts`,packageName:Cp,migrationOptions:{optInTransformResponse:!0},url:Sp({protoPath:`/v3/posts/query`,data:n,host:t}),data:n,transformResponse:e=>A(e,[{transformFn:k,paths:vp},{transformFn:pn,paths:yp},{transformFn:F,paths:bp}])}}return t}function Tp(){let e=wp({});return{getUrl:t=>{let{url:n}=e(t);return n},httpMethod:`POST`,path:`/v3/posts/query`,pathParams:{},__requestType:null,__originalRequestType:null,__responseType:null,__originalResponseType:null}}var Ep=Tp(),Dp=e=>t=>({method:`POST`,url:Ep.getUrl(t),data:{query:{filter:{id:{$in:e}},paging:{limit:e.length}}}}),Op=M(e=>async t=>{let{data:n}=await e.request(Dp(t)),r={};for(let e of n.posts??[]){let{id:t}=e,n=e.media?.wixMedia?.videoV2?.resolutions;if(!t||!n?.length)continue;let i=n.filter(e=>e.url&&e.format===`mp4`).map(({url:e,width:t,height:n})=>({url:e,width:t,height:n}));i.length>0&&(r[t]=i)}return r}),kp=async e=>{if(e.length===0)return{};try{return await Op(e)}catch{return{}}},Ap=class extends Error{constructor(e,t){super(`SSR fetch "${e}" exceeded its ${t}ms deadline`),this.name=`SsrDeadlineError`}},jp=(e,t,n)=>{let r,i=new Promise((e,i)=>{r=setTimeout(()=>i(new Ap(n,t)),t)});return Promise.race([e,i]).finally(()=>clearTimeout(r))},Mp=[U.RICH_CONTENT,U.SEO,U.URL,U.CONTENT_TEXT,`TRANSLATIONS`],Np=[U.RICH_CONTENT,U.URL];U.URL,U.METRICS;var Pp=e=>{let{status:t,details:n}=e??{};return t===404||String(n?.applicationError?.code??``).includes(`NOT_FOUND`)},Fp=(e,t)=>{if(t&&!Pp(e))throw e},Ip=e=>kp(e.filter(e=>e.media?.wixMedia?.videoV2).map(({_id:e})=>e).filter(e=>!!e)),Lp=async(e,t,n=!1,r)=>{try{let{post:n}=await Xi(e,{...t&&{fieldsets:t},...r&&{language:r}});if(n)return n}catch(e){Fp(e,n)}try{let{items:n}=await ea(t?{fieldsets:t}:void 0).eq(`slug`,e).limit(1).find();return n[0]}catch(e){Fp(e,n);return}},Rp=async(e,t=!1,n)=>{try{let t=async t=>{let{posts:r}=await Zi({paging:{limit:1},...e&&{fieldsets:e},...t&&n&&{language:n}});return r?.[0]};return await t(!0)??(n?await t(!1):void 0)}catch(e){Fp(e,t);return}},zp=async(e,t=!1,n)=>(e?await Lp(e,Mp,t,n):void 0)??await Rp(Mp,t,n),Bp=async e=>{try{let{metrics:t}=await Qi(e);return t}catch{return}},Vp=100,Hp=async()=>{try{let{categories:e}=await ri({paging:{limit:Vp}});return e??[]}catch{return[]}},Up=(e,t)=>{let{categoryIds:n}=e??{};if(!n?.length)return[];let r=new Map(t.map(e=>[e._id,e]));return n.map(e=>r.get(e)).filter(e=>e!==void 0)},Wp=30,Gp=async e=>{if(!e?.length)return[];try{let{items:t}=await fa().in(`_id`,e).limit(Wp).find();return t??[]}catch{return[]}},Kp=(e,t)=>{let{tagIds:n}=e??{};if(!n?.length)return[];let r=new Map(t.map(e=>[e._id,e]));return n.map(e=>r.get(e)).filter(e=>e!==void 0)},qp=async(e,t)=>e.post?e:{...e,demoPost:(await lp({paging:{limit:1,offset:0},fieldsets:Np,...t&&{language:t}}))[0]},Jp=1e3,Yp=1e3,Xp=async(e,t=!1,n)=>{let r=Hp();return Zp(await zp(e,t,n),r)},Zp=async(e,t)=>{let{_id:n,memberId:r,tagIds:i,preview:a}=e??{},[o,s,c,l,u,d]=await Promise.all([r?_p(r):void 0,n?Bp(n):void 0,t,Gp(i),a&&n?jp(Eo(n,e?.language??void 0),Jp,`post-paywall`).catch(()=>void 0):void 0,jp(Ip(e?[e]:[]),Yp,`post-video`).catch(()=>({}))]),f=n?d[n]:void 0;return{post:e,author:o,metrics:s,categories:Up(e,c),tags:Kp(e,l),...u&&{paywall:u},...f&&{videoSources:f}}},Qp=e=>{let{_id:t,categoryIds:n,relatedPostIds:r}=e??{};return{currentPostId:t??void 0,categoryIds:n,relatedPostIds:r}},$p=async(e,t)=>{try{let{items:n}=await ea().eq(`translationId`,e).eq(`language`,t).limit(1).find();return n[0]?.slug??void 0}catch{return}};y(((e,t)=>{(function(){var e={}.hasOwnProperty;function n(){for(var e=``,t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,r(n)))}return e}function r(t){if(typeof t==`string`||typeof t==`number`)return t;if(typeof t!=`object`)return``;if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes(`[native code]`))return t.toString();var r=``;for(var a in t)e.call(t,a)&&t[a]&&(r=i(r,a));return r}function i(e,t){return t?e?e+` `+t:e+t:e}t!==void 0&&t.exports?(n.default=n,t.exports=n):typeof define==`function`&&typeof define.amd==`object`&&define.amd?define(`classnames`,[],function(){return n}):window.classNames=n})()}))();var em=class extends n{state={error:void 0};static getDerivedStateFromError(e){return{error:e??Error(`Unknown render error`)}}componentDidCatch(e,t){Ja(this.props.monitoringClient,e,{feature:this.props.feature,action:`render`,tags:this.props.component?{component:this.props.component}:void 0,contexts:{react:{componentStack:t.componentStack}}})}render(){if(this.state.error===void 0)return this.props.children;if(this.props.rethrow)throw this.state.error;return this.props.fallback}},tm=e=>e.then(e=>({...e,fetchedAt:Date.now()})),nm={post:void 0,author:void 0,metrics:void 0,categories:[],tags:[]},rm=[fi.RICH_CONTENT,fi.GENERATED_EXCERPT],im=M(e=>()=>e.fetchWithAuth),am=e=>e?im():(...e)=>globalThis.fetch(...e),om=(e,t)=>Xe({modules:{draftPosts:{getDraftPost:hi}},auth:{getAuthHeaders:()=>({headers:{authorization:e}})},fetch:am(t)}),sm=e=>{let{_id:t,title:n,excerpt:r,seoSlug:i,memberId:a,minutesToRead:o,categoryIds:s,tagIds:c,firstPublishedDate:l,richContent:u,media:d}=e??{};if(t)return{_id:t,title:n,excerpt:r??void 0,slug:i??void 0,memberId:a??void 0,minutesToRead:o,categoryIds:s,tagIds:c,firstPublishedDate:l??void 0,richContent:u,...d&&{media:d}}},cm=e=>e instanceof Error?e.message:String(e),lm=async({draftPostId:e,instance:t},n)=>{let r=Hp();try{let{draftPost:i}=await om(t,n).draftPosts.getDraftPost(e,{fieldsets:rm}),a=sm(i),{memberId:o,tagIds:s}=a??{},[c,l,u]=await Promise.all([o?_p(o):void 0,r,Gp(s)]);return{post:a,author:c,metrics:void 0,categories:Up(a,l),tags:Kp(a,u)}}catch(e){let t=cm(e);return console.error(`[blog-builder] draft preview fetch failed (${t})`,e),{...nm,reason:t}}},um=i(void 0),dm=i(void 0),fm=e=>{let t;try{t=m(W)}catch{return}return Na(t,e)},pm=1e4;function mm(e){let[t,n]=f(void 0);return l(()=>{let t=Date.now();t-e>pm&&o(()=>n(t))},[]),t??e}var hm=`wix.blog.v3.post`,gm=async e=>{await Gr({like:{entityId:e,fqdn:hm}})},_m=async e=>{await Kr({fqdn:hm,entityId:e})},vm=100,ym,bm=e=>{let t=[...e.keys()];for(let n=0;n<t.length;n+=vm){let r=t.slice(n,n+vm);qr().eq(`fqdn`,hm).in(`entityId`,r).limit(r.length).find().then(({items:t})=>{let n=new Set(t.map(e=>e.entityId));for(let t of r)e.get(t)?.forEach(e=>e.resolve(n.has(t)))},t=>{for(let n of r)e.get(n)?.forEach(e=>e.reject(t))})}},xm=e=>new Promise((t,n)=>{if(!ym){let e=new Map;ym=e,setTimeout(()=>{ym=void 0,bm(e)})}ym.set(e,[...ym.get(e)??[],{resolve:t,reject:n}])}),Sm=e=>typeof e==`number`?e:void 0,Cm=async(e,t=!0)=>{let[n,r]=await Promise.allSettled([xm(e),t?Qi(e):void 0]),i=r.status===`fulfilled`?r.value?.metrics:void 0;return{liked:n.status===`fulfilled`&&n.value,likeCount:Sm(i?.likes),viewCount:Sm(i?.views),commentCount:Sm(i?.comments)}},wm={liked:!1,baselineLiked:!1,freshLikeCount:void 0,viewCount:void 0,commentCount:void 0,isLikeCountLoaded:!1},Tm=`wix-blog:post-like-toggled`,Em=()=>{let e=window;return e[Tm]??=new Map},Dm=e=>{Em().set(e.postId,e.liked),window.dispatchEvent(new CustomEvent(Tm,{detail:e}))},Om=(e,t)=>({isLiked:e.liked,likeCount:Math.max(0,(e.freshLikeCount??t)+Number(e.liked)-Number(e.baselineLiked)),isLikeCountLoaded:e.isLikeCountLoaded,viewCount:e.viewCount,commentCount:e.commentCount}),km=(e,t,n=!1,r,i=!0)=>{let a=Jn()||n,[c,p]=f(wm),m=d(wm),h=d(t),g=d(new Set),_=d(!1),v=d(!1),y=d(void 0),b=ya(),[x,S]=f(0);l(()=>{let e=b?.addMemberLoginListener?.(()=>{Em().clear(),S(e=>e+1)});return()=>{e!==void 0&&b?.removeMemberLoginListener?.(e)}},[b]);let C=s(e=>{let t=m.current,n={...t,...e};Object.keys(n).every(e=>n[e]===t[e])||(m.current=n,g.current.forEach(e=>e()),o(()=>p(n)))},[]),ee=u(()=>({get:()=>Om(m.current,h.current),subscribe:e=>(g.current.add(e),()=>{g.current.delete(e)})}),[]);l(()=>{h.current!==t&&(h.current=t,g.current.forEach(e=>e()))},[t]),l(()=>{if(y.current!==e&&(y.current=e,C(wm)),v.current=!1,!e||a){C({isLikeCountLoaded:!0});return}let t=!1;return Cm(e,i).then(({liked:e,likeCount:n,viewCount:r,commentCount:i})=>{t||C({isLikeCountLoaded:!0,viewCount:r,commentCount:i,baselineLiked:e,freshLikeCount:n,...!v.current&&{liked:e}})}).catch(n=>{t||C({isLikeCountLoaded:!0}),Ja(r,n,{feature:Ga.likes,action:`read-like-state`,level:`warning`,contexts:{likes:{postId:e}}})}),()=>{t=!0}},[e,a,r,C,x,i]),l(()=>{if(!e)return;let t=e=>{v.current=!0,C({liked:e})},n=Em().get(e);n!==void 0&&t(n);let r=n=>{let{detail:r}=n;r.postId===e&&t(r.liked)};return window.addEventListener(Tm,r),()=>window.removeEventListener(Tm,r)},[e,C]);let w=s(async t=>{if(!e||_.current)return;v.current=!0;let n=!m.current.liked;if(C({liked:n}),Dm({postId:e,liked:n}),!a){_.current=!0;try{await(n?gm(e):_m(e))}catch(t){C({liked:!n}),Dm({postId:e,liked:!n}),Ja(r,t,{feature:Ga.likes,action:n?`like-post`:`unlike-post`,contexts:{likes:{postId:e}}})}finally{_.current=!1}}},[e,a,r,C]);return{...Om(c,t),toggleLike:w,liveLikes:ee}},Am=()=>{let e;try{let{multilingualEnabled:t,locales:n,languageCode:r}=m(Wa),i=n.filter(e=>e.languageCode===r),a=n.find(({id:e})=>e===r)??(i.length===1?i[0]:void 0);t&&a&&!a.primaryLocale&&(e=a.regionalFormat)}catch{}let t,n;try{({locale:t,language:n}=m(Co))}catch{}return e||t||n},jm=(e,t,n)=>typeof e!=`number`||!Number.isFinite(e)||e<0?``:new Intl.NumberFormat(n,t===`compact`?{notation:`compact`,maximumFractionDigits:1}:void 0).format(e),Q={timeToRead:`post.time-to-read`,viewCount:`post.view-count`,commentCount:`post.comment-count`,likeCount:`post.like-count`,noPostsTitle:`post-list.empty-state.title`,noPostsDescription:`post-list.empty-state.description`,noRelatedPostsTitle:`related-posts.empty-state.title`,noRelatedPostsDescription:`related-posts.empty-state.description`,canvasPostTitle:`canvas.post-title`,canvasAuthorName:`canvas.author-name`,canvasExcerpt:`canvas.excerpt`,canvasContent:`canvas.content`,canvasCategory:`canvas.category`,canvasCategoryNumbered:`canvas.category-numbered`,canvasTagNumbered:`canvas.tag-numbered`,canvasCoverAlt:`cover-media.placeholder-alt`,canvasAuthorPhotoAlt:`canvas.author-photo-alt`},Mm=(e,t)=>{let n=n=>r=>e(n,{count:r,formatted:jm(r,`full`,t)});return{timeToRead:t=>e(Q.timeToRead,{count:t}),viewCount:n(Q.viewCount),commentCount:n(Q.commentCount),likeCount:n(Q.likeCount),noPostsEmptyState:()=>({title:e(Q.noPostsTitle),description:e(Q.noPostsDescription)}),noRelatedPostsEmptyState:()=>({title:e(Q.noRelatedPostsTitle),description:e(Q.noRelatedPostsDescription)}),canvas:{postTitle:()=>e(Q.canvasPostTitle),authorName:()=>e(Q.canvasAuthorName),excerpt:()=>e(Q.canvasExcerpt),content:()=>e(Q.canvasContent),category:()=>e(Q.canvasCategory),categoryNumbered:t=>e(Q.canvasCategoryNumbered,{number:t}),tagNumbered:t=>e(Q.canvasTagNumbered,{number:t}),coverAlt:()=>e(Q.canvasCoverAlt),authorPhotoAlt:()=>e(Q.canvasAuthorPhotoAlt)}}},Nm=e=>({href:e??`#`,target:`_self`}),Pm=e=>{if(!e)return;let t=e instanceof Date?e:new Date(e);return Number.isFinite(t.getTime())?t.toISOString():void 0},Fm=e=>typeof e==`number`&&e>0?e:void 0,Im=e=>e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`),$=e=>({text:e,html:`<p>${Im(e)}</p>`,linkList:[]}),Lm=6e4,Rm=Lm*60,zm=Rm*24,Bm=zm*7,Vm=e=>e<Lm?[`second`,e/1e3]:e<Rm?[`minute`,e/Lm]:e<zm?[`hour`,e/Rm]:[`day`,e/zm],Hm=(e,t,n=Date.now())=>{let r=e instanceof Date?e:new Date(e),i=n-r.getTime();if(i>=0&&i<Bm){let[e,n]=Vm(i);return new Intl.RelativeTimeFormat(t).format(-Math.round(n),e)}let a=r.getFullYear()===new Date(n).getFullYear();return new Intl.DateTimeFormat(t,{...a?{}:{year:`numeric`},month:`short`,day:`numeric`}).format(r)},Um=`https://static.wixstatic.com/media/`,Wm=`wix:video://`,Gm=e=>{if(!e)return;let t=Number.parseInt(e,10);return Number.isFinite(t)&&t>0?t:void 0},Km=e=>{if(!e.startsWith(Wm))return;let[t,n]=e.slice(12).split(`#`),[,r]=t.split(`/`).filter(Boolean);if(!r)return;let i=new URLSearchParams(n??``),a=i.get(`posterUri`);return{id:decodeURIComponent(r),posterUrl:a?`${Um}${a}`:void 0,posterWidth:Gm(i.get(`posterWidth`)),posterHeight:Gm(i.get(`posterHeight`))}},qm=[/https?:\/\/(?:www\.|m\.)?youtube\.com\/watch\?(?:[^#]*&)?v=([\w-]+)/i,/https?:\/\/(?:www\.)?youtube\.com\/embed\/([\w-]+)/i,/https?:\/\/youtu\.be\/([\w-]+)/i],Jm=[/https?:\/\/player\.vimeo\.com\/video\/(\d+)/i,/https?:\/\/vimeo\.com\/(\d+)/i],Ym=(e,t)=>{for(let n of e){let e=n.exec(t);if(e)return e[1]}},Xm=e=>{let t=Ym(qm,e);if(t)return{provider:`youtube`,embedUrl:`https://www.youtube.com/embed/${t}?autoplay=1`};let n=Ym(Jm,e);return n?{provider:`vimeo`,embedUrl:`https://player.vimeo.com/video/${n}?autoplay=1`}:{provider:`unknown`}},Zm=(e,t=[])=>{let n=e?.media;if(!n||n.displayed===!1)return;let r=oo(e);if(r)return{kind:`image`,image:r};let i=n.altText??e?.title??``,a=n.wixMedia?.videoV2?Km(n.wixMedia.videoV2):void 0;if(a)return{kind:`wixVideo`,...a,sources:t,altText:i};let o=n.embedMedia?.video?.url;if(o){let{thumbnail:e}=n.embedMedia??{};return{kind:`embed`,videoUrl:o,...Xm(o),thumbnailUrl:e?.url,thumbnailWidth:e?.width,thumbnailHeight:e?.height,altText:i}}},Qm=e=>{let t=oo(e),n=e?.media?.wixMedia?.videoV2;if(t||!n)return t;let r=Km(n),i=ao(r?.posterUrl?.slice(35),e?.media?.altText??e?.title);return i&&{...i,width:r?.posterWidth??i.width,height:r?.posterHeight??i.height}},$m=(e,t)=>e&&t?`${e}/${encodeURIComponent(t)}`:void 0,eh=(e,t)=>{let n=$m(e,t);return n?{href:n,target:`_self`}:void 0},th={href:`#`,target:`_self`},nh=(e,t)=>{let{_id:n,label:r,slug:i}=e,a=r??``;return{_id:n??i??``,label:a,itemCategoryLabel:$(a),itemCategoryLink:eh(t,i??``),categoryItem:{label:a,slug:i??``}}},rh=2,ih=e=>Array.from({length:rh},(t,n)=>{let r=e.canvas.categoryNumbered(n+1);return{_id:`placeholder-category-${n}`,label:r,itemCategoryLabel:$(r),itemCategoryLink:th,categoryItem:{label:r,slug:``}}}),ah=(e,t)=>{let{_id:n,label:r,slug:i}=e,a=r??``;return{_id:n??i??``,label:a,itemTagLabel:$(a),itemTagLink:eh(t,i??``),tagItem:{label:a,slug:i??``}}},oh=3,sh=e=>Array.from({length:oh},(t,n)=>{let r=e.canvas.tagNumbered(n+1);return{_id:`placeholder-tag-${n}`,label:r,itemTagLabel:$(r),itemTagLink:th,tagItem:{label:r,slug:``}}}),ch=1,lh={views:120,comments:4,likes:12},uh=e=>({nodes:[{type:`PARAGRAPH`,nodes:[{type:`TEXT`,nodes:[],textData:{text:e,decorations:[]}}]}]}),dh=(e,t,n,r)=>$(e===void 0?n?r(t):``:r(e)),fh=(e,t,n)=>e??(n?t:void 0),ph={nodes:[]},mh=()=>({title:$(``),excerpt:$(``),coverImage:void 0,coverMedia:void 0,richContent:ph,authorName:$(``),authorImage:void 0,timeToRead:$(``),publishedDate:$(``),viewCount:$(``),commentCount:$(``),likeCount:$(``),postCategories:[],itemCategoryLabel:$(``),postTags:[],hasCoverImage:!1,hasExcerpt:!1,hasTags:!1,publishedDateValue:void 0,minutesToReadValue:void 0,viewCountValue:void 0,commentCountValue:void 0}),hh=({post:e,author:t,metrics:n,categories:r,tags:i,videoSources:a},o,s,c=!1,l=Date.now(),u={})=>!e&&!c?mh():{title:$(e?.title??o.canvas.postTitle()),excerpt:$(e?.excerpt??o.canvas.excerpt()),coverImage:Qm(e),coverMedia:Zm(e,a),richContent:e?.richContent??uh(o.canvas.content()),authorName:$(t?.profile?.nickname??o.canvas.authorName()),authorImage:Qa(t,o.canvas.authorPhotoAlt()),timeToRead:$(typeof e?.minutesToRead==`number`&&e.minutesToRead>0?o.timeToRead(e.minutesToRead):c?o.timeToRead(ch):``),publishedDate:$(Hm(e?.firstPublishedDate??new Date(l),s,l)),viewCount:dh(n?.views,lh.views,c,o.viewCount),commentCount:dh(n?.comments,lh.comments,c,o.commentCount),likeCount:dh(n?.likes,lh.likes,c,o.likeCount),postCategories:r.length===0&&c?ih(o):r.map(e=>nh(e,u.category)),itemCategoryLabel:$(r[0]?.label??(c?o.canvas.category():``)),postTags:i.length===0&&c?sh(o):i.map(e=>ah(e,u.tag)),hasCoverImage:!e||e.media?.displayed!==!1&&Qm(e)!==void 0,hasExcerpt:!e||!!e.excerpt?.trim(),hasTags:!e||i.length>0,publishedDateValue:Pm(e?.firstPublishedDate)??(c?`2026-05-12T12:00:00.000Z`:void 0),minutesToReadValue:Fm(e?.minutesToRead)??(c?ch:void 0),viewCountValue:fh(n?.views,lh.views,c),commentCountValue:fh(n?.comments,lh.comments,c)},gh=({postWithAuthor:e,hasError:t,monitoringClient:n,isPostInPreview:r,postPageBase:i})=>{let{t:a}=Ul(),o=Am(),s=u(()=>Mm(a,o),[a,o]),c=mm(e.fetchedAt),l=$n(),{isLiked:d,likeCount:f,isLikeCountLoaded:p,viewCount:m,commentCount:h,toggleLike:g,liveLikes:_}=km(e.post?._id??void 0,e.metrics?.likes??0,r,n),v=fm(Ca),y=fm(`tag`),b=u(()=>Qp(e.post),[e]),x=No(),S=u(()=>e.post?.richContent&&e.paywall?jo(e.post.richContent,e.paywall,x):void 0,[e,x]);return u(()=>{let n=hh(!e.post&&l&&e.demoPost?{...e,post:e.demoPost}:e,s,o,l,c,{category:v,tag:y}),a=r||!e.post?void 0:Ma(e.post,i),u=a??(l?Nm(i):void 0);return{...n,...S&&{richContent:S},relatedPostsSource:b,commentingEnabled:e.post?.commentingEnabled??void 0,viewCountValue:m??n.viewCountValue,commentCountValue:h??n.commentCountValue,itemLink:u,postUrl:a?.href,...e.post&&(e.metrics?.likes!==void 0||p)?{likeCount:$(s.likeCount(f))}:{},isLiked:d,likeCountValue:f,isLikeCountLoaded:p,toggleLike:g,liveLikes:_,clockValue:c,isLoadingPost:!1,hasError:t,isEmpty:!e.post&&!l}},[e,t,b,S,s,o,c,f,d,p,m,h,g,_,l,r,i,v,y])},_h=e=>({post:e,hasError:!1}),vh=()=>({post:{post:void 0,author:void 0,metrics:void 0,categories:[],tags:[],fetchedAt:Date.now()},hasError:!0}),yh=e=>{throw e},bh={...mh(),isLiked:!1,likeCountValue:0,isLikeCountLoaded:!1,toggleLike:async()=>{},liveLikes:void 0,postUrl:void 0,itemLink:void 0,clockValue:0,relatedPostsSource:{currentPostId:void 0,categoryIds:void 0,relatedPostIds:void 0},commentingEnabled:void 0,isLoadingPost:!0,hasError:!1,isEmpty:!1},xh={...bh,richContent:uh(``)},Sh=e=>e?xh:bh,Ch={...bh,isLoadingPost:!1,hasError:!0,isEmpty:!0};function wh(){return t()}var Th=({source:e,children:t})=>h(dm.Provider,{value:void 0,children:h(um.Provider,{value:e,children:t})}),Eh=2500,Dh=({children:t,postLoadPromise:n,relatedSourcePromise:r,monitoringClient:i,slug:a,language:o,isPostInPreview:c})=>{let{post:l,hasError:u}=Un(n),d=ba(l,s(()=>zp(a,!1,o),[a,o]));So(d,c,i),Fo(a&&d.post?.slug===a&&!c?d.post:void 0,o,$p);let{_id:f}=d.post??{};ma(c?void 0:f??void 0);let p=gh({postWithAuthor:d,hasError:u,monitoringClient:i,isPostInPreview:c,postPageBase:Pa(a)});return Ha(Ba.postBySlugProvider,u?`error`:d.post?`data`:`empty`),h(e,{value:p,children:h(Th,{source:r,children:t})})};function Oh({children:t}){let n=La(),i=za(),a=wo(),o=ha(),{draftPostId:s,instance:c}=n??{},l=$n(),d=Lo(),f=u(()=>Ka(Vn),[]),{i18n:p,locale:m}=np(ap),_=_a(()=>{let e=s&&c?tm(lm({draftPostId:s,instance:c},o)):$l({key:i?`blog-builder:post:${i}|${a??``}`:null,warmupData:d,fetchData:()=>{let e=Xp(i,o,a).then(e=>l?qp(e,a):e);return tm(Ya(f,`post-read`,{feature:Ga.post},o?jp(e,Eh,`post`):e))}}),t=e.then(({post:e})=>Qp(e));return t.catch(()=>{}),{slug:i,language:a,isPostInPreview:!!s,postLoadPromise:Gn(e,_h,o?yh:vh),relatedSourcePromise:t}},[s,c,a,i,o,l,d,f]);return h(Wl,{i18n:p,children:g(r,{fallback:h(e,{value:Sh(l),children:h(Th,{source:_.relatedSourcePromise,children:t})}),children:[h(tp,{i18n:p,locale:m}),h(em,{fallback:h(e,{value:Ch,children:h(Th,{source:_.relatedSourcePromise,children:t})}),feature:Ga.post,monitoringClient:f,rethrow:o,children:h(Dh,{postLoadPromise:_.postLoadPromise,relatedSourcePromise:_.relatedSourcePromise,monitoringClient:f,slug:_.isPostInPreview?void 0:_.slug,language:_.language,isPostInPreview:_.isPostInPreview,children:t})})]})})}var kh=Pn(`12ed204c-821c-4ce9-802b-8bfe8e98d7e2`);export{Oh as PostBySlugProvider,Oh as default,kh as injectAccessTokenGetter,wh as usePostBySlugContext};
|
|
5
|
+
//# sourceMappingURL=context-provider-12ed204c-821c-4ce9-802b-8bfe8e98d7e2-nTMa3HEp.js.map
|