PageSourceSearch

https://nestinginnashville.com/chunk-YAZ5LVM7.js

js nestinginnashville.com collected 2026-09-25 06:17:51 UTC 10,543 bytes, 2 lines download raw bytes

1import{a as V}from"./chunk-ZJKB2UYT.js";import{a as Q}from"./chunk-4G7TLVZ5.js";import{c as Y}from"./chunk-YMHLAESD.js";import"./chunk-AMB5OETS.js";import"./chunk-VNP2K7FT.js";import"./chunk-AWKAOP4Q.js";import{a as N}from"./chunk-LYLFRCIE.js";import{d as D}from"./chunk-3ZT7DYNP.js";import{d as A,i as _,n as q}from"./chunk-LJVWLVVB.js";import"./chunk-DP76YC53.js";import{A as g,y as $}from"./chunk-SW2PCWOQ.js";import{Cc as R,Db as C,Ea as f,Jb as P,Kb as T,Lb as I,Mb as S,Qb as k,Vb as M,Wb as H,Xa as y,Xb as E,gc as L,ib as w,ld as j,mc as z,nc as B,ob as x,oc as O,ta as l,tb as v,xa as u}from"./chunk-FFQH2GOQ.js";var X=["contentWrapper"];function J(d,a){if(d&1&&(M(0,"div",2),E(1,"div",3,0),H()),d&2){let h=L();T("background",h.options.bg_color||"transparent"),I("blog-content",h.isBlogPost),x(),S("text-align: "+h.textAlignment),P("innerHTML",h.content,w)}}var mt=(()=>{let a=class a{constructor(){this.scriptTags=[],this.iframeTags=[],this.youtubeComponents=[],this.youtubePlaceholderPrefix="youtube-placeholder-".concat(Y.generateUUID()),this.placeholderIdPrefix="script-placeholder-",this.isPropertyPage=!1,this.isBlogPost=!1,this.textAlignment="justify",this.originalContent=null,this.originalHTML=null,this.subscriptions={},this.sanitizer=l(A),this.platformId=l(y),this.injector=l(f),this.router=l(q),this.loadingCoordinatorService=l(Q),this.pageBuilderService=l(N),this.globalService=l(D),this.renderer=l(v)}ngOnInit(){var o;this.isPropertyPage=this.checkIfPropertyPage();let e=(o=this.options)==null?void 0:o.content;if(e){let t=e;this.originalContent=t,t=this.processYouTubeIframes(t),t=this.extractIframes(t);let n=/<script\b[^>]*>.*?<\/script>/gi,i;for(;(i=n.exec(e))!==null;){let r=i[0],m=r.match(/src="([^"]+)"/),c=m?m[1]:null,p="".concat(this.placeholderIdPrefix).concat(this.scriptTags.length),s='<div id="'.concat(p,'"></div>');t=t.replace(r,s),this.scriptTags.push({src:c,placeholder:p})}this.content=this.sanitizer.bypassSecurityTrustHtml(t)}this.routerSubscription=this.router.events.subscribe(t=>{t instanceof _&&(this.isPropertyPage=this.checkIfPropertyPage(),this.isPropertyPage&&this.originalContent?this.modifyHeadingsToH6():this.restoreOriginalHeadings())}),this.subscriptions.pageSettings=this.pageBuilderService.getSettings.subscribe(t=>{this.isBlogPost=t.pageLayoutType==="blog-page"}),this.loadingCoordinatorService.markAsLoaded(),this.subscriptions.editorSettings=this.globalService.editorSettings.subscribe(t=>{this.textAlignment=(t==null?void 0:t.default_text_alignment)||"justify"})}modifyHeadingsToH6(){var t;let e=(t=this.contentWrapper)==null?void 0:t.nativeElement;if(!e||(this.originalHTML||(this.originalHTML=e.innerHTML),!e.querySelector("h1, h2, h3, h4, h5")))return;e.querySelectorAll("h1, h2, h3, h4, h5").forEach(n=>{let i=this.renderer.createElement("h6");i.innerHTML=n.innerHTML,this.renderer.insertBefore(n.parentNode,i,n),this.renderer.removeChild(n.parentNode,n)})}restoreOriginalHeadings(){this.originalHTML&&(this.contentWrapper.nativeElement.innerHTML=this.originalHTML,this.createYoutubeComponents(),this.originalHTML=null)}checkIfPropertyPage(){let e=this.router.url,o=/\/home\/[\w-]+-\d{5,}/;return this.isPropertyPage=o.test(e),o.test(e)}processYouTubeIframes(e){let o=/<iframe[^>]+src=["']([^"']*youtube\.com\/embed\/[^"']+)["'][^>]*>[\s\S]*?<\/iframe>/gi,t,n=e,i=0;for(;(t=o.exec(e))!==null;){let r=t[0],m=this.extractVideoId(t[1]),c=r.match(/width="([^"]*)"/),p=r.match(/height="([^"]*)"/),s=r.match(/title="([^"]*)"/),W=c?c[1]:"600",F=p?p[1]:"350",U=s?s[1]:"",b="".concat(this.youtubePlaceholderPrefix).concat(i);this.youtubeComponents.push({placeholder:b,props:{videoId:m,width:W,height:F,title:U}});let G='<div id="'.concat(b,'"></div>');n=n.replace(r,G),i++}return n}extractVideoId(e){let[o]=e.split("?"),t=o.match(/\/embed\/([^\/]+)$/);return t?t[1]:o}ngAfterViewInit(){if(!g(this.platformId))return;this.reinsertScripts(),this.reinsertIframes(),this.createYoutubeComponents();let e=!1,o=this.isPropertyModalOpen();o&&!e&&this.modifyHeadingsToH6(),!o&&e&&this.restoreOriginalHeadings(),e=o}extractIframes(e){let o=/<iframe\b[^>]*><\/iframe>/gi,t,n=e;for(;(t=o.exec(e))!==null;){let i=t[0],r="".concat(this.placeholderIdPrefix,"iframe-").concat(this.iframeTags.length),m='<div id="'.concat(r,'"></div>'),c={},p=/(\w+)=["']([^"']+)["']/g,s;for(;(s=p.exec(i))!==null;)c[s[1]]=s[2];this.iframeTags.push({attributes:c,placeholder:r}),n=n.replace(i,m)}return n}
1reinsertIframes(){this.iframeTags.forEach(e=>{var n;let o=document.createElement("iframe");for(let i in e.attributes)o.setAttribute(i,e.attributes[i]);let t=document.getElementById(e.placeholder);t&&((n=t.parentNode)==null||n.insertBefore(o,t),t.remove())})}reinsertScripts(){this.scriptTags.forEach(e=>{var n;let o=document.createElement("script");o.type="text/javascript",o.src=e.src,o.defer=!0;let t=document.getElementById(e.placeholder);t&&((n=t.parentNode)==null||n.insertBefore(o,t),t.remove())})}createYoutubeComponents(){this.youtubeComponents.forEach(e=>{let o=document.getElementById(e.placeholder);if(o){for(;o.firstChild;)o.firstChild.remove();let t=j(V,{environmentInjector:this.injector,hostElement:o});Object.entries(e.props).forEach(([n,i])=>{t.setInput(n,i)}),t.changeDetectorRef.detectChanges()}})}isPropertyModalOpen(){return g(this.platformId)?!!document.querySelector(".property-details-modal"):!1}ngOnDestroy(){this.routerSubscription&&this.routerSubscription.unsubscribe(),Object.values(this.subscriptions).forEach(e=>{e==null||e.unsubscribe()})}};a.\u0275fac=function(o){return new(o||a)},a.\u0275cmp=u({type:a,selectors:[["app-content-area"]],viewQuery:function(o,t){if(o&1&&z(X,5),o&2){let n;B(n=O())&&(t.contentWrapper=n.first)}},inputs:{options:"options"},standalone:!0,features:[R],decls:1,vars:1,consts:[["contentWrapper",""],[1,"tiny-editor-container",3,"blog-content","background"],[1,"tiny-editor-container"],[1,"content-wrapper",3,"innerHTML"]],template:function(o,t){o&1&&C(0,J,3,7,"div",1),o&2&&k(t.options?0:-1)},dependencies:[$],styles:[".content-wrapper{width:100%;max-width:100%;overflow:hidden}.list-container{container:list-container/inline-size;display:flex;flex-wrap:wrap}.list{width:100%;display:flex;justify-content:center}@container list-container (min-width: 600px){.list{width:50%;display:block}}@container list-container (min-width: 800px){.list{width:33%}}@container list-container (min-width: 1200px){.list{width:25%}}@container list-container (min-width: 1800px){.list{width:20%}}@container list-container (min-width: 2200px){.list{width:16%}}.blog-content{font-size:18px;line-height:1.6;margin:0 auto}.blog-content *:first-child{margin-top:0!important}.blog-content *+*{margin-top:1.5rem}.blog-content .row>[class*=col]+[class*=col]{margin-top:0!important}.blog-content .row{row-gap:1.5rem}.blog-content h1,.blog-content h2,.blog-content h3,.blog-content h4,.blog-content h5,.blog-content h6{font-weight:700;line-height:1.3;margin-top:2.5rem;margin-bottom:1rem}.blog-content h1{font-size:2.5rem;margin-top:3.2rem}.blog-content h2{font-size:2rem;margin-top:3rem;padding-bottom:.5rem}.blog-content h3{font-size:1.5rem;margin-top:2.25rem}.blog-content h4{font-size:1.25rem}.blog-content h5{font-size:1.1rem}.blog-content h6{font-size:1rem;text-transform:uppercase;letter-spacing:1px}.blog-content p{margin-bottom:1.5rem}.blog-content h1+p,.blog-content h2+p,.blog-content h3+p,.blog-content h4+p,.blog-content h5+p,.blog-content h6+p{margin-top:1rem}.blog-content a{color:#06c;text-decoration:none;border-bottom:1px solid transparent;transition:border-color .2s ease}.blog-content a:hover{border-bottom-color:#06c}.blog-content ul,.blog-content ol{padding-left:2rem;margin-bottom:1.5rem}.blog-content ul li,.blog-content ol li{margin-bottom:.75rem}.blog-content ul li ul,.blog-content ul li ol,.blog-content ol li ul,.blog-content ol li ol{margin-top:.75rem;margin-bottom:0}.blog-content ul{list-style-type:disc}.blog-content ul ul{list-style-type:circle}.blog-content ul ul ul{list-style-type:square}.blog-content ol{list-style-type:decimal}.blog-content ol ol{list-style-type:lower-alpha}.blog-content ol ol ol{list-style-type:lower-roman}.blog-content img{max-width:100%;height:auto;display:block;margin:2rem auto;border-radius:4px}.blog-content img+em{display:block;text-align:center;font-size:.9rem;color:#666;margin-top:-1.5rem;margin-bottom:2rem}.blog-content blockquote{border-left:4px solid #0066cc;padding:1rem 0 1rem 1.5rem;margin:2rem 0;font-style:italic;background-color:#0066cc0d;border-radius:0 4px 4px 0}.blog-content blockquote p:last-child{margin-bottom:0}.blog-content blockquote cite{display:block;font-style:normal;font-weight:700;margin-top:1rem;font-size:.9rem}.blog-content pre{background-color:#f5f5f5;border-radius:4px;padding:1rem;overflow-x:auto;font-family:Consolas,Monaco,monospace;font-size:.9rem;margin:1.5rem 0}.blog-content code{background-color:#f5f5f5;padding:.2rem .4rem;border-radius:3px;font-family:Consolas,Monaco,monospace;font-size:.9rem}.blog-content .table-wrapper{overflow-x:auto;display:block;width:100%;max-width:100%}.blog-content table{width:100%;border-collapse:collapse;margin:0;font-size:.9rem;table-layout:fixed}.blog-content table th,.blog-content table td{border:1px solid #ddd;padding:.75rem;text-align:left;word-wrap:break-word;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.blog-content table th{background-color:#f5f5f5;font-weight:700}.blog-content table tr:nth-child(2n){background-color:#fafafa}.blog-content hr{border:0;height:2px;background-color:#eee;opacity:1;margin:1rem 0 0}.blog-content [id^=datawrapper-vis-]{margin:2.5rem 0;max-width:100%;overflow:hidden}.blog-content [id^=datawrapper-vis-] iframe{width:100%;border:none}.blog-content h2+ul{background-color:#f9f9f9;padding:1.5rem 1.5rem 1.5rem 3.5rem;border-radius:4px;border-left:4px solid #0066cc}.blog-content h2+ul li{margin-bottom:1rem}.blog-content h2+ul li:last-child{margin-bottom:0}.blog-content h2+ul li p{margin:0}.blog-content em{font-style:italic}.blog-content strong{font-weight:700;color:#111}.blog-content noscript{display:block;margin:1rem 0;padding:1rem;background-color:#fff8e1;border:1px solid #ffe082;border-radius:4px;color:#795548}@media (max-width: 767px){.blog-content p>img{height:auto;float:none!important;margin:0 auto 20px!important;display:block!important}}.blog-content [id]{scroll-margin-top:100px}\n/*# sourceMappingURL=site-content-area.component-LG34XQBL.css.map */\n"],encapsulation:2});let d=a;return d})();export{mt as SiteContentAreaComponent};
2//# sourceMappingURL=chunk-YAZ5LVM7.js.map

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.