### JavaScript: RocketLazyLoadScripts Initialization Source: https://www.tuttosullegalline.it/video-galline/galline-e-pollai-nei-simpson/ Questo snippet JavaScript implementa la classe RocketLazyLoadScripts per gestire il caricamento differito (lazy loading) degli script. Include funzionalità per l'esecuzione condizionale degli script, la gestione degli attributi, il precaricamento delle risorse e la simulazione degli eventi del ciclo di vita della pagina come 'DOMContentLoaded' e 'load'. È progettato per ottimizzare le prestazioni del sito web. ```javascript var RocketLazyLoadScripts = (function() { var t = [ ...document.querySelectorAll('script[data-rocket-lazyload]') ]; var e = [ ...document.querySelectorAll('script[data-rocket-type="module"]') ]; var i = [ ...document.querySelectorAll('script[data-rocket-type="text/javascript"]') ]; var o = [ ...document.querySelectorAll('script[data-rocket-type="application/ld+json"]') ]; var s = [ ...document.querySelectorAll('script[data-rocket-type="application/json"]') ]; var n = [ ...document.querySelectorAll('script[data-rocket-type="application/xml"]') ]; var r = [ ...document.querySelectorAll('script[data-rocket-type="text/xml"]') ]; var a = [ ...document.querySelectorAll('script[data-rocket-type="text/html"]') ]; var l = [ ...document.querySelectorAll('script[data-rocket-type="text/css"]') ]; var d = [ ...document.querySelectorAll('script[data-rocket-type="text/plain"]') ]; var c = [ ...document.querySelectorAll('script[data-rocket-type="text/x-jquery-tmpl"]') ]; var u = [ ...document.querySelectorAll('script[data-rocket-type="application/javascript"]') ]; var p = [ ...document.querySelectorAll('script[data-rocket-type="application/x-javascript"]') ]; var m = [ ...document.querySelectorAll('script[data-rocket-type="application/dart"]') ]; var h = [ ...document.querySelectorAll('script[data-rocket-type="application/wasm"]') ]; var g = [ ...document.querySelectorAll('script[data-rocket-type="application/jsonp"]') ]; var f = [ ...document.querySelectorAll('script[data-rocket-type="application/x-shockwave-flash"]') ]; var y = [ ...document.querySelectorAll('script[data-rocket-type="application/javascript-module"]') ]; var v = [ ...document.querySelectorAll('script[data-rocket-type="application/x-www-form-urlencoded"]') ]; var b = [ ...document.querySelectorAll('script[data-rocket-type="application/x-ms-application"]') ]; var S = [ ...document.querySelectorAll('script[data-rocket-type="application/vnd.ms-fontobject"]') ]; var w = [ ...document.querySelectorAll('script[data-rocket-type="application/font-woff"]') ]; var E = [ ...document.querySelectorAll('script[data-rocket-type="application/font-woff2"]') ]; var T = [ ...document.querySelectorAll('script[data-rocket-type="font/opentype"]') ]; var O = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var N = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var P = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var _ = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var R = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var L = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var D = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var C = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var I = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var M = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var H = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var x = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var j = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var A = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var q = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var z = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var F = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var U = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var B = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Y = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var W = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var X = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var G = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var J = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var Z = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var $ = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var K = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Q = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var V = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var et = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var tt = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var it = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var ot = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var st = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var nt = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var rt = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var at = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var lt = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var dt = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var ct = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var ut = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var pt = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var mt = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var ht = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var gt = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var ft = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var yt = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var vt = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var bt = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var St = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var wt = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Et = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var Tt = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var Ot = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var Nt = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Pt = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var _t = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var Rt = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var Lt = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Dt = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var Ct = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var It = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var Mt = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Ht = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var xt = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var jt = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var At = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var qt = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var zt = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var Ft = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var Ut = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Bt = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var Yt = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var Wt = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var Xt = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Gt = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var Jt = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var Zt = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var $t = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Kt = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var Qt = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var Vt = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var ei = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var ti = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var ii = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var oi = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var si = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var ni = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var ri = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var ai = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var li = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var di = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var ci = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var ui = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var pi = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var mi = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var hi = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var gi = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var fi = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var yi = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var vi = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var bi = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var Si = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var wi = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var Ei = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var Ti = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var Oi = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Ni = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var Pi = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var _i = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var Ri = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Li = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var Di = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var Ci = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var Ii = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Mi = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var Hi = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var xi = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var ji = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Ai = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var qi = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var zi = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var Fi = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Ui = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var Bi = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var Yi = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var Wi = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Xi = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var Gi = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var Ji = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var Zi = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var $i = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var Ki = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var Qi = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var Vi = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var eo = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var to = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var io = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var oo = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var so = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var no = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var ro = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var ao = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var lo = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var do = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var co = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var uo = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var po = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var mo = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var ho = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var go = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var fo = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var yo = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var vo = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var bo = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var So = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var wo = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var Eo = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var To = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Oo = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var No = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var Po = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var _o = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Ro = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var Lo = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var Do = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var Co = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Io = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var Mo = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var Ho = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var xo = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var jo = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var Ao = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var qo = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var zo = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Fo = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var Uo = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var Bo = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var Yo = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Wo = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var Xo = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var Go = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var Jo = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Zo = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var $o = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var Ko = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var Qo = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var Vo = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var es = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var ts = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var is = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var os = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var ss = [ ...document.querySelectorAll('script[data-rocket-type="font/ttf"]') ]; var ns = [ ...document.querySelectorAll('script[data-rocket-type="font/woff"]') ]; var rs = [ ...document.querySelectorAll('script[data-rocket-type="font/woff2"]') ]; var as = [ ...document.querySelectorAll('script[data-rocket-type="font/otf"]') ]; var ls = [ ...document.querySelectorAll('script[data- ``` -------------------------------- ### Platform Install Badge Links Source: https://www.instagram.com/tuttosullegalline/ Provides URLs for platform-specific install badges, including links for iOS, Android, and Windows NT 10 operating systems. ```json { "platform_install_badge_links": { "ios": "https:\/\/static.cdninstagram.com\/rsrc.php\/v4\/yt\/r\/Yfc020c87j0.png", "android": "https:\/\/static.cdninstagram.com\/rsrc.php\/v4\/yz\/r\/c5Rp7Ym-Klz.png", "windows_nt_10": "https:\/\/static.cdninstagram.com\/rsrc.php\/v4\/yu\/r\/EHY6QnZYdNX.png" } } ``` -------------------------------- ### Chicken Parasite Treatment Guide Source: https://www.tuttosullegalline.it/pollaio-per-galline/curare-galline-da-parassiti-intestinali/ This section provides information on how to treat intestinal parasites (verminosis) in chickens. It is presented as a title for a guide or article. ```APIDOC Article Title: Come curare le galline dai parassiti intestinali (verminosi) Category: Galline, Pollaio, Ricette con Uova e Video divertenti Description: Guide on treating intestinal parasites in chickens. ``` -------------------------------- ### General Website Styling Source: https://www.tuttosullegalline.it/news-curiosita-galline/francia-poulets-et-poubelles-primo-progetto-riduzione-rifiuti-base-galline/ Provides foundational CSS rules for typography, layout containers, and responsive adjustments. Includes styles for categories, images, meta information, post titles, author details, and navigation elements. ```css /* Project: /llmstxt/tuttosullegalline_it-llms.txt */ /* Category Styling */ .td-post-category { font-family: var(--td_default_google_font_1,'Open Sans','Open Sans Regular',sans-serif); font-size:10px; font-weight:600; line-height:1; background-color:var(--td_black,#222); color:#fff; margin-right:5px; padding:3px 6px 4px; display:block; vertical-align:top; transition:all .2s ease; -webkit-transition:.2s ease; } .td-post-category:hover { background-color:var(--td_theme_color,#4db2ec); } /* Image Container Styling */ .td-module-image { position:relative; } .td-module-image .td-post-category { position:absolute; bottom:0; } /* Meta Information Styling */ .td-module-meta-info .td-post-category { display:inline-block; } /* Block Title Styling */ .block-title { font-family:var(--td_default_google_font_2,'Roboto',sans-serif); font-size:14px; line-height:1; margin-top:0; margin-bottom:26px; border-bottom:2px solid var(--td_header_color,var(--td_black,#222)); } .block-title>a, .block-title>label, .block-title>span, .block-title>span>a { line-height:17px; display:inline-block; padding:7px 12px 4px; background-color:var(--td_header_color,var(--td_black,#222)); color:var(--td_text_header_color,#fff); } /* Main Content Wrapper Padding */ .td-main-content-wrap { padding-bottom:40px; } /* Pagination Icon Spacing */ .page-nav .td-icon-menu-right { padding-left:1px; } .page-nav .td-icon-menu-left { padding-right:1px; } /* RTL Pagination Icon Fix */ .rtl .page-nav .td-icon-menu-left:before { content:'\e80d'; } .rtl .page-nav .td-icon-menu-right:before { content:'\e80c'; } /* Sidebar Perspective */ .td-ss-main-sidebar { perspective:unset!important; } /* Breadcrumb Container Styling */ .td-crumb-container { min-height:35px; margin-bottom:9px; padding-top:21px; } /* Responsive Breadcrumb Padding */ @media (min-width:768px) and (max-width:1018px) { .td-crumb-container { padding-top:16px; } } @media (max-width:767px) { .td-main-content-wrap { padding-bottom:26px; } .td-crumb-container { padding-top:11px; } .single-post .td-bred-no-url-last { display:none; } } /* Entry Crumbs Styling */ .entry-crumbs { font-family:var(--td_default_google_font_1,'Open Sans','Open Sans Regular',sans-serif); font-size:12px; color:#c3c3c3; line-height:18px; padding-top:1px; padding-bottom:2px; } .entry-crumbs a { color:#c3c3c3; } .entry-crumbs a:hover { color:#777; } .entry-crumbs .td-bread-sep { font-size:8px; margin:0 5px; } /* Category List Styling */ .td-category { list-style:none; font-family:var(--td_default_google_font_1,'Open Sans','Open Sans Regular',sans-serif); font-size:10px; margin-top:0; margin-bottom:10px; line-height:1; } .td-category li { display:inline-block; margin:0 5px 5px 0; line-height:1; } .td-category a { color:#fff; background-color:var(--td_black,#222); padding:3px 6px 4px; white-space:nowrap; display:inline-block; } .td-category a:hover { opacity:.9; } /* Post Background */ .post { background-color:var(--td_container_transparent,#fff); } /* Post Header Title Styling */ .post header .entry-title { margin-top:0; margin-bottom:7px; word-wrap:break-word; font-size:41px; line-height:50px; } /* Responsive Post Header Title */ @media (max-width:1018px) { .post header .entry-title { font-size:32px; line-height:36px; } } /* Header Meta Info */ header .td-module-meta-info { margin-bottom:16px; } /* Author Name Styling */ header .td-post-author-name { font-weight:400; color:#444; float:left; } header .td-post-author-name a { font-weight:700; margin-right:3px; } /* Post Date Styling */ header .td-post-date { margin-left:4px; color:#767676; float:left; } /* Post Views Styling */ header .td-post-views { float:right; margin-right:22px; } header .td-post-views span { line-height:15px; vertical-align:top; } header .td-icon-views { position:relative; line-height:17px; font-size:14px; margin-right:5px; } /* Post Comments Styling */ header .td-post-comments { float:right; position:relative; top:2px; } header .td-post-comments a { color:#444; } header .td-post-comments i { vertical-align:middle; } header .td-icon-comments { margin-right:5px; font-size:9px; } /* Post Footer Clearfix */ .post footer { clear:both; } /* Source Tags Styling */ .td-post-source-tags { font-size:11px; } .td-post-source-tags a { font-size:11px; } /* Small Box Styling */ .td-post-small-box { margin-bottom:4px; line-height:20px; clear:left; height:20px; display:table; } .td-post-small-box span { background-color:var(--td_black,#222); padding:5px 9px; color:#fff; display:block; text-transform:uppercase; line-height:10px; float:left; height:20px; } .td-post-small-box a { display:block; float:left; border:1px solid var(--td_grid_border_color,#ededed); margin-left:4px; line-height:8px; color:var(--td_text_color,#111); padding:5px 8px; height:20px; } .td-post-small-box a:hover { color:#fff; background-color:var(--td_theme_color,#4db2ec); border-color:var(--td_theme_color,#4db2ec); } /* Tags Styling */ .td-tags { margin:0 0 30px; font-family:var(--td_default_google_font_1,'Open Sans','Open Sans Regular',sans-serif); display:table; line-height:20px; font-weight:600; } .td-tags li { list-style:none; display:inline-block; line-height:20px; margin-left:0; float:left; margin-bottom:4px; } .td-tags a, .td-tags span { margin-right:4px; margin-left:0; } /* Next/Previous Post Navigation */ .td-post-next-prev-content { display:inline-block; font-family:var(--td_default_google_font_2,'Roboto',sans-serif); word-break:break-word; } .td-post-next-prev-content span { display:block; font-size:12px; color:#c1c1c1; margin-bottom:7px; } .td-post-next-prev-content a { display:block; font-size:15px; color:#222; line-height:21px; margin-bottom:43px; } .td-post-next-prev-content a:hover { color:var(--td_theme_color,#4db2ec); } .td-post-next-post { text-align:right; } .td-next-prev-separator { display:none; } /* Author Box Styling */ .author-box-wrap { border:1px solid var(--td_grid_border_color,#ededed); padding:21px; margin-bottom:48px; } .author-box-wrap .avatar { float:left; max-width:96px; } .author-box-wrap .desc { margin-left:117px; font-size:12px; } /* Responsive Adjustments for Single Post */ @media (max-width:767px) { .single .td-category { margin-bottom:0; } .post header .entry-ti ``` -------------------------------- ### RocketLazyLoadScripts Initialization and Execution Source: https://www.tuttosullegalline.it/video-galline/video-divertenti-galline-e-animali/ This snippet details the initialization and execution logic for the RocketLazyLoadScripts class. It handles script loading optimization, including deferring, async loading, and fallback mechanisms for various browser conditions and script types. It also manages script execution status and error handling. ```javascript class RocketLazyLoadScripts { constructor() { this.delayedScripts = { normal: [], defer: [], async: [] }; this.trash = []; this.persisted = false; this.lastBreath = 0; this.fauxDomReadyFired = false; this.CSPIssue = false; this.allJQueries = []; this.init(); } init() { const scripts = document.querySelectorAll('script[data-rocket-lazyload]'); scripts.forEach(script => { const type = script.getAttribute('type'); if (type === 'module') { this.delayedScripts.async.push(script); } else if (script.hasAttribute('defer')) { this.delayedScripts.defer.push(script); } else if (script.hasAttribute('async')) { this.delayedScripts.async.push(script); } else { this.delayedScripts.normal.push(script); } }); this.T(); this.A(); } async $(t) { if (await this.G(), !0 !== t.noModule || !("noModule" in HTMLScriptElement.prototype)) return new Promise((e => { let i; function o() { (i || t).setAttribute("data-rocket-status", "executed"), e() } try { if (navigator.userAgent.includes("Firefox/") || "" === navigator.vendor || this.CSPIssue) i = document.createElement("script"), [...t.attributes].forEach((t => { let e = t.nodeName; "type" !== e && ("data-rocket-type" === e && (e = "type"), "data-rocket-src" === e && (e = "src"), i.setAttribute(e, t.nodeValue)) })), t.text && (i.text = t.text), t.nonce && (i.nonce = t.nonce), t.hasAttribute("src") ? (i.addEventListener("load", o, {isRocket: !0}), i.addEventListener("error", (() => { i.setAttribute("data-rocket-status", "failed-network"), e() }), {isRocket: !0}), setTimeout((() => { i.isConnected || e() }), 1)) : (i.text = t.text, o()), i.isWPRocket = !0, t.parentNode.replaceChild(i, t); else { const i = t.getAttribute("data-rocket-type"), s = t.getAttribute("data-rocket-src"); i ? (t.type = i, t.removeAttribute("data-rocket-type")) : t.removeAttribute("type"), t.addEventListener("load", o, {isRocket: !0}), t.addEventListener("error", (i => { this.CSPIssue && i.target.src.startsWith("data:") ? (console.log("WPRocket: CSP fallback activated"), t.removeAttribute("src"), this.$(t).then(e)) : (t.setAttribute("data-rocket-status", "failed-network"), e()) }), {isRocket: !0}), s ? (t.fetchPriority = "high", t.removeAttribute("data-rocket-src"), t.src = s) : t.src = "data:text/javascript;base64," + window.btoa(unescape(encodeURIComponent(t.text))) } } catch (i) { t.setAttribute("data-rocket-status", "failed-transform"), e() } })); t.setAttribute("data-rocket-status", "skipped") } async C(t) { const e = t.shift(); return e ? (e.isConnected && await this.$(e), this.C(t)) : Promise.resolve() } O() { this.N([...this.delayedScripts.normal, ...this.delayedScripts.defer, ...this.delayedScripts.async], "preload") } N(t, e) { this.trash = this.trash || []; let i = !0; var o = document.createDocumentFragment(); t.forEach((t => { const s = t.getAttribute && t.getAttribute("data-rocket-src") || t.src; if (s && !s.startsWith("data:")) { const n = document.createElement("link"); n.href = s, n.rel = e, "preconnect" !== e && (n.as = "script", n.fetchPriority = i ? "high" : "low"), t.getAttribute && "module" === t.getAttribute("data-rocket-type") && (n.crossOrigin = !0), t.crossOrigin && (n.crossOrigin = t.crossOrigin), t.integrity && (n.integrity = t.integrity), t.nonce && (n.nonce = t.nonce), o.appendChild(n), this.trash.push(n), i = !1 } })), document.head.appendChild(o) } W() { this.trash.forEach((t => t.remove())) } async T() { try { document.readyState = "interactive" } catch (t) {} this.fauxDomReadyFired = !0; try { await this.G(), document.dispatchEvent(new Event("rocket-readystatechange")), await this.G(), document.rocketonreadystatechange && document.rocketonreadystatechange(), await this.G(), document.dispatchEvent(new Event("rocket-DOMContentLoaded")), await this.G(), window.dispatchEvent(new Event("rocket-DOMContentLoaded")) } catch (t) { console.error(t) } } async A() { try { document.readyState = "complete" } catch (t) {} try { await this.G(), document.dispatchEvent(new Event("rocket-readystatechange")), await this.G(), document.rocketonreadystatechange && document.rocketonreadystatechange(), await this.G(), window.dispatchEvent(new Event("rocket-load")), await this.G(), window.rocketonload && window.rocketonload(), await this.G(), this.allJQueries.forEach((t => t(window).trigger("rocket-jquery-load"))), await this.G(); const t = new Event("rocket-pageshow"); t.persisted = this.persisted, window.dispatchEvent(t), await this.G(), window.rocketonpageshow && window.rocketonpageshow({persisted: this.persisted}) } catch (t) { console.error(t) } } async G() { Date.now() - this.lastBreath > 45 && (await this.J(), this.lastBreath = Date.now()) } async J() { return document.hidden ? new Promise((t => setTimeout(t))) : new Promise((t => requestAnimationFrame(t))) } B(t, e) { return e === document && "readystatechange" === t || (e === document && "DOMContentLoaded" === t || (e === window && "DOMContentLoaded" === t || (e === window && "load" === t || e === window && "pageshow" === t))) } static run() { (new RocketLazyLoadScripts).T() } } RocketLazyLoadScripts.run(); ``` -------------------------------- ### Get Async Parameters Extra Data Configuration Source: https://www.instagram.com/tuttosullegalline/ Configuration object for retrieving extra data associated with asynchronous parameters. ```APIDOC GetAsyncParamsExtraData: - Description: Retrieves additional data for async parameters. - Configuration: { "extra_data": {} } ``` -------------------------------- ### Core Creation and Configuration Endpoints Source: https://www.instagram.com/tuttosullegalline/ Endpoints related to the initial setup and configuration of stories or other entities. These are primarily routed to the 'DISTILLERY' service. ```APIDOC Endpoint Group: Creation & Configuration - /create/configure_to_story (DISTILLERY) - Description: Configures settings related to story creation. - /create/configure (DISTILLERY) - Description: General configuration endpoint for creation processes. ``` -------------------------------- ### Responsive and Layout Utilities Source: https://www.tuttosullegalline.it/news-curiosita-galline/uova-dipinte-a-mano-con-colori-naturali/ Provides CSS rules for responsive design, including adjustments for specific screen sizes (e.g., min-width, max-width) and utility classes for layout management like clearfix. It also styles specific components like sub-footer menus and smart lists. ```CSS .td_smart_list_1, .td_smart_list_3 { position: relative; overflow: hidden; z-index: 1; margin-top: 38px; } @media (min-width: 768px) and (max-width: 1018px) { .td-subfooter-menu { padding-right: 48px; } .td_smart_list_3 .td-icon-right { top: 1px; left: 1px; line-height: 40px; padding-left: 0; font-size: 20px; } } .clearfix:after, .clearfix:before { display: table; content: ""; line-height: 0; } .clearfix:after { clear: both; } ```