Sunday, 18 November 2018
BREAKING NEWS

Some Young People Aren’t Voting Because the Process Seems Confusing and Pointless

Some Young People Aren’t Voting Because the Process Seems Confusing and Pointless
31 Oct
5:15

‘:””},t.getDefinedParams=function(e,t){return t.filter(function(t){return e[t]}).reduce(function(t,n){return l(t,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n,e[n]))},{})},t.isValidMediaTypes=function(e){var t=[“banner”,”native”,”video”];return!!Object.keys(e).every(function(e){return(0,b.default)(t,e)})&&(!e.video||!e.video.context||(0,b.default)([“instream”,”outstream”],e.video.context))},t.getBidderRequest=function(e,t,n){return(0,v.default)(e,function(e){return e.bids.filter(function(e){return e.bidder===t&&e.adUnitCode===n}).length>0})||{start:null,auctionId:null}},t.getUserConfiguredParams=function(e,t,n){return e.filter(function(e){return e.code===t}).map(function(e){return e.bids}).reduce(s,[]).filter(function(e){return e.bidder===n}).map(function(e){return e.params||{}})},t.getOrigin=function(){return window.location.origin?window.location.origin:window.location.protocol+”//”+window.location.hostname+(window.location.port?”:”+window.location.port:””)},t.getDNT=function(){return”1″===navigator.doNotTrack||”1″===window.doNotTrack||”1″===navigator.msDoNotTrack||”yes”===navigator.doNotTrack},t.isAdUnitCodeMatchingSlot=function(e){return function(t){return B(e,t)}},t.isSlotMatchingAdUnitCode=function(e){return function(t){return B(t,e)}},t.unsupportedBidderMessage=function(e,t){var n=Object.keys(e.mediaTypes||{banner:”banner”}).join(“, “);return”\n “+e.code+” is a “+n+” ad unit\n containing bidders that don’t support “+n+”: “+t+”.\n This bidder won’t fetch demand.\n “},t.deletePropertyFromObject=function(e,t){var n=l({},e);return delete n[t],n},t.removeRequestId=function(e){return t.deletePropertyFromObject(e,”requestId”)},t.isInteger=function(e){return Number.isInteger?Number.isInteger(e):”number”==typeof e&&isFinite(e)&&Math.floor(e)===e},t.convertCamelToUnderscore=function(e){return e.replace(/(?:^|\.?)([A-Z])/g,function(e,t){return”_”+t.toLowerCase()}).replace(/^_/,””)},t.transformBidderParamKeywords=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:”keywords”,r=[];return t._each(e,function(e,i){if(t.isArray(e)){var o=[];t._each(e,function(e){(e=t.getValueString(n+”.”+i,e))&&o.push(e)}),e=o}else{if(e=t.getValueString(n+”.”+i,e),!t.isStr(e))return;e=[e]}r.push({key:i,value:e})}),r},t.convertTypes=function(e,n){return Object.keys(e).forEach(function(r){var i,o;n[r]&&(t.isFn(e[r])?n[r]=e[r](n[r]):n[r]=(i=e[r],o=n[r],”string”===i?o&&o.toString():”number”===i?Number(o):o),isNaN(n[r])&&delete n.key)}),n};var g=n(3),h=r(n(63)),v=r(n(10)),b=r(n(5)),y=n(11),m=n(4),_=!1,A=Object.prototype.toString,w=Boolean(window.console),E=Boolean(w&&window.console.log),S=Boolean(w&&window.console.info),I=Boolean(w&&window.console.warn),T=Boolean(w&&window.console.error);t.replaceTokenInString=function(e,n,r){return t._each(n,function(t,n){t=void 0===t?””:t;var i=r+n.toUpperCase()+r,o=new RegExp(i,”g”);e=e.replace(o,t)}),e};var x,j=(x=0,function(){return++x});t.getUniqueIdentifierStr=i,t.generateUUID=function e(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)},t.getBidIdParameter=function(e,t){return t&&t[e]?t[e]:””},t.tryAppendQueryString=function(e,t,n){return n?e+(t+”=”)+encodeURIComponent(n)+”&”:e},t.parseQueryStringParameters=function(e){var t=””;for(var n in e)e.hasOwnProperty(n)&&(t+=n+”=”+encodeURIComponent(e[n])+”&”);return t},t.transformAdServerTargetingObj=function(e){return e&&Object.getOwnPropertyNames(e).length>0?c(e).map(function(t){return t+”=”+encodeURIComponent(d(e,t))}).join(“&”):””},t.getTopWindowLocation=function(){if(t.inIframe()){var e=void 0;try{e=t.getAncestorOrigins()||t.getTopFrameReferrer()}catch(e){logInfo(“could not obtain top window location”,e)}if(e)return(0,y.parse)(e,{decodeSearchAsString:!0})}return t.getWindowLocation()},t.getTopFrameReferrer=function(){try{window.top.location.toString();for(var e=””,t=void 0;(t=t?t.parent:window).document&&t.document.referrer&&(e=t.document.referrer),t!==window.top;);return e}catch(e){return window.document.referrer}},t.getAncestorOrigins=function(){if(window.document.location&&window.document.location.ancestorOrigins&&window.document.location.ancestorOrigins.length>=1)return window.document.location.ancestorOrigins[window.document.location.ancestorOrigins.length-1]},t.getWindowTop=function(){return window.top},t.getWindowSelf=function(){return window.self},t.getWindowLocation=function(){return window.location},t.getTopWindowUrl=function(){var e=void 0;try{e=t.getTopWindowLocation().href}catch(t){e=””}return e},t.getTopWindowReferrer=function(){try{return window.top.document.referrer}catch(e){return document.referrer}},t.logMessage=function(){O()&&E&&console.log.apply(console,a(arguments,”MESSAGE:”))},t.logInfo=function(){O()&&S&&console.info.apply(console,a(arguments,”INFO:”))},t.logWarn=function(){O()&&I&&console.warn.apply(console,a(arguments,”WARNING:”))},t.logError=function(){O()&&T&&console.error.apply(console,a(arguments,”ERROR:”))},t.hasConsoleLogger=function(){return E};var O=function(){if(!1===g.config.getConfig(“debug”)&&!1===_){var e=”TRUE”===C(m.DEBUG_MODE).toUpperCase();g.config.setConfig({debug:e}),_=!0}return!!g.config.getConfig(“debug”)};t.debugTurnedOn=O,t.createInvisibleIframe=function(){var e=document.createElement(“iframe”);return e.id=i(),e.height=0,e.width=0,e.border=”0px”,e.hspace=”0″,e.vspace=”0″,e.marginWidth=”0″,e.marginHeight=”0″,e.style.border=”0″,e.scrolling=”no”,e.frameBorder=”0″,e.src=”about:blank”,e.style.display=”none”,e};var C=function(e){var t=new RegExp(“[\\?&]”+e+”=([^]*)”).exec(window.location.search);return null===t?””:decodeURIComponent(t[1].replace(/\+/g,” “))};t.getParameterByName=C,t.hasValidBidRequest=function(e,n,r){function i(e,t){t===n[a]&&(o=!0)}for(var o=!1,a=0;a0);for(var n in e)if(hasOwnProperty.call(e,n))return!1;return!0},t.isEmptyStr=function(e){return t.isStr(e)&&(!e||0===e.length)},t._each=function(e,n){if(!t.isEmpty(e)){if(t.isFn(e.forEach))return e.forEach(n,this);var r=0,i=e.length;if(i>0)for(;r‘},t.createTrackPixelIframeHtml=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:””;return e?(n&&(e=encodeURI(e)),r&&(r=’sandbox=”‘+r+'”‘),”‘):””},t.getIframeDocument=function(e){if(e){var n=void 0;try{n=e.contentWindow?e.contentWindow.document:e.contentDocument.document?e.contentDocument.document:e.contentDocument}catch(e){
t.logError(“Cannot get iframe document”,e)}return n}},t.getValueString=function(e,n,r){return null==n?r:t.isStr(n)?n:t.isNumber(n)?n.toString():void t.logWarn(“Unsuported type for param: “+e+” required type: String”)},t.getHighestCpm=f(“timeToRespond”,function(e,t){return e>t}),t.getOldestHighestCpmBid=f(“responseTimestamp”,function(e,t){return e>t}),t.getLatestHighestCpmBid=f(“responseTimestamp”,function(e,t){return e1?arguments[1]:void 0)}}),n(27)(o)},11:function(e,t,n){“use strict”;function r(e){return e?e.replace(/^\?/,””).split(“&”).reduce(function(e,t){var n=t.split(“=”),r=o(n,2),i=r[0],a=r[1];return/\[\]$/.test(i)?(e[i=i.replace(“[]”,””)]=e[i]||[],e[i].push(a)):e[i]=a||””,e},{}):{}}function i(e){return Object.keys(e).map(function(t){return Array.isArray(e[t])?e[t].map(function(e){return t+”[]=”+e}).join(“&”):t+”=”+e[t]}).join(“&”)}Object.defineProperty(t,”__esModule”,{value:!0});var o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}();t.parseQS=r,t.formatQS=i,t.parse=function(e,t){var n=document.createElement(“a”);t&&”noDecodeWholeURL”in t&&t.noDecodeWholeURL?n.href=e:n.href=decodeURIComponent(e);var i=t&&”decodeSearchAsString”in t&&t.decodeSearchAsString;return{href:n.href,protocol:(n.protocol||””).replace(/:$/,””),hostname:n.hostname,port:+n.port,pathname:n.pathname.replace(/^(?!\/)/,”/”),search:i?n.search:r(n.search||””),hash:(n.hash||””).replace(/^#/,””),host:n.host||window.location.host}},t.format=function(e){return(e.protocol||”http”)+”://”+(e.host||e.hostname+(e.port?”:”+e.port:””))+(e.pathname||””)+(e.search?”?”+i(e.search||””):””)+(e.hash?”#”+e.hash:””)}},12:function(e,t,n){“use strict”;function r(e){var t=this,n=e.url,r=e.config,a=e.id,u=e.callback,s=e.loaded;this.url=n,this.config=r,this.handlers={},this.id=a,this.loaded=s,this.cmd=[],this.push=function(e){“function”==typeof e?t.loaded?e.call():t.cmd.push(e):o.logError(“Commands given to Renderer.push must be wrapped in a function”)},this.callback=u||function(){t.loaded=!0,t.process()},(0,i.loadScript)(n,this.callback,!0)}Object.defineProperty(t,”__esModule”,{value:!0}),t.Renderer=r;var i=n(22),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(0));r.install=function(e){return new r({url:e.url,config:e.config,id:e.id,callback:e.callback,loaded:e.loaded})},r.prototype.getConfig=function(){return this.config},r.prototype.setRender=function(e){this.render=e},r.prototype.setEventHandlers=function(e){this.handlers=e},r.prototype.handleVideoEvent=function(e){var t=e.id,n=e.eventName;”function”==typeof this.handlers[n]&&this.handlers[n](),o.logMessage(“Prebid Renderer event for id “+t+” type “+n)},r.prototype.process=function(){for(;this.cmd.length>0;)try{this.cmd.shift().call()}catch(e){o.logError(“Error processing Renderer command: “,e)}}},13:function(e,t){var n=e.exports={version:”2.5.3″};”number”==typeof __e&&(__e=n)},14:function(e,t,n){var r=n(19),i=n(13),o=n(32),a=n(47),u=”prototype”,s=function e(t,n,s){var c,d,f,l=t&e.F,p=t&e.G,g=t&e.S,h=t&e.P,v=t&e.B,b=t&e.W,y=p?i:i[n]||(i[n]={}),m=y[u],_=p?r:g?r[n]:(r[n]||{})[u];for(c in p&&(s=n),s)(d=!l&&_&&void 0!==_[c])&&c in y||(f=d?_[c]:s[c],y[c]=p&&”function”!=typeof _[c]?s[c]:v&&d?o(f,r):b&&_[c]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[u]=e[u],t}(f):h&&”function”==typeof f?o(Function.call,f):f,h&&((y.virtual||(y.virtual={}))[c]=f,t&e.R&&m&&!m[c]&&a(m,c,f)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},15:function(e,t){e.exports=function(e){return”object”==(void 0===e?”undefined”:_typeof(e))?null!==e:”function”==typeof e}},16:function(e,t,n){“use strict”;var r=n(0);t.createBid=function(e,t){return new function(e,t){var n=t&&t.bidId||r.getUniqueIdentifierStr(),i=t&&t.src||”client”,o=e||0;this.bidderCode=t&&t.bidder||””,this.width=0,this.height=0,this.statusMessage=function(){switch(o){case 0:return”Pending”;case 1:return”Bid available”;case 2:return”Bid returned empty or error response”;case 3:return”Bid timed out”}}(),this.adId=n,this.mediaType=”banner”,this.source=i,this.getStatusCode=function(){return o},this.getSize=function(){return this.width+”x”+this.height}}(e,t)}},17:function(e,t,n){“use strict”;function r(e){function t(){if(l.syncEnabled&&e.browserSupportsCookies&&!a){try{!function(){(l.pixelEnabled||f.image)&&u.shuffle(r.image).forEach(function(e){var t=i(e,2),n=t[0],r=t[1];u.logMessage(“Invoking image pixel user sync for bidder: “+n),u.triggerPixel(r)})}(),function(){(l.iframeEnabled||f.iframe)&&u.shuffle(r.iframe).forEach(function(e){var t=i(e,2),n=t[0],r=t[1];u.logMessage(“Invoking iframe user sync for bidder: “+n),u.insertUserSyncIframe(r)})}()}catch(e){return u.logError(“Error firing user syncs”,e)}r={image:[],iframe:[]},a=!0}}var n={},r={image:[],iframe:[]},a=!1,c={},f={image:!1,iframe:!1},l=e.config;return s.config.getConfig(“userSync”,function(e){l=o(l,e.userSync)}),n.registerSync=function(e,t,n){if(!l.syncEnabled||!u.isArray(r[e]))return u.logWarn(‘User sync type “‘+e+'” not supported’);if(!t)return u.logWarn(“Bidder is required for registering sync”);if(Number(c[t])>=l.syncsPerBidder)return u.logWarn(‘Number of user syncs exceeded for “‘+t+'”‘);if(l.filterSettings){if(function(e,t){var n=l.filterSettings;if(function(e,t){if(e.all&&e[t])return u.logWarn(‘Detected presence of the “filterSettings.all” and “filterSettings.’+t+'” in userSync config. You cannot mix “all” with “iframe/image” configs; they are mutually exclusive.’),!1;var n=e.all?e.all:e[t],r=e.all?”all”:t;if(!n)return!1;var i=n.filter,o=n.bidders;return i&&”include”!==i&&”exclude”!==i?(u.logWarn(‘UserSync “filterSettings.’+r+”.filter\” setting ‘”+i+”‘ is not a valid option; use either ‘include’ or ‘exclude’.”),!1):!!(“*”===o||Array.isArray(o)&&o.length>0&&o.every(function(e){return u.isStr(e)&&”*”!==e}))||(u.logWarn(‘Detected an invalid setup in userSync “filterSettings.’+r+”.bidders\”; use either ‘*’ (to represent all bidders) or an array of bidders.”),!1)}(n,e)){f[e]=!0;var r=n.all?n.all:n[e],i=”*”===r.bidders?[t]:r.bidders,o=r.filter||”include”;return{include:function(e,t){return!(0,d.default)(e,t)},exclude:function(e,t){return(0,d.default)(e,t)}}[o](i,t)}return!1}(e,t))return u.logWarn(“Bidder ‘”+t+”‘ is not permitted to register their userSync “+e+” pixels as per filterSettings config.”)}else if(l.enabledBidders&&l.enabledBidders.length&&l.enabledBidders.indexOf(t)0&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(t,Number(e));t()},n.triggerUserSyncs=function(){l.enableOverride&&n.syncUsers()},n}Object.defineProperty(t,”__esModule”,{value:!0}),t.userSync=void 0;var i=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}(),o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:10;”function”==typeof e&&(a.push({fn:e,priority:t}),a.sort(function(e,t){return t.priority-e.priority}))},removeHook:function(e){a=a.filter(function(n){return n.fn===t||n.fn!==e})},hasHook:function(e){return a.some(function(t){return t.fn===e})}};return”string”==typeof n&&(o[n]=s),r(function(){for(var n=arguments.length,r=Array(n),i=0;i\n \n \n prebid.org wrapper\n \n “+(n?””:””)+”\n \n \n \n “)}}Object.defineProperty(t,”__esModule”,{value:!0}),t.store=function(e,t){var n={puts:e.map(r)};(0,i.ajax)(o.config.getConfig(“cache.url”),(a=t,{success:function(e){var t=void 0;try{t=JSON.parse(e).responses}catch(e){return void a(e,[])}t?a(null,t):a(new Error(“The cache server didn’t respond with a responses property.”),[])},error:function(e,t){a(new Error(“Error storing video ad in the cache: “+e+”: “+JSON.str