PageSourceSearch

https://wewritespeeches.ai/_next/static/chunks/pages/blog-bb30d4ed1e192b69.js

js wewritespeeches.ai collected 2026-10-05 15:59:01 UTC 27,246 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9195],{10129:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"}},68997:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"}},32253:function(e,t,n){"use strict";var a=n(64836),o=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n(42122)),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=_getRequireWildcardCache(t);if(n&&n.has(e))return n.get(e);var a={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var l=i?Object.getOwnPropertyDescriptor(e,r):null;l&&(l.get||l.set)?Object.defineProperty(a,r,l):a[r]=e[r]}return a.default=e,n&&n.set(e,a),a}(n(67294)),l=a(n(10129)),s=a(n(92074));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_getRequireWildcardCache=function(e){return e?n:t})(e)}var CalendarOutlined=function(e,t){return r.createElement(s.default,(0,i.default)((0,i.default)({},e),{},{ref:t,icon:l.default}))};CalendarOutlined.displayName="CalendarOutlined";var c=r.forwardRef(CalendarOutlined);t.default=c},95642:function(e,t,n){"use strict";var a=n(64836),o=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n(42122)),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=_getRequireWildcardCache(t);if(n&&n.has(e))return n.get(e);var a={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var l=i?Object.getOwnPropertyDescriptor(e,r):null;l&&(l.get||l.set)?Object.defineProperty(a,r,l):a[r]=e[r]}return a.default=e,n&&n.set(e,a),a}(n(67294)),l=a(n(68997)),s=a(n(92074));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_getRequireWildcardCache=function(e){return e?n:t})(e)}var ClockCircleOutlined=function(e,t){return r.createElement(s.default,(0,i.default)((0,i.default)({},e),{},{ref:t,icon:l.default}))};ClockCircleOutlined.displayName="ClockCircleOutlined";var c=r.forwardRef(ClockCircleOutlined);t.default=c},59018:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}},89552:function(e,t,n){"use strict";var a=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(94184)),r=n(42189),l=o(n(18475)),s=a(n(67294)),c=n(31929),d=n(47419),u=o(n(9405)),__rest=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let g=null,Spin=e=>{let{spinPrefixCls:t,spinning:n=!0,delay:a=0,className:o,rootClassName:u,size:p="default",tip:m,wrapperClassName:f,style:h,children:y,hashId:v}=e,b=__rest(e,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[x,S]=s.useState(()=>n&&(!n||!a||!!isNaN(Number(a))));s.useEffect(()=>{if(n){let e=(0,r.debounce)(a,()=>{S(!0)});return e(),()=>{var t;null===(t=null==e?void 0:e.cancel)||void 0===t||t.call(e)}}S(!1)},[a,n]);let C=s.useMemo(()=>void 0!==y,[y]),{direction:w}=s.useContext(c.ConfigContext),j=(0,i.default)(t,{[`${t}-sm`]:"small"===p,[`${t}-lg`]:"large"===p,[`${t}-spinning`]:x,[`${t}-show-text`]:!!m,[`${t}-rtl`]:"rtl"===w},o,u,v),_=(0,i.default)(`${t}-container`,{[`${t}-blur`]:x}
1),O=(0,l.default)(b,["indicator","prefixCls"]),k=s.createElement("div",Object.assign({},O,{style:h,className:j,"aria-live":"polite","aria-busy":x}),function(e,t){let{indicator:n}=t,a=`${e}-dot`;return null===n?null:(0,d.isValidElement)(n)?(0,d.cloneElement)(n,{className:(0,i.default)(n.props.className,a)}):(0,d.isValidElement)(g)?(0,d.cloneElement)(g,{className:(0,i.default)(g.props.className,a)}):s.createElement("span",{className:(0,i.default)(a,`${e}-dot-spin`)},s.createElement("i",{className:`${e}-dot-item`}),s.createElement("i",{className:`${e}-dot-item`}),s.createElement("i",{className:`${e}-dot-item`}),s.createElement("i",{className:`${e}-dot-item`}))}(t,e),m?s.createElement("div",{className:`${t}-text`},m):null);return C?s.createElement("div",Object.assign({},O,{className:(0,i.default)(`${t}-nested-loading`,f,v)}),x&&s.createElement("div",{key:"loading"},k),s.createElement("div",{className:_,key:"container"},y)):k},SpinFC=e=>{let{prefixCls:t}=e,{getPrefixCls:n}=s.useContext(c.ConfigContext),a=n("spin",t),[o,i]=(0,u.default)(a),r=Object.assign(Object.assign({},e),{spinPrefixCls:a,hashId:i});return o(s.createElement(Spin,Object.assign({},r)))};SpinFC.setDefaultIndicator=e=>{g=e},t.default=SpinFC},9405:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(27431),o=n(3184),i=n(98078);let r=new a.Keyframes("antSpinMove",{to:{opacity:1}}),l=new a.Keyframes("antRotate",{to:{transform:"rotate(405deg)"}}),genSpinStyle=e=>({[`${e.componentCls}`]:Object.assign(Object.assign({},(0,i.resetComponent)(e)),{position:"absolute",display:"none",color:e.colorPrimary,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${e.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${e.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-e.spinDotSize/2},[`${e.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(e.spinDotSize-e.fontSize)/2+2,textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSize/2)-10},"&-sm":{[`${e.componentCls}-dot`]:{margin:-e.spinDotSizeSM/2},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeSM-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeSM/2)-10}},"&-lg":{[`${e.componentCls}-dot`]:{margin:-(e.spinDotSizeLG/2)},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeLG-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeLG/2)-10}}},[`${e.componentCls}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${e.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${e.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:e.spinDotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(e.spinDotSize-e.marginXXS/2)/2,height:(e.spinDotSize-e.marginXXS/2)/2,backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:r,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:l,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeSM,i:{width:(e.spinDotSizeSM-e.marginXXS/2)/2,height:(e.spinDotSizeSM-e.marginXXS/2)/2}},[`&-lg ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeLG,i:{width:(e.spinDotSizeLG-e.marginXXS)/2,height:(e.spinDotSizeLG-e.marginXXS)/2}},[`&${e.componentCls}-show-text ${e.componentCls}-text`]:{display:"block"}})});var s=(0,o.genComponentStyleHook)("Spin",e=>{let t=(0,o.mergeToken)(e,{spinDotDefault:e.colorTextDescription,spinDotSize:e.controlHeightLG/2,spinDotSizeSM:.35*e.controlHeightLG,spinDotSizeLG:e.controlHeight});return[genSpinStyle(t)]},{contentHeight:400});t.default=s},83514:function(e,t,n){"use strict";var a=n(75263).default,o=n(64836).default;
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(94184)),r=a(n(67294)),l=n(31929),s=o(n(77785)),__rest=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};t.default=e=>{var{prefixCls:t,className:n,checked:a,onChange:o,onClick:c}=e,d=__rest(e,["prefixCls","className","checked","onChange","onClick"]);let{getPrefixCls:u}=r.useContext(l.ConfigContext),g=u("tag",t),[p,m]=(0,s.default)(g),f=(0,i.default)(g,{[`${g}-checkable`]:!0,[`${g}-checkable-checked`]:a},n,m);return p(r.createElement("span",Object.assign({},d,{className:f,onClick:e=>{null==o||o(!a),null==c||c(e)}})))}},59361:function(e,t,n){"use strict";var a=n(75263).default,o=n(64836).default;t.Z=void 0;var i=o(n(40753)),r=o(n(94184)),l=a(n(67294)),s=n(31929),c=n(45471),d=o(n(32258));o(n(13594));var u=o(n(83514)),g=o(n(77785)),__rest=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let p=l.forwardRef((e,t)=>{var{prefixCls:n,className:a,rootClassName:o,style:u,children:p,icon:m,color:f,onClose:h,closeIcon:y,closable:v=!1}=e,b=__rest(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable"]);let{getPrefixCls:x,direction:S}=l.useContext(s.ConfigContext),[C,w]=l.useState(!0);l.useEffect(()=>{"visible"in b&&w(b.visible)},[b.visible]);let j=(0,c.isPresetColor)(f)||(0,c.isPresetStatusColor)(f),_=Object.assign({backgroundColor:f&&!j?f:void 0},u),O=x("tag",n),[k,$]=(0,g.default)(O),P=(0,r.default)(O,{[`${O}-${f}`]:j,[`${O}-has-color`]:f&&!j,[`${O}-hidden`]:!C,[`${O}-rtl`]:"rtl"===S},a,o,$),handleCloseClick=e=>{e.stopPropagation(),null==h||h(e),e.defaultPrevented||w(!1)},z="function"==typeof b.onClick||p&&"a"===p.type,D=m||null,E=D?l.createElement(l.Fragment,null,D,l.createElement("span",null,p)):p,T=l.createElement("span",Object.assign({},b,{ref:t,className:P,style:_}),E,v?y?l.createElement("span",{className:`${O}-close-icon`,onClick:handleCloseClick},y):l.createElement(i.default,{className:`${O}-close-icon`,onClick:handleCloseClick}):null);return k(z?l.createElement(d.default,null,T):T)});p.CheckableTag=u.default,t.Z=p},77785:function(e,t,n){"use strict";var a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(3184),i=a(n(59018)),r=n(98078);let genTagStatusStyle=(e,t,n)=>{let a=(0,i.default)(n);return{[`${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${a}Bg`],borderColor:e[`color${a}Border`]}}},genPresetStyle=e=>(0,o.genPresetColor)(e,(t,n)=>{let{textColor:a,lightBorderColor:o,lightColor:i,darkColor:r}=n;return{[`${e.componentCls}-${t}`]:{color:a,background:i,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:r,borderColor:r}}}}),genBaseStyle=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:a,componentCls:o}=e,i=a-n;return{[o]:Object.assign(Object.assign({},(0,r.resetComponent)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:`${e.tagLineHeight}px`,whiteSpace:"nowrap",background:e.tagDefaultBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.tagDefaultColor},[`${o}-close-icon`]:{marginInlineStart:t-n,color:e.colorTextDescription,fontSize:e.tagIconSize,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",curs
1or:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:i}})}};var l=(0,o.genComponentStyleHook)("Tag",e=>{let{fontSize:t,lineHeight:n,lineWidth:a,fontSizeIcon:i}=e,r=e.fontSizeSM,l=e.colorFillAlter,s=e.colorText,c=(0,o.mergeToken)(e,{tagFontSize:r,tagLineHeight:Math.round(t*n)-2*a,tagDefaultBg:l,tagDefaultColor:s,tagIconSize:i-2*a,tagPaddingHorizontal:8});return[genBaseStyle(c),genPresetStyle(c),genTagStatusStyle(c,"success","Success"),genTagStatusStyle(c,"processing","Info"),genTagStatusStyle(c,"error","Error"),genTagStatusStyle(c,"warning","Warning")]});t.default=l},67801:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog",function(){return n(3931)}])},26771:function(e,t,n){"use strict";function imagekitLoader(e){let{src:t,width:n,quality:a}=e;if(t.includes("ik.imagekit.io")){let e=[];n&&e.push("w-".concat(n)),e.push("q-".concat(a||75));let o=t.includes("?")?"&":"?",i=e.join(",");return"".concat(t).concat(o,"tr=").concat(i)}return t}n.r(t),n.d(t,{default:function(){return imagekitLoader}})},3931:function(e,t,n){"use strict";n.r(t);var a=n(85893),o=n(67294),i=n(11163),r=n(9008),l=n.n(r),s=n(17e3),c=n(53740),d=n(55673),u=n(5789),g=n(70302),p=n(51024),m=n(69843),f=n(74048),h=n(89552),y=n(36671),v=n(59361),b=n(38614),x=n(7737),S=n(32253),C=n(95642),w=n(41664),j=n.n(w),_=n(25675),O=n.n(_),k=n(68176),$=n(12766),P=n.n($);let{Title:z,Paragraph:D,Text:E}=c.default,{Search:T}=p.default;t.default=()=>{var e,t;let n=b.default.useBreakpoint(),r=(0,i.useRouter)(),[c,w]=(0,o.useState)(""),[_,$]=(0,o.useState)(""),[N,M]=(0,o.useState)(""),[B,Z]=(0,o.useState)(""),[I,R]=(0,o.useState)(1),L=(0,o.useRef)(null);(0,o.useEffect)(()=>{let{search:e,category:t,tag:n,page:a}=r.query;if(e&&w(e),t&&$(t),void 0!==n){let e=n||"";M(e),Z(e)}a&&R(Number(a))},[r.query]);let{data:F,isLoading:H,error:A}=(0,s.a)({queryKey:["blog-categories"],queryFn:()=>k.Z.getCategories(),staleTime:864e5,cacheTime:1728e5,refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:1}),W=Array.isArray(F)?F:[],q={page:I,page_size:12};c&&(q.search=c),_&&(q.category=_),N&&(q.tag=N);let{data:Q,isLoading:X,error:U}=(0,s.a)({queryKey:["blog-posts",q],queryFn:()=>k.Z.getPosts(q),staleTime:864e5,cacheTime:1728e5,refetchOnWindowFocus:!1,refetchOnReconnect:!1}),handleCategoryChange=e=>{$(e),R(1),updateURL({category:e||void 0,page:void 0})},updateURL=e=>{let t={...r.query};Object.entries(e).forEach(e=>{let[n,a]=e;void 0===a||""===a?delete t[n]:t[n]=String(a)});let toQueryString=e=>Object.keys(e).sort().map(t=>"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(String(e[t])))).join("&"),n=toQueryString(t),a=toQueryString(r.query);n!==a&&r.push({pathname:r.pathname,query:t},void 0,{shallow:!0})},applyTagFilter=e=>{M(e),R(1),updateURL({tag:e||void 0,page:void 0})},formatDate=e=>{let t=new Date(e);return t.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})},G=null!==(t=null==Q?void 0:Q.count)&&void 0!==t?t:0,V=_&&W.some(e=>e.slug===_)?_:"",K=H?"Loading categories…":A?"Categories unavailable":0===W.length?"No categories available":"Filter by category",J=H||null!==A||!H&&0===W.length,Y=G>12,ee=Y?"".concat((I-1)*12+1,"-").concat(Math.min(12*I,G)," of ").concat(G," posts"):"",et=!!n.md;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(l(),{children:[(0,a.jsx)("title",{children:"Blog | wewritespeeches.com"}),(0,a.jsx)("meta",{name:"description",content:"Read our latest blog posts about wedding speeches, planning tips, speech writing advice, and wedding planning insights."}),(0,a.jsx)("meta",{name:"keywords",content:"wedding speech blog, speech writing tips, wedding planning advice, speech examples, wedding speeches"}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{property:"og:url",content:"https://www.wewritespeeches.com/blog"}),(0,a.jsx)("meta",{property:"og:title",content:"Blog | wewritespeeches.com"}),(0,a.jsx)("meta",{property:"og:description",content:"Read our latest blog posts about wedding speeches, planning tips, speech writing advice, and wedding planning insights."}),(0,a.jsx)("meta",{property:"og:image",content:"https://ik.imagekit.io/wws/og/wws_og_image.png"}),(0,a.jsx)("link",{rel:"canonical",href:"https://www.wewritespeeches.com/blog"})]}),(0,a.jsxs)("div",{style:{maxWidth:1200,margin:"0 auto",padding:"48px 24px 24px 24px"},children:[(0,a.jsx)(z,{level:1,style:{textAlign:"center",marginBottom:"40px"},children:"Blog"}),(0,a.jsxs)(d.Z,{gutter:[16,16],style:{marginBottom:"40px"},children:[(0,a.jsx)(u.Z,{xs:24,sm:24,md:12,lg:10,children:(0,a.jsx)(T,{placeholder:"Search blog posts...",allowClear:!0,enterButton:(0,a.jsx)(x.default,{}),size:"large",value:c,onChange:e=>w(e.target.value),onSearch:e=>{w(e),R(1),updateURL({search:e||void 0,page:void 0})}})}),(0,a.jsx)(u.Z,{xs:24,sm:12,md:6,lg:7,children:(0,a.jsxs)("select",{className:P().blogCategoryNativeSelect,value:V,onChange:e=>handleCategoryChange(e.target.value),disabled:J,"aria-label":"Filter by category",children:[(0,a.jsx)("option",{value:"",children:K}),W.map(e=>(0,a.jsx)("option",{value:e.slug,children:e.name},e.id))]})}),(0,a.jsx)(u.Z,{xs:24,sm:12,md:6,lg:7,children:(0,a.jsx)(p.default,{ref:L,placeholder:"Filter by tag",size:"large",value:B,onChange:e=>{let t=e.target.value;Z(t),""===t&&applyTagFilter("")},onBlur:()=>{applyTagFilter(B)},onPressEnter:()=>{applyTagFilter(B),requestAnimationFrame(()=>{var e,t;let n=null!==(t=null===(e=L.current)||void 0===e?void 0:e.input)&&void 0!==t?t:L.current;n&&"function"==typeof n.focus&&n.focus()})},allowClear:!0})})]}),(c||_||N)&&(0,a.jsx)(d.Z,{style:{marginBottom:"20px"},children:(0,a.jsx)(u.Z,{span:24,children:(0,a.jsxs)(f.default,{wrap:!0,children:[(0,a.jsx)(E,{strong:!0,children:"Active filters:"}),c&&(0,a.jsxs)(v.Z,{closable:!0,onClose:()=>{w(""),updateURL({search:void 0})},children:["Search: ",c]}),_&&(0,a.jsxs)(v.Z,{closable:!0,onClose:()=>{$(""),updateURL({category:void 0})},children:["Category: ",null===(e=W.find(e=>e.slug===_))||void 0===e?void 0:e.name]}),N&&(0,a.jsxs)(v.Z,{closable:!0,onClose:()=>{Z(""),applyTagFilter("")},children:["Tag: ",N]})]})})})]}),(0,a.jsx)("div",{style:{width:"100%",padding:"0 24px 48px 24px"},children:(0,a.jsxs)("div",{style:{maxWidth:1600,margin:"0 auto"},children:[X&&!Q&&(0,a.jsx)("div",{style:{textAlign:"center",padding:"60px 0"},children:(0,a.jsx)(h.default,{size:"large"})}),!!U&&!Q&&(0,a.jsx)(y.default,{description:"Failed to load blog posts. Please try again later.",style:{padding:"60px 0"}}),Q&&(0,a.jsx)(a.Fragment,{children:0===Q.results.length?(0,a.jsx)(y.default,{description:"No blog posts found. Try adjusting your filters.",style:{padding:"60px 0"}}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.Z,{gutter:[24,24],children:Q.results.map(e=>{var t;return(0,a.jsx)(u.Z,{xs:24,sm:12,md:8,lg:6,children:(0,a.jsx)(j(),{href:"/blog/".concat(e.slug),children:(0,a.jsxs)(g.Z,{hoverable:!0,cover:e.featured_image||e.cover_image?(0,a.jsx)("div",{style:{position:"relative",height:"220px",overflow:"hidden"},children:(null===(t=e.featured_image||e.cover_image)||void 0===t?void 0:t.includes("ik.imagekit.io"))?(0,a.jsx)(O(),{src:e.featured_image||e.cover_image||"",alt:e.title,fill:!0,style:{objectFit:"cover"},unoptimized:!1}):(0,a.jsx)("img",{src:e.featured_image||e.cover_image||"",alt:e.title,style:{width:"100%",height:"100%",objectFit:"cover"}})}):(0,a.jsx)("div",{style:{height:"220px",background:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,a.jsx)(E,{style:{color:"white",fontSize:"48px"},children:"\uD83D\uDCDD"})}),bodyStyle:{padding:"16px"},children:[(0,a.jsx)("div",{style:{marginBottom:"8px"},children:e.categories.map(e=>(0,a.jsx)(v.Z,{color:"blue",style:{marginBottom:"4px",marginRight:"4px"},children:e.name},e.id))}),(0,a.jsx)(z,{level:4,style:{marginBottom:"8px",fontSize:"18px",lineHeight:"1.4"},children:e.title}),e.excerpt&&(0,a.jsx)(D,{ellipsis:{rows:2},style:{marginBottom:"8px",color:"#666",fontSize:"14px",lineHeight:"1.5"},children:e.excerpt}),(0,a.jsxs)(f.default,{wrap:!0,style:{fontSize:"12px",color:"#999"},children:[(0,a.jsxs)(f.default,{children:[(0,a.jsx)(S.default,{}),(0,a.jsx)(E,{children:formatDate(e.published_at||e.published_date||"")})]}),e.read_time&&(0,a.jsxs)(f.default,{children:[(0,a.jsx)(C.default,{}),(0,a.jsxs)(E,{children:[e.read_time," min read"]})]})]})]})})},e.id)})}),Y&&(0,a.jsxs)("div",{style:{marginTop:40,display:"flex",flexDirection:et?"row":"column",alignItems:et?"center":"stretch",justifyContent:et?"space-between":"center",gap:12,flexWrap:"wrap"},children:[(0,a.jsx)(E,{type:"secondary",style:{textAlign:et?"left"
1:"center",width:et?"auto":"100%"},children:ee}),(0,a.jsx)(m.default,{current:I,total:G,pageSize:12,onChange:e=>{R(e),updateURL({page:e>1?e:void 0}),window.scrollTo({top:0,behavior:"smooth"})},showSizeChanger:!1,showLessItems:!et,responsive:!0,size:et?"default":"small",style:{alignSelf:et?"auto":"center"}})]})]})})]})})]})}},68176:function(e,t,n){"use strict";n.d(t,{Z:function(){return BlogService}});var a=n(82120);let BlogService=class BlogService{static buildQueryString(e){let t=new URLSearchParams;return t.append("brand","wws"),e&&Object.entries(e).forEach(e=>{let[n,a]=e;null!=a&&""!==a&&t.append(n,String(a))}),t.toString()}static async getPosts(e){let t={};(null==e?void 0:e.search)&&(t.search=e.search),(null==e?void 0:e.category)&&(t.categories__slug=e.category),(null==e?void 0:e.tag)&&(t.tags__name=e.tag),(null==e?void 0:e.page)&&(t.page=e.page),(null==e?void 0:e.page_size)&&(t.page_size=e.page_size),(null==e?void 0:e.featured)!==void 0&&(t.featured=e.featured);let n=this.buildQueryString(t),o=await a.Z.get("/posts/?".concat(n));return o.data}static async getPostById(e){let t=await a.Z.get("/posts/".concat(e,"/"));return t.data}static async getPostBySlug(e){let t=this.buildQueryString(),n=await a.Z.get("/posts/by-slug/".concat(e,"/?").concat(t));return n.data}static async searchPosts(e,t){let n={search:e};t&&(n.page=t);let o=this.buildQueryString(n),i=await a.Z.get("/posts/?".concat(o));return i.data}static async getPostsByCategory(e,t){let n={categories__slug:e};t&&(n.page=t);let o=this.buildQueryString(n),i=await a.Z.get("/posts/?".concat(o));return i.data}static async getPostsByTag(e,t){let n={tags__name:e};t&&(n.page=t);let o=this.buildQueryString(n),i=await a.Z.get("/posts/?".concat(o));return i.data}static async getTagPageBySlug(e,t,n){let o={};t&&(o.page=t),n&&(o.page_size=n);let i=this.buildQueryString(o),r=await a.Z.get("/tag-pages/".concat(e,"/?").concat(i));return r.data}static async getPostsGeo(e,t,n){let o={};void 0!==e&&(o.lat=e),void 0!==t&&(o.lng=t),void 0!==n&&(o.radius_km=n);let i=this.buildQueryString(o),r=await a.Z.get("/posts/geo/?".concat(i));return r.data}static async getPostsNear(e,t,n,o){let i={};void 0!==n&&(i.radius_km=n),void 0!==o&&(i.limit=o);let r=this.buildQueryString(i),l=await a.Z.get("/posts/near/".concat(e,"/").concat(t,"/?").concat(r));return l.data}static async getPostsByViatorTag(e){let t=this.buildQueryString(),n=await a.Z.get("/posts/by-viator-tag/".concat(e,"/?").concat(t));return n.data}static async getPostsBySubcategory(e){let t=this.buildQueryString(),n=await a.Z.get("/posts/by-subcategory/".concat(e,"/?").concat(t));return n.data}static async getCategories(){let e=this.buildQueryString(),t=await a.Z.get("/categories/?".concat(e)),n=t.data;return Array.isArray(n)?n:n&&Array.isArray(n.results)?n.results:[]}static async getCategoryById(e){let t=this.buildQueryString(),n=await a.Z.get("/categories/".concat(e,"/?").concat(t));return n.data}static async getPostComments(e){let t=await a.Z.get("/posts/".concat(e,"/comments/"));return t.data}static async createComment(e,t){let n=await a.Z.post("/posts/".concat(e,"/comments/"),t);return n.data}};BlogService.BRAND_PARAM="brand=wws"},12766:function(e){e.exports={blogCategoryNativeSelect:"blog_blogCategoryNativeSelect__l_GWb"}},42189:function(e,t){"use strict";function throttle(e,t,n){var a,o=n||{},i=o.noTrailing,r=void 0!==i&&i,l=o.noLeading,s=void 0!==l&&l,c=o.debounceMode,d=void 0===c?void 0:c,u=!1,g=0;function clearExistingTimeout(){a&&clearTimeout(a)}function wrapper(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];var l=this,c=Date.now()-g;function exec(){g=Date.now(),t.apply(l,o)}function clear(){a=void 0}!u&&(s||!d||a||exec(),clearExistingTimeout(),void 0===d&&c>e?s?(g=Date.now(),r||(a=setTimeout(d?clear:exec,e))):exec():!0!==r&&(a=setTimeout(d?clear:exec,void 0===d?e-c:e)))}return wrapper.cancel=function(e){var t=(e||{}).upcomingOnly;clearExistingTimeout(),u=!(void 0!==t&&t)},wrapper}Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=function(e,t,n){var a=(n||{}).atBegin;return throttle(e,t,{debounceMode:!1!==(void 0!==a&&a)})},t.throttle=throttle}},function(e){e.O(0,[1350,302,1024,5675,9843,9774,2888,179],function(){return e(e.s=67801)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.