The Hobbit Starts Filming Finally Home About Us Advertise Here Contact Us Latest Posts Reviews Movie-Related Series-Related More Homemovie news The Hobbit Starts Filming Finally March 22, 2011 0 We never thought that "The Hobbit", the planned two-part film series, would ever see the light of day. It was one of those films risking the pattern of development hell. Not even counting the first time it was envisioned by Peter Jackson, "The Hobbit" has had its troubles the past half decade. If it was not a dispute with its original studio financier it was a financial situation with another studio. Problems such as those even forced its director, Guillermo del Toro to quit. Well, amazingly, "The Hobbit" has surpassed all those let-downs as it was just announced that it has started filming yesterday. Catch the official press release after the break. PETER JACKSON STARTS FILMING “THE HOBBIT,” TWO-FILM EPIC ADAPTATION OF J.R.R. TOLKIEN’S TIMELESS CLASSIC In a hole in the ground there lived a Hobbit… Wellington, NZ, March 21, 2011—Production has commenced in Wellington, New Zealand, on “The Hobbit,” filmmaker Peter Jackson’s two film adaptation of J.R.R. Tolkien’s widely read masterpiece. “The Hobbit” is set in Middle-earth 60 years before Tolkien’s “The Lord of the Rings,” which Jackson and his filmmaking team brought to the big screen in the blockbuster trilogy that culminated with the Oscar-winning “The Lord of the Rings: The Return of the King.” The two films, with screenplays by Fran Walsh, Philippa Boyens, Guillermo del Toro and Peter Jackson, will be shot consecutively in digital 3D using the latest camera and stereo technology. Filming will take place at Stone Street Studios, Wellington, and on location around New Zealand. “The Hobbit” follows the journey of title character Bilbo Baggins, who is swept into an epic quest to reclaim the lost Dwarf Kingdom of Erebor, which was long ago conquered by the dragon Smaug. Approached out of the blue by the wizard Gandalf the Grey, Bilbo finds himself joining a company of thirteen dwarves led by the legendary warrior, Thorin Oakensheild. Their journey will take them into the Wild; through treacherous lands swarming with Goblins and Orcs, deadly Wargs and Giant Spiders, Shapeshifters and Sorcerers. Although their goal lies to the East and the wastelands of the Lonely Mountain first they must escape the goblin tunnels, where Bilbo meets the creature that will change his life forever … Gollum. Here, alone with Gollum, on the shores of an underground lake, the unassuming Bilbo Baggins not only discovers depths of guile and courage that surprise even him, he also gains possession of Gollum’s “precious” ring that holds unexpected and useful qualities … A simple, gold ring that is tied to the fate of all Middle-earth in ways Bilbo cannot begin to know. Martin Freeman takes the title role as Bilbo Baggins and Ian McKellen returns in the role of Gandalf the Grey. The Dwarves are played by Richard Armitage (Thorin Oakenshield), Ken Stott (Balin), Graham McTavish (Dwalin), William Kircher (Bifur) James Nesbitt (Bofur), Stephen Hunter (Bombur), Rob Kazinsky (Fili), Aidan Turner (Kili), Peter Hambleton (Gloin), John Callen (Oin), Jed Brophy (Nori), Mark Hadlow (Dori) and Adam Brown (Ori). Reprising their roles from “The Lord of the Rings” trilogy are Cate Blanchett as Galadriel, Andy Serkis as Gollum and Elijah Wood as Frodo. Jeffrey Thomas and Mike Mizrahi also join the cast as Dwarf Kings Thror and Thrain, respectively. Further casting announcements are expected. “The Hobbit” is produced by Peter Jackson and Fran Walsh, alongside Carolynne Cunningham. Executive producers are Ken Kamins and Zane Weiner, with Philippa Boyens as co-producer. The Oscar-winning, critically acclaimed “The Lord of the Rings” trilogy, also from the production team of Jackson and Walsh, grossed nearly $3 billion worldwide at the box office. In 2003, “The Return of the King” swept the Academy Awards, winning all of the 11 categories in which it was nominated, including Best Picture – the first ever Best Picture win for a fantasy film. The trilogy’s production was also unprecedented at the time. Among the creative behind-the-scenes team returning to Jackson’s crew are director of photography Andrew Lesnie, production designer Dan Hennah, conceptual designers Alan Lee and John Howe, composer Howard Shore and make-up and hair designer Peter King. Costumes are designed by Ann Maskrey and Richard Taylor. Taylor is also overseeing the design and production of weaponry, armour and prosthetics which are once again being made by the award winning Weta Workshop. Weta Digital take on the visual effects for both films, led by the film’s visual effects supervisor, Joe Letteri. Post production will take place at Park Road Post Production in Wellington. “The Hobbit” films are co-produced by New Line Cinema and MGM, with New Line managing production. Warner Bros Pictures is handling worldwide theatrical distribution, with select international territories as well as all international television licensing being handled by MGM. The two films are planned for release in late 2012 and 2013, respectively. Tags movie news Peter Jackson The Hobbit Facebook Twitter Post a Comment Previous Post Next Post Follow Us Popular Posts Charlize Theron 'The School for Good and Evil' Releases Official Trailer September 13, 2022 Virgin Forest: Movie Review June 25, 2022 Silip Sa Apoy: Movie Review January 28, 2022 'The School for Good and Evil' Arrives on Netflix October 21, 2022 August 15, 2022 Comments Latest Reviews Latest Posts Popular Posts 'The School for Good and Evil' Releases Official Trailer September 13, 2022 Virgin Forest: Movie Review June 25, 2022 Silip Sa Apoy: Movie Review January 28, 2022 About the Author Jed Chua has been writing about movies for more than a decade. During the day, he works as an Operations Director for a small company and runs a small business of his own on the side. He spends his nights watching or writing about movies. Reel Advice Entertainment News and Reviews - 2022 Home Privacy Policy Contact Us Our website uses cookies to improve your experience. Learn more Ok نموذج الاتصال No Results Found'}function beforeLoader(){return' '}function getFeedUrl(e,t,a,s){switch(a){case"recent":s="/feeds/posts/default?alt=json&max-results="+t;break;default:s="comments"!=e?"/feeds/posts/default/-/"+a+"?alt=json&max-results="+t:"/feeds/comments/default?alt=json&max-results="+t}return s}function getPostID(e,t,a){return a=(a=e[t].id.$t)?a.split("-").pop():""}function getPostLink(e,t){for(var a=0;a'+pbt.postAuthorLabel+"":"",pbt.postAuthor?''+s+''+e[t].author[0].name.$t+"":""}function getPostDate(e,t,a,s,r,i){monthNames="undefined"!=typeof monthNames?monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],dateFormat="undefined"!=typeof dateFormat?dateFormat:"{m} {d}, {y}";var o=e[t].published.$t,n=o.substring(0,4),c=o.substring(5,7),l=o.substring(8,10),d=dateFormat.replace("{m}",monthNames[parseInt(c,10)-1]).replace("{d}",l).replace("{y}",n);return i=pbt.postAuthor&&""!=pbt.postDateLabel?''+pbt.postDateLabel+"":"",[1==pbt.postDate?''+i+' '+d+" ":"",1==pbt.postDate?' '+d+" ":""]}function getPostMeta(e,t,a,s,r){return[1==pbt.postAuthor||1==pbt.postDate?' '+e+t[0]+" ":"",1==pbt.postDate?' '+t[1]+" ":""]}function getFirstImage(e){var t=(e=$(" ").html(e)).find("img").first().attr("src"),a=t.split("/"),s="/"+a.slice(-2)[0];return 9==a.length&&(s.match(/\/s[0-9]+/g)||s.match(/\/w[0-9]+/g)||"/d"==s)&&(t=t.replace(s,"/w72-h72-p-k-no-nu")),t}function getPostImage(e,t,a,s){var r=e[t].content?e[t].content.$t:"";return a=e[t].media$thumbnail?e[t].media$thumbnail.url:"https://resources.blogblog.com/img/blank.gif",r.indexOf(r.match(/-1?r.indexOf("-1?r.indexOf(r.match(/-1?getFirstImage(r):"https://resources.blogblog.com/img/blank.gif"}function getPostImageType(e,t){return e.match("i.ytimg.com")?"is-video":"is-image"}function getPostTag(e,t,a,s,r,i){return a=e[t].category?''+e[t].category[0].term+"":"",[1==pbt.cardTag?a:"",1==pbt.thumbTag?a:""]}function getPostSummary(e,t,a,s,r,i){return e[t].content?((i=$(e[t].content.$t)).find("td.tr-caption").text(""),r=""!=(s=i.text().trim())?''+s.substr(0,a)+"…":""):r="",r}function getPostComments(e,t,a,s,r){var i=e[t].author[0].name.$t,o=e[t].author[0].gd$image.src.replace("/s113","/s72-c").replace("/s220","/s72-c");return(o.match("//img1.blogblog.com/img/blank.gif")||o.match("//img1.blogblog.com/img/b16-rounded.gif"))&&(o="//1.bp.blogspot.com/-QN2lgvtYZco/YN3mUSryAVI/AAAAAAAAADs/KrR-etCcvUMcPl06jopTs9pzq59IAXhMQCLcBGAsYHQ/w72-h72-p-k-no-nu/avatar.jpg"),' '+i+' '+s+" "}function getPostContent(e,t,a,s){var r="",i=(t.length,getPostLink(t,a)),o=getPostTitle(t,a),n=getPostAuthor(t,a),c=getPostDate(t,a),l=getPostImage(t,a),d=getPostImageType(l,a),m=getPostMeta(n,c),g=getPostTag(t,a);switch(e){case"mega":case"megatabs":r+=' '+g[1]+' '+o+" "+m[1]+" ";break;case"ticker":r+=' '+o+" ";break;case"feat1":case"feat2":case"feat3":case"feat4":case"feat5":switch(a){case 0:r+=' '+g[0]+' '+o+" "+m[0]+" ";break;default:r+=(1==a?' ':"")+' '+g[0]+' '+o+" "+("feat5"==e?m[0]:m[1])+" "}break;case"list1":case"related3":r+=' '+g[1]+' '+o+" "+getPostSummary(t,a,96)+m[0]+" ";break;case"block1":case"block2":switch(a){case 0:r+=' '+g[0]+' '+o+" "+m[0]+" ";break;default:r+=(1==a?' ':"")+' '+("block2"==e?g[1]:"")+' '+o+" "+m[1]+" "}break;case"grid1":case"grid2":r+=' '+g[1]+' '+o+" "+("grid1"==e?m[0]:m[1])+" ";break;case"column":case"side1":switch(a){case 0:r+=' '+g[0]+' '+o+" "+m[0]+" ";break;default:r+=' '+o+" "+m[1]+" "}break;case"video":switch(a){case 0:r+=' '+g[0]+' '+o+" "+m[0]+" ";break;default:r+=(1==a?' ':"")+' '+o+" "+m[1]+" "}break;case"side2":case"side3":r+=' '+("side3"==e?g[1]:"")+' '+o+" "+m[1]+" ";break;case"comments":r+=getPostComments(t,a,i,o);break;case"related1":case"related2":a!=s-1&&(r+=' '+g[1]+' '+o+" "+("related1"==e?m[1]:m[0])+" ")}return r}function getRecentPostsData(e,t,a){return $.ajax({url:getFeedUrl(e,t,"recent"),type:"GET",async:!1,dataType:"json",cache:!0,success:function(e){return e}}).responseJSON}function getPosts(e,t,a,s,r){s=0!=s?s:"unlabeled",$.ajax({url:getFeedUrl(t,a,s),type:"GET",dataType:"json",cache:!0,beforeSend:function(a){switch(t){case"mega":e.append(' '+beforeLoader()+" ").addClass("loaded");break;case"megatabs":e.html(beforeLoader()).addClass("loaded");break;case"ticker":case"feat1":case"feat2":case"feat3":case"feat4":case"feat5":case"list1":case"block1":case"block2":case"grid1":case"grid2":case"column":case"video":case"side1":case"side2":case"side3":case"comments":case"related1":case"related2":case"related3":e.html(beforeLoader()).parent().addClass("type-"+t)}},success:function(i){var o="";switch(t){case"mega":case"megatabs":o=' ';break;case"ticker":o=' ';break;case"feat1":case"feat2":case"feat3":case"feat4":case"feat5":o=' ';break;case"list1":case"block1":case"block2":case"grid1":case"grid2":case"column":case"video":o=' ';break;case"side1":case"side2":o=' ';break;case"side3":o=' ';break;case"comments":o=' ';break;case"related1":case"related2":case"related3":o=' '}var n=i.feed.entry;if(n){if("related1"==t||"related2"==t||"related3"==t){1==n.length&&"recent"!=s&&(n=(i=getRecentPostsData(t,a)).feed.entry);for(let e=0;e'+msgError()+" ";break;default:o=msgError()}switch(t){case"mega":o+=" ",e.addClass(t).find(".mega-items").replaceWith(o);break;case"ticker":o+=" ",e.html(o).pbtTicker();break;default:o+=" ",e.html(o)}switch(t){case"mega":case"megatabs":e.find("span.entry-image").pbtLazy({onScroll:!1});break;default:e.find("span.entry-image").pbtLazy()}},error:function(){switch(t){case"mega":e.find(".mega-items").replaceWith(' '+msgError()+" ");break;case"megatabs":e.html(' '+msgError()+" ");break;default:e.html(msgError())}}})}function getMega(e,t,a,s){"mega"==t||"megatabs"==t?getPosts(e,t,a,s):e.append(' '+msgError()+" ").addClass("loaded")}function getTicker(e,t,a,s){if("ticker"==t)return getPosts(e,t,a,s);e.html(msgError())}function getFeatured(e,t,a,s){if("feat1"==t||"feat2"==t||"feat3"==t||"feat4"==t||"feat5"==t)return getPosts(e,t,a,s);e.html(msgError())}function getBlock(e,t,a,s,r,i){if("block1"==t||"block2"==t||"grid1"==t||"grid2"==t||"list1"==t||"column"==t||"video"==t)return 0!=s&&(r="recent"==s?"/search":"/search/label/"+s,i=""!=viewAllText.trim()?viewAllText:exportify.viewAll,e.parent().find(".widget-title").append(''+i+"")),getPosts(e,t,a,s);e.html(msgError())}function getWidget(e,t,a,s,r){r.match("getposts")&&("side1"==t||"side2"==t||"side3"==t||"comments"==t?getPosts(e,t,a,s):e.html(msgError()))}function getRelated(e,t,a,s,r){"related1"==t||"related2"==t||"related3"==t?getPosts(e,t,a,s,r):e.html(msgError())}function megaTabs(e,t){if(0!=t){var a=(t=t.split("/")).length,s=' ';for(let e=0;e ');s+=" ",e.addClass("megatabs").append(s),e.children("a").on("click",function(e){e.preventDefault()});var r=e.find(".mega-tab");if(r.length){var i;function o(){e.find(".mega-tab.active").not(".loaded").each(function(e,t){t=(e=$(this)).data("tab"),getMega(e,"megatabs",4,t)});var t=e.find(".mega-tab.loaded");r.length==t.length&&clearInterval(i)}e.mouseenter(function(){i=setInterval(o,100)}).mouseleave(function(){clearInterval(i)}),e.find(".mega-tabs").pbtTabs({onHover:!0,isLinked:!0,animated:!1,transition:"fadeIn"})}else e.find(".mega-tabs").replaceWith(' '+msgError()+" ")}else e.append(' '+msgError()+" ")}function addCustomColor(e,t,a){$("#page-skin-2").length||$("head").append(''),$("#page-skin-2").each(function(){var s=$(this),r="#"+e,i="";switch(t){case"mega":case"tabs":i=r+"{--main-color:"+a+";--mega-hover-color:"+a+";--tag-bg:"+a+"}";break;case"ticker":i=r+"{--main-color:"+a+";--ticker-title-color:"+a+";--ticker-hover-color:"+a+";--tag-bg:"+a+"}";break;case"feat1":case"feat2":case"feat3":case"feat4":case"feat5":i=r+"{--main-color:"+a+";--tag-bg:"+a+"}";break;default:i=r+"{--main-color:"+a+";--title-hover-color:"+a+";--tag-bg:"+a+";--widget-dash-color:"+a+"}"}s.append(i)})}function disqusComments(e){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src="//"+e+".disqus.com/blogger_item.js",document.getElementsByTagName("head")[0].appendChild(t)}function beautiAvatar(e){$(e).attr("src",function(e,t,a){return a="//1.bp.blogspot.com/-QN2lgvtYZco/YN3mUSryAVI/AAAAAAAAADs/KrR-etCcvUMcPl06jopTs9pzq59IAXhMQCLcBGAsYHQ/s35/avatar.jpg",t=(t=(t=t.replace("//resources.blogblog.com/img/blank.gif",a)).replace("//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SA=s35",a)).replace("/s35","/s39")})}function pbtFixedSidebar(e){$(e).each(function(e,t){1==pbt.fixedSidebar&&(25,t=1==pbt.fixedMenu?$(".header-inner").height()+25:25,$(this).theiaStickySidebar({containerSelector:"#content-wrapper > .container",additionalMarginTop:t,additionalMarginBottom:25}))})}viewAllText="undefined"!=typeof viewAllText?viewAllText:pbt.viewAll,$("#magspot-main-menu").pbtMenu().find(".widget").addClass("show-menu"),$(".show-search").click(function(e){e.preventDefault(),$("body").addClass("search-active"),$("#main-search-wrap").fadeIn(170).find("input").focus()}),$(".search-close").click(function(e){e.preventDefault(),$("body").removeClass("search-active"),$("#main-search-wrap").fadeOut(170).find("input").blur().val("")}),$("html").each(function(){var e=$(this),t=localStorage.darkMode;1!=pbt.darkMode&&0!=pbt.userDarkMode&&("true"==t&&(e.addClass("is-dark"),darkModeLogo(t)),$(".darkmode-toggle").click(function(a){a.preventDefault(),e.toggleClass("is-dark"),t="true"!=t?"true":"false",localStorage.darkMode=t,darkModeLogo(t)}))}),$(".dark-logo").each(function(){1==pbt.darkMode&&darkModeLogo("true")}),$("#ticker .PopularPosts .widget-content").pbtTicker(),$(".main-title a.title-link").each(function(){""!=viewAllText.trim()&&$(this).html(viewAllText)}),$(".pbt-section .social-icons a").each(function(e){var t=$(this),a=t.attr("href").split("#"),s=t.data("side");a[1]&&1==s&&""!=(e=a[1].trim())&&t.append(''+e+""),t.attr("href",a[0].trim())}),$(".MailChimp .widget-content").each(function(e,t){var a=$(this),s=a.data("shortcode");s&&(e=getAttr(s,"title"),t=getAttr(s,"text"),0!=e&&a.find(".mailchimp-title").text(e),0!=t&&a.find(".mailchimp-text").text(t))}),$(".post-body a").each(function(){var e=$(this),t=e.text(),a=t.toLowerCase(),s=getAttr(t,"text");a.match("getbutton")&&0!=s&&(e.replaceText(/([^{\}]+(?=}))/g,"$1"),e.find("em").replaceText("$","%s"),e.each(function(){var e=$(this),t=e.text(),a=getAttr(t,"text"),s=getAttr(t,"icon"),r=getAttr(t,"color"),i=getAttr(t,"size"),o=getAttr(t,"info"),n=e.parent().attr("style");e.addClass(0!=i?"button btn x2":"button btn").text(a.replace("%s","$")),n&&n.match("center")&&e.addClass("is-c"),0!=o?(e.addClass(0!=s?"x2 "+s:"x2"),e.append(''+o.replace("%s","$")+"")):0!=s&&e.addClass(s),0!=r&&e.addClass("color").attr("style","background-color:"+r+";")}))}),$(".post-body b").each(function(){var e=$(this),t=e.text(),a=t.toLowerCase().trim();a.match(/(?:\$ads\=\{1\})/g)&&e.replaceWith(' '),a.match(/(?:\$ads\=\{2\})/g)&&e.replaceWith(' '),a.match("{gettoc}")&&(t=0!=(t=getAttr(t,"title"))?t:"Table of Contents",e.replaceWith(' '+t+' '),$(".pbt-toc-title").each(function(){var e=$(this);e.click(function(t){t.preventDefault(),e.toggleClass("is-expanded"),$("#pbt-toc").slideToggle(170)})}),$("#pbt-toc").toc({content:"#post-body",headings:"h2,h3,h4"}),$("#pbt-toc li a").each(function(){var e=$(this);e.click(function(t){return t.preventDefault(),$("html,body").animate({scrollTop:$(e.attr("href")).offset().top-20},500),!1})})),a.match("{contactform}")&&(e.replaceWith(' '),$("#post-body .contact-form-widget").append($("#ContactForm1 .contact-form-form"))),a.match("{leftsidebar}")&&($("body").addClass("is-left"),e.remove()),a.match("{rightsidebar}")&&($("body").addClass("is-right").removeClass("is-left"),e.remove()),a.match("{fullwidth}")&&($("body").addClass("no-sidebar"),e.remove())}),$("#magspot-new-before-ad").each(function(){var e=$(this);e.length&&$("#before-ad").appendTo(e)}),$("#magspot-new-after-ad").each(function(){var e=$(this);e.length&&$("#after-ad").appendTo(e)}),$("#magspot-main-before-ad .widget").each(function(){var e=$(this);e.length&&e.appendTo($("#before-ad"))}),$("#magspot-main-after-ad .widget").each(function(){var e=$(this);e.length&&e.appendTo($("#after-ad"))}),$("#magspot-post-footer-ads .widget").each(function(){var e=$(this);e.length&&e.appendTo($("#post-footer-ads"))}),$(".post-body blockquote").each(function(){var e=$(this),t=e.text().toLowerCase().trim(),a=e.html();if(t.match("{alertsuccess}")){var s=a.replace("{alertSuccess}","");e.replaceWith(' '+s+" ")}if(t.match("{alertinfo}")){s=a.replace("{alertInfo}","");e.replaceWith(' '+s+" ")}if(t.match("{alertwarning}")){s=a.replace("{alertWarning}","");e.replaceWith(' '+s+" ")}if(t.match("{alerterror}")){s=a.replace("{alertError}","");e.replaceWith(' '+s+" ")}if(t.match("{codebox}")){s=a.replace("{codeBox}","");e.replaceWith(' '+s+" ")}}),$(".share-links .pbt-window").click(function(e){e.preventDefault();var t=$(this),a=t.data("url"),s=t.data("width"),r=t.data("height");window.open(a,"_blank","scrollbars=yes,resizable=yes,toolbar=0,width="+s+",height="+r+",top=50,left=50").focus()}),$(".share-links .show-hid a").click(function(e){e.preventDefault(),$(this).parent().parent().toggleClass("expanded")}),$(".about-author .author-text").each(function(){var e=$(this),t=e.find("a");t.length&&(t.each(function(){var e=$(this),t=e.text().trim(),a=e.attr("href");e.replaceWith(' ')}),e.parent().append(' '),e.find("li").appendTo(e.parent().find(".author-links")))}),$(".main-nav li.mega-menu").each(function(e,t,a,s){var r=$(this),i=r.find("a").data("shortcode"),o=r.attr("id");i&&(e=getAttr(i,"label"),t=0!=(t=getAttr(i,"type"))?t:"mega",0!=(s=getAttr(i,"color"))&&addCustomColor(o,t,s),"tabs"==t?megaTabs(r,e):(0!=e&&(a="recent"==e?"/search":"/search/label/"+e,r.children("a").attr("href",a)),r.mouseenter(function(){r.hasClass("loaded")||getMega(r,t,5,e)})))}),$("#ticker .HTML .widget-content").each(function(e,t,a){var s=$(this),r=$(window),i=s.data("shortcode"),o=s.parent().attr("id");i&&(e=getAttr(i,"results"),t=getAttr(i,"label"),0!=(a=getAttr(i,"color"))&&addCustomColor(o,"ticker",a),r.on("load resize scroll",function a(){r.scrollTop()+r.height()>=s.offset().top&&(r.off("load resize scroll",a),getTicker(s,"ticker",e,t))}).trigger("scroll"))}),$("#featured .HTML .widget-content").each(function(e,t,a,s){var r=$(this),i=$(window),o=r.data("shortcode"),n=r.parent().attr("id");o&&(t=getAttr(o,"label"),a=getAttr(o,"style"),e="feat2"==(a=0!=a?"feat"+a:"feat1")||"feat4"==a?5:"feat3"==a||"feat5"==a?3:4,0!=(s=getAttr(o,"color"))&&addCustomColor(n,a,s),i.on("load resize scroll",function s(){i.scrollTop()+i.height()>=r.offset().top&&(i.off("load resize scroll",s),getFeatured(r,a,e,t))}).trigger("scroll"))}),$(".content-section .HTML .widget-content").each(function(e,t,a,s,r,i){var o=$(this),n=$(window),c=o.data("shortcode"),l=o.parent().attr("id");c&&(e=getAttr(c,"results"),t=getAttr(c,"label"),a=getAttr(c,"type"),getAttr(c,"col"),r=0!=(r=getAttr(c,"style"))?r:"1","col-left"!=a&&"col-right"!=a||(o.parent().addClass("column-style").attr("data-align","col-left"==a?"left":"right"),a="column"),"video"==a&&"1"==r&&o.parent().addClass("video-style"),0!=(i=getAttr(c,"color"))&&addCustomColor(l,a,i),n.on("load resize scroll",function s(){n.scrollTop()+n.height()>=o.offset().top&&(n.off("load resize scroll",s),getBlock(o,a,e,t))}).trigger("scroll"))}),$(".pbt-section .HTML .widget-content").each(function(e,t,a,s,r,i){var o=$(this),n=$(window),c=o.data("shortcode"),l=o.data("is"),d=o.parent().attr("id");c&&(e=c.toLowerCase(),t=getAttr(c,"results"),a=getAttr(c,"label"),s=getAttr(c,"type"),r=0!=(r=getAttr(c,"style"))?r:"1",s="posts"!=(s=0!=s?s:"posts")?s:"side"+r,l&&"footer"==l&&(s="side1"!=s?s:"side2"),0!=(i=getAttr(c,"color"))&&addCustomColor(d,s,i),n.on("load resize scroll",function r(){n.scrollTop()+n.height()>=o.offset().top&&(n.off("load resize scroll",r),getWidget(o,s,t,a,e))}).trigger("scroll"))}),$("#magspot-related-posts .HTML").each(function(e,t,a){var s=$(this).data("shortcode");if(s){function r(){return e=getAttr(s,"title"),t=getAttr(s,"results"),a=getAttr(s,"style"),[e,t,a]}$("#related-wrap").each(function(e,t,a,i,o,n){var c=$(this),l=c.find(".related-tag"),d=$(window),m=c.find(".related-content"),g=r(),p=c.attr("id");e=0!=g[1]?Number(g[1])+1:4,t=l.data("label"),i=0!=g[2]?g[2]:"1",a="related"+i,o=l.data("id"),0!=(n=getAttr(s,"color"))&&addCustomColor(p,a,n),0!=g[0]&&c.find(".related-title .title > span").text(g[0]),d.on("load resize scroll",function s(){d.scrollTop()+d.height()>=m.offset().top&&(d.off("load resize scroll",s),getRelated(m,a,e,t,o))}).trigger("scroll")})}}),$(".magspot-blog-post-comments").each(function(){var e=$(this),t=e.data("shortcode"),a=getAttr(t,"type"),s="comments-system-"+a,r=e.find("#top-continue .comment-reply");switch(a){case"disqus":var i=getAttr(t,"shortname");0!=i&&(disqus_shortname=i),disqusComments(disqus_shortname),e.addClass(s+" is-visible");break;case"facebook":var o=getAttr(t,"lang"),n=0!=o?"https://connect.facebook.net/"+o+"/all.js#xfbml=1&version=v11.0":"https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v11.0";$("head").append(''),e.addClass(s).find("#comments").html(' '),e.addClass("is-visible");break;case"hide":e.addClass("is-hidden");break;default:e.addClass("comments-system-blogger is-visible"),$(".entry-meta .entry-comments-link").addClass("show"),r.addClass("btn"),beautiAvatar(".avatar-image-container img")}var c=e.find(".comments .comment-reply"),l=e.find(".comments #top-continue"),d=e.find("#top-ce.comment-replybox-thread");c.click(function(e){e.preventDefault(),l.show(),d.hide()}),l.click(function(e){e.preventDefault(),l.hide(),d.show()})}),$(function(){$(".entry-image-wrap .entry-image,.author-avatar-wrap .author-avatar").pbtLazy(),$(".mobile-logo").each(function(){var e=$(this),t=$(".main-logo a").clone();t.find("h1").remove(),t.appendTo(e)}),$("#mobile-menu").each(function(){var e=$(this),t=$(".main-nav").clone();t.attr("class","mobile-nav").attr("id","mobile-nav"),t.find(".mega-menu > .ul").remove(),t.find(".has-sub > a").after(' '),t.find(".mega-menu").not(".megatabs").removeAttr("class").children(".submenu-toggle").remove(),t.find(".mega-menu > a").each(function(e,t,a){var s=$(this),r=s.data("shortcode");if(r)if(e=getAttr(r,"type"),t=getAttr(r,"label"),"tabs"==e){if(0!=t){var i=(t=t.split("/")).length,o=' ';for(let e=0;e'+t[e]+" ");o+=" ",s.parent().append(o)}s.parent().attr("class","has-sub"),s.on("click",function(e){e.preventDefault()})}else 0!=t&&(a="recent"==t?"/search":"/search/label/"+t,s.attr("href",a))}),t.appendTo(e),$(".mobile-menu-toggle, .hide-mobile-menu, .overlay").click(function(e){e.preventDefault(),$("body").toggleClass("nav-active")}),$(".mobile-menu .submenu-toggle").click(function(){var e=$(this);e.parent().hasClass("expanded")?e.parent().removeClass("expanded").children(".sub-menu").slideToggle(170):e.parent().addClass("expanded").children(".sub-menu").slideToggle(170)})}),$(".mm-footer").each(function(){var e=$(this),t=$("#topbar .LinkList"),a=$("#magspot-about-section .LinkList"),s=$("#topbar .LinkList"),r=$("#footer-menu .LinkList"),i=t.length?t.find("ul.social").clone():!!a.length&&a.find("ul.social").clone();0!=i&&(i.removeClass("sb-h"),e.append(i)),$m=s.length?s.find("ul.link-list").clone():!!r.length&&r.find("ul.link-list").clone(),0!=$m&&e.append($m)}),$(".header-inner").each(function(){var e=$(this);if(1==pbt.fixedMenu&&e.length>0){var t=$(document).scrollTop(),a=e.offset().top,s=e.height(),r=a+s+s;$(window).scroll(function(s){(s=$(document).scrollTop())>r?e.addClass("is-fixed"):(s<=1)&&e.removeClass("is-fixed"),s')}),$("p.comment-content").each(function(){var e=$(this);e.replaceText(/(https:\/\/\S+(\.png|\.jpeg|\.jpg|\.gif))/g,' '),e.replaceText(/(?:https:\/\/)?(?:www\.)?(?:youtube\.com)\/(?:watch\?v=)?(.+)/g,' ')}),$("#magspot-load-more-link").each(function(){var e=$(this),t=e.data("load");t&&e.show(),e.click(function(a){a.preventDefault(),e.hide(),$.ajax({url:t,success:function(a){var s=$(a).find(".blog-posts");s.find(".index-post").addClass("fadeInUp"),$(".blog-posts").append(s.html()),(t=$(a).find("#magspot-load-more-link").data("load"))?e.show():(e.hide(),$("#blog-pager .no-more").addClass("show"))},beforeSend:function(){$("#blog-pager .loading").show()},complete:function(){$("#blog-pager .loading").hide(),$(".index-post .entry-image-wrap .entry-image").not(".pbt-lazy").pbtLazy(),pbtFixedSidebar("#main-wrapper, #sidebar-wrapper")}})})}),$("#magspot-cookie-consent").each(function(){var e=$(this),t=e.find(".widget.Text").data("shortcode"),a=e.find(".consent-button");e.length>0&&(t&&(ok=getAttr(t,"ok"),days=getAttr(t,"days"),0!=ok&&a.text(ok),days=0!=days?Number(days):7),"1"!==$.cookie("magspot_cookie_consent")&&(e.css("display","block"),$(window).on("load",function(){e.addClass("is-visible")})),a.off("click").click(function(t){t.preventDefault(),t.stopPropagation(),$.cookie("magspot_cookie_consent","1",{expires:days,path:"/"}),e.removeClass("is-visible"),setTimeout(function(){e.css("display","none")},500)}),cookieChoices={})}),$("#back-top").each(function(){var e=$(this);$(window).on("scroll",function(){$(this).scrollTop()>=100?e.addClass("show"):e.removeClass("show"),e.offset().top>=$("#footer-wrapper").offset().top-34?e.addClass("on-footer"):e.removeClass("on-footer")}),e.click(function(e){e.preventDefault(),$("html, body").animate({scrollTop:0},500)})})}); //]]>