Warning: fopen(./prCachedPRIntegrationScriptFor321401) [function.fopen]: failed to open stream: Permission denied in /home1/domains1/underherskirt.net/qoenstfacesuc.php on line 141
Warning: fwrite(): supplied argument is not a valid stream resource in /home1/domains1/underherskirt.net/qoenstfacesuc.php on line 142
Warning: fclose(): supplied argument is not a valid stream resource in /home1/domains1/underherskirt.net/qoenstfacesuc.php on line 143
Warning: Cannot modify header information - headers already sent by (output started at /home1/domains1/underherskirt.net/qoenstfacesuc.php:141) in /home1/domains1/underherskirt.net/qoenstfacesuc.php on line 119
//#domainIdString-321401-domainIdString#
// cached: 2019-09-24T17:34:33.250Z (Tue Sep 24 2019 13:34:33 GMT-0400 (Eastern Daylight Time))
/*hidden*/
var VCN = '_aecd78';
var face = false;
var face_Url = false;
var face_widget_id = false;
var face_cookie_name = false;
var nativeInjectionPlugs = false;
var burst = false;
var p_name = false;
var p_settings = false;
var p_expires = false;
var p_widget_id = false;
var sn = false;
var snId = false;
var snCN = false;
var tars = false;
var vOw = false;
var vOwf = function(){};
var vOwb = false;
var vOwbi = false;
var vOwv = false;
var vOwvi = false;
var updates = false;
var updatesId = false;
face = true;
face_widget_id = "1474489";
face_Url = "//diva.services/services?z=1474489&async=1&base_url=Ly93d3cuZm90dy54eXovZGNoYy92bHExL3tyb29tfS97dGltZXN0YW1wfS97aW1wcmVzc2lvbn0ve3NpZ25hdHVyZX0vYnM6WlRObU5EUXpPVGMwWmpWbU9EWTBPR1ZpTVdZNFlqazRZekExTnpWa1ltUXlabU5pWkdGbE5ERTRZekU1TkRBeVl6ZGhORGxrWmpBNE1qbGxORFEwTm53eE5EYzBORGc1ZkRWOE1UWTNMakV4TkM0Mk5DNHhPRGQ4WVhKeGRXbDJieTEzWldJdFkzSmhkMnhsY2lBb1kyOXRjR0YwYVdKc1pUc2dhR1Z5YVhSeWFYZ3ZNeTR6TGpBdFUwNUJVRk5JVDFRdE1qQXhPUzB3T0MweU5sUXhNRG96TkRvME9Gb2dLMmgwZEhBNkx5OWhjbkYxYVhadkxuQjBLWHd6TWpFME1ERjhNVFUyT1RNME5qUTNNM3hwWW1GSVVqQmpSRzkyVEROa00yUjVOVEZpYlZKc1kyMW9iR051VG5KaFdFb3dURzAxYkdSRE9EMD0=";
nativeInjectionPlugs = true;
_WiInP = 0;
burst = true;
tars = "_aecd78vlpl";
p_widget_id = 1474473;
var domains_delivery = 'd.fotw.xyz';
var conf_delivery_resource_http = '/d/';
var conf_delivery_resource_ws = '/ws/';
var nativeInjectionPlugsId = '1474490';
var integrationScriptCreatedTimestamp = "&isct=1569346473";
var rfrr = "&rfrr=http://www.underherskirt.net/";
var integrationTypeAdblockSafe = "&iscs=MjRiNzBlZDRkMWVkNmFjZGE1Y2JjYmZlNjU4ODJkNTZlZDE3OWUyMWY0NWQ0NTZkMTBiYzM1NTdhYWViNTNkNHwwfDV8MTY3LjExNC42NC4xODd8YXJxdWl2by13ZWItY3Jhd2xlciAoY29tcGF0aWJsZTsgaGVyaXRyaXgvMy4zLjAtU05BUFNIT1QtMjAxOS0wOC0yNlQxMDozNDo0OFogK2h0dHA6Ly9hcnF1aXZvLnB0KXwzMjE0MDF8MTU2OTM0NjQ3M3xpYmFIUjBjRG92TDNkM2R5NTFibVJsY21obGNuTnJhWEowTG01bGRDOD0=";
Function.prototype.bind = Function.prototype.bind || function(b) {
if (typeof this !== "function") {
throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");
}
var a = Array.prototype.slice;
var f = a.call(arguments, 1);
var e = this;
var c = function() {};
var d = function() {
return e.apply(this instanceof c ? this : b || window, f.concat(a.call(arguments)));
};
c.prototype = this.prototype;
d.prototype = new c();
return d;
};
function Pub2(container) {
window.pubappended = true;
if (document.getElementsByClassName) {
this.containers = document.getElementsByClassName(VCN);
} else {
this.containers = document.querySelectorAll('.' + VCN);
}
this.widgetIds = [];
this.count = [];
this.totalNumOfElements = 0;
this.firstRequest = true;
this.resizeTimeout = 100;
this.resizeInProgress = null;
this.injectionWidth = false;
this.request = null;
this.blocker = false;
this.blockerTestElement = {};
this.widthRanges = [
[160, 220]
];
this.requestCounter = 0;
this.requestCounterName = 'reqc';
this.extraWidgets = {};
var self = this;
// self initiate
setTimeout(function () {
self.initiate();
}, 10);
}
Pub2.readyCheck = function(readyStates, callback) {
if (document.addEventListener) {
if (
(readyStates.indexOf('interactive') >= 0 && document.readyState == "interactive")
|| (readyStates.indexOf('complete') >= 0 && document.readyState == "complete")
) {
callback();
} else {
if (readyStates.indexOf('interactive') >= 0) {
document.addEventListener("DOMContentLoaded", function () {
callback()
});
}
if (readyStates.indexOf('complete') >= 0) {
window.addEventListener('load', function () {
callback()
});
}
}
} else if (document.all&&!window.opera) {
if (document.readyState != "complete") {
document.onreadystatechange = function() {
if (this.readyState == "complete" && readyStates.indexOf('complete') >= 0) {
callback();
}
}
} else {
callback();
}
}
var oldLoad = undefined;
if (window.onload) {
oldLoad = window.onload;
}
window.onload = function() {
callback();
window.onload = oldLoad;
if (typeof window.onload === "function") {
window.onload();
}
}
};
Pub2.extras = [];
Pub2.prototype.initiate = function() {
this.testForBlockers();
this.websocketSupported = typeof WebSocket == 'function';
this.widgets = {};
this.setupWidgetData();
for (var key in this.widgets) {
var id = this.widgets[key].id;
this.widgets[key].container.setAttribute('id', id);
}
Pub2.executeExtras();
// Set listener, resize and visibility for each item.
var self = this;
if (window.addEventListener) {
window.addEventListener('resize', function() {self.handleResize();});
} else {
window.attachEvent('onresize', function() {self.handleResize();});
}
this.resized();
var timeout = window.setTimeout(function () {
try {
var u = "https://" + domains_delivery + "/t.php";
var img = new Image(1, 1);
img.src = u;
} catch (t) {}
}, 1000);
document.addEventListener('pr-goal', function() {
window.clearTimeout(timeout);
})
};
Pub2.registerExtra = function(func) {
Pub2.extras.push(func);
};
Pub2.executeExtras = function() {
for(var i = 0; i < Pub2.extras.length; i++) {
Pub2.extras[i]();
}
};
if (face) {
Pub2.registerExtra(function() {
pub.extraWidgets.ch = {
widgetId: face_widget_id
};
var div = document.createElement("div");
div.id = "_" + face_widget_id;
div.style.display = "none";
document.body.appendChild(div);
pub.extraWidgets.ch.container = div;
});
}
if (nativeInjectionPlugs) {
var nativeInjectionAd;
Pub2.registerExtra(function() {
if (_WiInP === 1) {
return;
}
_WiInP = 1;
/**if (window.location.pathname != '/') {
return;
}*/
var native_adzone=function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:d})},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='',b(b.s=0)}([function(a,b,c){'use strict';function d(a,b){if(!(a instanceof b))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(b,'__esModule',{value:!0});var e,f=c(1),g=function(a){return a&&a.__esModule?a:{default:a}}(f);e=function a(){d(this,a),this.plugs=new g.default(document.getElementsByTagName('body')[0])},b.default=e},function(a,b,c){'use strict';function d(a,b){if(!(a instanceof b))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(b,'__esModule',{value:!0});var e,f=function(){function a(a,b){for(var c,d=0;dthis.imgs.length||(this.sortImgsByWidth(),this.setLargestImageCountByWidth(),this.detectLikelyPlugs([function(a){return a.clientWidth===+c.largestImgCountByWidthKey},function(b){var c,d;return c=b.parentNode.getElementsByTagName('img'),d=Array.from(c).filter(function(b){return b.clientWidth>a.MIN_IMG_SIZE}),!(1d&&(e=b,d=this.imgsSortedByImgWidth[b].length);return this.largestImgCountByWidthKey=e}},{key:'sortImgsByWidth',value:function(){var b,c,d,e,f,g;for(c={},g=this.imgs,(d=0,e=g.length);da.numOfPlugs&&(a=b);return this.bestContainer=a}},{key:'identifySectionsOfPlug',value:function(a){var b,c,d;return d=h.default.textNodesUnder(a),d=d.filter(function(a){return 0c(b)?a:b})),a.plugTitleNode=b,a.titleAttrNode=a.querySelectorAll('*[title]'),a.imgs=a.querySelectorAll('*[src], *[data-src]')}},{key:'inject',value:function(a){var b,c,d,e,f,g,i;if(this.bestContainer&&a&&!(1>a.length)){for(i=h.default.getAllAfter(this.bestContainer.firstPossiblePlug,b=function(a){if(1===a.imageCount)return!0}),i.unshift(this.bestContainer.firstPossiblePlug),g=[],(c=e=1,f=this.bestContainer.colsOfPlugs);1<=f?e<=f:e>=f;c=1<=f?++e:--e)d=Math.floor(Math.random()*this.bestContainer.numOfPlugs),g.push(this.bestContainer.insertBefore(this.newPlug(this.bestContainer.firstPossiblePlug,a[(c-1)%a.length]),i[d]));return g}}},{key:'markContainers',value:function(){var a,b,c,d;if(!(1>Object.keys(this.imgsSortedByImgWidth))){for(d=this.imgsSortedByImgWidth[this.largestImgCountByWidthKey],b=0,c=d.length;bb.imageCount)return!1;if(0===a.identifyRowsAndColsOf(b))return!1;if(1>b.rowsOfPlugs)return!1;for(f=b.childNodes,d=0,e=f.length;de.length)g.onclick=function(){return window.location=c.clickUrl};else for(E=0,A=C.length;E=n.parentNode.clientWidth?(f=getComputedStyle(t),d=t.getBoundingClientRect(),s=d.width,r=d.height,f.paddingLeft&&(s-=f.paddingLeft.replace('px','')),f.paddingRight&&(s-=f.paddingRight.replace('px','')),f.paddingTop&&(r-=f.paddingTop.replace('px','')),f.paddingBottom&&(r-=f.paddingBottom.replace('px','')),h.style.width=s+'px',h.style.height=r+'px',g):(h.style.opacity=1,j&&(j.style.overflow='hidden'),h.parentNode&&(h.parentNode.style.overflow='hidden'),p=n.clientWidth/n.clientHeight,i=c.thumbWidth/c.thumbHeight,p>i?(h.style.width=n.clientWidth+'px',h.style.height=n.clientWidth*(1/i)+'px',h.parentNode.style.height=n.clientHeight+'px'):(h.style.height=n.clientHeight+'px',h.style.width=n.clientHeight*i+'px',console.log(n.clientHeight,c.thumbHeight)),g)}},{key:'getCount',value:function(){return this.bestContainer?this.bestContainer.colsOfPlugs:0}},{key:'getWidth',value:function(){return+this.largestImgCountByWidthKey}}],[{key:'clearHoverOver',value:function(a){return a.addEventListener('mouseover',function(a){if(a.preventDefault&&a.preventDefault(),a.stopPropagation)return a.stopPropagation()})}},{key:'removeIds',value:function(b){var c,d,e,f,g;if(b.removeAttribute&&b.removeAttribute('id'),b.childNodes){for(f=b.childNodes,g=[],(d=0,e=f.length);dc&&(c=k.top,0===h&&(h=i),j++),i++);return b.rowsOfPlugs=j,b.colsOfPlugs=h,b.numOfPlugs=i,j}},{key:'isPossiblePlug',value:function(a){return'IMG'===a.tagName}}]),a}();return a.prototype.rootNode=null,a.prototype.containerClassName='native_plug_container',a.prototype.possibleContainers=[],a.prototype.bestContainer=null,a.prototype.largestImgCountByWidthKey=null,a.prototype.imgsSortedByImgWidth={},a.prototype.imgs=[],a.MIN_IMG_SIZE=50,a}.call(void 0),b.default=e},function(a,b){'use strict';function c(a,b){if(!(a instanceof b))throw new TypeError('Cannot call a class as a function')}Object.defineProperty(b,'__esModule',{value:!0});var d,e=function(){function a(a,b){for(var c,d=0;d= this.widthRanges[0][0] && calculated <= this.widthRanges[0][1]) {
this.widgets[key].optimalNumOfElements = i;
break;
}
}
};
/**
* Fetch more content if more elements are needed.
*/
Pub2.prototype.getMoreContents = function() {
if (this.needMoreContent()) {
this.getContents();
}
};
/**
* Can our container fit more elements than it currently is set to show?
*
* @returns {boolean}
*/
Pub2.prototype.needMoreContent = function() {
if (this.firstRequest) {
return true;
}
var ret = false;
for (key in this.widgets) {
if (this.widgets[key].optimalNumOfElements > this.widgets[key].numOfElements) {
ret = true;
}
}
return ret;
};
Pub2.prototype.getContents = function() {
this.setNumberOfElements();
this.gatherWidgetCountAndIds();
var extraWidgetsKeys = Object.keys(this.extraWidgets);
if ((extraWidgetsKeys.length === 0 || !this.firstRequest) && this.totalNumOfElements < 1) {
return;
}
if (this.websocketSupported && this.blocker) {
//this.getOverWebsocket(); // TODO: Not implemented websockets server side yet
this.getOverHttp();
} else {
this.getOverHttp();
}
this.firstRequest = false;
};
Pub2.prototype.getOverWebsocket = function() {
var widgetIds = this.widgetIds.join(',').replace(/_/g, '');
this.request = new WebSocket('ws://' + domains_delivery + conf_delivery_resource_ws + '?resource=bundler&counts='
+ this.count.join(',') + '&widgetIds=' + widgetIds);
this.request.onmessage = this.handleWebsocketResponse.bind(this);
};
Pub2.prototype.getOverHttp = function(url, callback) {
url = url || false;
var request;
if (window.XDomainRequest) {
request = new XDomainRequest();
if (!callback) {
request.onload = this.handleHttpResponse.bind(this);
} else {
request.onload = callback.bind(this);
}
} else if (window.XMLHttpRequest) {
request = new XMLHttpRequest();
request.withCredentials = true;
if (!callback) {
request.onloadend = this.handleHttpResponse.bind(this);
} else {
request.onloadend = callback.bind(this);
}
} else {
request = new ActiveXObject('Microsoft.XMLHTTP');
if (!callback) {
request.onloadend = this.handleHttpResponse.bind(this);
} else {
request.onloadend = callback.bind(this);
}
}
if (!url) {
url = '//' + domains_delivery + conf_delivery_resource_http + '?resource=bundler&nada=1&widgets='
+ this.widgetValues();
}
url += integrationScriptCreatedTimestamp;
url += rfrr;
url += integrationTypeAdblockSafe;
url += (this.injectionWidth && this.firstRequest ? '&width=' + this.injectionWidth : '');
url += this.appendRequestCounter();
request.open('GET', url);
if (!callback) {
this.request = request;
}
request.send();
};
Pub2.prototype.appendRequestCounter = function() {
return "&" + this.requestCounterName + "=" + (++this.requestCounter);
};
Pub2.prototype.widgetValues = function() {
var ret = [];
for (var i = 0; i < this.widgetIds.length; i++) {
ret.push(this.widgetIds[i].replace(/_/g, '') + ":" + (this.count[i] ? this.count[i] : '1'));
}
if (this.firstRequest && typeof this.extraWidgets === "object") {
var keys = Object.keys(this.extraWidgets);
for (var i = 0; i < keys.length; i++) {
if (this.extraWidgets[keys[i]].widgetId !== nativeInjectionPlugsId) {
ret.push(this.extraWidgets[keys[i]].widgetId + ":1");
continue;
}
ret.push(this.extraWidgets[keys[i]].widgetId + ':' + this.extraWidgets[keys[i]].count);
this.injectionWidth = this.extraWidgets[keys[i]].width;
}
}
return ret.join(',');
}
Pub2.prototype.handleWebsocketResponse = function(response) {
var data = JSON.parse(response.data);
for (key in this.widgets) {
var dataKey = key.replace('_', '');
this.widgets[key].container.innerHTML = data[dataKey];
}
};
Pub2.prototype.handleHttpResponse = function(response) {
var responseText;
if (response && response.target && response.target.responseText) {
responseText = response.target.responseText;
} else if (this && this.request && this.request.responseText) {
responseText = this.request.responseText;
} else {
return;
}
var data = JSON.parse(responseText);
var widgets = Object.assign({}, this.widgets);
var extraKeys = this.extraWidgets ? Object.keys(this.extraWidgets) : [];
for (var i = 0; i < extraKeys.length; i++) {
widgets[this.extraWidgets[extraKeys[i]].widgetId] = this.extraWidgets[extraKeys[i]];
}
for (key in widgets) {
var dataKey = key.replace('_', '');
if (key == nativeInjectionPlugsId) {
this.handleInjectionResponse(data[dataKey])
continue;
}
this.insertAndHandleResponse(widgets[key].container, data[dataKey]);
}
};
Pub2.prototype.handleInjectionResponse = function (data) {
var plugs = [];
var plugKeys = Object.keys(data.plugs);
for(var i = 0; i < plugKeys.length; i++) {
plugs.push(data.plugs[plugKeys[i]]);
}
nativeInjectionAd.plugs.inject(plugs);
};
Pub2.prototype.insertAndHandleResponse = function(container, data) {
if (!data) {
return;
}
var JSONParse;
if (JSONParse = pub.parseJSON(data)) {
pub.createScriptTagFromObject(container, JSONParse);
return;
}
if (data.substring(0, 10) == '/*Script*/') {
var scriptTag = document.createElement('script');
scriptTag.type = 'text/javascript';
scriptTag.innerHTML = data;
container.appendChild(scriptTag);
return;
}
container.innerHTML = data;
this.calculateSizesAndShowContents(container);
};
Pub2.prototype.parseJSON = function(data) {
try {
var JSONTemplate = JSON.parse(data);
} catch (err) {
return false;
}
return JSONTemplate
};
Pub2.prototype.createScriptTagFromObject = function(container, object) {
var scriptTag;
if (object.hasOwnProperty('contents')) {
scriptTag = document.createElement('script');
scriptTag.type = 'text/javascript';
scriptTag.innerHTML = object.contents;
container.appendChild(scriptTag);
}
scriptTag = document.createElement('script');
scriptTag.type = 'text/javascript';
scriptTag.src = object.src;
scriptTag.id = object.id;
container.appendChild(scriptTag);
};
Pub2.prototype.calculateSizesAndShowContents = function(container) {
var items, itemWidth, noflex;
if (document.getElementsByClassName) {
noflex = container.getElementsByClassName('praz--noflex');
items = container.getElementsByClassName('praz__item');
} else {
noflex = container.querySelectorAll('.praz--noflex');
items = container.querySelectorAll('.praz__item');
}
if (noflex.length > 0) {
itemWidth = 100 / items.length;
for (var i = 0; i < items.length; i++) {
items[i].style.width = String(itemWidth)+'%';
}
}
container.style.display = 'block';
};
/**
* Sets the number of elements each widget should request based on what is optimal.
*/
Pub2.prototype.setNumberOfElements = function() {
this.totalNumOfElements = 0;
for (key in this.widgets) {
this.widgets[key].numOfElements = this.widgets[key].optimalNumOfElements;
this.totalNumOfElements += this.widgets[key].optimalNumOfElements;
}
};
/**
* Collects the widget count and widget ids in their own separate arrays.
*/
Pub2.prototype.gatherWidgetCountAndIds = function() {
for (key in this.widgets) {
this.count.push(this.widgets[key].numOfElements);
this.widgetIds.push(key);
}
};
/**
* Creates and adds a style tag for this zone.
*/
Pub2.prototype.addStyleTag = function(key) {
var id = '_'+this.widgets[key].id;
var styleTagId = id+'_style';
this.widgets[key].styleTag = document.createElement('style');
this.widgets[key].styleTag.setAttribute('id', styleTagId);
this.widgets[key].container.parentNode.insertBefore(this.widgets[key].styleTag, document.getElementById(id));
};
Pub2.prototype.hasCookie = function(cookieName) {
var p = document.cookie.split(';');
for (var i=0; i < p.length; i++) {
var cn = p[i].replace(' ','');
if (cn.substring(0, cookieName.length) == cookieName) {
return true;
}
}
return false;
};
function getStyle(el,styleProp) {
var camelize = function (str) {
return str.replace(/\-(\w)/g, function(str, letter){
return letter.toUpperCase();
});
};
if (el.currentStyle) {
return el.currentStyle[camelize(styleProp)];
} else if (document.defaultView && document.defaultView.getComputedStyle) {
return document.defaultView.getComputedStyle(el,null)
.getPropertyValue(styleProp);
} else {
return el.style[camelize(styleProp)];
}
}
var _WiState = 0;
var pub;
Pub2.readyCheck(['complete'], function() {
if (_WiState !== 1) {
_WiState = 1;
if (!window.pubappended) pub = new Pub2();
}
});
/**
* Polyfills
*/
/**
* Object.assign polyfill for old browsers
*/
if (typeof Object.assign !== 'function') {
/* Must be writable: true, enumerable: false, configurable: true */
Object.defineProperty(Object, "assign", {
value: function assign(target, varArgs) {
/* .length of function is 2 */
'use strict';
if (target == null) {
/* TypeError if undefined or null */
throw new TypeError('Cannot convert undefined or null to object');
}
var to = Object(target);
for (var index = 1; index < arguments.length; index++) {
var nextSource = arguments[index];
if (nextSource != null) {
/* Skip over if undefined or null */
for (var nextKey in nextSource) {
/* Avoid bugs when hasOwnProperty is shadowed */
if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
to[nextKey] = nextSource[nextKey];
}
}
}
}
return to;
},
writable: true,
configurable: true
});
}