break;case"none":default:badge.className="label label-success list-group-item__status",badge.Title=_i18n2["default"]._t("CampaignItem.NO_CHANGES","No changes")}varlinks=_react2["default"].createElement("span",{className:"list-group-item__info campaign-admin__item-links--has-links font-icon-link"},"3 linked items");returnitem.Thumbnail&&(thumbnail=_react2["default"].createElement("span",{className:"list-group-item__thumbnail"},_react2["default"].createElement("img",{alt:item.Title,src:item.Thumbnail}))),_react2["default"].createElement("div",null,thumbnail,_react2["default"].createElement("h4",{className:"list-group-item-heading"},item.Title),_react2["default"].createElement("span",{className:"list-group-item__info campaign-admin__item-links--is-linked font-icon-link"}),links,badge.className&&badge.Title&&_react2["default"].createElement("span",{className:badge.className},badge.Title))},CampaignAdminItem}(_SilverStripeComponent2["default"]);CampaignAdminItem.propTypes={campaign:_react2["default"].PropTypes.object.isRequired,item:_react2["default"].PropTypes.object.isRequired},exports["default"]=CampaignAdminItem},{i18n:"i18n","lib/SilverStripeComponent":"lib/SilverStripeComponent",react:"react"}],9:[function(require,module,exports){"use strict";function_interopRequireWildcard(obj){if(obj&&obj.__esModule)returnobj;varnewObj={};if(null!=obj)for(varkeyinobj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);returnnewObj["default"]=obj,newObj}function_interopRequireDefault(obj){returnobj&&obj.__esModule?obj:{"default":obj}}function_defaults(obj,defaults){for(varkeys=Object.getOwnPropertyNames(defaults),i=0;i<keys.length;i++){varkey=keys[i],value=Object.getOwnPropertyDescriptor(defaults,key);value&&value.configurable&&void0===obj[key]&&Object.defineProperty(obj,key,value)}returnobj}function_classCallCheck(instance,Constructor){if(!(instanceinstanceofConstructor))thrownewTypeError("Cannot call a class as a function")}function_possibleConstructorReturn(self,call){if(!self)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!=typeofcall&&"function"!=typeofcall?self:call}function_inherits(subClass,superClass){if("function"!=typeofsuperClass&&null!==superClass)thrownewTypeError("Super expression must either be null or a function, not "+typeofsuperClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):_defaults(subClass,superClass))}functionmapStateToProps(state,ownProps){varrecord=null,treeClass=ownProps.sectionConfig.treeClass;returnstate.records&&state.records[treeClass]&&ownProps.campaignId&&(record=state.records[treeClass][parseInt(ownProps.campaignId,10)]),{config:state.config,record:record||{},campaign:state.campaign,treeClass:treeClass,breadcrumbs:state.breadcrumbs}}functionmapDispatchToProps(dispatch){return{breadcrumbsActions:(0,_redux.bindActionCreators)(breadcrumbsActions,dispatch),recordActions:(0,_redux.bindActionCreators)(recordActions,dispatch),campaignActions:(0,_redux.bindActionCreators)(campaignActions,dispatch)}}Object.defineProperty(exports,"__esModule",{value:!0});var_extends=Object.assign||function(target){for(vari=1;i<arguments.length;i++){varsource=arguments[i];for(varkeyinsource)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}returntarget},_react=require("react"),_react2=_interopRequireDefault(_react),_redux=require("redux"),_reactRedux=require("react-redux"),_BreadcrumbsActions=require("state/breadcrumbs/BreadcrumbsActions"),breadcrumbsActions=_interopRequireWildcard(_BreadcrumbsActions),_RecordsActions=require("state/records/RecordsActions"),recordActions=_interopRequireWildcard(_RecordsActions),_CampaignActions=require("state/campaign/CampaignActions"),campaignActions=_interopRequireWildcard(_CampaignActions),_SilverStripeComponent=require("lib/SilverStripeComponent"),_SilverStripeComponent2=_inte
lib$es6$promise$promise$$Promise.all=lib$es6$promise$promise$all$$default,lib$es6$promise$promise$$Promise.race=lib$es6$promise$promise$race$$default,lib$es6$promise$promise$$Promise.resolve=lib$es6$promise$promise$resolve$$default,lib$es6$promise$promise$$Promise.reject=lib$es6$promise$promise$reject$$default,lib$es6$promise$promise$$Promise._setScheduler=lib$es6$promise$asap$$setScheduler,lib$es6$promise$promise$$Promise._setAsap=lib$es6$promise$asap$$setAsap,lib$es6$promise$promise$$Promise._asap=lib$es6$promise$asap$$asap,lib$es6$promise$promise$$Promise.prototype={constructor:lib$es6$promise$promise$$Promise,then:lib$es6$promise$then$$default,"catch":function(onRejection){returnthis.then(null,onRejection)}};varlib$es6$promise$enumerator$$default=lib$es6$promise$enumerator$$Enumerator;lib$es6$promise$enumerator$$Enumerator.prototype._validationError=function(){returnnewError("Array Methods must be provided an Array")},lib$es6$promise$enumerator$$Enumerator.prototype._enumerate=function(){for(varlength=this.length,input=this._input,i=0;this._state===lib$es6$promise$$internal$$PENDING&&length>i;i++)this._eachEntry(input[i],i)},lib$es6$promise$enumerator$$Enumerator.prototype._eachEntry=function(entry,i){varc=this._instanceConstructor,resolve=c.resolve;if(resolve===lib$es6$promise$promise$resolve$$default){varthen=lib$es6$promise$$internal$$getThen(entry);if(then===lib$es6$promise$then$$default&&entry._state!==lib$es6$promise$$internal$$PENDING)this._settledAt(entry._state,i,entry._result);elseif("function"!=typeofthen)this._remaining--,this._result[i]=entry;elseif(c===lib$es6$promise$promise$$default){varpromise=newc(lib$es6$promise$$internal$$noop);lib$es6$promise$$internal$$handleMaybeThenable(promise,entry,then),this._willSettleAt(promise,i)}elsethis._willSettleAt(newc(function(resolve){resolve(entry)}),i)}elsethis._willSettleAt(resolve(entry),i)},lib$es6$promise$enumerator$$Enumerator.prototype._settledAt=function(state,i,value){varpromise=this.promise;promise._state===lib$es6$promise$$internal$$PENDING&&(this._remaining--,state===lib$es6$promise$$internal$$REJECTED?lib$es6$promise$$internal$$reject(promise,value):this._result[i]=value),0===this._remaining&&lib$es6$promise$$internal$$fulfill(promise,this._result)},lib$es6$promise$enumerator$$Enumerator.prototype._willSettleAt=function(promise,i){varenumerator=this;lib$es6$promise$$internal$$subscribe(promise,void0,function(value){enumerator._settledAt(lib$es6$promise$$internal$$FULFILLED,i,value)},function(reason){enumerator._settledAt(lib$es6$promise$$internal$$REJECTED,i,reason)})};varlib$es6$promise$polyfill$$default=lib$es6$promise$polyfill$$polyfill,lib$es6$promise$umd$$ES6Promise={Promise:lib$es6$promise$promise$$default,polyfill:lib$es6$promise$polyfill$$default};"function"==typeofdefine&&define.amd?define(function(){returnlib$es6$promise$umd$$ES6Promise}):"undefined"!=typeofmodule&&module.exports?module.exports=lib$es6$promise$umd$$ES6Promise:"undefined"!=typeofthis&&(this.ES6Promise=lib$es6$promise$umd$$ES6Promise),lib$es6$promise$polyfill$$default()}).call(this)}).call(this,require("_process"),"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:"undefined"!=typeofwindow?window:{})},{_process:31}],37:[function(require,module,exports){require("whatwg-fetch"),module.exports=self.fetch.bind(self)},{"whatwg-fetch":46}],38:[function(require,module,exports){!function(isNode){functionmerge_recursive(base,extend){if("object"!==typeOf(base))returnextend;for(varkeyinextend)"object"===typeOf(base[key])&&"object"===typeOf(extend[key])?base[key]=merge_recursive(base[key],extend[key]):base[key]=extend[key];returnbase}functionmerge(clone,recursive,argv){varresult=argv[0],size=argv.length;(clone||"object"!==typeOf(result))&&(result={});for(varindex=0;size>index;++index){varitem=argv[index],type=typeOf(item);if("object"===type)for(varkeyinitem){varsitem=clone?Public.clone(item[key]):item[key];recursive?result[key]=merge_recursive(result[key],sitem):result[key]=sitem}}returnresult}functiontypeOf(input){return{}.toString.c
this.headers.get("content-type")||("string"==typeofbody?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type&&this.headers.set("content-type",this._bodyBlob.type))},support.blob?(this.blob=function(){varrejected=consumed(this);if(rejected)returnrejected;if(this._bodyBlob)returnPromise.resolve(this._bodyBlob);if(this._bodyFormData)thrownewError("could not read FormData body as blob");returnPromise.resolve(newBlob([this._bodyText]))},this.arrayBuffer=function(){returnthis.blob().then(readBlobAsArrayBuffer)},this.text=function(){varrejected=consumed(this);if(rejected)returnrejected;if(this._bodyBlob)returnreadBlobAsText(this._bodyBlob);if(this._bodyFormData)thrownewError("could not read FormData body as text");returnPromise.resolve(this._bodyText)}):this.text=function(){varrejected=consumed(this);returnrejected?rejected:Promise.resolve(this._bodyText)},support.formData&&(this.formData=function(){returnthis.text().then(decode)}),this.json=function(){returnthis.text().then(JSON.parse)},this}functionnormalizeMethod(method){varupcased=method.toUpperCase();returnmethods.indexOf(upcased)>-1?upcased:method}functionRequest(input,options){options=options||{};varbody=options.body;if(Request.prototype.isPrototypeOf(input)){if(input.bodyUsed)thrownewTypeError("Already read");this.url=input.url,this.credentials=input.credentials,options.headers||(this.headers=newHeaders(input.headers)),this.method=input.method,this.mode=input.mode,body||(body=input._bodyInit,input.bodyUsed=!0)}elsethis.url=input;if(this.credentials=options.credentials||this.credentials||"omit",!options.headers&&this.headers||(this.headers=newHeaders(options.headers)),this.method=normalizeMethod(options.method||this.method||"GET"),this.mode=options.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&body)thrownewTypeError("Body not allowed for GET or HEAD requests");this._initBody(body)}functiondecode(body){varform=newFormData;returnbody.trim().split("&").forEach(function(bytes){if(bytes){varsplit=bytes.split("="),name=split.shift().replace(/\+/g," "),value=split.join("=").replace(/\+/g," ");form.append(decodeURIComponent(name),decodeURIComponent(value))}}),form}functionheaders(xhr){varhead=newHeaders,pairs=xhr.getAllResponseHeaders().trim().split("\n");returnpairs.forEach(function(header){varsplit=header.trim().split(":"),key=split.shift().trim(),value=split.join(":").trim();head.append(key,value)}),head}functionResponse(bodyInit,options){options||(options={}),this.type="default",this.status=options.status,this.ok=this.status>=200&&this.status<300,this.statusText=options.statusText,this.headers=options.headersinstanceofHeaders?options.headers:newHeaders(options.headers),this.url=options.url||"",this._initBody(bodyInit)}if(!self.fetch){Headers.prototype.append=function(name,value){name=normalizeName(name),value=normalizeValue(value);varlist=this.map[name];list||(list=[],this.map[name]=list),list.push(value)},Headers.prototype["delete"]=function(name){deletethis.map[normalizeName(name)]},Headers.prototype.get=function(name){varvalues=this.map[normalizeName(name)];returnvalues?values[0]:null},Headers.prototype.getAll=function(name){returnthis.map[normalizeName(name)]||[]},Headers.prototype.has=function(name){returnthis.map.hasOwnProperty(normalizeName(name))},Headers.prototype.set=function(name,value){this.map[normalizeName(name)]=[normalizeValue(value)]},Headers.prototype.forEach=function(callback,thisArg){Object.getOwnPropertyNames(this.map).forEach(function(name){this.map[name].forEach(function(value){callback.call(thisArg,value,name,this)},this)},this)};varsupport={blob:"FileReader"inself&&"Blob"inself&&function(){try{returnnewBlob,!0}catch(e){return!1}}(),formData:"FormData"inself,arrayBuffer:"ArrayBuffer"inself},methods=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];Request.prototype.clone=function(){returnnewRequest(this)},Body.call(Request.prototype),Body.call(Response.prototype),Response.prototype.clone=function(){returnnewRes