diff --git a/1299.1803f607.iframe.bundle.js.br b/1299.1803f607.iframe.bundle.js.br deleted file mode 100644 index d70ffdf2..00000000 Binary files a/1299.1803f607.iframe.bundle.js.br and /dev/null differ diff --git a/1299.1803f607.iframe.bundle.js.gz b/1299.1803f607.iframe.bundle.js.gz deleted file mode 100644 index 7eb8c288..00000000 Binary files a/1299.1803f607.iframe.bundle.js.gz and /dev/null differ diff --git a/1299.1803f607.iframe.bundle.js.map.br b/1299.1803f607.iframe.bundle.js.map.br deleted file mode 100644 index 04668659..00000000 Binary files a/1299.1803f607.iframe.bundle.js.map.br and /dev/null differ diff --git a/1299.1803f607.iframe.bundle.js.map.gz b/1299.1803f607.iframe.bundle.js.map.gz deleted file mode 100644 index 9c9e668a..00000000 Binary files a/1299.1803f607.iframe.bundle.js.map.gz and /dev/null differ diff --git a/1299.1803f607.iframe.bundle.js b/2420.1237b913.iframe.bundle.js similarity index 89% rename from 1299.1803f607.iframe.bundle.js rename to 2420.1237b913.iframe.bundle.js index ebcd847a..60c6859a 100644 --- a/1299.1803f607.iframe.bundle.js +++ b/2420.1237b913.iframe.bundle.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[1299],{"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:i+""}function _defineProperty(obj,key,value){return(key=toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.d(__webpack_exports__,{A:function(){return _defineProperty}})},"./node_modules/@storybook/addon-actions/dist/index.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{XI:function(){return action}});var Category2,v4=__webpack_require__("./node_modules/uuid/dist/esm-browser/v4.js"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),StorybookError=class extends Error{constructor(){super(...arguments),this.data={},this.documentation=!1,this.fromStorybook=!0}get fullErrorCode(){let paddedCode=String(this.code).padStart(4,"0");return`SB_${this.category}_${paddedCode}`}get name(){let errorName=this.constructor.name;return`${this.fullErrorCode} (${errorName})`}get message(){let page;return!0===this.documentation?page=`https://storybook.js.org/error/${this.fullErrorCode}`:"string"==typeof this.documentation?page=this.documentation:Array.isArray(this.documentation)&&(page=`\n${this.documentation.map((doc=>`\t- ${doc}`)).join("\n")}`),`${this.template()}${null!=page?`\n\nMore info: ${page}\n`:""}`}},esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),Category=((Category2=Category||{}).PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",Category2.PREVIEW_CHANNELS="PREVIEW_CHANNELS",Category2.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",Category2.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",Category2.PREVIEW_API="PREVIEW_API",Category2.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",Category2.PREVIEW_ROUTER="PREVIEW_ROUTER",Category2.PREVIEW_THEMING="PREVIEW_THEMING",Category2.RENDERER_HTML="RENDERER_HTML",Category2.RENDERER_PREACT="RENDERER_PREACT",Category2.RENDERER_REACT="RENDERER_REACT",Category2.RENDERER_SERVER="RENDERER_SERVER",Category2.RENDERER_SVELTE="RENDERER_SVELTE",Category2.RENDERER_VUE="RENDERER_VUE",Category2.RENDERER_VUE3="RENDERER_VUE3",Category2.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",Category2),ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super(),this.data=data,this.category="PREVIEW_API",this.code=2,this.documentation="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function"}template(){return esm.A` +"use strict";(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[2420],{"./node_modules/@storybook/addon-actions/dist/index.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{XI:function(){return action}});var Category2,v4=__webpack_require__("./node_modules/uuid/dist/esm-browser/v4.js"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),StorybookError=class extends Error{constructor(){super(...arguments),this.data={},this.documentation=!1,this.fromStorybook=!0}get fullErrorCode(){let paddedCode=String(this.code).padStart(4,"0");return`SB_${this.category}_${paddedCode}`}get name(){let errorName=this.constructor.name;return`${this.fullErrorCode} (${errorName})`}get message(){let page;return!0===this.documentation?page=`https://storybook.js.org/error/${this.fullErrorCode}`:"string"==typeof this.documentation?page=this.documentation:Array.isArray(this.documentation)&&(page=`\n${this.documentation.map((doc=>`\t- ${doc}`)).join("\n")}`),`${this.template()}${null!=page?`\n\nMore info: ${page}\n`:""}`}},esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),Category=((Category2=Category||{}).PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",Category2.PREVIEW_CHANNELS="PREVIEW_CHANNELS",Category2.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",Category2.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",Category2.PREVIEW_API="PREVIEW_API",Category2.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",Category2.PREVIEW_ROUTER="PREVIEW_ROUTER",Category2.PREVIEW_THEMING="PREVIEW_THEMING",Category2.RENDERER_HTML="RENDERER_HTML",Category2.RENDERER_PREACT="RENDERER_PREACT",Category2.RENDERER_REACT="RENDERER_REACT",Category2.RENDERER_SERVER="RENDERER_SERVER",Category2.RENDERER_SVELTE="RENDERER_SVELTE",Category2.RENDERER_VUE="RENDERER_VUE",Category2.RENDERER_VUE3="RENDERER_VUE3",Category2.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",Category2),ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super(),this.data=data,this.category="PREVIEW_API",this.code=2,this.documentation="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function"}template(){return esm.A` We detected that you use an implicit action arg during ${this.data.phase} of your story. ${this.data.deprecated?"\nThis is deprecated and won't work in Storybook 8 anymore.\n":""} Please provide an explicit spy to your args like this: @@ -8,4 +8,4 @@ ${this.data.name}: fn() } `}},ADDON_ID="storybook/actions",EVENT_ID=`${ADDON_ID}/action-event`,config={depth:10,clearOnStoryChange:!0,limit:50},findProto=(obj,callback)=>{let proto=Object.getPrototypeOf(obj);return!proto||callback(proto)?proto:findProto(proto,callback)},serializeArg=a=>{if("object"==typeof(e=a)&&e&&findProto(e,(proto=>/^Synthetic(?:Base)?Event$/.test(proto.constructor.name)))&&"function"==typeof e.persist){let e=Object.create(a.constructor.prototype,Object.getOwnPropertyDescriptors(a));e.persist();let viewDescriptor=Object.getOwnPropertyDescriptor(e,"view"),view=viewDescriptor?.value;return"object"==typeof view&&"Window"===view?.constructor.name&&Object.defineProperty(e,"view",{...viewDescriptor,value:Object.create(view.constructor.prototype)}),e}var e;return a},generateId=()=>"object"==typeof crypto&&"function"==typeof crypto.getRandomValues?(0,v4.A)():Date.now().toString(36)+Math.random().toString(36).substring(2);function action(name,options={}){let actionOptions={...config,...options},handler=function(...args){if(options.implicit){let storyRenderer=("__STORYBOOK_PREVIEW__"in external_STORYBOOK_MODULE_GLOBAL_.global?external_STORYBOOK_MODULE_GLOBAL_.global.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find((render=>"playing"===render.phase||"rendering"===render.phase));if(storyRenderer){let deprecated=!window?.FEATURES?.disallowImplicitActionsInRenderV8,error=new ImplicitActionsDuringRendering({phase:storyRenderer.phase,name:name,deprecated:deprecated});if(!deprecated)throw error;console.warn(error)}}let channel=external_STORYBOOK_MODULE_PREVIEW_API_.addons.getChannel(),id=generateId(),serializedArgs=args.map(serializeArg),normalizedArgs=args.length>1?serializedArgs:serializedArgs[0],actionDisplayToEmit={id:id,count:0,data:{name:name,args:normalizedArgs},options:{...actionOptions,maxDepth:5+(actionOptions.depth||3),allowFunction:actionOptions.allowFunction||!1}};channel.emit(EVENT_ID,actionDisplayToEmit)};return handler.isAction=!0,handler}},"./node_modules/core-js/internals/array-species-constructor.js":function(module,__unused_webpack_exports,__webpack_require__){var isArray=__webpack_require__("./node_modules/core-js/internals/is-array.js"),isConstructor=__webpack_require__("./node_modules/core-js/internals/is-constructor.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),SPECIES=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("species"),$Array=Array;module.exports=function(originalArray){var C;return isArray(originalArray)&&(C=originalArray.constructor,(isConstructor(C)&&(C===$Array||isArray(C.prototype))||isObject(C)&&null===(C=C[SPECIES]))&&(C=void 0)),void 0===C?$Array:C}},"./node_modules/core-js/internals/array-species-create.js":function(module,__unused_webpack_exports,__webpack_require__){var arraySpeciesConstructor=__webpack_require__("./node_modules/core-js/internals/array-species-constructor.js");module.exports=function(originalArray,length){return new(arraySpeciesConstructor(originalArray))(0===length?0:length)}},"./node_modules/core-js/internals/create-property.js":function(module,__unused_webpack_exports,__webpack_require__){var toPropertyKey=__webpack_require__("./node_modules/core-js/internals/to-property-key.js"),definePropertyModule=__webpack_require__("./node_modules/core-js/internals/object-define-property.js"),createPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/create-property-descriptor.js");module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}},"./node_modules/core-js/internals/does-not-exceed-safe-integer.js":function(module){var $TypeError=TypeError;module.exports=function(it){if(it>9007199254740991)throw $TypeError("Maximum allowed index exceeded");return it}},"./node_modules/core-js/internals/flatten-into-array.js":function(module,__unused_webpack_exports,__webpack_require__){var isArray=__webpack_require__("./node_modules/core-js/internals/is-array.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),doesNotExceedSafeInteger=__webpack_require__("./node_modules/core-js/internals/does-not-exceed-safe-integer.js"),bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),flattenIntoArray=function(target,original,source,sourceLen,start,depth,mapper,thisArg){for(var element,elementLen,targetIndex=start,sourceIndex=0,mapFn=!!mapper&&bind(mapper,thisArg);sourceIndex0&&isArray(element)?(elementLen=lengthOfArrayLike(element),targetIndex=flattenIntoArray(target,original,element,elementLen,targetIndex,depth-1)-1):(doesNotExceedSafeInteger(targetIndex+1),target[targetIndex]=element),targetIndex++),sourceIndex++;return targetIndex};module.exports=flattenIntoArray},"./node_modules/core-js/internals/function-bind-context.js":function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this-clause.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),NATIVE_BIND=__webpack_require__("./node_modules/core-js/internals/function-bind-native.js"),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),void 0===that?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}},"./node_modules/core-js/internals/function-uncurry-this-clause.js":function(module,__unused_webpack_exports,__webpack_require__){var classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=function(fn){if("Function"===classofRaw(fn))return uncurryThis(fn)}},"./node_modules/core-js/internals/get-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){var classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js"),isNullOrUndefined=__webpack_require__("./node_modules/core-js/internals/is-null-or-undefined.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}},"./node_modules/core-js/internals/get-iterator.js":function(module,__unused_webpack_exports,__webpack_require__){var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){var wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}},"./node_modules/core-js/internals/is-array.js":function(module,__unused_webpack_exports,__webpack_require__){var classof=__webpack_require__("./node_modules/core-js/internals/classof-raw.js");module.exports=Array.isArray||function isArray(argument){return"Array"===classof(argument)}},"./node_modules/core-js/internals/iterate.js":function(module,__unused_webpack_exports,__webpack_require__){var bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),isArrayIteratorMethod=__webpack_require__("./node_modules/core-js/internals/is-array-iterator-method.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),getIterator=__webpack_require__("./node_modules/core-js/internals/get-iterator.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),iteratorClose=__webpack_require__("./node_modules/core-js/internals/iterator-close.js"),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var iterator,iterFn,index,length,result,next,step,that=options&&options.that,AS_ENTRIES=!(!options||!options.AS_ENTRIES),IS_RECORD=!(!options||!options.IS_RECORD),IS_ITERATOR=!(!options||!options.IS_ITERATOR),INTERRUPTED=!(!options||!options.INTERRUPTED),fn=bind(unboundFunction,that),stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(!(iterFn=getIteratorMethod(iterable)))throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if((result=callFn(iterable[index]))&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if("object"==typeof result&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}},"./node_modules/core-js/internals/iterator-close.js":function(module,__unused_webpack_exports,__webpack_require__){var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js");module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(!(innerResult=getMethod(iterator,"return"))){if("throw"===kind)throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if("throw"===kind)throw value;if(innerError)throw innerResult;return anObject(innerResult),value}},"./node_modules/core-js/internals/number-parse-float.js":function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__("./node_modules/core-js/internals/global.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),trim=__webpack_require__("./node_modules/core-js/internals/string-trim.js").trim,whitespaces=__webpack_require__("./node_modules/core-js/internals/whitespaces.js"),charAt=uncurryThis("".charAt),$parseFloat=global.parseFloat,Symbol=global.Symbol,ITERATOR=Symbol&&Symbol.iterator,FORCED=1/$parseFloat(whitespaces+"-0")!=-1/0||ITERATOR&&!fails((function(){$parseFloat(Object(ITERATOR))}));module.exports=FORCED?function parseFloat(string){var trimmedString=trim(toString(string)),result=$parseFloat(trimmedString);return 0===result&&"-"===charAt(trimmedString,0)?-0:result}:$parseFloat},"./node_modules/core-js/internals/string-repeat.js":function(module,__unused_webpack_exports,__webpack_require__){var toIntegerOrInfinity=__webpack_require__("./node_modules/core-js/internals/to-integer-or-infinity.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),$RangeError=RangeError;module.exports=function repeat(count){var str=toString(requireObjectCoercible(this)),result="",n=toIntegerOrInfinity(count);if(n<0||n===1/0)throw new $RangeError("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(str+=str))1&n&&(result+=str);return result}},"./node_modules/core-js/internals/string-trim.js":function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),whitespaces=__webpack_require__("./node_modules/core-js/internals/whitespaces.js"),replace=uncurryThis("".replace),ltrim=RegExp("^["+whitespaces+"]+"),rtrim=RegExp("(^|[^"+whitespaces+"])["+whitespaces+"]+$"),createMethod=function(TYPE){return function($this){var string=toString(requireObjectCoercible($this));return 1&TYPE&&(string=replace(string,ltrim,"")),2&TYPE&&(string=replace(string,rtrim,"$1")),string}};module.exports={start:createMethod(1),end:createMethod(2),trim:createMethod(3)}},"./node_modules/core-js/internals/this-number-value.js":function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=uncurryThis(1..valueOf)},"./node_modules/core-js/internals/whitespaces.js":function(module){module.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"./node_modules/core-js/modules/es.array.flat-map.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__("./node_modules/core-js/internals/export.js"),flattenIntoArray=__webpack_require__("./node_modules/core-js/internals/flatten-into-array.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),toObject=__webpack_require__("./node_modules/core-js/internals/to-object.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),arraySpeciesCreate=__webpack_require__("./node_modules/core-js/internals/array-species-create.js");$({target:"Array",proto:!0},{flatMap:function flatMap(callbackfn){var A,O=toObject(this),sourceLen=lengthOfArrayLike(O);return aCallable(callbackfn),(A=arraySpeciesCreate(O,0)).length=flattenIntoArray(A,O,O,sourceLen,0,1,callbackfn,arguments.length>1?arguments[1]:void 0),A}})},"./node_modules/core-js/modules/es.array.includes.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__("./node_modules/core-js/internals/export.js"),$includes=__webpack_require__("./node_modules/core-js/internals/array-includes.js").includes,fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),addToUnscopables=__webpack_require__("./node_modules/core-js/internals/add-to-unscopables.js");$({target:"Array",proto:!0,forced:fails((function(){return!Array(1).includes()}))},{includes:function includes(el){return $includes(this,el,arguments.length>1?arguments[1]:void 0)}}),addToUnscopables("includes")},"./node_modules/core-js/modules/es.array.unscopables.flat-map.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){__webpack_require__("./node_modules/core-js/internals/add-to-unscopables.js")("flatMap")},"./node_modules/core-js/modules/es.number.to-fixed.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__("./node_modules/core-js/internals/export.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),toIntegerOrInfinity=__webpack_require__("./node_modules/core-js/internals/to-integer-or-infinity.js"),thisNumberValue=__webpack_require__("./node_modules/core-js/internals/this-number-value.js"),$repeat=__webpack_require__("./node_modules/core-js/internals/string-repeat.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),$RangeError=RangeError,$String=String,floor=Math.floor,repeat=uncurryThis($repeat),stringSlice=uncurryThis("".slice),nativeToFixed=uncurryThis(1..toFixed),pow=function(x,n,acc){return 0===n?acc:n%2==1?pow(x,n-1,acc*x):pow(x*x,n/2,acc)},multiply=function(data,n,c){for(var index=-1,c2=c;++index<6;)c2+=n*data[index],data[index]=c2%1e7,c2=floor(c2/1e7)},divide=function(data,n){for(var index=6,c=0;--index>=0;)c+=data[index],data[index]=floor(c/n),c=c%n*1e7},dataToString=function(data){for(var index=6,s="";--index>=0;)if(""!==s||0===index||0!==data[index]){var t=$String(data[index]);s=""===s?t:s+repeat("0",7-t.length)+t}return s};$({target:"Number",proto:!0,forced:fails((function(){return"0.000"!==nativeToFixed(8e-5,3)||"1"!==nativeToFixed(.9,0)||"1.25"!==nativeToFixed(1.255,2)||"1000000000000000128"!==nativeToFixed(0xde0b6b3a7640080,0)}))||!fails((function(){nativeToFixed({})}))},{toFixed:function toFixed(fractionDigits){var e,z,j,k,number=thisNumberValue(this),fractDigits=toIntegerOrInfinity(fractionDigits),data=[0,0,0,0,0,0],sign="",result="0";if(fractDigits<0||fractDigits>20)throw new $RangeError("Incorrect fraction digits");if(number!=number)return"NaN";if(number<=-1e21||number>=1e21)return $String(number);if(number<0&&(sign="-",number=-number),number>1e-21)if(z=(e=function(x){for(var n=0,x2=x;x2>=4096;)n+=12,x2/=4096;for(;x2>=2;)n+=1,x2/=2;return n}(number*pow(2,69,1))-69)<0?number*pow(2,-e,1):number/pow(2,e,1),z*=4503599627370496,(e=52-e)>0){for(multiply(data,0,z),j=fractDigits;j>=7;)multiply(data,1e7,0),j-=7;for(multiply(data,pow(10,j,1),0),j=e-1;j>=23;)divide(data,1<<23),j-=23;divide(data,1<0?sign+((k=result.length)<=fractDigits?"0."+repeat("0",fractDigits-k)+result:stringSlice(result,0,k-fractDigits)+"."+stringSlice(result,k-fractDigits)):sign+result}})},"./node_modules/core-js/modules/es.object.from-entries.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__("./node_modules/core-js/internals/export.js"),iterate=__webpack_require__("./node_modules/core-js/internals/iterate.js"),createProperty=__webpack_require__("./node_modules/core-js/internals/create-property.js");$({target:"Object",stat:!0},{fromEntries:function fromEntries(iterable){var obj={};return iterate(iterable,(function(k,v){createProperty(obj,k,v)}),{AS_ENTRIES:!0}),obj}})},"./node_modules/core-js/modules/es.parse-float.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__("./node_modules/core-js/internals/export.js"),$parseFloat=__webpack_require__("./node_modules/core-js/internals/number-parse-float.js");$({global:!0,forced:parseFloat!==$parseFloat},{parseFloat:$parseFloat})},"./node_modules/lodash-es/debounce.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{A:function(){return lodash_es_debounce}});var lodash_es_isObject=function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)},_freeGlobal="object"==typeof __webpack_require__.g&&__webpack_require__.g&&__webpack_require__.g.Object===Object&&__webpack_require__.g,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,_root=_freeGlobal||freeSelf||Function("return this")(),lodash_es_now=function(){return _root.Date.now()},reWhitespace=/\s/;var _trimmedEndIndex=function trimmedEndIndex(string){for(var index=string.length;index--&&reWhitespace.test(string.charAt(index)););return index},reTrimStart=/^\s+/;var _baseTrim=function baseTrim(string){return string?string.slice(0,_trimmedEndIndex(string)+1).replace(reTrimStart,""):string},_Symbol=_root.Symbol,objectProto=Object.prototype,_getRawTag_hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=_Symbol?_Symbol.toStringTag:void 0;var _getRawTag=function getRawTag(value){var isOwn=_getRawTag_hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=!0}catch(e){}var result=nativeObjectToString.call(value);return unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]),result},_objectToString_nativeObjectToString=Object.prototype.toString;var _objectToString=function objectToString(value){return _objectToString_nativeObjectToString.call(value)},_baseGetTag_symToStringTag=_Symbol?_Symbol.toStringTag:void 0;var _baseGetTag=function baseGetTag(value){return null==value?void 0===value?"[object Undefined]":"[object Null]":_baseGetTag_symToStringTag&&_baseGetTag_symToStringTag in Object(value)?_getRawTag(value):_objectToString(value)};var lodash_es_isObjectLike=function isObjectLike(value){return null!=value&&"object"==typeof value};var lodash_es_isSymbol=function isSymbol(value){return"symbol"==typeof value||lodash_es_isObjectLike(value)&&"[object Symbol]"==_baseGetTag(value)},reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;var lodash_es_toNumber=function toNumber(value){if("number"==typeof value)return value;if(lodash_es_isSymbol(value))return NaN;if(lodash_es_isObject(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=lodash_es_isObject(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=_baseTrim(value);var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NaN:+value},nativeMax=Math.max,nativeMin=Math.min;var lodash_es_debounce=function debounce(func,wait,options){var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=!1,maxing=!1,trailing=!0;if("function"!=typeof func)throw new TypeError("Expected a function");function invokeFunc(time){var args=lastArgs,thisArg=lastThis;return lastArgs=lastThis=void 0,lastInvokeTime=time,result=func.apply(thisArg,args)}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime;return void 0===lastCallTime||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&time-lastInvokeTime>=maxWait}function timerExpired(){var time=lodash_es_now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,function remainingWait(time){var timeWaiting=wait-(time-lastCallTime);return maxing?nativeMin(timeWaiting,maxWait-(time-lastInvokeTime)):timeWaiting}(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function debounced(){var time=lodash_es_now(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(void 0===timerId)return function leadingEdge(time){return lastInvokeTime=time,timerId=setTimeout(timerExpired,wait),leading?invokeFunc(time):result}(lastCallTime);if(maxing)return clearTimeout(timerId),timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return void 0===timerId&&(timerId=setTimeout(timerExpired,wait)),result}return wait=lodash_es_toNumber(wait)||0,lodash_es_isObject(options)&&(leading=!!options.leading,maxWait=(maxing="maxWait"in options)?nativeMax(lodash_es_toNumber(options.maxWait)||0,wait):maxWait,trailing="trailing"in options?!!options.trailing:trailing),debounced.cancel=function cancel(){void 0!==timerId&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0},debounced.flush=function flush(){return void 0===timerId?result:trailingEdge(lodash_es_now())},debounced}},"./node_modules/timing-functions/dist/timing-functions.es.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Gt:function(){return frame$1},_:function(){return schedule$1},yy:function(){return sleep}});var _sleep=function(time){return new Promise((function(resolve){return setTimeout((function(){return resolve()}),time)}))},env="node";"undefined"!=typeof importScripts?env="worker":"undefined"!=typeof window&&(env="browser");var env$1=env,frame=function(){return _sleep(0)};"browser"===env$1&&"requestAnimationFrame"in window&&(frame=function(){return new Promise((function(resolve){return window.requestAnimationFrame((function(){return resolve()}))}))});var schedule,_frame=frame;if("browser"===env$1&&"requestIdleCallback"in window)schedule=function(maxTimeout){return new Promise((function(resolve){return window.requestIdleCallback(resolve,{timeout:maxTimeout})}))};else{var idleDeadline_1=Object.freeze({didTimeout:!0,timeRemaining:function(){return 1/0}});if(schedule=function(maxTimeout){return _sleep((maxTimeout||0)/2).then((function(){return idleDeadline_1}))},"browser"===env$1&&"requestAnimationFrame"in window){var _schedule_1=schedule;schedule=function(){return _schedule_1().then(_frame).then((function(){return idleDeadline_1}))}}}var sleep=_sleep,frame$1=_frame,schedule$1=schedule},"./node_modules/uuid/dist/esm-browser/v1.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _rng_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/uuid/dist/esm-browser/rng.js"),_stringify_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/uuid/dist/esm-browser/stringify.js");let _nodeId,_clockseq,_lastMSecs=0,_lastNSecs=0;__webpack_exports__.A=function v1(options,buf,offset){let i=buf&&offset||0;const b=buf||new Array(16);let node=(options=options||{}).node||_nodeId,clockseq=void 0!==options.clockseq?options.clockseq:_clockseq;if(null==node||null==clockseq){const seedBytes=options.random||(options.rng||_rng_js__WEBPACK_IMPORTED_MODULE_0__.A)();null==node&&(node=_nodeId=[1|seedBytes[0],seedBytes[1],seedBytes[2],seedBytes[3],seedBytes[4],seedBytes[5]]),null==clockseq&&(clockseq=_clockseq=16383&(seedBytes[6]<<8|seedBytes[7]))}let msecs=void 0!==options.msecs?options.msecs:Date.now(),nsecs=void 0!==options.nsecs?options.nsecs:_lastNSecs+1;const dt=msecs-_lastMSecs+(nsecs-_lastNSecs)/1e4;if(dt<0&&void 0===options.clockseq&&(clockseq=clockseq+1&16383),(dt<0||msecs>_lastMSecs)&&void 0===options.nsecs&&(nsecs=0),nsecs>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_lastMSecs=msecs,_lastNSecs=nsecs,_clockseq=clockseq,msecs+=122192928e5;const tl=(1e4*(268435455&msecs)+nsecs)%4294967296;b[i++]=tl>>>24&255,b[i++]=tl>>>16&255,b[i++]=tl>>>8&255,b[i++]=255&tl;const tmh=msecs/4294967296*1e4&268435455;b[i++]=tmh>>>8&255,b[i++]=255&tmh,b[i++]=tmh>>>24&15|16,b[i++]=tmh>>>16&255,b[i++]=clockseq>>>8|128,b[i++]=255&clockseq;for(let n=0;n<6;++n)b[i+n]=node[n];return buf||(0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__.k)(b)}}}]); -//# sourceMappingURL=1299.1803f607.iframe.bundle.js.map \ No newline at end of file +//# sourceMappingURL=2420.1237b913.iframe.bundle.js.map \ No newline at end of file diff --git a/2420.1237b913.iframe.bundle.js.br b/2420.1237b913.iframe.bundle.js.br new file mode 100644 index 00000000..eb519163 Binary files /dev/null and b/2420.1237b913.iframe.bundle.js.br differ diff --git a/2420.1237b913.iframe.bundle.js.gz b/2420.1237b913.iframe.bundle.js.gz new file mode 100644 index 00000000..95fa17ac Binary files /dev/null and b/2420.1237b913.iframe.bundle.js.gz differ diff --git a/8119.40b7982c.iframe.bundle.js.map b/2420.1237b913.iframe.bundle.js.map similarity index 97% rename from 8119.40b7982c.iframe.bundle.js.map rename to 2420.1237b913.iframe.bundle.js.map index 694c1b1c..7ba46e3b 100644 --- a/8119.40b7982c.iframe.bundle.js.map +++ b/2420.1237b913.iframe.bundle.js.map @@ -1 +1 @@ -{"version":3,"file":"8119.40b7982c.iframe.bundle.js","mappings":";AAUA;AACA;;;;;AAOA;;AAEA","sources":["webpack://franklin-sites/./node_modules/@storybook/addon-actions/node_modules/@storybook/core-events/dist/errors/preview-errors.mjs"],"sourcesContent":["import { StorybookError } from '../chunk-3FIG6PJN.mjs';\nimport dedent from 'ts-dedent';\n\nvar Category=(Category2=>(Category2.PREVIEW_CLIENT_LOGGER=\"PREVIEW_CLIENT-LOGGER\",Category2.PREVIEW_CHANNELS=\"PREVIEW_CHANNELS\",Category2.PREVIEW_CORE_EVENTS=\"PREVIEW_CORE-EVENTS\",Category2.PREVIEW_INSTRUMENTER=\"PREVIEW_INSTRUMENTER\",Category2.PREVIEW_API=\"PREVIEW_API\",Category2.PREVIEW_REACT_DOM_SHIM=\"PREVIEW_REACT-DOM-SHIM\",Category2.PREVIEW_ROUTER=\"PREVIEW_ROUTER\",Category2.PREVIEW_THEMING=\"PREVIEW_THEMING\",Category2.RENDERER_HTML=\"RENDERER_HTML\",Category2.RENDERER_PREACT=\"RENDERER_PREACT\",Category2.RENDERER_REACT=\"RENDERER_REACT\",Category2.RENDERER_SERVER=\"RENDERER_SERVER\",Category2.RENDERER_SVELTE=\"RENDERER_SVELTE\",Category2.RENDERER_VUE=\"RENDERER_VUE\",Category2.RENDERER_VUE3=\"RENDERER_VUE3\",Category2.RENDERER_WEB_COMPONENTS=\"RENDERER_WEB-COMPONENTS\",Category2))(Category||{}),MissingStoryAfterHmrError=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=1;}template(){return dedent`\n Couldn't find story matching id '${this.data.storyId}' after HMR.\n - Did you just rename a story?\n - Did you remove it from your CSF file?\n - Are you sure a story with the id '${this.data.storyId}' exists?\n - Please check the values in the stories field of your main.js config and see if they would match your CSF File.\n - Also check the browser console and terminal for potential error messages.`}},ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=2;this.documentation=\"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function\";}template(){return dedent`\n We detected that you use an implicit action arg during ${this.data.phase} of your story. \n ${this.data.deprecated?`\nThis is deprecated and won't work in Storybook 8 anymore.\n`:\"\"}\n Please provide an explicit spy to your args like this:\n import { fn } from '@storybook/test';\n ... \n args: {\n ${this.data.name}: fn()\n }\n `}};\n\nexport { Category, ImplicitActionsDuringRendering, MissingStoryAfterHmrError };\n"],"names":[],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"2420.1237b913.iframe.bundle.js","mappings":";AAUA;AACA;;;;;AAOA;;AAEA","sources":["webpack://franklin-sites/./node_modules/@storybook/addon-actions/node_modules/@storybook/core-events/dist/errors/preview-errors.mjs"],"sourcesContent":["import { StorybookError } from '../chunk-3FIG6PJN.mjs';\nimport dedent from 'ts-dedent';\n\nvar Category=(Category2=>(Category2.PREVIEW_CLIENT_LOGGER=\"PREVIEW_CLIENT-LOGGER\",Category2.PREVIEW_CHANNELS=\"PREVIEW_CHANNELS\",Category2.PREVIEW_CORE_EVENTS=\"PREVIEW_CORE-EVENTS\",Category2.PREVIEW_INSTRUMENTER=\"PREVIEW_INSTRUMENTER\",Category2.PREVIEW_API=\"PREVIEW_API\",Category2.PREVIEW_REACT_DOM_SHIM=\"PREVIEW_REACT-DOM-SHIM\",Category2.PREVIEW_ROUTER=\"PREVIEW_ROUTER\",Category2.PREVIEW_THEMING=\"PREVIEW_THEMING\",Category2.RENDERER_HTML=\"RENDERER_HTML\",Category2.RENDERER_PREACT=\"RENDERER_PREACT\",Category2.RENDERER_REACT=\"RENDERER_REACT\",Category2.RENDERER_SERVER=\"RENDERER_SERVER\",Category2.RENDERER_SVELTE=\"RENDERER_SVELTE\",Category2.RENDERER_VUE=\"RENDERER_VUE\",Category2.RENDERER_VUE3=\"RENDERER_VUE3\",Category2.RENDERER_WEB_COMPONENTS=\"RENDERER_WEB-COMPONENTS\",Category2))(Category||{}),MissingStoryAfterHmrError=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=1;}template(){return dedent`\n Couldn't find story matching id '${this.data.storyId}' after HMR.\n - Did you just rename a story?\n - Did you remove it from your CSF file?\n - Are you sure a story with the id '${this.data.storyId}' exists?\n - Please check the values in the stories field of your main.js config and see if they would match your CSF File.\n - Also check the browser console and terminal for potential error messages.`}},ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=2;this.documentation=\"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function\";}template(){return dedent`\n We detected that you use an implicit action arg during ${this.data.phase} of your story. \n ${this.data.deprecated?`\nThis is deprecated and won't work in Storybook 8 anymore.\n`:\"\"}\n Please provide an explicit spy to your args like this:\n import { fn } from '@storybook/test';\n ... \n args: {\n ${this.data.name}: fn()\n }\n `}};\n\nexport { Category, ImplicitActionsDuringRendering, MissingStoryAfterHmrError };\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/2420.1237b913.iframe.bundle.js.map.br b/2420.1237b913.iframe.bundle.js.map.br new file mode 100644 index 00000000..6757310d Binary files /dev/null and b/2420.1237b913.iframe.bundle.js.map.br differ diff --git a/2420.1237b913.iframe.bundle.js.map.gz b/2420.1237b913.iframe.bundle.js.map.gz new file mode 100644 index 00000000..01852ae0 Binary files /dev/null and b/2420.1237b913.iframe.bundle.js.map.gz differ diff --git a/4362.808a3df8.iframe.bundle.js b/4362.808a3df8.iframe.bundle.js deleted file mode 100644 index 71d5880c..00000000 --- a/4362.808a3df8.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[4362],{"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:i+""}function _defineProperty(obj,key,value){return(key=toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.d(__webpack_exports__,{A:function(){return _defineProperty}})},"./node_modules/core-js/internals/a-constructor.js":function(module,__unused_webpack_exports,__webpack_require__){var isConstructor=__webpack_require__("./node_modules/core-js/internals/is-constructor.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),$TypeError=TypeError;module.exports=function(argument){if(isConstructor(argument))return argument;throw new $TypeError(tryToString(argument)+" is not a constructor")}},"./node_modules/core-js/internals/an-instance.js":function(module,__unused_webpack_exports,__webpack_require__){var isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),$TypeError=TypeError;module.exports=function(it,Prototype){if(isPrototypeOf(Prototype,it))return it;throw new $TypeError("Incorrect invocation")}},"./node_modules/core-js/internals/array-slice.js":function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=uncurryThis([].slice)},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(module,__unused_webpack_exports,__webpack_require__){var ITERATOR=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR]=function(){return this},Array.from(iteratorWithReturn,(function(){throw 2}))}catch(error){}module.exports=function(exec,SKIP_CLOSING){try{if(!SKIP_CLOSING&&!SAFE_CLOSING)return!1}catch(error){return!1}var ITERATION_SUPPORT=!1;try{var object={};object[ITERATOR]=function(){return{next:function(){return{done:ITERATION_SUPPORT=!0}}}},exec(object)}catch(error){}return ITERATION_SUPPORT}},"./node_modules/core-js/internals/classof.js":function(module,__unused_webpack_exports,__webpack_require__){var TO_STRING_TAG_SUPPORT=__webpack_require__("./node_modules/core-js/internals/to-string-tag-support.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),TO_STRING_TAG=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),$Object=Object,CORRECT_ARGUMENTS="Arguments"===classofRaw(function(){return arguments}());module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(tag=function(it,key){try{return it[key]}catch(error){}}(O=$Object(it),TO_STRING_TAG))?tag:CORRECT_ARGUMENTS?classofRaw(O):"Object"===(result=classofRaw(O))&&isCallable(O.callee)?"Arguments":result}},"./node_modules/core-js/internals/define-built-in-accessor.js":function(module,__unused_webpack_exports,__webpack_require__){var makeBuiltIn=__webpack_require__("./node_modules/core-js/internals/make-built-in.js"),defineProperty=__webpack_require__("./node_modules/core-js/internals/object-define-property.js");module.exports=function(target,name,descriptor){return descriptor.get&&makeBuiltIn(descriptor.get,name,{getter:!0}),descriptor.set&&makeBuiltIn(descriptor.set,name,{setter:!0}),defineProperty.f(target,name,descriptor)}},"./node_modules/core-js/internals/engine-is-browser.js":function(module,__unused_webpack_exports,__webpack_require__){var IS_DENO=__webpack_require__("./node_modules/core-js/internals/engine-is-deno.js"),IS_NODE=__webpack_require__("./node_modules/core-js/internals/engine-is-node.js");module.exports=!IS_DENO&&!IS_NODE&&"object"==typeof window&&"object"==typeof document},"./node_modules/core-js/internals/engine-is-deno.js":function(module){module.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},"./node_modules/core-js/internals/engine-is-ios-pebble.js":function(module,__unused_webpack_exports,__webpack_require__){var userAgent=__webpack_require__("./node_modules/core-js/internals/engine-user-agent.js");module.exports=/ipad|iphone|ipod/i.test(userAgent)&&"undefined"!=typeof Pebble},"./node_modules/core-js/internals/engine-is-ios.js":function(module,__unused_webpack_exports,__webpack_require__){var userAgent=__webpack_require__("./node_modules/core-js/internals/engine-user-agent.js");module.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent)},"./node_modules/core-js/internals/engine-is-node.js":function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__("./node_modules/core-js/internals/global.js"),classof=__webpack_require__("./node_modules/core-js/internals/classof-raw.js");module.exports="process"===classof(global.process)},"./node_modules/core-js/internals/engine-is-webos-webkit.js":function(module,__unused_webpack_exports,__webpack_require__){var userAgent=__webpack_require__("./node_modules/core-js/internals/engine-user-agent.js");module.exports=/web0s(?!.*chrome)/i.test(userAgent)},"./node_modules/core-js/internals/function-apply.js":function(module,__unused_webpack_exports,__webpack_require__){var NATIVE_BIND=__webpack_require__("./node_modules/core-js/internals/function-bind-native.js"),FunctionPrototype=Function.prototype,apply=FunctionPrototype.apply,call=FunctionPrototype.call;module.exports="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND?call.bind(apply):function(){return call.apply(apply,arguments)})},"./node_modules/core-js/internals/function-bind-context.js":function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this-clause.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),NATIVE_BIND=__webpack_require__("./node_modules/core-js/internals/function-bind-native.js"),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),void 0===that?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}},"./node_modules/core-js/internals/function-uncurry-this-clause.js":function(module,__unused_webpack_exports,__webpack_require__){var classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=function(fn){if("Function"===classofRaw(fn))return uncurryThis(fn)}},"./node_modules/core-js/internals/get-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){var classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js"),isNullOrUndefined=__webpack_require__("./node_modules/core-js/internals/is-null-or-undefined.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}},"./node_modules/core-js/internals/get-iterator.js":function(module,__unused_webpack_exports,__webpack_require__){var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}},"./node_modules/core-js/internals/host-report-errors.js":function(module){module.exports=function(a,b){try{1===arguments.length?console.error(a):console.error(a,b)}catch(error){}}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){var wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}},"./node_modules/core-js/internals/is-constructor.js":function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),getBuiltIn=__webpack_require__("./node_modules/core-js/internals/get-built-in.js"),inspectSource=__webpack_require__("./node_modules/core-js/internals/inspect-source.js"),noop=function(){},construct=getBuiltIn("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec=uncurryThis(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.test(noop),isConstructorModern=function isConstructor(argument){if(!isCallable(argument))return!1;try{return construct(noop,[],argument),!0}catch(error){return!1}},isConstructorLegacy=function isConstructor(argument){if(!isCallable(argument))return!1;switch(classof(argument)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec(constructorRegExp,inspectSource(argument))}catch(error){return!0}};isConstructorLegacy.sham=!0,module.exports=!construct||fails((function(){var called;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern((function(){called=!0}))||called}))?isConstructorLegacy:isConstructorModern},"./node_modules/core-js/internals/iterate.js":function(module,__unused_webpack_exports,__webpack_require__){var bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),isArrayIteratorMethod=__webpack_require__("./node_modules/core-js/internals/is-array-iterator-method.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),getIterator=__webpack_require__("./node_modules/core-js/internals/get-iterator.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),iteratorClose=__webpack_require__("./node_modules/core-js/internals/iterator-close.js"),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var iterator,iterFn,index,length,result,next,step,that=options&&options.that,AS_ENTRIES=!(!options||!options.AS_ENTRIES),IS_RECORD=!(!options||!options.IS_RECORD),IS_ITERATOR=!(!options||!options.IS_ITERATOR),INTERRUPTED=!(!options||!options.INTERRUPTED),fn=bind(unboundFunction,that),stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(!(iterFn=getIteratorMethod(iterable)))throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if((result=callFn(iterable[index]))&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if("object"==typeof result&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}},"./node_modules/core-js/internals/iterator-close.js":function(module,__unused_webpack_exports,__webpack_require__){var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js");module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(!(innerResult=getMethod(iterator,"return"))){if("throw"===kind)throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if("throw"===kind)throw value;if(innerError)throw innerResult;return anObject(innerResult),value}},"./node_modules/core-js/internals/microtask.js":function(module,__unused_webpack_exports,__webpack_require__){var notify,toggle,node,promise,then,global=__webpack_require__("./node_modules/core-js/internals/global.js"),safeGetBuiltIn=__webpack_require__("./node_modules/core-js/internals/safe-get-built-in.js"),bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),macrotask=__webpack_require__("./node_modules/core-js/internals/task.js").set,Queue=__webpack_require__("./node_modules/core-js/internals/queue.js"),IS_IOS=__webpack_require__("./node_modules/core-js/internals/engine-is-ios.js"),IS_IOS_PEBBLE=__webpack_require__("./node_modules/core-js/internals/engine-is-ios-pebble.js"),IS_WEBOS_WEBKIT=__webpack_require__("./node_modules/core-js/internals/engine-is-webos-webkit.js"),IS_NODE=__webpack_require__("./node_modules/core-js/internals/engine-is-node.js"),MutationObserver=global.MutationObserver||global.WebKitMutationObserver,document=global.document,process=global.process,Promise=global.Promise,microtask=safeGetBuiltIn("queueMicrotask");if(!microtask){var queue=new Queue,flush=function(){var parent,fn;for(IS_NODE&&(parent=process.domain)&&parent.exit();fn=queue.get();)try{fn()}catch(error){throw queue.head&¬ify(),error}parent&&parent.enter()};IS_IOS||IS_NODE||IS_WEBOS_WEBKIT||!MutationObserver||!document?!IS_IOS_PEBBLE&&Promise&&Promise.resolve?((promise=Promise.resolve(void 0)).constructor=Promise,then=bind(promise.then,promise),notify=function(){then(flush)}):IS_NODE?notify=function(){process.nextTick(flush)}:(macrotask=bind(macrotask,global),notify=function(){macrotask(flush)}):(toggle=!0,node=document.createTextNode(""),new MutationObserver(flush).observe(node,{characterData:!0}),notify=function(){node.data=toggle=!toggle}),microtask=function(fn){queue.head||notify(),queue.add(fn)}}module.exports=microtask},"./node_modules/core-js/internals/new-promise-capability.js":function(module,__unused_webpack_exports,__webpack_require__){var aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),$TypeError=TypeError,PromiseCapability=function(C){var resolve,reject;this.promise=new C((function($$resolve,$$reject){if(void 0!==resolve||void 0!==reject)throw new $TypeError("Bad Promise constructor");resolve=$$resolve,reject=$$reject})),this.resolve=aCallable(resolve),this.reject=aCallable(reject)};module.exports.f=function(C){return new PromiseCapability(C)}},"./node_modules/core-js/internals/perform.js":function(module){module.exports=function(exec){try{return{error:!1,value:exec()}}catch(error){return{error:!0,value:error}}}},"./node_modules/core-js/internals/promise-constructor-detection.js":function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__("./node_modules/core-js/internals/global.js"),NativePromiseConstructor=__webpack_require__("./node_modules/core-js/internals/promise-native-constructor.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),isForced=__webpack_require__("./node_modules/core-js/internals/is-forced.js"),inspectSource=__webpack_require__("./node_modules/core-js/internals/inspect-source.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),IS_BROWSER=__webpack_require__("./node_modules/core-js/internals/engine-is-browser.js"),IS_DENO=__webpack_require__("./node_modules/core-js/internals/engine-is-deno.js"),IS_PURE=__webpack_require__("./node_modules/core-js/internals/is-pure.js"),V8_VERSION=__webpack_require__("./node_modules/core-js/internals/engine-v8-version.js"),NativePromisePrototype=NativePromiseConstructor&&NativePromiseConstructor.prototype,SPECIES=wellKnownSymbol("species"),SUBCLASSING=!1,NATIVE_PROMISE_REJECTION_EVENT=isCallable(global.PromiseRejectionEvent),FORCED_PROMISE_CONSTRUCTOR=isForced("Promise",(function(){var PROMISE_CONSTRUCTOR_SOURCE=inspectSource(NativePromiseConstructor),GLOBAL_CORE_JS_PROMISE=PROMISE_CONSTRUCTOR_SOURCE!==String(NativePromiseConstructor);if(!GLOBAL_CORE_JS_PROMISE&&66===V8_VERSION)return!0;if(IS_PURE&&(!NativePromisePrototype.catch||!NativePromisePrototype.finally))return!0;if(!V8_VERSION||V8_VERSION<51||!/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)){var promise=new NativePromiseConstructor((function(resolve){resolve(1)})),FakePromise=function(exec){exec((function(){}),(function(){}))};if((promise.constructor={})[SPECIES]=FakePromise,!(SUBCLASSING=promise.then((function(){}))instanceof FakePromise))return!0}return!GLOBAL_CORE_JS_PROMISE&&(IS_BROWSER||IS_DENO)&&!NATIVE_PROMISE_REJECTION_EVENT}));module.exports={CONSTRUCTOR:FORCED_PROMISE_CONSTRUCTOR,REJECTION_EVENT:NATIVE_PROMISE_REJECTION_EVENT,SUBCLASSING:SUBCLASSING}},"./node_modules/core-js/internals/promise-native-constructor.js":function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__("./node_modules/core-js/internals/global.js");module.exports=global.Promise},"./node_modules/core-js/internals/promise-resolve.js":function(module,__unused_webpack_exports,__webpack_require__){var anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),newPromiseCapability=__webpack_require__("./node_modules/core-js/internals/new-promise-capability.js");module.exports=function(C,x){if(anObject(C),isObject(x)&&x.constructor===C)return x;var promiseCapability=newPromiseCapability.f(C);return(0,promiseCapability.resolve)(x),promiseCapability.promise}},"./node_modules/core-js/internals/promise-statics-incorrect-iteration.js":function(module,__unused_webpack_exports,__webpack_require__){var NativePromiseConstructor=__webpack_require__("./node_modules/core-js/internals/promise-native-constructor.js"),checkCorrectnessOfIteration=__webpack_require__("./node_modules/core-js/internals/check-correctness-of-iteration.js"),FORCED_PROMISE_CONSTRUCTOR=__webpack_require__("./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR;module.exports=FORCED_PROMISE_CONSTRUCTOR||!checkCorrectnessOfIteration((function(iterable){NativePromiseConstructor.all(iterable).then(void 0,(function(){}))}))},"./node_modules/core-js/internals/queue.js":function(module){var Queue=function(){this.head=null,this.tail=null};Queue.prototype={add:function(item){var entry={item:item,next:null},tail=this.tail;tail?tail.next=entry:this.head=entry,this.tail=entry},get:function(){var entry=this.head;if(entry)return null===(this.head=entry.next)&&(this.tail=null),entry.item}},module.exports=Queue},"./node_modules/core-js/internals/safe-get-built-in.js":function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__("./node_modules/core-js/internals/global.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;module.exports=function(name){if(!DESCRIPTORS)return global[name];var descriptor=getOwnPropertyDescriptor(global,name);return descriptor&&descriptor.value}},"./node_modules/core-js/internals/set-species.js":function(module,__unused_webpack_exports,__webpack_require__){var getBuiltIn=__webpack_require__("./node_modules/core-js/internals/get-built-in.js"),defineBuiltInAccessor=__webpack_require__("./node_modules/core-js/internals/define-built-in-accessor.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),SPECIES=wellKnownSymbol("species");module.exports=function(CONSTRUCTOR_NAME){var Constructor=getBuiltIn(CONSTRUCTOR_NAME);DESCRIPTORS&&Constructor&&!Constructor[SPECIES]&&defineBuiltInAccessor(Constructor,SPECIES,{configurable:!0,get:function(){return this}})}},"./node_modules/core-js/internals/species-constructor.js":function(module,__unused_webpack_exports,__webpack_require__){var anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),aConstructor=__webpack_require__("./node_modules/core-js/internals/a-constructor.js"),isNullOrUndefined=__webpack_require__("./node_modules/core-js/internals/is-null-or-undefined.js"),SPECIES=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("species");module.exports=function(O,defaultConstructor){var S,C=anObject(O).constructor;return void 0===C||isNullOrUndefined(S=anObject(C)[SPECIES])?defaultConstructor:aConstructor(S)}},"./node_modules/core-js/internals/task.js":function(module,__unused_webpack_exports,__webpack_require__){var $location,defer,channel,port,global=__webpack_require__("./node_modules/core-js/internals/global.js"),apply=__webpack_require__("./node_modules/core-js/internals/function-apply.js"),bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),html=__webpack_require__("./node_modules/core-js/internals/html.js"),arraySlice=__webpack_require__("./node_modules/core-js/internals/array-slice.js"),createElement=__webpack_require__("./node_modules/core-js/internals/document-create-element.js"),validateArgumentsLength=__webpack_require__("./node_modules/core-js/internals/validate-arguments-length.js"),IS_IOS=__webpack_require__("./node_modules/core-js/internals/engine-is-ios.js"),IS_NODE=__webpack_require__("./node_modules/core-js/internals/engine-is-node.js"),set=global.setImmediate,clear=global.clearImmediate,process=global.process,Dispatch=global.Dispatch,Function=global.Function,MessageChannel=global.MessageChannel,String=global.String,counter=0,queue={};fails((function(){$location=global.location}));var run=function(id){if(hasOwn(queue,id)){var fn=queue[id];delete queue[id],fn()}},runner=function(id){return function(){run(id)}},eventListener=function(event){run(event.data)},globalPostMessageDefer=function(id){global.postMessage(String(id),$location.protocol+"//"+$location.host)};set&&clear||(set=function setImmediate(handler){validateArgumentsLength(arguments.length,1);var fn=isCallable(handler)?handler:Function(handler),args=arraySlice(arguments,1);return queue[++counter]=function(){apply(fn,void 0,args)},defer(counter),counter},clear=function clearImmediate(id){delete queue[id]},IS_NODE?defer=function(id){process.nextTick(runner(id))}:Dispatch&&Dispatch.now?defer=function(id){Dispatch.now(runner(id))}:MessageChannel&&!IS_IOS?(port=(channel=new MessageChannel).port2,channel.port1.onmessage=eventListener,defer=bind(port.postMessage,port)):global.addEventListener&&isCallable(global.postMessage)&&!global.importScripts&&$location&&"file:"!==$location.protocol&&!fails(globalPostMessageDefer)?(defer=globalPostMessageDefer,global.addEventListener("message",eventListener,!1)):defer="onreadystatechange"in createElement("script")?function(id){html.appendChild(createElement("script")).onreadystatechange=function(){html.removeChild(this),run(id)}}:function(id){setTimeout(runner(id),0)}),module.exports={set:set,clear:clear}},"./node_modules/core-js/internals/to-string-tag-support.js":function(module,__unused_webpack_exports,__webpack_require__){var test={};test[__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag")]="z",module.exports="[object z]"===String(test)},"./node_modules/core-js/internals/validate-arguments-length.js":function(module){var $TypeError=TypeError;module.exports=function(passed,required){if(passed0&&void 0!==arguments[0]?arguments[0]:{},_ref$count=_ref.count,count=void 0===_ref$count?1:_ref$count,_ref$format=_ref.format,format=void 0===_ref$format?_formats.FORMAT_PLAIN:_ref$format,_ref$paragraphLowerBo=_ref.paragraphLowerBound,paragraphLowerBound=void 0===_ref$paragraphLowerBo?3:_ref$paragraphLowerBo,_ref$paragraphUpperBo=_ref.paragraphUpperBound,paragraphUpperBound=void 0===_ref$paragraphUpperBo?7:_ref$paragraphUpperBo,random=_ref.random,_ref$sentenceLowerBou=_ref.sentenceLowerBound,sentenceLowerBound=void 0===_ref$sentenceLowerBou?5:_ref$sentenceLowerBou,_ref$sentenceUpperBou=_ref.sentenceUpperBound,sentenceUpperBound=void 0===_ref$sentenceUpperBou?15:_ref$sentenceUpperBou,_ref$units=_ref.units,units=void 0===_ref$units?_units.UNIT_SENTENCES:_ref$units,_ref$words=_ref.words,words=void 0===_ref$words?_words.WORDS:_ref$words,_ref$suffix=_ref.suffix,suffix=void 0===_ref$suffix?"":_ref$suffix,options={random:random,sentencesPerParagraph:{max:paragraphUpperBound,min:paragraphLowerBound},words:words,wordsPerSentence:{max:sentenceUpperBound,min:sentenceLowerBound}},lorem=new _LoremIpsum.default(options,format,suffix);switch(units){case _units.UNIT_PARAGRAPHS:case _units.UNIT_PARAGRAPH:return lorem.generateParagraphs(count);case _units.UNIT_SENTENCES:case _units.UNIT_SENTENCE:return lorem.generateSentences(count);case _units.UNIT_WORDS:case _units.UNIT_WORD:return lorem.generateWords(count);default:return""}}},"./node_modules/lorem-ipsum/dist/lib/LoremIpsum.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _formats=__webpack_require__("./node_modules/lorem-ipsum/dist/constants/formats.js"),_lineEndings=__webpack_require__("./node_modules/lorem-ipsum/dist/constants/lineEndings.js"),_generator=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__("./node_modules/lorem-ipsum/dist/lib/generator.js")),_util=__webpack_require__("./node_modules/lorem-ipsum/dist/util/index.js");function _defineProperties(target,props){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},format=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_formats.FORMAT_PLAIN,suffix=arguments.length>2?arguments[2]:void 0;if(function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,LoremIpsum),this.format=format,this.suffix=suffix,function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}(this,"generator",void 0),-1===_formats.FORMATS.indexOf(format.toLowerCase()))throw new Error("".concat(format," is an invalid format. Please use ").concat(_formats.FORMATS.join(" or "),"."));this.generator=new _generator.default(options)}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(LoremIpsum,[{key:"getLineEnding",value:function getLineEnding(){return this.suffix?this.suffix:!(0,_util.isReactNative)()&&(0,_util.isNode)()&&(0,_util.isWindows)()?_lineEndings.LINE_ENDINGS.WIN32:_lineEndings.LINE_ENDINGS.POSIX}},{key:"formatString",value:function formatString(str){return this.format===_formats.FORMAT_HTML?"

".concat(str,"

"):str}},{key:"formatStrings",value:function formatStrings(strings){var _this=this;return strings.map((function(str){return _this.formatString(str)}))}},{key:"generateWords",value:function generateWords(num){return this.formatString(this.generator.generateRandomWords(num))}},{key:"generateSentences",value:function generateSentences(num){return this.formatString(this.generator.generateRandomParagraph(num))}},{key:"generateParagraphs",value:function generateParagraphs(num){var makeString=this.generator.generateRandomParagraph.bind(this.generator);return this.formatStrings((0,_util.makeArrayOfStrings)(num,makeString)).join(this.getLineEnding())}}]),LoremIpsum}(),_default=LoremIpsum;exports.default=_default},"./node_modules/lorem-ipsum/dist/lib/generator.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _words=__webpack_require__("./node_modules/lorem-ipsum/dist/constants/words.js"),_util=__webpack_require__("./node_modules/lorem-ipsum/dist/util/index.js");function _defineProperties(target,props){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},_ref$sentencesPerPara=_ref.sentencesPerParagraph,sentencesPerParagraph=void 0===_ref$sentencesPerPara?{max:7,min:3}:_ref$sentencesPerPara,_ref$wordsPerSentence=_ref.wordsPerSentence,wordsPerSentence=void 0===_ref$wordsPerSentence?{max:15,min:5}:_ref$wordsPerSentence,random=_ref.random,_ref$words=(_ref.seed,_ref.words),words=void 0===_ref$words?_words.WORDS:_ref$words;if(function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,Generator),_defineProperty(this,"sentencesPerParagraph",void 0),_defineProperty(this,"wordsPerSentence",void 0),_defineProperty(this,"random",void 0),_defineProperty(this,"words",void 0),sentencesPerParagraph.min>sentencesPerParagraph.max)throw new Error("Minimum number of sentences per paragraph (".concat(sentencesPerParagraph.min,") cannot exceed maximum (").concat(sentencesPerParagraph.max,")."));if(wordsPerSentence.min>wordsPerSentence.max)throw new Error("Minimum number of words per sentence (".concat(wordsPerSentence.min,") cannot exceed maximum (").concat(wordsPerSentence.max,")."));this.sentencesPerParagraph=sentencesPerParagraph,this.words=words,this.wordsPerSentence=wordsPerSentence,this.random=random||Math.random}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(Generator,[{key:"generateRandomInteger",value:function generateRandomInteger(min,max){return Math.floor(this.random()*(max-min+1)+min)}},{key:"generateRandomWords",value:function generateRandomWords(num){var _this=this,_this$wordsPerSentenc=this.wordsPerSentence,min=_this$wordsPerSentenc.min,max=_this$wordsPerSentenc.max,length=num||this.generateRandomInteger(min,max);return(0,_util.makeArrayOfLength)(length).reduce((function(accumulator,index){return"".concat(_this.pluckRandomWord()," ").concat(accumulator)}),"").trim()}},{key:"generateRandomSentence",value:function generateRandomSentence(num){return"".concat((0,_util.capitalize)(this.generateRandomWords(num)),".")}},{key:"generateRandomParagraph",value:function generateRandomParagraph(num){var _this2=this,_this$sentencesPerPar=this.sentencesPerParagraph,min=_this$sentencesPerPar.min,max=_this$sentencesPerPar.max,length=num||this.generateRandomInteger(min,max);return(0,_util.makeArrayOfLength)(length).reduce((function(accumulator,index){return"".concat(_this2.generateRandomSentence()," ").concat(accumulator)}),"").trim()}},{key:"pluckRandomWord",value:function pluckRandomWord(){var max=this.words.length-1,index=this.generateRandomInteger(0,max);return this.words[index]}}]),Generator}(),_default=Generator;exports.default=_default},"./node_modules/lorem-ipsum/dist/util/capitalize.js":function(__unused_webpack_module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=function capitalize(str){var trimmed=str.trim();return trimmed.charAt(0).toUpperCase()+trimmed.slice(1)};exports.default=_default},"./node_modules/lorem-ipsum/dist/util/index.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"capitalize",{enumerable:!0,get:function get(){return _capitalize.default}}),Object.defineProperty(exports,"isNode",{enumerable:!0,get:function get(){return _isNode.default}}),Object.defineProperty(exports,"isReactNative",{enumerable:!0,get:function get(){return _isReactNative.default}}),Object.defineProperty(exports,"isWindows",{enumerable:!0,get:function get(){return _isWindows.default}}),Object.defineProperty(exports,"makeArrayOfLength",{enumerable:!0,get:function get(){return _makeArrayOfLength.default}}),Object.defineProperty(exports,"makeArrayOfStrings",{enumerable:!0,get:function get(){return _makeArrayOfStrings.default}});var _capitalize=_interopRequireDefault(__webpack_require__("./node_modules/lorem-ipsum/dist/util/capitalize.js")),_isNode=_interopRequireDefault(__webpack_require__("./node_modules/lorem-ipsum/dist/util/isNode.js")),_isReactNative=_interopRequireDefault(__webpack_require__("./node_modules/lorem-ipsum/dist/util/isReactNative.js")),_isWindows=_interopRequireDefault(__webpack_require__("./node_modules/lorem-ipsum/dist/util/isWindows.js")),_makeArrayOfLength=_interopRequireDefault(__webpack_require__("./node_modules/lorem-ipsum/dist/util/makeArrayOfLength.js")),_makeArrayOfStrings=_interopRequireDefault(__webpack_require__("./node_modules/lorem-ipsum/dist/util/makeArrayOfStrings.js"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}},"./node_modules/lorem-ipsum/dist/util/isNode.js":function(module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=function isNode(){return!!module.exports};exports.default=_default},"./node_modules/lorem-ipsum/dist/util/isReactNative.js":function(__unused_webpack_module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=function isReactNative(){var isReactNativeResult=!1;try{isReactNativeResult="ReactNative"===navigator.product}catch(e){isReactNativeResult=!1}return isReactNativeResult};exports.default=_default},"./node_modules/lorem-ipsum/dist/util/isWindows.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var process=__webpack_require__("./node_modules/process/browser.js");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _platforms=__webpack_require__("./node_modules/lorem-ipsum/dist/constants/platforms.js"),_default=function isWindows(){var isWindowsResult=!1;try{isWindowsResult=process.platform===_platforms.SUPPORTED_PLATFORMS.WIN32}catch(e){isWindowsResult=!1}return isWindowsResult};exports.default=_default},"./node_modules/lorem-ipsum/dist/util/makeArrayOfLength.js":function(__unused_webpack_module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=function makeArrayOfLength(){var length=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.apply(null,Array(length)).map((function(item,index){return index}))};exports.default=_default},"./node_modules/lorem-ipsum/dist/util/makeArrayOfStrings.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _makeArrayOfLength=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__("./node_modules/lorem-ipsum/dist/util/makeArrayOfLength.js"));var _default=function makeArrayOfStrings(length,makeString){return(0,_makeArrayOfLength.default)(length).map((function(){return makeString()}))};exports.default=_default}}]); \ No newline at end of file diff --git a/6918.a9ed06c5.iframe.bundle.js.LICENSE.txt b/5891.c902e499.iframe.bundle.js.LICENSE.txt similarity index 100% rename from 6918.a9ed06c5.iframe.bundle.js.LICENSE.txt rename to 5891.c902e499.iframe.bundle.js.LICENSE.txt diff --git a/6918.a9ed06c5.iframe.bundle.js.LICENSE.txt.br b/5891.c902e499.iframe.bundle.js.LICENSE.txt.br similarity index 100% rename from 6918.a9ed06c5.iframe.bundle.js.LICENSE.txt.br rename to 5891.c902e499.iframe.bundle.js.LICENSE.txt.br diff --git a/5891.c902e499.iframe.bundle.js.br b/5891.c902e499.iframe.bundle.js.br new file mode 100644 index 00000000..37ecea90 Binary files /dev/null and b/5891.c902e499.iframe.bundle.js.br differ diff --git a/5891.c902e499.iframe.bundle.js.gz b/5891.c902e499.iframe.bundle.js.gz new file mode 100644 index 00000000..fb875304 Binary files /dev/null and b/5891.c902e499.iframe.bundle.js.gz differ diff --git a/6918.a9ed06c5.iframe.bundle.js b/6918.a9ed06c5.iframe.bundle.js deleted file mode 100644 index fdf073a6..00000000 --- a/6918.a9ed06c5.iframe.bundle.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 6918.a9ed06c5.iframe.bundle.js.LICENSE.txt */ -(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[6918],{"./node_modules/classnames/index.js":function(module,exports){var __WEBPACK_AMD_DEFINE_RESULT__;!function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes="",i=0;i0&&void 0!==arguments[0]?arguments[0]:{},_ref$count=_ref.count,count=void 0===_ref$count?1:_ref$count,_ref$format=_ref.format,format=void 0===_ref$format?_formats.FORMAT_PLAIN:_ref$format,_ref$paragraphLowerBo=_ref.paragraphLowerBound,paragraphLowerBound=void 0===_ref$paragraphLowerBo?3:_ref$paragraphLowerBo,_ref$paragraphUpperBo=_ref.paragraphUpperBound,paragraphUpperBound=void 0===_ref$paragraphUpperBo?7:_ref$paragraphUpperBo,random=_ref.random,_ref$sentenceLowerBou=_ref.sentenceLowerBound,sentenceLowerBound=void 0===_ref$sentenceLowerBou?5:_ref$sentenceLowerBou,_ref$sentenceUpperBou=_ref.sentenceUpperBound,sentenceUpperBound=void 0===_ref$sentenceUpperBou?15:_ref$sentenceUpperBou,_ref$units=_ref.units,units=void 0===_ref$units?_units.UNIT_SENTENCES:_ref$units,_ref$words=_ref.words,words=void 0===_ref$words?_words.WORDS:_ref$words,_ref$suffix=_ref.suffix,suffix=void 0===_ref$suffix?"":_ref$suffix,options={random:random,sentencesPerParagraph:{max:paragraphUpperBound,min:paragraphLowerBound},words:words,wordsPerSentence:{max:sentenceUpperBound,min:sentenceLowerBound}},lorem=new _LoremIpsum.default(options,format,suffix);switch(units){case _units.UNIT_PARAGRAPHS:case _units.UNIT_PARAGRAPH:return lorem.generateParagraphs(count);case _units.UNIT_SENTENCES:case _units.UNIT_SENTENCE:return lorem.generateSentences(count);case _units.UNIT_WORDS:case _units.UNIT_WORD:return lorem.generateWords(count);default:return""}}},"./node_modules/lorem-ipsum/dist/lib/LoremIpsum.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _formats=__webpack_require__("./node_modules/lorem-ipsum/dist/constants/formats.js"),_lineEndings=__webpack_require__("./node_modules/lorem-ipsum/dist/constants/lineEndings.js"),_generator=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__("./node_modules/lorem-ipsum/dist/lib/generator.js")),_util=__webpack_require__("./node_modules/lorem-ipsum/dist/util/index.js");function _defineProperties(target,props){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},format=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_formats.FORMAT_PLAIN,suffix=arguments.length>2?arguments[2]:void 0;if(function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,LoremIpsum),this.format=format,this.suffix=suffix,function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}(this,"generator",void 0),-1===_formats.FORMATS.indexOf(format.toLowerCase()))throw new Error("".concat(format," is an invalid format. Please use ").concat(_formats.FORMATS.join(" or "),"."));this.generator=new _generator.default(options)}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(LoremIpsum,[{key:"getLineEnding",value:function getLineEnding(){return this.suffix?this.suffix:!(0,_util.isReactNative)()&&(0,_util.isNode)()&&(0,_util.isWindows)()?_lineEndings.LINE_ENDINGS.WIN32:_lineEndings.LINE_ENDINGS.POSIX}},{key:"formatString",value:function formatString(str){return this.format===_formats.FORMAT_HTML?"

".concat(str,"

"):str}},{key:"formatStrings",value:function formatStrings(strings){var _this=this;return strings.map((function(str){return _this.formatString(str)}))}},{key:"generateWords",value:function generateWords(num){return this.formatString(this.generator.generateRandomWords(num))}},{key:"generateSentences",value:function generateSentences(num){return this.formatString(this.generator.generateRandomParagraph(num))}},{key:"generateParagraphs",value:function generateParagraphs(num){var makeString=this.generator.generateRandomParagraph.bind(this.generator);return this.formatStrings((0,_util.makeArrayOfStrings)(num,makeString)).join(this.getLineEnding())}}]),LoremIpsum}(),_default=LoremIpsum;exports.default=_default},"./node_modules/lorem-ipsum/dist/lib/generator.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _words=__webpack_require__("./node_modules/lorem-ipsum/dist/constants/words.js"),_util=__webpack_require__("./node_modules/lorem-ipsum/dist/util/index.js");function _defineProperties(target,props){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},_ref$sentencesPerPara=_ref.sentencesPerParagraph,sentencesPerParagraph=void 0===_ref$sentencesPerPara?{max:7,min:3}:_ref$sentencesPerPara,_ref$wordsPerSentence=_ref.wordsPerSentence,wordsPerSentence=void 0===_ref$wordsPerSentence?{max:15,min:5}:_ref$wordsPerSentence,random=_ref.random,_ref$words=(_ref.seed,_ref.words),words=void 0===_ref$words?_words.WORDS:_ref$words;if(function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,Generator),_defineProperty(this,"sentencesPerParagraph",void 0),_defineProperty(this,"wordsPerSentence",void 0),_defineProperty(this,"random",void 0),_defineProperty(this,"words",void 0),sentencesPerParagraph.min>sentencesPerParagraph.max)throw new Error("Minimum number of sentences per paragraph (".concat(sentencesPerParagraph.min,") cannot exceed maximum (").concat(sentencesPerParagraph.max,")."));if(wordsPerSentence.min>wordsPerSentence.max)throw new Error("Minimum number of words per sentence (".concat(wordsPerSentence.min,") cannot exceed maximum (").concat(wordsPerSentence.max,")."));this.sentencesPerParagraph=sentencesPerParagraph,this.words=words,this.wordsPerSentence=wordsPerSentence,this.random=random||Math.random}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(Generator,[{key:"generateRandomInteger",value:function generateRandomInteger(min,max){return Math.floor(this.random()*(max-min+1)+min)}},{key:"generateRandomWords",value:function generateRandomWords(num){var _this=this,_this$wordsPerSentenc=this.wordsPerSentence,min=_this$wordsPerSentenc.min,max=_this$wordsPerSentenc.max,length=num||this.generateRandomInteger(min,max);return(0,_util.makeArrayOfLength)(length).reduce((function(accumulator,index){return"".concat(_this.pluckRandomWord()," ").concat(accumulator)}),"").trim()}},{key:"generateRandomSentence",value:function generateRandomSentence(num){return"".concat((0,_util.capitalize)(this.generateRandomWords(num)),".")}},{key:"generateRandomParagraph",value:function generateRandomParagraph(num){var _this2=this,_this$sentencesPerPar=this.sentencesPerParagraph,min=_this$sentencesPerPar.min,max=_this$sentencesPerPar.max,length=num||this.generateRandomInteger(min,max);return(0,_util.makeArrayOfLength)(length).reduce((function(accumulator,index){return"".concat(_this2.generateRandomSentence()," ").concat(accumulator)}),"").trim()}},{key:"pluckRandomWord",value:function pluckRandomWord(){var max=this.words.length-1,index=this.generateRandomInteger(0,max);return this.words[index]}}]),Generator}(),_default=Generator;exports.default=_default},"./node_modules/lorem-ipsum/dist/util/capitalize.js":function(__unused_webpack_module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=function capitalize(str){var trimmed=str.trim();return trimmed.charAt(0).toUpperCase()+trimmed.slice(1)};exports.default=_default},"./node_modules/lorem-ipsum/dist/util/index.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"capitalize",{enumerable:!0,get:function get(){return _capitalize.default}}),Object.defineProperty(exports,"isNode",{enumerable:!0,get:function get(){return _isNode.default}}),Object.defineProperty(exports,"isReactNative",{enumerable:!0,get:function get(){return _isReactNative.default}}),Object.defineProperty(exports,"isWindows",{enumerable:!0,get:function get(){return _isWindows.default}}),Object.defineProperty(exports,"makeArrayOfLength",{enumerable:!0,get:function get(){return _makeArrayOfLength.default}}),Object.defineProperty(exports,"makeArrayOfStrings",{enumerable:!0,get:function get(){return _makeArrayOfStrings.default}});var _capitalize=_interopRequireDefault(__webpack_require__("./node_modules/lorem-ipsum/dist/util/capitalize.js")),_isNode=_interopRequireDefault(__webpack_require__("./node_modules/lorem-ipsum/dist/util/isNode.js")),_isReactNative=_interopRequireDefault(__webpack_require__("./node_modules/lorem-ipsum/dist/util/isReactNative.js")),_isWindows=_interopRequireDefault(__webpack_require__("./node_modules/lorem-ipsum/dist/util/isWindows.js")),_makeArrayOfLength=_interopRequireDefault(__webpack_require__("./node_modules/lorem-ipsum/dist/util/makeArrayOfLength.js")),_makeArrayOfStrings=_interopRequireDefault(__webpack_require__("./node_modules/lorem-ipsum/dist/util/makeArrayOfStrings.js"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}},"./node_modules/lorem-ipsum/dist/util/isNode.js":function(module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=function isNode(){return!!module.exports};exports.default=_default},"./node_modules/lorem-ipsum/dist/util/isReactNative.js":function(__unused_webpack_module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=function isReactNative(){var isReactNativeResult=!1;try{isReactNativeResult="ReactNative"===navigator.product}catch(e){isReactNativeResult=!1}return isReactNativeResult};exports.default=_default},"./node_modules/lorem-ipsum/dist/util/isWindows.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";var process=__webpack_require__("./node_modules/process/browser.js");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _platforms=__webpack_require__("./node_modules/lorem-ipsum/dist/constants/platforms.js"),_default=function isWindows(){var isWindowsResult=!1;try{isWindowsResult=process.platform===_platforms.SUPPORTED_PLATFORMS.WIN32}catch(e){isWindowsResult=!1}return isWindowsResult};exports.default=_default},"./node_modules/lorem-ipsum/dist/util/makeArrayOfLength.js":function(__unused_webpack_module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=function makeArrayOfLength(){var length=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.apply(null,Array(length)).map((function(item,index){return index}))};exports.default=_default},"./node_modules/lorem-ipsum/dist/util/makeArrayOfStrings.js":function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _makeArrayOfLength=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__("./node_modules/lorem-ipsum/dist/util/makeArrayOfLength.js"));var _default=function makeArrayOfStrings(length,makeString){return(0,_makeArrayOfLength.default)(length).map((function(){return makeString()}))};exports.default=_default}}]); \ No newline at end of file diff --git a/6918.a9ed06c5.iframe.bundle.js.br b/6918.a9ed06c5.iframe.bundle.js.br deleted file mode 100644 index 733b2f62..00000000 Binary files a/6918.a9ed06c5.iframe.bundle.js.br and /dev/null differ diff --git a/6918.a9ed06c5.iframe.bundle.js.gz b/6918.a9ed06c5.iframe.bundle.js.gz deleted file mode 100644 index dada0eb7..00000000 Binary files a/6918.a9ed06c5.iframe.bundle.js.gz and /dev/null differ diff --git a/8119.40b7982c.iframe.bundle.js b/8119.351fd14d.iframe.bundle.js similarity index 93% rename from 8119.40b7982c.iframe.bundle.js rename to 8119.351fd14d.iframe.bundle.js index 79ec7d0e..310e98d8 100644 --- a/8119.40b7982c.iframe.bundle.js +++ b/8119.351fd14d.iframe.bundle.js @@ -1,4 +1,4 @@ -(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[8119],{"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:i+""}function _defineProperty(obj,key,value){return(key=toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.d(__webpack_exports__,{A:function(){return _defineProperty}})},"./node_modules/@storybook/addon-actions/dist/index.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{XI:function(){return action}});var Category2,v4=__webpack_require__("./node_modules/uuid/dist/esm-browser/v4.js"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),StorybookError=class extends Error{constructor(){super(...arguments),this.data={},this.documentation=!1,this.fromStorybook=!0}get fullErrorCode(){let paddedCode=String(this.code).padStart(4,"0");return`SB_${this.category}_${paddedCode}`}get name(){let errorName=this.constructor.name;return`${this.fullErrorCode} (${errorName})`}get message(){let page;return!0===this.documentation?page=`https://storybook.js.org/error/${this.fullErrorCode}`:"string"==typeof this.documentation?page=this.documentation:Array.isArray(this.documentation)&&(page=`\n${this.documentation.map((doc=>`\t- ${doc}`)).join("\n")}`),`${this.template()}${null!=page?`\n\nMore info: ${page}\n`:""}`}},esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),Category=((Category2=Category||{}).PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",Category2.PREVIEW_CHANNELS="PREVIEW_CHANNELS",Category2.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",Category2.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",Category2.PREVIEW_API="PREVIEW_API",Category2.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",Category2.PREVIEW_ROUTER="PREVIEW_ROUTER",Category2.PREVIEW_THEMING="PREVIEW_THEMING",Category2.RENDERER_HTML="RENDERER_HTML",Category2.RENDERER_PREACT="RENDERER_PREACT",Category2.RENDERER_REACT="RENDERER_REACT",Category2.RENDERER_SERVER="RENDERER_SERVER",Category2.RENDERER_SVELTE="RENDERER_SVELTE",Category2.RENDERER_VUE="RENDERER_VUE",Category2.RENDERER_VUE3="RENDERER_VUE3",Category2.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",Category2),ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super(),this.data=data,this.category="PREVIEW_API",this.code=2,this.documentation="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function"}template(){return esm.A` +(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[8119],{"./node_modules/@storybook/addon-actions/dist/index.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{XI:function(){return action}});var Category2,v4=__webpack_require__("./node_modules/uuid/dist/esm-browser/v4.js"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),StorybookError=class extends Error{constructor(){super(...arguments),this.data={},this.documentation=!1,this.fromStorybook=!0}get fullErrorCode(){let paddedCode=String(this.code).padStart(4,"0");return`SB_${this.category}_${paddedCode}`}get name(){let errorName=this.constructor.name;return`${this.fullErrorCode} (${errorName})`}get message(){let page;return!0===this.documentation?page=`https://storybook.js.org/error/${this.fullErrorCode}`:"string"==typeof this.documentation?page=this.documentation:Array.isArray(this.documentation)&&(page=`\n${this.documentation.map((doc=>`\t- ${doc}`)).join("\n")}`),`${this.template()}${null!=page?`\n\nMore info: ${page}\n`:""}`}},esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),Category=((Category2=Category||{}).PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",Category2.PREVIEW_CHANNELS="PREVIEW_CHANNELS",Category2.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",Category2.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",Category2.PREVIEW_API="PREVIEW_API",Category2.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",Category2.PREVIEW_ROUTER="PREVIEW_ROUTER",Category2.PREVIEW_THEMING="PREVIEW_THEMING",Category2.RENDERER_HTML="RENDERER_HTML",Category2.RENDERER_PREACT="RENDERER_PREACT",Category2.RENDERER_REACT="RENDERER_REACT",Category2.RENDERER_SERVER="RENDERER_SERVER",Category2.RENDERER_SVELTE="RENDERER_SVELTE",Category2.RENDERER_VUE="RENDERER_VUE",Category2.RENDERER_VUE3="RENDERER_VUE3",Category2.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",Category2),ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super(),this.data=data,this.category="PREVIEW_API",this.code=2,this.documentation="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function"}template(){return esm.A` We detected that you use an implicit action arg during ${this.data.phase} of your story. ${this.data.deprecated?"\nThis is deprecated and won't work in Storybook 8 anymore.\n":""} Please provide an explicit spy to your args like this: @@ -8,4 +8,4 @@ ${this.data.name}: fn() } `}},ADDON_ID="storybook/actions",EVENT_ID=`${ADDON_ID}/action-event`,config={depth:10,clearOnStoryChange:!0,limit:50},findProto=(obj,callback)=>{let proto=Object.getPrototypeOf(obj);return!proto||callback(proto)?proto:findProto(proto,callback)},serializeArg=a=>{if("object"==typeof(e=a)&&e&&findProto(e,(proto=>/^Synthetic(?:Base)?Event$/.test(proto.constructor.name)))&&"function"==typeof e.persist){let e=Object.create(a.constructor.prototype,Object.getOwnPropertyDescriptors(a));e.persist();let viewDescriptor=Object.getOwnPropertyDescriptor(e,"view"),view=viewDescriptor?.value;return"object"==typeof view&&"Window"===view?.constructor.name&&Object.defineProperty(e,"view",{...viewDescriptor,value:Object.create(view.constructor.prototype)}),e}var e;return a},generateId=()=>"object"==typeof crypto&&"function"==typeof crypto.getRandomValues?(0,v4.A)():Date.now().toString(36)+Math.random().toString(36).substring(2);function action(name,options={}){let actionOptions={...config,...options},handler=function(...args){if(options.implicit){let storyRenderer=("__STORYBOOK_PREVIEW__"in external_STORYBOOK_MODULE_GLOBAL_.global?external_STORYBOOK_MODULE_GLOBAL_.global.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find((render=>"playing"===render.phase||"rendering"===render.phase));if(storyRenderer){let deprecated=!window?.FEATURES?.disallowImplicitActionsInRenderV8,error=new ImplicitActionsDuringRendering({phase:storyRenderer.phase,name:name,deprecated:deprecated});if(!deprecated)throw error;console.warn(error)}}let channel=external_STORYBOOK_MODULE_PREVIEW_API_.addons.getChannel(),id=generateId(),serializedArgs=args.map(serializeArg),normalizedArgs=args.length>1?serializedArgs:serializedArgs[0],actionDisplayToEmit={id:id,count:0,data:{name:name,args:normalizedArgs},options:{...actionOptions,maxDepth:5+(actionOptions.depth||3),allowFunction:actionOptions.allowFunction||!1}};channel.emit(EVENT_ID,actionDisplayToEmit)};return handler.isAction=!0,handler}},"./src/svg/times.svg":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _path,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i{let{children:children,onClose:onClose,position:position,size:size="medium",title:title,arrowX:arrowX,className:className,pathname:pathname}=_ref,props=(0,objectWithoutProperties.A)(_ref,_excluded);const node=(0,react.useRef)(null),onCloseRef=(0,react.useRef)(onClose);onCloseRef.current=onClose,(0,react.useEffect)((()=>{var _node$current;const previousActiveElement=document.activeElement;let mutationObs=null;const focusTarget=null===(_node$current=node.current)||void 0===_node$current?void 0:_node$current.querySelector(focusable);var _mutationObs2;focusTarget?focusTarget.focus():(mutationObs=new MutationObserver((()=>{var _node$current2;const focusTarget=null===(_node$current2=node.current)||void 0===_node$current2?void 0:_node$current2.querySelector(focusable);var _mutationObs;focusTarget&&(focusTarget.focus(),null===(_mutationObs=mutationObs)||void 0===_mutationObs||_mutationObs.disconnect())})),node.current&&(null===(_mutationObs2=mutationObs)||void 0===_mutationObs2||_mutationObs2.observe(node.current,{childList:!0,subtree:!0})));return()=>{var _mutationObs3;previousActiveElement&&document.contains(previousActiveElement)&&(null==previousActiveElement||previousActiveElement.focus()),null===(_mutationObs3=mutationObs)||void 0===_mutationObs3||_mutationObs3.disconnect(),onCloseRef.current=void 0}}),[]),(0,react.useEffect)((()=>{const handleClickOutside=e=>{for(const panel of document.querySelectorAll(".sliding-panel"))if(panel.contains(e.target))return;(0,timing_functions_es.Gt)().then((()=>{var _onCloseRef$current;null===(_onCloseRef$current=onCloseRef.current)||void 0===_onCloseRef$current||_onCloseRef$current.call(onCloseRef,"outside")}))};return document.addEventListener("click",handleClickOutside,!0),()=>{document.removeEventListener("click",handleClickOutside,!0)}}),[]);const firstTime=(0,react.useRef)(!0);return(0,react.useEffect)((()=>{var _onCloseRef$current2;firstTime.current?firstTime.current=!1:null===(_onCloseRef$current2=onCloseRef.current)||void 0===_onCloseRef$current2||_onCloseRef$current2.call(onCloseRef,"navigation")}),[pathname]),(0,react.useEffect)((()=>{const listener=event=>{var _onCloseRef$current3;"Escape"===event.key&&(null===(_onCloseRef$current3=onCloseRef.current)||void 0===_onCloseRef$current3||_onCloseRef$current3.call(onCloseRef,"escape"))};return document.addEventListener("keydown",listener,{passive:!0}),()=>{document.removeEventListener("keydown",listener)}}),[]),(0,react_dom.createPortal)((0,jsx_runtime.jsxs)("aside",_objectSpread(_objectSpread({"data-testid":"sliding-panel",className:classnames_default()("sliding-panel",`sliding-panel--${position}`,`sliding-panel--${position}--${size}`,Number.isFinite(arrowX)&&`sliding-panel--${position}--below-header`,className),ref:node},props),{},{children:[title&&(0,jsx_runtime.jsxs)("div",{className:"sliding-panel__header",children:[title&&(0,jsx_runtime.jsx)("span",{className:"small sliding-panel__header__title",children:title}),(0,jsx_runtime.jsx)(components_button.A,{variant:"tertiary",onClick:()=>{var _onCloseRef$current4;return null===(_onCloseRef$current4=onCloseRef.current)||void 0===_onCloseRef$current4?void 0:_onCloseRef$current4.call(onCloseRef,"x-button")},className:"sliding-panel__header__buttons",title:"Close panel",children:(0,jsx_runtime.jsx)(times.A,{})}),Number.isFinite(arrowX)&&(0,jsx_runtime.jsx)("div",{className:"sliding-panel__header__arrow",style:{left:arrowX}})]}),(0,jsx_runtime.jsx)("div",{className:"sliding-panel__content",children:children})]})),document.body)};try{slidingpanel.displayName="slidingpanel",slidingpanel.__docgenInfo={description:"",displayName:"slidingpanel",props:{onClose:{defaultValue:null,description:"What happens when close is triggered. Responsability of the user of the compoent",name:"onClose",required:!1,type:{name:'((reason: "navigation" | "outside" | "x-button" | "escape") => void)'}},size:{defaultValue:{value:"medium"},description:"Size of the panel once opened",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"medium"'},{value:'"large"'},{value:'"full-screen"'}]}},title:{defaultValue:null,description:"Title of the panel",name:"title",required:!1,type:{name:"ReactNode"}},pathname:{defaultValue:null,description:"Pathname of current location. When this changes the panel is closed.",name:"pathname",required:!0,type:{name:"string"}},position:{defaultValue:null,description:"Where the sliding panel should appear",name:"position",required:!0,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'},{value:'"top"'},{value:'"bottom"'}]}},arrowX:{defaultValue:null,description:"Horizontal position of the arrow if the panel appears below the page header.\nAlso works as a flag to display the arrow and display below the header",name:"arrowX",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sliding-panel.tsx#slidingpanel"]={docgenInfo:slidingpanel.__docgenInfo,name:"slidingpanel",path:"src/components/sliding-panel.tsx#slidingpanel"})}catch(__react_docgen_typescript_loader_error){}},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/sliding-panel.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"@keyframes slide-in-top{from{opacity:0;margin-top:-65rem}}@keyframes slide-in-right{from{opacity:0;margin-right:-65rem}}@keyframes slide-in-bottom{from{opacity:0;margin-bottom:-65rem}}@keyframes slide-in-left{from{opacity:0;margin-left:-65rem}}.sliding-panel{box-shadow:0 .125rem .25rem .125rem rgba(22,29,57,.2);background-color:#fbfeff;border-radius:.2rem;padding:0;position:fixed;display:flex;flex-direction:column;z-index:2147483641;opacity:1;margin:0;animation-duration:500ms;animation-iteration-count:1;animation-timing-function:ease-in-out;animation-fill-mode:backwards}.sliding-panel__header{background-color:#4e5a71;padding:.5rem 1rem;color:#fbfeff;--main-button-color: currentColor;display:flex;justify-content:space-between;align-items:center}.sliding-panel__header__title{margin-bottom:0}.sliding-panel__header button{margin:0}.sliding-panel__header__arrow{position:fixed;top:var(--top-header-margin);margin-top:-1rem;margin-left:-1rem;border-left:1rem solid rgba(0,0,0,0);border-right:1rem solid rgba(0,0,0,0);border-bottom:1rem solid #4e5a71}.sliding-panel__content{padding:1rem;overflow-y:auto;flex:1}.sliding-panel__button-row{position:sticky;display:flex;justify-content:flex-end;padding:.5rem 0;bottom:0}.sliding-panel--top,.sliding-panel--bottom{width:100vw;left:0}.sliding-panel--top--small,.sliding-panel--bottom--small{height:20vh}.sliding-panel--top--medium,.sliding-panel--bottom--medium{height:40vh}.sliding-panel--top--large,.sliding-panel--bottom--large{height:60vh}.sliding-panel--top--full-screen,.sliding-panel--bottom--full-screen{height:100vh}.sliding-panel--top{top:0;animation-name:slide-in-top}.sliding-panel--bottom{bottom:0;animation-name:slide-in-bottom}.sliding-panel--left,.sliding-panel--right{height:100vh;top:0}.sliding-panel--left--below-header,.sliding-panel--right--below-header{top:0;margin-top:var(--top-header-margin);height:calc(100vh - var(--top-header-margin))}.sliding-panel--left--small,.sliding-panel--right--small{width:100vw}@media(min-width: 640px){.sliding-panel--left--small,.sliding-panel--right--small{width:min(max(30vw,22rem),40vw)}}.sliding-panel--left--medium,.sliding-panel--right--medium{width:100vw}@media(min-width: 640px){.sliding-panel--left--medium,.sliding-panel--right--medium{width:min(max(40vw,55rem),90vw)}}.sliding-panel--left--large,.sliding-panel--right--large{width:100vw}@media(min-width: 640px){.sliding-panel--left--large,.sliding-panel--right--large{width:min(max(60vw,77rem),95vw)}}.sliding-panel--left--full-screen,.sliding-panel--right--full-screen{width:100vw}.sliding-panel--left{left:0;animation-name:slide-in-left}.sliding-panel--right{right:0;animation-name:slide-in-right}","",{version:3,sources:["webpack://./src/styles/components/sliding-panel.scss","webpack://./src/styles/_mixins.scss","webpack://./colours.json","webpack://./src/styles/common/_z-index.scss","webpack://./src/styles/_settings.scss"],names:[],mappings:"AASA,wBACE,KACE,SAAA,CACA,iBAAA,CAAA,CAIJ,0BACE,KACE,SAAA,CACA,mBAAA,CAAA,CAGJ,2BACE,KACE,SAAA,CACA,oBAAA,CAAA,CAGJ,yBACE,KACE,SAAA,CACA,kBAAA,CAAA,CAIJ,eCjBE,qDAAA,CDmBA,wBE3BU,CF4BV,mBAAA,CACA,SAAA,CACA,cAAA,CACA,YAAA,CACA,qBAAA,CACA,kBGvCgB,CHwChB,SAAA,CACA,QAAA,CAGA,wBAAA,CACA,2BAAA,CACA,qCAAA,CACA,6BAAA,CAEA,uBACE,wBEhDW,CFiDX,kBAAA,CACA,aE9CQ,CF+CR,iCAAA,CACA,YAAA,CACA,6BAAA,CACA,kBAAA,CAEA,8BACE,eAAA,CAGF,8BACE,QAAA,CAGF,8BACE,cAAA,CACA,4BAAA,CACA,gBAAA,CACA,iBAAA,CACA,oCAAA,CACA,qCAAA,CACA,gCAAA,CAIJ,wBACE,YIKa,CJJb,eAAA,CACA,MAAA,CAGF,2BACE,eAAA,CACA,YAAA,CACA,wBAAA,CACA,eAAA,CACA,QAAA,CAGF,2CAEE,WAAA,CACA,MAAA,CAGF,yDAEE,WAAA,CAEF,2DAEE,WAAA,CAEF,yDAEE,WAAA,CAEF,qEAEE,YAAA,CAGF,oBACE,KAAA,CACA,2BAAA,CAGF,uBACE,QAAA,CACA,8BAAA,CAGF,2CAEE,YAAA,CACA,KAAA,CAGF,uEAEE,KAAA,CACA,mCAAA,CACA,6CAAA,CAGF,yDAEE,WAAA,CCxHA,yBDsHF,yDAKI,+BAAA,CAAA,CAIJ,2DAEE,WAAA,CCjIA,yBD+HF,2DAMI,+BAAA,CAAA,CAIJ,yDAEE,WAAA,CC3IA,yBDyIF,yDAKI,+BAAA,CAAA,CAIJ,qEAEE,WAAA,CAGF,qBACE,MAAA,CACA,4BAAA,CAGF,sBACE,OAAA,CACA,6BAAA",sourcesContent:["@use 'sass:math';\n\n@import '../settings';\n@import '../colours';\n@import '../mixins';\n@import '../common/z-index';\n\n$arrow-size: 1rem;\n\n@keyframes slide-in-top {\n from {\n opacity: 0;\n margin-top: -65rem;\n }\n}\n\n@keyframes slide-in-right {\n from {\n opacity: 0;\n margin-right: -65rem;\n }\n}\n@keyframes slide-in-bottom {\n from {\n opacity: 0;\n margin-bottom: -65rem;\n }\n}\n@keyframes slide-in-left {\n from {\n opacity: 0;\n margin-left: -65rem;\n }\n}\n\n.sliding-panel {\n @include box-shadow(0.125rem);\n background-color: $colour-sky-white;\n border-radius: 0.2rem;\n padding: 0;\n position: fixed;\n display: flex;\n flex-direction: column;\n z-index: $z-index-highest;\n opacity: 1;\n margin: 0;\n\n // animation on mount\n animation-duration: 500ms;\n animation-iteration-count: 1;\n animation-timing-function: ease-in-out;\n animation-fill-mode: backwards;\n\n &__header {\n background-color: $colour-independence;\n padding: math.div($global-padding, 2) $global-padding;\n color: $colour-sky-white;\n --main-button-color: currentColor;\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n &__title {\n margin-bottom: 0;\n }\n\n button {\n margin: 0;\n }\n\n &__arrow {\n position: fixed;\n top: var(--top-header-margin);\n margin-top: -$arrow-size;\n margin-left: -$arrow-size;\n border-left: $arrow-size solid transparent;\n border-right: $arrow-size solid transparent;\n border-bottom: $arrow-size solid $colour-independence;\n }\n }\n\n &__content {\n padding: $global-padding;\n overflow-y: auto;\n flex: 1;\n }\n\n &__button-row {\n position: sticky;\n display: flex;\n justify-content: flex-end;\n padding: math.div($global-padding, 2) 0;\n bottom: 0;\n }\n\n &--top,\n &--bottom {\n width: 100vw;\n left: 0;\n }\n\n &--top--small,\n &--bottom--small {\n height: 20vh;\n }\n &--top--medium,\n &--bottom--medium {\n height: 40vh;\n }\n &--top--large,\n &--bottom--large {\n height: 60vh;\n }\n &--top--full-screen,\n &--bottom--full-screen {\n height: 100vh;\n }\n\n &--top {\n top: 0;\n animation-name: slide-in-top;\n }\n\n &--bottom {\n bottom: 0;\n animation-name: slide-in-bottom;\n }\n\n &--left,\n &--right {\n height: 100vh;\n top: 0;\n }\n\n &--left--below-header,\n &--right--below-header {\n top: 0;\n margin-top: var(--top-header-margin);\n height: calc(100vh - var(--top-header-margin));\n }\n\n &--left--small,\n &--right--small {\n width: 100vw;\n\n @include fs-breakpoints('medium') {\n width: min(max(30vw, 22rem), calc(40vw));\n }\n }\n\n &--left--medium,\n &--right--medium {\n width: 100vw;\n\n @include fs-breakpoints('medium') {\n // Values are eyeballed to fit the Query builder\n width: min(max(40vw, 55rem), calc(90vw));\n }\n }\n\n &--left--large,\n &--right--large {\n width: 100vw;\n\n @include fs-breakpoints('medium') {\n width: min(max(60vw, 77rem), calc(95vw));\n }\n }\n\n &--left--full-screen,\n &--right--full-screen {\n width: 100vw;\n }\n\n &--left {\n left: 0;\n animation-name: slide-in-left;\n }\n\n &--right {\n right: 0;\n animation-name: slide-in-right;\n }\n}\n","@use 'sass:math';\n\n@import './settings';\n@import './colours';\n@import './franklin-settings';\n\n@mixin columns($base-class, $number) {\n .#{$base-class}--columns {\n column-count: $number;\n column-width: percentage(math.div(1, $number));\n\n & > * {\n break-inside: avoid;\n }\n }\n}\n\n@mixin box-shadow($spread: 0.125rem) {\n box-shadow: 0 0.125rem 0.25rem $spread rgba($colour-yankees-blue, 0.2);\n}\n\n@mixin fs-breakpoints($size) {\n @if map-has-key($fs-breakpoint-values, $size) {\n @media #{inspect(map-get($fs-breakpoint-values, $size))} {\n @content;\n }\n }\n}\n\n@mixin ellipsis() {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n","$sapphire-blue: #014371;\n$sea-blue: #00639a;\n$vivid-cerulean: #00a6d5;\n$medium-turquoise: #46d6fa;\n$gainsborough: #d2dce3;\n$yankees-blue: #161d39;\n$independence: #4e5a71;\n$weldon-blue: #8194a1;\n$pastel-blue: #abc7d6;\n$platinum: #e4e8eb;\n$sky-white: #fbfeff;\n$bronze: #a65708;\n$reviewed: #c39b00;\n$unreviewed: #c0c0c0;\n$uniref: #f2994c;\n$uniparc: #88c19d;\n$proteomes: #e56358;\n$reference-proteome: #9d4a4d;\n$peptide-search: #A748BD;\n$id-mapping: #357B92;\n$blast: #00A6D5;\n$align: #B8CE48;\n$warning: #ffcc33;\n$failure: #f36968;\n$success: #108f3b;\n$info: #79cbf8;\n$help-green: #28aa50;\n$coyote-brown: #966336;\n$outer-space: #374343;\n$tool-results: #622E81;","$z-index-low: 2000;\n$z-index-medium: 5000;\n$z-index-high: 9000;\n//previous: $z-index-highest: 10000; current: max possible z-index\n$z-index-highest: 2147483641;\n","// Foundation for Sites Settings\n// -----------------------------\n//\n// Table of Contents:\n//\n// 1. Global\n// 2. Breakpoints\n// 3. The Grid\n// 4. Base Typography\n// 5. Typography Helpers\n// 6. Abide\n// 7. Accordion\n// 8. Accordion Menu\n// 9. Badge\n// 10. Breadcrumbs\n// 11. Button\n// 12. Button Group\n// 13. Callout\n// 14. Card\n// 15. Close Button\n// 16. Drilldown\n// 17. Dropdown\n// 18. Dropdown Menu\n// 19. Flexbox Utilities\n// 20. Forms\n// 21. Label\n// 22. Media Object\n// 23. Menu\n// 24. Meter\n// 25. Off-canvas\n// 26. Orbit\n// 27. Pagination\n// 28. Progress Bar\n// 29. Prototype Arrow\n// 30. Prototype Border-Box\n// 31. Prototype Border-None\n// 32. Prototype Bordered\n// 33. Prototype Display\n// 34. Prototype Font-Styling\n// 35. Prototype List-Style-Type\n// 36. Prototype Overflow\n// 37. Prototype Position\n// 38. Prototype Rounded\n// 39. Prototype Separator\n// 40. Prototype Shadow\n// 41. Prototype Sizing\n// 42. Prototype Spacing\n// 43. Prototype Text-Decoration\n// 44. Prototype Text-Transformation\n// 45. Prototype Text-Utilities\n// 46. Responsive Embed\n// 47. Reveal\n// 48. Slider\n// 49. Switch\n// 50. Table\n// 51. Tabs\n// 52. Thumbnail\n// 53. Title Bar\n// 54. Tooltip\n// 55. Top Bar\n// 56. Xy Grid\n\n@import 'foundation-sites/scss/util/util';\n\n// 1. Global\n// ---------\n\n$global-font-size: 100%;\n$global-width: rem-calc(1200);\n$global-lineheight: 1.5;\n$foundation-palette: (\n primary: #1779ba,\n secondary: #ffffff,\n success: #3adb76,\n warning: #ffae00,\n alert: #cc4b37,\n);\n$light-gray: #e6e6e6;\n$medium-gray: #cacaca;\n$dark-gray: #8a8a8a;\n$black: #0a0a0a;\n$white: #fefefe;\n$body-background: $white;\n$body-font-color: $black;\n$body-font-family: Lato, Helvetica, Roboto, Arial, sans-serif;\n$body-antialiased: true;\n$global-margin: 1rem;\n$global-padding: 1rem;\n$global-position: 1rem;\n$global-weight-normal: normal;\n$global-weight-bold: bold;\n$global-radius: 0;\n$global-menu-padding: 0.7rem 1rem;\n$global-menu-nested-margin: 1rem;\n$global-text-direction: ltr;\n$global-flexbox: true;\n$global-prototype-breakpoints: false;\n$global-button-cursor: auto;\n$global-color-pick-contrast-tolerance: 0;\n$print-transparent-backgrounds: true;\n\n@include add-foundation-colors;\n\n// 2. Breakpoints\n// --------------\n\n$breakpoints: (\n small: 0,\n medium: 640px,\n large: 1024px,\n xlarge: 1200px,\n xxlarge: 1440px,\n);\n$print-breakpoint: large;\n$breakpoint-classes: (small medium large);\n\n// 3. The Grid\n// -----------\n\n$grid-row-width: $global-width;\n$grid-column-count: 12;\n$grid-column-gutter: (\n small: 20px,\n medium: 30px,\n);\n$grid-column-align-edge: true;\n$grid-column-alias: 'columns';\n$block-grid-max: 8;\n\n// 4. Base Typography\n// ------------------\n\n$header-font-family: $body-font-family;\n$header-font-weight: $global-weight-normal;\n$header-font-style: normal;\n$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;\n$header-color: inherit;\n$header-lineheight: 1.4;\n$header-margin-bottom: 0.5rem;\n$header-styles: (\n small: (\n 'h1': (\n 'font-size': 24,\n ),\n 'h2': (\n 'font-size': 20,\n ),\n 'h3': (\n 'font-size': 19,\n ),\n 'h4': (\n 'font-size': 18,\n ),\n 'h5': (\n 'font-size': 17,\n ),\n 'h6': (\n 'font-size': 16,\n ),\n ),\n medium: (\n 'h1': (\n 'font-size': 48,\n ),\n 'h2': (\n 'font-size': 40,\n ),\n 'h3': (\n 'font-size': 31,\n ),\n 'h4': (\n 'font-size': 25,\n ),\n 'h5': (\n 'font-size': 20,\n ),\n 'h6': (\n 'font-size': 16,\n ),\n ),\n);\n$header-text-rendering: optimizeLegibility;\n$small-font-size: 80%;\n$header-small-font-color: $black;\n$paragraph-lineheight: 1.6;\n$paragraph-margin-bottom: 1rem;\n$paragraph-text-rendering: optimizeLegibility;\n$code-color: $black;\n$code-font-family: $font-family-monospace;\n$code-font-weight: $global-weight-normal;\n$code-background: $light-gray;\n$code-border: 1px solid $medium-gray;\n$code-padding: rem-calc(2 5 1);\n$anchor-color: $primary-color;\n$anchor-color-hover: scale-color($anchor-color, $lightness: -14%);\n$anchor-text-decoration: none;\n$anchor-text-decoration-hover: none;\n$hr-width: $global-width;\n$hr-border: 1px solid $medium-gray;\n$hr-margin: rem-calc(20) auto;\n$list-lineheight: $paragraph-lineheight;\n$list-margin-bottom: $paragraph-margin-bottom;\n$list-style-type: disc;\n$list-style-position: outside;\n$list-side-margin: 1.25rem;\n$list-nested-side-margin: 1.25rem;\n$defnlist-margin-bottom: 1rem;\n$defnlist-term-weight: $global-weight-bold;\n$defnlist-term-margin-bottom: 0.3rem;\n$blockquote-color: $dark-gray;\n$blockquote-padding: rem-calc(9 20 0 19);\n$blockquote-border: 1px solid $medium-gray;\n$cite-font-size: rem-calc(13);\n$cite-color: $dark-gray;\n$cite-pseudo-content: '\\2014 \\0020';\n$keystroke-font: $font-family-monospace;\n$keystroke-color: $black;\n$keystroke-background: $light-gray;\n$keystroke-padding: rem-calc(2 4 0);\n$keystroke-radius: $global-radius;\n$abbr-underline: 1px dotted $black;\n\n// 5. Typography Helpers\n// ---------------------\n\n$lead-font-size: $global-font-size * 1.25;\n$lead-lineheight: 1.6;\n$subheader-lineheight: 1.4;\n$subheader-color: $dark-gray;\n$subheader-font-weight: $global-weight-normal;\n$subheader-margin-top: 0.2rem;\n$subheader-margin-bottom: 0.5rem;\n$stat-font-size: 2.5rem;\n\n// 6. Abide\n// --------\n\n$abide-inputs: true;\n$abide-labels: true;\n$input-background-invalid: get-color(alert);\n$form-label-color-invalid: get-color(alert);\n$input-error-color: get-color(alert);\n$input-error-font-size: rem-calc(12);\n$input-error-font-weight: $global-weight-bold;\n\n// 7. Accordion\n// ------------\n\n$accordion-background: $white;\n$accordion-plusminus: true;\n$accordion-title-font-size: rem-calc(12);\n$accordion-item-color: $primary-color;\n$accordion-item-background-hover: $light-gray;\n$accordion-item-padding: 1.25rem 1rem;\n$accordion-content-background: $white;\n$accordion-content-border: 1px solid $light-gray;\n$accordion-content-color: $body-font-color;\n$accordion-content-padding: 1rem;\n\n// 8. Accordion Menu\n// -----------------\n\n$accordionmenu-padding: $global-menu-padding;\n$accordionmenu-nested-margin: $global-menu-nested-margin;\n$accordionmenu-submenu-padding: $accordionmenu-padding;\n$accordionmenu-arrows: true;\n$accordionmenu-arrow-color: $primary-color;\n$accordionmenu-item-background: null;\n$accordionmenu-border: null;\n$accordionmenu-submenu-toggle-background: null;\n$accordion-submenu-toggle-border: $accordionmenu-border;\n$accordionmenu-submenu-toggle-width: 40px;\n$accordionmenu-submenu-toggle-height: $accordionmenu-submenu-toggle-width;\n$accordionmenu-arrow-size: 6px;\n\n// 9. Badge\n// --------\n\n$badge-background: $primary-color;\n$badge-color: $white;\n$badge-color-alt: $black;\n$badge-palette: $foundation-palette;\n$badge-padding: 0.3em;\n$badge-minwidth: 2.1em;\n$badge-font-size: 0.6rem;\n\n// 10. Breadcrumbs\n// ---------------\n\n$breadcrumbs-margin: 0 0 $global-margin 0;\n$breadcrumbs-item-font-size: rem-calc(11);\n$breadcrumbs-item-color: $primary-color;\n$breadcrumbs-item-color-current: $black;\n$breadcrumbs-item-color-disabled: $medium-gray;\n$breadcrumbs-item-margin: 0.75rem;\n$breadcrumbs-item-uppercase: true;\n$breadcrumbs-item-separator: true;\n$breadcrumbs-item-separator-item: '/';\n$breadcrumbs-item-separator-item-rtl: '\\\\';\n$breadcrumbs-item-separator-color: $medium-gray;\n\n// 11. Button\n// ----------\n\n$button-font-family: inherit;\n$button-padding: 0.85em 1em;\n$button-margin: 0 0 $global-margin 0;\n$button-fill: solid;\n$button-background: $primary-color;\n$button-background-hover: scale-color($button-background, $lightness: -15%);\n$button-color: $white;\n$button-color-alt: $black;\n$button-radius: $global-radius;\n$button-hollow-border-width: 1px;\n$button-sizes: (\n tiny: 0.6rem,\n small: 0.75rem,\n default: 0.9rem,\n large: 1.25rem,\n);\n$button-palette: $foundation-palette;\n$button-opacity-disabled: 0.25;\n$button-background-hover-lightness: -20%;\n$button-hollow-hover-lightness: -50%;\n$button-transition: background-color 0.25s ease-out, color 0.25s ease-out;\n$button-responsive-expanded: false;\n\n// 12. Button Group\n// ----------------\n\n$buttongroup-margin: 1rem;\n$buttongroup-spacing: 1px;\n$buttongroup-child-selector: '.button';\n$buttongroup-expand-max: 6;\n$buttongroup-radius-on-each: true;\n\n// 13. Callout\n// -----------\n\n$callout-background: $white;\n$callout-background-fade: 85%;\n$callout-border: 1px solid rgba($black, 0.25);\n$callout-margin: 0 0 1rem 0;\n$callout-padding: 1rem;\n$callout-font-color: $body-font-color;\n$callout-font-color-alt: $body-background;\n$callout-radius: $global-radius;\n$callout-link-tint: 30%;\n\n// 14. Card\n// --------\n\n$card-background: $white;\n$card-font-color: $body-font-color;\n$card-divider-background: $light-gray;\n$card-border: 1px solid $light-gray;\n$card-shadow: none;\n$card-border-radius: $global-radius;\n$card-padding: $global-padding;\n$card-margin-bottom: $global-margin;\n\n// 15. Close Button\n// ----------------\n\n$closebutton-position: right top;\n$closebutton-offset-horizontal: (\n small: 0.66rem,\n medium: 1rem,\n);\n$closebutton-offset-vertical: (\n small: 0.33em,\n medium: 0.5rem,\n);\n$closebutton-size: (\n small: 1.5em,\n medium: 2em,\n);\n$closebutton-lineheight: 1;\n$closebutton-color: $dark-gray;\n$closebutton-color-hover: $black;\n\n// 16. Drilldown\n// -------------\n\n$drilldown-transition: transform 0.15s linear;\n$drilldown-arrows: true;\n$drilldown-padding: $global-menu-padding;\n$drilldown-nested-margin: 0;\n$drilldown-background: $white;\n$drilldown-submenu-padding: $drilldown-padding;\n$drilldown-submenu-background: $white;\n$drilldown-arrow-color: $primary-color;\n$drilldown-arrow-size: 6px;\n\n// 17. Dropdown\n// ------------\n\n$dropdown-padding: 1rem;\n$dropdown-background: $body-background;\n$dropdown-border: 1px solid $medium-gray;\n$dropdown-font-size: 1rem;\n$dropdown-width: 300px;\n$dropdown-radius: $global-radius;\n$dropdown-sizes: (\n tiny: 100px,\n small: 200px,\n large: 400px,\n);\n\n// 18. Dropdown Menu\n// -----------------\n\n$dropdownmenu-arrows: true;\n$dropdownmenu-arrow-color: $anchor-color;\n$dropdownmenu-arrow-size: 6px;\n$dropdownmenu-arrow-padding: 1.5rem;\n$dropdownmenu-min-width: 200px;\n$dropdownmenu-background: $white;\n$dropdownmenu-submenu-background: $dropdownmenu-background;\n$dropdownmenu-padding: $global-menu-padding;\n$dropdownmenu-nested-margin: 0;\n$dropdownmenu-submenu-padding: $dropdownmenu-padding;\n$dropdownmenu-border: 1px solid $medium-gray;\n$dropdown-menu-item-color-active: get-color(primary);\n$dropdown-menu-item-background-active: transparent;\n\n// 19. Flexbox Utilities\n// ---------------------\n\n$flex-source-ordering-count: 6;\n$flexbox-responsive-breakpoints: true;\n\n// 20. Forms\n// ---------\n\n$fieldset-border: 1px solid $medium-gray;\n$fieldset-padding: rem-calc(20);\n$fieldset-margin: rem-calc(18 0);\n$legend-padding: rem-calc(0 3);\n$form-spacing: rem-calc(16);\n$helptext-color: $black;\n$helptext-font-size: rem-calc(13);\n$helptext-font-style: italic;\n$input-prefix-color: $black;\n$input-prefix-background: $light-gray;\n$input-prefix-border: 1px solid $medium-gray;\n$input-prefix-padding: 1rem;\n$form-label-color: $black;\n$form-label-font-size: rem-calc(14);\n$form-label-font-weight: $global-weight-normal;\n$form-label-line-height: 1.8;\n$select-background: $white;\n$select-triangle-color: $dark-gray;\n$select-radius: $global-radius;\n$input-color: $black;\n$input-placeholder-color: $medium-gray;\n$input-font-family: inherit;\n$input-font-size: rem-calc(16);\n$input-font-weight: $global-weight-normal;\n$input-line-height: $global-lineheight;\n$input-background: $white;\n$input-background-focus: $white;\n$input-background-disabled: $light-gray;\n$input-border: 1px solid $medium-gray;\n$input-border-focus: 1px solid $dark-gray;\n$input-padding: $form-spacing * 0.5;\n$input-shadow: inset 0 1px 2px rgba($black, 0.1);\n$input-shadow-focus: 0 0 5px $medium-gray;\n$input-cursor-disabled: not-allowed;\n$input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;\n$input-number-spinners: true;\n$input-radius: $global-radius;\n$form-button-radius: $global-radius;\n\n// 21. Label\n// ---------\n\n$label-background: $primary-color;\n$label-color: $white;\n$label-color-alt: $black;\n$label-palette: $foundation-palette;\n$label-font-size: 0.8rem;\n$label-padding: 0.33333rem 0.5rem;\n$label-radius: $global-radius;\n\n// 22. Media Object\n// ----------------\n\n$mediaobject-margin-bottom: $global-margin;\n$mediaobject-section-padding: $global-padding;\n$mediaobject-image-width-stacked: 100%;\n\n// 23. Menu\n// --------\n\n$menu-margin: 0;\n$menu-nested-margin: $global-menu-nested-margin;\n$menu-items-padding: $global-menu-padding;\n$menu-simple-margin: 1rem;\n$menu-item-color-active: $white;\n$menu-item-background-active: get-color(primary);\n$menu-icon-spacing: 0.25rem;\n$menu-item-background-hover: $light-gray;\n$menu-state-back-compat: true;\n$menu-centered-back-compat: true;\n$menu-icons-back-compat: true;\n\n// 24. Meter\n// ---------\n\n$meter-height: 1rem;\n$meter-radius: $global-radius;\n$meter-background: $medium-gray;\n$meter-fill-good: $success-color;\n$meter-fill-medium: $warning-color;\n$meter-fill-bad: $alert-color;\n\n// 25. Off-canvas\n// --------------\n\n$offcanvas-sizes: (\n small: 250px,\n);\n$offcanvas-vertical-sizes: (\n small: 250px,\n);\n$offcanvas-background: $light-gray;\n$offcanvas-shadow: 0 0 10px rgba($black, 0.7);\n$offcanvas-inner-shadow-size: 20px;\n$offcanvas-inner-shadow-color: rgba($black, 0.25);\n$offcanvas-overlay-zindex: 11;\n$offcanvas-push-zindex: 12;\n$offcanvas-overlap-zindex: 13;\n$offcanvas-reveal-zindex: 12;\n$offcanvas-transition-length: 0.5s;\n$offcanvas-transition-timing: ease;\n$offcanvas-fixed-reveal: true;\n$offcanvas-exit-background: rgba($white, 0.25);\n$maincontent-class: 'off-canvas-content';\n\n// 26. Orbit\n// ---------\n\n$orbit-bullet-background: $medium-gray;\n$orbit-bullet-background-active: $dark-gray;\n$orbit-bullet-diameter: 1.2rem;\n$orbit-bullet-margin: 0.1rem;\n$orbit-bullet-margin-top: 0.8rem;\n$orbit-bullet-margin-bottom: 0.8rem;\n$orbit-caption-background: rgba($black, 0.5);\n$orbit-caption-padding: 1rem;\n$orbit-control-background-hover: rgba($black, 0.5);\n$orbit-control-padding: 1rem;\n$orbit-control-zindex: 10;\n\n// 27. Pagination\n// --------------\n\n$pagination-font-size: rem-calc(14);\n$pagination-margin-bottom: $global-margin;\n$pagination-item-color: $black;\n$pagination-item-padding: rem-calc(3 10);\n$pagination-item-spacing: rem-calc(1);\n$pagination-radius: $global-radius;\n$pagination-item-background-hover: $light-gray;\n$pagination-item-background-current: $primary-color;\n$pagination-item-color-current: $white;\n$pagination-item-color-disabled: $medium-gray;\n$pagination-ellipsis-color: $black;\n$pagination-mobile-items: false;\n$pagination-mobile-current-item: false;\n$pagination-arrows: true;\n\n// 28. Progress Bar\n// ----------------\n\n$progress-height: 1rem;\n$progress-background: $medium-gray;\n$progress-margin-bottom: $global-margin;\n$progress-meter-background: $primary-color;\n$progress-radius: $global-radius;\n\n// 29. Prototype Arrow\n// -------------------\n\n$prototype-arrow-directions: (down, up, right, left);\n$prototype-arrow-size: 0.4375rem;\n$prototype-arrow-color: $black;\n\n// 30. Prototype Border-Box\n// ------------------------\n\n$prototype-border-box-breakpoints: $global-prototype-breakpoints;\n\n// 31. Prototype Border-None\n// -------------------------\n\n$prototype-border-none-breakpoints: $global-prototype-breakpoints;\n\n// 32. Prototype Bordered\n// ----------------------\n\n$prototype-bordered-breakpoints: $global-prototype-breakpoints;\n$prototype-border-width: rem-calc(1);\n$prototype-border-type: solid;\n$prototype-border-color: $medium-gray;\n\n// 33. Prototype Display\n// ---------------------\n\n$prototype-display-breakpoints: $global-prototype-breakpoints;\n$prototype-display: (inline, inline-block, block, table, table-cell);\n\n// 34. Prototype Font-Styling\n// --------------------------\n\n$prototype-font-breakpoints: $global-prototype-breakpoints;\n$prototype-wide-letter-spacing: rem-calc(4);\n$prototype-font-normal: $global-weight-normal;\n$prototype-font-bold: $global-weight-bold;\n\n// 35. Prototype List-Style-Type\n// -----------------------------\n\n$prototype-list-breakpoints: $global-prototype-breakpoints;\n$prototype-style-type-unordered: (disc, circle, square);\n$prototype-style-type-ordered: (\n decimal,\n lower-alpha,\n lower-latin,\n lower-roman,\n upper-alpha,\n upper-latin,\n upper-roman\n);\n\n// 36. Prototype Overflow\n// ----------------------\n\n$prototype-overflow-breakpoints: $global-prototype-breakpoints;\n$prototype-overflow: (visible, hidden, scroll);\n\n// 37. Prototype Position\n// ----------------------\n\n$prototype-position-breakpoints: $global-prototype-breakpoints;\n$prototype-position: (static, relative, absolute, fixed);\n$prototype-position-z-index: 975;\n\n// 38. Prototype Rounded\n// ---------------------\n\n$prototype-rounded-breakpoints: $global-prototype-breakpoints;\n$prototype-border-radius: rem-calc(3);\n\n// 39. Prototype Separator\n// -----------------------\n\n$prototype-separator-breakpoints: $global-prototype-breakpoints;\n$prototype-separator-align: center;\n$prototype-separator-height: rem-calc(2);\n$prototype-separator-width: 3rem;\n$prototype-separator-background: $primary-color;\n$prototype-separator-margin-top: $global-margin;\n\n// 40. Prototype Shadow\n// --------------------\n\n$prototype-shadow-breakpoints: $global-prototype-breakpoints;\n$prototype-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16),\n 0 2px 10px 0 rgba(0, 0, 0, 0.12);\n\n// 41. Prototype Sizing\n// --------------------\n\n$prototype-sizing-breakpoints: $global-prototype-breakpoints;\n$prototype-sizing: (width, height);\n$prototype-sizes: (\n 25: 25%,\n 50: 50%,\n 75: 75%,\n 100: 100%,\n);\n\n// 42. Prototype Spacing\n// ---------------------\n\n$prototype-spacing-breakpoints: $global-prototype-breakpoints;\n$prototype-spacers-count: 3;\n\n// 43. Prototype Text-Decoration\n// -----------------------------\n\n$prototype-decoration-breakpoints: $global-prototype-breakpoints;\n$prototype-text-decoration: (overline, underline, line-through);\n\n// 44. Prototype Text-Transformation\n// ---------------------------------\n\n$prototype-transformation-breakpoints: $global-prototype-breakpoints;\n$prototype-text-transformation: (lowercase, uppercase, capitalize);\n\n// 45. Prototype Text-Utilities\n// ----------------------------\n\n$prototype-utilities-breakpoints: $global-prototype-breakpoints;\n$prototype-text-overflow: ellipsis;\n\n// 46. Responsive Embed\n// --------------------\n\n$responsive-embed-margin-bottom: rem-calc(16);\n$responsive-embed-ratios: (\n default: 4 by 3,\n widescreen: 16 by 9,\n);\n\n// 47. Reveal\n// ----------\n\n$reveal-background: $white;\n$reveal-width: 600px;\n$reveal-max-width: $global-width;\n$reveal-padding: $global-padding;\n$reveal-border: 1px solid $medium-gray;\n$reveal-radius: $global-radius;\n$reveal-zindex: 1005;\n$reveal-overlay-background: rgba($black, 0.45);\n\n// 48. Slider\n// ----------\n\n$slider-width-vertical: 0.5rem;\n$slider-transition: all 0.2s ease-in-out;\n$slider-height: 0.5rem;\n$slider-background: $light-gray;\n$slider-fill-background: $medium-gray;\n$slider-handle-height: 1.4rem;\n$slider-handle-width: 1.4rem;\n$slider-handle-background: $primary-color;\n$slider-opacity-disabled: 0.25;\n$slider-radius: $global-radius;\n\n// 49. Switch\n// ----------\n\n$switch-background: $medium-gray;\n$switch-background-active: $primary-color;\n$switch-height: 2rem;\n$switch-height-tiny: 1.5rem;\n$switch-height-small: 1.75rem;\n$switch-height-large: 2.5rem;\n$switch-radius: $global-radius;\n$switch-margin: $global-margin;\n$switch-paddle-background: $white;\n$switch-paddle-offset: 0.25rem;\n$switch-paddle-radius: $global-radius;\n$switch-paddle-transition: all 0.25s ease-out;\n\n// 50. Table\n// ---------\n\n$table-background: $white;\n$table-color-scale: 5%;\n$table-border: 1px solid smart-scale($table-background, $table-color-scale);\n$table-padding: rem-calc(8 10 10);\n$table-hover-scale: 2%;\n$table-row-hover: darken($table-background, $table-hover-scale);\n$table-row-stripe-hover: darken(\n $table-background,\n $table-color-scale + $table-hover-scale\n);\n$table-is-striped: true;\n$table-striped-background: smart-scale($table-background, $table-color-scale);\n$table-stripe: even;\n$table-head-background: smart-scale(\n $table-background,\n $table-color-scale * 0.5\n);\n$table-head-row-hover: darken($table-head-background, $table-hover-scale);\n$table-foot-background: smart-scale($table-background, $table-color-scale);\n$table-foot-row-hover: darken($table-foot-background, $table-hover-scale);\n$table-head-font-color: $body-font-color;\n$table-foot-font-color: $body-font-color;\n$show-header-for-stacked: false;\n$table-stack-breakpoint: medium;\n\n// 51. Tabs\n// --------\n\n$tab-margin: 0;\n$tab-background: $white;\n$tab-color: $primary-color;\n$tab-background-active: $light-gray;\n$tab-active-color: $primary-color;\n$tab-item-font-size: rem-calc(12);\n$tab-item-background-hover: $white;\n$tab-item-padding: 1.25rem 1.5rem;\n$tab-expand-max: 6;\n$tab-content-background: $white;\n$tab-content-border: $light-gray;\n$tab-content-color: $body-font-color;\n$tab-content-padding: 1rem;\n\n// 52. Thumbnail\n// -------------\n\n$thumbnail-border: solid 4px $white;\n$thumbnail-margin-bottom: $global-margin;\n$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);\n$thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);\n$thumbnail-transition: box-shadow 200ms ease-out;\n$thumbnail-radius: $global-radius;\n\n// 53. Title Bar\n// -------------\n\n$titlebar-background: $black;\n$titlebar-color: $white;\n$titlebar-padding: 0.5rem;\n$titlebar-text-font-weight: bold;\n$titlebar-icon-color: $white;\n$titlebar-icon-color-hover: $medium-gray;\n$titlebar-icon-spacing: 0.25rem;\n\n// 54. Tooltip\n// -----------\n\n$has-tip-cursor: help;\n$has-tip-font-weight: $global-weight-bold;\n$has-tip-border-bottom: dotted 1px $dark-gray;\n$tooltip-background-color: $black;\n$tooltip-color: $white;\n$tooltip-padding: 0.75rem;\n$tooltip-max-width: 10rem;\n$tooltip-font-size: $small-font-size;\n$tooltip-pip-width: 0.75rem;\n$tooltip-pip-height: $tooltip-pip-width * 0.866;\n$tooltip-radius: $global-radius;\n\n// 55. Top Bar\n// -----------\n\n$topbar-padding: 0.5rem;\n$topbar-background: $light-gray;\n$topbar-submenu-background: $topbar-background;\n$topbar-title-spacing: 0.5rem 1rem 0.5rem 0;\n$topbar-input-width: 200px;\n$topbar-unstack-breakpoint: medium;\n\n// 56. Xy Grid\n// -----------\n\n$xy-grid: true;\n$grid-container: $global-width;\n$grid-columns: 12;\n$grid-margin-gutters: (\n small: 20px,\n medium: 30px,\n);\n$grid-padding-gutters: $grid-margin-gutters;\n$grid-container-padding: $grid-padding-gutters;\n$grid-container-max: $global-width;\n$xy-block-grid-max: 8;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},"./node_modules/timing-functions/dist/timing-functions.es.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Gt:function(){return frame$1},_:function(){return schedule$1},yy:function(){return sleep}});var _sleep=function(time){return new Promise((function(resolve){return setTimeout((function(){return resolve()}),time)}))},env="node";"undefined"!=typeof importScripts?env="worker":"undefined"!=typeof window&&(env="browser");var env$1=env,frame=function(){return _sleep(0)};"browser"===env$1&&"requestAnimationFrame"in window&&(frame=function(){return new Promise((function(resolve){return window.requestAnimationFrame((function(){return resolve()}))}))});var schedule,_frame=frame;if("browser"===env$1&&"requestIdleCallback"in window)schedule=function(maxTimeout){return new Promise((function(resolve){return window.requestIdleCallback(resolve,{timeout:maxTimeout})}))};else{var idleDeadline_1=Object.freeze({didTimeout:!0,timeRemaining:function(){return 1/0}});if(schedule=function(maxTimeout){return _sleep((maxTimeout||0)/2).then((function(){return idleDeadline_1}))},"browser"===env$1&&"requestAnimationFrame"in window){var _schedule_1=schedule;schedule=function(){return _schedule_1().then(_frame).then((function(){return idleDeadline_1}))}}}var sleep=_sleep,frame$1=_frame,schedule$1=schedule}}]); -//# sourceMappingURL=8119.40b7982c.iframe.bundle.js.map \ No newline at end of file +//# sourceMappingURL=8119.351fd14d.iframe.bundle.js.map \ No newline at end of file diff --git a/8119.351fd14d.iframe.bundle.js.br b/8119.351fd14d.iframe.bundle.js.br new file mode 100644 index 00000000..3f663813 Binary files /dev/null and b/8119.351fd14d.iframe.bundle.js.br differ diff --git a/8119.351fd14d.iframe.bundle.js.gz b/8119.351fd14d.iframe.bundle.js.gz new file mode 100644 index 00000000..3bc81716 Binary files /dev/null and b/8119.351fd14d.iframe.bundle.js.gz differ diff --git a/1299.1803f607.iframe.bundle.js.map b/8119.351fd14d.iframe.bundle.js.map similarity index 97% rename from 1299.1803f607.iframe.bundle.js.map rename to 8119.351fd14d.iframe.bundle.js.map index b966db86..ab08bf4e 100644 --- a/1299.1803f607.iframe.bundle.js.map +++ b/8119.351fd14d.iframe.bundle.js.map @@ -1 +1 @@ -{"version":3,"file":"1299.1803f607.iframe.bundle.js","mappings":";AAUA;AACA;;;;;AAOA;;AAEA","sources":["webpack://franklin-sites/./node_modules/@storybook/addon-actions/node_modules/@storybook/core-events/dist/errors/preview-errors.mjs"],"sourcesContent":["import { StorybookError } from '../chunk-3FIG6PJN.mjs';\nimport dedent from 'ts-dedent';\n\nvar Category=(Category2=>(Category2.PREVIEW_CLIENT_LOGGER=\"PREVIEW_CLIENT-LOGGER\",Category2.PREVIEW_CHANNELS=\"PREVIEW_CHANNELS\",Category2.PREVIEW_CORE_EVENTS=\"PREVIEW_CORE-EVENTS\",Category2.PREVIEW_INSTRUMENTER=\"PREVIEW_INSTRUMENTER\",Category2.PREVIEW_API=\"PREVIEW_API\",Category2.PREVIEW_REACT_DOM_SHIM=\"PREVIEW_REACT-DOM-SHIM\",Category2.PREVIEW_ROUTER=\"PREVIEW_ROUTER\",Category2.PREVIEW_THEMING=\"PREVIEW_THEMING\",Category2.RENDERER_HTML=\"RENDERER_HTML\",Category2.RENDERER_PREACT=\"RENDERER_PREACT\",Category2.RENDERER_REACT=\"RENDERER_REACT\",Category2.RENDERER_SERVER=\"RENDERER_SERVER\",Category2.RENDERER_SVELTE=\"RENDERER_SVELTE\",Category2.RENDERER_VUE=\"RENDERER_VUE\",Category2.RENDERER_VUE3=\"RENDERER_VUE3\",Category2.RENDERER_WEB_COMPONENTS=\"RENDERER_WEB-COMPONENTS\",Category2))(Category||{}),MissingStoryAfterHmrError=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=1;}template(){return dedent`\n Couldn't find story matching id '${this.data.storyId}' after HMR.\n - Did you just rename a story?\n - Did you remove it from your CSF file?\n - Are you sure a story with the id '${this.data.storyId}' exists?\n - Please check the values in the stories field of your main.js config and see if they would match your CSF File.\n - Also check the browser console and terminal for potential error messages.`}},ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=2;this.documentation=\"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function\";}template(){return dedent`\n We detected that you use an implicit action arg during ${this.data.phase} of your story. \n ${this.data.deprecated?`\nThis is deprecated and won't work in Storybook 8 anymore.\n`:\"\"}\n Please provide an explicit spy to your args like this:\n import { fn } from '@storybook/test';\n ... \n args: {\n ${this.data.name}: fn()\n }\n `}};\n\nexport { Category, ImplicitActionsDuringRendering, MissingStoryAfterHmrError };\n"],"names":[],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"8119.351fd14d.iframe.bundle.js","mappings":";AAUA;AACA;;;;;AAOA;;AAEA","sources":["webpack://franklin-sites/./node_modules/@storybook/addon-actions/node_modules/@storybook/core-events/dist/errors/preview-errors.mjs"],"sourcesContent":["import { StorybookError } from '../chunk-3FIG6PJN.mjs';\nimport dedent from 'ts-dedent';\n\nvar Category=(Category2=>(Category2.PREVIEW_CLIENT_LOGGER=\"PREVIEW_CLIENT-LOGGER\",Category2.PREVIEW_CHANNELS=\"PREVIEW_CHANNELS\",Category2.PREVIEW_CORE_EVENTS=\"PREVIEW_CORE-EVENTS\",Category2.PREVIEW_INSTRUMENTER=\"PREVIEW_INSTRUMENTER\",Category2.PREVIEW_API=\"PREVIEW_API\",Category2.PREVIEW_REACT_DOM_SHIM=\"PREVIEW_REACT-DOM-SHIM\",Category2.PREVIEW_ROUTER=\"PREVIEW_ROUTER\",Category2.PREVIEW_THEMING=\"PREVIEW_THEMING\",Category2.RENDERER_HTML=\"RENDERER_HTML\",Category2.RENDERER_PREACT=\"RENDERER_PREACT\",Category2.RENDERER_REACT=\"RENDERER_REACT\",Category2.RENDERER_SERVER=\"RENDERER_SERVER\",Category2.RENDERER_SVELTE=\"RENDERER_SVELTE\",Category2.RENDERER_VUE=\"RENDERER_VUE\",Category2.RENDERER_VUE3=\"RENDERER_VUE3\",Category2.RENDERER_WEB_COMPONENTS=\"RENDERER_WEB-COMPONENTS\",Category2))(Category||{}),MissingStoryAfterHmrError=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=1;}template(){return dedent`\n Couldn't find story matching id '${this.data.storyId}' after HMR.\n - Did you just rename a story?\n - Did you remove it from your CSF file?\n - Are you sure a story with the id '${this.data.storyId}' exists?\n - Please check the values in the stories field of your main.js config and see if they would match your CSF File.\n - Also check the browser console and terminal for potential error messages.`}},ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=2;this.documentation=\"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function\";}template(){return dedent`\n We detected that you use an implicit action arg during ${this.data.phase} of your story. \n ${this.data.deprecated?`\nThis is deprecated and won't work in Storybook 8 anymore.\n`:\"\"}\n Please provide an explicit spy to your args like this:\n import { fn } from '@storybook/test';\n ... \n args: {\n ${this.data.name}: fn()\n }\n `}};\n\nexport { Category, ImplicitActionsDuringRendering, MissingStoryAfterHmrError };\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/8119.351fd14d.iframe.bundle.js.map.br b/8119.351fd14d.iframe.bundle.js.map.br new file mode 100644 index 00000000..aa16dd61 Binary files /dev/null and b/8119.351fd14d.iframe.bundle.js.map.br differ diff --git a/8119.351fd14d.iframe.bundle.js.map.gz b/8119.351fd14d.iframe.bundle.js.map.gz new file mode 100644 index 00000000..3b2a53cc Binary files /dev/null and b/8119.351fd14d.iframe.bundle.js.map.gz differ diff --git a/8119.40b7982c.iframe.bundle.js.br b/8119.40b7982c.iframe.bundle.js.br deleted file mode 100644 index 5b3cd9c6..00000000 Binary files a/8119.40b7982c.iframe.bundle.js.br and /dev/null differ diff --git a/8119.40b7982c.iframe.bundle.js.gz b/8119.40b7982c.iframe.bundle.js.gz deleted file mode 100644 index 46cde637..00000000 Binary files a/8119.40b7982c.iframe.bundle.js.gz and /dev/null differ diff --git a/8119.40b7982c.iframe.bundle.js.map.br b/8119.40b7982c.iframe.bundle.js.map.br deleted file mode 100644 index 3b43b0ea..00000000 Binary files a/8119.40b7982c.iframe.bundle.js.map.br and /dev/null differ diff --git a/8119.40b7982c.iframe.bundle.js.map.gz b/8119.40b7982c.iframe.bundle.js.map.gz deleted file mode 100644 index cf213094..00000000 Binary files a/8119.40b7982c.iframe.bundle.js.map.gz and /dev/null differ diff --git a/9115.71804619.iframe.bundle.js b/8850.5e57469a.iframe.bundle.js similarity index 85% rename from 9115.71804619.iframe.bundle.js rename to 8850.5e57469a.iframe.bundle.js index f1af9171..c53fdf55 100644 --- a/9115.71804619.iframe.bundle.js +++ b/8850.5e57469a.iframe.bundle.js @@ -1,5 +1,5 @@ -/*! For license information please see 9115.71804619.iframe.bundle.js.LICENSE.txt */ -(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[9115],{"./node_modules/@storybook/addon-actions/dist/index.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{XI:function(){return action}});var Category2,v4=__webpack_require__("./node_modules/uuid/dist/esm-browser/v4.js"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),StorybookError=class extends Error{constructor(){super(...arguments),this.data={},this.documentation=!1,this.fromStorybook=!0}get fullErrorCode(){let paddedCode=String(this.code).padStart(4,"0");return`SB_${this.category}_${paddedCode}`}get name(){let errorName=this.constructor.name;return`${this.fullErrorCode} (${errorName})`}get message(){let page;return!0===this.documentation?page=`https://storybook.js.org/error/${this.fullErrorCode}`:"string"==typeof this.documentation?page=this.documentation:Array.isArray(this.documentation)&&(page=`\n${this.documentation.map((doc=>`\t- ${doc}`)).join("\n")}`),`${this.template()}${null!=page?`\n\nMore info: ${page}\n`:""}`}},esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),Category=((Category2=Category||{}).PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",Category2.PREVIEW_CHANNELS="PREVIEW_CHANNELS",Category2.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",Category2.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",Category2.PREVIEW_API="PREVIEW_API",Category2.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",Category2.PREVIEW_ROUTER="PREVIEW_ROUTER",Category2.PREVIEW_THEMING="PREVIEW_THEMING",Category2.RENDERER_HTML="RENDERER_HTML",Category2.RENDERER_PREACT="RENDERER_PREACT",Category2.RENDERER_REACT="RENDERER_REACT",Category2.RENDERER_SERVER="RENDERER_SERVER",Category2.RENDERER_SVELTE="RENDERER_SVELTE",Category2.RENDERER_VUE="RENDERER_VUE",Category2.RENDERER_VUE3="RENDERER_VUE3",Category2.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",Category2),ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super(),this.data=data,this.category="PREVIEW_API",this.code=2,this.documentation="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function"}template(){return esm.A` +/*! For license information please see 8850.5e57469a.iframe.bundle.js.LICENSE.txt */ +(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[8850],{"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:i+""}function _defineProperty(obj,key,value){return(key=toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.d(__webpack_exports__,{A:function(){return _defineProperty}})},"./node_modules/@storybook/addon-actions/dist/index.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{XI:function(){return action}});var Category2,v4=__webpack_require__("./node_modules/uuid/dist/esm-browser/v4.js"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),StorybookError=class extends Error{constructor(){super(...arguments),this.data={},this.documentation=!1,this.fromStorybook=!0}get fullErrorCode(){let paddedCode=String(this.code).padStart(4,"0");return`SB_${this.category}_${paddedCode}`}get name(){let errorName=this.constructor.name;return`${this.fullErrorCode} (${errorName})`}get message(){let page;return!0===this.documentation?page=`https://storybook.js.org/error/${this.fullErrorCode}`:"string"==typeof this.documentation?page=this.documentation:Array.isArray(this.documentation)&&(page=`\n${this.documentation.map((doc=>`\t- ${doc}`)).join("\n")}`),`${this.template()}${null!=page?`\n\nMore info: ${page}\n`:""}`}},esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),Category=((Category2=Category||{}).PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",Category2.PREVIEW_CHANNELS="PREVIEW_CHANNELS",Category2.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",Category2.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",Category2.PREVIEW_API="PREVIEW_API",Category2.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",Category2.PREVIEW_ROUTER="PREVIEW_ROUTER",Category2.PREVIEW_THEMING="PREVIEW_THEMING",Category2.RENDERER_HTML="RENDERER_HTML",Category2.RENDERER_PREACT="RENDERER_PREACT",Category2.RENDERER_REACT="RENDERER_REACT",Category2.RENDERER_SERVER="RENDERER_SERVER",Category2.RENDERER_SVELTE="RENDERER_SVELTE",Category2.RENDERER_VUE="RENDERER_VUE",Category2.RENDERER_VUE3="RENDERER_VUE3",Category2.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",Category2),ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super(),this.data=data,this.category="PREVIEW_API",this.code=2,this.documentation="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function"}template(){return esm.A` We detected that you use an implicit action arg during ${this.data.phase} of your story. ${this.data.deprecated?"\nThis is deprecated and won't work in Storybook 8 anymore.\n":""} Please provide an explicit spy to your args like this: @@ -9,4 +9,4 @@ ${this.data.name}: fn() } `}},ADDON_ID="storybook/actions",EVENT_ID=`${ADDON_ID}/action-event`,config={depth:10,clearOnStoryChange:!0,limit:50},findProto=(obj,callback)=>{let proto=Object.getPrototypeOf(obj);return!proto||callback(proto)?proto:findProto(proto,callback)},serializeArg=a=>{if("object"==typeof(e=a)&&e&&findProto(e,(proto=>/^Synthetic(?:Base)?Event$/.test(proto.constructor.name)))&&"function"==typeof e.persist){let e=Object.create(a.constructor.prototype,Object.getOwnPropertyDescriptors(a));e.persist();let viewDescriptor=Object.getOwnPropertyDescriptor(e,"view"),view=viewDescriptor?.value;return"object"==typeof view&&"Window"===view?.constructor.name&&Object.defineProperty(e,"view",{...viewDescriptor,value:Object.create(view.constructor.prototype)}),e}var e;return a},generateId=()=>"object"==typeof crypto&&"function"==typeof crypto.getRandomValues?(0,v4.A)():Date.now().toString(36)+Math.random().toString(36).substring(2);function action(name,options={}){let actionOptions={...config,...options},handler=function(...args){if(options.implicit){let storyRenderer=("__STORYBOOK_PREVIEW__"in external_STORYBOOK_MODULE_GLOBAL_.global?external_STORYBOOK_MODULE_GLOBAL_.global.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find((render=>"playing"===render.phase||"rendering"===render.phase));if(storyRenderer){let deprecated=!window?.FEATURES?.disallowImplicitActionsInRenderV8,error=new ImplicitActionsDuringRendering({phase:storyRenderer.phase,name:name,deprecated:deprecated});if(!deprecated)throw error;console.warn(error)}}let channel=external_STORYBOOK_MODULE_PREVIEW_API_.addons.getChannel(),id=generateId(),serializedArgs=args.map(serializeArg),normalizedArgs=args.length>1?serializedArgs:serializedArgs[0],actionDisplayToEmit={id:id,count:0,data:{name:name,args:normalizedArgs},options:{...actionOptions,maxDepth:5+(actionOptions.depth||3),allowFunction:actionOptions.allowFunction||!1}};channel.emit(EVENT_ID,actionDisplayToEmit)};return handler.isAction=!0,handler}},"./node_modules/classnames/index.js":function(module,exports){var __WEBPACK_AMD_DEFINE_RESULT__;!function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes="",i=0;i0&&(!re.multiline||re.multiline&&"\n"!==charAt(str,re.lastIndex-1))&&(source="(?: "+source+")",strCopy=" "+strCopy,charsAdded++),reCopy=new RegExp("^(?:"+source+")",flags)),NPCG_INCLUDED&&(reCopy=new RegExp("^"+source+"$(?!\\s)",flags)),UPDATES_LAST_INDEX_WRONG&&(lastIndex=re.lastIndex),match=call(nativeExec,sticky?reCopy:re,strCopy),sticky?match?(match.input=stringSlice(match.input,charsAdded),match[0]=stringSlice(match[0],charsAdded),match.index=re.lastIndex,re.lastIndex+=match[0].length):re.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&match&&(re.lastIndex=re.global?match.index+match[0].length:lastIndex),NPCG_INCLUDED&&match&&match.length>1&&call(nativeReplace,match[0],reCopy,(function(){for(i=1;ib)","g");return"b"!==re.exec("b").groups.a||"bc"!=="b".replace(re,"$c")}))},"./node_modules/core-js/internals/string-multibyte.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),toIntegerOrInfinity=__webpack_require__("./node_modules/core-js/internals/to-integer-or-infinity.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),charAt=uncurryThis("".charAt),charCodeAt=uncurryThis("".charCodeAt),stringSlice=uncurryThis("".slice),createMethod=function(CONVERT_TO_STRING){return function($this,pos){var first,second,S=toString(requireObjectCoercible($this)),position=toIntegerOrInfinity(pos),size=S.length;return position<0||position>=size?CONVERT_TO_STRING?"":void 0:(first=charCodeAt(S,position))<55296||first>56319||position+1===size||(second=charCodeAt(S,position+1))<56320||second>57343?CONVERT_TO_STRING?charAt(S,position):first:CONVERT_TO_STRING?stringSlice(S,position,position+2):second-56320+(first-55296<<10)+65536}};module.exports={codeAt:createMethod(!1),charAt:createMethod(!0)}},"./node_modules/core-js/internals/to-string.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),$String=String;module.exports=function(argument){if("Symbol"===classof(argument))throw new TypeError("Cannot convert a Symbol value to a string");return $String(argument)}},"./node_modules/core-js/modules/es.array.includes.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),$includes=__webpack_require__("./node_modules/core-js/internals/array-includes.js").includes,fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),addToUnscopables=__webpack_require__("./node_modules/core-js/internals/add-to-unscopables.js");$({target:"Array",proto:!0,forced:fails((function(){return!Array(1).includes()}))},{includes:function includes(el){return $includes(this,el,arguments.length>1?arguments[1]:void 0)}}),addToUnscopables("includes")},"./node_modules/core-js/modules/es.object.from-entries.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),iterate=__webpack_require__("./node_modules/core-js/internals/iterate.js"),createProperty=__webpack_require__("./node_modules/core-js/internals/create-property.js");$({target:"Object",stat:!0},{fromEntries:function fromEntries(iterable){var obj={};return iterate(iterable,(function(k,v){createProperty(obj,k,v)}),{AS_ENTRIES:!0}),obj}})},"./node_modules/core-js/modules/es.regexp.exec.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),exec=__webpack_require__("./node_modules/core-js/internals/regexp-exec.js");$({target:"RegExp",proto:!0,forced:/./.exec!==exec},{exec:exec})},"./node_modules/core-js/modules/es.string.includes.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),notARegExp=__webpack_require__("./node_modules/core-js/internals/not-a-regexp.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),correctIsRegExpLogic=__webpack_require__("./node_modules/core-js/internals/correct-is-regexp-logic.js"),stringIndexOf=uncurryThis("".indexOf);$({target:"String",proto:!0,forced:!correctIsRegExpLogic("includes")},{includes:function includes(searchString){return!!~stringIndexOf(toString(requireObjectCoercible(this)),toString(notARegExp(searchString)),arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.string.match.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),fixRegExpWellKnownSymbolLogic=__webpack_require__("./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),isNullOrUndefined=__webpack_require__("./node_modules/core-js/internals/is-null-or-undefined.js"),toLength=__webpack_require__("./node_modules/core-js/internals/to-length.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js"),advanceStringIndex=__webpack_require__("./node_modules/core-js/internals/advance-string-index.js"),regExpExec=__webpack_require__("./node_modules/core-js/internals/regexp-exec-abstract.js");fixRegExpWellKnownSymbolLogic("match",(function(MATCH,nativeMatch,maybeCallNative){return[function match(regexp){var O=requireObjectCoercible(this),matcher=isNullOrUndefined(regexp)?void 0:getMethod(regexp,MATCH);return matcher?call(matcher,regexp,O):new RegExp(regexp)[MATCH](toString(O))},function(string){var rx=anObject(this),S=toString(string),res=maybeCallNative(nativeMatch,rx,S);if(res.done)return res.value;if(!rx.global)return regExpExec(rx,S);var fullUnicode=rx.unicode;rx.lastIndex=0;for(var result,A=[],n=0;null!==(result=regExpExec(rx,S));){var matchStr=toString(result[0]);A[n]=matchStr,""===matchStr&&(rx.lastIndex=advanceStringIndex(S,toLength(rx.lastIndex),fullUnicode)),n++}return 0===n?null:A}]}))},"./node_modules/timing-functions/dist/timing-functions.es.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Gt:function(){return frame$1},_:function(){return schedule$1},yy:function(){return sleep}});var _sleep=function(time){return new Promise((function(resolve){return setTimeout((function(){return resolve()}),time)}))},env="node";"undefined"!=typeof importScripts?env="worker":"undefined"!=typeof window&&(env="browser");var env$1=env,frame=function(){return _sleep(0)};"browser"===env$1&&"requestAnimationFrame"in window&&(frame=function(){return new Promise((function(resolve){return window.requestAnimationFrame((function(){return resolve()}))}))});var schedule,_frame=frame;if("browser"===env$1&&"requestIdleCallback"in window)schedule=function(maxTimeout){return new Promise((function(resolve){return window.requestIdleCallback(resolve,{timeout:maxTimeout})}))};else{var idleDeadline_1=Object.freeze({didTimeout:!0,timeRemaining:function(){return 1/0}});if(schedule=function(maxTimeout){return _sleep((maxTimeout||0)/2).then((function(){return idleDeadline_1}))},"browser"===env$1&&"requestAnimationFrame"in window){var _schedule_1=schedule;schedule=function(){return _schedule_1().then(_frame).then((function(){return idleDeadline_1}))}}}var sleep=_sleep,frame$1=_frame,schedule$1=schedule}}]); -//# sourceMappingURL=9115.71804619.iframe.bundle.js.map \ No newline at end of file +//# sourceMappingURL=8850.5e57469a.iframe.bundle.js.map \ No newline at end of file diff --git a/9115.71804619.iframe.bundle.js.LICENSE.txt b/8850.5e57469a.iframe.bundle.js.LICENSE.txt similarity index 100% rename from 9115.71804619.iframe.bundle.js.LICENSE.txt rename to 8850.5e57469a.iframe.bundle.js.LICENSE.txt diff --git a/9115.71804619.iframe.bundle.js.LICENSE.txt.br b/8850.5e57469a.iframe.bundle.js.LICENSE.txt.br similarity index 100% rename from 9115.71804619.iframe.bundle.js.LICENSE.txt.br rename to 8850.5e57469a.iframe.bundle.js.LICENSE.txt.br diff --git a/8850.5e57469a.iframe.bundle.js.br b/8850.5e57469a.iframe.bundle.js.br new file mode 100644 index 00000000..9315bb5e Binary files /dev/null and b/8850.5e57469a.iframe.bundle.js.br differ diff --git a/8850.5e57469a.iframe.bundle.js.gz b/8850.5e57469a.iframe.bundle.js.gz new file mode 100644 index 00000000..66629136 Binary files /dev/null and b/8850.5e57469a.iframe.bundle.js.gz differ diff --git a/9115.71804619.iframe.bundle.js.map b/8850.5e57469a.iframe.bundle.js.map similarity index 97% rename from 9115.71804619.iframe.bundle.js.map rename to 8850.5e57469a.iframe.bundle.js.map index d519a264..98f521a0 100644 --- a/9115.71804619.iframe.bundle.js.map +++ b/8850.5e57469a.iframe.bundle.js.map @@ -1 +1 @@ -{"version":3,"file":"9115.71804619.iframe.bundle.js","mappings":";;AAUA;AACA;;;;;AAOA;;AAEA","sources":["webpack://franklin-sites/./node_modules/@storybook/addon-actions/node_modules/@storybook/core-events/dist/errors/preview-errors.mjs"],"sourcesContent":["import { StorybookError } from '../chunk-3FIG6PJN.mjs';\nimport dedent from 'ts-dedent';\n\nvar Category=(Category2=>(Category2.PREVIEW_CLIENT_LOGGER=\"PREVIEW_CLIENT-LOGGER\",Category2.PREVIEW_CHANNELS=\"PREVIEW_CHANNELS\",Category2.PREVIEW_CORE_EVENTS=\"PREVIEW_CORE-EVENTS\",Category2.PREVIEW_INSTRUMENTER=\"PREVIEW_INSTRUMENTER\",Category2.PREVIEW_API=\"PREVIEW_API\",Category2.PREVIEW_REACT_DOM_SHIM=\"PREVIEW_REACT-DOM-SHIM\",Category2.PREVIEW_ROUTER=\"PREVIEW_ROUTER\",Category2.PREVIEW_THEMING=\"PREVIEW_THEMING\",Category2.RENDERER_HTML=\"RENDERER_HTML\",Category2.RENDERER_PREACT=\"RENDERER_PREACT\",Category2.RENDERER_REACT=\"RENDERER_REACT\",Category2.RENDERER_SERVER=\"RENDERER_SERVER\",Category2.RENDERER_SVELTE=\"RENDERER_SVELTE\",Category2.RENDERER_VUE=\"RENDERER_VUE\",Category2.RENDERER_VUE3=\"RENDERER_VUE3\",Category2.RENDERER_WEB_COMPONENTS=\"RENDERER_WEB-COMPONENTS\",Category2))(Category||{}),MissingStoryAfterHmrError=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=1;}template(){return dedent`\n Couldn't find story matching id '${this.data.storyId}' after HMR.\n - Did you just rename a story?\n - Did you remove it from your CSF file?\n - Are you sure a story with the id '${this.data.storyId}' exists?\n - Please check the values in the stories field of your main.js config and see if they would match your CSF File.\n - Also check the browser console and terminal for potential error messages.`}},ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=2;this.documentation=\"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function\";}template(){return dedent`\n We detected that you use an implicit action arg during ${this.data.phase} of your story. \n ${this.data.deprecated?`\nThis is deprecated and won't work in Storybook 8 anymore.\n`:\"\"}\n Please provide an explicit spy to your args like this:\n import { fn } from '@storybook/test';\n ... \n args: {\n ${this.data.name}: fn()\n }\n `}};\n\nexport { Category, ImplicitActionsDuringRendering, MissingStoryAfterHmrError };\n"],"names":[],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"8850.5e57469a.iframe.bundle.js","mappings":";;AAUA;AACA;;;;;AAOA;;AAEA","sources":["webpack://franklin-sites/./node_modules/@storybook/addon-actions/node_modules/@storybook/core-events/dist/errors/preview-errors.mjs"],"sourcesContent":["import { StorybookError } from '../chunk-3FIG6PJN.mjs';\nimport dedent from 'ts-dedent';\n\nvar Category=(Category2=>(Category2.PREVIEW_CLIENT_LOGGER=\"PREVIEW_CLIENT-LOGGER\",Category2.PREVIEW_CHANNELS=\"PREVIEW_CHANNELS\",Category2.PREVIEW_CORE_EVENTS=\"PREVIEW_CORE-EVENTS\",Category2.PREVIEW_INSTRUMENTER=\"PREVIEW_INSTRUMENTER\",Category2.PREVIEW_API=\"PREVIEW_API\",Category2.PREVIEW_REACT_DOM_SHIM=\"PREVIEW_REACT-DOM-SHIM\",Category2.PREVIEW_ROUTER=\"PREVIEW_ROUTER\",Category2.PREVIEW_THEMING=\"PREVIEW_THEMING\",Category2.RENDERER_HTML=\"RENDERER_HTML\",Category2.RENDERER_PREACT=\"RENDERER_PREACT\",Category2.RENDERER_REACT=\"RENDERER_REACT\",Category2.RENDERER_SERVER=\"RENDERER_SERVER\",Category2.RENDERER_SVELTE=\"RENDERER_SVELTE\",Category2.RENDERER_VUE=\"RENDERER_VUE\",Category2.RENDERER_VUE3=\"RENDERER_VUE3\",Category2.RENDERER_WEB_COMPONENTS=\"RENDERER_WEB-COMPONENTS\",Category2))(Category||{}),MissingStoryAfterHmrError=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=1;}template(){return dedent`\n Couldn't find story matching id '${this.data.storyId}' after HMR.\n - Did you just rename a story?\n - Did you remove it from your CSF file?\n - Are you sure a story with the id '${this.data.storyId}' exists?\n - Please check the values in the stories field of your main.js config and see if they would match your CSF File.\n - Also check the browser console and terminal for potential error messages.`}},ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=2;this.documentation=\"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function\";}template(){return dedent`\n We detected that you use an implicit action arg during ${this.data.phase} of your story. \n ${this.data.deprecated?`\nThis is deprecated and won't work in Storybook 8 anymore.\n`:\"\"}\n Please provide an explicit spy to your args like this:\n import { fn } from '@storybook/test';\n ... \n args: {\n ${this.data.name}: fn()\n }\n `}};\n\nexport { Category, ImplicitActionsDuringRendering, MissingStoryAfterHmrError };\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/8850.5e57469a.iframe.bundle.js.map.br b/8850.5e57469a.iframe.bundle.js.map.br new file mode 100644 index 00000000..2e28c280 Binary files /dev/null and b/8850.5e57469a.iframe.bundle.js.map.br differ diff --git a/8850.5e57469a.iframe.bundle.js.map.gz b/8850.5e57469a.iframe.bundle.js.map.gz new file mode 100644 index 00000000..68fdd677 Binary files /dev/null and b/8850.5e57469a.iframe.bundle.js.map.gz differ diff --git a/9115.71804619.iframe.bundle.js.br b/9115.71804619.iframe.bundle.js.br deleted file mode 100644 index 3e33b483..00000000 Binary files a/9115.71804619.iframe.bundle.js.br and /dev/null differ diff --git a/9115.71804619.iframe.bundle.js.gz b/9115.71804619.iframe.bundle.js.gz deleted file mode 100644 index 72f9d13a..00000000 Binary files a/9115.71804619.iframe.bundle.js.gz and /dev/null differ diff --git a/9115.71804619.iframe.bundle.js.map.br b/9115.71804619.iframe.bundle.js.map.br deleted file mode 100644 index 4b90ce64..00000000 Binary files a/9115.71804619.iframe.bundle.js.map.br and /dev/null differ diff --git a/9115.71804619.iframe.bundle.js.map.gz b/9115.71804619.iframe.bundle.js.map.gz deleted file mode 100644 index 6b6bf7ed..00000000 Binary files a/9115.71804619.iframe.bundle.js.map.gz and /dev/null differ diff --git a/9193.38c0fa53.iframe.bundle.js b/9193.38c0fa53.iframe.bundle.js new file mode 100644 index 00000000..a857cb05 --- /dev/null +++ b/9193.38c0fa53.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[9193],{"./node_modules/core-js/internals/a-constructor.js":function(module,__unused_webpack_exports,__webpack_require__){var isConstructor=__webpack_require__("./node_modules/core-js/internals/is-constructor.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),$TypeError=TypeError;module.exports=function(argument){if(isConstructor(argument))return argument;throw new $TypeError(tryToString(argument)+" is not a constructor")}},"./node_modules/core-js/internals/an-instance.js":function(module,__unused_webpack_exports,__webpack_require__){var isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),$TypeError=TypeError;module.exports=function(it,Prototype){if(isPrototypeOf(Prototype,it))return it;throw new $TypeError("Incorrect invocation")}},"./node_modules/core-js/internals/array-slice.js":function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=uncurryThis([].slice)},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(module,__unused_webpack_exports,__webpack_require__){var ITERATOR=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR]=function(){return this},Array.from(iteratorWithReturn,(function(){throw 2}))}catch(error){}module.exports=function(exec,SKIP_CLOSING){try{if(!SKIP_CLOSING&&!SAFE_CLOSING)return!1}catch(error){return!1}var ITERATION_SUPPORT=!1;try{var object={};object[ITERATOR]=function(){return{next:function(){return{done:ITERATION_SUPPORT=!0}}}},exec(object)}catch(error){}return ITERATION_SUPPORT}},"./node_modules/core-js/internals/classof.js":function(module,__unused_webpack_exports,__webpack_require__){var TO_STRING_TAG_SUPPORT=__webpack_require__("./node_modules/core-js/internals/to-string-tag-support.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),TO_STRING_TAG=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),$Object=Object,CORRECT_ARGUMENTS="Arguments"===classofRaw(function(){return arguments}());module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(tag=function(it,key){try{return it[key]}catch(error){}}(O=$Object(it),TO_STRING_TAG))?tag:CORRECT_ARGUMENTS?classofRaw(O):"Object"===(result=classofRaw(O))&&isCallable(O.callee)?"Arguments":result}},"./node_modules/core-js/internals/define-built-in-accessor.js":function(module,__unused_webpack_exports,__webpack_require__){var makeBuiltIn=__webpack_require__("./node_modules/core-js/internals/make-built-in.js"),defineProperty=__webpack_require__("./node_modules/core-js/internals/object-define-property.js");module.exports=function(target,name,descriptor){return descriptor.get&&makeBuiltIn(descriptor.get,name,{getter:!0}),descriptor.set&&makeBuiltIn(descriptor.set,name,{setter:!0}),defineProperty.f(target,name,descriptor)}},"./node_modules/core-js/internals/engine-is-browser.js":function(module,__unused_webpack_exports,__webpack_require__){var IS_DENO=__webpack_require__("./node_modules/core-js/internals/engine-is-deno.js"),IS_NODE=__webpack_require__("./node_modules/core-js/internals/engine-is-node.js");module.exports=!IS_DENO&&!IS_NODE&&"object"==typeof window&&"object"==typeof document},"./node_modules/core-js/internals/engine-is-deno.js":function(module){module.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},"./node_modules/core-js/internals/engine-is-ios-pebble.js":function(module,__unused_webpack_exports,__webpack_require__){var userAgent=__webpack_require__("./node_modules/core-js/internals/engine-user-agent.js");module.exports=/ipad|iphone|ipod/i.test(userAgent)&&"undefined"!=typeof Pebble},"./node_modules/core-js/internals/engine-is-ios.js":function(module,__unused_webpack_exports,__webpack_require__){var userAgent=__webpack_require__("./node_modules/core-js/internals/engine-user-agent.js");module.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent)},"./node_modules/core-js/internals/engine-is-node.js":function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__("./node_modules/core-js/internals/global.js"),classof=__webpack_require__("./node_modules/core-js/internals/classof-raw.js");module.exports="process"===classof(global.process)},"./node_modules/core-js/internals/engine-is-webos-webkit.js":function(module,__unused_webpack_exports,__webpack_require__){var userAgent=__webpack_require__("./node_modules/core-js/internals/engine-user-agent.js");module.exports=/web0s(?!.*chrome)/i.test(userAgent)},"./node_modules/core-js/internals/function-apply.js":function(module,__unused_webpack_exports,__webpack_require__){var NATIVE_BIND=__webpack_require__("./node_modules/core-js/internals/function-bind-native.js"),FunctionPrototype=Function.prototype,apply=FunctionPrototype.apply,call=FunctionPrototype.call;module.exports="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND?call.bind(apply):function(){return call.apply(apply,arguments)})},"./node_modules/core-js/internals/function-bind-context.js":function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this-clause.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),NATIVE_BIND=__webpack_require__("./node_modules/core-js/internals/function-bind-native.js"),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),void 0===that?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}},"./node_modules/core-js/internals/function-uncurry-this-clause.js":function(module,__unused_webpack_exports,__webpack_require__){var classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=function(fn){if("Function"===classofRaw(fn))return uncurryThis(fn)}},"./node_modules/core-js/internals/get-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){var classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js"),isNullOrUndefined=__webpack_require__("./node_modules/core-js/internals/is-null-or-undefined.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}},"./node_modules/core-js/internals/get-iterator.js":function(module,__unused_webpack_exports,__webpack_require__){var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}},"./node_modules/core-js/internals/host-report-errors.js":function(module){module.exports=function(a,b){try{1===arguments.length?console.error(a):console.error(a,b)}catch(error){}}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){var wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}},"./node_modules/core-js/internals/is-constructor.js":function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),getBuiltIn=__webpack_require__("./node_modules/core-js/internals/get-built-in.js"),inspectSource=__webpack_require__("./node_modules/core-js/internals/inspect-source.js"),noop=function(){},construct=getBuiltIn("Reflect","construct"),constructorRegExp=/^\s*(?:class|function)\b/,exec=uncurryThis(constructorRegExp.exec),INCORRECT_TO_STRING=!constructorRegExp.test(noop),isConstructorModern=function isConstructor(argument){if(!isCallable(argument))return!1;try{return construct(noop,[],argument),!0}catch(error){return!1}},isConstructorLegacy=function isConstructor(argument){if(!isCallable(argument))return!1;switch(classof(argument)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return INCORRECT_TO_STRING||!!exec(constructorRegExp,inspectSource(argument))}catch(error){return!0}};isConstructorLegacy.sham=!0,module.exports=!construct||fails((function(){var called;return isConstructorModern(isConstructorModern.call)||!isConstructorModern(Object)||!isConstructorModern((function(){called=!0}))||called}))?isConstructorLegacy:isConstructorModern},"./node_modules/core-js/internals/iterate.js":function(module,__unused_webpack_exports,__webpack_require__){var bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),isArrayIteratorMethod=__webpack_require__("./node_modules/core-js/internals/is-array-iterator-method.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),getIterator=__webpack_require__("./node_modules/core-js/internals/get-iterator.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),iteratorClose=__webpack_require__("./node_modules/core-js/internals/iterator-close.js"),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var iterator,iterFn,index,length,result,next,step,that=options&&options.that,AS_ENTRIES=!(!options||!options.AS_ENTRIES),IS_RECORD=!(!options||!options.IS_RECORD),IS_ITERATOR=!(!options||!options.IS_ITERATOR),INTERRUPTED=!(!options||!options.INTERRUPTED),fn=bind(unboundFunction,that),stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(!(iterFn=getIteratorMethod(iterable)))throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if((result=callFn(iterable[index]))&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if("object"==typeof result&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}},"./node_modules/core-js/internals/iterator-close.js":function(module,__unused_webpack_exports,__webpack_require__){var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js");module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(!(innerResult=getMethod(iterator,"return"))){if("throw"===kind)throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if("throw"===kind)throw value;if(innerError)throw innerResult;return anObject(innerResult),value}},"./node_modules/core-js/internals/microtask.js":function(module,__unused_webpack_exports,__webpack_require__){var notify,toggle,node,promise,then,global=__webpack_require__("./node_modules/core-js/internals/global.js"),safeGetBuiltIn=__webpack_require__("./node_modules/core-js/internals/safe-get-built-in.js"),bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),macrotask=__webpack_require__("./node_modules/core-js/internals/task.js").set,Queue=__webpack_require__("./node_modules/core-js/internals/queue.js"),IS_IOS=__webpack_require__("./node_modules/core-js/internals/engine-is-ios.js"),IS_IOS_PEBBLE=__webpack_require__("./node_modules/core-js/internals/engine-is-ios-pebble.js"),IS_WEBOS_WEBKIT=__webpack_require__("./node_modules/core-js/internals/engine-is-webos-webkit.js"),IS_NODE=__webpack_require__("./node_modules/core-js/internals/engine-is-node.js"),MutationObserver=global.MutationObserver||global.WebKitMutationObserver,document=global.document,process=global.process,Promise=global.Promise,microtask=safeGetBuiltIn("queueMicrotask");if(!microtask){var queue=new Queue,flush=function(){var parent,fn;for(IS_NODE&&(parent=process.domain)&&parent.exit();fn=queue.get();)try{fn()}catch(error){throw queue.head&¬ify(),error}parent&&parent.enter()};IS_IOS||IS_NODE||IS_WEBOS_WEBKIT||!MutationObserver||!document?!IS_IOS_PEBBLE&&Promise&&Promise.resolve?((promise=Promise.resolve(void 0)).constructor=Promise,then=bind(promise.then,promise),notify=function(){then(flush)}):IS_NODE?notify=function(){process.nextTick(flush)}:(macrotask=bind(macrotask,global),notify=function(){macrotask(flush)}):(toggle=!0,node=document.createTextNode(""),new MutationObserver(flush).observe(node,{characterData:!0}),notify=function(){node.data=toggle=!toggle}),microtask=function(fn){queue.head||notify(),queue.add(fn)}}module.exports=microtask},"./node_modules/core-js/internals/new-promise-capability.js":function(module,__unused_webpack_exports,__webpack_require__){var aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),$TypeError=TypeError,PromiseCapability=function(C){var resolve,reject;this.promise=new C((function($$resolve,$$reject){if(void 0!==resolve||void 0!==reject)throw new $TypeError("Bad Promise constructor");resolve=$$resolve,reject=$$reject})),this.resolve=aCallable(resolve),this.reject=aCallable(reject)};module.exports.f=function(C){return new PromiseCapability(C)}},"./node_modules/core-js/internals/perform.js":function(module){module.exports=function(exec){try{return{error:!1,value:exec()}}catch(error){return{error:!0,value:error}}}},"./node_modules/core-js/internals/promise-constructor-detection.js":function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__("./node_modules/core-js/internals/global.js"),NativePromiseConstructor=__webpack_require__("./node_modules/core-js/internals/promise-native-constructor.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),isForced=__webpack_require__("./node_modules/core-js/internals/is-forced.js"),inspectSource=__webpack_require__("./node_modules/core-js/internals/inspect-source.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),IS_BROWSER=__webpack_require__("./node_modules/core-js/internals/engine-is-browser.js"),IS_DENO=__webpack_require__("./node_modules/core-js/internals/engine-is-deno.js"),IS_PURE=__webpack_require__("./node_modules/core-js/internals/is-pure.js"),V8_VERSION=__webpack_require__("./node_modules/core-js/internals/engine-v8-version.js"),NativePromisePrototype=NativePromiseConstructor&&NativePromiseConstructor.prototype,SPECIES=wellKnownSymbol("species"),SUBCLASSING=!1,NATIVE_PROMISE_REJECTION_EVENT=isCallable(global.PromiseRejectionEvent),FORCED_PROMISE_CONSTRUCTOR=isForced("Promise",(function(){var PROMISE_CONSTRUCTOR_SOURCE=inspectSource(NativePromiseConstructor),GLOBAL_CORE_JS_PROMISE=PROMISE_CONSTRUCTOR_SOURCE!==String(NativePromiseConstructor);if(!GLOBAL_CORE_JS_PROMISE&&66===V8_VERSION)return!0;if(IS_PURE&&(!NativePromisePrototype.catch||!NativePromisePrototype.finally))return!0;if(!V8_VERSION||V8_VERSION<51||!/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)){var promise=new NativePromiseConstructor((function(resolve){resolve(1)})),FakePromise=function(exec){exec((function(){}),(function(){}))};if((promise.constructor={})[SPECIES]=FakePromise,!(SUBCLASSING=promise.then((function(){}))instanceof FakePromise))return!0}return!GLOBAL_CORE_JS_PROMISE&&(IS_BROWSER||IS_DENO)&&!NATIVE_PROMISE_REJECTION_EVENT}));module.exports={CONSTRUCTOR:FORCED_PROMISE_CONSTRUCTOR,REJECTION_EVENT:NATIVE_PROMISE_REJECTION_EVENT,SUBCLASSING:SUBCLASSING}},"./node_modules/core-js/internals/promise-native-constructor.js":function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__("./node_modules/core-js/internals/global.js");module.exports=global.Promise},"./node_modules/core-js/internals/promise-resolve.js":function(module,__unused_webpack_exports,__webpack_require__){var anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),newPromiseCapability=__webpack_require__("./node_modules/core-js/internals/new-promise-capability.js");module.exports=function(C,x){if(anObject(C),isObject(x)&&x.constructor===C)return x;var promiseCapability=newPromiseCapability.f(C);return(0,promiseCapability.resolve)(x),promiseCapability.promise}},"./node_modules/core-js/internals/promise-statics-incorrect-iteration.js":function(module,__unused_webpack_exports,__webpack_require__){var NativePromiseConstructor=__webpack_require__("./node_modules/core-js/internals/promise-native-constructor.js"),checkCorrectnessOfIteration=__webpack_require__("./node_modules/core-js/internals/check-correctness-of-iteration.js"),FORCED_PROMISE_CONSTRUCTOR=__webpack_require__("./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR;module.exports=FORCED_PROMISE_CONSTRUCTOR||!checkCorrectnessOfIteration((function(iterable){NativePromiseConstructor.all(iterable).then(void 0,(function(){}))}))},"./node_modules/core-js/internals/queue.js":function(module){var Queue=function(){this.head=null,this.tail=null};Queue.prototype={add:function(item){var entry={item:item,next:null},tail=this.tail;tail?tail.next=entry:this.head=entry,this.tail=entry},get:function(){var entry=this.head;if(entry)return null===(this.head=entry.next)&&(this.tail=null),entry.item}},module.exports=Queue},"./node_modules/core-js/internals/safe-get-built-in.js":function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__("./node_modules/core-js/internals/global.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;module.exports=function(name){if(!DESCRIPTORS)return global[name];var descriptor=getOwnPropertyDescriptor(global,name);return descriptor&&descriptor.value}},"./node_modules/core-js/internals/set-species.js":function(module,__unused_webpack_exports,__webpack_require__){var getBuiltIn=__webpack_require__("./node_modules/core-js/internals/get-built-in.js"),defineBuiltInAccessor=__webpack_require__("./node_modules/core-js/internals/define-built-in-accessor.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),SPECIES=wellKnownSymbol("species");module.exports=function(CONSTRUCTOR_NAME){var Constructor=getBuiltIn(CONSTRUCTOR_NAME);DESCRIPTORS&&Constructor&&!Constructor[SPECIES]&&defineBuiltInAccessor(Constructor,SPECIES,{configurable:!0,get:function(){return this}})}},"./node_modules/core-js/internals/species-constructor.js":function(module,__unused_webpack_exports,__webpack_require__){var anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),aConstructor=__webpack_require__("./node_modules/core-js/internals/a-constructor.js"),isNullOrUndefined=__webpack_require__("./node_modules/core-js/internals/is-null-or-undefined.js"),SPECIES=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("species");module.exports=function(O,defaultConstructor){var S,C=anObject(O).constructor;return void 0===C||isNullOrUndefined(S=anObject(C)[SPECIES])?defaultConstructor:aConstructor(S)}},"./node_modules/core-js/internals/task.js":function(module,__unused_webpack_exports,__webpack_require__){var $location,defer,channel,port,global=__webpack_require__("./node_modules/core-js/internals/global.js"),apply=__webpack_require__("./node_modules/core-js/internals/function-apply.js"),bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),html=__webpack_require__("./node_modules/core-js/internals/html.js"),arraySlice=__webpack_require__("./node_modules/core-js/internals/array-slice.js"),createElement=__webpack_require__("./node_modules/core-js/internals/document-create-element.js"),validateArgumentsLength=__webpack_require__("./node_modules/core-js/internals/validate-arguments-length.js"),IS_IOS=__webpack_require__("./node_modules/core-js/internals/engine-is-ios.js"),IS_NODE=__webpack_require__("./node_modules/core-js/internals/engine-is-node.js"),set=global.setImmediate,clear=global.clearImmediate,process=global.process,Dispatch=global.Dispatch,Function=global.Function,MessageChannel=global.MessageChannel,String=global.String,counter=0,queue={};fails((function(){$location=global.location}));var run=function(id){if(hasOwn(queue,id)){var fn=queue[id];delete queue[id],fn()}},runner=function(id){return function(){run(id)}},eventListener=function(event){run(event.data)},globalPostMessageDefer=function(id){global.postMessage(String(id),$location.protocol+"//"+$location.host)};set&&clear||(set=function setImmediate(handler){validateArgumentsLength(arguments.length,1);var fn=isCallable(handler)?handler:Function(handler),args=arraySlice(arguments,1);return queue[++counter]=function(){apply(fn,void 0,args)},defer(counter),counter},clear=function clearImmediate(id){delete queue[id]},IS_NODE?defer=function(id){process.nextTick(runner(id))}:Dispatch&&Dispatch.now?defer=function(id){Dispatch.now(runner(id))}:MessageChannel&&!IS_IOS?(port=(channel=new MessageChannel).port2,channel.port1.onmessage=eventListener,defer=bind(port.postMessage,port)):global.addEventListener&&isCallable(global.postMessage)&&!global.importScripts&&$location&&"file:"!==$location.protocol&&!fails(globalPostMessageDefer)?(defer=globalPostMessageDefer,global.addEventListener("message",eventListener,!1)):defer="onreadystatechange"in createElement("script")?function(id){html.appendChild(createElement("script")).onreadystatechange=function(){html.removeChild(this),run(id)}}:function(id){setTimeout(runner(id),0)}),module.exports={set:set,clear:clear}},"./node_modules/core-js/internals/to-string-tag-support.js":function(module,__unused_webpack_exports,__webpack_require__){var test={};test[__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag")]="z",module.exports="[object z]"===String(test)},"./node_modules/core-js/internals/validate-arguments-length.js":function(module){var $TypeError=TypeError;module.exports=function(passed,required){if(passed{let{accordionTitle:accordionTitle,count:count=0,children:children,alwaysOpen:alwaysOpen,initialOpen:initialOpen=!1,className:className}=_ref,props=(0,objectWithoutProperties.A)(_ref,_excluded);const[open,setOpen]=(0,react.useState)(initialOpen);return(0,jsx_runtime.jsxs)("div",_objectSpread(_objectSpread({className:classnames_default()(className,"accordion")},props),{},{children:[(0,jsx_runtime.jsxs)("button",{type:"button",className:"accordion__title",onClick:()=>{setOpen((open=>!open))},children:[(0,jsx_runtime.jsx)("span",{children:accordionTitle}),count>0&&(0,jsx_runtime.jsx)(bubble.A,{size:"small",children:count}),!alwaysOpen&&(open?(0,jsx_runtime.jsx)(chevron_up.A,{width:16,height:16}):(0,jsx_runtime.jsx)(chevron_down.A,{width:16,height:16}))]}),(open||alwaysOpen)&&(0,jsx_runtime.jsx)("div",{className:"accordion__content",children:children})]}))};Accordion.displayName="Accordion";var src_components_accordion=Accordion;try{accordion.displayName="accordion",accordion.__docgenInfo={description:"",displayName:"accordion",props:{accordionTitle:{defaultValue:null,description:"The title, works as a trigger to open/close",name:"accordionTitle",required:!0,type:{name:"ReactNode"}},count:{defaultValue:{value:"0"},description:"Number displayed at the right of the accordion. This could, for example, be used to inform\nthe user how many checkboxes have selected in the accodion's hidden content.",name:"count",required:!1,type:{name:"number"}},alwaysOpen:{defaultValue:null,description:"Disable toggling and always open accordion",name:"alwaysOpen",required:!1,type:{name:"boolean"}},initialOpen:{defaultValue:{value:"false"},description:"",name:"initialOpen",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/accordion.tsx#accordion"]={docgenInfo:accordion.__docgenInfo,name:"accordion",path:"src/components/accordion.tsx#accordion"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/bubble.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{A:function(){return src_components_bubble}});var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),components_bubble=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/bubble.scss"),bubble_default=__webpack_require__.n(components_bubble),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(bubble_default(),options),bubble_default()&&bubble_default().locals&&bubble_default().locals;var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const _excluded=["children","size","className"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r{let displayValue,{children:children,size:size="medium",className:className}=_ref,props=(0,objectWithoutProperties.A)(_ref,_excluded);return void 0!==children&&Number.isFinite(children)&&(displayValue=Math.round(10*children)/10),void 0!==children&&children>99&&(displayValue="99+"),(0,jsx_runtime.jsx)("span",_objectSpread(_objectSpread({className:classnames_default()(className,`bubble--${size}`)},props),{},{children:displayValue}))};Bubble.displayName="Bubble";var src_components_bubble=Bubble;try{bubble.displayName="bubble",bubble.__docgenInfo={description:"",displayName:"bubble",props:{children:{defaultValue:null,description:"The number to display",name:"children",required:!1,type:{name:"number"}},size:{defaultValue:{value:"medium"},description:"The bubble size (default is medium)",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"medium"'},{value:'"large"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/bubble.tsx#bubble"]={docgenInfo:bubble.__docgenInfo,name:"bubble",path:"src/components/bubble.tsx#bubble"})}catch(__react_docgen_typescript_loader_error){}},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/accordion.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,'.accordion{width:100%}.accordion__title{width:100%;min-height:2.5rem;display:flex;align-items:center;flex-wrap:nowrap;gap:.5ch;padding:.25rem .5rem;margin-bottom:.25rem;background-color:#e4e8eb;font-family:"Source Sans Pro",sans-serif;font-size:1.25rem}.accordion__title>:first-child{flex-grow:1;text-align:start}.accordion__content{padding-left:2rem}.accordion-group .accordion:not(:first-child){border-top:none}',"",{version:3,sources:["webpack://./src/styles/components/accordion.scss","webpack://./colours.json","webpack://./src/styles/_franklin-settings.scss"],names:[],mappings:"AAGA,WACE,UAAA,CAEA,kBACE,UAAA,CACA,iBAAA,CACA,YAAA,CACA,kBAAA,CACA,gBAAA,CACA,QAAA,CAEA,oBAAA,CACA,oBAAA,CAEA,wBCRO,CDSP,wCEhBmB,CFiBnB,iBAAA,CAEA,+BACE,WAAA,CACA,gBAAA,CAIJ,oBACE,iBAAA,CAKF,8CACE,eAAA",sourcesContent:["@import '../franklin-settings';\n@import '../colours';\n\n.accordion {\n width: 100%;\n\n &__title {\n width: 100%;\n min-height: 2.5rem;\n display: flex;\n align-items: center;\n flex-wrap: nowrap;\n gap: 0.5ch;\n\n padding: 0.25rem 0.5rem;\n margin-bottom: 0.25rem;\n\n background-color: $colour-platinum;\n font-family: $fs-headers-font-face;\n font-size: 1.25rem;\n\n & > :first-child {\n flex-grow: 1;\n text-align: start;\n }\n }\n\n &__content {\n padding-left: 2rem;\n }\n}\n\n.accordion-group {\n .accordion:not(:first-child) {\n border-top: none;\n }\n}\n","$sapphire-blue: #014371;\n$sea-blue: #00639a;\n$vivid-cerulean: #00a6d5;\n$medium-turquoise: #46d6fa;\n$gainsborough: #d2dce3;\n$yankees-blue: #161d39;\n$independence: #4e5a71;\n$weldon-blue: #8194a1;\n$pastel-blue: #abc7d6;\n$platinum: #e4e8eb;\n$sky-white: #fbfeff;\n$bronze: #a65708;\n$reviewed: #c39b00;\n$unreviewed: #c0c0c0;\n$uniref: #f2994c;\n$uniparc: #88c19d;\n$proteomes: #e56358;\n$reference-proteome: #9d4a4d;\n$peptide-search: #A748BD;\n$id-mapping: #357B92;\n$blast: #00A6D5;\n$align: #B8CE48;\n$warning: #ffcc33;\n$failure: #f36968;\n$success: #108f3b;\n$info: #79cbf8;\n$help-green: #28aa50;\n$coyote-brown: #966336;\n$outer-space: #374343;\n$tool-results: #622E81;","// Font families\n$fs-base-font-face: 'Lato', sans-serif;\n$fs-headers-font-face: 'Source Sans Pro', sans-serif;\n\n// Base font sizes\n$font-size-small: 12px;\n$font-size-medium: 14px;\n$font-size-large: 16px;\n\n// Font sizes\n$fs-base-font-size: $font-size-large;\n\n// Font weights\n$fs-font-weight-regular: 400;\n$fs-font-weight-semi-bold: 600;\n$fs-font-weight-bold: 700;\n$fs-font-weight-extra-bold: 900;\n\n// Breakpoints\n$fs-breakpoint-values: (\n 'small': (\n min-width: 0,\n ),\n 'medium': (\n min-width: 640px,\n ),\n 'large': (\n min-width: 1024px,\n ),\n);\n\n$gutter-size: 1rem;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/bubble.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,".visually-hidden:not(:focus):not(:active){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.bubble--small{display:inline-block;margin:0 .2rem;border-radius:50%;text-align:center;vertical-align:middle;width:1.6rem;height:1.6rem;line-height:1.6rem;font-size:.7333333333rem;color:#fbfeff;--main-color: var(--main-bubble-color, #00639a);background-color:#00639a;background-color:var(--main-color)}.bubble--medium{display:inline-block;margin:0 .2rem;border-radius:50%;text-align:center;vertical-align:middle;width:3rem;height:3rem;line-height:3rem;font-size:1.0833333333rem;color:#fbfeff;--main-color: var(--main-bubble-color, #00639a);background-color:#00639a;background-color:var(--main-color)}.bubble--large{display:inline-block;margin:0 .2rem;border-radius:50%;text-align:center;vertical-align:middle;width:5rem;height:5rem;line-height:5rem;font-size:1.5833333333rem;color:#fbfeff;--main-color: var(--main-bubble-color, #00639a);background-color:#00639a;background-color:var(--main-color)}","",{version:3,sources:["webpack://./src/styles/common/_utils.scss","webpack://./src/styles/components/bubble.scss","webpack://./colours.json"],names:[],mappings:"AA4BA,0CACE,kBAAA,CACA,oBAAA,CACA,UAAA,CACA,eAAA,CACA,iBAAA,CACA,kBAAA,CACA,SAAA,CCdF,eAhBE,oBAAA,CACA,cAAA,CACA,iBAAA,CACA,iBAAA,CACA,qBAAA,CACA,YDPa,CCQb,aDRa,CCSb,kBDTa,CCUb,wBAAA,CACA,aCJU,CDMV,+CAAA,CACA,wBChBS,CDiBT,kCAAA,CAOF,gBApBE,oBAAA,CACA,cAAA,CACA,iBAAA,CACA,iBAAA,CACA,qBAAA,CACA,UDNc,CCOd,WDPc,CCQd,gBDRc,CCSd,yBAAA,CACA,aCJU,CDMV,+CAAA,CACA,wBChBS,CDiBT,kCAAA,CAWF,eAxBE,oBAAA,CACA,cAAA,CACA,iBAAA,CACA,iBAAA,CACA,qBAAA,CACA,UDLa,CCMb,WDNa,CCOb,gBDPa,CCQb,yBAAA,CACA,aCJU,CDMV,+CAAA,CACA,wBChBS,CDiBT,kCAAA",sourcesContent:["@use 'sass:math';\n@import '../settings';\n\n$small-bubble: 1.6rem;\n$medium-bubble: 3rem;\n$large-bubble: 5rem;\n\n$rootPx: 16px;\n\n@function remToPx($rem) {\n @return unitless-calc($rem) * $rootPx;\n}\n\n@function pxToRem($px) {\n @return math.div(unitless-calc($px), unitless-calc($rootPx)) + 0px;\n}\n\n@function bubbleFontSize($size) {\n @return $size * 0.25 + 0.3333333333;\n}\n\n/******************************************************************************\\\n * *\n * Visually hide any element (mostly text) accessibly. *\n * Support includes IE9+ *\n * Source: https://www.scottohara.me/blog/2017/04/14/inclusively-hidden.html *\n * *\n ******************************************************************************/\n.visually-hidden:not(:focus):not(:active) {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n","@import '../settings';\n@import '../colours';\n@import '../common/utils';\n\n@mixin bubble($size) {\n display: inline-block;\n margin: 0 $global-margin * 0.2;\n border-radius: 50%;\n text-align: center;\n vertical-align: middle;\n width: $size;\n height: $size;\n line-height: $size;\n font-size: bubbleFontSize($size);\n color: $colour-sky-white;\n\n --main-color: var(--main-bubble-color, #{$colour-sea-blue});\n background-color: $colour-sea-blue;\n background-color: var(--main-color);\n}\n\n.bubble--small {\n @include bubble($small-bubble);\n}\n\n.bubble--medium {\n @include bubble($medium-bubble);\n}\n\n.bubble--large {\n @include bubble($large-bubble);\n}\n","$sapphire-blue: #014371;\n$sea-blue: #00639a;\n$vivid-cerulean: #00a6d5;\n$medium-turquoise: #46d6fa;\n$gainsborough: #d2dce3;\n$yankees-blue: #161d39;\n$independence: #4e5a71;\n$weldon-blue: #8194a1;\n$pastel-blue: #abc7d6;\n$platinum: #e4e8eb;\n$sky-white: #fbfeff;\n$bronze: #a65708;\n$reviewed: #c39b00;\n$unreviewed: #c0c0c0;\n$uniref: #f2994c;\n$uniparc: #88c19d;\n$proteomes: #e56358;\n$reference-proteome: #9d4a4d;\n$peptide-search: #A748BD;\n$id-mapping: #357B92;\n$blast: #00A6D5;\n$align: #B8CE48;\n$warning: #ffcc33;\n$failure: #f36968;\n$success: #108f3b;\n$info: #79cbf8;\n$help-green: #28aa50;\n$coyote-brown: #966336;\n$outer-space: #374343;\n$tool-results: #622E81;"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___}}]); \ No newline at end of file diff --git a/Accordion-stories.4ccf530a.iframe.bundle.js.br b/Accordion-stories.4ccf530a.iframe.bundle.js.br new file mode 100644 index 00000000..becad77f Binary files /dev/null and b/Accordion-stories.4ccf530a.iframe.bundle.js.br differ diff --git a/Accordion-stories.4ccf530a.iframe.bundle.js.gz b/Accordion-stories.4ccf530a.iframe.bundle.js.gz new file mode 100644 index 00000000..284620e2 Binary files /dev/null and b/Accordion-stories.4ccf530a.iframe.bundle.js.gz differ diff --git a/Accordion-stories.5a6971ac.iframe.bundle.js b/Accordion-stories.5a6971ac.iframe.bundle.js deleted file mode 100644 index 31b0ce65..00000000 --- a/Accordion-stories.5a6971ac.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[1247],{"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:i+""}function _defineProperty(obj,key,value){return(key=toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.d(__webpack_exports__,{A:function(){return _defineProperty}})},"./stories/Accordion.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Accordion:function(){return Accordion},__namedExportsOrder:function(){return __namedExportsOrder}});var lorem_ipsum__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/lorem-ipsum/dist/index.js");const meta={component:__webpack_require__("./src/components/accordion.tsx").A,title:"Layout",args:{accordionTitle:"Title",count:0,alwaysOpen:!1,initialOpen:!1,children:(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_0__.Ok)({count:25,units:"words"})}};__webpack_exports__.default=meta;const Accordion={};Accordion.parameters={...Accordion.parameters,docs:{...Accordion.parameters?.docs,source:{originalSource:"{}",...Accordion.parameters?.docs?.source}}};const __namedExportsOrder=["Accordion"]},"./src/svg/chevron-down.svg":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _path,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i{let{accordionTitle:accordionTitle,count:count=0,children:children,alwaysOpen:alwaysOpen,initialOpen:initialOpen=!1,className:className}=_ref,props=(0,objectWithoutProperties.A)(_ref,_excluded);const[open,setOpen]=(0,react.useState)(initialOpen);return(0,jsx_runtime.jsxs)("div",_objectSpread(_objectSpread({className:classnames_default()(className,"accordion")},props),{},{children:[(0,jsx_runtime.jsxs)("button",{type:"button",className:"accordion__title",onClick:()=>{setOpen((open=>!open))},children:[(0,jsx_runtime.jsx)("span",{children:accordionTitle}),count>0&&(0,jsx_runtime.jsx)(bubble.A,{size:"small",children:count}),!alwaysOpen&&(open?(0,jsx_runtime.jsx)(chevron_up.A,{width:16,height:16}):(0,jsx_runtime.jsx)(chevron_down.A,{width:16,height:16}))]}),(open||alwaysOpen)&&(0,jsx_runtime.jsx)("div",{className:"accordion__content",children:children})]}))};Accordion.displayName="Accordion";var src_components_accordion=Accordion;try{accordion.displayName="accordion",accordion.__docgenInfo={description:"",displayName:"accordion",props:{accordionTitle:{defaultValue:null,description:"The title, works as a trigger to open/close",name:"accordionTitle",required:!0,type:{name:"ReactNode"}},count:{defaultValue:{value:"0"},description:"Number displayed at the right of the accordion. This could, for example, be used to inform\nthe user how many checkboxes have selected in the accodion's hidden content.",name:"count",required:!1,type:{name:"number"}},alwaysOpen:{defaultValue:null,description:"Disable toggling and always open accordion",name:"alwaysOpen",required:!1,type:{name:"boolean"}},initialOpen:{defaultValue:{value:"false"},description:"",name:"initialOpen",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/accordion.tsx#accordion"]={docgenInfo:accordion.__docgenInfo,name:"accordion",path:"src/components/accordion.tsx#accordion"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/bubble.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{A:function(){return src_components_bubble}});var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),components_bubble=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/bubble.scss"),bubble_default=__webpack_require__.n(components_bubble),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(bubble_default(),options),bubble_default()&&bubble_default().locals&&bubble_default().locals;var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const _excluded=["children","size","className"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r{let displayValue,{children:children,size:size="medium",className:className}=_ref,props=(0,objectWithoutProperties.A)(_ref,_excluded);return void 0!==children&&Number.isFinite(children)&&(displayValue=Math.round(10*children)/10),void 0!==children&&children>99&&(displayValue="99+"),(0,jsx_runtime.jsx)("span",_objectSpread(_objectSpread({className:classnames_default()(className,`bubble--${size}`)},props),{},{children:displayValue}))};Bubble.displayName="Bubble";var src_components_bubble=Bubble;try{bubble.displayName="bubble",bubble.__docgenInfo={description:"",displayName:"bubble",props:{children:{defaultValue:null,description:"The number to display",name:"children",required:!1,type:{name:"number"}},size:{defaultValue:{value:"medium"},description:"The bubble size (default is medium)",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"medium"'},{value:'"large"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/bubble.tsx#bubble"]={docgenInfo:bubble.__docgenInfo,name:"bubble",path:"src/components/bubble.tsx#bubble"})}catch(__react_docgen_typescript_loader_error){}},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/accordion.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,'.accordion{width:100%}.accordion__title{width:100%;min-height:2.5rem;display:flex;align-items:center;flex-wrap:nowrap;gap:.5ch;padding:.25rem .5rem;margin-bottom:.25rem;background-color:#e4e8eb;font-family:"Source Sans Pro",sans-serif;font-size:1.25rem}.accordion__title>:first-child{flex-grow:1;text-align:start}.accordion__content{padding-left:2rem}.accordion-group .accordion:not(:first-child){border-top:none}',"",{version:3,sources:["webpack://./src/styles/components/accordion.scss","webpack://./colours.json","webpack://./src/styles/_franklin-settings.scss"],names:[],mappings:"AAGA,WACE,UAAA,CAEA,kBACE,UAAA,CACA,iBAAA,CACA,YAAA,CACA,kBAAA,CACA,gBAAA,CACA,QAAA,CAEA,oBAAA,CACA,oBAAA,CAEA,wBCRO,CDSP,wCEhBmB,CFiBnB,iBAAA,CAEA,+BACE,WAAA,CACA,gBAAA,CAIJ,oBACE,iBAAA,CAKF,8CACE,eAAA",sourcesContent:["@import '../franklin-settings';\n@import '../colours';\n\n.accordion {\n width: 100%;\n\n &__title {\n width: 100%;\n min-height: 2.5rem;\n display: flex;\n align-items: center;\n flex-wrap: nowrap;\n gap: 0.5ch;\n\n padding: 0.25rem 0.5rem;\n margin-bottom: 0.25rem;\n\n background-color: $colour-platinum;\n font-family: $fs-headers-font-face;\n font-size: 1.25rem;\n\n & > :first-child {\n flex-grow: 1;\n text-align: start;\n }\n }\n\n &__content {\n padding-left: 2rem;\n }\n}\n\n.accordion-group {\n .accordion:not(:first-child) {\n border-top: none;\n }\n}\n","$sapphire-blue: #014371;\n$sea-blue: #00639a;\n$vivid-cerulean: #00a6d5;\n$medium-turquoise: #46d6fa;\n$gainsborough: #d2dce3;\n$yankees-blue: #161d39;\n$independence: #4e5a71;\n$weldon-blue: #8194a1;\n$pastel-blue: #abc7d6;\n$platinum: #e4e8eb;\n$sky-white: #fbfeff;\n$bronze: #a65708;\n$reviewed: #c39b00;\n$unreviewed: #c0c0c0;\n$uniref: #f2994c;\n$uniparc: #88c19d;\n$proteomes: #e56358;\n$reference-proteome: #9d4a4d;\n$peptide-search: #A748BD;\n$id-mapping: #357B92;\n$blast: #00A6D5;\n$align: #B8CE48;\n$warning: #ffcc33;\n$failure: #f36968;\n$success: #108f3b;\n$info: #79cbf8;\n$help-green: #28aa50;\n$coyote-brown: #966336;\n$outer-space: #374343;\n$tool-results: #622E81;","// Font families\n$fs-base-font-face: 'Lato', sans-serif;\n$fs-headers-font-face: 'Source Sans Pro', sans-serif;\n\n// Base font sizes\n$font-size-small: 12px;\n$font-size-medium: 14px;\n$font-size-large: 16px;\n\n// Font sizes\n$fs-base-font-size: $font-size-large;\n\n// Font weights\n$fs-font-weight-regular: 400;\n$fs-font-weight-semi-bold: 600;\n$fs-font-weight-bold: 700;\n$fs-font-weight-extra-bold: 900;\n\n// Breakpoints\n$fs-breakpoint-values: (\n 'small': (\n min-width: 0,\n ),\n 'medium': (\n min-width: 640px,\n ),\n 'large': (\n min-width: 1024px,\n ),\n);\n\n$gutter-size: 1rem;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/bubble.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,".visually-hidden:not(:focus):not(:active){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.bubble--small{display:inline-block;margin:0 .2rem;border-radius:50%;text-align:center;vertical-align:middle;width:1.6rem;height:1.6rem;line-height:1.6rem;font-size:.7333333333rem;color:#fbfeff;--main-color: var(--main-bubble-color, #00639a);background-color:#00639a;background-color:var(--main-color)}.bubble--medium{display:inline-block;margin:0 .2rem;border-radius:50%;text-align:center;vertical-align:middle;width:3rem;height:3rem;line-height:3rem;font-size:1.0833333333rem;color:#fbfeff;--main-color: var(--main-bubble-color, #00639a);background-color:#00639a;background-color:var(--main-color)}.bubble--large{display:inline-block;margin:0 .2rem;border-radius:50%;text-align:center;vertical-align:middle;width:5rem;height:5rem;line-height:5rem;font-size:1.5833333333rem;color:#fbfeff;--main-color: var(--main-bubble-color, #00639a);background-color:#00639a;background-color:var(--main-color)}","",{version:3,sources:["webpack://./src/styles/common/_utils.scss","webpack://./src/styles/components/bubble.scss","webpack://./colours.json"],names:[],mappings:"AA4BA,0CACE,kBAAA,CACA,oBAAA,CACA,UAAA,CACA,eAAA,CACA,iBAAA,CACA,kBAAA,CACA,SAAA,CCdF,eAhBE,oBAAA,CACA,cAAA,CACA,iBAAA,CACA,iBAAA,CACA,qBAAA,CACA,YDPa,CCQb,aDRa,CCSb,kBDTa,CCUb,wBAAA,CACA,aCJU,CDMV,+CAAA,CACA,wBChBS,CDiBT,kCAAA,CAOF,gBApBE,oBAAA,CACA,cAAA,CACA,iBAAA,CACA,iBAAA,CACA,qBAAA,CACA,UDNc,CCOd,WDPc,CCQd,gBDRc,CCSd,yBAAA,CACA,aCJU,CDMV,+CAAA,CACA,wBChBS,CDiBT,kCAAA,CAWF,eAxBE,oBAAA,CACA,cAAA,CACA,iBAAA,CACA,iBAAA,CACA,qBAAA,CACA,UDLa,CCMb,WDNa,CCOb,gBDPa,CCQb,yBAAA,CACA,aCJU,CDMV,+CAAA,CACA,wBChBS,CDiBT,kCAAA",sourcesContent:["@use 'sass:math';\n@import '../settings';\n\n$small-bubble: 1.6rem;\n$medium-bubble: 3rem;\n$large-bubble: 5rem;\n\n$rootPx: 16px;\n\n@function remToPx($rem) {\n @return unitless-calc($rem) * $rootPx;\n}\n\n@function pxToRem($px) {\n @return math.div(unitless-calc($px), unitless-calc($rootPx)) + 0px;\n}\n\n@function bubbleFontSize($size) {\n @return $size * 0.25 + 0.3333333333;\n}\n\n/******************************************************************************\\\n * *\n * Visually hide any element (mostly text) accessibly. *\n * Support includes IE9+ *\n * Source: https://www.scottohara.me/blog/2017/04/14/inclusively-hidden.html *\n * *\n ******************************************************************************/\n.visually-hidden:not(:focus):not(:active) {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n","@import '../settings';\n@import '../colours';\n@import '../common/utils';\n\n@mixin bubble($size) {\n display: inline-block;\n margin: 0 $global-margin * 0.2;\n border-radius: 50%;\n text-align: center;\n vertical-align: middle;\n width: $size;\n height: $size;\n line-height: $size;\n font-size: bubbleFontSize($size);\n color: $colour-sky-white;\n\n --main-color: var(--main-bubble-color, #{$colour-sea-blue});\n background-color: $colour-sea-blue;\n background-color: var(--main-color);\n}\n\n.bubble--small {\n @include bubble($small-bubble);\n}\n\n.bubble--medium {\n @include bubble($medium-bubble);\n}\n\n.bubble--large {\n @include bubble($large-bubble);\n}\n","$sapphire-blue: #014371;\n$sea-blue: #00639a;\n$vivid-cerulean: #00a6d5;\n$medium-turquoise: #46d6fa;\n$gainsborough: #d2dce3;\n$yankees-blue: #161d39;\n$independence: #4e5a71;\n$weldon-blue: #8194a1;\n$pastel-blue: #abc7d6;\n$platinum: #e4e8eb;\n$sky-white: #fbfeff;\n$bronze: #a65708;\n$reviewed: #c39b00;\n$unreviewed: #c0c0c0;\n$uniref: #f2994c;\n$uniparc: #88c19d;\n$proteomes: #e56358;\n$reference-proteome: #9d4a4d;\n$peptide-search: #A748BD;\n$id-mapping: #357B92;\n$blast: #00A6D5;\n$align: #B8CE48;\n$warning: #ffcc33;\n$failure: #f36968;\n$success: #108f3b;\n$info: #79cbf8;\n$help-green: #28aa50;\n$coyote-brown: #966336;\n$outer-space: #374343;\n$tool-results: #622E81;"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___}}]); \ No newline at end of file diff --git a/Accordion-stories.5a6971ac.iframe.bundle.js.br b/Accordion-stories.5a6971ac.iframe.bundle.js.br deleted file mode 100644 index 28a60e15..00000000 Binary files a/Accordion-stories.5a6971ac.iframe.bundle.js.br and /dev/null differ diff --git a/Accordion-stories.5a6971ac.iframe.bundle.js.gz b/Accordion-stories.5a6971ac.iframe.bundle.js.gz deleted file mode 100644 index 7e0727df..00000000 Binary files a/Accordion-stories.5a6971ac.iframe.bundle.js.gz and /dev/null differ diff --git a/Card-stories.4989089d.iframe.bundle.js b/Card-stories.4989089d.iframe.bundle.js new file mode 100644 index 00000000..b94161e6 --- /dev/null +++ b/Card-stories.4989089d.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[633],{"./stories/Card.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Card:function(){return Card},__namedExportsOrder:function(){return __namedExportsOrder}});__webpack_require__("./node_modules/react/index.js");var _src_components__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/svg/swissprot.svg"),_src_components__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/card.tsx"),_src_mock_data_lipsum__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/mock-data/lipsum.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js");const ActionLink=_ref=>{let{name:name,link:link,color:color}=_ref;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("a",{href:link,style:{borderBottom:color?`0.125rem solid ${color}`:void 0},children:name},link)};ActionLink.displayName="ActionLink";const links=[{name:"10 Protein Interactions",link:"#red",color:"red"},{name:"9 Pathways",link:"#blue",color:"blue"},{name:"5 Diseases",link:"#diseases",color:"#bada55"},{name:"72 Variants",link:"#burlywood",color:"burlywood"},{key:"swissprot",name:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_2__.A,{width:"1.5ch"})," Reviewed"]}),link:"#reviewed"}],meta={component:_src_components__WEBPACK_IMPORTED_MODULE_3__.A,title:"Layout/Card",argTypes:{hasHeader:{control:{type:"boolean"},name:"header"},hasCheckbox:{control:{type:"boolean"},name:"checkbox (only if header)"},hasHeaderSeparator:{control:{type:"boolean"},name:"header separator"},hasLinks:{control:{type:"boolean"},name:"links"}},args:{hasHeader:!0,hasHeaderSeparator:!0},render:_ref2=>{let{hasHeader:hasHeader,hasCheckbox:hasCheckbox,hasHeaderSeparator:hasHeaderSeparator,hasLinks:hasLinks}=_ref2;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_3__.A,{header:hasHeader?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[hasCheckbox&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("input",{type:"checkbox"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("h2",{children:["Title"," ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("a",{className:"medium",href:"/#",children:"APOE_HUMAN - P02649"})]})]}):void 0,headerSeparator:hasHeaderSeparator,links:hasLinks?links.map((_ref3=>{let{name:name,color:color,link:link}=_ref3;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(ActionLink,{name:name,color:color,link:`${window.parent.location.href.split("#")[0]}${link}`})})):void 0,children:(0,_src_mock_data_lipsum__WEBPACK_IMPORTED_MODULE_4__.FZ)()})}};__webpack_exports__.default=meta;const Card={};Card.parameters={...Card.parameters,docs:{...Card.parameters?.docs,source:{originalSource:"{}",...Card.parameters?.docs?.source}}};const __namedExportsOrder=["Card"]},"./src/svg/swissprot.svg":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _path,_path2,_path3,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__.Ok)({sentenceLowerBound:2,sentenceUpperBound:30}),getLipsumObjectArray=_ref=>{let{numberElements:numberElements,keys:keys,idKey:idKey="id",type:type="sentences"}=_ref;return Array.from({length:numberElements},(()=>Object.fromEntries([[[idKey],(0,uuid__WEBPACK_IMPORTED_MODULE_3__.A)()],...keys.map((key=>[key,"sentences"===type?getLipsumSentences():(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__.Ok)({count:2,units:"words"})]))])))};try{getLipsumObjectArray.displayName="getLipsumObjectArray",getLipsumObjectArray.__docgenInfo={description:"",displayName:"getLipsumObjectArray",props:{numberElements:{defaultValue:null,description:"",name:"numberElements",required:!0,type:{name:"number"}},keys:{defaultValue:null,description:"",name:"keys",required:!0,type:{name:"string[]"}},idKey:{defaultValue:{value:"id"},description:"",name:"idKey",required:!1,type:{name:"string"}},type:{defaultValue:{value:"sentences"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"sentences"'},{value:'"words"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/mock-data/lipsum.tsx#getLipsumObjectArray"]={docgenInfo:getLipsumObjectArray.__docgenInfo,name:"getLipsumObjectArray",path:"src/mock-data/lipsum.tsx#getLipsumObjectArray"})}catch(__react_docgen_typescript_loader_error){}try{lipsum.displayName="lipsum",lipsum.__docgenInfo={description:"",displayName:"lipsum",props:{numberElements:{defaultValue:null,description:"",name:"numberElements",required:!0,type:{name:"number"}},keys:{defaultValue:null,description:"",name:"keys",required:!0,type:{name:"string[]"}},idKey:{defaultValue:{value:"id"},description:"",name:"idKey",required:!1,type:{name:"string"}},type:{defaultValue:{value:"sentences"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"sentences"'},{value:'"words"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/mock-data/lipsum.tsx#lipsum"]={docgenInfo:lipsum.__docgenInfo,name:"lipsum",path:"src/mock-data/lipsum.tsx#lipsum"})}catch(__react_docgen_typescript_loader_error){}},"./node_modules/core-js/internals/classof.js":function(module,__unused_webpack_exports,__webpack_require__){var TO_STRING_TAG_SUPPORT=__webpack_require__("./node_modules/core-js/internals/to-string-tag-support.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),TO_STRING_TAG=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),$Object=Object,CORRECT_ARGUMENTS="Arguments"===classofRaw(function(){return arguments}());module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(tag=function(it,key){try{return it[key]}catch(error){}}(O=$Object(it),TO_STRING_TAG))?tag:CORRECT_ARGUMENTS?classofRaw(O):"Object"===(result=classofRaw(O))&&isCallable(O.callee)?"Arguments":result}},"./node_modules/core-js/internals/create-property.js":function(module,__unused_webpack_exports,__webpack_require__){var toPropertyKey=__webpack_require__("./node_modules/core-js/internals/to-property-key.js"),definePropertyModule=__webpack_require__("./node_modules/core-js/internals/object-define-property.js"),createPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/create-property-descriptor.js");module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}},"./node_modules/core-js/internals/function-bind-context.js":function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this-clause.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),NATIVE_BIND=__webpack_require__("./node_modules/core-js/internals/function-bind-native.js"),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),void 0===that?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}},"./node_modules/core-js/internals/function-uncurry-this-clause.js":function(module,__unused_webpack_exports,__webpack_require__){var classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=function(fn){if("Function"===classofRaw(fn))return uncurryThis(fn)}},"./node_modules/core-js/internals/get-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){var classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js"),isNullOrUndefined=__webpack_require__("./node_modules/core-js/internals/is-null-or-undefined.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}},"./node_modules/core-js/internals/get-iterator.js":function(module,__unused_webpack_exports,__webpack_require__){var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){var wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}},"./node_modules/core-js/internals/iterate.js":function(module,__unused_webpack_exports,__webpack_require__){var bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),isArrayIteratorMethod=__webpack_require__("./node_modules/core-js/internals/is-array-iterator-method.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),getIterator=__webpack_require__("./node_modules/core-js/internals/get-iterator.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),iteratorClose=__webpack_require__("./node_modules/core-js/internals/iterator-close.js"),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var iterator,iterFn,index,length,result,next,step,that=options&&options.that,AS_ENTRIES=!(!options||!options.AS_ENTRIES),IS_RECORD=!(!options||!options.IS_RECORD),IS_ITERATOR=!(!options||!options.IS_ITERATOR),INTERRUPTED=!(!options||!options.INTERRUPTED),fn=bind(unboundFunction,that),stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(!(iterFn=getIteratorMethod(iterable)))throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if((result=callFn(iterable[index]))&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if("object"==typeof result&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}},"./node_modules/core-js/internals/iterator-close.js":function(module,__unused_webpack_exports,__webpack_require__){var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js");module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(!(innerResult=getMethod(iterator,"return"))){if("throw"===kind)throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if("throw"===kind)throw value;if(innerError)throw innerResult;return anObject(innerResult),value}},"./node_modules/core-js/internals/to-string-tag-support.js":function(module,__unused_webpack_exports,__webpack_require__){var test={};test[__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag")]="z",module.exports="[object z]"===String(test)},"./node_modules/core-js/modules/es.object.from-entries.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__("./node_modules/core-js/internals/export.js"),iterate=__webpack_require__("./node_modules/core-js/internals/iterate.js"),createProperty=__webpack_require__("./node_modules/core-js/internals/create-property.js");$({target:"Object",stat:!0},{fromEntries:function fromEntries(iterable){var obj={};return iterate(iterable,(function(k,v){createProperty(obj,k,v)}),{AS_ENTRIES:!0}),obj}})},"./node_modules/uuid/dist/esm-browser/v1.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _rng_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/uuid/dist/esm-browser/rng.js"),_stringify_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/uuid/dist/esm-browser/stringify.js");let _nodeId,_clockseq,_lastMSecs=0,_lastNSecs=0;__webpack_exports__.A=function v1(options,buf,offset){let i=buf&&offset||0;const b=buf||new Array(16);let node=(options=options||{}).node||_nodeId,clockseq=void 0!==options.clockseq?options.clockseq:_clockseq;if(null==node||null==clockseq){const seedBytes=options.random||(options.rng||_rng_js__WEBPACK_IMPORTED_MODULE_0__.A)();null==node&&(node=_nodeId=[1|seedBytes[0],seedBytes[1],seedBytes[2],seedBytes[3],seedBytes[4],seedBytes[5]]),null==clockseq&&(clockseq=_clockseq=16383&(seedBytes[6]<<8|seedBytes[7]))}let msecs=void 0!==options.msecs?options.msecs:Date.now(),nsecs=void 0!==options.nsecs?options.nsecs:_lastNSecs+1;const dt=msecs-_lastMSecs+(nsecs-_lastNSecs)/1e4;if(dt<0&&void 0===options.clockseq&&(clockseq=clockseq+1&16383),(dt<0||msecs>_lastMSecs)&&void 0===options.nsecs&&(nsecs=0),nsecs>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_lastMSecs=msecs,_lastNSecs=nsecs,_clockseq=clockseq,msecs+=122192928e5;const tl=(1e4*(268435455&msecs)+nsecs)%4294967296;b[i++]=tl>>>24&255,b[i++]=tl>>>16&255,b[i++]=tl>>>8&255,b[i++]=255&tl;const tmh=msecs/4294967296*1e4&268435455;b[i++]=tmh>>>8&255,b[i++]=255&tmh,b[i++]=tmh>>>24&15|16,b[i++]=tmh>>>16&255,b[i++]=clockseq>>>8|128,b[i++]=255&clockseq;for(let n=0;n<6;++n)b[i+n]=node[n];return buf||(0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__.k)(b)}}}]); \ No newline at end of file diff --git a/Card-stories.4989089d.iframe.bundle.js.br b/Card-stories.4989089d.iframe.bundle.js.br new file mode 100644 index 00000000..cf9a4492 Binary files /dev/null and b/Card-stories.4989089d.iframe.bundle.js.br differ diff --git a/Card-stories.4989089d.iframe.bundle.js.gz b/Card-stories.4989089d.iframe.bundle.js.gz new file mode 100644 index 00000000..1623736b Binary files /dev/null and b/Card-stories.4989089d.iframe.bundle.js.gz differ diff --git a/Card-stories.800a0a2a.iframe.bundle.js b/Card-stories.800a0a2a.iframe.bundle.js deleted file mode 100644 index 69b28527..00000000 --- a/Card-stories.800a0a2a.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[633],{"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:i+""}function _defineProperty(obj,key,value){return(key=toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.d(__webpack_exports__,{A:function(){return _defineProperty}})},"./stories/Card.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Card:function(){return Card},__namedExportsOrder:function(){return __namedExportsOrder}});__webpack_require__("./node_modules/react/index.js");var _src_components__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/svg/swissprot.svg"),_src_components__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/card.tsx"),_src_mock_data_lipsum__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/mock-data/lipsum.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js");const ActionLink=_ref=>{let{name:name,link:link,color:color}=_ref;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("a",{href:link,style:{borderBottom:color?`0.125rem solid ${color}`:void 0},children:name},link)};ActionLink.displayName="ActionLink";const links=[{name:"10 Protein Interactions",link:"#red",color:"red"},{name:"9 Pathways",link:"#blue",color:"blue"},{name:"5 Diseases",link:"#diseases",color:"#bada55"},{name:"72 Variants",link:"#burlywood",color:"burlywood"},{key:"swissprot",name:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_2__.A,{width:"1.5ch"})," Reviewed"]}),link:"#reviewed"}],meta={component:_src_components__WEBPACK_IMPORTED_MODULE_3__.A,title:"Layout/Card",argTypes:{hasHeader:{control:{type:"boolean"},name:"header"},hasCheckbox:{control:{type:"boolean"},name:"checkbox (only if header)"},hasHeaderSeparator:{control:{type:"boolean"},name:"header separator"},hasLinks:{control:{type:"boolean"},name:"links"}},args:{hasHeader:!0,hasHeaderSeparator:!0},render:_ref2=>{let{hasHeader:hasHeader,hasCheckbox:hasCheckbox,hasHeaderSeparator:hasHeaderSeparator,hasLinks:hasLinks}=_ref2;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_3__.A,{header:hasHeader?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[hasCheckbox&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("input",{type:"checkbox"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("h2",{children:["Title"," ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("a",{className:"medium",href:"/#",children:"APOE_HUMAN - P02649"})]})]}):void 0,headerSeparator:hasHeaderSeparator,links:hasLinks?links.map((_ref3=>{let{name:name,color:color,link:link}=_ref3;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(ActionLink,{name:name,color:color,link:`${window.parent.location.href.split("#")[0]}${link}`})})):void 0,children:(0,_src_mock_data_lipsum__WEBPACK_IMPORTED_MODULE_4__.FZ)()})}};__webpack_exports__.default=meta;const Card={};Card.parameters={...Card.parameters,docs:{...Card.parameters?.docs,source:{originalSource:"{}",...Card.parameters?.docs?.source}}};const __namedExportsOrder=["Card"]},"./src/svg/swissprot.svg":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _path,_path2,_path3,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__.Ok)({sentenceLowerBound:2,sentenceUpperBound:30}),getLipsumObjectArray=_ref=>{let{numberElements:numberElements,keys:keys,idKey:idKey="id",type:type="sentences"}=_ref;return Array.from({length:numberElements},(()=>Object.fromEntries([[[idKey],(0,uuid__WEBPACK_IMPORTED_MODULE_3__.A)()],...keys.map((key=>[key,"sentences"===type?getLipsumSentences():(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__.Ok)({count:2,units:"words"})]))])))};try{getLipsumObjectArray.displayName="getLipsumObjectArray",getLipsumObjectArray.__docgenInfo={description:"",displayName:"getLipsumObjectArray",props:{numberElements:{defaultValue:null,description:"",name:"numberElements",required:!0,type:{name:"number"}},keys:{defaultValue:null,description:"",name:"keys",required:!0,type:{name:"string[]"}},idKey:{defaultValue:{value:"id"},description:"",name:"idKey",required:!1,type:{name:"string"}},type:{defaultValue:{value:"sentences"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"sentences"'},{value:'"words"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/mock-data/lipsum.tsx#getLipsumObjectArray"]={docgenInfo:getLipsumObjectArray.__docgenInfo,name:"getLipsumObjectArray",path:"src/mock-data/lipsum.tsx#getLipsumObjectArray"})}catch(__react_docgen_typescript_loader_error){}try{lipsum.displayName="lipsum",lipsum.__docgenInfo={description:"",displayName:"lipsum",props:{numberElements:{defaultValue:null,description:"",name:"numberElements",required:!0,type:{name:"number"}},keys:{defaultValue:null,description:"",name:"keys",required:!0,type:{name:"string[]"}},idKey:{defaultValue:{value:"id"},description:"",name:"idKey",required:!1,type:{name:"string"}},type:{defaultValue:{value:"sentences"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"sentences"'},{value:'"words"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/mock-data/lipsum.tsx#lipsum"]={docgenInfo:lipsum.__docgenInfo,name:"lipsum",path:"src/mock-data/lipsum.tsx#lipsum"})}catch(__react_docgen_typescript_loader_error){}},"./node_modules/core-js/internals/classof.js":function(module,__unused_webpack_exports,__webpack_require__){var TO_STRING_TAG_SUPPORT=__webpack_require__("./node_modules/core-js/internals/to-string-tag-support.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),TO_STRING_TAG=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),$Object=Object,CORRECT_ARGUMENTS="Arguments"===classofRaw(function(){return arguments}());module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(tag=function(it,key){try{return it[key]}catch(error){}}(O=$Object(it),TO_STRING_TAG))?tag:CORRECT_ARGUMENTS?classofRaw(O):"Object"===(result=classofRaw(O))&&isCallable(O.callee)?"Arguments":result}},"./node_modules/core-js/internals/create-property.js":function(module,__unused_webpack_exports,__webpack_require__){var toPropertyKey=__webpack_require__("./node_modules/core-js/internals/to-property-key.js"),definePropertyModule=__webpack_require__("./node_modules/core-js/internals/object-define-property.js"),createPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/create-property-descriptor.js");module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}},"./node_modules/core-js/internals/function-bind-context.js":function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this-clause.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),NATIVE_BIND=__webpack_require__("./node_modules/core-js/internals/function-bind-native.js"),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),void 0===that?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}},"./node_modules/core-js/internals/function-uncurry-this-clause.js":function(module,__unused_webpack_exports,__webpack_require__){var classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=function(fn){if("Function"===classofRaw(fn))return uncurryThis(fn)}},"./node_modules/core-js/internals/get-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){var classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js"),isNullOrUndefined=__webpack_require__("./node_modules/core-js/internals/is-null-or-undefined.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}},"./node_modules/core-js/internals/get-iterator.js":function(module,__unused_webpack_exports,__webpack_require__){var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){var wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}},"./node_modules/core-js/internals/iterate.js":function(module,__unused_webpack_exports,__webpack_require__){var bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),isArrayIteratorMethod=__webpack_require__("./node_modules/core-js/internals/is-array-iterator-method.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),getIterator=__webpack_require__("./node_modules/core-js/internals/get-iterator.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),iteratorClose=__webpack_require__("./node_modules/core-js/internals/iterator-close.js"),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var iterator,iterFn,index,length,result,next,step,that=options&&options.that,AS_ENTRIES=!(!options||!options.AS_ENTRIES),IS_RECORD=!(!options||!options.IS_RECORD),IS_ITERATOR=!(!options||!options.IS_ITERATOR),INTERRUPTED=!(!options||!options.INTERRUPTED),fn=bind(unboundFunction,that),stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(!(iterFn=getIteratorMethod(iterable)))throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if((result=callFn(iterable[index]))&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if("object"==typeof result&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}},"./node_modules/core-js/internals/iterator-close.js":function(module,__unused_webpack_exports,__webpack_require__){var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js");module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(!(innerResult=getMethod(iterator,"return"))){if("throw"===kind)throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if("throw"===kind)throw value;if(innerError)throw innerResult;return anObject(innerResult),value}},"./node_modules/core-js/internals/to-string-tag-support.js":function(module,__unused_webpack_exports,__webpack_require__){var test={};test[__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag")]="z",module.exports="[object z]"===String(test)},"./node_modules/core-js/modules/es.object.from-entries.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__("./node_modules/core-js/internals/export.js"),iterate=__webpack_require__("./node_modules/core-js/internals/iterate.js"),createProperty=__webpack_require__("./node_modules/core-js/internals/create-property.js");$({target:"Object",stat:!0},{fromEntries:function fromEntries(iterable){var obj={};return iterate(iterable,(function(k,v){createProperty(obj,k,v)}),{AS_ENTRIES:!0}),obj}})},"./node_modules/uuid/dist/esm-browser/v1.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _rng_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/uuid/dist/esm-browser/rng.js"),_stringify_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/uuid/dist/esm-browser/stringify.js");let _nodeId,_clockseq,_lastMSecs=0,_lastNSecs=0;__webpack_exports__.A=function v1(options,buf,offset){let i=buf&&offset||0;const b=buf||new Array(16);let node=(options=options||{}).node||_nodeId,clockseq=void 0!==options.clockseq?options.clockseq:_clockseq;if(null==node||null==clockseq){const seedBytes=options.random||(options.rng||_rng_js__WEBPACK_IMPORTED_MODULE_0__.A)();null==node&&(node=_nodeId=[1|seedBytes[0],seedBytes[1],seedBytes[2],seedBytes[3],seedBytes[4],seedBytes[5]]),null==clockseq&&(clockseq=_clockseq=16383&(seedBytes[6]<<8|seedBytes[7]))}let msecs=void 0!==options.msecs?options.msecs:Date.now(),nsecs=void 0!==options.nsecs?options.nsecs:_lastNSecs+1;const dt=msecs-_lastMSecs+(nsecs-_lastNSecs)/1e4;if(dt<0&&void 0===options.clockseq&&(clockseq=clockseq+1&16383),(dt<0||msecs>_lastMSecs)&&void 0===options.nsecs&&(nsecs=0),nsecs>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_lastMSecs=msecs,_lastNSecs=nsecs,_clockseq=clockseq,msecs+=122192928e5;const tl=(1e4*(268435455&msecs)+nsecs)%4294967296;b[i++]=tl>>>24&255,b[i++]=tl>>>16&255,b[i++]=tl>>>8&255,b[i++]=255&tl;const tmh=msecs/4294967296*1e4&268435455;b[i++]=tmh>>>8&255,b[i++]=255&tmh,b[i++]=tmh>>>24&15|16,b[i++]=tmh>>>16&255,b[i++]=clockseq>>>8|128,b[i++]=255&clockseq;for(let n=0;n<6;++n)b[i+n]=node[n];return buf||(0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__.k)(b)}}}]); \ No newline at end of file diff --git a/Card-stories.800a0a2a.iframe.bundle.js.br b/Card-stories.800a0a2a.iframe.bundle.js.br deleted file mode 100644 index f4147b8e..00000000 Binary files a/Card-stories.800a0a2a.iframe.bundle.js.br and /dev/null differ diff --git a/Card-stories.800a0a2a.iframe.bundle.js.gz b/Card-stories.800a0a2a.iframe.bundle.js.gz deleted file mode 100644 index 74539dc0..00000000 Binary files a/Card-stories.800a0a2a.iframe.bundle.js.gz and /dev/null differ diff --git a/CodeBlock-stories.9887451d.iframe.bundle.js b/CodeBlock-stories.9887451d.iframe.bundle.js deleted file mode 100644 index 89f9d44b..00000000 --- a/CodeBlock-stories.9887451d.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[1995],{"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:i+""}function _defineProperty(obj,key,value){return(key=toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.d(__webpack_exports__,{A:function(){return _defineProperty}})},"./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_require__.d(__webpack_exports__,{A:function(){return _objectWithoutProperties}})},"./stories/CodeBlock.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CodeBlock:function(){return CodeBlock_stories_CodeBlock},__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return CodeBlock_stories}});var dist=__webpack_require__("./node_modules/lorem-ipsum/dist/index.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),code_block=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/code-block.scss"),code_block_default=__webpack_require__.n(code_block),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(code_block_default(),options),code_block_default()&&code_block_default().locals&&code_block_default().locals;var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const _excluded=["lightMode","children","className"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r{let{lightMode:lightMode,children:children,className:className}=_ref,props=(0,objectWithoutProperties.A)(_ref,_excluded);return(0,jsx_runtime.jsx)("pre",_objectSpread(_objectSpread({className:classnames_default()("codeblock",{"codeblock-light":lightMode},className)},props),{},{children:(0,jsx_runtime.jsx)("code",{children:children})}))};CodeBlock.displayName="CodeBlock";var src_components_code_block=CodeBlock;try{codeblock.displayName="codeblock",codeblock.__docgenInfo={description:"",displayName:"codeblock",props:{lightMode:{defaultValue:null,description:"Activate light mode or defaults to dark mode",name:"lightMode",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/code-block.tsx#codeblock"]={docgenInfo:codeblock.__docgenInfo,name:"codeblock",path:"src/components/code-block.tsx#codeblock"})}catch(__react_docgen_typescript_loader_error){}const li=new dist.E5({sentencesPerParagraph:{max:1,min:1},wordsPerSentence:{max:12,min:8}}).generateParagraphs(10);var CodeBlock_stories={component:src_components_code_block,title:"Layout/CodeBlock",args:{lightMode:!1},render:_ref=>{let{lightMode:lightMode}=_ref;return(0,jsx_runtime.jsx)(src_components_code_block,{lightMode:lightMode,children:li})}};const CodeBlock_stories_CodeBlock={};CodeBlock_stories_CodeBlock.parameters={...CodeBlock_stories_CodeBlock.parameters,docs:{...CodeBlock_stories_CodeBlock.parameters?.docs,source:{originalSource:"{}",...CodeBlock_stories_CodeBlock.parameters?.docs?.source}}};const __namedExportsOrder=["CodeBlock"]},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/code-block.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,'.codeblock{display:inline-block;background:#161d39;color:#fefefe;font-family:Consolas,"Liberation Mono",Courier,monospace;font-weight:normal;border:1px solid #cacaca;padding:.125rem .3125rem .0625rem}.codeblock-light{background-color:#e6e6e6;color:#0a0a0a}',"",{version:3,sources:["webpack://./src/styles/components/code-block.scss","webpack://./src/styles/_settings.scss"],names:[],mappings:"AAGA,WACE,oBAAA,CACA,kBAAA,CACA,aC2EM,CD1EN,wDCgIsB,CD/HtB,kBCiFqB,CDhFrB,wBCsLY,CDrLZ,iCCsLa,CDpLb,iBACE,wBCgES,CD/DT,aCkEI",sourcesContent:["@import '../settings';\n@import '../colours';\n\n.codeblock {\n display: inline-block;\n background: $colour-yankees-blue;\n color: $white;\n font-family: $code-font-family;\n font-weight: $code-font-weight;\n border: $code-border;\n padding: $code-padding;\n\n &-light {\n background-color: $code-background;\n color: $code-color;\n }\n}\n","// Foundation for Sites Settings\n// -----------------------------\n//\n// Table of Contents:\n//\n// 1. Global\n// 2. Breakpoints\n// 3. The Grid\n// 4. Base Typography\n// 5. Typography Helpers\n// 6. Abide\n// 7. Accordion\n// 8. Accordion Menu\n// 9. Badge\n// 10. Breadcrumbs\n// 11. Button\n// 12. Button Group\n// 13. Callout\n// 14. Card\n// 15. Close Button\n// 16. Drilldown\n// 17. Dropdown\n// 18. Dropdown Menu\n// 19. Flexbox Utilities\n// 20. Forms\n// 21. Label\n// 22. Media Object\n// 23. Menu\n// 24. Meter\n// 25. Off-canvas\n// 26. Orbit\n// 27. Pagination\n// 28. Progress Bar\n// 29. Prototype Arrow\n// 30. Prototype Border-Box\n// 31. Prototype Border-None\n// 32. Prototype Bordered\n// 33. Prototype Display\n// 34. Prototype Font-Styling\n// 35. Prototype List-Style-Type\n// 36. Prototype Overflow\n// 37. Prototype Position\n// 38. Prototype Rounded\n// 39. Prototype Separator\n// 40. Prototype Shadow\n// 41. Prototype Sizing\n// 42. Prototype Spacing\n// 43. Prototype Text-Decoration\n// 44. Prototype Text-Transformation\n// 45. Prototype Text-Utilities\n// 46. Responsive Embed\n// 47. Reveal\n// 48. Slider\n// 49. Switch\n// 50. Table\n// 51. Tabs\n// 52. Thumbnail\n// 53. Title Bar\n// 54. Tooltip\n// 55. Top Bar\n// 56. Xy Grid\n\n@import 'foundation-sites/scss/util/util';\n\n// 1. Global\n// ---------\n\n$global-font-size: 100%;\n$global-width: rem-calc(1200);\n$global-lineheight: 1.5;\n$foundation-palette: (\n primary: #1779ba,\n secondary: #ffffff,\n success: #3adb76,\n warning: #ffae00,\n alert: #cc4b37,\n);\n$light-gray: #e6e6e6;\n$medium-gray: #cacaca;\n$dark-gray: #8a8a8a;\n$black: #0a0a0a;\n$white: #fefefe;\n$body-background: $white;\n$body-font-color: $black;\n$body-font-family: Lato, Helvetica, Roboto, Arial, sans-serif;\n$body-antialiased: true;\n$global-margin: 1rem;\n$global-padding: 1rem;\n$global-position: 1rem;\n$global-weight-normal: normal;\n$global-weight-bold: bold;\n$global-radius: 0;\n$global-menu-padding: 0.7rem 1rem;\n$global-menu-nested-margin: 1rem;\n$global-text-direction: ltr;\n$global-flexbox: true;\n$global-prototype-breakpoints: false;\n$global-button-cursor: auto;\n$global-color-pick-contrast-tolerance: 0;\n$print-transparent-backgrounds: true;\n\n@include add-foundation-colors;\n\n// 2. Breakpoints\n// --------------\n\n$breakpoints: (\n small: 0,\n medium: 640px,\n large: 1024px,\n xlarge: 1200px,\n xxlarge: 1440px,\n);\n$print-breakpoint: large;\n$breakpoint-classes: (small medium large);\n\n// 3. The Grid\n// -----------\n\n$grid-row-width: $global-width;\n$grid-column-count: 12;\n$grid-column-gutter: (\n small: 20px,\n medium: 30px,\n);\n$grid-column-align-edge: true;\n$grid-column-alias: 'columns';\n$block-grid-max: 8;\n\n// 4. Base Typography\n// ------------------\n\n$header-font-family: $body-font-family;\n$header-font-weight: $global-weight-normal;\n$header-font-style: normal;\n$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;\n$header-color: inherit;\n$header-lineheight: 1.4;\n$header-margin-bottom: 0.5rem;\n$header-styles: (\n small: (\n 'h1': (\n 'font-size': 24,\n ),\n 'h2': (\n 'font-size': 20,\n ),\n 'h3': (\n 'font-size': 19,\n ),\n 'h4': (\n 'font-size': 18,\n ),\n 'h5': (\n 'font-size': 17,\n ),\n 'h6': (\n 'font-size': 16,\n ),\n ),\n medium: (\n 'h1': (\n 'font-size': 48,\n ),\n 'h2': (\n 'font-size': 40,\n ),\n 'h3': (\n 'font-size': 31,\n ),\n 'h4': (\n 'font-size': 25,\n ),\n 'h5': (\n 'font-size': 20,\n ),\n 'h6': (\n 'font-size': 16,\n ),\n ),\n);\n$header-text-rendering: optimizeLegibility;\n$small-font-size: 80%;\n$header-small-font-color: $black;\n$paragraph-lineheight: 1.6;\n$paragraph-margin-bottom: 1rem;\n$paragraph-text-rendering: optimizeLegibility;\n$code-color: $black;\n$code-font-family: $font-family-monospace;\n$code-font-weight: $global-weight-normal;\n$code-background: $light-gray;\n$code-border: 1px solid $medium-gray;\n$code-padding: rem-calc(2 5 1);\n$anchor-color: $primary-color;\n$anchor-color-hover: scale-color($anchor-color, $lightness: -14%);\n$anchor-text-decoration: none;\n$anchor-text-decoration-hover: none;\n$hr-width: $global-width;\n$hr-border: 1px solid $medium-gray;\n$hr-margin: rem-calc(20) auto;\n$list-lineheight: $paragraph-lineheight;\n$list-margin-bottom: $paragraph-margin-bottom;\n$list-style-type: disc;\n$list-style-position: outside;\n$list-side-margin: 1.25rem;\n$list-nested-side-margin: 1.25rem;\n$defnlist-margin-bottom: 1rem;\n$defnlist-term-weight: $global-weight-bold;\n$defnlist-term-margin-bottom: 0.3rem;\n$blockquote-color: $dark-gray;\n$blockquote-padding: rem-calc(9 20 0 19);\n$blockquote-border: 1px solid $medium-gray;\n$cite-font-size: rem-calc(13);\n$cite-color: $dark-gray;\n$cite-pseudo-content: '\\2014 \\0020';\n$keystroke-font: $font-family-monospace;\n$keystroke-color: $black;\n$keystroke-background: $light-gray;\n$keystroke-padding: rem-calc(2 4 0);\n$keystroke-radius: $global-radius;\n$abbr-underline: 1px dotted $black;\n\n// 5. Typography Helpers\n// ---------------------\n\n$lead-font-size: $global-font-size * 1.25;\n$lead-lineheight: 1.6;\n$subheader-lineheight: 1.4;\n$subheader-color: $dark-gray;\n$subheader-font-weight: $global-weight-normal;\n$subheader-margin-top: 0.2rem;\n$subheader-margin-bottom: 0.5rem;\n$stat-font-size: 2.5rem;\n\n// 6. Abide\n// --------\n\n$abide-inputs: true;\n$abide-labels: true;\n$input-background-invalid: get-color(alert);\n$form-label-color-invalid: get-color(alert);\n$input-error-color: get-color(alert);\n$input-error-font-size: rem-calc(12);\n$input-error-font-weight: $global-weight-bold;\n\n// 7. Accordion\n// ------------\n\n$accordion-background: $white;\n$accordion-plusminus: true;\n$accordion-title-font-size: rem-calc(12);\n$accordion-item-color: $primary-color;\n$accordion-item-background-hover: $light-gray;\n$accordion-item-padding: 1.25rem 1rem;\n$accordion-content-background: $white;\n$accordion-content-border: 1px solid $light-gray;\n$accordion-content-color: $body-font-color;\n$accordion-content-padding: 1rem;\n\n// 8. Accordion Menu\n// -----------------\n\n$accordionmenu-padding: $global-menu-padding;\n$accordionmenu-nested-margin: $global-menu-nested-margin;\n$accordionmenu-submenu-padding: $accordionmenu-padding;\n$accordionmenu-arrows: true;\n$accordionmenu-arrow-color: $primary-color;\n$accordionmenu-item-background: null;\n$accordionmenu-border: null;\n$accordionmenu-submenu-toggle-background: null;\n$accordion-submenu-toggle-border: $accordionmenu-border;\n$accordionmenu-submenu-toggle-width: 40px;\n$accordionmenu-submenu-toggle-height: $accordionmenu-submenu-toggle-width;\n$accordionmenu-arrow-size: 6px;\n\n// 9. Badge\n// --------\n\n$badge-background: $primary-color;\n$badge-color: $white;\n$badge-color-alt: $black;\n$badge-palette: $foundation-palette;\n$badge-padding: 0.3em;\n$badge-minwidth: 2.1em;\n$badge-font-size: 0.6rem;\n\n// 10. Breadcrumbs\n// ---------------\n\n$breadcrumbs-margin: 0 0 $global-margin 0;\n$breadcrumbs-item-font-size: rem-calc(11);\n$breadcrumbs-item-color: $primary-color;\n$breadcrumbs-item-color-current: $black;\n$breadcrumbs-item-color-disabled: $medium-gray;\n$breadcrumbs-item-margin: 0.75rem;\n$breadcrumbs-item-uppercase: true;\n$breadcrumbs-item-separator: true;\n$breadcrumbs-item-separator-item: '/';\n$breadcrumbs-item-separator-item-rtl: '\\\\';\n$breadcrumbs-item-separator-color: $medium-gray;\n\n// 11. Button\n// ----------\n\n$button-font-family: inherit;\n$button-padding: 0.85em 1em;\n$button-margin: 0 0 $global-margin 0;\n$button-fill: solid;\n$button-background: $primary-color;\n$button-background-hover: scale-color($button-background, $lightness: -15%);\n$button-color: $white;\n$button-color-alt: $black;\n$button-radius: $global-radius;\n$button-hollow-border-width: 1px;\n$button-sizes: (\n tiny: 0.6rem,\n small: 0.75rem,\n default: 0.9rem,\n large: 1.25rem,\n);\n$button-palette: $foundation-palette;\n$button-opacity-disabled: 0.25;\n$button-background-hover-lightness: -20%;\n$button-hollow-hover-lightness: -50%;\n$button-transition: background-color 0.25s ease-out, color 0.25s ease-out;\n$button-responsive-expanded: false;\n\n// 12. Button Group\n// ----------------\n\n$buttongroup-margin: 1rem;\n$buttongroup-spacing: 1px;\n$buttongroup-child-selector: '.button';\n$buttongroup-expand-max: 6;\n$buttongroup-radius-on-each: true;\n\n// 13. Callout\n// -----------\n\n$callout-background: $white;\n$callout-background-fade: 85%;\n$callout-border: 1px solid rgba($black, 0.25);\n$callout-margin: 0 0 1rem 0;\n$callout-padding: 1rem;\n$callout-font-color: $body-font-color;\n$callout-font-color-alt: $body-background;\n$callout-radius: $global-radius;\n$callout-link-tint: 30%;\n\n// 14. Card\n// --------\n\n$card-background: $white;\n$card-font-color: $body-font-color;\n$card-divider-background: $light-gray;\n$card-border: 1px solid $light-gray;\n$card-shadow: none;\n$card-border-radius: $global-radius;\n$card-padding: $global-padding;\n$card-margin-bottom: $global-margin;\n\n// 15. Close Button\n// ----------------\n\n$closebutton-position: right top;\n$closebutton-offset-horizontal: (\n small: 0.66rem,\n medium: 1rem,\n);\n$closebutton-offset-vertical: (\n small: 0.33em,\n medium: 0.5rem,\n);\n$closebutton-size: (\n small: 1.5em,\n medium: 2em,\n);\n$closebutton-lineheight: 1;\n$closebutton-color: $dark-gray;\n$closebutton-color-hover: $black;\n\n// 16. Drilldown\n// -------------\n\n$drilldown-transition: transform 0.15s linear;\n$drilldown-arrows: true;\n$drilldown-padding: $global-menu-padding;\n$drilldown-nested-margin: 0;\n$drilldown-background: $white;\n$drilldown-submenu-padding: $drilldown-padding;\n$drilldown-submenu-background: $white;\n$drilldown-arrow-color: $primary-color;\n$drilldown-arrow-size: 6px;\n\n// 17. Dropdown\n// ------------\n\n$dropdown-padding: 1rem;\n$dropdown-background: $body-background;\n$dropdown-border: 1px solid $medium-gray;\n$dropdown-font-size: 1rem;\n$dropdown-width: 300px;\n$dropdown-radius: $global-radius;\n$dropdown-sizes: (\n tiny: 100px,\n small: 200px,\n large: 400px,\n);\n\n// 18. Dropdown Menu\n// -----------------\n\n$dropdownmenu-arrows: true;\n$dropdownmenu-arrow-color: $anchor-color;\n$dropdownmenu-arrow-size: 6px;\n$dropdownmenu-arrow-padding: 1.5rem;\n$dropdownmenu-min-width: 200px;\n$dropdownmenu-background: $white;\n$dropdownmenu-submenu-background: $dropdownmenu-background;\n$dropdownmenu-padding: $global-menu-padding;\n$dropdownmenu-nested-margin: 0;\n$dropdownmenu-submenu-padding: $dropdownmenu-padding;\n$dropdownmenu-border: 1px solid $medium-gray;\n$dropdown-menu-item-color-active: get-color(primary);\n$dropdown-menu-item-background-active: transparent;\n\n// 19. Flexbox Utilities\n// ---------------------\n\n$flex-source-ordering-count: 6;\n$flexbox-responsive-breakpoints: true;\n\n// 20. Forms\n// ---------\n\n$fieldset-border: 1px solid $medium-gray;\n$fieldset-padding: rem-calc(20);\n$fieldset-margin: rem-calc(18 0);\n$legend-padding: rem-calc(0 3);\n$form-spacing: rem-calc(16);\n$helptext-color: $black;\n$helptext-font-size: rem-calc(13);\n$helptext-font-style: italic;\n$input-prefix-color: $black;\n$input-prefix-background: $light-gray;\n$input-prefix-border: 1px solid $medium-gray;\n$input-prefix-padding: 1rem;\n$form-label-color: $black;\n$form-label-font-size: rem-calc(14);\n$form-label-font-weight: $global-weight-normal;\n$form-label-line-height: 1.8;\n$select-background: $white;\n$select-triangle-color: $dark-gray;\n$select-radius: $global-radius;\n$input-color: $black;\n$input-placeholder-color: $medium-gray;\n$input-font-family: inherit;\n$input-font-size: rem-calc(16);\n$input-font-weight: $global-weight-normal;\n$input-line-height: $global-lineheight;\n$input-background: $white;\n$input-background-focus: $white;\n$input-background-disabled: $light-gray;\n$input-border: 1px solid $medium-gray;\n$input-border-focus: 1px solid $dark-gray;\n$input-padding: $form-spacing * 0.5;\n$input-shadow: inset 0 1px 2px rgba($black, 0.1);\n$input-shadow-focus: 0 0 5px $medium-gray;\n$input-cursor-disabled: not-allowed;\n$input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;\n$input-number-spinners: true;\n$input-radius: $global-radius;\n$form-button-radius: $global-radius;\n\n// 21. Label\n// ---------\n\n$label-background: $primary-color;\n$label-color: $white;\n$label-color-alt: $black;\n$label-palette: $foundation-palette;\n$label-font-size: 0.8rem;\n$label-padding: 0.33333rem 0.5rem;\n$label-radius: $global-radius;\n\n// 22. Media Object\n// ----------------\n\n$mediaobject-margin-bottom: $global-margin;\n$mediaobject-section-padding: $global-padding;\n$mediaobject-image-width-stacked: 100%;\n\n// 23. Menu\n// --------\n\n$menu-margin: 0;\n$menu-nested-margin: $global-menu-nested-margin;\n$menu-items-padding: $global-menu-padding;\n$menu-simple-margin: 1rem;\n$menu-item-color-active: $white;\n$menu-item-background-active: get-color(primary);\n$menu-icon-spacing: 0.25rem;\n$menu-item-background-hover: $light-gray;\n$menu-state-back-compat: true;\n$menu-centered-back-compat: true;\n$menu-icons-back-compat: true;\n\n// 24. Meter\n// ---------\n\n$meter-height: 1rem;\n$meter-radius: $global-radius;\n$meter-background: $medium-gray;\n$meter-fill-good: $success-color;\n$meter-fill-medium: $warning-color;\n$meter-fill-bad: $alert-color;\n\n// 25. Off-canvas\n// --------------\n\n$offcanvas-sizes: (\n small: 250px,\n);\n$offcanvas-vertical-sizes: (\n small: 250px,\n);\n$offcanvas-background: $light-gray;\n$offcanvas-shadow: 0 0 10px rgba($black, 0.7);\n$offcanvas-inner-shadow-size: 20px;\n$offcanvas-inner-shadow-color: rgba($black, 0.25);\n$offcanvas-overlay-zindex: 11;\n$offcanvas-push-zindex: 12;\n$offcanvas-overlap-zindex: 13;\n$offcanvas-reveal-zindex: 12;\n$offcanvas-transition-length: 0.5s;\n$offcanvas-transition-timing: ease;\n$offcanvas-fixed-reveal: true;\n$offcanvas-exit-background: rgba($white, 0.25);\n$maincontent-class: 'off-canvas-content';\n\n// 26. Orbit\n// ---------\n\n$orbit-bullet-background: $medium-gray;\n$orbit-bullet-background-active: $dark-gray;\n$orbit-bullet-diameter: 1.2rem;\n$orbit-bullet-margin: 0.1rem;\n$orbit-bullet-margin-top: 0.8rem;\n$orbit-bullet-margin-bottom: 0.8rem;\n$orbit-caption-background: rgba($black, 0.5);\n$orbit-caption-padding: 1rem;\n$orbit-control-background-hover: rgba($black, 0.5);\n$orbit-control-padding: 1rem;\n$orbit-control-zindex: 10;\n\n// 27. Pagination\n// --------------\n\n$pagination-font-size: rem-calc(14);\n$pagination-margin-bottom: $global-margin;\n$pagination-item-color: $black;\n$pagination-item-padding: rem-calc(3 10);\n$pagination-item-spacing: rem-calc(1);\n$pagination-radius: $global-radius;\n$pagination-item-background-hover: $light-gray;\n$pagination-item-background-current: $primary-color;\n$pagination-item-color-current: $white;\n$pagination-item-color-disabled: $medium-gray;\n$pagination-ellipsis-color: $black;\n$pagination-mobile-items: false;\n$pagination-mobile-current-item: false;\n$pagination-arrows: true;\n\n// 28. Progress Bar\n// ----------------\n\n$progress-height: 1rem;\n$progress-background: $medium-gray;\n$progress-margin-bottom: $global-margin;\n$progress-meter-background: $primary-color;\n$progress-radius: $global-radius;\n\n// 29. Prototype Arrow\n// -------------------\n\n$prototype-arrow-directions: (down, up, right, left);\n$prototype-arrow-size: 0.4375rem;\n$prototype-arrow-color: $black;\n\n// 30. Prototype Border-Box\n// ------------------------\n\n$prototype-border-box-breakpoints: $global-prototype-breakpoints;\n\n// 31. Prototype Border-None\n// -------------------------\n\n$prototype-border-none-breakpoints: $global-prototype-breakpoints;\n\n// 32. Prototype Bordered\n// ----------------------\n\n$prototype-bordered-breakpoints: $global-prototype-breakpoints;\n$prototype-border-width: rem-calc(1);\n$prototype-border-type: solid;\n$prototype-border-color: $medium-gray;\n\n// 33. Prototype Display\n// ---------------------\n\n$prototype-display-breakpoints: $global-prototype-breakpoints;\n$prototype-display: (inline, inline-block, block, table, table-cell);\n\n// 34. Prototype Font-Styling\n// --------------------------\n\n$prototype-font-breakpoints: $global-prototype-breakpoints;\n$prototype-wide-letter-spacing: rem-calc(4);\n$prototype-font-normal: $global-weight-normal;\n$prototype-font-bold: $global-weight-bold;\n\n// 35. Prototype List-Style-Type\n// -----------------------------\n\n$prototype-list-breakpoints: $global-prototype-breakpoints;\n$prototype-style-type-unordered: (disc, circle, square);\n$prototype-style-type-ordered: (\n decimal,\n lower-alpha,\n lower-latin,\n lower-roman,\n upper-alpha,\n upper-latin,\n upper-roman\n);\n\n// 36. Prototype Overflow\n// ----------------------\n\n$prototype-overflow-breakpoints: $global-prototype-breakpoints;\n$prototype-overflow: (visible, hidden, scroll);\n\n// 37. Prototype Position\n// ----------------------\n\n$prototype-position-breakpoints: $global-prototype-breakpoints;\n$prototype-position: (static, relative, absolute, fixed);\n$prototype-position-z-index: 975;\n\n// 38. Prototype Rounded\n// ---------------------\n\n$prototype-rounded-breakpoints: $global-prototype-breakpoints;\n$prototype-border-radius: rem-calc(3);\n\n// 39. Prototype Separator\n// -----------------------\n\n$prototype-separator-breakpoints: $global-prototype-breakpoints;\n$prototype-separator-align: center;\n$prototype-separator-height: rem-calc(2);\n$prototype-separator-width: 3rem;\n$prototype-separator-background: $primary-color;\n$prototype-separator-margin-top: $global-margin;\n\n// 40. Prototype Shadow\n// --------------------\n\n$prototype-shadow-breakpoints: $global-prototype-breakpoints;\n$prototype-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16),\n 0 2px 10px 0 rgba(0, 0, 0, 0.12);\n\n// 41. Prototype Sizing\n// --------------------\n\n$prototype-sizing-breakpoints: $global-prototype-breakpoints;\n$prototype-sizing: (width, height);\n$prototype-sizes: (\n 25: 25%,\n 50: 50%,\n 75: 75%,\n 100: 100%,\n);\n\n// 42. Prototype Spacing\n// ---------------------\n\n$prototype-spacing-breakpoints: $global-prototype-breakpoints;\n$prototype-spacers-count: 3;\n\n// 43. Prototype Text-Decoration\n// -----------------------------\n\n$prototype-decoration-breakpoints: $global-prototype-breakpoints;\n$prototype-text-decoration: (overline, underline, line-through);\n\n// 44. Prototype Text-Transformation\n// ---------------------------------\n\n$prototype-transformation-breakpoints: $global-prototype-breakpoints;\n$prototype-text-transformation: (lowercase, uppercase, capitalize);\n\n// 45. Prototype Text-Utilities\n// ----------------------------\n\n$prototype-utilities-breakpoints: $global-prototype-breakpoints;\n$prototype-text-overflow: ellipsis;\n\n// 46. Responsive Embed\n// --------------------\n\n$responsive-embed-margin-bottom: rem-calc(16);\n$responsive-embed-ratios: (\n default: 4 by 3,\n widescreen: 16 by 9,\n);\n\n// 47. Reveal\n// ----------\n\n$reveal-background: $white;\n$reveal-width: 600px;\n$reveal-max-width: $global-width;\n$reveal-padding: $global-padding;\n$reveal-border: 1px solid $medium-gray;\n$reveal-radius: $global-radius;\n$reveal-zindex: 1005;\n$reveal-overlay-background: rgba($black, 0.45);\n\n// 48. Slider\n// ----------\n\n$slider-width-vertical: 0.5rem;\n$slider-transition: all 0.2s ease-in-out;\n$slider-height: 0.5rem;\n$slider-background: $light-gray;\n$slider-fill-background: $medium-gray;\n$slider-handle-height: 1.4rem;\n$slider-handle-width: 1.4rem;\n$slider-handle-background: $primary-color;\n$slider-opacity-disabled: 0.25;\n$slider-radius: $global-radius;\n\n// 49. Switch\n// ----------\n\n$switch-background: $medium-gray;\n$switch-background-active: $primary-color;\n$switch-height: 2rem;\n$switch-height-tiny: 1.5rem;\n$switch-height-small: 1.75rem;\n$switch-height-large: 2.5rem;\n$switch-radius: $global-radius;\n$switch-margin: $global-margin;\n$switch-paddle-background: $white;\n$switch-paddle-offset: 0.25rem;\n$switch-paddle-radius: $global-radius;\n$switch-paddle-transition: all 0.25s ease-out;\n\n// 50. Table\n// ---------\n\n$table-background: $white;\n$table-color-scale: 5%;\n$table-border: 1px solid smart-scale($table-background, $table-color-scale);\n$table-padding: rem-calc(8 10 10);\n$table-hover-scale: 2%;\n$table-row-hover: darken($table-background, $table-hover-scale);\n$table-row-stripe-hover: darken(\n $table-background,\n $table-color-scale + $table-hover-scale\n);\n$table-is-striped: true;\n$table-striped-background: smart-scale($table-background, $table-color-scale);\n$table-stripe: even;\n$table-head-background: smart-scale(\n $table-background,\n $table-color-scale * 0.5\n);\n$table-head-row-hover: darken($table-head-background, $table-hover-scale);\n$table-foot-background: smart-scale($table-background, $table-color-scale);\n$table-foot-row-hover: darken($table-foot-background, $table-hover-scale);\n$table-head-font-color: $body-font-color;\n$table-foot-font-color: $body-font-color;\n$show-header-for-stacked: false;\n$table-stack-breakpoint: medium;\n\n// 51. Tabs\n// --------\n\n$tab-margin: 0;\n$tab-background: $white;\n$tab-color: $primary-color;\n$tab-background-active: $light-gray;\n$tab-active-color: $primary-color;\n$tab-item-font-size: rem-calc(12);\n$tab-item-background-hover: $white;\n$tab-item-padding: 1.25rem 1.5rem;\n$tab-expand-max: 6;\n$tab-content-background: $white;\n$tab-content-border: $light-gray;\n$tab-content-color: $body-font-color;\n$tab-content-padding: 1rem;\n\n// 52. Thumbnail\n// -------------\n\n$thumbnail-border: solid 4px $white;\n$thumbnail-margin-bottom: $global-margin;\n$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);\n$thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);\n$thumbnail-transition: box-shadow 200ms ease-out;\n$thumbnail-radius: $global-radius;\n\n// 53. Title Bar\n// -------------\n\n$titlebar-background: $black;\n$titlebar-color: $white;\n$titlebar-padding: 0.5rem;\n$titlebar-text-font-weight: bold;\n$titlebar-icon-color: $white;\n$titlebar-icon-color-hover: $medium-gray;\n$titlebar-icon-spacing: 0.25rem;\n\n// 54. Tooltip\n// -----------\n\n$has-tip-cursor: help;\n$has-tip-font-weight: $global-weight-bold;\n$has-tip-border-bottom: dotted 1px $dark-gray;\n$tooltip-background-color: $black;\n$tooltip-color: $white;\n$tooltip-padding: 0.75rem;\n$tooltip-max-width: 10rem;\n$tooltip-font-size: $small-font-size;\n$tooltip-pip-width: 0.75rem;\n$tooltip-pip-height: $tooltip-pip-width * 0.866;\n$tooltip-radius: $global-radius;\n\n// 55. Top Bar\n// -----------\n\n$topbar-padding: 0.5rem;\n$topbar-background: $light-gray;\n$topbar-submenu-background: $topbar-background;\n$topbar-title-spacing: 0.5rem 1rem 0.5rem 0;\n$topbar-input-width: 200px;\n$topbar-unstack-breakpoint: medium;\n\n// 56. Xy Grid\n// -----------\n\n$xy-grid: true;\n$grid-container: $global-width;\n$grid-columns: 12;\n$grid-margin-gutters: (\n small: 20px,\n medium: 30px,\n);\n$grid-padding-gutters: $grid-margin-gutters;\n$grid-container-padding: $grid-padding-gutters;\n$grid-container-max: $global-width;\n$xy-block-grid-max: 8;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___}}]); \ No newline at end of file diff --git a/CodeBlock-stories.9887451d.iframe.bundle.js.br b/CodeBlock-stories.9887451d.iframe.bundle.js.br deleted file mode 100644 index 9bd23501..00000000 Binary files a/CodeBlock-stories.9887451d.iframe.bundle.js.br and /dev/null differ diff --git a/CodeBlock-stories.9887451d.iframe.bundle.js.gz b/CodeBlock-stories.9887451d.iframe.bundle.js.gz deleted file mode 100644 index 9447d893..00000000 Binary files a/CodeBlock-stories.9887451d.iframe.bundle.js.gz and /dev/null differ diff --git a/CodeBlock-stories.d35acaf2.iframe.bundle.js b/CodeBlock-stories.d35acaf2.iframe.bundle.js new file mode 100644 index 00000000..6a80530a --- /dev/null +++ b/CodeBlock-stories.d35acaf2.iframe.bundle.js @@ -0,0 +1 @@ +(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[1995],{"./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_require__.d(__webpack_exports__,{A:function(){return _objectWithoutProperties}})},"./stories/CodeBlock.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CodeBlock:function(){return CodeBlock_stories_CodeBlock},__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return CodeBlock_stories}});var dist=__webpack_require__("./node_modules/lorem-ipsum/dist/index.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),code_block=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/code-block.scss"),code_block_default=__webpack_require__.n(code_block),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(code_block_default(),options),code_block_default()&&code_block_default().locals&&code_block_default().locals;var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const _excluded=["lightMode","children","className"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r{let{lightMode:lightMode,children:children,className:className}=_ref,props=(0,objectWithoutProperties.A)(_ref,_excluded);return(0,jsx_runtime.jsx)("pre",_objectSpread(_objectSpread({className:classnames_default()("codeblock",{"codeblock-light":lightMode},className)},props),{},{children:(0,jsx_runtime.jsx)("code",{children:children})}))};CodeBlock.displayName="CodeBlock";var src_components_code_block=CodeBlock;try{codeblock.displayName="codeblock",codeblock.__docgenInfo={description:"",displayName:"codeblock",props:{lightMode:{defaultValue:null,description:"Activate light mode or defaults to dark mode",name:"lightMode",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/code-block.tsx#codeblock"]={docgenInfo:codeblock.__docgenInfo,name:"codeblock",path:"src/components/code-block.tsx#codeblock"})}catch(__react_docgen_typescript_loader_error){}const li=new dist.E5({sentencesPerParagraph:{max:1,min:1},wordsPerSentence:{max:12,min:8}}).generateParagraphs(10);var CodeBlock_stories={component:src_components_code_block,title:"Layout/CodeBlock",args:{lightMode:!1},render:_ref=>{let{lightMode:lightMode}=_ref;return(0,jsx_runtime.jsx)(src_components_code_block,{lightMode:lightMode,children:li})}};const CodeBlock_stories_CodeBlock={};CodeBlock_stories_CodeBlock.parameters={...CodeBlock_stories_CodeBlock.parameters,docs:{...CodeBlock_stories_CodeBlock.parameters?.docs,source:{originalSource:"{}",...CodeBlock_stories_CodeBlock.parameters?.docs?.source}}};const __namedExportsOrder=["CodeBlock"]},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/code-block.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,'.codeblock{display:inline-block;background:#161d39;color:#fefefe;font-family:Consolas,"Liberation Mono",Courier,monospace;font-weight:normal;border:1px solid #cacaca;padding:.125rem .3125rem .0625rem}.codeblock-light{background-color:#e6e6e6;color:#0a0a0a}',"",{version:3,sources:["webpack://./src/styles/components/code-block.scss","webpack://./src/styles/_settings.scss"],names:[],mappings:"AAGA,WACE,oBAAA,CACA,kBAAA,CACA,aC2EM,CD1EN,wDCgIsB,CD/HtB,kBCiFqB,CDhFrB,wBCsLY,CDrLZ,iCCsLa,CDpLb,iBACE,wBCgES,CD/DT,aCkEI",sourcesContent:["@import '../settings';\n@import '../colours';\n\n.codeblock {\n display: inline-block;\n background: $colour-yankees-blue;\n color: $white;\n font-family: $code-font-family;\n font-weight: $code-font-weight;\n border: $code-border;\n padding: $code-padding;\n\n &-light {\n background-color: $code-background;\n color: $code-color;\n }\n}\n","// Foundation for Sites Settings\n// -----------------------------\n//\n// Table of Contents:\n//\n// 1. Global\n// 2. Breakpoints\n// 3. The Grid\n// 4. Base Typography\n// 5. Typography Helpers\n// 6. Abide\n// 7. Accordion\n// 8. Accordion Menu\n// 9. Badge\n// 10. Breadcrumbs\n// 11. Button\n// 12. Button Group\n// 13. Callout\n// 14. Card\n// 15. Close Button\n// 16. Drilldown\n// 17. Dropdown\n// 18. Dropdown Menu\n// 19. Flexbox Utilities\n// 20. Forms\n// 21. Label\n// 22. Media Object\n// 23. Menu\n// 24. Meter\n// 25. Off-canvas\n// 26. Orbit\n// 27. Pagination\n// 28. Progress Bar\n// 29. Prototype Arrow\n// 30. Prototype Border-Box\n// 31. Prototype Border-None\n// 32. Prototype Bordered\n// 33. Prototype Display\n// 34. Prototype Font-Styling\n// 35. Prototype List-Style-Type\n// 36. Prototype Overflow\n// 37. Prototype Position\n// 38. Prototype Rounded\n// 39. Prototype Separator\n// 40. Prototype Shadow\n// 41. Prototype Sizing\n// 42. Prototype Spacing\n// 43. Prototype Text-Decoration\n// 44. Prototype Text-Transformation\n// 45. Prototype Text-Utilities\n// 46. Responsive Embed\n// 47. Reveal\n// 48. Slider\n// 49. Switch\n// 50. Table\n// 51. Tabs\n// 52. Thumbnail\n// 53. Title Bar\n// 54. Tooltip\n// 55. Top Bar\n// 56. Xy Grid\n\n@import 'foundation-sites/scss/util/util';\n\n// 1. Global\n// ---------\n\n$global-font-size: 100%;\n$global-width: rem-calc(1200);\n$global-lineheight: 1.5;\n$foundation-palette: (\n primary: #1779ba,\n secondary: #ffffff,\n success: #3adb76,\n warning: #ffae00,\n alert: #cc4b37,\n);\n$light-gray: #e6e6e6;\n$medium-gray: #cacaca;\n$dark-gray: #8a8a8a;\n$black: #0a0a0a;\n$white: #fefefe;\n$body-background: $white;\n$body-font-color: $black;\n$body-font-family: Lato, Helvetica, Roboto, Arial, sans-serif;\n$body-antialiased: true;\n$global-margin: 1rem;\n$global-padding: 1rem;\n$global-position: 1rem;\n$global-weight-normal: normal;\n$global-weight-bold: bold;\n$global-radius: 0;\n$global-menu-padding: 0.7rem 1rem;\n$global-menu-nested-margin: 1rem;\n$global-text-direction: ltr;\n$global-flexbox: true;\n$global-prototype-breakpoints: false;\n$global-button-cursor: auto;\n$global-color-pick-contrast-tolerance: 0;\n$print-transparent-backgrounds: true;\n\n@include add-foundation-colors;\n\n// 2. Breakpoints\n// --------------\n\n$breakpoints: (\n small: 0,\n medium: 640px,\n large: 1024px,\n xlarge: 1200px,\n xxlarge: 1440px,\n);\n$print-breakpoint: large;\n$breakpoint-classes: (small medium large);\n\n// 3. The Grid\n// -----------\n\n$grid-row-width: $global-width;\n$grid-column-count: 12;\n$grid-column-gutter: (\n small: 20px,\n medium: 30px,\n);\n$grid-column-align-edge: true;\n$grid-column-alias: 'columns';\n$block-grid-max: 8;\n\n// 4. Base Typography\n// ------------------\n\n$header-font-family: $body-font-family;\n$header-font-weight: $global-weight-normal;\n$header-font-style: normal;\n$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;\n$header-color: inherit;\n$header-lineheight: 1.4;\n$header-margin-bottom: 0.5rem;\n$header-styles: (\n small: (\n 'h1': (\n 'font-size': 24,\n ),\n 'h2': (\n 'font-size': 20,\n ),\n 'h3': (\n 'font-size': 19,\n ),\n 'h4': (\n 'font-size': 18,\n ),\n 'h5': (\n 'font-size': 17,\n ),\n 'h6': (\n 'font-size': 16,\n ),\n ),\n medium: (\n 'h1': (\n 'font-size': 48,\n ),\n 'h2': (\n 'font-size': 40,\n ),\n 'h3': (\n 'font-size': 31,\n ),\n 'h4': (\n 'font-size': 25,\n ),\n 'h5': (\n 'font-size': 20,\n ),\n 'h6': (\n 'font-size': 16,\n ),\n ),\n);\n$header-text-rendering: optimizeLegibility;\n$small-font-size: 80%;\n$header-small-font-color: $black;\n$paragraph-lineheight: 1.6;\n$paragraph-margin-bottom: 1rem;\n$paragraph-text-rendering: optimizeLegibility;\n$code-color: $black;\n$code-font-family: $font-family-monospace;\n$code-font-weight: $global-weight-normal;\n$code-background: $light-gray;\n$code-border: 1px solid $medium-gray;\n$code-padding: rem-calc(2 5 1);\n$anchor-color: $primary-color;\n$anchor-color-hover: scale-color($anchor-color, $lightness: -14%);\n$anchor-text-decoration: none;\n$anchor-text-decoration-hover: none;\n$hr-width: $global-width;\n$hr-border: 1px solid $medium-gray;\n$hr-margin: rem-calc(20) auto;\n$list-lineheight: $paragraph-lineheight;\n$list-margin-bottom: $paragraph-margin-bottom;\n$list-style-type: disc;\n$list-style-position: outside;\n$list-side-margin: 1.25rem;\n$list-nested-side-margin: 1.25rem;\n$defnlist-margin-bottom: 1rem;\n$defnlist-term-weight: $global-weight-bold;\n$defnlist-term-margin-bottom: 0.3rem;\n$blockquote-color: $dark-gray;\n$blockquote-padding: rem-calc(9 20 0 19);\n$blockquote-border: 1px solid $medium-gray;\n$cite-font-size: rem-calc(13);\n$cite-color: $dark-gray;\n$cite-pseudo-content: '\\2014 \\0020';\n$keystroke-font: $font-family-monospace;\n$keystroke-color: $black;\n$keystroke-background: $light-gray;\n$keystroke-padding: rem-calc(2 4 0);\n$keystroke-radius: $global-radius;\n$abbr-underline: 1px dotted $black;\n\n// 5. Typography Helpers\n// ---------------------\n\n$lead-font-size: $global-font-size * 1.25;\n$lead-lineheight: 1.6;\n$subheader-lineheight: 1.4;\n$subheader-color: $dark-gray;\n$subheader-font-weight: $global-weight-normal;\n$subheader-margin-top: 0.2rem;\n$subheader-margin-bottom: 0.5rem;\n$stat-font-size: 2.5rem;\n\n// 6. Abide\n// --------\n\n$abide-inputs: true;\n$abide-labels: true;\n$input-background-invalid: get-color(alert);\n$form-label-color-invalid: get-color(alert);\n$input-error-color: get-color(alert);\n$input-error-font-size: rem-calc(12);\n$input-error-font-weight: $global-weight-bold;\n\n// 7. Accordion\n// ------------\n\n$accordion-background: $white;\n$accordion-plusminus: true;\n$accordion-title-font-size: rem-calc(12);\n$accordion-item-color: $primary-color;\n$accordion-item-background-hover: $light-gray;\n$accordion-item-padding: 1.25rem 1rem;\n$accordion-content-background: $white;\n$accordion-content-border: 1px solid $light-gray;\n$accordion-content-color: $body-font-color;\n$accordion-content-padding: 1rem;\n\n// 8. Accordion Menu\n// -----------------\n\n$accordionmenu-padding: $global-menu-padding;\n$accordionmenu-nested-margin: $global-menu-nested-margin;\n$accordionmenu-submenu-padding: $accordionmenu-padding;\n$accordionmenu-arrows: true;\n$accordionmenu-arrow-color: $primary-color;\n$accordionmenu-item-background: null;\n$accordionmenu-border: null;\n$accordionmenu-submenu-toggle-background: null;\n$accordion-submenu-toggle-border: $accordionmenu-border;\n$accordionmenu-submenu-toggle-width: 40px;\n$accordionmenu-submenu-toggle-height: $accordionmenu-submenu-toggle-width;\n$accordionmenu-arrow-size: 6px;\n\n// 9. Badge\n// --------\n\n$badge-background: $primary-color;\n$badge-color: $white;\n$badge-color-alt: $black;\n$badge-palette: $foundation-palette;\n$badge-padding: 0.3em;\n$badge-minwidth: 2.1em;\n$badge-font-size: 0.6rem;\n\n// 10. Breadcrumbs\n// ---------------\n\n$breadcrumbs-margin: 0 0 $global-margin 0;\n$breadcrumbs-item-font-size: rem-calc(11);\n$breadcrumbs-item-color: $primary-color;\n$breadcrumbs-item-color-current: $black;\n$breadcrumbs-item-color-disabled: $medium-gray;\n$breadcrumbs-item-margin: 0.75rem;\n$breadcrumbs-item-uppercase: true;\n$breadcrumbs-item-separator: true;\n$breadcrumbs-item-separator-item: '/';\n$breadcrumbs-item-separator-item-rtl: '\\\\';\n$breadcrumbs-item-separator-color: $medium-gray;\n\n// 11. Button\n// ----------\n\n$button-font-family: inherit;\n$button-padding: 0.85em 1em;\n$button-margin: 0 0 $global-margin 0;\n$button-fill: solid;\n$button-background: $primary-color;\n$button-background-hover: scale-color($button-background, $lightness: -15%);\n$button-color: $white;\n$button-color-alt: $black;\n$button-radius: $global-radius;\n$button-hollow-border-width: 1px;\n$button-sizes: (\n tiny: 0.6rem,\n small: 0.75rem,\n default: 0.9rem,\n large: 1.25rem,\n);\n$button-palette: $foundation-palette;\n$button-opacity-disabled: 0.25;\n$button-background-hover-lightness: -20%;\n$button-hollow-hover-lightness: -50%;\n$button-transition: background-color 0.25s ease-out, color 0.25s ease-out;\n$button-responsive-expanded: false;\n\n// 12. Button Group\n// ----------------\n\n$buttongroup-margin: 1rem;\n$buttongroup-spacing: 1px;\n$buttongroup-child-selector: '.button';\n$buttongroup-expand-max: 6;\n$buttongroup-radius-on-each: true;\n\n// 13. Callout\n// -----------\n\n$callout-background: $white;\n$callout-background-fade: 85%;\n$callout-border: 1px solid rgba($black, 0.25);\n$callout-margin: 0 0 1rem 0;\n$callout-padding: 1rem;\n$callout-font-color: $body-font-color;\n$callout-font-color-alt: $body-background;\n$callout-radius: $global-radius;\n$callout-link-tint: 30%;\n\n// 14. Card\n// --------\n\n$card-background: $white;\n$card-font-color: $body-font-color;\n$card-divider-background: $light-gray;\n$card-border: 1px solid $light-gray;\n$card-shadow: none;\n$card-border-radius: $global-radius;\n$card-padding: $global-padding;\n$card-margin-bottom: $global-margin;\n\n// 15. Close Button\n// ----------------\n\n$closebutton-position: right top;\n$closebutton-offset-horizontal: (\n small: 0.66rem,\n medium: 1rem,\n);\n$closebutton-offset-vertical: (\n small: 0.33em,\n medium: 0.5rem,\n);\n$closebutton-size: (\n small: 1.5em,\n medium: 2em,\n);\n$closebutton-lineheight: 1;\n$closebutton-color: $dark-gray;\n$closebutton-color-hover: $black;\n\n// 16. Drilldown\n// -------------\n\n$drilldown-transition: transform 0.15s linear;\n$drilldown-arrows: true;\n$drilldown-padding: $global-menu-padding;\n$drilldown-nested-margin: 0;\n$drilldown-background: $white;\n$drilldown-submenu-padding: $drilldown-padding;\n$drilldown-submenu-background: $white;\n$drilldown-arrow-color: $primary-color;\n$drilldown-arrow-size: 6px;\n\n// 17. Dropdown\n// ------------\n\n$dropdown-padding: 1rem;\n$dropdown-background: $body-background;\n$dropdown-border: 1px solid $medium-gray;\n$dropdown-font-size: 1rem;\n$dropdown-width: 300px;\n$dropdown-radius: $global-radius;\n$dropdown-sizes: (\n tiny: 100px,\n small: 200px,\n large: 400px,\n);\n\n// 18. Dropdown Menu\n// -----------------\n\n$dropdownmenu-arrows: true;\n$dropdownmenu-arrow-color: $anchor-color;\n$dropdownmenu-arrow-size: 6px;\n$dropdownmenu-arrow-padding: 1.5rem;\n$dropdownmenu-min-width: 200px;\n$dropdownmenu-background: $white;\n$dropdownmenu-submenu-background: $dropdownmenu-background;\n$dropdownmenu-padding: $global-menu-padding;\n$dropdownmenu-nested-margin: 0;\n$dropdownmenu-submenu-padding: $dropdownmenu-padding;\n$dropdownmenu-border: 1px solid $medium-gray;\n$dropdown-menu-item-color-active: get-color(primary);\n$dropdown-menu-item-background-active: transparent;\n\n// 19. Flexbox Utilities\n// ---------------------\n\n$flex-source-ordering-count: 6;\n$flexbox-responsive-breakpoints: true;\n\n// 20. Forms\n// ---------\n\n$fieldset-border: 1px solid $medium-gray;\n$fieldset-padding: rem-calc(20);\n$fieldset-margin: rem-calc(18 0);\n$legend-padding: rem-calc(0 3);\n$form-spacing: rem-calc(16);\n$helptext-color: $black;\n$helptext-font-size: rem-calc(13);\n$helptext-font-style: italic;\n$input-prefix-color: $black;\n$input-prefix-background: $light-gray;\n$input-prefix-border: 1px solid $medium-gray;\n$input-prefix-padding: 1rem;\n$form-label-color: $black;\n$form-label-font-size: rem-calc(14);\n$form-label-font-weight: $global-weight-normal;\n$form-label-line-height: 1.8;\n$select-background: $white;\n$select-triangle-color: $dark-gray;\n$select-radius: $global-radius;\n$input-color: $black;\n$input-placeholder-color: $medium-gray;\n$input-font-family: inherit;\n$input-font-size: rem-calc(16);\n$input-font-weight: $global-weight-normal;\n$input-line-height: $global-lineheight;\n$input-background: $white;\n$input-background-focus: $white;\n$input-background-disabled: $light-gray;\n$input-border: 1px solid $medium-gray;\n$input-border-focus: 1px solid $dark-gray;\n$input-padding: $form-spacing * 0.5;\n$input-shadow: inset 0 1px 2px rgba($black, 0.1);\n$input-shadow-focus: 0 0 5px $medium-gray;\n$input-cursor-disabled: not-allowed;\n$input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;\n$input-number-spinners: true;\n$input-radius: $global-radius;\n$form-button-radius: $global-radius;\n\n// 21. Label\n// ---------\n\n$label-background: $primary-color;\n$label-color: $white;\n$label-color-alt: $black;\n$label-palette: $foundation-palette;\n$label-font-size: 0.8rem;\n$label-padding: 0.33333rem 0.5rem;\n$label-radius: $global-radius;\n\n// 22. Media Object\n// ----------------\n\n$mediaobject-margin-bottom: $global-margin;\n$mediaobject-section-padding: $global-padding;\n$mediaobject-image-width-stacked: 100%;\n\n// 23. Menu\n// --------\n\n$menu-margin: 0;\n$menu-nested-margin: $global-menu-nested-margin;\n$menu-items-padding: $global-menu-padding;\n$menu-simple-margin: 1rem;\n$menu-item-color-active: $white;\n$menu-item-background-active: get-color(primary);\n$menu-icon-spacing: 0.25rem;\n$menu-item-background-hover: $light-gray;\n$menu-state-back-compat: true;\n$menu-centered-back-compat: true;\n$menu-icons-back-compat: true;\n\n// 24. Meter\n// ---------\n\n$meter-height: 1rem;\n$meter-radius: $global-radius;\n$meter-background: $medium-gray;\n$meter-fill-good: $success-color;\n$meter-fill-medium: $warning-color;\n$meter-fill-bad: $alert-color;\n\n// 25. Off-canvas\n// --------------\n\n$offcanvas-sizes: (\n small: 250px,\n);\n$offcanvas-vertical-sizes: (\n small: 250px,\n);\n$offcanvas-background: $light-gray;\n$offcanvas-shadow: 0 0 10px rgba($black, 0.7);\n$offcanvas-inner-shadow-size: 20px;\n$offcanvas-inner-shadow-color: rgba($black, 0.25);\n$offcanvas-overlay-zindex: 11;\n$offcanvas-push-zindex: 12;\n$offcanvas-overlap-zindex: 13;\n$offcanvas-reveal-zindex: 12;\n$offcanvas-transition-length: 0.5s;\n$offcanvas-transition-timing: ease;\n$offcanvas-fixed-reveal: true;\n$offcanvas-exit-background: rgba($white, 0.25);\n$maincontent-class: 'off-canvas-content';\n\n// 26. Orbit\n// ---------\n\n$orbit-bullet-background: $medium-gray;\n$orbit-bullet-background-active: $dark-gray;\n$orbit-bullet-diameter: 1.2rem;\n$orbit-bullet-margin: 0.1rem;\n$orbit-bullet-margin-top: 0.8rem;\n$orbit-bullet-margin-bottom: 0.8rem;\n$orbit-caption-background: rgba($black, 0.5);\n$orbit-caption-padding: 1rem;\n$orbit-control-background-hover: rgba($black, 0.5);\n$orbit-control-padding: 1rem;\n$orbit-control-zindex: 10;\n\n// 27. Pagination\n// --------------\n\n$pagination-font-size: rem-calc(14);\n$pagination-margin-bottom: $global-margin;\n$pagination-item-color: $black;\n$pagination-item-padding: rem-calc(3 10);\n$pagination-item-spacing: rem-calc(1);\n$pagination-radius: $global-radius;\n$pagination-item-background-hover: $light-gray;\n$pagination-item-background-current: $primary-color;\n$pagination-item-color-current: $white;\n$pagination-item-color-disabled: $medium-gray;\n$pagination-ellipsis-color: $black;\n$pagination-mobile-items: false;\n$pagination-mobile-current-item: false;\n$pagination-arrows: true;\n\n// 28. Progress Bar\n// ----------------\n\n$progress-height: 1rem;\n$progress-background: $medium-gray;\n$progress-margin-bottom: $global-margin;\n$progress-meter-background: $primary-color;\n$progress-radius: $global-radius;\n\n// 29. Prototype Arrow\n// -------------------\n\n$prototype-arrow-directions: (down, up, right, left);\n$prototype-arrow-size: 0.4375rem;\n$prototype-arrow-color: $black;\n\n// 30. Prototype Border-Box\n// ------------------------\n\n$prototype-border-box-breakpoints: $global-prototype-breakpoints;\n\n// 31. Prototype Border-None\n// -------------------------\n\n$prototype-border-none-breakpoints: $global-prototype-breakpoints;\n\n// 32. Prototype Bordered\n// ----------------------\n\n$prototype-bordered-breakpoints: $global-prototype-breakpoints;\n$prototype-border-width: rem-calc(1);\n$prototype-border-type: solid;\n$prototype-border-color: $medium-gray;\n\n// 33. Prototype Display\n// ---------------------\n\n$prototype-display-breakpoints: $global-prototype-breakpoints;\n$prototype-display: (inline, inline-block, block, table, table-cell);\n\n// 34. Prototype Font-Styling\n// --------------------------\n\n$prototype-font-breakpoints: $global-prototype-breakpoints;\n$prototype-wide-letter-spacing: rem-calc(4);\n$prototype-font-normal: $global-weight-normal;\n$prototype-font-bold: $global-weight-bold;\n\n// 35. Prototype List-Style-Type\n// -----------------------------\n\n$prototype-list-breakpoints: $global-prototype-breakpoints;\n$prototype-style-type-unordered: (disc, circle, square);\n$prototype-style-type-ordered: (\n decimal,\n lower-alpha,\n lower-latin,\n lower-roman,\n upper-alpha,\n upper-latin,\n upper-roman\n);\n\n// 36. Prototype Overflow\n// ----------------------\n\n$prototype-overflow-breakpoints: $global-prototype-breakpoints;\n$prototype-overflow: (visible, hidden, scroll);\n\n// 37. Prototype Position\n// ----------------------\n\n$prototype-position-breakpoints: $global-prototype-breakpoints;\n$prototype-position: (static, relative, absolute, fixed);\n$prototype-position-z-index: 975;\n\n// 38. Prototype Rounded\n// ---------------------\n\n$prototype-rounded-breakpoints: $global-prototype-breakpoints;\n$prototype-border-radius: rem-calc(3);\n\n// 39. Prototype Separator\n// -----------------------\n\n$prototype-separator-breakpoints: $global-prototype-breakpoints;\n$prototype-separator-align: center;\n$prototype-separator-height: rem-calc(2);\n$prototype-separator-width: 3rem;\n$prototype-separator-background: $primary-color;\n$prototype-separator-margin-top: $global-margin;\n\n// 40. Prototype Shadow\n// --------------------\n\n$prototype-shadow-breakpoints: $global-prototype-breakpoints;\n$prototype-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16),\n 0 2px 10px 0 rgba(0, 0, 0, 0.12);\n\n// 41. Prototype Sizing\n// --------------------\n\n$prototype-sizing-breakpoints: $global-prototype-breakpoints;\n$prototype-sizing: (width, height);\n$prototype-sizes: (\n 25: 25%,\n 50: 50%,\n 75: 75%,\n 100: 100%,\n);\n\n// 42. Prototype Spacing\n// ---------------------\n\n$prototype-spacing-breakpoints: $global-prototype-breakpoints;\n$prototype-spacers-count: 3;\n\n// 43. Prototype Text-Decoration\n// -----------------------------\n\n$prototype-decoration-breakpoints: $global-prototype-breakpoints;\n$prototype-text-decoration: (overline, underline, line-through);\n\n// 44. Prototype Text-Transformation\n// ---------------------------------\n\n$prototype-transformation-breakpoints: $global-prototype-breakpoints;\n$prototype-text-transformation: (lowercase, uppercase, capitalize);\n\n// 45. Prototype Text-Utilities\n// ----------------------------\n\n$prototype-utilities-breakpoints: $global-prototype-breakpoints;\n$prototype-text-overflow: ellipsis;\n\n// 46. Responsive Embed\n// --------------------\n\n$responsive-embed-margin-bottom: rem-calc(16);\n$responsive-embed-ratios: (\n default: 4 by 3,\n widescreen: 16 by 9,\n);\n\n// 47. Reveal\n// ----------\n\n$reveal-background: $white;\n$reveal-width: 600px;\n$reveal-max-width: $global-width;\n$reveal-padding: $global-padding;\n$reveal-border: 1px solid $medium-gray;\n$reveal-radius: $global-radius;\n$reveal-zindex: 1005;\n$reveal-overlay-background: rgba($black, 0.45);\n\n// 48. Slider\n// ----------\n\n$slider-width-vertical: 0.5rem;\n$slider-transition: all 0.2s ease-in-out;\n$slider-height: 0.5rem;\n$slider-background: $light-gray;\n$slider-fill-background: $medium-gray;\n$slider-handle-height: 1.4rem;\n$slider-handle-width: 1.4rem;\n$slider-handle-background: $primary-color;\n$slider-opacity-disabled: 0.25;\n$slider-radius: $global-radius;\n\n// 49. Switch\n// ----------\n\n$switch-background: $medium-gray;\n$switch-background-active: $primary-color;\n$switch-height: 2rem;\n$switch-height-tiny: 1.5rem;\n$switch-height-small: 1.75rem;\n$switch-height-large: 2.5rem;\n$switch-radius: $global-radius;\n$switch-margin: $global-margin;\n$switch-paddle-background: $white;\n$switch-paddle-offset: 0.25rem;\n$switch-paddle-radius: $global-radius;\n$switch-paddle-transition: all 0.25s ease-out;\n\n// 50. Table\n// ---------\n\n$table-background: $white;\n$table-color-scale: 5%;\n$table-border: 1px solid smart-scale($table-background, $table-color-scale);\n$table-padding: rem-calc(8 10 10);\n$table-hover-scale: 2%;\n$table-row-hover: darken($table-background, $table-hover-scale);\n$table-row-stripe-hover: darken(\n $table-background,\n $table-color-scale + $table-hover-scale\n);\n$table-is-striped: true;\n$table-striped-background: smart-scale($table-background, $table-color-scale);\n$table-stripe: even;\n$table-head-background: smart-scale(\n $table-background,\n $table-color-scale * 0.5\n);\n$table-head-row-hover: darken($table-head-background, $table-hover-scale);\n$table-foot-background: smart-scale($table-background, $table-color-scale);\n$table-foot-row-hover: darken($table-foot-background, $table-hover-scale);\n$table-head-font-color: $body-font-color;\n$table-foot-font-color: $body-font-color;\n$show-header-for-stacked: false;\n$table-stack-breakpoint: medium;\n\n// 51. Tabs\n// --------\n\n$tab-margin: 0;\n$tab-background: $white;\n$tab-color: $primary-color;\n$tab-background-active: $light-gray;\n$tab-active-color: $primary-color;\n$tab-item-font-size: rem-calc(12);\n$tab-item-background-hover: $white;\n$tab-item-padding: 1.25rem 1.5rem;\n$tab-expand-max: 6;\n$tab-content-background: $white;\n$tab-content-border: $light-gray;\n$tab-content-color: $body-font-color;\n$tab-content-padding: 1rem;\n\n// 52. Thumbnail\n// -------------\n\n$thumbnail-border: solid 4px $white;\n$thumbnail-margin-bottom: $global-margin;\n$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);\n$thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);\n$thumbnail-transition: box-shadow 200ms ease-out;\n$thumbnail-radius: $global-radius;\n\n// 53. Title Bar\n// -------------\n\n$titlebar-background: $black;\n$titlebar-color: $white;\n$titlebar-padding: 0.5rem;\n$titlebar-text-font-weight: bold;\n$titlebar-icon-color: $white;\n$titlebar-icon-color-hover: $medium-gray;\n$titlebar-icon-spacing: 0.25rem;\n\n// 54. Tooltip\n// -----------\n\n$has-tip-cursor: help;\n$has-tip-font-weight: $global-weight-bold;\n$has-tip-border-bottom: dotted 1px $dark-gray;\n$tooltip-background-color: $black;\n$tooltip-color: $white;\n$tooltip-padding: 0.75rem;\n$tooltip-max-width: 10rem;\n$tooltip-font-size: $small-font-size;\n$tooltip-pip-width: 0.75rem;\n$tooltip-pip-height: $tooltip-pip-width * 0.866;\n$tooltip-radius: $global-radius;\n\n// 55. Top Bar\n// -----------\n\n$topbar-padding: 0.5rem;\n$topbar-background: $light-gray;\n$topbar-submenu-background: $topbar-background;\n$topbar-title-spacing: 0.5rem 1rem 0.5rem 0;\n$topbar-input-width: 200px;\n$topbar-unstack-breakpoint: medium;\n\n// 56. Xy Grid\n// -----------\n\n$xy-grid: true;\n$grid-container: $global-width;\n$grid-columns: 12;\n$grid-margin-gutters: (\n small: 20px,\n medium: 30px,\n);\n$grid-padding-gutters: $grid-margin-gutters;\n$grid-container-padding: $grid-padding-gutters;\n$grid-container-max: $global-width;\n$xy-block-grid-max: 8;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___}}]); \ No newline at end of file diff --git a/CodeBlock-stories.d35acaf2.iframe.bundle.js.br b/CodeBlock-stories.d35acaf2.iframe.bundle.js.br new file mode 100644 index 00000000..fb090355 Binary files /dev/null and b/CodeBlock-stories.d35acaf2.iframe.bundle.js.br differ diff --git a/CodeBlock-stories.d35acaf2.iframe.bundle.js.gz b/CodeBlock-stories.d35acaf2.iframe.bundle.js.gz new file mode 100644 index 00000000..12460a29 Binary files /dev/null and b/CodeBlock-stories.d35acaf2.iframe.bundle.js.gz differ diff --git a/EllipsisReveal-stories.82f35783.iframe.bundle.js b/EllipsisReveal-stories.82f35783.iframe.bundle.js deleted file mode 100644 index db18a817..00000000 --- a/EllipsisReveal-stories.82f35783.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[2449],{"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:i+""}function _defineProperty(obj,key,value){return(key=toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.d(__webpack_exports__,{A:function(){return _defineProperty}})},"./stories/EllipsisReveal.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{EllipsisReveal:function(){return EllipsisReveal_stories_EllipsisReveal},EllipsisRevealInGroup:function(){return EllipsisRevealInGroup},__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return EllipsisReveal_stories}});var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=(__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/react/index.js")),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),components_button=__webpack_require__("./src/components/button.tsx"),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),ellipsis_reveal=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/ellipsis-reveal.scss"),ellipsis_reveal_default=__webpack_require__.n(ellipsis_reveal),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(ellipsis_reveal_default(),options),ellipsis_reveal_default()&&ellipsis_reveal_default().locals&&ellipsis_reveal_default().locals;var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const _excluded=["children","className","title","contextKey"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r{let{children:children}=_ref;const state=(0,react.useState)(new Set);return(0,jsx_runtime.jsx)(Context.Provider,{value:state,children:children})};Provider.displayName="Provider";const EllipsisReveal=_ref2=>{let{children:children,className:className,title:title,contextKey:contextKey}=_ref2,props=(0,objectWithoutProperties.A)(_ref2,_excluded);const contextState=(0,react.useContext)(Context),openFromContext=contextState&&contextKey&&contextState[0].has(contextKey),[open,setOpen]=(0,react.useState)(!1);return open||openFromContext?(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:children}):(0,jsx_runtime.jsx)(components_button.$,_objectSpread(_objectSpread({variant:"tertiary",onClick:()=>{setOpen(!0),contextKey&&contextState&&contextState[1]((previousSet=>new Set([...previousSet,contextKey])))},className:classnames_default()(className,"ellipsis-reveal"),title:title||"Show more","aria-expanded":"false"},props),{},{children:"[...]"}))};EllipsisReveal.displayName="EllipsisReveal",EllipsisReveal.Provider=Provider;var src_components_ellipsis_reveal=EllipsisReveal;try{EllipsisRevealContext.displayName="EllipsisRevealContext",EllipsisRevealContext.__docgenInfo={description:"",displayName:"EllipsisRevealContext",props:{contextKey:{defaultValue:null,description:"",name:"contextKey",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ellipsis-reveal.tsx#EllipsisRevealContext"]={docgenInfo:EllipsisRevealContext.__docgenInfo,name:"EllipsisRevealContext",path:"src/components/ellipsis-reveal.tsx#EllipsisRevealContext"})}catch(__react_docgen_typescript_loader_error){}var lipsum=__webpack_require__("./src/mock-data/lipsum.tsx"),EllipsisReveal_stories={title:"Data/Ellipsis Reveal",decorators:[]};const EllipsisReveal_stories_EllipsisReveal=()=>(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:["Some text"," ",(0,jsx_runtime.jsx)(src_components_ellipsis_reveal,{children:(0,lipsum.FZ)()})]}),EllipsisRevealInGroup=()=>(0,jsx_runtime.jsxs)(src_components_ellipsis_reveal.Provider,{children:[(0,jsx_runtime.jsxs)("p",{children:["Some text"," ",(0,jsx_runtime.jsx)(src_components_ellipsis_reveal,{contextKey:"group",children:(0,lipsum.FZ)()})]}),(0,jsx_runtime.jsxs)("p",{children:["Some other text"," ",(0,jsx_runtime.jsx)(src_components_ellipsis_reveal,{contextKey:"group",children:(0,lipsum.FZ)()})]}),(0,jsx_runtime.jsxs)("p",{children:["Some other text again"," ",(0,jsx_runtime.jsx)(src_components_ellipsis_reveal,{contextKey:"group",children:(0,lipsum.FZ)()})]})]});EllipsisRevealInGroup.displayName="EllipsisRevealInGroup",EllipsisReveal_stories_EllipsisReveal.parameters={...EllipsisReveal_stories_EllipsisReveal.parameters,docs:{...EllipsisReveal_stories_EllipsisReveal.parameters?.docs,source:{originalSource:"() => <>\n Some text{' '}\n {getLipsumSentences()}\n ",...EllipsisReveal_stories_EllipsisReveal.parameters?.docs?.source}}},EllipsisRevealInGroup.parameters={...EllipsisRevealInGroup.parameters,docs:{...EllipsisRevealInGroup.parameters?.docs,source:{originalSource:"() => \n

\n Some text{' '}\n \n {getLipsumSentences()}\n \n

\n

\n Some other text{' '}\n \n {getLipsumSentences()}\n \n

\n

\n Some other text again{' '}\n \n {getLipsumSentences()}\n \n

\n
",...EllipsisRevealInGroup.parameters?.docs?.source}}};const __namedExportsOrder=["EllipsisReveal","EllipsisRevealInGroup"]},"./src/mock-data/lipsum.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{FZ:function(){return getLipsumSentences},Td:function(){return getLipsumObjectArray}});__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.object.from-entries.js");var lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/lorem-ipsum/dist/index.js"),uuid__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/uuid/dist/esm-browser/v1.js");const getLipsumSentences=()=>(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__.Ok)({sentenceLowerBound:2,sentenceUpperBound:30}),getLipsumObjectArray=_ref=>{let{numberElements:numberElements,keys:keys,idKey:idKey="id",type:type="sentences"}=_ref;return Array.from({length:numberElements},(()=>Object.fromEntries([[[idKey],(0,uuid__WEBPACK_IMPORTED_MODULE_3__.A)()],...keys.map((key=>[key,"sentences"===type?getLipsumSentences():(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__.Ok)({count:2,units:"words"})]))])))};try{getLipsumObjectArray.displayName="getLipsumObjectArray",getLipsumObjectArray.__docgenInfo={description:"",displayName:"getLipsumObjectArray",props:{numberElements:{defaultValue:null,description:"",name:"numberElements",required:!0,type:{name:"number"}},keys:{defaultValue:null,description:"",name:"keys",required:!0,type:{name:"string[]"}},idKey:{defaultValue:{value:"id"},description:"",name:"idKey",required:!1,type:{name:"string"}},type:{defaultValue:{value:"sentences"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"sentences"'},{value:'"words"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/mock-data/lipsum.tsx#getLipsumObjectArray"]={docgenInfo:getLipsumObjectArray.__docgenInfo,name:"getLipsumObjectArray",path:"src/mock-data/lipsum.tsx#getLipsumObjectArray"})}catch(__react_docgen_typescript_loader_error){}try{lipsum.displayName="lipsum",lipsum.__docgenInfo={description:"",displayName:"lipsum",props:{numberElements:{defaultValue:null,description:"",name:"numberElements",required:!0,type:{name:"number"}},keys:{defaultValue:null,description:"",name:"keys",required:!0,type:{name:"string[]"}},idKey:{defaultValue:{value:"id"},description:"",name:"idKey",required:!1,type:{name:"string"}},type:{defaultValue:{value:"sentences"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"sentences"'},{value:'"words"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/mock-data/lipsum.tsx#lipsum"]={docgenInfo:lipsum.__docgenInfo,name:"lipsum",path:"src/mock-data/lipsum.tsx#lipsum"})}catch(__react_docgen_typescript_loader_error){}},"./node_modules/core-js/internals/classof.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var TO_STRING_TAG_SUPPORT=__webpack_require__("./node_modules/core-js/internals/to-string-tag-support.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),TO_STRING_TAG=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),$Object=Object,CORRECT_ARGUMENTS="Arguments"===classofRaw(function(){return arguments}());module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(tag=function(it,key){try{return it[key]}catch(error){}}(O=$Object(it),TO_STRING_TAG))?tag:CORRECT_ARGUMENTS?classofRaw(O):"Object"===(result=classofRaw(O))&&isCallable(O.callee)?"Arguments":result}},"./node_modules/core-js/internals/create-property.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var toPropertyKey=__webpack_require__("./node_modules/core-js/internals/to-property-key.js"),definePropertyModule=__webpack_require__("./node_modules/core-js/internals/object-define-property.js"),createPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/create-property-descriptor.js");module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}},"./node_modules/core-js/internals/function-bind-context.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this-clause.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),NATIVE_BIND=__webpack_require__("./node_modules/core-js/internals/function-bind-native.js"),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),void 0===that?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}},"./node_modules/core-js/internals/function-uncurry-this-clause.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=function(fn){if("Function"===classofRaw(fn))return uncurryThis(fn)}},"./node_modules/core-js/internals/get-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js"),isNullOrUndefined=__webpack_require__("./node_modules/core-js/internals/is-null-or-undefined.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}},"./node_modules/core-js/internals/get-iterator.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}},"./node_modules/core-js/internals/iterate.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),isArrayIteratorMethod=__webpack_require__("./node_modules/core-js/internals/is-array-iterator-method.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),getIterator=__webpack_require__("./node_modules/core-js/internals/get-iterator.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),iteratorClose=__webpack_require__("./node_modules/core-js/internals/iterator-close.js"),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var iterator,iterFn,index,length,result,next,step,that=options&&options.that,AS_ENTRIES=!(!options||!options.AS_ENTRIES),IS_RECORD=!(!options||!options.IS_RECORD),IS_ITERATOR=!(!options||!options.IS_ITERATOR),INTERRUPTED=!(!options||!options.INTERRUPTED),fn=bind(unboundFunction,that),stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(!(iterFn=getIteratorMethod(iterable)))throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if((result=callFn(iterable[index]))&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if("object"==typeof result&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}},"./node_modules/core-js/internals/iterator-close.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js");module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(!(innerResult=getMethod(iterator,"return"))){if("throw"===kind)throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if("throw"===kind)throw value;if(innerError)throw innerResult;return anObject(innerResult),value}},"./node_modules/core-js/internals/to-string-tag-support.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var test={};test[__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag")]="z",module.exports="[object z]"===String(test)},"./node_modules/core-js/modules/es.object.from-entries.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),iterate=__webpack_require__("./node_modules/core-js/internals/iterate.js"),createProperty=__webpack_require__("./node_modules/core-js/internals/create-property.js");$({target:"Object",stat:!0},{fromEntries:function fromEntries(iterable){var obj={};return iterate(iterable,(function(k,v){createProperty(obj,k,v)}),{AS_ENTRIES:!0}),obj}})},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/ellipsis-reveal.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,".button.ellipsis-reveal{vertical-align:baseline;margin:0}","",{version:3,sources:["webpack://./src/styles/components/ellipsis-reveal.scss"],names:[],mappings:"AAAA,wBAEE,uBAAA,CACA,QAAA",sourcesContent:[".button.ellipsis-reveal {\n // Make sure it's all aligned with the rest of the text\n vertical-align: baseline;\n margin: 0;\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},"./node_modules/uuid/dist/esm-browser/v1.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _rng_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/uuid/dist/esm-browser/rng.js"),_stringify_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/uuid/dist/esm-browser/stringify.js");let _nodeId,_clockseq,_lastMSecs=0,_lastNSecs=0;__webpack_exports__.A=function v1(options,buf,offset){let i=buf&&offset||0;const b=buf||new Array(16);let node=(options=options||{}).node||_nodeId,clockseq=void 0!==options.clockseq?options.clockseq:_clockseq;if(null==node||null==clockseq){const seedBytes=options.random||(options.rng||_rng_js__WEBPACK_IMPORTED_MODULE_0__.A)();null==node&&(node=_nodeId=[1|seedBytes[0],seedBytes[1],seedBytes[2],seedBytes[3],seedBytes[4],seedBytes[5]]),null==clockseq&&(clockseq=_clockseq=16383&(seedBytes[6]<<8|seedBytes[7]))}let msecs=void 0!==options.msecs?options.msecs:Date.now(),nsecs=void 0!==options.nsecs?options.nsecs:_lastNSecs+1;const dt=msecs-_lastMSecs+(nsecs-_lastNSecs)/1e4;if(dt<0&&void 0===options.clockseq&&(clockseq=clockseq+1&16383),(dt<0||msecs>_lastMSecs)&&void 0===options.nsecs&&(nsecs=0),nsecs>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_lastMSecs=msecs,_lastNSecs=nsecs,_clockseq=clockseq,msecs+=122192928e5;const tl=(1e4*(268435455&msecs)+nsecs)%4294967296;b[i++]=tl>>>24&255,b[i++]=tl>>>16&255,b[i++]=tl>>>8&255,b[i++]=255&tl;const tmh=msecs/4294967296*1e4&268435455;b[i++]=tmh>>>8&255,b[i++]=255&tmh,b[i++]=tmh>>>24&15|16,b[i++]=tmh>>>16&255,b[i++]=clockseq>>>8|128,b[i++]=255&clockseq;for(let n=0;n<6;++n)b[i+n]=node[n];return buf||(0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__.k)(b)}}}]); \ No newline at end of file diff --git a/EllipsisReveal-stories.82f35783.iframe.bundle.js.br b/EllipsisReveal-stories.82f35783.iframe.bundle.js.br deleted file mode 100644 index cf297c4a..00000000 Binary files a/EllipsisReveal-stories.82f35783.iframe.bundle.js.br and /dev/null differ diff --git a/EllipsisReveal-stories.82f35783.iframe.bundle.js.gz b/EllipsisReveal-stories.82f35783.iframe.bundle.js.gz deleted file mode 100644 index 46448ba6..00000000 Binary files a/EllipsisReveal-stories.82f35783.iframe.bundle.js.gz and /dev/null differ diff --git a/EllipsisReveal-stories.f5fb30d3.iframe.bundle.js b/EllipsisReveal-stories.f5fb30d3.iframe.bundle.js new file mode 100644 index 00000000..bced5807 --- /dev/null +++ b/EllipsisReveal-stories.f5fb30d3.iframe.bundle.js @@ -0,0 +1 @@ +(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[2449],{"./stories/EllipsisReveal.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{EllipsisReveal:function(){return EllipsisReveal_stories_EllipsisReveal},EllipsisRevealInGroup:function(){return EllipsisRevealInGroup},__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return EllipsisReveal_stories}});var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=(__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/react/index.js")),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),components_button=__webpack_require__("./src/components/button.tsx"),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),ellipsis_reveal=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/ellipsis-reveal.scss"),ellipsis_reveal_default=__webpack_require__.n(ellipsis_reveal),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(ellipsis_reveal_default(),options),ellipsis_reveal_default()&&ellipsis_reveal_default().locals&&ellipsis_reveal_default().locals;var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const _excluded=["children","className","title","contextKey"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r{let{children:children}=_ref;const state=(0,react.useState)(new Set);return(0,jsx_runtime.jsx)(Context.Provider,{value:state,children:children})};Provider.displayName="Provider";const EllipsisReveal=_ref2=>{let{children:children,className:className,title:title,contextKey:contextKey}=_ref2,props=(0,objectWithoutProperties.A)(_ref2,_excluded);const contextState=(0,react.useContext)(Context),openFromContext=contextState&&contextKey&&contextState[0].has(contextKey),[open,setOpen]=(0,react.useState)(!1);return open||openFromContext?(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:children}):(0,jsx_runtime.jsx)(components_button.$,_objectSpread(_objectSpread({variant:"tertiary",onClick:()=>{setOpen(!0),contextKey&&contextState&&contextState[1]((previousSet=>new Set([...previousSet,contextKey])))},className:classnames_default()(className,"ellipsis-reveal"),title:title||"Show more","aria-expanded":"false"},props),{},{children:"[...]"}))};EllipsisReveal.displayName="EllipsisReveal",EllipsisReveal.Provider=Provider;var src_components_ellipsis_reveal=EllipsisReveal;try{EllipsisRevealContext.displayName="EllipsisRevealContext",EllipsisRevealContext.__docgenInfo={description:"",displayName:"EllipsisRevealContext",props:{contextKey:{defaultValue:null,description:"",name:"contextKey",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/ellipsis-reveal.tsx#EllipsisRevealContext"]={docgenInfo:EllipsisRevealContext.__docgenInfo,name:"EllipsisRevealContext",path:"src/components/ellipsis-reveal.tsx#EllipsisRevealContext"})}catch(__react_docgen_typescript_loader_error){}var lipsum=__webpack_require__("./src/mock-data/lipsum.tsx"),EllipsisReveal_stories={title:"Data/Ellipsis Reveal",decorators:[]};const EllipsisReveal_stories_EllipsisReveal=()=>(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:["Some text"," ",(0,jsx_runtime.jsx)(src_components_ellipsis_reveal,{children:(0,lipsum.FZ)()})]}),EllipsisRevealInGroup=()=>(0,jsx_runtime.jsxs)(src_components_ellipsis_reveal.Provider,{children:[(0,jsx_runtime.jsxs)("p",{children:["Some text"," ",(0,jsx_runtime.jsx)(src_components_ellipsis_reveal,{contextKey:"group",children:(0,lipsum.FZ)()})]}),(0,jsx_runtime.jsxs)("p",{children:["Some other text"," ",(0,jsx_runtime.jsx)(src_components_ellipsis_reveal,{contextKey:"group",children:(0,lipsum.FZ)()})]}),(0,jsx_runtime.jsxs)("p",{children:["Some other text again"," ",(0,jsx_runtime.jsx)(src_components_ellipsis_reveal,{contextKey:"group",children:(0,lipsum.FZ)()})]})]});EllipsisRevealInGroup.displayName="EllipsisRevealInGroup",EllipsisReveal_stories_EllipsisReveal.parameters={...EllipsisReveal_stories_EllipsisReveal.parameters,docs:{...EllipsisReveal_stories_EllipsisReveal.parameters?.docs,source:{originalSource:"() => <>\n Some text{' '}\n {getLipsumSentences()}\n ",...EllipsisReveal_stories_EllipsisReveal.parameters?.docs?.source}}},EllipsisRevealInGroup.parameters={...EllipsisRevealInGroup.parameters,docs:{...EllipsisRevealInGroup.parameters?.docs,source:{originalSource:"() => \n

\n Some text{' '}\n \n {getLipsumSentences()}\n \n

\n

\n Some other text{' '}\n \n {getLipsumSentences()}\n \n

\n

\n Some other text again{' '}\n \n {getLipsumSentences()}\n \n

\n
",...EllipsisRevealInGroup.parameters?.docs?.source}}};const __namedExportsOrder=["EllipsisReveal","EllipsisRevealInGroup"]},"./src/mock-data/lipsum.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{FZ:function(){return getLipsumSentences},Td:function(){return getLipsumObjectArray}});__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.object.from-entries.js");var lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/lorem-ipsum/dist/index.js"),uuid__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/uuid/dist/esm-browser/v1.js");const getLipsumSentences=()=>(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__.Ok)({sentenceLowerBound:2,sentenceUpperBound:30}),getLipsumObjectArray=_ref=>{let{numberElements:numberElements,keys:keys,idKey:idKey="id",type:type="sentences"}=_ref;return Array.from({length:numberElements},(()=>Object.fromEntries([[[idKey],(0,uuid__WEBPACK_IMPORTED_MODULE_3__.A)()],...keys.map((key=>[key,"sentences"===type?getLipsumSentences():(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__.Ok)({count:2,units:"words"})]))])))};try{getLipsumObjectArray.displayName="getLipsumObjectArray",getLipsumObjectArray.__docgenInfo={description:"",displayName:"getLipsumObjectArray",props:{numberElements:{defaultValue:null,description:"",name:"numberElements",required:!0,type:{name:"number"}},keys:{defaultValue:null,description:"",name:"keys",required:!0,type:{name:"string[]"}},idKey:{defaultValue:{value:"id"},description:"",name:"idKey",required:!1,type:{name:"string"}},type:{defaultValue:{value:"sentences"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"sentences"'},{value:'"words"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/mock-data/lipsum.tsx#getLipsumObjectArray"]={docgenInfo:getLipsumObjectArray.__docgenInfo,name:"getLipsumObjectArray",path:"src/mock-data/lipsum.tsx#getLipsumObjectArray"})}catch(__react_docgen_typescript_loader_error){}try{lipsum.displayName="lipsum",lipsum.__docgenInfo={description:"",displayName:"lipsum",props:{numberElements:{defaultValue:null,description:"",name:"numberElements",required:!0,type:{name:"number"}},keys:{defaultValue:null,description:"",name:"keys",required:!0,type:{name:"string[]"}},idKey:{defaultValue:{value:"id"},description:"",name:"idKey",required:!1,type:{name:"string"}},type:{defaultValue:{value:"sentences"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"sentences"'},{value:'"words"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/mock-data/lipsum.tsx#lipsum"]={docgenInfo:lipsum.__docgenInfo,name:"lipsum",path:"src/mock-data/lipsum.tsx#lipsum"})}catch(__react_docgen_typescript_loader_error){}},"./node_modules/core-js/internals/classof.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var TO_STRING_TAG_SUPPORT=__webpack_require__("./node_modules/core-js/internals/to-string-tag-support.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),TO_STRING_TAG=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),$Object=Object,CORRECT_ARGUMENTS="Arguments"===classofRaw(function(){return arguments}());module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(tag=function(it,key){try{return it[key]}catch(error){}}(O=$Object(it),TO_STRING_TAG))?tag:CORRECT_ARGUMENTS?classofRaw(O):"Object"===(result=classofRaw(O))&&isCallable(O.callee)?"Arguments":result}},"./node_modules/core-js/internals/create-property.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var toPropertyKey=__webpack_require__("./node_modules/core-js/internals/to-property-key.js"),definePropertyModule=__webpack_require__("./node_modules/core-js/internals/object-define-property.js"),createPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/create-property-descriptor.js");module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}},"./node_modules/core-js/internals/function-bind-context.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this-clause.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),NATIVE_BIND=__webpack_require__("./node_modules/core-js/internals/function-bind-native.js"),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),void 0===that?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}},"./node_modules/core-js/internals/function-uncurry-this-clause.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=function(fn){if("Function"===classofRaw(fn))return uncurryThis(fn)}},"./node_modules/core-js/internals/get-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js"),isNullOrUndefined=__webpack_require__("./node_modules/core-js/internals/is-null-or-undefined.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}},"./node_modules/core-js/internals/get-iterator.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}},"./node_modules/core-js/internals/iterate.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),isArrayIteratorMethod=__webpack_require__("./node_modules/core-js/internals/is-array-iterator-method.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),getIterator=__webpack_require__("./node_modules/core-js/internals/get-iterator.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),iteratorClose=__webpack_require__("./node_modules/core-js/internals/iterator-close.js"),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var iterator,iterFn,index,length,result,next,step,that=options&&options.that,AS_ENTRIES=!(!options||!options.AS_ENTRIES),IS_RECORD=!(!options||!options.IS_RECORD),IS_ITERATOR=!(!options||!options.IS_ITERATOR),INTERRUPTED=!(!options||!options.INTERRUPTED),fn=bind(unboundFunction,that),stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(!(iterFn=getIteratorMethod(iterable)))throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if((result=callFn(iterable[index]))&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if("object"==typeof result&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}},"./node_modules/core-js/internals/iterator-close.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js");module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(!(innerResult=getMethod(iterator,"return"))){if("throw"===kind)throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if("throw"===kind)throw value;if(innerError)throw innerResult;return anObject(innerResult),value}},"./node_modules/core-js/internals/to-string-tag-support.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var test={};test[__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag")]="z",module.exports="[object z]"===String(test)},"./node_modules/core-js/modules/es.object.from-entries.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),iterate=__webpack_require__("./node_modules/core-js/internals/iterate.js"),createProperty=__webpack_require__("./node_modules/core-js/internals/create-property.js");$({target:"Object",stat:!0},{fromEntries:function fromEntries(iterable){var obj={};return iterate(iterable,(function(k,v){createProperty(obj,k,v)}),{AS_ENTRIES:!0}),obj}})},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/ellipsis-reveal.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,".button.ellipsis-reveal{vertical-align:baseline;margin:0}","",{version:3,sources:["webpack://./src/styles/components/ellipsis-reveal.scss"],names:[],mappings:"AAAA,wBAEE,uBAAA,CACA,QAAA",sourcesContent:[".button.ellipsis-reveal {\n // Make sure it's all aligned with the rest of the text\n vertical-align: baseline;\n margin: 0;\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},"./node_modules/uuid/dist/esm-browser/v1.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _rng_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/uuid/dist/esm-browser/rng.js"),_stringify_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/uuid/dist/esm-browser/stringify.js");let _nodeId,_clockseq,_lastMSecs=0,_lastNSecs=0;__webpack_exports__.A=function v1(options,buf,offset){let i=buf&&offset||0;const b=buf||new Array(16);let node=(options=options||{}).node||_nodeId,clockseq=void 0!==options.clockseq?options.clockseq:_clockseq;if(null==node||null==clockseq){const seedBytes=options.random||(options.rng||_rng_js__WEBPACK_IMPORTED_MODULE_0__.A)();null==node&&(node=_nodeId=[1|seedBytes[0],seedBytes[1],seedBytes[2],seedBytes[3],seedBytes[4],seedBytes[5]]),null==clockseq&&(clockseq=_clockseq=16383&(seedBytes[6]<<8|seedBytes[7]))}let msecs=void 0!==options.msecs?options.msecs:Date.now(),nsecs=void 0!==options.nsecs?options.nsecs:_lastNSecs+1;const dt=msecs-_lastMSecs+(nsecs-_lastNSecs)/1e4;if(dt<0&&void 0===options.clockseq&&(clockseq=clockseq+1&16383),(dt<0||msecs>_lastMSecs)&&void 0===options.nsecs&&(nsecs=0),nsecs>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_lastMSecs=msecs,_lastNSecs=nsecs,_clockseq=clockseq,msecs+=122192928e5;const tl=(1e4*(268435455&msecs)+nsecs)%4294967296;b[i++]=tl>>>24&255,b[i++]=tl>>>16&255,b[i++]=tl>>>8&255,b[i++]=255&tl;const tmh=msecs/4294967296*1e4&268435455;b[i++]=tmh>>>8&255,b[i++]=255&tmh,b[i++]=tmh>>>24&15|16,b[i++]=tmh>>>16&255,b[i++]=clockseq>>>8|128,b[i++]=255&clockseq;for(let n=0;n<6;++n)b[i+n]=node[n];return buf||(0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__.k)(b)}}}]); \ No newline at end of file diff --git a/EllipsisReveal-stories.f5fb30d3.iframe.bundle.js.br b/EllipsisReveal-stories.f5fb30d3.iframe.bundle.js.br new file mode 100644 index 00000000..eaa0d88a Binary files /dev/null and b/EllipsisReveal-stories.f5fb30d3.iframe.bundle.js.br differ diff --git a/EllipsisReveal-stories.f5fb30d3.iframe.bundle.js.gz b/EllipsisReveal-stories.f5fb30d3.iframe.bundle.js.gz new file mode 100644 index 00000000..41ecbe63 Binary files /dev/null and b/EllipsisReveal-stories.f5fb30d3.iframe.bundle.js.gz differ diff --git a/EvidenceTag-stories.6cb8fe06.iframe.bundle.js b/EvidenceTag-stories.6cb8fe06.iframe.bundle.js new file mode 100644 index 00000000..80f8644d --- /dev/null +++ b/EvidenceTag-stories.6cb8fe06.iframe.bundle.js @@ -0,0 +1 @@ +(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[9220],{"./stories/EvidenceTag.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{EvidenceTag:function(){return EvidenceTag_stories_EvidenceTag},__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return EvidenceTag_stories}});var evidence_tag=__webpack_require__("./src/svg/evidence-tag.svg"),information=__webpack_require__("./src/svg/information.svg"),help=__webpack_require__("./src/svg/help.svg"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=(__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/react/index.js")),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),v1=__webpack_require__("./node_modules/uuid/dist/esm-browser/v1.js"),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),components_evidence_tag=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/evidence-tag.scss"),evidence_tag_default=__webpack_require__.n(components_evidence_tag),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(evidence_tag_default(),options),evidence_tag_default()&&evidence_tag_default().locals&&evidence_tag_default().locals;var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const _excluded=["label","title","className","iconComponent","children"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r{let{label:label,title:title,className:className,iconComponent:iconComponent=(0,jsx_runtime.jsx)(evidence_tag.A,{}),children:children}=_ref,props=(0,objectWithoutProperties.A)(_ref,_excluded);const idRef=(0,react.useRef)((0,v1.A)()),[contentDisplay,setContentDisplay]=(0,react.useState)(!1);return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsxs)("button",_objectSpread(_objectSpread({className:classnames_default()(className,"evidence-tag"),onClick:()=>setContentDisplay(!contentDisplay),type:"button","data-testid":"evidence-tag-trigger","aria-expanded":contentDisplay,"aria-controls":idRef.current},props),{},{children:[(0,react.cloneElement)(iconComponent,{width:12,height:12}),(0,jsx_runtime.jsx)("span",{className:"evidence-tag__label",children:label})]})),children&&(0,jsx_runtime.jsx)("div",{className:"evidence-tag-content "+(contentDisplay?"evidence-tag-content--visible":""),"data-testid":"evidence-tag-content",id:idRef.current,children:contentDisplay&&children})]})};try{evidencetag.displayName="evidencetag",evidencetag.__docgenInfo={description:"",displayName:"evidencetag",props:{label:{defaultValue:null,description:"Displayed on the tag",name:"label",required:!0,type:{name:"string"}},iconComponent:{defaultValue:{value:""},description:"Icon to display",name:"iconComponent",required:!1,type:{name:"ReactElement<{ width: number; height: number; }, string | JSXElementConstructor>"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/evidence-tag.tsx#evidencetag"]={docgenInfo:evidencetag.__docgenInfo,name:"evidencetag",path:"src/components/evidence-tag.tsx#evidencetag"})}catch(__react_docgen_typescript_loader_error){}var lipsum=__webpack_require__("./src/mock-data/lipsum.tsx");const IconComponentOptions={EvidenceTag:(0,jsx_runtime.jsx)(evidence_tag.A,{}),InformationIcon:(0,jsx_runtime.jsx)(information.A,{}),HelpIcon:(0,jsx_runtime.jsx)(help.A,{})};var EvidenceTag_stories={component:src_components_evidence_tag,title:"Biocomponents/Evidence Tag",argTypes:{iconComponent:{options:["EvidenceTag","InformationIcon","HelpIcon"],mapping:IconComponentOptions,control:{type:"select"}}},args:{label:"this is an evidence tag",iconComponent:(0,jsx_runtime.jsx)(evidence_tag.A,{})},render:_ref=>{let{label:label,iconComponent:iconComponent}=_ref;return(0,jsx_runtime.jsx)(src_components_evidence_tag,{label:label,iconComponent:iconComponent,children:(0,jsx_runtime.jsxs)("div",{children:[(0,jsx_runtime.jsx)("h5",{children:"Some title"}),(0,jsx_runtime.jsx)("p",{children:(0,lipsum.FZ)()}),(0,jsx_runtime.jsx)("p",{children:(0,lipsum.FZ)()}),(0,jsx_runtime.jsx)("p",{children:(0,lipsum.FZ)()}),(0,jsx_runtime.jsx)("p",{children:(0,lipsum.FZ)()}),(0,jsx_runtime.jsx)("p",{children:(0,lipsum.FZ)()}),(0,jsx_runtime.jsx)("p",{children:(0,lipsum.FZ)()}),(0,jsx_runtime.jsx)("p",{children:(0,lipsum.FZ)()}),(0,jsx_runtime.jsx)("p",{children:(0,lipsum.FZ)()})]})})}};const EvidenceTag_stories_EvidenceTag={};EvidenceTag_stories_EvidenceTag.parameters={...EvidenceTag_stories_EvidenceTag.parameters,docs:{...EvidenceTag_stories_EvidenceTag.parameters?.docs,source:{originalSource:"{}",...EvidenceTag_stories_EvidenceTag.parameters?.docs?.source}}};const __namedExportsOrder=["EvidenceTag"]},"./src/svg/evidence-tag.svg":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _path,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__.Ok)({sentenceLowerBound:2,sentenceUpperBound:30}),getLipsumObjectArray=_ref=>{let{numberElements:numberElements,keys:keys,idKey:idKey="id",type:type="sentences"}=_ref;return Array.from({length:numberElements},(()=>Object.fromEntries([[[idKey],(0,uuid__WEBPACK_IMPORTED_MODULE_3__.A)()],...keys.map((key=>[key,"sentences"===type?getLipsumSentences():(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__.Ok)({count:2,units:"words"})]))])))};try{getLipsumObjectArray.displayName="getLipsumObjectArray",getLipsumObjectArray.__docgenInfo={description:"",displayName:"getLipsumObjectArray",props:{numberElements:{defaultValue:null,description:"",name:"numberElements",required:!0,type:{name:"number"}},keys:{defaultValue:null,description:"",name:"keys",required:!0,type:{name:"string[]"}},idKey:{defaultValue:{value:"id"},description:"",name:"idKey",required:!1,type:{name:"string"}},type:{defaultValue:{value:"sentences"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"sentences"'},{value:'"words"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/mock-data/lipsum.tsx#getLipsumObjectArray"]={docgenInfo:getLipsumObjectArray.__docgenInfo,name:"getLipsumObjectArray",path:"src/mock-data/lipsum.tsx#getLipsumObjectArray"})}catch(__react_docgen_typescript_loader_error){}try{lipsum.displayName="lipsum",lipsum.__docgenInfo={description:"",displayName:"lipsum",props:{numberElements:{defaultValue:null,description:"",name:"numberElements",required:!0,type:{name:"number"}},keys:{defaultValue:null,description:"",name:"keys",required:!0,type:{name:"string[]"}},idKey:{defaultValue:{value:"id"},description:"",name:"idKey",required:!1,type:{name:"string"}},type:{defaultValue:{value:"sentences"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"sentences"'},{value:'"words"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/mock-data/lipsum.tsx#lipsum"]={docgenInfo:lipsum.__docgenInfo,name:"lipsum",path:"src/mock-data/lipsum.tsx#lipsum"})}catch(__react_docgen_typescript_loader_error){}},"./node_modules/core-js/internals/classof.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var TO_STRING_TAG_SUPPORT=__webpack_require__("./node_modules/core-js/internals/to-string-tag-support.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),TO_STRING_TAG=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),$Object=Object,CORRECT_ARGUMENTS="Arguments"===classofRaw(function(){return arguments}());module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(tag=function(it,key){try{return it[key]}catch(error){}}(O=$Object(it),TO_STRING_TAG))?tag:CORRECT_ARGUMENTS?classofRaw(O):"Object"===(result=classofRaw(O))&&isCallable(O.callee)?"Arguments":result}},"./node_modules/core-js/internals/create-property.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var toPropertyKey=__webpack_require__("./node_modules/core-js/internals/to-property-key.js"),definePropertyModule=__webpack_require__("./node_modules/core-js/internals/object-define-property.js"),createPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/create-property-descriptor.js");module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}},"./node_modules/core-js/internals/function-bind-context.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this-clause.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),NATIVE_BIND=__webpack_require__("./node_modules/core-js/internals/function-bind-native.js"),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),void 0===that?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}},"./node_modules/core-js/internals/function-uncurry-this-clause.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=function(fn){if("Function"===classofRaw(fn))return uncurryThis(fn)}},"./node_modules/core-js/internals/get-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js"),isNullOrUndefined=__webpack_require__("./node_modules/core-js/internals/is-null-or-undefined.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}},"./node_modules/core-js/internals/get-iterator.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}},"./node_modules/core-js/internals/iterate.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),isArrayIteratorMethod=__webpack_require__("./node_modules/core-js/internals/is-array-iterator-method.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),getIterator=__webpack_require__("./node_modules/core-js/internals/get-iterator.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),iteratorClose=__webpack_require__("./node_modules/core-js/internals/iterator-close.js"),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var iterator,iterFn,index,length,result,next,step,that=options&&options.that,AS_ENTRIES=!(!options||!options.AS_ENTRIES),IS_RECORD=!(!options||!options.IS_RECORD),IS_ITERATOR=!(!options||!options.IS_ITERATOR),INTERRUPTED=!(!options||!options.INTERRUPTED),fn=bind(unboundFunction,that),stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(!(iterFn=getIteratorMethod(iterable)))throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if((result=callFn(iterable[index]))&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if("object"==typeof result&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}},"./node_modules/core-js/internals/iterator-close.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js");module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(!(innerResult=getMethod(iterator,"return"))){if("throw"===kind)throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if("throw"===kind)throw value;if(innerError)throw innerResult;return anObject(innerResult),value}},"./node_modules/core-js/internals/to-string-tag-support.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var test={};test[__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag")]="z",module.exports="[object z]"===String(test)},"./node_modules/core-js/modules/es.object.from-entries.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),iterate=__webpack_require__("./node_modules/core-js/internals/iterate.js"),createProperty=__webpack_require__("./node_modules/core-js/internals/create-property.js");$({target:"Object",stat:!0},{fromEntries:function fromEntries(iterable){var obj={};return iterate(iterable,(function(k,v){createProperty(obj,k,v)}),{AS_ENTRIES:!0}),obj}})},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/evidence-tag.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"button.evidence-tag{cursor:pointer;position:relative;display:inline-block;font-size:80%;white-space:nowrap;font-size:.75rem;height:1.25rem;line-height:1.25rem;margin-left:.5rem;border-radius:.25rem;background-color:#d2dce3;border:1px solid #8194a1;padding:0 .25rem;color:#161d39}button.evidence-tag:hover,button.evidence-tag:focus,button.evidence-tag:focus-within{background-color:#abc7d6}button.evidence-tag:active{background-color:rgba(78,90,113,.3)}button.evidence-tag svg{position:absolute}.evidence-tag__label{padding-left:1rem;text-transform:capitalize}.evidence-tag-content{opacity:0;max-height:0;overflow:hidden;transition:none;display:inline;background:linear-gradient(#e4e8eb 30%, rgba(255, 255, 255, 0)),linear-gradient(rgba(255, 255, 255, 0), #e4e8eb 70%) 0 100%,radial-gradient(50% 0, farthest-side, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)),radial-gradient(50% 100%, farthest-side, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) 0 100%;background:linear-gradient(#e4e8eb 30%, rgba(255, 255, 255, 0)),linear-gradient(rgba(255, 255, 255, 0), #e4e8eb 70%) 0 100%,radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)),radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) 0 100%;background-repeat:no-repeat;background-color:#e4e8eb;background-size:100% 40px,100% 40px,100% 14px,100% 14px;background-attachment:local,local,scroll,scroll}.evidence-tag-content>div{display:none}.evidence-tag-content--visible{opacity:1;margin:1rem 0;padding:1rem;max-height:25vh;overflow-y:auto;transition:opacity .5s ease-out;display:block}.evidence-tag-content--visible>div{display:block}","",{version:3,sources:["webpack://./src/styles/components/evidence-tag.scss","webpack://./src/styles/_settings.scss","webpack://./colours.json"],names:[],mappings:"AAGA,oBACE,cAAA,CACA,iBAAA,CACA,oBAAA,CACA,aC+KgB,CD9KhB,kBAAA,CACA,gBAAA,CACA,cAAA,CACA,mBAAA,CACA,iBAAA,CACA,oBAAA,CACA,wBEVa,CFWb,wBAAA,CACA,gBAAA,CACA,aEZa,CFcb,qFAGE,wBEdU,CFiBZ,2BACE,mCAAA,CAGF,wBACE,iBAAA,CAIJ,qBACE,iBAAA,CACA,yBAAA,CAGF,sBACE,SAAA,CACA,YAAA,CACA,eAAA,CACA,eAAA,CACA,cAAA,CAEA,6RACsB,CAmBtB,iSACoB,CAiBpB,2BAAA,CACA,wBE5ES,CF6ET,uDAAA,CAEA,+CAAA,CAEA,0BACE,YAAA,CAGF,+BACE,SAAA,CACA,aAAA,CACA,YCVa,CDWb,eAAA,CACA,eAAA,CACA,+BAAA,CACA,aAAA,CAEA,mCACE,aAAA",sourcesContent:["@import '../settings';\n@import '../colours';\n\nbutton.evidence-tag {\n cursor: pointer;\n position: relative;\n display: inline-block;\n font-size: $small-font-size;\n white-space: nowrap;\n font-size: 0.75rem;\n height: 1.25rem;\n line-height: 1.25rem;\n margin-left: $global-margin * 0.5;\n border-radius: $global-padding * 0.25;\n background-color: $colour-gainsborough;\n border: 1px solid $colour-weldon-blue;\n padding: 0 $global-padding * 0.25;\n color: $colour-yankees-blue;\n\n &:hover,\n &:focus,\n &:focus-within {\n background-color: $colour-pastel-blue;\n }\n\n &:active {\n background-color: rgba($colour-independence, 0.3);\n }\n\n svg {\n position: absolute;\n }\n}\n\n.evidence-tag__label {\n padding-left: ($global-padding);\n text-transform: capitalize;\n}\n\n.evidence-tag-content {\n opacity: 0;\n max-height: 0;\n overflow: hidden;\n transition: none;\n display: inline;\n /* shadow trick from http://lea.verou.me/2012/04/background-attachment-local/ */\n background:\n /* Shadow covers */ linear-gradient(\n $colour-platinum 30%,\n rgba(255, 255, 255, 0)\n ),\n linear-gradient(rgba(255, 255, 255, 0), $colour-platinum 70%) 0 100%,\n /* Shadows */\n radial-gradient(\n 50% 0,\n farthest-side,\n rgba(0, 0, 0, 0.2),\n rgba(0, 0, 0, 0)\n ),\n radial-gradient(\n 50% 100%,\n farthest-side,\n rgba(0, 0, 0, 0.2),\n rgba(0, 0, 0, 0)\n )\n 0 100%;\n background:\n /* Shadow covers */ linear-gradient(\n $colour-platinum 30%,\n rgba(255, 255, 255, 0)\n ),\n linear-gradient(rgba(255, 255, 255, 0), $colour-platinum 70%) 0 100%,\n /* Shadows */\n radial-gradient(\n farthest-side at 50% 0,\n rgba(0, 0, 0, 0.2),\n rgba(0, 0, 0, 0)\n ),\n radial-gradient(\n farthest-side at 50% 100%,\n rgba(0, 0, 0, 0.2),\n rgba(0, 0, 0, 0)\n )\n 0 100%;\n background-repeat: no-repeat;\n background-color: $colour-platinum;\n background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;\n /* Opera doesn't support this in the shorthand */\n background-attachment: local, local, scroll, scroll;\n\n & > div {\n display: none;\n }\n\n &--visible {\n opacity: 1;\n margin: $global-margin 0;\n padding: $global-padding;\n max-height: 25vh;\n overflow-y: auto;\n transition: opacity 0.5s ease-out;\n display: block;\n\n & > div {\n display: block;\n }\n }\n}\n","// Foundation for Sites Settings\n// -----------------------------\n//\n// Table of Contents:\n//\n// 1. Global\n// 2. Breakpoints\n// 3. The Grid\n// 4. Base Typography\n// 5. Typography Helpers\n// 6. Abide\n// 7. Accordion\n// 8. Accordion Menu\n// 9. Badge\n// 10. Breadcrumbs\n// 11. Button\n// 12. Button Group\n// 13. Callout\n// 14. Card\n// 15. Close Button\n// 16. Drilldown\n// 17. Dropdown\n// 18. Dropdown Menu\n// 19. Flexbox Utilities\n// 20. Forms\n// 21. Label\n// 22. Media Object\n// 23. Menu\n// 24. Meter\n// 25. Off-canvas\n// 26. Orbit\n// 27. Pagination\n// 28. Progress Bar\n// 29. Prototype Arrow\n// 30. Prototype Border-Box\n// 31. Prototype Border-None\n// 32. Prototype Bordered\n// 33. Prototype Display\n// 34. Prototype Font-Styling\n// 35. Prototype List-Style-Type\n// 36. Prototype Overflow\n// 37. Prototype Position\n// 38. Prototype Rounded\n// 39. Prototype Separator\n// 40. Prototype Shadow\n// 41. Prototype Sizing\n// 42. Prototype Spacing\n// 43. Prototype Text-Decoration\n// 44. Prototype Text-Transformation\n// 45. Prototype Text-Utilities\n// 46. Responsive Embed\n// 47. Reveal\n// 48. Slider\n// 49. Switch\n// 50. Table\n// 51. Tabs\n// 52. Thumbnail\n// 53. Title Bar\n// 54. Tooltip\n// 55. Top Bar\n// 56. Xy Grid\n\n@import 'foundation-sites/scss/util/util';\n\n// 1. Global\n// ---------\n\n$global-font-size: 100%;\n$global-width: rem-calc(1200);\n$global-lineheight: 1.5;\n$foundation-palette: (\n primary: #1779ba,\n secondary: #ffffff,\n success: #3adb76,\n warning: #ffae00,\n alert: #cc4b37,\n);\n$light-gray: #e6e6e6;\n$medium-gray: #cacaca;\n$dark-gray: #8a8a8a;\n$black: #0a0a0a;\n$white: #fefefe;\n$body-background: $white;\n$body-font-color: $black;\n$body-font-family: Lato, Helvetica, Roboto, Arial, sans-serif;\n$body-antialiased: true;\n$global-margin: 1rem;\n$global-padding: 1rem;\n$global-position: 1rem;\n$global-weight-normal: normal;\n$global-weight-bold: bold;\n$global-radius: 0;\n$global-menu-padding: 0.7rem 1rem;\n$global-menu-nested-margin: 1rem;\n$global-text-direction: ltr;\n$global-flexbox: true;\n$global-prototype-breakpoints: false;\n$global-button-cursor: auto;\n$global-color-pick-contrast-tolerance: 0;\n$print-transparent-backgrounds: true;\n\n@include add-foundation-colors;\n\n// 2. Breakpoints\n// --------------\n\n$breakpoints: (\n small: 0,\n medium: 640px,\n large: 1024px,\n xlarge: 1200px,\n xxlarge: 1440px,\n);\n$print-breakpoint: large;\n$breakpoint-classes: (small medium large);\n\n// 3. The Grid\n// -----------\n\n$grid-row-width: $global-width;\n$grid-column-count: 12;\n$grid-column-gutter: (\n small: 20px,\n medium: 30px,\n);\n$grid-column-align-edge: true;\n$grid-column-alias: 'columns';\n$block-grid-max: 8;\n\n// 4. Base Typography\n// ------------------\n\n$header-font-family: $body-font-family;\n$header-font-weight: $global-weight-normal;\n$header-font-style: normal;\n$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;\n$header-color: inherit;\n$header-lineheight: 1.4;\n$header-margin-bottom: 0.5rem;\n$header-styles: (\n small: (\n 'h1': (\n 'font-size': 24,\n ),\n 'h2': (\n 'font-size': 20,\n ),\n 'h3': (\n 'font-size': 19,\n ),\n 'h4': (\n 'font-size': 18,\n ),\n 'h5': (\n 'font-size': 17,\n ),\n 'h6': (\n 'font-size': 16,\n ),\n ),\n medium: (\n 'h1': (\n 'font-size': 48,\n ),\n 'h2': (\n 'font-size': 40,\n ),\n 'h3': (\n 'font-size': 31,\n ),\n 'h4': (\n 'font-size': 25,\n ),\n 'h5': (\n 'font-size': 20,\n ),\n 'h6': (\n 'font-size': 16,\n ),\n ),\n);\n$header-text-rendering: optimizeLegibility;\n$small-font-size: 80%;\n$header-small-font-color: $black;\n$paragraph-lineheight: 1.6;\n$paragraph-margin-bottom: 1rem;\n$paragraph-text-rendering: optimizeLegibility;\n$code-color: $black;\n$code-font-family: $font-family-monospace;\n$code-font-weight: $global-weight-normal;\n$code-background: $light-gray;\n$code-border: 1px solid $medium-gray;\n$code-padding: rem-calc(2 5 1);\n$anchor-color: $primary-color;\n$anchor-color-hover: scale-color($anchor-color, $lightness: -14%);\n$anchor-text-decoration: none;\n$anchor-text-decoration-hover: none;\n$hr-width: $global-width;\n$hr-border: 1px solid $medium-gray;\n$hr-margin: rem-calc(20) auto;\n$list-lineheight: $paragraph-lineheight;\n$list-margin-bottom: $paragraph-margin-bottom;\n$list-style-type: disc;\n$list-style-position: outside;\n$list-side-margin: 1.25rem;\n$list-nested-side-margin: 1.25rem;\n$defnlist-margin-bottom: 1rem;\n$defnlist-term-weight: $global-weight-bold;\n$defnlist-term-margin-bottom: 0.3rem;\n$blockquote-color: $dark-gray;\n$blockquote-padding: rem-calc(9 20 0 19);\n$blockquote-border: 1px solid $medium-gray;\n$cite-font-size: rem-calc(13);\n$cite-color: $dark-gray;\n$cite-pseudo-content: '\\2014 \\0020';\n$keystroke-font: $font-family-monospace;\n$keystroke-color: $black;\n$keystroke-background: $light-gray;\n$keystroke-padding: rem-calc(2 4 0);\n$keystroke-radius: $global-radius;\n$abbr-underline: 1px dotted $black;\n\n// 5. Typography Helpers\n// ---------------------\n\n$lead-font-size: $global-font-size * 1.25;\n$lead-lineheight: 1.6;\n$subheader-lineheight: 1.4;\n$subheader-color: $dark-gray;\n$subheader-font-weight: $global-weight-normal;\n$subheader-margin-top: 0.2rem;\n$subheader-margin-bottom: 0.5rem;\n$stat-font-size: 2.5rem;\n\n// 6. Abide\n// --------\n\n$abide-inputs: true;\n$abide-labels: true;\n$input-background-invalid: get-color(alert);\n$form-label-color-invalid: get-color(alert);\n$input-error-color: get-color(alert);\n$input-error-font-size: rem-calc(12);\n$input-error-font-weight: $global-weight-bold;\n\n// 7. Accordion\n// ------------\n\n$accordion-background: $white;\n$accordion-plusminus: true;\n$accordion-title-font-size: rem-calc(12);\n$accordion-item-color: $primary-color;\n$accordion-item-background-hover: $light-gray;\n$accordion-item-padding: 1.25rem 1rem;\n$accordion-content-background: $white;\n$accordion-content-border: 1px solid $light-gray;\n$accordion-content-color: $body-font-color;\n$accordion-content-padding: 1rem;\n\n// 8. Accordion Menu\n// -----------------\n\n$accordionmenu-padding: $global-menu-padding;\n$accordionmenu-nested-margin: $global-menu-nested-margin;\n$accordionmenu-submenu-padding: $accordionmenu-padding;\n$accordionmenu-arrows: true;\n$accordionmenu-arrow-color: $primary-color;\n$accordionmenu-item-background: null;\n$accordionmenu-border: null;\n$accordionmenu-submenu-toggle-background: null;\n$accordion-submenu-toggle-border: $accordionmenu-border;\n$accordionmenu-submenu-toggle-width: 40px;\n$accordionmenu-submenu-toggle-height: $accordionmenu-submenu-toggle-width;\n$accordionmenu-arrow-size: 6px;\n\n// 9. Badge\n// --------\n\n$badge-background: $primary-color;\n$badge-color: $white;\n$badge-color-alt: $black;\n$badge-palette: $foundation-palette;\n$badge-padding: 0.3em;\n$badge-minwidth: 2.1em;\n$badge-font-size: 0.6rem;\n\n// 10. Breadcrumbs\n// ---------------\n\n$breadcrumbs-margin: 0 0 $global-margin 0;\n$breadcrumbs-item-font-size: rem-calc(11);\n$breadcrumbs-item-color: $primary-color;\n$breadcrumbs-item-color-current: $black;\n$breadcrumbs-item-color-disabled: $medium-gray;\n$breadcrumbs-item-margin: 0.75rem;\n$breadcrumbs-item-uppercase: true;\n$breadcrumbs-item-separator: true;\n$breadcrumbs-item-separator-item: '/';\n$breadcrumbs-item-separator-item-rtl: '\\\\';\n$breadcrumbs-item-separator-color: $medium-gray;\n\n// 11. Button\n// ----------\n\n$button-font-family: inherit;\n$button-padding: 0.85em 1em;\n$button-margin: 0 0 $global-margin 0;\n$button-fill: solid;\n$button-background: $primary-color;\n$button-background-hover: scale-color($button-background, $lightness: -15%);\n$button-color: $white;\n$button-color-alt: $black;\n$button-radius: $global-radius;\n$button-hollow-border-width: 1px;\n$button-sizes: (\n tiny: 0.6rem,\n small: 0.75rem,\n default: 0.9rem,\n large: 1.25rem,\n);\n$button-palette: $foundation-palette;\n$button-opacity-disabled: 0.25;\n$button-background-hover-lightness: -20%;\n$button-hollow-hover-lightness: -50%;\n$button-transition: background-color 0.25s ease-out, color 0.25s ease-out;\n$button-responsive-expanded: false;\n\n// 12. Button Group\n// ----------------\n\n$buttongroup-margin: 1rem;\n$buttongroup-spacing: 1px;\n$buttongroup-child-selector: '.button';\n$buttongroup-expand-max: 6;\n$buttongroup-radius-on-each: true;\n\n// 13. Callout\n// -----------\n\n$callout-background: $white;\n$callout-background-fade: 85%;\n$callout-border: 1px solid rgba($black, 0.25);\n$callout-margin: 0 0 1rem 0;\n$callout-padding: 1rem;\n$callout-font-color: $body-font-color;\n$callout-font-color-alt: $body-background;\n$callout-radius: $global-radius;\n$callout-link-tint: 30%;\n\n// 14. Card\n// --------\n\n$card-background: $white;\n$card-font-color: $body-font-color;\n$card-divider-background: $light-gray;\n$card-border: 1px solid $light-gray;\n$card-shadow: none;\n$card-border-radius: $global-radius;\n$card-padding: $global-padding;\n$card-margin-bottom: $global-margin;\n\n// 15. Close Button\n// ----------------\n\n$closebutton-position: right top;\n$closebutton-offset-horizontal: (\n small: 0.66rem,\n medium: 1rem,\n);\n$closebutton-offset-vertical: (\n small: 0.33em,\n medium: 0.5rem,\n);\n$closebutton-size: (\n small: 1.5em,\n medium: 2em,\n);\n$closebutton-lineheight: 1;\n$closebutton-color: $dark-gray;\n$closebutton-color-hover: $black;\n\n// 16. Drilldown\n// -------------\n\n$drilldown-transition: transform 0.15s linear;\n$drilldown-arrows: true;\n$drilldown-padding: $global-menu-padding;\n$drilldown-nested-margin: 0;\n$drilldown-background: $white;\n$drilldown-submenu-padding: $drilldown-padding;\n$drilldown-submenu-background: $white;\n$drilldown-arrow-color: $primary-color;\n$drilldown-arrow-size: 6px;\n\n// 17. Dropdown\n// ------------\n\n$dropdown-padding: 1rem;\n$dropdown-background: $body-background;\n$dropdown-border: 1px solid $medium-gray;\n$dropdown-font-size: 1rem;\n$dropdown-width: 300px;\n$dropdown-radius: $global-radius;\n$dropdown-sizes: (\n tiny: 100px,\n small: 200px,\n large: 400px,\n);\n\n// 18. Dropdown Menu\n// -----------------\n\n$dropdownmenu-arrows: true;\n$dropdownmenu-arrow-color: $anchor-color;\n$dropdownmenu-arrow-size: 6px;\n$dropdownmenu-arrow-padding: 1.5rem;\n$dropdownmenu-min-width: 200px;\n$dropdownmenu-background: $white;\n$dropdownmenu-submenu-background: $dropdownmenu-background;\n$dropdownmenu-padding: $global-menu-padding;\n$dropdownmenu-nested-margin: 0;\n$dropdownmenu-submenu-padding: $dropdownmenu-padding;\n$dropdownmenu-border: 1px solid $medium-gray;\n$dropdown-menu-item-color-active: get-color(primary);\n$dropdown-menu-item-background-active: transparent;\n\n// 19. Flexbox Utilities\n// ---------------------\n\n$flex-source-ordering-count: 6;\n$flexbox-responsive-breakpoints: true;\n\n// 20. Forms\n// ---------\n\n$fieldset-border: 1px solid $medium-gray;\n$fieldset-padding: rem-calc(20);\n$fieldset-margin: rem-calc(18 0);\n$legend-padding: rem-calc(0 3);\n$form-spacing: rem-calc(16);\n$helptext-color: $black;\n$helptext-font-size: rem-calc(13);\n$helptext-font-style: italic;\n$input-prefix-color: $black;\n$input-prefix-background: $light-gray;\n$input-prefix-border: 1px solid $medium-gray;\n$input-prefix-padding: 1rem;\n$form-label-color: $black;\n$form-label-font-size: rem-calc(14);\n$form-label-font-weight: $global-weight-normal;\n$form-label-line-height: 1.8;\n$select-background: $white;\n$select-triangle-color: $dark-gray;\n$select-radius: $global-radius;\n$input-color: $black;\n$input-placeholder-color: $medium-gray;\n$input-font-family: inherit;\n$input-font-size: rem-calc(16);\n$input-font-weight: $global-weight-normal;\n$input-line-height: $global-lineheight;\n$input-background: $white;\n$input-background-focus: $white;\n$input-background-disabled: $light-gray;\n$input-border: 1px solid $medium-gray;\n$input-border-focus: 1px solid $dark-gray;\n$input-padding: $form-spacing * 0.5;\n$input-shadow: inset 0 1px 2px rgba($black, 0.1);\n$input-shadow-focus: 0 0 5px $medium-gray;\n$input-cursor-disabled: not-allowed;\n$input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;\n$input-number-spinners: true;\n$input-radius: $global-radius;\n$form-button-radius: $global-radius;\n\n// 21. Label\n// ---------\n\n$label-background: $primary-color;\n$label-color: $white;\n$label-color-alt: $black;\n$label-palette: $foundation-palette;\n$label-font-size: 0.8rem;\n$label-padding: 0.33333rem 0.5rem;\n$label-radius: $global-radius;\n\n// 22. Media Object\n// ----------------\n\n$mediaobject-margin-bottom: $global-margin;\n$mediaobject-section-padding: $global-padding;\n$mediaobject-image-width-stacked: 100%;\n\n// 23. Menu\n// --------\n\n$menu-margin: 0;\n$menu-nested-margin: $global-menu-nested-margin;\n$menu-items-padding: $global-menu-padding;\n$menu-simple-margin: 1rem;\n$menu-item-color-active: $white;\n$menu-item-background-active: get-color(primary);\n$menu-icon-spacing: 0.25rem;\n$menu-item-background-hover: $light-gray;\n$menu-state-back-compat: true;\n$menu-centered-back-compat: true;\n$menu-icons-back-compat: true;\n\n// 24. Meter\n// ---------\n\n$meter-height: 1rem;\n$meter-radius: $global-radius;\n$meter-background: $medium-gray;\n$meter-fill-good: $success-color;\n$meter-fill-medium: $warning-color;\n$meter-fill-bad: $alert-color;\n\n// 25. Off-canvas\n// --------------\n\n$offcanvas-sizes: (\n small: 250px,\n);\n$offcanvas-vertical-sizes: (\n small: 250px,\n);\n$offcanvas-background: $light-gray;\n$offcanvas-shadow: 0 0 10px rgba($black, 0.7);\n$offcanvas-inner-shadow-size: 20px;\n$offcanvas-inner-shadow-color: rgba($black, 0.25);\n$offcanvas-overlay-zindex: 11;\n$offcanvas-push-zindex: 12;\n$offcanvas-overlap-zindex: 13;\n$offcanvas-reveal-zindex: 12;\n$offcanvas-transition-length: 0.5s;\n$offcanvas-transition-timing: ease;\n$offcanvas-fixed-reveal: true;\n$offcanvas-exit-background: rgba($white, 0.25);\n$maincontent-class: 'off-canvas-content';\n\n// 26. Orbit\n// ---------\n\n$orbit-bullet-background: $medium-gray;\n$orbit-bullet-background-active: $dark-gray;\n$orbit-bullet-diameter: 1.2rem;\n$orbit-bullet-margin: 0.1rem;\n$orbit-bullet-margin-top: 0.8rem;\n$orbit-bullet-margin-bottom: 0.8rem;\n$orbit-caption-background: rgba($black, 0.5);\n$orbit-caption-padding: 1rem;\n$orbit-control-background-hover: rgba($black, 0.5);\n$orbit-control-padding: 1rem;\n$orbit-control-zindex: 10;\n\n// 27. Pagination\n// --------------\n\n$pagination-font-size: rem-calc(14);\n$pagination-margin-bottom: $global-margin;\n$pagination-item-color: $black;\n$pagination-item-padding: rem-calc(3 10);\n$pagination-item-spacing: rem-calc(1);\n$pagination-radius: $global-radius;\n$pagination-item-background-hover: $light-gray;\n$pagination-item-background-current: $primary-color;\n$pagination-item-color-current: $white;\n$pagination-item-color-disabled: $medium-gray;\n$pagination-ellipsis-color: $black;\n$pagination-mobile-items: false;\n$pagination-mobile-current-item: false;\n$pagination-arrows: true;\n\n// 28. Progress Bar\n// ----------------\n\n$progress-height: 1rem;\n$progress-background: $medium-gray;\n$progress-margin-bottom: $global-margin;\n$progress-meter-background: $primary-color;\n$progress-radius: $global-radius;\n\n// 29. Prototype Arrow\n// -------------------\n\n$prototype-arrow-directions: (down, up, right, left);\n$prototype-arrow-size: 0.4375rem;\n$prototype-arrow-color: $black;\n\n// 30. Prototype Border-Box\n// ------------------------\n\n$prototype-border-box-breakpoints: $global-prototype-breakpoints;\n\n// 31. Prototype Border-None\n// -------------------------\n\n$prototype-border-none-breakpoints: $global-prototype-breakpoints;\n\n// 32. Prototype Bordered\n// ----------------------\n\n$prototype-bordered-breakpoints: $global-prototype-breakpoints;\n$prototype-border-width: rem-calc(1);\n$prototype-border-type: solid;\n$prototype-border-color: $medium-gray;\n\n// 33. Prototype Display\n// ---------------------\n\n$prototype-display-breakpoints: $global-prototype-breakpoints;\n$prototype-display: (inline, inline-block, block, table, table-cell);\n\n// 34. Prototype Font-Styling\n// --------------------------\n\n$prototype-font-breakpoints: $global-prototype-breakpoints;\n$prototype-wide-letter-spacing: rem-calc(4);\n$prototype-font-normal: $global-weight-normal;\n$prototype-font-bold: $global-weight-bold;\n\n// 35. Prototype List-Style-Type\n// -----------------------------\n\n$prototype-list-breakpoints: $global-prototype-breakpoints;\n$prototype-style-type-unordered: (disc, circle, square);\n$prototype-style-type-ordered: (\n decimal,\n lower-alpha,\n lower-latin,\n lower-roman,\n upper-alpha,\n upper-latin,\n upper-roman\n);\n\n// 36. Prototype Overflow\n// ----------------------\n\n$prototype-overflow-breakpoints: $global-prototype-breakpoints;\n$prototype-overflow: (visible, hidden, scroll);\n\n// 37. Prototype Position\n// ----------------------\n\n$prototype-position-breakpoints: $global-prototype-breakpoints;\n$prototype-position: (static, relative, absolute, fixed);\n$prototype-position-z-index: 975;\n\n// 38. Prototype Rounded\n// ---------------------\n\n$prototype-rounded-breakpoints: $global-prototype-breakpoints;\n$prototype-border-radius: rem-calc(3);\n\n// 39. Prototype Separator\n// -----------------------\n\n$prototype-separator-breakpoints: $global-prototype-breakpoints;\n$prototype-separator-align: center;\n$prototype-separator-height: rem-calc(2);\n$prototype-separator-width: 3rem;\n$prototype-separator-background: $primary-color;\n$prototype-separator-margin-top: $global-margin;\n\n// 40. Prototype Shadow\n// --------------------\n\n$prototype-shadow-breakpoints: $global-prototype-breakpoints;\n$prototype-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16),\n 0 2px 10px 0 rgba(0, 0, 0, 0.12);\n\n// 41. Prototype Sizing\n// --------------------\n\n$prototype-sizing-breakpoints: $global-prototype-breakpoints;\n$prototype-sizing: (width, height);\n$prototype-sizes: (\n 25: 25%,\n 50: 50%,\n 75: 75%,\n 100: 100%,\n);\n\n// 42. Prototype Spacing\n// ---------------------\n\n$prototype-spacing-breakpoints: $global-prototype-breakpoints;\n$prototype-spacers-count: 3;\n\n// 43. Prototype Text-Decoration\n// -----------------------------\n\n$prototype-decoration-breakpoints: $global-prototype-breakpoints;\n$prototype-text-decoration: (overline, underline, line-through);\n\n// 44. Prototype Text-Transformation\n// ---------------------------------\n\n$prototype-transformation-breakpoints: $global-prototype-breakpoints;\n$prototype-text-transformation: (lowercase, uppercase, capitalize);\n\n// 45. Prototype Text-Utilities\n// ----------------------------\n\n$prototype-utilities-breakpoints: $global-prototype-breakpoints;\n$prototype-text-overflow: ellipsis;\n\n// 46. Responsive Embed\n// --------------------\n\n$responsive-embed-margin-bottom: rem-calc(16);\n$responsive-embed-ratios: (\n default: 4 by 3,\n widescreen: 16 by 9,\n);\n\n// 47. Reveal\n// ----------\n\n$reveal-background: $white;\n$reveal-width: 600px;\n$reveal-max-width: $global-width;\n$reveal-padding: $global-padding;\n$reveal-border: 1px solid $medium-gray;\n$reveal-radius: $global-radius;\n$reveal-zindex: 1005;\n$reveal-overlay-background: rgba($black, 0.45);\n\n// 48. Slider\n// ----------\n\n$slider-width-vertical: 0.5rem;\n$slider-transition: all 0.2s ease-in-out;\n$slider-height: 0.5rem;\n$slider-background: $light-gray;\n$slider-fill-background: $medium-gray;\n$slider-handle-height: 1.4rem;\n$slider-handle-width: 1.4rem;\n$slider-handle-background: $primary-color;\n$slider-opacity-disabled: 0.25;\n$slider-radius: $global-radius;\n\n// 49. Switch\n// ----------\n\n$switch-background: $medium-gray;\n$switch-background-active: $primary-color;\n$switch-height: 2rem;\n$switch-height-tiny: 1.5rem;\n$switch-height-small: 1.75rem;\n$switch-height-large: 2.5rem;\n$switch-radius: $global-radius;\n$switch-margin: $global-margin;\n$switch-paddle-background: $white;\n$switch-paddle-offset: 0.25rem;\n$switch-paddle-radius: $global-radius;\n$switch-paddle-transition: all 0.25s ease-out;\n\n// 50. Table\n// ---------\n\n$table-background: $white;\n$table-color-scale: 5%;\n$table-border: 1px solid smart-scale($table-background, $table-color-scale);\n$table-padding: rem-calc(8 10 10);\n$table-hover-scale: 2%;\n$table-row-hover: darken($table-background, $table-hover-scale);\n$table-row-stripe-hover: darken(\n $table-background,\n $table-color-scale + $table-hover-scale\n);\n$table-is-striped: true;\n$table-striped-background: smart-scale($table-background, $table-color-scale);\n$table-stripe: even;\n$table-head-background: smart-scale(\n $table-background,\n $table-color-scale * 0.5\n);\n$table-head-row-hover: darken($table-head-background, $table-hover-scale);\n$table-foot-background: smart-scale($table-background, $table-color-scale);\n$table-foot-row-hover: darken($table-foot-background, $table-hover-scale);\n$table-head-font-color: $body-font-color;\n$table-foot-font-color: $body-font-color;\n$show-header-for-stacked: false;\n$table-stack-breakpoint: medium;\n\n// 51. Tabs\n// --------\n\n$tab-margin: 0;\n$tab-background: $white;\n$tab-color: $primary-color;\n$tab-background-active: $light-gray;\n$tab-active-color: $primary-color;\n$tab-item-font-size: rem-calc(12);\n$tab-item-background-hover: $white;\n$tab-item-padding: 1.25rem 1.5rem;\n$tab-expand-max: 6;\n$tab-content-background: $white;\n$tab-content-border: $light-gray;\n$tab-content-color: $body-font-color;\n$tab-content-padding: 1rem;\n\n// 52. Thumbnail\n// -------------\n\n$thumbnail-border: solid 4px $white;\n$thumbnail-margin-bottom: $global-margin;\n$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);\n$thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);\n$thumbnail-transition: box-shadow 200ms ease-out;\n$thumbnail-radius: $global-radius;\n\n// 53. Title Bar\n// -------------\n\n$titlebar-background: $black;\n$titlebar-color: $white;\n$titlebar-padding: 0.5rem;\n$titlebar-text-font-weight: bold;\n$titlebar-icon-color: $white;\n$titlebar-icon-color-hover: $medium-gray;\n$titlebar-icon-spacing: 0.25rem;\n\n// 54. Tooltip\n// -----------\n\n$has-tip-cursor: help;\n$has-tip-font-weight: $global-weight-bold;\n$has-tip-border-bottom: dotted 1px $dark-gray;\n$tooltip-background-color: $black;\n$tooltip-color: $white;\n$tooltip-padding: 0.75rem;\n$tooltip-max-width: 10rem;\n$tooltip-font-size: $small-font-size;\n$tooltip-pip-width: 0.75rem;\n$tooltip-pip-height: $tooltip-pip-width * 0.866;\n$tooltip-radius: $global-radius;\n\n// 55. Top Bar\n// -----------\n\n$topbar-padding: 0.5rem;\n$topbar-background: $light-gray;\n$topbar-submenu-background: $topbar-background;\n$topbar-title-spacing: 0.5rem 1rem 0.5rem 0;\n$topbar-input-width: 200px;\n$topbar-unstack-breakpoint: medium;\n\n// 56. Xy Grid\n// -----------\n\n$xy-grid: true;\n$grid-container: $global-width;\n$grid-columns: 12;\n$grid-margin-gutters: (\n small: 20px,\n medium: 30px,\n);\n$grid-padding-gutters: $grid-margin-gutters;\n$grid-container-padding: $grid-padding-gutters;\n$grid-container-max: $global-width;\n$xy-block-grid-max: 8;\n","$sapphire-blue: #014371;\n$sea-blue: #00639a;\n$vivid-cerulean: #00a6d5;\n$medium-turquoise: #46d6fa;\n$gainsborough: #d2dce3;\n$yankees-blue: #161d39;\n$independence: #4e5a71;\n$weldon-blue: #8194a1;\n$pastel-blue: #abc7d6;\n$platinum: #e4e8eb;\n$sky-white: #fbfeff;\n$bronze: #a65708;\n$reviewed: #c39b00;\n$unreviewed: #c0c0c0;\n$uniref: #f2994c;\n$uniparc: #88c19d;\n$proteomes: #e56358;\n$reference-proteome: #9d4a4d;\n$peptide-search: #A748BD;\n$id-mapping: #357B92;\n$blast: #00A6D5;\n$align: #B8CE48;\n$warning: #ffcc33;\n$failure: #f36968;\n$success: #108f3b;\n$info: #79cbf8;\n$help-green: #28aa50;\n$coyote-brown: #966336;\n$outer-space: #374343;\n$tool-results: #622E81;"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},"./node_modules/uuid/dist/esm-browser/v1.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _rng_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/uuid/dist/esm-browser/rng.js"),_stringify_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/uuid/dist/esm-browser/stringify.js");let _nodeId,_clockseq,_lastMSecs=0,_lastNSecs=0;__webpack_exports__.A=function v1(options,buf,offset){let i=buf&&offset||0;const b=buf||new Array(16);let node=(options=options||{}).node||_nodeId,clockseq=void 0!==options.clockseq?options.clockseq:_clockseq;if(null==node||null==clockseq){const seedBytes=options.random||(options.rng||_rng_js__WEBPACK_IMPORTED_MODULE_0__.A)();null==node&&(node=_nodeId=[1|seedBytes[0],seedBytes[1],seedBytes[2],seedBytes[3],seedBytes[4],seedBytes[5]]),null==clockseq&&(clockseq=_clockseq=16383&(seedBytes[6]<<8|seedBytes[7]))}let msecs=void 0!==options.msecs?options.msecs:Date.now(),nsecs=void 0!==options.nsecs?options.nsecs:_lastNSecs+1;const dt=msecs-_lastMSecs+(nsecs-_lastNSecs)/1e4;if(dt<0&&void 0===options.clockseq&&(clockseq=clockseq+1&16383),(dt<0||msecs>_lastMSecs)&&void 0===options.nsecs&&(nsecs=0),nsecs>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_lastMSecs=msecs,_lastNSecs=nsecs,_clockseq=clockseq,msecs+=122192928e5;const tl=(1e4*(268435455&msecs)+nsecs)%4294967296;b[i++]=tl>>>24&255,b[i++]=tl>>>16&255,b[i++]=tl>>>8&255,b[i++]=255&tl;const tmh=msecs/4294967296*1e4&268435455;b[i++]=tmh>>>8&255,b[i++]=255&tmh,b[i++]=tmh>>>24&15|16,b[i++]=tmh>>>16&255,b[i++]=clockseq>>>8|128,b[i++]=255&clockseq;for(let n=0;n<6;++n)b[i+n]=node[n];return buf||(0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__.k)(b)}}}]); \ No newline at end of file diff --git a/EvidenceTag-stories.6cb8fe06.iframe.bundle.js.br b/EvidenceTag-stories.6cb8fe06.iframe.bundle.js.br new file mode 100644 index 00000000..79ca15dd Binary files /dev/null and b/EvidenceTag-stories.6cb8fe06.iframe.bundle.js.br differ diff --git a/EvidenceTag-stories.6cb8fe06.iframe.bundle.js.gz b/EvidenceTag-stories.6cb8fe06.iframe.bundle.js.gz new file mode 100644 index 00000000..92f6d918 Binary files /dev/null and b/EvidenceTag-stories.6cb8fe06.iframe.bundle.js.gz differ diff --git a/EvidenceTag-stories.d81b5ceb.iframe.bundle.js b/EvidenceTag-stories.d81b5ceb.iframe.bundle.js deleted file mode 100644 index 0dc8d528..00000000 --- a/EvidenceTag-stories.d81b5ceb.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[9220],{"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:i+""}function _defineProperty(obj,key,value){return(key=toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.d(__webpack_exports__,{A:function(){return _defineProperty}})},"./stories/EvidenceTag.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{EvidenceTag:function(){return EvidenceTag_stories_EvidenceTag},__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return EvidenceTag_stories}});var evidence_tag=__webpack_require__("./src/svg/evidence-tag.svg"),information=__webpack_require__("./src/svg/information.svg"),help=__webpack_require__("./src/svg/help.svg"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=(__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/react/index.js")),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),v1=__webpack_require__("./node_modules/uuid/dist/esm-browser/v1.js"),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),components_evidence_tag=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/evidence-tag.scss"),evidence_tag_default=__webpack_require__.n(components_evidence_tag),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(evidence_tag_default(),options),evidence_tag_default()&&evidence_tag_default().locals&&evidence_tag_default().locals;var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const _excluded=["label","title","className","iconComponent","children"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r{let{label:label,title:title,className:className,iconComponent:iconComponent=(0,jsx_runtime.jsx)(evidence_tag.A,{}),children:children}=_ref,props=(0,objectWithoutProperties.A)(_ref,_excluded);const idRef=(0,react.useRef)((0,v1.A)()),[contentDisplay,setContentDisplay]=(0,react.useState)(!1);return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsxs)("button",_objectSpread(_objectSpread({className:classnames_default()(className,"evidence-tag"),onClick:()=>setContentDisplay(!contentDisplay),type:"button","data-testid":"evidence-tag-trigger","aria-expanded":contentDisplay,"aria-controls":idRef.current},props),{},{children:[(0,react.cloneElement)(iconComponent,{width:12,height:12}),(0,jsx_runtime.jsx)("span",{className:"evidence-tag__label",children:label})]})),children&&(0,jsx_runtime.jsx)("div",{className:"evidence-tag-content "+(contentDisplay?"evidence-tag-content--visible":""),"data-testid":"evidence-tag-content",id:idRef.current,children:contentDisplay&&children})]})};try{evidencetag.displayName="evidencetag",evidencetag.__docgenInfo={description:"",displayName:"evidencetag",props:{label:{defaultValue:null,description:"Displayed on the tag",name:"label",required:!0,type:{name:"string"}},iconComponent:{defaultValue:{value:""},description:"Icon to display",name:"iconComponent",required:!1,type:{name:"ReactElement<{ width: number; height: number; }, string | JSXElementConstructor>"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/evidence-tag.tsx#evidencetag"]={docgenInfo:evidencetag.__docgenInfo,name:"evidencetag",path:"src/components/evidence-tag.tsx#evidencetag"})}catch(__react_docgen_typescript_loader_error){}var lipsum=__webpack_require__("./src/mock-data/lipsum.tsx");const IconComponentOptions={EvidenceTag:(0,jsx_runtime.jsx)(evidence_tag.A,{}),InformationIcon:(0,jsx_runtime.jsx)(information.A,{}),HelpIcon:(0,jsx_runtime.jsx)(help.A,{})};var EvidenceTag_stories={component:src_components_evidence_tag,title:"Biocomponents/Evidence Tag",argTypes:{iconComponent:{options:["EvidenceTag","InformationIcon","HelpIcon"],mapping:IconComponentOptions,control:{type:"select"}}},args:{label:"this is an evidence tag",iconComponent:(0,jsx_runtime.jsx)(evidence_tag.A,{})},render:_ref=>{let{label:label,iconComponent:iconComponent}=_ref;return(0,jsx_runtime.jsx)(src_components_evidence_tag,{label:label,iconComponent:iconComponent,children:(0,jsx_runtime.jsxs)("div",{children:[(0,jsx_runtime.jsx)("h5",{children:"Some title"}),(0,jsx_runtime.jsx)("p",{children:(0,lipsum.FZ)()}),(0,jsx_runtime.jsx)("p",{children:(0,lipsum.FZ)()}),(0,jsx_runtime.jsx)("p",{children:(0,lipsum.FZ)()}),(0,jsx_runtime.jsx)("p",{children:(0,lipsum.FZ)()}),(0,jsx_runtime.jsx)("p",{children:(0,lipsum.FZ)()}),(0,jsx_runtime.jsx)("p",{children:(0,lipsum.FZ)()}),(0,jsx_runtime.jsx)("p",{children:(0,lipsum.FZ)()}),(0,jsx_runtime.jsx)("p",{children:(0,lipsum.FZ)()})]})})}};const EvidenceTag_stories_EvidenceTag={};EvidenceTag_stories_EvidenceTag.parameters={...EvidenceTag_stories_EvidenceTag.parameters,docs:{...EvidenceTag_stories_EvidenceTag.parameters?.docs,source:{originalSource:"{}",...EvidenceTag_stories_EvidenceTag.parameters?.docs?.source}}};const __namedExportsOrder=["EvidenceTag"]},"./src/svg/evidence-tag.svg":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _path,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__.Ok)({sentenceLowerBound:2,sentenceUpperBound:30}),getLipsumObjectArray=_ref=>{let{numberElements:numberElements,keys:keys,idKey:idKey="id",type:type="sentences"}=_ref;return Array.from({length:numberElements},(()=>Object.fromEntries([[[idKey],(0,uuid__WEBPACK_IMPORTED_MODULE_3__.A)()],...keys.map((key=>[key,"sentences"===type?getLipsumSentences():(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__.Ok)({count:2,units:"words"})]))])))};try{getLipsumObjectArray.displayName="getLipsumObjectArray",getLipsumObjectArray.__docgenInfo={description:"",displayName:"getLipsumObjectArray",props:{numberElements:{defaultValue:null,description:"",name:"numberElements",required:!0,type:{name:"number"}},keys:{defaultValue:null,description:"",name:"keys",required:!0,type:{name:"string[]"}},idKey:{defaultValue:{value:"id"},description:"",name:"idKey",required:!1,type:{name:"string"}},type:{defaultValue:{value:"sentences"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"sentences"'},{value:'"words"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/mock-data/lipsum.tsx#getLipsumObjectArray"]={docgenInfo:getLipsumObjectArray.__docgenInfo,name:"getLipsumObjectArray",path:"src/mock-data/lipsum.tsx#getLipsumObjectArray"})}catch(__react_docgen_typescript_loader_error){}try{lipsum.displayName="lipsum",lipsum.__docgenInfo={description:"",displayName:"lipsum",props:{numberElements:{defaultValue:null,description:"",name:"numberElements",required:!0,type:{name:"number"}},keys:{defaultValue:null,description:"",name:"keys",required:!0,type:{name:"string[]"}},idKey:{defaultValue:{value:"id"},description:"",name:"idKey",required:!1,type:{name:"string"}},type:{defaultValue:{value:"sentences"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"sentences"'},{value:'"words"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/mock-data/lipsum.tsx#lipsum"]={docgenInfo:lipsum.__docgenInfo,name:"lipsum",path:"src/mock-data/lipsum.tsx#lipsum"})}catch(__react_docgen_typescript_loader_error){}},"./node_modules/core-js/internals/classof.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var TO_STRING_TAG_SUPPORT=__webpack_require__("./node_modules/core-js/internals/to-string-tag-support.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),TO_STRING_TAG=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),$Object=Object,CORRECT_ARGUMENTS="Arguments"===classofRaw(function(){return arguments}());module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(tag=function(it,key){try{return it[key]}catch(error){}}(O=$Object(it),TO_STRING_TAG))?tag:CORRECT_ARGUMENTS?classofRaw(O):"Object"===(result=classofRaw(O))&&isCallable(O.callee)?"Arguments":result}},"./node_modules/core-js/internals/create-property.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var toPropertyKey=__webpack_require__("./node_modules/core-js/internals/to-property-key.js"),definePropertyModule=__webpack_require__("./node_modules/core-js/internals/object-define-property.js"),createPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/create-property-descriptor.js");module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}},"./node_modules/core-js/internals/function-bind-context.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this-clause.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),NATIVE_BIND=__webpack_require__("./node_modules/core-js/internals/function-bind-native.js"),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),void 0===that?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}},"./node_modules/core-js/internals/function-uncurry-this-clause.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=function(fn){if("Function"===classofRaw(fn))return uncurryThis(fn)}},"./node_modules/core-js/internals/get-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js"),isNullOrUndefined=__webpack_require__("./node_modules/core-js/internals/is-null-or-undefined.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}},"./node_modules/core-js/internals/get-iterator.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}},"./node_modules/core-js/internals/iterate.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),isArrayIteratorMethod=__webpack_require__("./node_modules/core-js/internals/is-array-iterator-method.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),getIterator=__webpack_require__("./node_modules/core-js/internals/get-iterator.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),iteratorClose=__webpack_require__("./node_modules/core-js/internals/iterator-close.js"),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var iterator,iterFn,index,length,result,next,step,that=options&&options.that,AS_ENTRIES=!(!options||!options.AS_ENTRIES),IS_RECORD=!(!options||!options.IS_RECORD),IS_ITERATOR=!(!options||!options.IS_ITERATOR),INTERRUPTED=!(!options||!options.INTERRUPTED),fn=bind(unboundFunction,that),stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(!(iterFn=getIteratorMethod(iterable)))throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if((result=callFn(iterable[index]))&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if("object"==typeof result&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}},"./node_modules/core-js/internals/iterator-close.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js");module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(!(innerResult=getMethod(iterator,"return"))){if("throw"===kind)throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if("throw"===kind)throw value;if(innerError)throw innerResult;return anObject(innerResult),value}},"./node_modules/core-js/internals/to-string-tag-support.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var test={};test[__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag")]="z",module.exports="[object z]"===String(test)},"./node_modules/core-js/modules/es.object.from-entries.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),iterate=__webpack_require__("./node_modules/core-js/internals/iterate.js"),createProperty=__webpack_require__("./node_modules/core-js/internals/create-property.js");$({target:"Object",stat:!0},{fromEntries:function fromEntries(iterable){var obj={};return iterate(iterable,(function(k,v){createProperty(obj,k,v)}),{AS_ENTRIES:!0}),obj}})},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/evidence-tag.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"button.evidence-tag{cursor:pointer;position:relative;display:inline-block;font-size:80%;white-space:nowrap;font-size:.75rem;height:1.25rem;line-height:1.25rem;margin-left:.5rem;border-radius:.25rem;background-color:#d2dce3;border:1px solid #8194a1;padding:0 .25rem;color:#161d39}button.evidence-tag:hover,button.evidence-tag:focus,button.evidence-tag:focus-within{background-color:#abc7d6}button.evidence-tag:active{background-color:rgba(78,90,113,.3)}button.evidence-tag svg{position:absolute}.evidence-tag__label{padding-left:1rem;text-transform:capitalize}.evidence-tag-content{opacity:0;max-height:0;overflow:hidden;transition:none;display:inline;background:linear-gradient(#e4e8eb 30%, rgba(255, 255, 255, 0)),linear-gradient(rgba(255, 255, 255, 0), #e4e8eb 70%) 0 100%,radial-gradient(50% 0, farthest-side, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)),radial-gradient(50% 100%, farthest-side, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) 0 100%;background:linear-gradient(#e4e8eb 30%, rgba(255, 255, 255, 0)),linear-gradient(rgba(255, 255, 255, 0), #e4e8eb 70%) 0 100%,radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)),radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) 0 100%;background-repeat:no-repeat;background-color:#e4e8eb;background-size:100% 40px,100% 40px,100% 14px,100% 14px;background-attachment:local,local,scroll,scroll}.evidence-tag-content>div{display:none}.evidence-tag-content--visible{opacity:1;margin:1rem 0;padding:1rem;max-height:25vh;overflow-y:auto;transition:opacity .5s ease-out;display:block}.evidence-tag-content--visible>div{display:block}","",{version:3,sources:["webpack://./src/styles/components/evidence-tag.scss","webpack://./src/styles/_settings.scss","webpack://./colours.json"],names:[],mappings:"AAGA,oBACE,cAAA,CACA,iBAAA,CACA,oBAAA,CACA,aC+KgB,CD9KhB,kBAAA,CACA,gBAAA,CACA,cAAA,CACA,mBAAA,CACA,iBAAA,CACA,oBAAA,CACA,wBEVa,CFWb,wBAAA,CACA,gBAAA,CACA,aEZa,CFcb,qFAGE,wBEdU,CFiBZ,2BACE,mCAAA,CAGF,wBACE,iBAAA,CAIJ,qBACE,iBAAA,CACA,yBAAA,CAGF,sBACE,SAAA,CACA,YAAA,CACA,eAAA,CACA,eAAA,CACA,cAAA,CAEA,6RACsB,CAmBtB,iSACoB,CAiBpB,2BAAA,CACA,wBE5ES,CF6ET,uDAAA,CAEA,+CAAA,CAEA,0BACE,YAAA,CAGF,+BACE,SAAA,CACA,aAAA,CACA,YCVa,CDWb,eAAA,CACA,eAAA,CACA,+BAAA,CACA,aAAA,CAEA,mCACE,aAAA",sourcesContent:["@import '../settings';\n@import '../colours';\n\nbutton.evidence-tag {\n cursor: pointer;\n position: relative;\n display: inline-block;\n font-size: $small-font-size;\n white-space: nowrap;\n font-size: 0.75rem;\n height: 1.25rem;\n line-height: 1.25rem;\n margin-left: $global-margin * 0.5;\n border-radius: $global-padding * 0.25;\n background-color: $colour-gainsborough;\n border: 1px solid $colour-weldon-blue;\n padding: 0 $global-padding * 0.25;\n color: $colour-yankees-blue;\n\n &:hover,\n &:focus,\n &:focus-within {\n background-color: $colour-pastel-blue;\n }\n\n &:active {\n background-color: rgba($colour-independence, 0.3);\n }\n\n svg {\n position: absolute;\n }\n}\n\n.evidence-tag__label {\n padding-left: ($global-padding);\n text-transform: capitalize;\n}\n\n.evidence-tag-content {\n opacity: 0;\n max-height: 0;\n overflow: hidden;\n transition: none;\n display: inline;\n /* shadow trick from http://lea.verou.me/2012/04/background-attachment-local/ */\n background:\n /* Shadow covers */ linear-gradient(\n $colour-platinum 30%,\n rgba(255, 255, 255, 0)\n ),\n linear-gradient(rgba(255, 255, 255, 0), $colour-platinum 70%) 0 100%,\n /* Shadows */\n radial-gradient(\n 50% 0,\n farthest-side,\n rgba(0, 0, 0, 0.2),\n rgba(0, 0, 0, 0)\n ),\n radial-gradient(\n 50% 100%,\n farthest-side,\n rgba(0, 0, 0, 0.2),\n rgba(0, 0, 0, 0)\n )\n 0 100%;\n background:\n /* Shadow covers */ linear-gradient(\n $colour-platinum 30%,\n rgba(255, 255, 255, 0)\n ),\n linear-gradient(rgba(255, 255, 255, 0), $colour-platinum 70%) 0 100%,\n /* Shadows */\n radial-gradient(\n farthest-side at 50% 0,\n rgba(0, 0, 0, 0.2),\n rgba(0, 0, 0, 0)\n ),\n radial-gradient(\n farthest-side at 50% 100%,\n rgba(0, 0, 0, 0.2),\n rgba(0, 0, 0, 0)\n )\n 0 100%;\n background-repeat: no-repeat;\n background-color: $colour-platinum;\n background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;\n /* Opera doesn't support this in the shorthand */\n background-attachment: local, local, scroll, scroll;\n\n & > div {\n display: none;\n }\n\n &--visible {\n opacity: 1;\n margin: $global-margin 0;\n padding: $global-padding;\n max-height: 25vh;\n overflow-y: auto;\n transition: opacity 0.5s ease-out;\n display: block;\n\n & > div {\n display: block;\n }\n }\n}\n","// Foundation for Sites Settings\n// -----------------------------\n//\n// Table of Contents:\n//\n// 1. Global\n// 2. Breakpoints\n// 3. The Grid\n// 4. Base Typography\n// 5. Typography Helpers\n// 6. Abide\n// 7. Accordion\n// 8. Accordion Menu\n// 9. Badge\n// 10. Breadcrumbs\n// 11. Button\n// 12. Button Group\n// 13. Callout\n// 14. Card\n// 15. Close Button\n// 16. Drilldown\n// 17. Dropdown\n// 18. Dropdown Menu\n// 19. Flexbox Utilities\n// 20. Forms\n// 21. Label\n// 22. Media Object\n// 23. Menu\n// 24. Meter\n// 25. Off-canvas\n// 26. Orbit\n// 27. Pagination\n// 28. Progress Bar\n// 29. Prototype Arrow\n// 30. Prototype Border-Box\n// 31. Prototype Border-None\n// 32. Prototype Bordered\n// 33. Prototype Display\n// 34. Prototype Font-Styling\n// 35. Prototype List-Style-Type\n// 36. Prototype Overflow\n// 37. Prototype Position\n// 38. Prototype Rounded\n// 39. Prototype Separator\n// 40. Prototype Shadow\n// 41. Prototype Sizing\n// 42. Prototype Spacing\n// 43. Prototype Text-Decoration\n// 44. Prototype Text-Transformation\n// 45. Prototype Text-Utilities\n// 46. Responsive Embed\n// 47. Reveal\n// 48. Slider\n// 49. Switch\n// 50. Table\n// 51. Tabs\n// 52. Thumbnail\n// 53. Title Bar\n// 54. Tooltip\n// 55. Top Bar\n// 56. Xy Grid\n\n@import 'foundation-sites/scss/util/util';\n\n// 1. Global\n// ---------\n\n$global-font-size: 100%;\n$global-width: rem-calc(1200);\n$global-lineheight: 1.5;\n$foundation-palette: (\n primary: #1779ba,\n secondary: #ffffff,\n success: #3adb76,\n warning: #ffae00,\n alert: #cc4b37,\n);\n$light-gray: #e6e6e6;\n$medium-gray: #cacaca;\n$dark-gray: #8a8a8a;\n$black: #0a0a0a;\n$white: #fefefe;\n$body-background: $white;\n$body-font-color: $black;\n$body-font-family: Lato, Helvetica, Roboto, Arial, sans-serif;\n$body-antialiased: true;\n$global-margin: 1rem;\n$global-padding: 1rem;\n$global-position: 1rem;\n$global-weight-normal: normal;\n$global-weight-bold: bold;\n$global-radius: 0;\n$global-menu-padding: 0.7rem 1rem;\n$global-menu-nested-margin: 1rem;\n$global-text-direction: ltr;\n$global-flexbox: true;\n$global-prototype-breakpoints: false;\n$global-button-cursor: auto;\n$global-color-pick-contrast-tolerance: 0;\n$print-transparent-backgrounds: true;\n\n@include add-foundation-colors;\n\n// 2. Breakpoints\n// --------------\n\n$breakpoints: (\n small: 0,\n medium: 640px,\n large: 1024px,\n xlarge: 1200px,\n xxlarge: 1440px,\n);\n$print-breakpoint: large;\n$breakpoint-classes: (small medium large);\n\n// 3. The Grid\n// -----------\n\n$grid-row-width: $global-width;\n$grid-column-count: 12;\n$grid-column-gutter: (\n small: 20px,\n medium: 30px,\n);\n$grid-column-align-edge: true;\n$grid-column-alias: 'columns';\n$block-grid-max: 8;\n\n// 4. Base Typography\n// ------------------\n\n$header-font-family: $body-font-family;\n$header-font-weight: $global-weight-normal;\n$header-font-style: normal;\n$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;\n$header-color: inherit;\n$header-lineheight: 1.4;\n$header-margin-bottom: 0.5rem;\n$header-styles: (\n small: (\n 'h1': (\n 'font-size': 24,\n ),\n 'h2': (\n 'font-size': 20,\n ),\n 'h3': (\n 'font-size': 19,\n ),\n 'h4': (\n 'font-size': 18,\n ),\n 'h5': (\n 'font-size': 17,\n ),\n 'h6': (\n 'font-size': 16,\n ),\n ),\n medium: (\n 'h1': (\n 'font-size': 48,\n ),\n 'h2': (\n 'font-size': 40,\n ),\n 'h3': (\n 'font-size': 31,\n ),\n 'h4': (\n 'font-size': 25,\n ),\n 'h5': (\n 'font-size': 20,\n ),\n 'h6': (\n 'font-size': 16,\n ),\n ),\n);\n$header-text-rendering: optimizeLegibility;\n$small-font-size: 80%;\n$header-small-font-color: $black;\n$paragraph-lineheight: 1.6;\n$paragraph-margin-bottom: 1rem;\n$paragraph-text-rendering: optimizeLegibility;\n$code-color: $black;\n$code-font-family: $font-family-monospace;\n$code-font-weight: $global-weight-normal;\n$code-background: $light-gray;\n$code-border: 1px solid $medium-gray;\n$code-padding: rem-calc(2 5 1);\n$anchor-color: $primary-color;\n$anchor-color-hover: scale-color($anchor-color, $lightness: -14%);\n$anchor-text-decoration: none;\n$anchor-text-decoration-hover: none;\n$hr-width: $global-width;\n$hr-border: 1px solid $medium-gray;\n$hr-margin: rem-calc(20) auto;\n$list-lineheight: $paragraph-lineheight;\n$list-margin-bottom: $paragraph-margin-bottom;\n$list-style-type: disc;\n$list-style-position: outside;\n$list-side-margin: 1.25rem;\n$list-nested-side-margin: 1.25rem;\n$defnlist-margin-bottom: 1rem;\n$defnlist-term-weight: $global-weight-bold;\n$defnlist-term-margin-bottom: 0.3rem;\n$blockquote-color: $dark-gray;\n$blockquote-padding: rem-calc(9 20 0 19);\n$blockquote-border: 1px solid $medium-gray;\n$cite-font-size: rem-calc(13);\n$cite-color: $dark-gray;\n$cite-pseudo-content: '\\2014 \\0020';\n$keystroke-font: $font-family-monospace;\n$keystroke-color: $black;\n$keystroke-background: $light-gray;\n$keystroke-padding: rem-calc(2 4 0);\n$keystroke-radius: $global-radius;\n$abbr-underline: 1px dotted $black;\n\n// 5. Typography Helpers\n// ---------------------\n\n$lead-font-size: $global-font-size * 1.25;\n$lead-lineheight: 1.6;\n$subheader-lineheight: 1.4;\n$subheader-color: $dark-gray;\n$subheader-font-weight: $global-weight-normal;\n$subheader-margin-top: 0.2rem;\n$subheader-margin-bottom: 0.5rem;\n$stat-font-size: 2.5rem;\n\n// 6. Abide\n// --------\n\n$abide-inputs: true;\n$abide-labels: true;\n$input-background-invalid: get-color(alert);\n$form-label-color-invalid: get-color(alert);\n$input-error-color: get-color(alert);\n$input-error-font-size: rem-calc(12);\n$input-error-font-weight: $global-weight-bold;\n\n// 7. Accordion\n// ------------\n\n$accordion-background: $white;\n$accordion-plusminus: true;\n$accordion-title-font-size: rem-calc(12);\n$accordion-item-color: $primary-color;\n$accordion-item-background-hover: $light-gray;\n$accordion-item-padding: 1.25rem 1rem;\n$accordion-content-background: $white;\n$accordion-content-border: 1px solid $light-gray;\n$accordion-content-color: $body-font-color;\n$accordion-content-padding: 1rem;\n\n// 8. Accordion Menu\n// -----------------\n\n$accordionmenu-padding: $global-menu-padding;\n$accordionmenu-nested-margin: $global-menu-nested-margin;\n$accordionmenu-submenu-padding: $accordionmenu-padding;\n$accordionmenu-arrows: true;\n$accordionmenu-arrow-color: $primary-color;\n$accordionmenu-item-background: null;\n$accordionmenu-border: null;\n$accordionmenu-submenu-toggle-background: null;\n$accordion-submenu-toggle-border: $accordionmenu-border;\n$accordionmenu-submenu-toggle-width: 40px;\n$accordionmenu-submenu-toggle-height: $accordionmenu-submenu-toggle-width;\n$accordionmenu-arrow-size: 6px;\n\n// 9. Badge\n// --------\n\n$badge-background: $primary-color;\n$badge-color: $white;\n$badge-color-alt: $black;\n$badge-palette: $foundation-palette;\n$badge-padding: 0.3em;\n$badge-minwidth: 2.1em;\n$badge-font-size: 0.6rem;\n\n// 10. Breadcrumbs\n// ---------------\n\n$breadcrumbs-margin: 0 0 $global-margin 0;\n$breadcrumbs-item-font-size: rem-calc(11);\n$breadcrumbs-item-color: $primary-color;\n$breadcrumbs-item-color-current: $black;\n$breadcrumbs-item-color-disabled: $medium-gray;\n$breadcrumbs-item-margin: 0.75rem;\n$breadcrumbs-item-uppercase: true;\n$breadcrumbs-item-separator: true;\n$breadcrumbs-item-separator-item: '/';\n$breadcrumbs-item-separator-item-rtl: '\\\\';\n$breadcrumbs-item-separator-color: $medium-gray;\n\n// 11. Button\n// ----------\n\n$button-font-family: inherit;\n$button-padding: 0.85em 1em;\n$button-margin: 0 0 $global-margin 0;\n$button-fill: solid;\n$button-background: $primary-color;\n$button-background-hover: scale-color($button-background, $lightness: -15%);\n$button-color: $white;\n$button-color-alt: $black;\n$button-radius: $global-radius;\n$button-hollow-border-width: 1px;\n$button-sizes: (\n tiny: 0.6rem,\n small: 0.75rem,\n default: 0.9rem,\n large: 1.25rem,\n);\n$button-palette: $foundation-palette;\n$button-opacity-disabled: 0.25;\n$button-background-hover-lightness: -20%;\n$button-hollow-hover-lightness: -50%;\n$button-transition: background-color 0.25s ease-out, color 0.25s ease-out;\n$button-responsive-expanded: false;\n\n// 12. Button Group\n// ----------------\n\n$buttongroup-margin: 1rem;\n$buttongroup-spacing: 1px;\n$buttongroup-child-selector: '.button';\n$buttongroup-expand-max: 6;\n$buttongroup-radius-on-each: true;\n\n// 13. Callout\n// -----------\n\n$callout-background: $white;\n$callout-background-fade: 85%;\n$callout-border: 1px solid rgba($black, 0.25);\n$callout-margin: 0 0 1rem 0;\n$callout-padding: 1rem;\n$callout-font-color: $body-font-color;\n$callout-font-color-alt: $body-background;\n$callout-radius: $global-radius;\n$callout-link-tint: 30%;\n\n// 14. Card\n// --------\n\n$card-background: $white;\n$card-font-color: $body-font-color;\n$card-divider-background: $light-gray;\n$card-border: 1px solid $light-gray;\n$card-shadow: none;\n$card-border-radius: $global-radius;\n$card-padding: $global-padding;\n$card-margin-bottom: $global-margin;\n\n// 15. Close Button\n// ----------------\n\n$closebutton-position: right top;\n$closebutton-offset-horizontal: (\n small: 0.66rem,\n medium: 1rem,\n);\n$closebutton-offset-vertical: (\n small: 0.33em,\n medium: 0.5rem,\n);\n$closebutton-size: (\n small: 1.5em,\n medium: 2em,\n);\n$closebutton-lineheight: 1;\n$closebutton-color: $dark-gray;\n$closebutton-color-hover: $black;\n\n// 16. Drilldown\n// -------------\n\n$drilldown-transition: transform 0.15s linear;\n$drilldown-arrows: true;\n$drilldown-padding: $global-menu-padding;\n$drilldown-nested-margin: 0;\n$drilldown-background: $white;\n$drilldown-submenu-padding: $drilldown-padding;\n$drilldown-submenu-background: $white;\n$drilldown-arrow-color: $primary-color;\n$drilldown-arrow-size: 6px;\n\n// 17. Dropdown\n// ------------\n\n$dropdown-padding: 1rem;\n$dropdown-background: $body-background;\n$dropdown-border: 1px solid $medium-gray;\n$dropdown-font-size: 1rem;\n$dropdown-width: 300px;\n$dropdown-radius: $global-radius;\n$dropdown-sizes: (\n tiny: 100px,\n small: 200px,\n large: 400px,\n);\n\n// 18. Dropdown Menu\n// -----------------\n\n$dropdownmenu-arrows: true;\n$dropdownmenu-arrow-color: $anchor-color;\n$dropdownmenu-arrow-size: 6px;\n$dropdownmenu-arrow-padding: 1.5rem;\n$dropdownmenu-min-width: 200px;\n$dropdownmenu-background: $white;\n$dropdownmenu-submenu-background: $dropdownmenu-background;\n$dropdownmenu-padding: $global-menu-padding;\n$dropdownmenu-nested-margin: 0;\n$dropdownmenu-submenu-padding: $dropdownmenu-padding;\n$dropdownmenu-border: 1px solid $medium-gray;\n$dropdown-menu-item-color-active: get-color(primary);\n$dropdown-menu-item-background-active: transparent;\n\n// 19. Flexbox Utilities\n// ---------------------\n\n$flex-source-ordering-count: 6;\n$flexbox-responsive-breakpoints: true;\n\n// 20. Forms\n// ---------\n\n$fieldset-border: 1px solid $medium-gray;\n$fieldset-padding: rem-calc(20);\n$fieldset-margin: rem-calc(18 0);\n$legend-padding: rem-calc(0 3);\n$form-spacing: rem-calc(16);\n$helptext-color: $black;\n$helptext-font-size: rem-calc(13);\n$helptext-font-style: italic;\n$input-prefix-color: $black;\n$input-prefix-background: $light-gray;\n$input-prefix-border: 1px solid $medium-gray;\n$input-prefix-padding: 1rem;\n$form-label-color: $black;\n$form-label-font-size: rem-calc(14);\n$form-label-font-weight: $global-weight-normal;\n$form-label-line-height: 1.8;\n$select-background: $white;\n$select-triangle-color: $dark-gray;\n$select-radius: $global-radius;\n$input-color: $black;\n$input-placeholder-color: $medium-gray;\n$input-font-family: inherit;\n$input-font-size: rem-calc(16);\n$input-font-weight: $global-weight-normal;\n$input-line-height: $global-lineheight;\n$input-background: $white;\n$input-background-focus: $white;\n$input-background-disabled: $light-gray;\n$input-border: 1px solid $medium-gray;\n$input-border-focus: 1px solid $dark-gray;\n$input-padding: $form-spacing * 0.5;\n$input-shadow: inset 0 1px 2px rgba($black, 0.1);\n$input-shadow-focus: 0 0 5px $medium-gray;\n$input-cursor-disabled: not-allowed;\n$input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;\n$input-number-spinners: true;\n$input-radius: $global-radius;\n$form-button-radius: $global-radius;\n\n// 21. Label\n// ---------\n\n$label-background: $primary-color;\n$label-color: $white;\n$label-color-alt: $black;\n$label-palette: $foundation-palette;\n$label-font-size: 0.8rem;\n$label-padding: 0.33333rem 0.5rem;\n$label-radius: $global-radius;\n\n// 22. Media Object\n// ----------------\n\n$mediaobject-margin-bottom: $global-margin;\n$mediaobject-section-padding: $global-padding;\n$mediaobject-image-width-stacked: 100%;\n\n// 23. Menu\n// --------\n\n$menu-margin: 0;\n$menu-nested-margin: $global-menu-nested-margin;\n$menu-items-padding: $global-menu-padding;\n$menu-simple-margin: 1rem;\n$menu-item-color-active: $white;\n$menu-item-background-active: get-color(primary);\n$menu-icon-spacing: 0.25rem;\n$menu-item-background-hover: $light-gray;\n$menu-state-back-compat: true;\n$menu-centered-back-compat: true;\n$menu-icons-back-compat: true;\n\n// 24. Meter\n// ---------\n\n$meter-height: 1rem;\n$meter-radius: $global-radius;\n$meter-background: $medium-gray;\n$meter-fill-good: $success-color;\n$meter-fill-medium: $warning-color;\n$meter-fill-bad: $alert-color;\n\n// 25. Off-canvas\n// --------------\n\n$offcanvas-sizes: (\n small: 250px,\n);\n$offcanvas-vertical-sizes: (\n small: 250px,\n);\n$offcanvas-background: $light-gray;\n$offcanvas-shadow: 0 0 10px rgba($black, 0.7);\n$offcanvas-inner-shadow-size: 20px;\n$offcanvas-inner-shadow-color: rgba($black, 0.25);\n$offcanvas-overlay-zindex: 11;\n$offcanvas-push-zindex: 12;\n$offcanvas-overlap-zindex: 13;\n$offcanvas-reveal-zindex: 12;\n$offcanvas-transition-length: 0.5s;\n$offcanvas-transition-timing: ease;\n$offcanvas-fixed-reveal: true;\n$offcanvas-exit-background: rgba($white, 0.25);\n$maincontent-class: 'off-canvas-content';\n\n// 26. Orbit\n// ---------\n\n$orbit-bullet-background: $medium-gray;\n$orbit-bullet-background-active: $dark-gray;\n$orbit-bullet-diameter: 1.2rem;\n$orbit-bullet-margin: 0.1rem;\n$orbit-bullet-margin-top: 0.8rem;\n$orbit-bullet-margin-bottom: 0.8rem;\n$orbit-caption-background: rgba($black, 0.5);\n$orbit-caption-padding: 1rem;\n$orbit-control-background-hover: rgba($black, 0.5);\n$orbit-control-padding: 1rem;\n$orbit-control-zindex: 10;\n\n// 27. Pagination\n// --------------\n\n$pagination-font-size: rem-calc(14);\n$pagination-margin-bottom: $global-margin;\n$pagination-item-color: $black;\n$pagination-item-padding: rem-calc(3 10);\n$pagination-item-spacing: rem-calc(1);\n$pagination-radius: $global-radius;\n$pagination-item-background-hover: $light-gray;\n$pagination-item-background-current: $primary-color;\n$pagination-item-color-current: $white;\n$pagination-item-color-disabled: $medium-gray;\n$pagination-ellipsis-color: $black;\n$pagination-mobile-items: false;\n$pagination-mobile-current-item: false;\n$pagination-arrows: true;\n\n// 28. Progress Bar\n// ----------------\n\n$progress-height: 1rem;\n$progress-background: $medium-gray;\n$progress-margin-bottom: $global-margin;\n$progress-meter-background: $primary-color;\n$progress-radius: $global-radius;\n\n// 29. Prototype Arrow\n// -------------------\n\n$prototype-arrow-directions: (down, up, right, left);\n$prototype-arrow-size: 0.4375rem;\n$prototype-arrow-color: $black;\n\n// 30. Prototype Border-Box\n// ------------------------\n\n$prototype-border-box-breakpoints: $global-prototype-breakpoints;\n\n// 31. Prototype Border-None\n// -------------------------\n\n$prototype-border-none-breakpoints: $global-prototype-breakpoints;\n\n// 32. Prototype Bordered\n// ----------------------\n\n$prototype-bordered-breakpoints: $global-prototype-breakpoints;\n$prototype-border-width: rem-calc(1);\n$prototype-border-type: solid;\n$prototype-border-color: $medium-gray;\n\n// 33. Prototype Display\n// ---------------------\n\n$prototype-display-breakpoints: $global-prototype-breakpoints;\n$prototype-display: (inline, inline-block, block, table, table-cell);\n\n// 34. Prototype Font-Styling\n// --------------------------\n\n$prototype-font-breakpoints: $global-prototype-breakpoints;\n$prototype-wide-letter-spacing: rem-calc(4);\n$prototype-font-normal: $global-weight-normal;\n$prototype-font-bold: $global-weight-bold;\n\n// 35. Prototype List-Style-Type\n// -----------------------------\n\n$prototype-list-breakpoints: $global-prototype-breakpoints;\n$prototype-style-type-unordered: (disc, circle, square);\n$prototype-style-type-ordered: (\n decimal,\n lower-alpha,\n lower-latin,\n lower-roman,\n upper-alpha,\n upper-latin,\n upper-roman\n);\n\n// 36. Prototype Overflow\n// ----------------------\n\n$prototype-overflow-breakpoints: $global-prototype-breakpoints;\n$prototype-overflow: (visible, hidden, scroll);\n\n// 37. Prototype Position\n// ----------------------\n\n$prototype-position-breakpoints: $global-prototype-breakpoints;\n$prototype-position: (static, relative, absolute, fixed);\n$prototype-position-z-index: 975;\n\n// 38. Prototype Rounded\n// ---------------------\n\n$prototype-rounded-breakpoints: $global-prototype-breakpoints;\n$prototype-border-radius: rem-calc(3);\n\n// 39. Prototype Separator\n// -----------------------\n\n$prototype-separator-breakpoints: $global-prototype-breakpoints;\n$prototype-separator-align: center;\n$prototype-separator-height: rem-calc(2);\n$prototype-separator-width: 3rem;\n$prototype-separator-background: $primary-color;\n$prototype-separator-margin-top: $global-margin;\n\n// 40. Prototype Shadow\n// --------------------\n\n$prototype-shadow-breakpoints: $global-prototype-breakpoints;\n$prototype-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16),\n 0 2px 10px 0 rgba(0, 0, 0, 0.12);\n\n// 41. Prototype Sizing\n// --------------------\n\n$prototype-sizing-breakpoints: $global-prototype-breakpoints;\n$prototype-sizing: (width, height);\n$prototype-sizes: (\n 25: 25%,\n 50: 50%,\n 75: 75%,\n 100: 100%,\n);\n\n// 42. Prototype Spacing\n// ---------------------\n\n$prototype-spacing-breakpoints: $global-prototype-breakpoints;\n$prototype-spacers-count: 3;\n\n// 43. Prototype Text-Decoration\n// -----------------------------\n\n$prototype-decoration-breakpoints: $global-prototype-breakpoints;\n$prototype-text-decoration: (overline, underline, line-through);\n\n// 44. Prototype Text-Transformation\n// ---------------------------------\n\n$prototype-transformation-breakpoints: $global-prototype-breakpoints;\n$prototype-text-transformation: (lowercase, uppercase, capitalize);\n\n// 45. Prototype Text-Utilities\n// ----------------------------\n\n$prototype-utilities-breakpoints: $global-prototype-breakpoints;\n$prototype-text-overflow: ellipsis;\n\n// 46. Responsive Embed\n// --------------------\n\n$responsive-embed-margin-bottom: rem-calc(16);\n$responsive-embed-ratios: (\n default: 4 by 3,\n widescreen: 16 by 9,\n);\n\n// 47. Reveal\n// ----------\n\n$reveal-background: $white;\n$reveal-width: 600px;\n$reveal-max-width: $global-width;\n$reveal-padding: $global-padding;\n$reveal-border: 1px solid $medium-gray;\n$reveal-radius: $global-radius;\n$reveal-zindex: 1005;\n$reveal-overlay-background: rgba($black, 0.45);\n\n// 48. Slider\n// ----------\n\n$slider-width-vertical: 0.5rem;\n$slider-transition: all 0.2s ease-in-out;\n$slider-height: 0.5rem;\n$slider-background: $light-gray;\n$slider-fill-background: $medium-gray;\n$slider-handle-height: 1.4rem;\n$slider-handle-width: 1.4rem;\n$slider-handle-background: $primary-color;\n$slider-opacity-disabled: 0.25;\n$slider-radius: $global-radius;\n\n// 49. Switch\n// ----------\n\n$switch-background: $medium-gray;\n$switch-background-active: $primary-color;\n$switch-height: 2rem;\n$switch-height-tiny: 1.5rem;\n$switch-height-small: 1.75rem;\n$switch-height-large: 2.5rem;\n$switch-radius: $global-radius;\n$switch-margin: $global-margin;\n$switch-paddle-background: $white;\n$switch-paddle-offset: 0.25rem;\n$switch-paddle-radius: $global-radius;\n$switch-paddle-transition: all 0.25s ease-out;\n\n// 50. Table\n// ---------\n\n$table-background: $white;\n$table-color-scale: 5%;\n$table-border: 1px solid smart-scale($table-background, $table-color-scale);\n$table-padding: rem-calc(8 10 10);\n$table-hover-scale: 2%;\n$table-row-hover: darken($table-background, $table-hover-scale);\n$table-row-stripe-hover: darken(\n $table-background,\n $table-color-scale + $table-hover-scale\n);\n$table-is-striped: true;\n$table-striped-background: smart-scale($table-background, $table-color-scale);\n$table-stripe: even;\n$table-head-background: smart-scale(\n $table-background,\n $table-color-scale * 0.5\n);\n$table-head-row-hover: darken($table-head-background, $table-hover-scale);\n$table-foot-background: smart-scale($table-background, $table-color-scale);\n$table-foot-row-hover: darken($table-foot-background, $table-hover-scale);\n$table-head-font-color: $body-font-color;\n$table-foot-font-color: $body-font-color;\n$show-header-for-stacked: false;\n$table-stack-breakpoint: medium;\n\n// 51. Tabs\n// --------\n\n$tab-margin: 0;\n$tab-background: $white;\n$tab-color: $primary-color;\n$tab-background-active: $light-gray;\n$tab-active-color: $primary-color;\n$tab-item-font-size: rem-calc(12);\n$tab-item-background-hover: $white;\n$tab-item-padding: 1.25rem 1.5rem;\n$tab-expand-max: 6;\n$tab-content-background: $white;\n$tab-content-border: $light-gray;\n$tab-content-color: $body-font-color;\n$tab-content-padding: 1rem;\n\n// 52. Thumbnail\n// -------------\n\n$thumbnail-border: solid 4px $white;\n$thumbnail-margin-bottom: $global-margin;\n$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);\n$thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);\n$thumbnail-transition: box-shadow 200ms ease-out;\n$thumbnail-radius: $global-radius;\n\n// 53. Title Bar\n// -------------\n\n$titlebar-background: $black;\n$titlebar-color: $white;\n$titlebar-padding: 0.5rem;\n$titlebar-text-font-weight: bold;\n$titlebar-icon-color: $white;\n$titlebar-icon-color-hover: $medium-gray;\n$titlebar-icon-spacing: 0.25rem;\n\n// 54. Tooltip\n// -----------\n\n$has-tip-cursor: help;\n$has-tip-font-weight: $global-weight-bold;\n$has-tip-border-bottom: dotted 1px $dark-gray;\n$tooltip-background-color: $black;\n$tooltip-color: $white;\n$tooltip-padding: 0.75rem;\n$tooltip-max-width: 10rem;\n$tooltip-font-size: $small-font-size;\n$tooltip-pip-width: 0.75rem;\n$tooltip-pip-height: $tooltip-pip-width * 0.866;\n$tooltip-radius: $global-radius;\n\n// 55. Top Bar\n// -----------\n\n$topbar-padding: 0.5rem;\n$topbar-background: $light-gray;\n$topbar-submenu-background: $topbar-background;\n$topbar-title-spacing: 0.5rem 1rem 0.5rem 0;\n$topbar-input-width: 200px;\n$topbar-unstack-breakpoint: medium;\n\n// 56. Xy Grid\n// -----------\n\n$xy-grid: true;\n$grid-container: $global-width;\n$grid-columns: 12;\n$grid-margin-gutters: (\n small: 20px,\n medium: 30px,\n);\n$grid-padding-gutters: $grid-margin-gutters;\n$grid-container-padding: $grid-padding-gutters;\n$grid-container-max: $global-width;\n$xy-block-grid-max: 8;\n","$sapphire-blue: #014371;\n$sea-blue: #00639a;\n$vivid-cerulean: #00a6d5;\n$medium-turquoise: #46d6fa;\n$gainsborough: #d2dce3;\n$yankees-blue: #161d39;\n$independence: #4e5a71;\n$weldon-blue: #8194a1;\n$pastel-blue: #abc7d6;\n$platinum: #e4e8eb;\n$sky-white: #fbfeff;\n$bronze: #a65708;\n$reviewed: #c39b00;\n$unreviewed: #c0c0c0;\n$uniref: #f2994c;\n$uniparc: #88c19d;\n$proteomes: #e56358;\n$reference-proteome: #9d4a4d;\n$peptide-search: #A748BD;\n$id-mapping: #357B92;\n$blast: #00A6D5;\n$align: #B8CE48;\n$warning: #ffcc33;\n$failure: #f36968;\n$success: #108f3b;\n$info: #79cbf8;\n$help-green: #28aa50;\n$coyote-brown: #966336;\n$outer-space: #374343;\n$tool-results: #622E81;"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},"./node_modules/uuid/dist/esm-browser/v1.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _rng_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/uuid/dist/esm-browser/rng.js"),_stringify_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/uuid/dist/esm-browser/stringify.js");let _nodeId,_clockseq,_lastMSecs=0,_lastNSecs=0;__webpack_exports__.A=function v1(options,buf,offset){let i=buf&&offset||0;const b=buf||new Array(16);let node=(options=options||{}).node||_nodeId,clockseq=void 0!==options.clockseq?options.clockseq:_clockseq;if(null==node||null==clockseq){const seedBytes=options.random||(options.rng||_rng_js__WEBPACK_IMPORTED_MODULE_0__.A)();null==node&&(node=_nodeId=[1|seedBytes[0],seedBytes[1],seedBytes[2],seedBytes[3],seedBytes[4],seedBytes[5]]),null==clockseq&&(clockseq=_clockseq=16383&(seedBytes[6]<<8|seedBytes[7]))}let msecs=void 0!==options.msecs?options.msecs:Date.now(),nsecs=void 0!==options.nsecs?options.nsecs:_lastNSecs+1;const dt=msecs-_lastMSecs+(nsecs-_lastNSecs)/1e4;if(dt<0&&void 0===options.clockseq&&(clockseq=clockseq+1&16383),(dt<0||msecs>_lastMSecs)&&void 0===options.nsecs&&(nsecs=0),nsecs>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_lastMSecs=msecs,_lastNSecs=nsecs,_clockseq=clockseq,msecs+=122192928e5;const tl=(1e4*(268435455&msecs)+nsecs)%4294967296;b[i++]=tl>>>24&255,b[i++]=tl>>>16&255,b[i++]=tl>>>8&255,b[i++]=255&tl;const tmh=msecs/4294967296*1e4&268435455;b[i++]=tmh>>>8&255,b[i++]=255&tmh,b[i++]=tmh>>>24&15|16,b[i++]=tmh>>>16&255,b[i++]=clockseq>>>8|128,b[i++]=255&clockseq;for(let n=0;n<6;++n)b[i+n]=node[n];return buf||(0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__.k)(b)}}}]); \ No newline at end of file diff --git a/EvidenceTag-stories.d81b5ceb.iframe.bundle.js.br b/EvidenceTag-stories.d81b5ceb.iframe.bundle.js.br deleted file mode 100644 index 870d40a5..00000000 Binary files a/EvidenceTag-stories.d81b5ceb.iframe.bundle.js.br and /dev/null differ diff --git a/EvidenceTag-stories.d81b5ceb.iframe.bundle.js.gz b/EvidenceTag-stories.d81b5ceb.iframe.bundle.js.gz deleted file mode 100644 index 84ee3d66..00000000 Binary files a/EvidenceTag-stories.d81b5ceb.iframe.bundle.js.gz and /dev/null differ diff --git a/HeroContainer-stories.11d82c9e.iframe.bundle.js b/HeroContainer-stories.11d82c9e.iframe.bundle.js deleted file mode 100644 index 2c554109..00000000 --- a/HeroContainer-stories.11d82c9e.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[8804],{"./stories/HeroContainer.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{HeroContainer:function(){return HeroContainer_stories_HeroContainer},__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return HeroContainer_stories}});var dist=__webpack_require__("./node_modules/lorem-ipsum/dist/index.js"),react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),hero_container=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/hero-container.scss"),hero_container_default=__webpack_require__.n(hero_container),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(hero_container_default(),options),hero_container_default()&&hero_container_default().locals&&hero_container_default().locals;var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const HeroContainer=_ref=>{let{title:title,headingLevel:headingLevel="h2",children:children,className:className,titleClassName:titleClassName,noSidePadding:noSidePadding=!1}=_ref;return(0,jsx_runtime.jsxs)("section",{className:classnames_default()("hero-container",className,!noSidePadding&&"hero-container--side-padding"),children:[title&&(0,react.createElement)(headingLevel,{className:classnames_default()(titleClassName,"hero-container__title","big")},title),children]})};HeroContainer.displayName="HeroContainer";var src_components_hero_container=HeroContainer;try{HeroContainer.displayName="HeroContainer",HeroContainer.__docgenInfo={description:"",displayName:"HeroContainer",props:{headingLevel:{defaultValue:{value:"h2"},description:"The tile title heading level",name:"headingLevel",required:!1,type:{name:"enum",value:[{value:'"h1"'},{value:'"h2"'},{value:'"h3"'},{value:'"h4"'},{value:'"h5"'},{value:'"h6"'}]}},titleClassName:{defaultValue:null,description:"CSS classes to pass to the component title",name:"titleClassName",required:!1,type:{name:"string"}},noSidePadding:{defaultValue:{value:"false"},description:"Remove left and right padding",name:"noSidePadding",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/hero-container.tsx#HeroContainer"]={docgenInfo:HeroContainer.__docgenInfo,name:"HeroContainer",path:"src/components/hero-container.tsx#HeroContainer"})}catch(__react_docgen_typescript_loader_error){}try{herocontainer.displayName="herocontainer",herocontainer.__docgenInfo={description:"",displayName:"herocontainer",props:{headingLevel:{defaultValue:{value:"h2"},description:"The tile title heading level",name:"headingLevel",required:!1,type:{name:"enum",value:[{value:'"h1"'},{value:'"h2"'},{value:'"h3"'},{value:'"h4"'},{value:'"h5"'},{value:'"h6"'}]}},titleClassName:{defaultValue:null,description:"CSS classes to pass to the component title",name:"titleClassName",required:!1,type:{name:"string"}},noSidePadding:{defaultValue:{value:"false"},description:"Remove left and right padding",name:"noSidePadding",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/hero-container.tsx#herocontainer"]={docgenInfo:herocontainer.__docgenInfo,name:"herocontainer",path:"src/components/hero-container.tsx#herocontainer"})}catch(__react_docgen_typescript_loader_error){}var HeroContainer_stories={component:src_components_hero_container,title:"Layout/Hero Container",args:{title:"Title",noSidePadding:!1},render:_ref=>{let{title:title,noSidePadding:noSidePadding}=_ref;return(0,jsx_runtime.jsx)(src_components_hero_container,{title:title,noSidePadding:noSidePadding,children:(0,dist.Ok)({count:25,units:"words"})})}};const HeroContainer_stories_HeroContainer={};HeroContainer_stories_HeroContainer.parameters={...HeroContainer_stories_HeroContainer.parameters,docs:{...HeroContainer_stories_HeroContainer.parameters?.docs,source:{originalSource:"{}",...HeroContainer_stories_HeroContainer.parameters?.docs?.source}}};const __namedExportsOrder=["HeroContainer"]},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/hero-container.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,".hero-container{--grid-background: #e4e8eb;margin-top:1rem;margin-bottom:1rem;padding:1rem 0;background-color:#e4e8eb}.hero-container__title{line-height:1;margin-bottom:0}.hero-container--side-padding{padding-left:1rem;padding-right:1rem}","",{version:3,sources:["webpack://./src/styles/components/hero-container.scss","webpack://./src/styles/_settings.scss"],names:[],mappings:"AAGA,gBACE,0BAAA,CAEA,eCgFc,CD/Ed,kBC+Ec,CD9Ed,cAAA,CACA,wBAAA,CAEA,uBACE,aAAA,CACA,eAAA,CAGF,8BACE,iBCsEa,CDrEb,kBCqEa",sourcesContent:["@import '../settings';\n@import '../colours';\n\n.hero-container {\n --grid-background: #{$colour-platinum};\n\n margin-top: $global-margin;\n margin-bottom: $global-margin;\n padding: $global-padding 0;\n background-color: $colour-platinum;\n\n &__title {\n line-height: 1;\n margin-bottom: 0;\n }\n\n &--side-padding {\n padding-left: $global-padding;\n padding-right: $global-padding;\n }\n}\n","// Foundation for Sites Settings\n// -----------------------------\n//\n// Table of Contents:\n//\n// 1. Global\n// 2. Breakpoints\n// 3. The Grid\n// 4. Base Typography\n// 5. Typography Helpers\n// 6. Abide\n// 7. Accordion\n// 8. Accordion Menu\n// 9. Badge\n// 10. Breadcrumbs\n// 11. Button\n// 12. Button Group\n// 13. Callout\n// 14. Card\n// 15. Close Button\n// 16. Drilldown\n// 17. Dropdown\n// 18. Dropdown Menu\n// 19. Flexbox Utilities\n// 20. Forms\n// 21. Label\n// 22. Media Object\n// 23. Menu\n// 24. Meter\n// 25. Off-canvas\n// 26. Orbit\n// 27. Pagination\n// 28. Progress Bar\n// 29. Prototype Arrow\n// 30. Prototype Border-Box\n// 31. Prototype Border-None\n// 32. Prototype Bordered\n// 33. Prototype Display\n// 34. Prototype Font-Styling\n// 35. Prototype List-Style-Type\n// 36. Prototype Overflow\n// 37. Prototype Position\n// 38. Prototype Rounded\n// 39. Prototype Separator\n// 40. Prototype Shadow\n// 41. Prototype Sizing\n// 42. Prototype Spacing\n// 43. Prototype Text-Decoration\n// 44. Prototype Text-Transformation\n// 45. Prototype Text-Utilities\n// 46. Responsive Embed\n// 47. Reveal\n// 48. Slider\n// 49. Switch\n// 50. Table\n// 51. Tabs\n// 52. Thumbnail\n// 53. Title Bar\n// 54. Tooltip\n// 55. Top Bar\n// 56. Xy Grid\n\n@import 'foundation-sites/scss/util/util';\n\n// 1. Global\n// ---------\n\n$global-font-size: 100%;\n$global-width: rem-calc(1200);\n$global-lineheight: 1.5;\n$foundation-palette: (\n primary: #1779ba,\n secondary: #ffffff,\n success: #3adb76,\n warning: #ffae00,\n alert: #cc4b37,\n);\n$light-gray: #e6e6e6;\n$medium-gray: #cacaca;\n$dark-gray: #8a8a8a;\n$black: #0a0a0a;\n$white: #fefefe;\n$body-background: $white;\n$body-font-color: $black;\n$body-font-family: Lato, Helvetica, Roboto, Arial, sans-serif;\n$body-antialiased: true;\n$global-margin: 1rem;\n$global-padding: 1rem;\n$global-position: 1rem;\n$global-weight-normal: normal;\n$global-weight-bold: bold;\n$global-radius: 0;\n$global-menu-padding: 0.7rem 1rem;\n$global-menu-nested-margin: 1rem;\n$global-text-direction: ltr;\n$global-flexbox: true;\n$global-prototype-breakpoints: false;\n$global-button-cursor: auto;\n$global-color-pick-contrast-tolerance: 0;\n$print-transparent-backgrounds: true;\n\n@include add-foundation-colors;\n\n// 2. Breakpoints\n// --------------\n\n$breakpoints: (\n small: 0,\n medium: 640px,\n large: 1024px,\n xlarge: 1200px,\n xxlarge: 1440px,\n);\n$print-breakpoint: large;\n$breakpoint-classes: (small medium large);\n\n// 3. The Grid\n// -----------\n\n$grid-row-width: $global-width;\n$grid-column-count: 12;\n$grid-column-gutter: (\n small: 20px,\n medium: 30px,\n);\n$grid-column-align-edge: true;\n$grid-column-alias: 'columns';\n$block-grid-max: 8;\n\n// 4. Base Typography\n// ------------------\n\n$header-font-family: $body-font-family;\n$header-font-weight: $global-weight-normal;\n$header-font-style: normal;\n$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;\n$header-color: inherit;\n$header-lineheight: 1.4;\n$header-margin-bottom: 0.5rem;\n$header-styles: (\n small: (\n 'h1': (\n 'font-size': 24,\n ),\n 'h2': (\n 'font-size': 20,\n ),\n 'h3': (\n 'font-size': 19,\n ),\n 'h4': (\n 'font-size': 18,\n ),\n 'h5': (\n 'font-size': 17,\n ),\n 'h6': (\n 'font-size': 16,\n ),\n ),\n medium: (\n 'h1': (\n 'font-size': 48,\n ),\n 'h2': (\n 'font-size': 40,\n ),\n 'h3': (\n 'font-size': 31,\n ),\n 'h4': (\n 'font-size': 25,\n ),\n 'h5': (\n 'font-size': 20,\n ),\n 'h6': (\n 'font-size': 16,\n ),\n ),\n);\n$header-text-rendering: optimizeLegibility;\n$small-font-size: 80%;\n$header-small-font-color: $black;\n$paragraph-lineheight: 1.6;\n$paragraph-margin-bottom: 1rem;\n$paragraph-text-rendering: optimizeLegibility;\n$code-color: $black;\n$code-font-family: $font-family-monospace;\n$code-font-weight: $global-weight-normal;\n$code-background: $light-gray;\n$code-border: 1px solid $medium-gray;\n$code-padding: rem-calc(2 5 1);\n$anchor-color: $primary-color;\n$anchor-color-hover: scale-color($anchor-color, $lightness: -14%);\n$anchor-text-decoration: none;\n$anchor-text-decoration-hover: none;\n$hr-width: $global-width;\n$hr-border: 1px solid $medium-gray;\n$hr-margin: rem-calc(20) auto;\n$list-lineheight: $paragraph-lineheight;\n$list-margin-bottom: $paragraph-margin-bottom;\n$list-style-type: disc;\n$list-style-position: outside;\n$list-side-margin: 1.25rem;\n$list-nested-side-margin: 1.25rem;\n$defnlist-margin-bottom: 1rem;\n$defnlist-term-weight: $global-weight-bold;\n$defnlist-term-margin-bottom: 0.3rem;\n$blockquote-color: $dark-gray;\n$blockquote-padding: rem-calc(9 20 0 19);\n$blockquote-border: 1px solid $medium-gray;\n$cite-font-size: rem-calc(13);\n$cite-color: $dark-gray;\n$cite-pseudo-content: '\\2014 \\0020';\n$keystroke-font: $font-family-monospace;\n$keystroke-color: $black;\n$keystroke-background: $light-gray;\n$keystroke-padding: rem-calc(2 4 0);\n$keystroke-radius: $global-radius;\n$abbr-underline: 1px dotted $black;\n\n// 5. Typography Helpers\n// ---------------------\n\n$lead-font-size: $global-font-size * 1.25;\n$lead-lineheight: 1.6;\n$subheader-lineheight: 1.4;\n$subheader-color: $dark-gray;\n$subheader-font-weight: $global-weight-normal;\n$subheader-margin-top: 0.2rem;\n$subheader-margin-bottom: 0.5rem;\n$stat-font-size: 2.5rem;\n\n// 6. Abide\n// --------\n\n$abide-inputs: true;\n$abide-labels: true;\n$input-background-invalid: get-color(alert);\n$form-label-color-invalid: get-color(alert);\n$input-error-color: get-color(alert);\n$input-error-font-size: rem-calc(12);\n$input-error-font-weight: $global-weight-bold;\n\n// 7. Accordion\n// ------------\n\n$accordion-background: $white;\n$accordion-plusminus: true;\n$accordion-title-font-size: rem-calc(12);\n$accordion-item-color: $primary-color;\n$accordion-item-background-hover: $light-gray;\n$accordion-item-padding: 1.25rem 1rem;\n$accordion-content-background: $white;\n$accordion-content-border: 1px solid $light-gray;\n$accordion-content-color: $body-font-color;\n$accordion-content-padding: 1rem;\n\n// 8. Accordion Menu\n// -----------------\n\n$accordionmenu-padding: $global-menu-padding;\n$accordionmenu-nested-margin: $global-menu-nested-margin;\n$accordionmenu-submenu-padding: $accordionmenu-padding;\n$accordionmenu-arrows: true;\n$accordionmenu-arrow-color: $primary-color;\n$accordionmenu-item-background: null;\n$accordionmenu-border: null;\n$accordionmenu-submenu-toggle-background: null;\n$accordion-submenu-toggle-border: $accordionmenu-border;\n$accordionmenu-submenu-toggle-width: 40px;\n$accordionmenu-submenu-toggle-height: $accordionmenu-submenu-toggle-width;\n$accordionmenu-arrow-size: 6px;\n\n// 9. Badge\n// --------\n\n$badge-background: $primary-color;\n$badge-color: $white;\n$badge-color-alt: $black;\n$badge-palette: $foundation-palette;\n$badge-padding: 0.3em;\n$badge-minwidth: 2.1em;\n$badge-font-size: 0.6rem;\n\n// 10. Breadcrumbs\n// ---------------\n\n$breadcrumbs-margin: 0 0 $global-margin 0;\n$breadcrumbs-item-font-size: rem-calc(11);\n$breadcrumbs-item-color: $primary-color;\n$breadcrumbs-item-color-current: $black;\n$breadcrumbs-item-color-disabled: $medium-gray;\n$breadcrumbs-item-margin: 0.75rem;\n$breadcrumbs-item-uppercase: true;\n$breadcrumbs-item-separator: true;\n$breadcrumbs-item-separator-item: '/';\n$breadcrumbs-item-separator-item-rtl: '\\\\';\n$breadcrumbs-item-separator-color: $medium-gray;\n\n// 11. Button\n// ----------\n\n$button-font-family: inherit;\n$button-padding: 0.85em 1em;\n$button-margin: 0 0 $global-margin 0;\n$button-fill: solid;\n$button-background: $primary-color;\n$button-background-hover: scale-color($button-background, $lightness: -15%);\n$button-color: $white;\n$button-color-alt: $black;\n$button-radius: $global-radius;\n$button-hollow-border-width: 1px;\n$button-sizes: (\n tiny: 0.6rem,\n small: 0.75rem,\n default: 0.9rem,\n large: 1.25rem,\n);\n$button-palette: $foundation-palette;\n$button-opacity-disabled: 0.25;\n$button-background-hover-lightness: -20%;\n$button-hollow-hover-lightness: -50%;\n$button-transition: background-color 0.25s ease-out, color 0.25s ease-out;\n$button-responsive-expanded: false;\n\n// 12. Button Group\n// ----------------\n\n$buttongroup-margin: 1rem;\n$buttongroup-spacing: 1px;\n$buttongroup-child-selector: '.button';\n$buttongroup-expand-max: 6;\n$buttongroup-radius-on-each: true;\n\n// 13. Callout\n// -----------\n\n$callout-background: $white;\n$callout-background-fade: 85%;\n$callout-border: 1px solid rgba($black, 0.25);\n$callout-margin: 0 0 1rem 0;\n$callout-padding: 1rem;\n$callout-font-color: $body-font-color;\n$callout-font-color-alt: $body-background;\n$callout-radius: $global-radius;\n$callout-link-tint: 30%;\n\n// 14. Card\n// --------\n\n$card-background: $white;\n$card-font-color: $body-font-color;\n$card-divider-background: $light-gray;\n$card-border: 1px solid $light-gray;\n$card-shadow: none;\n$card-border-radius: $global-radius;\n$card-padding: $global-padding;\n$card-margin-bottom: $global-margin;\n\n// 15. Close Button\n// ----------------\n\n$closebutton-position: right top;\n$closebutton-offset-horizontal: (\n small: 0.66rem,\n medium: 1rem,\n);\n$closebutton-offset-vertical: (\n small: 0.33em,\n medium: 0.5rem,\n);\n$closebutton-size: (\n small: 1.5em,\n medium: 2em,\n);\n$closebutton-lineheight: 1;\n$closebutton-color: $dark-gray;\n$closebutton-color-hover: $black;\n\n// 16. Drilldown\n// -------------\n\n$drilldown-transition: transform 0.15s linear;\n$drilldown-arrows: true;\n$drilldown-padding: $global-menu-padding;\n$drilldown-nested-margin: 0;\n$drilldown-background: $white;\n$drilldown-submenu-padding: $drilldown-padding;\n$drilldown-submenu-background: $white;\n$drilldown-arrow-color: $primary-color;\n$drilldown-arrow-size: 6px;\n\n// 17. Dropdown\n// ------------\n\n$dropdown-padding: 1rem;\n$dropdown-background: $body-background;\n$dropdown-border: 1px solid $medium-gray;\n$dropdown-font-size: 1rem;\n$dropdown-width: 300px;\n$dropdown-radius: $global-radius;\n$dropdown-sizes: (\n tiny: 100px,\n small: 200px,\n large: 400px,\n);\n\n// 18. Dropdown Menu\n// -----------------\n\n$dropdownmenu-arrows: true;\n$dropdownmenu-arrow-color: $anchor-color;\n$dropdownmenu-arrow-size: 6px;\n$dropdownmenu-arrow-padding: 1.5rem;\n$dropdownmenu-min-width: 200px;\n$dropdownmenu-background: $white;\n$dropdownmenu-submenu-background: $dropdownmenu-background;\n$dropdownmenu-padding: $global-menu-padding;\n$dropdownmenu-nested-margin: 0;\n$dropdownmenu-submenu-padding: $dropdownmenu-padding;\n$dropdownmenu-border: 1px solid $medium-gray;\n$dropdown-menu-item-color-active: get-color(primary);\n$dropdown-menu-item-background-active: transparent;\n\n// 19. Flexbox Utilities\n// ---------------------\n\n$flex-source-ordering-count: 6;\n$flexbox-responsive-breakpoints: true;\n\n// 20. Forms\n// ---------\n\n$fieldset-border: 1px solid $medium-gray;\n$fieldset-padding: rem-calc(20);\n$fieldset-margin: rem-calc(18 0);\n$legend-padding: rem-calc(0 3);\n$form-spacing: rem-calc(16);\n$helptext-color: $black;\n$helptext-font-size: rem-calc(13);\n$helptext-font-style: italic;\n$input-prefix-color: $black;\n$input-prefix-background: $light-gray;\n$input-prefix-border: 1px solid $medium-gray;\n$input-prefix-padding: 1rem;\n$form-label-color: $black;\n$form-label-font-size: rem-calc(14);\n$form-label-font-weight: $global-weight-normal;\n$form-label-line-height: 1.8;\n$select-background: $white;\n$select-triangle-color: $dark-gray;\n$select-radius: $global-radius;\n$input-color: $black;\n$input-placeholder-color: $medium-gray;\n$input-font-family: inherit;\n$input-font-size: rem-calc(16);\n$input-font-weight: $global-weight-normal;\n$input-line-height: $global-lineheight;\n$input-background: $white;\n$input-background-focus: $white;\n$input-background-disabled: $light-gray;\n$input-border: 1px solid $medium-gray;\n$input-border-focus: 1px solid $dark-gray;\n$input-padding: $form-spacing * 0.5;\n$input-shadow: inset 0 1px 2px rgba($black, 0.1);\n$input-shadow-focus: 0 0 5px $medium-gray;\n$input-cursor-disabled: not-allowed;\n$input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;\n$input-number-spinners: true;\n$input-radius: $global-radius;\n$form-button-radius: $global-radius;\n\n// 21. Label\n// ---------\n\n$label-background: $primary-color;\n$label-color: $white;\n$label-color-alt: $black;\n$label-palette: $foundation-palette;\n$label-font-size: 0.8rem;\n$label-padding: 0.33333rem 0.5rem;\n$label-radius: $global-radius;\n\n// 22. Media Object\n// ----------------\n\n$mediaobject-margin-bottom: $global-margin;\n$mediaobject-section-padding: $global-padding;\n$mediaobject-image-width-stacked: 100%;\n\n// 23. Menu\n// --------\n\n$menu-margin: 0;\n$menu-nested-margin: $global-menu-nested-margin;\n$menu-items-padding: $global-menu-padding;\n$menu-simple-margin: 1rem;\n$menu-item-color-active: $white;\n$menu-item-background-active: get-color(primary);\n$menu-icon-spacing: 0.25rem;\n$menu-item-background-hover: $light-gray;\n$menu-state-back-compat: true;\n$menu-centered-back-compat: true;\n$menu-icons-back-compat: true;\n\n// 24. Meter\n// ---------\n\n$meter-height: 1rem;\n$meter-radius: $global-radius;\n$meter-background: $medium-gray;\n$meter-fill-good: $success-color;\n$meter-fill-medium: $warning-color;\n$meter-fill-bad: $alert-color;\n\n// 25. Off-canvas\n// --------------\n\n$offcanvas-sizes: (\n small: 250px,\n);\n$offcanvas-vertical-sizes: (\n small: 250px,\n);\n$offcanvas-background: $light-gray;\n$offcanvas-shadow: 0 0 10px rgba($black, 0.7);\n$offcanvas-inner-shadow-size: 20px;\n$offcanvas-inner-shadow-color: rgba($black, 0.25);\n$offcanvas-overlay-zindex: 11;\n$offcanvas-push-zindex: 12;\n$offcanvas-overlap-zindex: 13;\n$offcanvas-reveal-zindex: 12;\n$offcanvas-transition-length: 0.5s;\n$offcanvas-transition-timing: ease;\n$offcanvas-fixed-reveal: true;\n$offcanvas-exit-background: rgba($white, 0.25);\n$maincontent-class: 'off-canvas-content';\n\n// 26. Orbit\n// ---------\n\n$orbit-bullet-background: $medium-gray;\n$orbit-bullet-background-active: $dark-gray;\n$orbit-bullet-diameter: 1.2rem;\n$orbit-bullet-margin: 0.1rem;\n$orbit-bullet-margin-top: 0.8rem;\n$orbit-bullet-margin-bottom: 0.8rem;\n$orbit-caption-background: rgba($black, 0.5);\n$orbit-caption-padding: 1rem;\n$orbit-control-background-hover: rgba($black, 0.5);\n$orbit-control-padding: 1rem;\n$orbit-control-zindex: 10;\n\n// 27. Pagination\n// --------------\n\n$pagination-font-size: rem-calc(14);\n$pagination-margin-bottom: $global-margin;\n$pagination-item-color: $black;\n$pagination-item-padding: rem-calc(3 10);\n$pagination-item-spacing: rem-calc(1);\n$pagination-radius: $global-radius;\n$pagination-item-background-hover: $light-gray;\n$pagination-item-background-current: $primary-color;\n$pagination-item-color-current: $white;\n$pagination-item-color-disabled: $medium-gray;\n$pagination-ellipsis-color: $black;\n$pagination-mobile-items: false;\n$pagination-mobile-current-item: false;\n$pagination-arrows: true;\n\n// 28. Progress Bar\n// ----------------\n\n$progress-height: 1rem;\n$progress-background: $medium-gray;\n$progress-margin-bottom: $global-margin;\n$progress-meter-background: $primary-color;\n$progress-radius: $global-radius;\n\n// 29. Prototype Arrow\n// -------------------\n\n$prototype-arrow-directions: (down, up, right, left);\n$prototype-arrow-size: 0.4375rem;\n$prototype-arrow-color: $black;\n\n// 30. Prototype Border-Box\n// ------------------------\n\n$prototype-border-box-breakpoints: $global-prototype-breakpoints;\n\n// 31. Prototype Border-None\n// -------------------------\n\n$prototype-border-none-breakpoints: $global-prototype-breakpoints;\n\n// 32. Prototype Bordered\n// ----------------------\n\n$prototype-bordered-breakpoints: $global-prototype-breakpoints;\n$prototype-border-width: rem-calc(1);\n$prototype-border-type: solid;\n$prototype-border-color: $medium-gray;\n\n// 33. Prototype Display\n// ---------------------\n\n$prototype-display-breakpoints: $global-prototype-breakpoints;\n$prototype-display: (inline, inline-block, block, table, table-cell);\n\n// 34. Prototype Font-Styling\n// --------------------------\n\n$prototype-font-breakpoints: $global-prototype-breakpoints;\n$prototype-wide-letter-spacing: rem-calc(4);\n$prototype-font-normal: $global-weight-normal;\n$prototype-font-bold: $global-weight-bold;\n\n// 35. Prototype List-Style-Type\n// -----------------------------\n\n$prototype-list-breakpoints: $global-prototype-breakpoints;\n$prototype-style-type-unordered: (disc, circle, square);\n$prototype-style-type-ordered: (\n decimal,\n lower-alpha,\n lower-latin,\n lower-roman,\n upper-alpha,\n upper-latin,\n upper-roman\n);\n\n// 36. Prototype Overflow\n// ----------------------\n\n$prototype-overflow-breakpoints: $global-prototype-breakpoints;\n$prototype-overflow: (visible, hidden, scroll);\n\n// 37. Prototype Position\n// ----------------------\n\n$prototype-position-breakpoints: $global-prototype-breakpoints;\n$prototype-position: (static, relative, absolute, fixed);\n$prototype-position-z-index: 975;\n\n// 38. Prototype Rounded\n// ---------------------\n\n$prototype-rounded-breakpoints: $global-prototype-breakpoints;\n$prototype-border-radius: rem-calc(3);\n\n// 39. Prototype Separator\n// -----------------------\n\n$prototype-separator-breakpoints: $global-prototype-breakpoints;\n$prototype-separator-align: center;\n$prototype-separator-height: rem-calc(2);\n$prototype-separator-width: 3rem;\n$prototype-separator-background: $primary-color;\n$prototype-separator-margin-top: $global-margin;\n\n// 40. Prototype Shadow\n// --------------------\n\n$prototype-shadow-breakpoints: $global-prototype-breakpoints;\n$prototype-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16),\n 0 2px 10px 0 rgba(0, 0, 0, 0.12);\n\n// 41. Prototype Sizing\n// --------------------\n\n$prototype-sizing-breakpoints: $global-prototype-breakpoints;\n$prototype-sizing: (width, height);\n$prototype-sizes: (\n 25: 25%,\n 50: 50%,\n 75: 75%,\n 100: 100%,\n);\n\n// 42. Prototype Spacing\n// ---------------------\n\n$prototype-spacing-breakpoints: $global-prototype-breakpoints;\n$prototype-spacers-count: 3;\n\n// 43. Prototype Text-Decoration\n// -----------------------------\n\n$prototype-decoration-breakpoints: $global-prototype-breakpoints;\n$prototype-text-decoration: (overline, underline, line-through);\n\n// 44. Prototype Text-Transformation\n// ---------------------------------\n\n$prototype-transformation-breakpoints: $global-prototype-breakpoints;\n$prototype-text-transformation: (lowercase, uppercase, capitalize);\n\n// 45. Prototype Text-Utilities\n// ----------------------------\n\n$prototype-utilities-breakpoints: $global-prototype-breakpoints;\n$prototype-text-overflow: ellipsis;\n\n// 46. Responsive Embed\n// --------------------\n\n$responsive-embed-margin-bottom: rem-calc(16);\n$responsive-embed-ratios: (\n default: 4 by 3,\n widescreen: 16 by 9,\n);\n\n// 47. Reveal\n// ----------\n\n$reveal-background: $white;\n$reveal-width: 600px;\n$reveal-max-width: $global-width;\n$reveal-padding: $global-padding;\n$reveal-border: 1px solid $medium-gray;\n$reveal-radius: $global-radius;\n$reveal-zindex: 1005;\n$reveal-overlay-background: rgba($black, 0.45);\n\n// 48. Slider\n// ----------\n\n$slider-width-vertical: 0.5rem;\n$slider-transition: all 0.2s ease-in-out;\n$slider-height: 0.5rem;\n$slider-background: $light-gray;\n$slider-fill-background: $medium-gray;\n$slider-handle-height: 1.4rem;\n$slider-handle-width: 1.4rem;\n$slider-handle-background: $primary-color;\n$slider-opacity-disabled: 0.25;\n$slider-radius: $global-radius;\n\n// 49. Switch\n// ----------\n\n$switch-background: $medium-gray;\n$switch-background-active: $primary-color;\n$switch-height: 2rem;\n$switch-height-tiny: 1.5rem;\n$switch-height-small: 1.75rem;\n$switch-height-large: 2.5rem;\n$switch-radius: $global-radius;\n$switch-margin: $global-margin;\n$switch-paddle-background: $white;\n$switch-paddle-offset: 0.25rem;\n$switch-paddle-radius: $global-radius;\n$switch-paddle-transition: all 0.25s ease-out;\n\n// 50. Table\n// ---------\n\n$table-background: $white;\n$table-color-scale: 5%;\n$table-border: 1px solid smart-scale($table-background, $table-color-scale);\n$table-padding: rem-calc(8 10 10);\n$table-hover-scale: 2%;\n$table-row-hover: darken($table-background, $table-hover-scale);\n$table-row-stripe-hover: darken(\n $table-background,\n $table-color-scale + $table-hover-scale\n);\n$table-is-striped: true;\n$table-striped-background: smart-scale($table-background, $table-color-scale);\n$table-stripe: even;\n$table-head-background: smart-scale(\n $table-background,\n $table-color-scale * 0.5\n);\n$table-head-row-hover: darken($table-head-background, $table-hover-scale);\n$table-foot-background: smart-scale($table-background, $table-color-scale);\n$table-foot-row-hover: darken($table-foot-background, $table-hover-scale);\n$table-head-font-color: $body-font-color;\n$table-foot-font-color: $body-font-color;\n$show-header-for-stacked: false;\n$table-stack-breakpoint: medium;\n\n// 51. Tabs\n// --------\n\n$tab-margin: 0;\n$tab-background: $white;\n$tab-color: $primary-color;\n$tab-background-active: $light-gray;\n$tab-active-color: $primary-color;\n$tab-item-font-size: rem-calc(12);\n$tab-item-background-hover: $white;\n$tab-item-padding: 1.25rem 1.5rem;\n$tab-expand-max: 6;\n$tab-content-background: $white;\n$tab-content-border: $light-gray;\n$tab-content-color: $body-font-color;\n$tab-content-padding: 1rem;\n\n// 52. Thumbnail\n// -------------\n\n$thumbnail-border: solid 4px $white;\n$thumbnail-margin-bottom: $global-margin;\n$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);\n$thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);\n$thumbnail-transition: box-shadow 200ms ease-out;\n$thumbnail-radius: $global-radius;\n\n// 53. Title Bar\n// -------------\n\n$titlebar-background: $black;\n$titlebar-color: $white;\n$titlebar-padding: 0.5rem;\n$titlebar-text-font-weight: bold;\n$titlebar-icon-color: $white;\n$titlebar-icon-color-hover: $medium-gray;\n$titlebar-icon-spacing: 0.25rem;\n\n// 54. Tooltip\n// -----------\n\n$has-tip-cursor: help;\n$has-tip-font-weight: $global-weight-bold;\n$has-tip-border-bottom: dotted 1px $dark-gray;\n$tooltip-background-color: $black;\n$tooltip-color: $white;\n$tooltip-padding: 0.75rem;\n$tooltip-max-width: 10rem;\n$tooltip-font-size: $small-font-size;\n$tooltip-pip-width: 0.75rem;\n$tooltip-pip-height: $tooltip-pip-width * 0.866;\n$tooltip-radius: $global-radius;\n\n// 55. Top Bar\n// -----------\n\n$topbar-padding: 0.5rem;\n$topbar-background: $light-gray;\n$topbar-submenu-background: $topbar-background;\n$topbar-title-spacing: 0.5rem 1rem 0.5rem 0;\n$topbar-input-width: 200px;\n$topbar-unstack-breakpoint: medium;\n\n// 56. Xy Grid\n// -----------\n\n$xy-grid: true;\n$grid-container: $global-width;\n$grid-columns: 12;\n$grid-margin-gutters: (\n small: 20px,\n medium: 30px,\n);\n$grid-padding-gutters: $grid-margin-gutters;\n$grid-container-padding: $grid-padding-gutters;\n$grid-container-max: $global-width;\n$xy-block-grid-max: 8;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___}}]); \ No newline at end of file diff --git a/HeroContainer-stories.11d82c9e.iframe.bundle.js.br b/HeroContainer-stories.11d82c9e.iframe.bundle.js.br deleted file mode 100644 index 16783b0e..00000000 Binary files a/HeroContainer-stories.11d82c9e.iframe.bundle.js.br and /dev/null differ diff --git a/HeroContainer-stories.11d82c9e.iframe.bundle.js.gz b/HeroContainer-stories.11d82c9e.iframe.bundle.js.gz deleted file mode 100644 index f7306795..00000000 Binary files a/HeroContainer-stories.11d82c9e.iframe.bundle.js.gz and /dev/null differ diff --git a/HeroContainer-stories.7d79329b.iframe.bundle.js b/HeroContainer-stories.7d79329b.iframe.bundle.js new file mode 100644 index 00000000..a36b33e2 --- /dev/null +++ b/HeroContainer-stories.7d79329b.iframe.bundle.js @@ -0,0 +1 @@ +(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[8804],{"./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_require__.d(__webpack_exports__,{A:function(){return _objectWithoutProperties}})},"./stories/HeroContainer.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{HeroContainer:function(){return HeroContainer_stories_HeroContainer},__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return HeroContainer_stories}});var dist=__webpack_require__("./node_modules/lorem-ipsum/dist/index.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),hero_container=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/hero-container.scss"),hero_container_default=__webpack_require__.n(hero_container),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(hero_container_default(),options),hero_container_default()&&hero_container_default().locals&&hero_container_default().locals;var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const _excluded=["headingContent","headingLevel","children","className","titleClassName","noSidePadding"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r{let{headingContent:headingContent,headingLevel:headingLevel="h2",children:children,className:className,titleClassName:titleClassName,noSidePadding:noSidePadding=!1}=_ref,props=(0,objectWithoutProperties.A)(_ref,_excluded);return(0,jsx_runtime.jsxs)("section",_objectSpread(_objectSpread({className:classnames_default()("hero-container",className,!noSidePadding&&"hero-container--side-padding")},props),{},{children:[headingContent&&(0,react.createElement)(headingLevel,{className:classnames_default()(titleClassName,"hero-container__title","big")},headingContent),children]}))};HeroContainer.displayName="HeroContainer";var src_components_hero_container=HeroContainer;try{HeroContainer.displayName="HeroContainer",HeroContainer.__docgenInfo={description:"",displayName:"HeroContainer",props:{headingContent:{defaultValue:null,description:"The title of the component",name:"headingContent",required:!1,type:{name:"ReactNode"}},headingLevel:{defaultValue:{value:"h2"},description:"The tile title heading level",name:"headingLevel",required:!1,type:{name:"enum",value:[{value:'"h1"'},{value:'"h2"'},{value:'"h3"'},{value:'"h4"'},{value:'"h5"'},{value:'"h6"'}]}},titleClassName:{defaultValue:null,description:"CSS classes to pass to the component title",name:"titleClassName",required:!1,type:{name:"string"}},noSidePadding:{defaultValue:{value:"false"},description:"Remove left and right padding",name:"noSidePadding",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/hero-container.tsx#HeroContainer"]={docgenInfo:HeroContainer.__docgenInfo,name:"HeroContainer",path:"src/components/hero-container.tsx#HeroContainer"})}catch(__react_docgen_typescript_loader_error){}try{herocontainer.displayName="herocontainer",herocontainer.__docgenInfo={description:"",displayName:"herocontainer",props:{headingContent:{defaultValue:null,description:"The title of the component",name:"headingContent",required:!1,type:{name:"ReactNode"}},headingLevel:{defaultValue:{value:"h2"},description:"The tile title heading level",name:"headingLevel",required:!1,type:{name:"enum",value:[{value:'"h1"'},{value:'"h2"'},{value:'"h3"'},{value:'"h4"'},{value:'"h5"'},{value:'"h6"'}]}},titleClassName:{defaultValue:null,description:"CSS classes to pass to the component title",name:"titleClassName",required:!1,type:{name:"string"}},noSidePadding:{defaultValue:{value:"false"},description:"Remove left and right padding",name:"noSidePadding",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/hero-container.tsx#herocontainer"]={docgenInfo:herocontainer.__docgenInfo,name:"herocontainer",path:"src/components/hero-container.tsx#herocontainer"})}catch(__react_docgen_typescript_loader_error){}var HeroContainer_stories={component:src_components_hero_container,title:"Layout/Hero Container",args:{headingContent:"Heading Content",noSidePadding:!1},render:_ref=>{let{headingContent:headingContent,noSidePadding:noSidePadding}=_ref;return(0,jsx_runtime.jsx)(src_components_hero_container,{headingContent:headingContent,noSidePadding:noSidePadding,children:(0,dist.Ok)({count:25,units:"words"})})}};const HeroContainer_stories_HeroContainer={};HeroContainer_stories_HeroContainer.parameters={...HeroContainer_stories_HeroContainer.parameters,docs:{...HeroContainer_stories_HeroContainer.parameters?.docs,source:{originalSource:"{}",...HeroContainer_stories_HeroContainer.parameters?.docs?.source}}};const __namedExportsOrder=["HeroContainer"]},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/hero-container.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,".hero-container{--grid-background: #e4e8eb;margin-top:1rem;margin-bottom:1rem;padding:1rem 0;background-color:#e4e8eb}.hero-container__title{line-height:1;margin-bottom:0}.hero-container--side-padding{padding-left:1rem;padding-right:1rem}","",{version:3,sources:["webpack://./src/styles/components/hero-container.scss","webpack://./src/styles/_settings.scss"],names:[],mappings:"AAGA,gBACE,0BAAA,CAEA,eCgFc,CD/Ed,kBC+Ec,CD9Ed,cAAA,CACA,wBAAA,CAEA,uBACE,aAAA,CACA,eAAA,CAGF,8BACE,iBCsEa,CDrEb,kBCqEa",sourcesContent:["@import '../settings';\n@import '../colours';\n\n.hero-container {\n --grid-background: #{$colour-platinum};\n\n margin-top: $global-margin;\n margin-bottom: $global-margin;\n padding: $global-padding 0;\n background-color: $colour-platinum;\n\n &__title {\n line-height: 1;\n margin-bottom: 0;\n }\n\n &--side-padding {\n padding-left: $global-padding;\n padding-right: $global-padding;\n }\n}\n","// Foundation for Sites Settings\n// -----------------------------\n//\n// Table of Contents:\n//\n// 1. Global\n// 2. Breakpoints\n// 3. The Grid\n// 4. Base Typography\n// 5. Typography Helpers\n// 6. Abide\n// 7. Accordion\n// 8. Accordion Menu\n// 9. Badge\n// 10. Breadcrumbs\n// 11. Button\n// 12. Button Group\n// 13. Callout\n// 14. Card\n// 15. Close Button\n// 16. Drilldown\n// 17. Dropdown\n// 18. Dropdown Menu\n// 19. Flexbox Utilities\n// 20. Forms\n// 21. Label\n// 22. Media Object\n// 23. Menu\n// 24. Meter\n// 25. Off-canvas\n// 26. Orbit\n// 27. Pagination\n// 28. Progress Bar\n// 29. Prototype Arrow\n// 30. Prototype Border-Box\n// 31. Prototype Border-None\n// 32. Prototype Bordered\n// 33. Prototype Display\n// 34. Prototype Font-Styling\n// 35. Prototype List-Style-Type\n// 36. Prototype Overflow\n// 37. Prototype Position\n// 38. Prototype Rounded\n// 39. Prototype Separator\n// 40. Prototype Shadow\n// 41. Prototype Sizing\n// 42. Prototype Spacing\n// 43. Prototype Text-Decoration\n// 44. Prototype Text-Transformation\n// 45. Prototype Text-Utilities\n// 46. Responsive Embed\n// 47. Reveal\n// 48. Slider\n// 49. Switch\n// 50. Table\n// 51. Tabs\n// 52. Thumbnail\n// 53. Title Bar\n// 54. Tooltip\n// 55. Top Bar\n// 56. Xy Grid\n\n@import 'foundation-sites/scss/util/util';\n\n// 1. Global\n// ---------\n\n$global-font-size: 100%;\n$global-width: rem-calc(1200);\n$global-lineheight: 1.5;\n$foundation-palette: (\n primary: #1779ba,\n secondary: #ffffff,\n success: #3adb76,\n warning: #ffae00,\n alert: #cc4b37,\n);\n$light-gray: #e6e6e6;\n$medium-gray: #cacaca;\n$dark-gray: #8a8a8a;\n$black: #0a0a0a;\n$white: #fefefe;\n$body-background: $white;\n$body-font-color: $black;\n$body-font-family: Lato, Helvetica, Roboto, Arial, sans-serif;\n$body-antialiased: true;\n$global-margin: 1rem;\n$global-padding: 1rem;\n$global-position: 1rem;\n$global-weight-normal: normal;\n$global-weight-bold: bold;\n$global-radius: 0;\n$global-menu-padding: 0.7rem 1rem;\n$global-menu-nested-margin: 1rem;\n$global-text-direction: ltr;\n$global-flexbox: true;\n$global-prototype-breakpoints: false;\n$global-button-cursor: auto;\n$global-color-pick-contrast-tolerance: 0;\n$print-transparent-backgrounds: true;\n\n@include add-foundation-colors;\n\n// 2. Breakpoints\n// --------------\n\n$breakpoints: (\n small: 0,\n medium: 640px,\n large: 1024px,\n xlarge: 1200px,\n xxlarge: 1440px,\n);\n$print-breakpoint: large;\n$breakpoint-classes: (small medium large);\n\n// 3. The Grid\n// -----------\n\n$grid-row-width: $global-width;\n$grid-column-count: 12;\n$grid-column-gutter: (\n small: 20px,\n medium: 30px,\n);\n$grid-column-align-edge: true;\n$grid-column-alias: 'columns';\n$block-grid-max: 8;\n\n// 4. Base Typography\n// ------------------\n\n$header-font-family: $body-font-family;\n$header-font-weight: $global-weight-normal;\n$header-font-style: normal;\n$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;\n$header-color: inherit;\n$header-lineheight: 1.4;\n$header-margin-bottom: 0.5rem;\n$header-styles: (\n small: (\n 'h1': (\n 'font-size': 24,\n ),\n 'h2': (\n 'font-size': 20,\n ),\n 'h3': (\n 'font-size': 19,\n ),\n 'h4': (\n 'font-size': 18,\n ),\n 'h5': (\n 'font-size': 17,\n ),\n 'h6': (\n 'font-size': 16,\n ),\n ),\n medium: (\n 'h1': (\n 'font-size': 48,\n ),\n 'h2': (\n 'font-size': 40,\n ),\n 'h3': (\n 'font-size': 31,\n ),\n 'h4': (\n 'font-size': 25,\n ),\n 'h5': (\n 'font-size': 20,\n ),\n 'h6': (\n 'font-size': 16,\n ),\n ),\n);\n$header-text-rendering: optimizeLegibility;\n$small-font-size: 80%;\n$header-small-font-color: $black;\n$paragraph-lineheight: 1.6;\n$paragraph-margin-bottom: 1rem;\n$paragraph-text-rendering: optimizeLegibility;\n$code-color: $black;\n$code-font-family: $font-family-monospace;\n$code-font-weight: $global-weight-normal;\n$code-background: $light-gray;\n$code-border: 1px solid $medium-gray;\n$code-padding: rem-calc(2 5 1);\n$anchor-color: $primary-color;\n$anchor-color-hover: scale-color($anchor-color, $lightness: -14%);\n$anchor-text-decoration: none;\n$anchor-text-decoration-hover: none;\n$hr-width: $global-width;\n$hr-border: 1px solid $medium-gray;\n$hr-margin: rem-calc(20) auto;\n$list-lineheight: $paragraph-lineheight;\n$list-margin-bottom: $paragraph-margin-bottom;\n$list-style-type: disc;\n$list-style-position: outside;\n$list-side-margin: 1.25rem;\n$list-nested-side-margin: 1.25rem;\n$defnlist-margin-bottom: 1rem;\n$defnlist-term-weight: $global-weight-bold;\n$defnlist-term-margin-bottom: 0.3rem;\n$blockquote-color: $dark-gray;\n$blockquote-padding: rem-calc(9 20 0 19);\n$blockquote-border: 1px solid $medium-gray;\n$cite-font-size: rem-calc(13);\n$cite-color: $dark-gray;\n$cite-pseudo-content: '\\2014 \\0020';\n$keystroke-font: $font-family-monospace;\n$keystroke-color: $black;\n$keystroke-background: $light-gray;\n$keystroke-padding: rem-calc(2 4 0);\n$keystroke-radius: $global-radius;\n$abbr-underline: 1px dotted $black;\n\n// 5. Typography Helpers\n// ---------------------\n\n$lead-font-size: $global-font-size * 1.25;\n$lead-lineheight: 1.6;\n$subheader-lineheight: 1.4;\n$subheader-color: $dark-gray;\n$subheader-font-weight: $global-weight-normal;\n$subheader-margin-top: 0.2rem;\n$subheader-margin-bottom: 0.5rem;\n$stat-font-size: 2.5rem;\n\n// 6. Abide\n// --------\n\n$abide-inputs: true;\n$abide-labels: true;\n$input-background-invalid: get-color(alert);\n$form-label-color-invalid: get-color(alert);\n$input-error-color: get-color(alert);\n$input-error-font-size: rem-calc(12);\n$input-error-font-weight: $global-weight-bold;\n\n// 7. Accordion\n// ------------\n\n$accordion-background: $white;\n$accordion-plusminus: true;\n$accordion-title-font-size: rem-calc(12);\n$accordion-item-color: $primary-color;\n$accordion-item-background-hover: $light-gray;\n$accordion-item-padding: 1.25rem 1rem;\n$accordion-content-background: $white;\n$accordion-content-border: 1px solid $light-gray;\n$accordion-content-color: $body-font-color;\n$accordion-content-padding: 1rem;\n\n// 8. Accordion Menu\n// -----------------\n\n$accordionmenu-padding: $global-menu-padding;\n$accordionmenu-nested-margin: $global-menu-nested-margin;\n$accordionmenu-submenu-padding: $accordionmenu-padding;\n$accordionmenu-arrows: true;\n$accordionmenu-arrow-color: $primary-color;\n$accordionmenu-item-background: null;\n$accordionmenu-border: null;\n$accordionmenu-submenu-toggle-background: null;\n$accordion-submenu-toggle-border: $accordionmenu-border;\n$accordionmenu-submenu-toggle-width: 40px;\n$accordionmenu-submenu-toggle-height: $accordionmenu-submenu-toggle-width;\n$accordionmenu-arrow-size: 6px;\n\n// 9. Badge\n// --------\n\n$badge-background: $primary-color;\n$badge-color: $white;\n$badge-color-alt: $black;\n$badge-palette: $foundation-palette;\n$badge-padding: 0.3em;\n$badge-minwidth: 2.1em;\n$badge-font-size: 0.6rem;\n\n// 10. Breadcrumbs\n// ---------------\n\n$breadcrumbs-margin: 0 0 $global-margin 0;\n$breadcrumbs-item-font-size: rem-calc(11);\n$breadcrumbs-item-color: $primary-color;\n$breadcrumbs-item-color-current: $black;\n$breadcrumbs-item-color-disabled: $medium-gray;\n$breadcrumbs-item-margin: 0.75rem;\n$breadcrumbs-item-uppercase: true;\n$breadcrumbs-item-separator: true;\n$breadcrumbs-item-separator-item: '/';\n$breadcrumbs-item-separator-item-rtl: '\\\\';\n$breadcrumbs-item-separator-color: $medium-gray;\n\n// 11. Button\n// ----------\n\n$button-font-family: inherit;\n$button-padding: 0.85em 1em;\n$button-margin: 0 0 $global-margin 0;\n$button-fill: solid;\n$button-background: $primary-color;\n$button-background-hover: scale-color($button-background, $lightness: -15%);\n$button-color: $white;\n$button-color-alt: $black;\n$button-radius: $global-radius;\n$button-hollow-border-width: 1px;\n$button-sizes: (\n tiny: 0.6rem,\n small: 0.75rem,\n default: 0.9rem,\n large: 1.25rem,\n);\n$button-palette: $foundation-palette;\n$button-opacity-disabled: 0.25;\n$button-background-hover-lightness: -20%;\n$button-hollow-hover-lightness: -50%;\n$button-transition: background-color 0.25s ease-out, color 0.25s ease-out;\n$button-responsive-expanded: false;\n\n// 12. Button Group\n// ----------------\n\n$buttongroup-margin: 1rem;\n$buttongroup-spacing: 1px;\n$buttongroup-child-selector: '.button';\n$buttongroup-expand-max: 6;\n$buttongroup-radius-on-each: true;\n\n// 13. Callout\n// -----------\n\n$callout-background: $white;\n$callout-background-fade: 85%;\n$callout-border: 1px solid rgba($black, 0.25);\n$callout-margin: 0 0 1rem 0;\n$callout-padding: 1rem;\n$callout-font-color: $body-font-color;\n$callout-font-color-alt: $body-background;\n$callout-radius: $global-radius;\n$callout-link-tint: 30%;\n\n// 14. Card\n// --------\n\n$card-background: $white;\n$card-font-color: $body-font-color;\n$card-divider-background: $light-gray;\n$card-border: 1px solid $light-gray;\n$card-shadow: none;\n$card-border-radius: $global-radius;\n$card-padding: $global-padding;\n$card-margin-bottom: $global-margin;\n\n// 15. Close Button\n// ----------------\n\n$closebutton-position: right top;\n$closebutton-offset-horizontal: (\n small: 0.66rem,\n medium: 1rem,\n);\n$closebutton-offset-vertical: (\n small: 0.33em,\n medium: 0.5rem,\n);\n$closebutton-size: (\n small: 1.5em,\n medium: 2em,\n);\n$closebutton-lineheight: 1;\n$closebutton-color: $dark-gray;\n$closebutton-color-hover: $black;\n\n// 16. Drilldown\n// -------------\n\n$drilldown-transition: transform 0.15s linear;\n$drilldown-arrows: true;\n$drilldown-padding: $global-menu-padding;\n$drilldown-nested-margin: 0;\n$drilldown-background: $white;\n$drilldown-submenu-padding: $drilldown-padding;\n$drilldown-submenu-background: $white;\n$drilldown-arrow-color: $primary-color;\n$drilldown-arrow-size: 6px;\n\n// 17. Dropdown\n// ------------\n\n$dropdown-padding: 1rem;\n$dropdown-background: $body-background;\n$dropdown-border: 1px solid $medium-gray;\n$dropdown-font-size: 1rem;\n$dropdown-width: 300px;\n$dropdown-radius: $global-radius;\n$dropdown-sizes: (\n tiny: 100px,\n small: 200px,\n large: 400px,\n);\n\n// 18. Dropdown Menu\n// -----------------\n\n$dropdownmenu-arrows: true;\n$dropdownmenu-arrow-color: $anchor-color;\n$dropdownmenu-arrow-size: 6px;\n$dropdownmenu-arrow-padding: 1.5rem;\n$dropdownmenu-min-width: 200px;\n$dropdownmenu-background: $white;\n$dropdownmenu-submenu-background: $dropdownmenu-background;\n$dropdownmenu-padding: $global-menu-padding;\n$dropdownmenu-nested-margin: 0;\n$dropdownmenu-submenu-padding: $dropdownmenu-padding;\n$dropdownmenu-border: 1px solid $medium-gray;\n$dropdown-menu-item-color-active: get-color(primary);\n$dropdown-menu-item-background-active: transparent;\n\n// 19. Flexbox Utilities\n// ---------------------\n\n$flex-source-ordering-count: 6;\n$flexbox-responsive-breakpoints: true;\n\n// 20. Forms\n// ---------\n\n$fieldset-border: 1px solid $medium-gray;\n$fieldset-padding: rem-calc(20);\n$fieldset-margin: rem-calc(18 0);\n$legend-padding: rem-calc(0 3);\n$form-spacing: rem-calc(16);\n$helptext-color: $black;\n$helptext-font-size: rem-calc(13);\n$helptext-font-style: italic;\n$input-prefix-color: $black;\n$input-prefix-background: $light-gray;\n$input-prefix-border: 1px solid $medium-gray;\n$input-prefix-padding: 1rem;\n$form-label-color: $black;\n$form-label-font-size: rem-calc(14);\n$form-label-font-weight: $global-weight-normal;\n$form-label-line-height: 1.8;\n$select-background: $white;\n$select-triangle-color: $dark-gray;\n$select-radius: $global-radius;\n$input-color: $black;\n$input-placeholder-color: $medium-gray;\n$input-font-family: inherit;\n$input-font-size: rem-calc(16);\n$input-font-weight: $global-weight-normal;\n$input-line-height: $global-lineheight;\n$input-background: $white;\n$input-background-focus: $white;\n$input-background-disabled: $light-gray;\n$input-border: 1px solid $medium-gray;\n$input-border-focus: 1px solid $dark-gray;\n$input-padding: $form-spacing * 0.5;\n$input-shadow: inset 0 1px 2px rgba($black, 0.1);\n$input-shadow-focus: 0 0 5px $medium-gray;\n$input-cursor-disabled: not-allowed;\n$input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;\n$input-number-spinners: true;\n$input-radius: $global-radius;\n$form-button-radius: $global-radius;\n\n// 21. Label\n// ---------\n\n$label-background: $primary-color;\n$label-color: $white;\n$label-color-alt: $black;\n$label-palette: $foundation-palette;\n$label-font-size: 0.8rem;\n$label-padding: 0.33333rem 0.5rem;\n$label-radius: $global-radius;\n\n// 22. Media Object\n// ----------------\n\n$mediaobject-margin-bottom: $global-margin;\n$mediaobject-section-padding: $global-padding;\n$mediaobject-image-width-stacked: 100%;\n\n// 23. Menu\n// --------\n\n$menu-margin: 0;\n$menu-nested-margin: $global-menu-nested-margin;\n$menu-items-padding: $global-menu-padding;\n$menu-simple-margin: 1rem;\n$menu-item-color-active: $white;\n$menu-item-background-active: get-color(primary);\n$menu-icon-spacing: 0.25rem;\n$menu-item-background-hover: $light-gray;\n$menu-state-back-compat: true;\n$menu-centered-back-compat: true;\n$menu-icons-back-compat: true;\n\n// 24. Meter\n// ---------\n\n$meter-height: 1rem;\n$meter-radius: $global-radius;\n$meter-background: $medium-gray;\n$meter-fill-good: $success-color;\n$meter-fill-medium: $warning-color;\n$meter-fill-bad: $alert-color;\n\n// 25. Off-canvas\n// --------------\n\n$offcanvas-sizes: (\n small: 250px,\n);\n$offcanvas-vertical-sizes: (\n small: 250px,\n);\n$offcanvas-background: $light-gray;\n$offcanvas-shadow: 0 0 10px rgba($black, 0.7);\n$offcanvas-inner-shadow-size: 20px;\n$offcanvas-inner-shadow-color: rgba($black, 0.25);\n$offcanvas-overlay-zindex: 11;\n$offcanvas-push-zindex: 12;\n$offcanvas-overlap-zindex: 13;\n$offcanvas-reveal-zindex: 12;\n$offcanvas-transition-length: 0.5s;\n$offcanvas-transition-timing: ease;\n$offcanvas-fixed-reveal: true;\n$offcanvas-exit-background: rgba($white, 0.25);\n$maincontent-class: 'off-canvas-content';\n\n// 26. Orbit\n// ---------\n\n$orbit-bullet-background: $medium-gray;\n$orbit-bullet-background-active: $dark-gray;\n$orbit-bullet-diameter: 1.2rem;\n$orbit-bullet-margin: 0.1rem;\n$orbit-bullet-margin-top: 0.8rem;\n$orbit-bullet-margin-bottom: 0.8rem;\n$orbit-caption-background: rgba($black, 0.5);\n$orbit-caption-padding: 1rem;\n$orbit-control-background-hover: rgba($black, 0.5);\n$orbit-control-padding: 1rem;\n$orbit-control-zindex: 10;\n\n// 27. Pagination\n// --------------\n\n$pagination-font-size: rem-calc(14);\n$pagination-margin-bottom: $global-margin;\n$pagination-item-color: $black;\n$pagination-item-padding: rem-calc(3 10);\n$pagination-item-spacing: rem-calc(1);\n$pagination-radius: $global-radius;\n$pagination-item-background-hover: $light-gray;\n$pagination-item-background-current: $primary-color;\n$pagination-item-color-current: $white;\n$pagination-item-color-disabled: $medium-gray;\n$pagination-ellipsis-color: $black;\n$pagination-mobile-items: false;\n$pagination-mobile-current-item: false;\n$pagination-arrows: true;\n\n// 28. Progress Bar\n// ----------------\n\n$progress-height: 1rem;\n$progress-background: $medium-gray;\n$progress-margin-bottom: $global-margin;\n$progress-meter-background: $primary-color;\n$progress-radius: $global-radius;\n\n// 29. Prototype Arrow\n// -------------------\n\n$prototype-arrow-directions: (down, up, right, left);\n$prototype-arrow-size: 0.4375rem;\n$prototype-arrow-color: $black;\n\n// 30. Prototype Border-Box\n// ------------------------\n\n$prototype-border-box-breakpoints: $global-prototype-breakpoints;\n\n// 31. Prototype Border-None\n// -------------------------\n\n$prototype-border-none-breakpoints: $global-prototype-breakpoints;\n\n// 32. Prototype Bordered\n// ----------------------\n\n$prototype-bordered-breakpoints: $global-prototype-breakpoints;\n$prototype-border-width: rem-calc(1);\n$prototype-border-type: solid;\n$prototype-border-color: $medium-gray;\n\n// 33. Prototype Display\n// ---------------------\n\n$prototype-display-breakpoints: $global-prototype-breakpoints;\n$prototype-display: (inline, inline-block, block, table, table-cell);\n\n// 34. Prototype Font-Styling\n// --------------------------\n\n$prototype-font-breakpoints: $global-prototype-breakpoints;\n$prototype-wide-letter-spacing: rem-calc(4);\n$prototype-font-normal: $global-weight-normal;\n$prototype-font-bold: $global-weight-bold;\n\n// 35. Prototype List-Style-Type\n// -----------------------------\n\n$prototype-list-breakpoints: $global-prototype-breakpoints;\n$prototype-style-type-unordered: (disc, circle, square);\n$prototype-style-type-ordered: (\n decimal,\n lower-alpha,\n lower-latin,\n lower-roman,\n upper-alpha,\n upper-latin,\n upper-roman\n);\n\n// 36. Prototype Overflow\n// ----------------------\n\n$prototype-overflow-breakpoints: $global-prototype-breakpoints;\n$prototype-overflow: (visible, hidden, scroll);\n\n// 37. Prototype Position\n// ----------------------\n\n$prototype-position-breakpoints: $global-prototype-breakpoints;\n$prototype-position: (static, relative, absolute, fixed);\n$prototype-position-z-index: 975;\n\n// 38. Prototype Rounded\n// ---------------------\n\n$prototype-rounded-breakpoints: $global-prototype-breakpoints;\n$prototype-border-radius: rem-calc(3);\n\n// 39. Prototype Separator\n// -----------------------\n\n$prototype-separator-breakpoints: $global-prototype-breakpoints;\n$prototype-separator-align: center;\n$prototype-separator-height: rem-calc(2);\n$prototype-separator-width: 3rem;\n$prototype-separator-background: $primary-color;\n$prototype-separator-margin-top: $global-margin;\n\n// 40. Prototype Shadow\n// --------------------\n\n$prototype-shadow-breakpoints: $global-prototype-breakpoints;\n$prototype-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16),\n 0 2px 10px 0 rgba(0, 0, 0, 0.12);\n\n// 41. Prototype Sizing\n// --------------------\n\n$prototype-sizing-breakpoints: $global-prototype-breakpoints;\n$prototype-sizing: (width, height);\n$prototype-sizes: (\n 25: 25%,\n 50: 50%,\n 75: 75%,\n 100: 100%,\n);\n\n// 42. Prototype Spacing\n// ---------------------\n\n$prototype-spacing-breakpoints: $global-prototype-breakpoints;\n$prototype-spacers-count: 3;\n\n// 43. Prototype Text-Decoration\n// -----------------------------\n\n$prototype-decoration-breakpoints: $global-prototype-breakpoints;\n$prototype-text-decoration: (overline, underline, line-through);\n\n// 44. Prototype Text-Transformation\n// ---------------------------------\n\n$prototype-transformation-breakpoints: $global-prototype-breakpoints;\n$prototype-text-transformation: (lowercase, uppercase, capitalize);\n\n// 45. Prototype Text-Utilities\n// ----------------------------\n\n$prototype-utilities-breakpoints: $global-prototype-breakpoints;\n$prototype-text-overflow: ellipsis;\n\n// 46. Responsive Embed\n// --------------------\n\n$responsive-embed-margin-bottom: rem-calc(16);\n$responsive-embed-ratios: (\n default: 4 by 3,\n widescreen: 16 by 9,\n);\n\n// 47. Reveal\n// ----------\n\n$reveal-background: $white;\n$reveal-width: 600px;\n$reveal-max-width: $global-width;\n$reveal-padding: $global-padding;\n$reveal-border: 1px solid $medium-gray;\n$reveal-radius: $global-radius;\n$reveal-zindex: 1005;\n$reveal-overlay-background: rgba($black, 0.45);\n\n// 48. Slider\n// ----------\n\n$slider-width-vertical: 0.5rem;\n$slider-transition: all 0.2s ease-in-out;\n$slider-height: 0.5rem;\n$slider-background: $light-gray;\n$slider-fill-background: $medium-gray;\n$slider-handle-height: 1.4rem;\n$slider-handle-width: 1.4rem;\n$slider-handle-background: $primary-color;\n$slider-opacity-disabled: 0.25;\n$slider-radius: $global-radius;\n\n// 49. Switch\n// ----------\n\n$switch-background: $medium-gray;\n$switch-background-active: $primary-color;\n$switch-height: 2rem;\n$switch-height-tiny: 1.5rem;\n$switch-height-small: 1.75rem;\n$switch-height-large: 2.5rem;\n$switch-radius: $global-radius;\n$switch-margin: $global-margin;\n$switch-paddle-background: $white;\n$switch-paddle-offset: 0.25rem;\n$switch-paddle-radius: $global-radius;\n$switch-paddle-transition: all 0.25s ease-out;\n\n// 50. Table\n// ---------\n\n$table-background: $white;\n$table-color-scale: 5%;\n$table-border: 1px solid smart-scale($table-background, $table-color-scale);\n$table-padding: rem-calc(8 10 10);\n$table-hover-scale: 2%;\n$table-row-hover: darken($table-background, $table-hover-scale);\n$table-row-stripe-hover: darken(\n $table-background,\n $table-color-scale + $table-hover-scale\n);\n$table-is-striped: true;\n$table-striped-background: smart-scale($table-background, $table-color-scale);\n$table-stripe: even;\n$table-head-background: smart-scale(\n $table-background,\n $table-color-scale * 0.5\n);\n$table-head-row-hover: darken($table-head-background, $table-hover-scale);\n$table-foot-background: smart-scale($table-background, $table-color-scale);\n$table-foot-row-hover: darken($table-foot-background, $table-hover-scale);\n$table-head-font-color: $body-font-color;\n$table-foot-font-color: $body-font-color;\n$show-header-for-stacked: false;\n$table-stack-breakpoint: medium;\n\n// 51. Tabs\n// --------\n\n$tab-margin: 0;\n$tab-background: $white;\n$tab-color: $primary-color;\n$tab-background-active: $light-gray;\n$tab-active-color: $primary-color;\n$tab-item-font-size: rem-calc(12);\n$tab-item-background-hover: $white;\n$tab-item-padding: 1.25rem 1.5rem;\n$tab-expand-max: 6;\n$tab-content-background: $white;\n$tab-content-border: $light-gray;\n$tab-content-color: $body-font-color;\n$tab-content-padding: 1rem;\n\n// 52. Thumbnail\n// -------------\n\n$thumbnail-border: solid 4px $white;\n$thumbnail-margin-bottom: $global-margin;\n$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);\n$thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);\n$thumbnail-transition: box-shadow 200ms ease-out;\n$thumbnail-radius: $global-radius;\n\n// 53. Title Bar\n// -------------\n\n$titlebar-background: $black;\n$titlebar-color: $white;\n$titlebar-padding: 0.5rem;\n$titlebar-text-font-weight: bold;\n$titlebar-icon-color: $white;\n$titlebar-icon-color-hover: $medium-gray;\n$titlebar-icon-spacing: 0.25rem;\n\n// 54. Tooltip\n// -----------\n\n$has-tip-cursor: help;\n$has-tip-font-weight: $global-weight-bold;\n$has-tip-border-bottom: dotted 1px $dark-gray;\n$tooltip-background-color: $black;\n$tooltip-color: $white;\n$tooltip-padding: 0.75rem;\n$tooltip-max-width: 10rem;\n$tooltip-font-size: $small-font-size;\n$tooltip-pip-width: 0.75rem;\n$tooltip-pip-height: $tooltip-pip-width * 0.866;\n$tooltip-radius: $global-radius;\n\n// 55. Top Bar\n// -----------\n\n$topbar-padding: 0.5rem;\n$topbar-background: $light-gray;\n$topbar-submenu-background: $topbar-background;\n$topbar-title-spacing: 0.5rem 1rem 0.5rem 0;\n$topbar-input-width: 200px;\n$topbar-unstack-breakpoint: medium;\n\n// 56. Xy Grid\n// -----------\n\n$xy-grid: true;\n$grid-container: $global-width;\n$grid-columns: 12;\n$grid-margin-gutters: (\n small: 20px,\n medium: 30px,\n);\n$grid-padding-gutters: $grid-margin-gutters;\n$grid-container-padding: $grid-padding-gutters;\n$grid-container-max: $global-width;\n$xy-block-grid-max: 8;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___}}]); \ No newline at end of file diff --git a/HeroContainer-stories.7d79329b.iframe.bundle.js.br b/HeroContainer-stories.7d79329b.iframe.bundle.js.br new file mode 100644 index 00000000..dc7b349f Binary files /dev/null and b/HeroContainer-stories.7d79329b.iframe.bundle.js.br differ diff --git a/HeroContainer-stories.7d79329b.iframe.bundle.js.gz b/HeroContainer-stories.7d79329b.iframe.bundle.js.gz new file mode 100644 index 00000000..e0b72bec Binary files /dev/null and b/HeroContainer-stories.7d79329b.iframe.bundle.js.gz differ diff --git a/HeroHeader-stories.1ada85af.iframe.bundle.js b/HeroHeader-stories.1ada85af.iframe.bundle.js new file mode 100644 index 00000000..527c7da9 --- /dev/null +++ b/HeroHeader-stories.1ada85af.iframe.bundle.js @@ -0,0 +1 @@ +(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[116],{"./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_require__.d(__webpack_exports__,{A:function(){return _objectWithoutProperties}})},"./stories/HeroHeader.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{HeroHeader:function(){return HeroHeader_stories_HeroHeader},__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return HeroHeader_stories}});var dist=__webpack_require__("./node_modules/lorem-ipsum/dist/index.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),jsx_runtime=(__webpack_require__("./src/styles/components/header.scss"),__webpack_require__("./node_modules/react/jsx-runtime.js"));const _excluded=["title","children","footer","className"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r{let{title:title="",children:children,footer:footer,className:className}=_ref,props=(0,objectWithoutProperties.A)(_ref,_excluded);return(0,jsx_runtime.jsxs)("div",_objectSpread(_objectSpread({className:classnames_default()("hero-header",className)},props),{},{children:[(0,jsx_runtime.jsxs)("div",{className:"hero-header__content",children:[(0,jsx_runtime.jsx)("h1",{className:"x-huge",children:title}),children]}),(0,jsx_runtime.jsx)("div",{className:"hero-header__footer",children:footer})]}))};HeroHeader.displayName="HeroHeader";var hero_header=HeroHeader;try{HeroHeader.displayName="HeroHeader",HeroHeader.__docgenInfo={description:"",displayName:"HeroHeader",props:{title:{defaultValue:{value:""},description:"The title of the hero header",name:"title",required:!1,type:{name:"ReactNode"}},children:{defaultValue:null,description:"The content of the hero header",name:"children",required:!0,type:{name:"ReactNode"}},footer:{defaultValue:null,description:"An optional footer, displayed at the bottom",name:"footer",required:!1,type:{name:"ReactNode"}},className:{defaultValue:null,description:"An optional class name",name:"className",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/hero-header.tsx#HeroHeader"]={docgenInfo:HeroHeader.__docgenInfo,name:"HeroHeader",path:"src/components/hero-header.tsx#HeroHeader"})}catch(__react_docgen_typescript_loader_error){}try{heroheader.displayName="heroheader",heroheader.__docgenInfo={description:"",displayName:"heroheader",props:{title:{defaultValue:{value:""},description:"The title of the hero header",name:"title",required:!1,type:{name:"ReactNode"}},children:{defaultValue:null,description:"The content of the hero header",name:"children",required:!0,type:{name:"ReactNode"}},footer:{defaultValue:null,description:"An optional footer, displayed at the bottom",name:"footer",required:!1,type:{name:"ReactNode"}},className:{defaultValue:null,description:"An optional class name",name:"className",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/hero-header.tsx#heroheader"]={docgenInfo:heroheader.__docgenInfo,name:"heroheader",path:"src/components/hero-header.tsx#heroheader"})}catch(__react_docgen_typescript_loader_error){}var HeroHeader_stories={component:hero_header,title:"Layout/Hero Header",argTypes:{title:{control:"text"},footer:{control:"text"}},args:{title:"Title",footer:(0,dist.Ok)({count:25,units:"words"})},render:_ref=>{let{title:title,footer:footer}=_ref;return(0,jsx_runtime.jsx)(hero_header,{title:title,footer:footer,children:(0,jsx_runtime.jsx)("input",{type:"text"})})}};const HeroHeader_stories_HeroHeader={};HeroHeader_stories_HeroHeader.parameters={...HeroHeader_stories_HeroHeader.parameters,docs:{...HeroHeader_stories_HeroHeader.parameters?.docs,source:{originalSource:"{}",...HeroHeader_stories_HeroHeader.parameters?.docs?.source}}};const __namedExportsOrder=["HeroHeader"]},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/header.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,".header,.hero-header{display:flex;align-items:center;align-content:center;color:#fbfeff;padding:.5em 1em;background:linear-gradient(45deg, #014371, rgba(1, 67, 113, 0.7), #014371, #014371)}.header>*,.hero-header>*{flex:0 0 auto}.header.header--negative,.header .dropdown__content,.hero-header.header--negative,.hero-header .dropdown__content{justify-content:space-between;color:#014371;background:#fbfeff}.header.header--negative a,.header.header--negative button.button,.header.header--negative a:link,.header.header--negative a:visited,.header.header--negative a:hover,.header.header--negative a:active,.header.header--negative .header__link>a,.header .dropdown__content a,.header .dropdown__content button.button,.header .dropdown__content a:link,.header .dropdown__content a:visited,.header .dropdown__content a:hover,.header .dropdown__content a:active,.header .dropdown__content .header__link>a,.hero-header.header--negative a,.hero-header.header--negative button.button,.hero-header.header--negative a:link,.hero-header.header--negative a:visited,.hero-header.header--negative a:hover,.hero-header.header--negative a:active,.hero-header.header--negative .header__link>a,.hero-header .dropdown__content a,.hero-header .dropdown__content button.button,.hero-header .dropdown__content a:link,.hero-header .dropdown__content a:visited,.hero-header .dropdown__content a:hover,.hero-header .dropdown__content a:active,.hero-header .dropdown__content .header__link>a{color:#014371}.header.header--negative .header__search button.button,.header .dropdown__content .header__search button.button,.hero-header.header--negative .header__search button.button,.hero-header .dropdown__content .header__search button.button{color:#fbfeff}.header a,.header button.button,.header a:link,.header a:visited,.header a:hover,.header a:active,.header .header__link>a,.hero-header a,.hero-header button.button,.hero-header a:link,.hero-header a:visited,.hero-header a:hover,.hero-header a:active,.hero-header .header__link>a{display:inline-block;color:#fbfeff;margin-bottom:0;transition:background-color .25s ease-out,color .25s ease-out}.header__navigation,.hero-header__navigation{flex-shrink:1;list-style:none;display:flex;flex-wrap:nowrap;align-items:center;margin:0;padding:0 .5ch;gap:.5ch;scrollbar-width:none}.header__navigation::-webkit-scrollbar,.hero-header__navigation::-webkit-scrollbar{display:none}.header__navigation a,.header__navigation button.button,.hero-header__navigation a,.hero-header__navigation button.button{margin:.1rem .25rem;border-bottom:1px solid rgba(0,0,0,0)}.header__navigation a:hover,.header__navigation button.button:hover,.hero-header__navigation a:hover,.hero-header__navigation button.button:hover{border-bottom-color:currentColor}.header__navigation .dropdown a,.header__navigation .dropdown button.button,.hero-header__navigation .dropdown a,.hero-header__navigation .dropdown button.button{margin:0;border-bottom:none}.header__navigation a,.header__navigation button.button,.hero-header__navigation a,.hero-header__navigation button.button{font-weight:bold;font-size:1rem}.header__secondary,.hero-header__secondary{text-align:right;padding-left:.5rem;line-height:1}.header__secondary .header__navigation,.hero-header__secondary .header__navigation{overflow-x:initial}.header__secondary small,.hero-header__secondary small{white-space:nowrap}.header__search,.hero-header__search{flex:1}.header__search input,.header__search button,.hero-header__search input,.hero-header__search button{margin:0}.header{height:var(--top-header-margin)}.hero-header{box-shadow:0 .125rem .25rem .125rem rgba(22,29,57,.2);flex-direction:column;height:60vh;margin-bottom:2em}.hero-header>*{width:100%}.hero-header__content{flex:1;display:flex;text-align:center;flex-direction:column;justify-content:center}.hero-header__content h1{color:#fbfeff}.hero-header__footer{flex:0;text-align:center}.hero-header label{color:#fbfeff}","",{version:3,sources:["webpack://./src/styles/components/header.scss","webpack://./colours.json","webpack://./src/styles/_mixins.scss"],names:[],mappings:"AAIA,qBAEE,YAAA,CACA,kBAAA,CACA,oBAAA,CACA,aCCU,CAAA,gBAAA,CDCV,mFAAA,CAQA,yBAGE,aAAA,CAGF,kHAEE,6BAAA,CACA,aC5BY,CD6BZ,kBCnBQ,CDqBR,siCAOE,aCtCU,CDyCZ,0OACE,aChCM,CDoCV,uRAOE,oBAAA,CACA,aC5CQ,CD6CR,eAAA,CACA,6DACE,CAIJ,6CACE,aAAA,CACA,eAAA,CACA,YAAA,CACA,gBAAA,CACA,kBAAA,CACA,QAAA,CACA,cAAA,CACA,QAAA,CAGA,oBAAA,CACA,mFACE,YAAA,CAGF,0HAEE,mBAAA,CACA,qCAAA,CAEA,kJACE,gCAAA,CAMF,kKAEE,QAAA,CACA,kBAAA,CAIJ,0HAEE,gBAAA,CACA,cAAA,CAIJ,2CACE,gBAAA,CACA,kBAAA,CACA,aAAA,CAEA,mFACE,kBAAA,CAGF,uDACE,kBAAA,CAIJ,qCAEE,MAAA,CACA,oGAEE,QAAA,CAKN,QACE,+BAAA,CAGF,aEjHE,qDAAA,CFmHA,qBAAA,CACA,WAAA,CACA,iBAAA,CAEA,eACE,UAAA,CAGF,sBACE,MAAA,CACA,YAAA,CACA,iBAAA,CACA,qBAAA,CACA,sBAAA,CACA,yBACE,aC1IM,CD8IV,qBACE,MAAA,CACA,iBAAA,CAGF,mBACE,aCpJQ",sourcesContent:["@import '../settings';\n@import '../colours';\n@import '../mixins';\n\n.header,\n.hero-header {\n display: flex;\n align-items: center;\n align-content: center;\n color: $colour-sky-white;\n padding: 0.5em 1em;\n background: linear-gradient(\n 45deg,\n $colour-sapphire-blue,\n rgba($colour-sapphire-blue, 0.7),\n $colour-sapphire-blue,\n $colour-sapphire-blue\n );\n\n & > * {\n // None of the children should grow or shrink\n // but the search bar (grow) and the primary links (shrink)\n flex: 0 0 auto;\n }\n\n &.header--negative,\n & .dropdown__content {\n justify-content: space-between;\n color: $colour-sapphire-blue;\n background: $colour-sky-white;\n\n a,\n button.button,\n a:link,\n a:visited,\n a:hover,\n a:active,\n .header__link > a {\n color: $colour-sapphire-blue;\n }\n\n .header__search button.button {\n color: $colour-sky-white;\n }\n }\n\n a,\n button.button,\n a:link,\n a:visited,\n a:hover,\n a:active,\n .header__link > a {\n display: inline-block;\n color: $colour-sky-white;\n margin-bottom: 0;\n transition:\n background-color 0.25s ease-out,\n color 0.25s ease-out;\n }\n\n &__navigation {\n flex-shrink: 1;\n list-style: none;\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n margin: 0;\n padding: 0 0.5ch;\n gap: 0.5ch;\n\n // Hide the scroll bar in the header\n scrollbar-width: none;\n &::-webkit-scrollbar {\n display: none;\n }\n\n a,\n button.button {\n margin: 0.1rem 0.25rem;\n border-bottom: 1px solid transparent;\n\n &:hover {\n border-bottom-color: currentColor;\n }\n }\n\n // cancel the previous rule when inside a dropdown\n .dropdown {\n a,\n button.button {\n margin: 0;\n border-bottom: none;\n }\n }\n\n a,\n button.button {\n font-weight: bold;\n font-size: 1rem;\n }\n }\n\n &__secondary {\n text-align: right;\n padding-left: $global-padding * 0.5;\n line-height: 1;\n\n .header__navigation {\n overflow-x: initial;\n }\n\n small {\n white-space: nowrap;\n }\n }\n\n &__search {\n // Search bar is the only one growing or shrinking\n flex: 1;\n input,\n button {\n margin: 0;\n }\n }\n}\n\n.header {\n height: var(--top-header-margin);\n}\n\n.hero-header {\n @include box-shadow();\n flex-direction: column;\n height: 60vh;\n margin-bottom: 2em;\n\n & > * {\n width: 100%;\n }\n\n &__content {\n flex: 1;\n display: flex;\n text-align: center;\n flex-direction: column;\n justify-content: center;\n h1 {\n color: $colour-sky-white;\n }\n }\n\n &__footer {\n flex: 0;\n text-align: center;\n }\n\n label {\n color: $colour-sky-white;\n }\n}\n","$sapphire-blue: #014371;\n$sea-blue: #00639a;\n$vivid-cerulean: #00a6d5;\n$medium-turquoise: #46d6fa;\n$gainsborough: #d2dce3;\n$yankees-blue: #161d39;\n$independence: #4e5a71;\n$weldon-blue: #8194a1;\n$pastel-blue: #abc7d6;\n$platinum: #e4e8eb;\n$sky-white: #fbfeff;\n$bronze: #a65708;\n$reviewed: #c39b00;\n$unreviewed: #c0c0c0;\n$uniref: #f2994c;\n$uniparc: #88c19d;\n$proteomes: #e56358;\n$reference-proteome: #9d4a4d;\n$peptide-search: #A748BD;\n$id-mapping: #357B92;\n$blast: #00A6D5;\n$align: #B8CE48;\n$warning: #ffcc33;\n$failure: #f36968;\n$success: #108f3b;\n$info: #79cbf8;\n$help-green: #28aa50;\n$coyote-brown: #966336;\n$outer-space: #374343;\n$tool-results: #622E81;","@use 'sass:math';\n\n@import './settings';\n@import './colours';\n@import './franklin-settings';\n\n@mixin columns($base-class, $number) {\n .#{$base-class}--columns {\n column-count: $number;\n column-width: percentage(math.div(1, $number));\n\n & > * {\n break-inside: avoid;\n }\n }\n}\n\n@mixin box-shadow($spread: 0.125rem) {\n box-shadow: 0 0.125rem 0.25rem $spread rgba($colour-yankees-blue, 0.2);\n}\n\n@mixin fs-breakpoints($size) {\n @if map-has-key($fs-breakpoint-values, $size) {\n @media #{inspect(map-get($fs-breakpoint-values, $size))} {\n @content;\n }\n }\n}\n\n@mixin ellipsis() {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},"./src/styles/components/header.scss":function(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__){"use strict";var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__),_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__),_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__),_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__),_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__),_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_15_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_15_use_2_header_scss__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/header.scss"),_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_15_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_15_use_2_header_scss__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_15_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_15_use_2_header_scss__WEBPACK_IMPORTED_MODULE_6__),options={};options.styleTagTransform=_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default(),options.setAttributes=_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default(),options.insert=_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null,"head"),options.domAPI=_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default(),options.insertStyleElement=_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default();_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_15_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_15_use_2_header_scss__WEBPACK_IMPORTED_MODULE_6___default(),options),_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_15_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_15_use_2_header_scss__WEBPACK_IMPORTED_MODULE_6___default()&&_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_15_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_15_use_2_header_scss__WEBPACK_IMPORTED_MODULE_6___default().locals&&_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_15_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_15_use_2_header_scss__WEBPACK_IMPORTED_MODULE_6___default().locals}}]); \ No newline at end of file diff --git a/HeroHeader-stories.1ada85af.iframe.bundle.js.br b/HeroHeader-stories.1ada85af.iframe.bundle.js.br new file mode 100644 index 00000000..1db162b6 Binary files /dev/null and b/HeroHeader-stories.1ada85af.iframe.bundle.js.br differ diff --git a/HeroHeader-stories.1ada85af.iframe.bundle.js.gz b/HeroHeader-stories.1ada85af.iframe.bundle.js.gz new file mode 100644 index 00000000..9db5f50f Binary files /dev/null and b/HeroHeader-stories.1ada85af.iframe.bundle.js.gz differ diff --git a/HeroHeader-stories.8e26a44e.iframe.bundle.js b/HeroHeader-stories.8e26a44e.iframe.bundle.js deleted file mode 100644 index 6213cc41..00000000 --- a/HeroHeader-stories.8e26a44e.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[116],{"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:i+""}function _defineProperty(obj,key,value){return(key=toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.d(__webpack_exports__,{A:function(){return _defineProperty}})},"./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_require__.d(__webpack_exports__,{A:function(){return _objectWithoutProperties}})},"./stories/HeroHeader.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{HeroHeader:function(){return HeroHeader_stories_HeroHeader},__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return HeroHeader_stories}});var dist=__webpack_require__("./node_modules/lorem-ipsum/dist/index.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),jsx_runtime=(__webpack_require__("./src/styles/components/header.scss"),__webpack_require__("./node_modules/react/jsx-runtime.js"));const _excluded=["title","children","footer","className"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r{let{title:title="",children:children,footer:footer,className:className}=_ref,props=(0,objectWithoutProperties.A)(_ref,_excluded);return(0,jsx_runtime.jsxs)("div",_objectSpread(_objectSpread({className:classnames_default()("hero-header",className)},props),{},{children:[(0,jsx_runtime.jsxs)("div",{className:"hero-header__content",children:[(0,jsx_runtime.jsx)("h1",{className:"x-huge",children:title}),children]}),(0,jsx_runtime.jsx)("div",{className:"hero-header__footer",children:footer})]}))};HeroHeader.displayName="HeroHeader";var hero_header=HeroHeader;try{HeroHeader.displayName="HeroHeader",HeroHeader.__docgenInfo={description:"",displayName:"HeroHeader",props:{title:{defaultValue:{value:""},description:"The title of the hero header",name:"title",required:!1,type:{name:"ReactNode"}},children:{defaultValue:null,description:"The content of the hero header",name:"children",required:!0,type:{name:"ReactNode"}},footer:{defaultValue:null,description:"An optional footer, displayed at the bottom",name:"footer",required:!1,type:{name:"ReactNode"}},className:{defaultValue:null,description:"An optional class name",name:"className",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/hero-header.tsx#HeroHeader"]={docgenInfo:HeroHeader.__docgenInfo,name:"HeroHeader",path:"src/components/hero-header.tsx#HeroHeader"})}catch(__react_docgen_typescript_loader_error){}try{heroheader.displayName="heroheader",heroheader.__docgenInfo={description:"",displayName:"heroheader",props:{title:{defaultValue:{value:""},description:"The title of the hero header",name:"title",required:!1,type:{name:"ReactNode"}},children:{defaultValue:null,description:"The content of the hero header",name:"children",required:!0,type:{name:"ReactNode"}},footer:{defaultValue:null,description:"An optional footer, displayed at the bottom",name:"footer",required:!1,type:{name:"ReactNode"}},className:{defaultValue:null,description:"An optional class name",name:"className",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/hero-header.tsx#heroheader"]={docgenInfo:heroheader.__docgenInfo,name:"heroheader",path:"src/components/hero-header.tsx#heroheader"})}catch(__react_docgen_typescript_loader_error){}var HeroHeader_stories={component:hero_header,title:"Layout/Hero Header",argTypes:{title:{control:"text"},footer:{control:"text"}},args:{title:"Title",footer:(0,dist.Ok)({count:25,units:"words"})},render:_ref=>{let{title:title,footer:footer}=_ref;return(0,jsx_runtime.jsx)(hero_header,{title:title,footer:footer,children:(0,jsx_runtime.jsx)("input",{type:"text"})})}};const HeroHeader_stories_HeroHeader={};HeroHeader_stories_HeroHeader.parameters={...HeroHeader_stories_HeroHeader.parameters,docs:{...HeroHeader_stories_HeroHeader.parameters?.docs,source:{originalSource:"{}",...HeroHeader_stories_HeroHeader.parameters?.docs?.source}}};const __namedExportsOrder=["HeroHeader"]},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/header.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,".header,.hero-header{display:flex;align-items:center;align-content:center;color:#fbfeff;padding:.5em 1em;background:linear-gradient(45deg, #014371, rgba(1, 67, 113, 0.7), #014371, #014371)}.header>*,.hero-header>*{flex:0 0 auto}.header.header--negative,.header .dropdown__content,.hero-header.header--negative,.hero-header .dropdown__content{justify-content:space-between;color:#014371;background:#fbfeff}.header.header--negative a,.header.header--negative button.button,.header.header--negative a:link,.header.header--negative a:visited,.header.header--negative a:hover,.header.header--negative a:active,.header.header--negative .header__link>a,.header .dropdown__content a,.header .dropdown__content button.button,.header .dropdown__content a:link,.header .dropdown__content a:visited,.header .dropdown__content a:hover,.header .dropdown__content a:active,.header .dropdown__content .header__link>a,.hero-header.header--negative a,.hero-header.header--negative button.button,.hero-header.header--negative a:link,.hero-header.header--negative a:visited,.hero-header.header--negative a:hover,.hero-header.header--negative a:active,.hero-header.header--negative .header__link>a,.hero-header .dropdown__content a,.hero-header .dropdown__content button.button,.hero-header .dropdown__content a:link,.hero-header .dropdown__content a:visited,.hero-header .dropdown__content a:hover,.hero-header .dropdown__content a:active,.hero-header .dropdown__content .header__link>a{color:#014371}.header.header--negative .header__search button.button,.header .dropdown__content .header__search button.button,.hero-header.header--negative .header__search button.button,.hero-header .dropdown__content .header__search button.button{color:#fbfeff}.header a,.header button.button,.header a:link,.header a:visited,.header a:hover,.header a:active,.header .header__link>a,.hero-header a,.hero-header button.button,.hero-header a:link,.hero-header a:visited,.hero-header a:hover,.hero-header a:active,.hero-header .header__link>a{display:inline-block;color:#fbfeff;margin-bottom:0;transition:background-color .25s ease-out,color .25s ease-out}.header__navigation,.hero-header__navigation{flex-shrink:1;list-style:none;display:flex;flex-wrap:nowrap;align-items:center;margin:0;padding:0 .5ch;gap:.5ch;scrollbar-width:none}.header__navigation::-webkit-scrollbar,.hero-header__navigation::-webkit-scrollbar{display:none}.header__navigation a,.header__navigation button.button,.hero-header__navigation a,.hero-header__navigation button.button{margin:.1rem .25rem;border-bottom:1px solid rgba(0,0,0,0)}.header__navigation a:hover,.header__navigation button.button:hover,.hero-header__navigation a:hover,.hero-header__navigation button.button:hover{border-bottom-color:currentColor}.header__navigation .dropdown a,.header__navigation .dropdown button.button,.hero-header__navigation .dropdown a,.hero-header__navigation .dropdown button.button{margin:0;border-bottom:none}.header__navigation a,.header__navigation button.button,.hero-header__navigation a,.hero-header__navigation button.button{font-weight:bold;font-size:1rem}.header__secondary,.hero-header__secondary{text-align:right;padding-left:.5rem;line-height:1}.header__secondary .header__navigation,.hero-header__secondary .header__navigation{overflow-x:initial}.header__secondary small,.hero-header__secondary small{white-space:nowrap}.header__search,.hero-header__search{flex:1}.header__search input,.header__search button,.hero-header__search input,.hero-header__search button{margin:0}.header{height:var(--top-header-margin)}.hero-header{box-shadow:0 .125rem .25rem .125rem rgba(22,29,57,.2);flex-direction:column;height:60vh;margin-bottom:2em}.hero-header>*{width:100%}.hero-header__content{flex:1;display:flex;text-align:center;flex-direction:column;justify-content:center}.hero-header__content h1{color:#fbfeff}.hero-header__footer{flex:0;text-align:center}.hero-header label{color:#fbfeff}","",{version:3,sources:["webpack://./src/styles/components/header.scss","webpack://./colours.json","webpack://./src/styles/_mixins.scss"],names:[],mappings:"AAIA,qBAEE,YAAA,CACA,kBAAA,CACA,oBAAA,CACA,aCCU,CAAA,gBAAA,CDCV,mFAAA,CAQA,yBAGE,aAAA,CAGF,kHAEE,6BAAA,CACA,aC5BY,CD6BZ,kBCnBQ,CDqBR,siCAOE,aCtCU,CDyCZ,0OACE,aChCM,CDoCV,uRAOE,oBAAA,CACA,aC5CQ,CD6CR,eAAA,CACA,6DACE,CAIJ,6CACE,aAAA,CACA,eAAA,CACA,YAAA,CACA,gBAAA,CACA,kBAAA,CACA,QAAA,CACA,cAAA,CACA,QAAA,CAGA,oBAAA,CACA,mFACE,YAAA,CAGF,0HAEE,mBAAA,CACA,qCAAA,CAEA,kJACE,gCAAA,CAMF,kKAEE,QAAA,CACA,kBAAA,CAIJ,0HAEE,gBAAA,CACA,cAAA,CAIJ,2CACE,gBAAA,CACA,kBAAA,CACA,aAAA,CAEA,mFACE,kBAAA,CAGF,uDACE,kBAAA,CAIJ,qCAEE,MAAA,CACA,oGAEE,QAAA,CAKN,QACE,+BAAA,CAGF,aEjHE,qDAAA,CFmHA,qBAAA,CACA,WAAA,CACA,iBAAA,CAEA,eACE,UAAA,CAGF,sBACE,MAAA,CACA,YAAA,CACA,iBAAA,CACA,qBAAA,CACA,sBAAA,CACA,yBACE,aC1IM,CD8IV,qBACE,MAAA,CACA,iBAAA,CAGF,mBACE,aCpJQ",sourcesContent:["@import '../settings';\n@import '../colours';\n@import '../mixins';\n\n.header,\n.hero-header {\n display: flex;\n align-items: center;\n align-content: center;\n color: $colour-sky-white;\n padding: 0.5em 1em;\n background: linear-gradient(\n 45deg,\n $colour-sapphire-blue,\n rgba($colour-sapphire-blue, 0.7),\n $colour-sapphire-blue,\n $colour-sapphire-blue\n );\n\n & > * {\n // None of the children should grow or shrink\n // but the search bar (grow) and the primary links (shrink)\n flex: 0 0 auto;\n }\n\n &.header--negative,\n & .dropdown__content {\n justify-content: space-between;\n color: $colour-sapphire-blue;\n background: $colour-sky-white;\n\n a,\n button.button,\n a:link,\n a:visited,\n a:hover,\n a:active,\n .header__link > a {\n color: $colour-sapphire-blue;\n }\n\n .header__search button.button {\n color: $colour-sky-white;\n }\n }\n\n a,\n button.button,\n a:link,\n a:visited,\n a:hover,\n a:active,\n .header__link > a {\n display: inline-block;\n color: $colour-sky-white;\n margin-bottom: 0;\n transition:\n background-color 0.25s ease-out,\n color 0.25s ease-out;\n }\n\n &__navigation {\n flex-shrink: 1;\n list-style: none;\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n margin: 0;\n padding: 0 0.5ch;\n gap: 0.5ch;\n\n // Hide the scroll bar in the header\n scrollbar-width: none;\n &::-webkit-scrollbar {\n display: none;\n }\n\n a,\n button.button {\n margin: 0.1rem 0.25rem;\n border-bottom: 1px solid transparent;\n\n &:hover {\n border-bottom-color: currentColor;\n }\n }\n\n // cancel the previous rule when inside a dropdown\n .dropdown {\n a,\n button.button {\n margin: 0;\n border-bottom: none;\n }\n }\n\n a,\n button.button {\n font-weight: bold;\n font-size: 1rem;\n }\n }\n\n &__secondary {\n text-align: right;\n padding-left: $global-padding * 0.5;\n line-height: 1;\n\n .header__navigation {\n overflow-x: initial;\n }\n\n small {\n white-space: nowrap;\n }\n }\n\n &__search {\n // Search bar is the only one growing or shrinking\n flex: 1;\n input,\n button {\n margin: 0;\n }\n }\n}\n\n.header {\n height: var(--top-header-margin);\n}\n\n.hero-header {\n @include box-shadow();\n flex-direction: column;\n height: 60vh;\n margin-bottom: 2em;\n\n & > * {\n width: 100%;\n }\n\n &__content {\n flex: 1;\n display: flex;\n text-align: center;\n flex-direction: column;\n justify-content: center;\n h1 {\n color: $colour-sky-white;\n }\n }\n\n &__footer {\n flex: 0;\n text-align: center;\n }\n\n label {\n color: $colour-sky-white;\n }\n}\n","$sapphire-blue: #014371;\n$sea-blue: #00639a;\n$vivid-cerulean: #00a6d5;\n$medium-turquoise: #46d6fa;\n$gainsborough: #d2dce3;\n$yankees-blue: #161d39;\n$independence: #4e5a71;\n$weldon-blue: #8194a1;\n$pastel-blue: #abc7d6;\n$platinum: #e4e8eb;\n$sky-white: #fbfeff;\n$bronze: #a65708;\n$reviewed: #c39b00;\n$unreviewed: #c0c0c0;\n$uniref: #f2994c;\n$uniparc: #88c19d;\n$proteomes: #e56358;\n$reference-proteome: #9d4a4d;\n$peptide-search: #A748BD;\n$id-mapping: #357B92;\n$blast: #00A6D5;\n$align: #B8CE48;\n$warning: #ffcc33;\n$failure: #f36968;\n$success: #108f3b;\n$info: #79cbf8;\n$help-green: #28aa50;\n$coyote-brown: #966336;\n$outer-space: #374343;\n$tool-results: #622E81;","@use 'sass:math';\n\n@import './settings';\n@import './colours';\n@import './franklin-settings';\n\n@mixin columns($base-class, $number) {\n .#{$base-class}--columns {\n column-count: $number;\n column-width: percentage(math.div(1, $number));\n\n & > * {\n break-inside: avoid;\n }\n }\n}\n\n@mixin box-shadow($spread: 0.125rem) {\n box-shadow: 0 0.125rem 0.25rem $spread rgba($colour-yankees-blue, 0.2);\n}\n\n@mixin fs-breakpoints($size) {\n @if map-has-key($fs-breakpoint-values, $size) {\n @media #{inspect(map-get($fs-breakpoint-values, $size))} {\n @content;\n }\n }\n}\n\n@mixin ellipsis() {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},"./src/styles/components/header.scss":function(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__){"use strict";var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__),_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__),_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__),_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__),_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__),_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_15_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_15_use_2_header_scss__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/header.scss"),_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_15_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_15_use_2_header_scss__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_15_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_15_use_2_header_scss__WEBPACK_IMPORTED_MODULE_6__),options={};options.styleTagTransform=_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default(),options.setAttributes=_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default(),options.insert=_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null,"head"),options.domAPI=_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default(),options.insertStyleElement=_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default();_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_15_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_15_use_2_header_scss__WEBPACK_IMPORTED_MODULE_6___default(),options),_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_15_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_15_use_2_header_scss__WEBPACK_IMPORTED_MODULE_6___default()&&_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_15_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_15_use_2_header_scss__WEBPACK_IMPORTED_MODULE_6___default().locals&&_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_15_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_15_use_2_header_scss__WEBPACK_IMPORTED_MODULE_6___default().locals}}]); \ No newline at end of file diff --git a/HeroHeader-stories.8e26a44e.iframe.bundle.js.br b/HeroHeader-stories.8e26a44e.iframe.bundle.js.br deleted file mode 100644 index 0501b4a9..00000000 Binary files a/HeroHeader-stories.8e26a44e.iframe.bundle.js.br and /dev/null differ diff --git a/HeroHeader-stories.8e26a44e.iframe.bundle.js.gz b/HeroHeader-stories.8e26a44e.iframe.bundle.js.gz deleted file mode 100644 index e0399fea..00000000 Binary files a/HeroHeader-stories.8e26a44e.iframe.bundle.js.gz and /dev/null differ diff --git a/InfoList-stories.909b05a8.iframe.bundle.js b/InfoList-stories.909b05a8.iframe.bundle.js new file mode 100644 index 00000000..433c9e66 --- /dev/null +++ b/InfoList-stories.909b05a8.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[5575],{"./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_require__.d(__webpack_exports__,{A:function(){return _objectWithoutProperties}})},"./stories/InfoList.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Columns:function(){return Columns},ColumnsCompact:function(){return ColumnsCompact},Compact:function(){return Compact},HighlightFirstItem:function(){return HighlightFirstItem},InfoList:function(){return InfoList},NoTitles:function(){return NoTitles},__namedExportsOrder:function(){return __namedExportsOrder}});var lorem_ipsum__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/lorem-ipsum/dist/index.js"),_src_components__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/svg/swissprot.svg"),_src_components__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/info-list.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js");__webpack_exports__.default={title:"Data/Info List"};const data=[{title:"Item 1",content:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{children:"Some content"})},{title:"Another item",content:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{children:"Some more content"})},{title:"Yet another item",content:(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_0__.Ok)({count:25,units:"words"})},{title:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_2__.A,{width:16,height:16})," An item with JSX"]}),content:(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_0__.Ok)({count:25,units:"words"})},{title:"This item is a link",content:(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_0__.Ok)({count:25,units:"words"}),link:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("a",{})}],InfoList=()=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_3__.A,{infoData:data});InfoList.displayName="InfoList";const HighlightFirstItem=()=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_3__.A,{infoData:data,highlightFirstItem:!0});HighlightFirstItem.displayName="HighlightFirstItem";const Compact=()=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_3__.A,{infoData:data,isCompact:!0});Compact.displayName="Compact";const NoTitles=()=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_3__.A,{infoData:data,noTitles:!0});NoTitles.displayName="NoTitles";const Columns=()=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_3__.A,{infoData:data,columns:!0});Columns.displayName="Columns";const ColumnsCompact=()=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_3__.A,{infoData:data,columns:!0,isCompact:!0});ColumnsCompact.displayName="ColumnsCompact",InfoList.storyName="Simple data",InfoList.parameters={...InfoList.parameters,docs:{...InfoList.parameters?.docs,source:{originalSource:"() => ",...InfoList.parameters?.docs?.source}}},HighlightFirstItem.parameters={...HighlightFirstItem.parameters,docs:{...HighlightFirstItem.parameters?.docs,source:{originalSource:"() => ",...HighlightFirstItem.parameters?.docs?.source}}},Compact.parameters={...Compact.parameters,docs:{...Compact.parameters?.docs,source:{originalSource:"() => ",...Compact.parameters?.docs?.source}}},NoTitles.parameters={...NoTitles.parameters,docs:{...NoTitles.parameters?.docs,source:{originalSource:"() => ",...NoTitles.parameters?.docs?.source}}},Columns.parameters={...Columns.parameters,docs:{...Columns.parameters?.docs,source:{originalSource:"() => ",...Columns.parameters?.docs?.source}}},ColumnsCompact.parameters={...ColumnsCompact.parameters,docs:{...ColumnsCompact.parameters?.docs,source:{originalSource:"() => ",...ColumnsCompact.parameters?.docs?.source}}};const __namedExportsOrder=["InfoList","HighlightFirstItem","Compact","NoTitles","Columns","ColumnsCompact"]},"./src/svg/swissprot.svg":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _path,_path2,_path3,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_require__.d(__webpack_exports__,{A:function(){return _objectWithoutProperties}})},"./stories/InfoList.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Columns:function(){return Columns},ColumnsCompact:function(){return ColumnsCompact},Compact:function(){return Compact},HighlightFirstItem:function(){return HighlightFirstItem},InfoList:function(){return InfoList},NoTitles:function(){return NoTitles},__namedExportsOrder:function(){return __namedExportsOrder}});var lorem_ipsum__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/lorem-ipsum/dist/index.js"),_src_components__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/svg/swissprot.svg"),_src_components__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/info-list.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js");__webpack_exports__.default={title:"Data/Info List"};const data=[{title:"Item 1",content:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{children:"Some content"})},{title:"Another item",content:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{children:"Some more content"})},{title:"Yet another item",content:(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_0__.Ok)({count:25,units:"words"})},{title:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_2__.A,{width:16,height:16})," An item with JSX"]}),content:(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_0__.Ok)({count:25,units:"words"})},{title:"This item is a link",content:(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_0__.Ok)({count:25,units:"words"}),link:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("a",{})}],InfoList=()=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_3__.A,{infoData:data});InfoList.displayName="InfoList";const HighlightFirstItem=()=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_3__.A,{infoData:data,highlightFirstItem:!0});HighlightFirstItem.displayName="HighlightFirstItem";const Compact=()=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_3__.A,{infoData:data,isCompact:!0});Compact.displayName="Compact";const NoTitles=()=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_3__.A,{infoData:data,noTitles:!0});NoTitles.displayName="NoTitles";const Columns=()=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_3__.A,{infoData:data,columns:!0});Columns.displayName="Columns";const ColumnsCompact=()=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_3__.A,{infoData:data,columns:!0,isCompact:!0});ColumnsCompact.displayName="ColumnsCompact",InfoList.storyName="Simple data",InfoList.parameters={...InfoList.parameters,docs:{...InfoList.parameters?.docs,source:{originalSource:"() => ",...InfoList.parameters?.docs?.source}}},HighlightFirstItem.parameters={...HighlightFirstItem.parameters,docs:{...HighlightFirstItem.parameters?.docs,source:{originalSource:"() => ",...HighlightFirstItem.parameters?.docs?.source}}},Compact.parameters={...Compact.parameters,docs:{...Compact.parameters?.docs,source:{originalSource:"() => ",...Compact.parameters?.docs?.source}}},NoTitles.parameters={...NoTitles.parameters,docs:{...NoTitles.parameters?.docs,source:{originalSource:"() => ",...NoTitles.parameters?.docs?.source}}},Columns.parameters={...Columns.parameters,docs:{...Columns.parameters?.docs,source:{originalSource:"() => ",...Columns.parameters?.docs?.source}}},ColumnsCompact.parameters={...ColumnsCompact.parameters,docs:{...ColumnsCompact.parameters?.docs,source:{originalSource:"() => ",...ColumnsCompact.parameters?.docs?.source}}};const __namedExportsOrder=["InfoList","HighlightFirstItem","Compact","NoTitles","Columns","ColumnsCompact"]},"./src/svg/swissprot.svg":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _path,_path2,_path3,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i`\t- ${doc}`)).join("\n")}`),`${this.template()}${null!=page?`\n\nMore info: ${page}\n`:""}`}},esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),Category=((Category2=Category||{}).PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",Category2.PREVIEW_CHANNELS="PREVIEW_CHANNELS",Category2.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",Category2.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",Category2.PREVIEW_API="PREVIEW_API",Category2.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",Category2.PREVIEW_ROUTER="PREVIEW_ROUTER",Category2.PREVIEW_THEMING="PREVIEW_THEMING",Category2.RENDERER_HTML="RENDERER_HTML",Category2.RENDERER_PREACT="RENDERER_PREACT",Category2.RENDERER_REACT="RENDERER_REACT",Category2.RENDERER_SERVER="RENDERER_SERVER",Category2.RENDERER_SVELTE="RENDERER_SVELTE",Category2.RENDERER_VUE="RENDERER_VUE",Category2.RENDERER_VUE3="RENDERER_VUE3",Category2.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",Category2),ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super(),this.data=data,this.category="PREVIEW_API",this.code=2,this.documentation="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function"}template(){return esm.A` +(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[7308],{"./node_modules/@storybook/addon-actions/dist/index.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{XI:function(){return action}});var Category2,v4=__webpack_require__("./node_modules/uuid/dist/esm-browser/v4.js"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),StorybookError=class extends Error{constructor(){super(...arguments),this.data={},this.documentation=!1,this.fromStorybook=!0}get fullErrorCode(){let paddedCode=String(this.code).padStart(4,"0");return`SB_${this.category}_${paddedCode}`}get name(){let errorName=this.constructor.name;return`${this.fullErrorCode} (${errorName})`}get message(){let page;return!0===this.documentation?page=`https://storybook.js.org/error/${this.fullErrorCode}`:"string"==typeof this.documentation?page=this.documentation:Array.isArray(this.documentation)&&(page=`\n${this.documentation.map((doc=>`\t- ${doc}`)).join("\n")}`),`${this.template()}${null!=page?`\n\nMore info: ${page}\n`:""}`}},esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),Category=((Category2=Category||{}).PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",Category2.PREVIEW_CHANNELS="PREVIEW_CHANNELS",Category2.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",Category2.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",Category2.PREVIEW_API="PREVIEW_API",Category2.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",Category2.PREVIEW_ROUTER="PREVIEW_ROUTER",Category2.PREVIEW_THEMING="PREVIEW_THEMING",Category2.RENDERER_HTML="RENDERER_HTML",Category2.RENDERER_PREACT="RENDERER_PREACT",Category2.RENDERER_REACT="RENDERER_REACT",Category2.RENDERER_SERVER="RENDERER_SERVER",Category2.RENDERER_SVELTE="RENDERER_SVELTE",Category2.RENDERER_VUE="RENDERER_VUE",Category2.RENDERER_VUE3="RENDERER_VUE3",Category2.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",Category2),ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super(),this.data=data,this.category="PREVIEW_API",this.code=2,this.documentation="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function"}template(){return esm.A` We detected that you use an implicit action arg during ${this.data.phase} of your story. ${this.data.deprecated?"\nThis is deprecated and won't work in Storybook 8 anymore.\n":""} Please provide an explicit spy to your args like this: @@ -8,4 +8,4 @@ ${this.data.name}: fn() } `}},ADDON_ID="storybook/actions",EVENT_ID=`${ADDON_ID}/action-event`,config={depth:10,clearOnStoryChange:!0,limit:50},findProto=(obj,callback)=>{let proto=Object.getPrototypeOf(obj);return!proto||callback(proto)?proto:findProto(proto,callback)},serializeArg=a=>{if("object"==typeof(e=a)&&e&&findProto(e,(proto=>/^Synthetic(?:Base)?Event$/.test(proto.constructor.name)))&&"function"==typeof e.persist){let e=Object.create(a.constructor.prototype,Object.getOwnPropertyDescriptors(a));e.persist();let viewDescriptor=Object.getOwnPropertyDescriptor(e,"view"),view=viewDescriptor?.value;return"object"==typeof view&&"Window"===view?.constructor.name&&Object.defineProperty(e,"view",{...viewDescriptor,value:Object.create(view.constructor.prototype)}),e}var e;return a},generateId=()=>"object"==typeof crypto&&"function"==typeof crypto.getRandomValues?(0,v4.A)():Date.now().toString(36)+Math.random().toString(36).substring(2);function action(name,options={}){let actionOptions={...config,...options},handler=function(...args){if(options.implicit){let storyRenderer=("__STORYBOOK_PREVIEW__"in external_STORYBOOK_MODULE_GLOBAL_.global?external_STORYBOOK_MODULE_GLOBAL_.global.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find((render=>"playing"===render.phase||"rendering"===render.phase));if(storyRenderer){let deprecated=!window?.FEATURES?.disallowImplicitActionsInRenderV8,error=new ImplicitActionsDuringRendering({phase:storyRenderer.phase,name:name,deprecated:deprecated});if(!deprecated)throw error;console.warn(error)}}let channel=external_STORYBOOK_MODULE_PREVIEW_API_.addons.getChannel(),id=generateId(),serializedArgs=args.map(serializeArg),normalizedArgs=args.length>1?serializedArgs:serializedArgs[0],actionDisplayToEmit={id:id,count:0,data:{name:name,args:normalizedArgs},options:{...actionOptions,maxDepth:5+(actionOptions.depth||3),allowFunction:actionOptions.allowFunction||!1}};channel.emit(EVENT_ID,actionDisplayToEmit)};return handler.isAction=!0,handler}},"./stories/Message.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Message:function(){return Message},__namedExportsOrder:function(){return __namedExportsOrder}});var _storybook_addon_actions__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/addon-actions/dist/index.mjs"),_src_components__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/message.tsx"),_src_mock_data_lipsum__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/mock-data/lipsum.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js");const meta={title:"Layout/Message",argTypes:{level:{options:["success","warning","failure","info"],control:{type:"select"}}},args:{subtitle:"subtitle",level:"info",dismissable:!1},render:_ref=>{let{level:level,dismissable:dismissable,subtitle:subtitle}=_ref;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_2__.A,{level:level,heading:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("h3",{children:"Lipsum generator"}),subtitle:subtitle,onDismiss:dismissable?(0,_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_0__.XI)("Dismiss"):void 0,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("small",{children:(0,_src_mock_data_lipsum__WEBPACK_IMPORTED_MODULE_3__.FZ)()})})}};__webpack_exports__.default=meta;const Message={};Message.parameters={...Message.parameters,docs:{...Message.parameters?.docs,source:{originalSource:"{}",...Message.parameters?.docs?.source}}};const __namedExportsOrder=["Message"]},"./src/svg/error.svg":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _path,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i{let{children:children,level:level="info",heading:heading,subtitle:subtitle,onDismiss:onDismiss,noIcon:noIcon,noShadow:noShadow,className:className}=_ref,props=(0,objectWithoutProperties.A)(_ref,_excluded),maybeIcon=null;const iconAlign=heading?"message--icon-align-center":"message--icon-align-top";return noIcon||(maybeIcon=(0,jsx_runtime.jsx)(information.A,{width:"1.125em",height:"1.125em",className:iconAlign}),"warning"===level?maybeIcon=(0,jsx_runtime.jsx)(warning_triangle.A,{width:"1.125em",height:"1.125em",className:iconAlign}):"failure"===level?maybeIcon=(0,jsx_runtime.jsx)(error.A,{width:"1.125em",height:"1.125em",className:iconAlign}):"success"===level&&(maybeIcon=(0,jsx_runtime.jsx)(success.A,{width:"1.125em",height:"1.125em",className:iconAlign}))),(0,jsx_runtime.jsxs)("div",_objectSpread(_objectSpread({className:classnames_default()(className,"message",`message--${level}`,{"message--no-shadow":noShadow}),role:"status"},props),{},{children:[(0,jsx_runtime.jsx)("div",{className:"message__side-border"}),maybeIcon,heading?(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()("message__title",{"message__title--no-icon":noIcon}),children:heading}),(0,jsx_runtime.jsx)("div",{className:"message__text",children:children})]}):(0,jsx_runtime.jsx)("div",{className:"message__title",children:children}),onDismiss&&(0,jsx_runtime.jsx)("button",{type:"button","aria-label":"dismiss",className:"message__dismiss",onClick:onDismiss,children:(0,jsx_runtime.jsx)(times.A,{width:"10",height:"10"})}),subtitle&&(0,jsx_runtime.jsx)("div",{className:"message__subtitle",children:subtitle})]}))};Message.displayName="Message";var src_components_message=Message;try{message.displayName="message",message.__docgenInfo={description:"",displayName:"message",props:{level:{defaultValue:{value:"info"},description:"The message level: 'warning', 'failure', 'success', 'info' (default)",name:"level",required:!1,type:{name:"enum",value:[{value:'"warning"'},{value:'"failure"'},{value:'"success"'},{value:'"info"'}]}},heading:{defaultValue:null,description:"The title of the message",name:"heading",required:!1,type:{name:"ReactNode"}},subtitle:{defaultValue:null,description:"The content to appear underneath of the main message",name:"subtitle",required:!1,type:{name:"ReactNode"}},onDismiss:{defaultValue:null,description:"Whether the message can be closed or not",name:"onDismiss",required:!1,type:{name:"((event: MouseEvent) => void)"}},noIcon:{defaultValue:null,description:"To hide the default message icon",name:"noIcon",required:!1,type:{name:"boolean"}},noShadow:{defaultValue:null,description:"To hide the default box shadow",name:"noShadow",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/message.tsx#message"]={docgenInfo:message.__docgenInfo,name:"message",path:"src/components/message.tsx#message"})}catch(__react_docgen_typescript_loader_error){}},"./src/mock-data/lipsum.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{FZ:function(){return getLipsumSentences},Td:function(){return getLipsumObjectArray}});__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.object.from-entries.js");var lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/lorem-ipsum/dist/index.js"),uuid__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/uuid/dist/esm-browser/v1.js");const getLipsumSentences=()=>(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__.Ok)({sentenceLowerBound:2,sentenceUpperBound:30}),getLipsumObjectArray=_ref=>{let{numberElements:numberElements,keys:keys,idKey:idKey="id",type:type="sentences"}=_ref;return Array.from({length:numberElements},(()=>Object.fromEntries([[[idKey],(0,uuid__WEBPACK_IMPORTED_MODULE_3__.A)()],...keys.map((key=>[key,"sentences"===type?getLipsumSentences():(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__.Ok)({count:2,units:"words"})]))])))};try{getLipsumObjectArray.displayName="getLipsumObjectArray",getLipsumObjectArray.__docgenInfo={description:"",displayName:"getLipsumObjectArray",props:{numberElements:{defaultValue:null,description:"",name:"numberElements",required:!0,type:{name:"number"}},keys:{defaultValue:null,description:"",name:"keys",required:!0,type:{name:"string[]"}},idKey:{defaultValue:{value:"id"},description:"",name:"idKey",required:!1,type:{name:"string"}},type:{defaultValue:{value:"sentences"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"sentences"'},{value:'"words"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/mock-data/lipsum.tsx#getLipsumObjectArray"]={docgenInfo:getLipsumObjectArray.__docgenInfo,name:"getLipsumObjectArray",path:"src/mock-data/lipsum.tsx#getLipsumObjectArray"})}catch(__react_docgen_typescript_loader_error){}try{lipsum.displayName="lipsum",lipsum.__docgenInfo={description:"",displayName:"lipsum",props:{numberElements:{defaultValue:null,description:"",name:"numberElements",required:!0,type:{name:"number"}},keys:{defaultValue:null,description:"",name:"keys",required:!0,type:{name:"string[]"}},idKey:{defaultValue:{value:"id"},description:"",name:"idKey",required:!1,type:{name:"string"}},type:{defaultValue:{value:"sentences"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"sentences"'},{value:'"words"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/mock-data/lipsum.tsx#lipsum"]={docgenInfo:lipsum.__docgenInfo,name:"lipsum",path:"src/mock-data/lipsum.tsx#lipsum"})}catch(__react_docgen_typescript_loader_error){}},"./node_modules/core-js/internals/classof.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var TO_STRING_TAG_SUPPORT=__webpack_require__("./node_modules/core-js/internals/to-string-tag-support.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),TO_STRING_TAG=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),$Object=Object,CORRECT_ARGUMENTS="Arguments"===classofRaw(function(){return arguments}());module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(tag=function(it,key){try{return it[key]}catch(error){}}(O=$Object(it),TO_STRING_TAG))?tag:CORRECT_ARGUMENTS?classofRaw(O):"Object"===(result=classofRaw(O))&&isCallable(O.callee)?"Arguments":result}},"./node_modules/core-js/internals/create-property.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var toPropertyKey=__webpack_require__("./node_modules/core-js/internals/to-property-key.js"),definePropertyModule=__webpack_require__("./node_modules/core-js/internals/object-define-property.js"),createPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/create-property-descriptor.js");module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}},"./node_modules/core-js/internals/function-bind-context.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this-clause.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),NATIVE_BIND=__webpack_require__("./node_modules/core-js/internals/function-bind-native.js"),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),void 0===that?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}},"./node_modules/core-js/internals/function-uncurry-this-clause.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=function(fn){if("Function"===classofRaw(fn))return uncurryThis(fn)}},"./node_modules/core-js/internals/get-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js"),isNullOrUndefined=__webpack_require__("./node_modules/core-js/internals/is-null-or-undefined.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}},"./node_modules/core-js/internals/get-iterator.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}},"./node_modules/core-js/internals/iterate.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),isArrayIteratorMethod=__webpack_require__("./node_modules/core-js/internals/is-array-iterator-method.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),getIterator=__webpack_require__("./node_modules/core-js/internals/get-iterator.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),iteratorClose=__webpack_require__("./node_modules/core-js/internals/iterator-close.js"),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var iterator,iterFn,index,length,result,next,step,that=options&&options.that,AS_ENTRIES=!(!options||!options.AS_ENTRIES),IS_RECORD=!(!options||!options.IS_RECORD),IS_ITERATOR=!(!options||!options.IS_ITERATOR),INTERRUPTED=!(!options||!options.INTERRUPTED),fn=bind(unboundFunction,that),stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(!(iterFn=getIteratorMethod(iterable)))throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if((result=callFn(iterable[index]))&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if("object"==typeof result&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}},"./node_modules/core-js/internals/iterator-close.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js");module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(!(innerResult=getMethod(iterator,"return"))){if("throw"===kind)throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if("throw"===kind)throw value;if(innerError)throw innerResult;return anObject(innerResult),value}},"./node_modules/core-js/internals/to-string-tag-support.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var test={};test[__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag")]="z",module.exports="[object z]"===String(test)},"./node_modules/core-js/modules/es.object.from-entries.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),iterate=__webpack_require__("./node_modules/core-js/internals/iterate.js"),createProperty=__webpack_require__("./node_modules/core-js/internals/create-property.js");$({target:"Object",stat:!0},{fromEntries:function fromEntries(iterable){var obj={};return iterate(iterable,(function(k,v){createProperty(obj,k,v)}),{AS_ENTRIES:!0}),obj}})},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/message.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,'.message{box-shadow:0px 1px 3px 0px rgba(0,0,0,.2);background-color:#fbfeff;padding:.5rem 1rem .5rem .5rem;margin-bottom:.5rem;display:grid;grid-template-areas:"border icon title dismiss" "border . text ." "border . subtitle .";grid-template-columns:1rem minmax(0, max-content) auto minmax(0, max-content)}.message--icon-align-center{align-self:center}.message--icon-align-top{align-self:start}.message>svg{grid-area:icon;height:1.5rem;margin-right:.5rem}.message--no-shadow{box-shadow:none}.message__side-border{grid-area:border;width:.25rem;height:auto}.message__title{grid-area:title}.message__title--no-icon>*{color:#8194a1}.message__text{grid-area:text}.message__subtitle{margin-left:1rem;color:#8194a1;grid-area:subtitle}.message__dismiss{cursor:pointer;grid-area:dismiss;align-self:start;position:relative;width:1.5em;height:1.5em;z-index:0}.message__dismiss::after{content:"";position:absolute;background:#d2dce3;top:0;right:0;bottom:0;left:0;border-radius:50%;z-index:-1;opacity:0;transition:opacity ease-in-out .1s}.message__dismiss:hover::after,.message__dismiss:focus::after{opacity:1}.message--warning>svg{color:#fc3}.message--warning .message__side-border{background-color:#fc3}.message--failure>svg{color:#f36968}.message--failure .message__side-border{background-color:#f36968}.message--success>svg{color:#108f3b}.message--success .message__side-border{background-color:#108f3b}.message--info>svg{color:#79cbf8}.message--info .message__side-border{background-color:#79cbf8}',"",{version:3,sources:["webpack://./src/styles/components/message.scss","webpack://./colours.json"],names:[],mappings:"AAeA,SACE,yCAAA,CACA,wBCPU,CDSV,8BAAA,CACA,mBAAA,CAEA,YAAA,CACA,uFACE,CAGF,6EAAA,CAEA,4BACE,iBAAA,CAGF,yBACE,gBAAA,CAGF,aACE,cAAA,CACA,aAAA,CACA,kBAAA,CAGF,oBACE,eAAA,CAGF,sBACE,gBAAA,CACA,YAAA,CACA,WAAA,CAGF,gBACE,eAAA,CAEA,2BACE,aClDQ,CDsDZ,eACE,cAAA,CAGF,mBACE,gBAAA,CACA,aC5DU,CD6DV,kBAAA,CAGF,kBACE,cAAA,CACA,iBAAA,CACA,gBAAA,CACA,iBAAA,CACA,WAAA,CACA,YAAA,CACA,SAAA,CAEA,yBACE,UAAA,CACA,iBAAA,CACA,kBC/ES,CDgFT,KAAA,CACA,OAAA,CACA,QAAA,CACA,MAAA,CACA,iBAAA,CACA,UAAA,CACA,SAAA,CAEA,kCAAA,CAKA,8DACE,SAAA,CA/FN,sBACE,UAKqB,CACvB,wCACE,qBCWM,CDnBR,sBACE,aAKqB,CACvB,wCACE,wBCYM,CDpBR,sBACE,aAKqB,CACvB,wCACE,wBCaM,CDrBR,mBACE,aAKqB,CACvB,qCACE,wBCcG",sourcesContent:["@import '../colours';\n\n@mixin SVGDefinition($level) {\n & > svg {\n color: $level;\n }\n}\n\n@mixin getWarningCSS($level) {\n @include SVGDefinition(($level));\n .message__side-border {\n background-color: $level;\n }\n}\n\n.message {\n box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);\n background-color: $colour-sky-white;\n\n padding: 0.5rem 1rem 0.5rem 0.5rem;\n margin-bottom: $global-margin * 0.5;\n\n display: grid;\n grid-template-areas:\n 'border icon title dismiss'\n 'border . text .'\n 'border . subtitle .';\n grid-template-columns: 1rem minmax(0, max-content) auto minmax(0, max-content);\n\n &--icon-align-center {\n align-self: center;\n }\n\n &--icon-align-top {\n align-self: start;\n }\n\n & > svg {\n grid-area: icon;\n height: 1.5rem;\n margin-right: 0.5rem;\n }\n\n &--no-shadow {\n box-shadow: none;\n }\n\n &__side-border {\n grid-area: border;\n width: 0.25rem;\n height: auto;\n }\n\n &__title {\n grid-area: title;\n\n &--no-icon > * {\n color: $colour-weldon-blue;\n }\n }\n\n &__text {\n grid-area: text;\n }\n\n &__subtitle {\n margin-left: 1rem;\n color: $colour-weldon-blue;\n grid-area: subtitle;\n }\n\n &__dismiss {\n cursor: pointer;\n grid-area: dismiss;\n align-self: start;\n position: relative;\n width: 1.5em;\n height: 1.5em;\n z-index: 0;\n\n &::after {\n content: '';\n position: absolute;\n background: $gainsborough;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n border-radius: 50%;\n z-index: -1;\n opacity: 0;\n\n transition: opacity ease-in-out 0.1s;\n }\n\n &:hover,\n &:focus {\n &::after {\n opacity: 1;\n }\n }\n }\n\n &--warning {\n @include getWarningCSS($colour-warning);\n }\n\n &--failure {\n @include getWarningCSS($colour-failure);\n }\n\n &--success {\n @include getWarningCSS($colour-success);\n }\n\n &--info {\n @include getWarningCSS($colour-info);\n }\n}\n","$sapphire-blue: #014371;\n$sea-blue: #00639a;\n$vivid-cerulean: #00a6d5;\n$medium-turquoise: #46d6fa;\n$gainsborough: #d2dce3;\n$yankees-blue: #161d39;\n$independence: #4e5a71;\n$weldon-blue: #8194a1;\n$pastel-blue: #abc7d6;\n$platinum: #e4e8eb;\n$sky-white: #fbfeff;\n$bronze: #a65708;\n$reviewed: #c39b00;\n$unreviewed: #c0c0c0;\n$uniref: #f2994c;\n$uniparc: #88c19d;\n$proteomes: #e56358;\n$reference-proteome: #9d4a4d;\n$peptide-search: #A748BD;\n$id-mapping: #357B92;\n$blast: #00A6D5;\n$align: #B8CE48;\n$warning: #ffcc33;\n$failure: #f36968;\n$success: #108f3b;\n$info: #79cbf8;\n$help-green: #28aa50;\n$coyote-brown: #966336;\n$outer-space: #374343;\n$tool-results: #622E81;"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},"./node_modules/uuid/dist/esm-browser/v1.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _rng_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/uuid/dist/esm-browser/rng.js"),_stringify_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/uuid/dist/esm-browser/stringify.js");let _nodeId,_clockseq,_lastMSecs=0,_lastNSecs=0;__webpack_exports__.A=function v1(options,buf,offset){let i=buf&&offset||0;const b=buf||new Array(16);let node=(options=options||{}).node||_nodeId,clockseq=void 0!==options.clockseq?options.clockseq:_clockseq;if(null==node||null==clockseq){const seedBytes=options.random||(options.rng||_rng_js__WEBPACK_IMPORTED_MODULE_0__.A)();null==node&&(node=_nodeId=[1|seedBytes[0],seedBytes[1],seedBytes[2],seedBytes[3],seedBytes[4],seedBytes[5]]),null==clockseq&&(clockseq=_clockseq=16383&(seedBytes[6]<<8|seedBytes[7]))}let msecs=void 0!==options.msecs?options.msecs:Date.now(),nsecs=void 0!==options.nsecs?options.nsecs:_lastNSecs+1;const dt=msecs-_lastMSecs+(nsecs-_lastNSecs)/1e4;if(dt<0&&void 0===options.clockseq&&(clockseq=clockseq+1&16383),(dt<0||msecs>_lastMSecs)&&void 0===options.nsecs&&(nsecs=0),nsecs>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_lastMSecs=msecs,_lastNSecs=nsecs,_clockseq=clockseq,msecs+=122192928e5;const tl=(1e4*(268435455&msecs)+nsecs)%4294967296;b[i++]=tl>>>24&255,b[i++]=tl>>>16&255,b[i++]=tl>>>8&255,b[i++]=255&tl;const tmh=msecs/4294967296*1e4&268435455;b[i++]=tmh>>>8&255,b[i++]=255&tmh,b[i++]=tmh>>>24&15|16,b[i++]=tmh>>>16&255,b[i++]=clockseq>>>8|128,b[i++]=255&clockseq;for(let n=0;n<6;++n)b[i+n]=node[n];return buf||(0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__.k)(b)}}}]); -//# sourceMappingURL=Message-stories.6587929a.iframe.bundle.js.map \ No newline at end of file +//# sourceMappingURL=Message-stories.a770a974.iframe.bundle.js.map \ No newline at end of file diff --git a/Message-stories.a770a974.iframe.bundle.js.br b/Message-stories.a770a974.iframe.bundle.js.br new file mode 100644 index 00000000..57ae21cf Binary files /dev/null and b/Message-stories.a770a974.iframe.bundle.js.br differ diff --git a/Message-stories.a770a974.iframe.bundle.js.gz b/Message-stories.a770a974.iframe.bundle.js.gz new file mode 100644 index 00000000..9e281799 Binary files /dev/null and b/Message-stories.a770a974.iframe.bundle.js.gz differ diff --git a/Message-stories.6587929a.iframe.bundle.js.map b/Message-stories.a770a974.iframe.bundle.js.map similarity index 97% rename from Message-stories.6587929a.iframe.bundle.js.map rename to Message-stories.a770a974.iframe.bundle.js.map index dd39506b..c0a1dc9c 100644 --- a/Message-stories.6587929a.iframe.bundle.js.map +++ b/Message-stories.a770a974.iframe.bundle.js.map @@ -1 +1 @@ -{"version":3,"file":"Message-stories.6587929a.iframe.bundle.js","mappings":";AAUA;AACA;;;;;AAOA;;AAEA","sources":["webpack://franklin-sites/./node_modules/@storybook/addon-actions/node_modules/@storybook/core-events/dist/errors/preview-errors.mjs"],"sourcesContent":["import { StorybookError } from '../chunk-3FIG6PJN.mjs';\nimport dedent from 'ts-dedent';\n\nvar Category=(Category2=>(Category2.PREVIEW_CLIENT_LOGGER=\"PREVIEW_CLIENT-LOGGER\",Category2.PREVIEW_CHANNELS=\"PREVIEW_CHANNELS\",Category2.PREVIEW_CORE_EVENTS=\"PREVIEW_CORE-EVENTS\",Category2.PREVIEW_INSTRUMENTER=\"PREVIEW_INSTRUMENTER\",Category2.PREVIEW_API=\"PREVIEW_API\",Category2.PREVIEW_REACT_DOM_SHIM=\"PREVIEW_REACT-DOM-SHIM\",Category2.PREVIEW_ROUTER=\"PREVIEW_ROUTER\",Category2.PREVIEW_THEMING=\"PREVIEW_THEMING\",Category2.RENDERER_HTML=\"RENDERER_HTML\",Category2.RENDERER_PREACT=\"RENDERER_PREACT\",Category2.RENDERER_REACT=\"RENDERER_REACT\",Category2.RENDERER_SERVER=\"RENDERER_SERVER\",Category2.RENDERER_SVELTE=\"RENDERER_SVELTE\",Category2.RENDERER_VUE=\"RENDERER_VUE\",Category2.RENDERER_VUE3=\"RENDERER_VUE3\",Category2.RENDERER_WEB_COMPONENTS=\"RENDERER_WEB-COMPONENTS\",Category2))(Category||{}),MissingStoryAfterHmrError=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=1;}template(){return dedent`\n Couldn't find story matching id '${this.data.storyId}' after HMR.\n - Did you just rename a story?\n - Did you remove it from your CSF file?\n - Are you sure a story with the id '${this.data.storyId}' exists?\n - Please check the values in the stories field of your main.js config and see if they would match your CSF File.\n - Also check the browser console and terminal for potential error messages.`}},ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=2;this.documentation=\"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function\";}template(){return dedent`\n We detected that you use an implicit action arg during ${this.data.phase} of your story. \n ${this.data.deprecated?`\nThis is deprecated and won't work in Storybook 8 anymore.\n`:\"\"}\n Please provide an explicit spy to your args like this:\n import { fn } from '@storybook/test';\n ... \n args: {\n ${this.data.name}: fn()\n }\n `}};\n\nexport { Category, ImplicitActionsDuringRendering, MissingStoryAfterHmrError };\n"],"names":[],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"Message-stories.a770a974.iframe.bundle.js","mappings":";AAUA;AACA;;;;;AAOA;;AAEA","sources":["webpack://franklin-sites/./node_modules/@storybook/addon-actions/node_modules/@storybook/core-events/dist/errors/preview-errors.mjs"],"sourcesContent":["import { StorybookError } from '../chunk-3FIG6PJN.mjs';\nimport dedent from 'ts-dedent';\n\nvar Category=(Category2=>(Category2.PREVIEW_CLIENT_LOGGER=\"PREVIEW_CLIENT-LOGGER\",Category2.PREVIEW_CHANNELS=\"PREVIEW_CHANNELS\",Category2.PREVIEW_CORE_EVENTS=\"PREVIEW_CORE-EVENTS\",Category2.PREVIEW_INSTRUMENTER=\"PREVIEW_INSTRUMENTER\",Category2.PREVIEW_API=\"PREVIEW_API\",Category2.PREVIEW_REACT_DOM_SHIM=\"PREVIEW_REACT-DOM-SHIM\",Category2.PREVIEW_ROUTER=\"PREVIEW_ROUTER\",Category2.PREVIEW_THEMING=\"PREVIEW_THEMING\",Category2.RENDERER_HTML=\"RENDERER_HTML\",Category2.RENDERER_PREACT=\"RENDERER_PREACT\",Category2.RENDERER_REACT=\"RENDERER_REACT\",Category2.RENDERER_SERVER=\"RENDERER_SERVER\",Category2.RENDERER_SVELTE=\"RENDERER_SVELTE\",Category2.RENDERER_VUE=\"RENDERER_VUE\",Category2.RENDERER_VUE3=\"RENDERER_VUE3\",Category2.RENDERER_WEB_COMPONENTS=\"RENDERER_WEB-COMPONENTS\",Category2))(Category||{}),MissingStoryAfterHmrError=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=1;}template(){return dedent`\n Couldn't find story matching id '${this.data.storyId}' after HMR.\n - Did you just rename a story?\n - Did you remove it from your CSF file?\n - Are you sure a story with the id '${this.data.storyId}' exists?\n - Please check the values in the stories field of your main.js config and see if they would match your CSF File.\n - Also check the browser console and terminal for potential error messages.`}},ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=2;this.documentation=\"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function\";}template(){return dedent`\n We detected that you use an implicit action arg during ${this.data.phase} of your story. \n ${this.data.deprecated?`\nThis is deprecated and won't work in Storybook 8 anymore.\n`:\"\"}\n Please provide an explicit spy to your args like this:\n import { fn } from '@storybook/test';\n ... \n args: {\n ${this.data.name}: fn()\n }\n `}};\n\nexport { Category, ImplicitActionsDuringRendering, MissingStoryAfterHmrError };\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/Message-stories.a770a974.iframe.bundle.js.map.br b/Message-stories.a770a974.iframe.bundle.js.map.br new file mode 100644 index 00000000..bfa135fb Binary files /dev/null and b/Message-stories.a770a974.iframe.bundle.js.map.br differ diff --git a/Message-stories.a770a974.iframe.bundle.js.map.gz b/Message-stories.a770a974.iframe.bundle.js.map.gz new file mode 100644 index 00000000..45db7068 Binary files /dev/null and b/Message-stories.a770a974.iframe.bundle.js.map.gz differ diff --git a/Modal-stories.0130eb17.iframe.bundle.js b/Modal-stories.0130eb17.iframe.bundle.js new file mode 100644 index 00000000..6825ff96 --- /dev/null +++ b/Modal-stories.0130eb17.iframe.bundle.js @@ -0,0 +1 @@ +(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[4258],{"./stories/Modal.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Modal:function(){return Modal},__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return Modal_stories}});var dist=__webpack_require__("./node_modules/lorem-ipsum/dist/index.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const _excluded=["className","handleExitModal","onWindowOpen"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}const ModalBackdrop=_ref=>{let{className:className,handleExitModal:handleExitModal,onWindowOpen:onWindowOpen}=_ref,props=(0,objectWithoutProperties.A)(_ref,_excluded);const bodyTag=document.body;return bodyTag.classList.add("modal__body"),(0,react.useEffect)((()=>()=>bodyTag.classList.remove("modal__body"))),(0,jsx_runtime.jsx)("div",function _objectSpread(e){for(var r=1;r void"}},onWindowOpen:{defaultValue:null,description:"",name:"onWindowOpen",required:!0,type:{name:"() => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/modal-backdrop.tsx#modalbackdrop"]={docgenInfo:modalbackdrop.__docgenInfo,name:"modalbackdrop",path:"src/components/modal-backdrop.tsx#modalbackdrop"})}catch(__react_docgen_typescript_loader_error){}var window_window=__webpack_require__("./src/components/window/window.tsx"),injectStylesIntoStyleTag=(__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js")),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),modal=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/modal.scss"),modal_default=__webpack_require__.n(modal),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(modal_default(),options),modal_default()&&modal_default().locals&&modal_default().locals;const modal_excluded=["children","title","width","height","handleExitModal","withHeaderCloseButton","withFooterCloseButton"];function modal_ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function modal_objectSpread(e){for(var r=1;r{let{title:title,width:width,height:height,className:className,handleExitModal:handleExitModal,onWindowOpen:onWindowOpen,withHeaderCloseButton:withHeaderCloseButton,withFooterCloseButton:withFooterCloseButton,children:children}=_ref;return(0,jsx_runtime.jsx)(window_window.A,{width:width,height:height,title:title,withHeaderCloseButton:withHeaderCloseButton,withFooterCloseButton:withFooterCloseButton,onWindowOpen:onWindowOpen,onWindowClose:handleExitModal,withShadow:!0,className:className,children:children})};DialogWindow.displayName="DialogWindow";const ButtonModal=_ref2=>{let{buttonText:buttonText,title:title,width:width="70vw",height:height="70vh",withHeaderCloseButton:withHeaderCloseButton,withFooterCloseButton:withFooterCloseButton=!0,children:children}=_ref2;const{displayModal:displayModal,setDisplayModal:setDisplayModal,Modal:Modal}=function useModal(Backdrop,Content){const[displayModal,setDisplayModal]=(0,react.useState)(!1);return{displayModal:displayModal,setDisplayModal:setDisplayModal,Modal:_ref=>{let{children:children,title:title,width:width="50vw",height:height="50vh",handleExitModal:handleExitModal,withHeaderCloseButton:withHeaderCloseButton,withFooterCloseButton:withFooterCloseButton}=_ref,rest=(0,objectWithoutProperties.A)(_ref,modal_excluded);return(0,jsx_runtime.jsxs)("div",{className:"modal",children:[(0,jsx_runtime.jsx)(Backdrop,modal_objectSpread({className:"modal__backdrop--visible",handleExitModal:handleExitModal},rest)),(0,jsx_runtime.jsx)(Content,modal_objectSpread(modal_objectSpread({className:"modal__content",title:title,width:width,height:height,handleExitModal:handleExitModal,withHeaderCloseButton:withHeaderCloseButton,withFooterCloseButton:withFooterCloseButton},rest),{},{children:children}))]})}}}(modal_backdrop,DialogWindow);return(0,jsx_runtime.jsxs)("div",{children:[(0,jsx_runtime.jsx)("button",{onClick:()=>setDisplayModal(!0),className:"button",type:"button",children:buttonText}),displayModal&&(0,jsx_runtime.jsx)(Modal,{handleExitModal:()=>setDisplayModal(!1),title:title,width:width,height:height,withHeaderCloseButton:withHeaderCloseButton,withFooterCloseButton:withFooterCloseButton,children:children})]})};ButtonModal.displayName="ButtonModal";var button_modal=ButtonModal;try{buttonmodal.displayName="buttonmodal",buttonmodal.__docgenInfo={description:"",displayName:"buttonmodal",props:{buttonText:{defaultValue:null,description:"The button label",name:"buttonText",required:!0,type:{name:"string"}},title:{defaultValue:null,description:"The modal title",name:"title",required:!0,type:{name:"string"}},width:{defaultValue:{value:"70vw"},description:"The width of the modal window",name:"width",required:!1,type:{name:"string"}},height:{defaultValue:{value:"70vh"},description:"The height of the modal window",name:"height",required:!1,type:{name:"string"}},withHeaderCloseButton:{defaultValue:null,description:"Display the close icon in the header",name:"withHeaderCloseButton",required:!1,type:{name:"boolean"}},withFooterCloseButton:{defaultValue:{value:"true"},description:"Display the close button in the footer",name:"withFooterCloseButton",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/button-modal.tsx#buttonmodal"]={docgenInfo:buttonmodal.__docgenInfo,name:"buttonmodal",path:"src/components/button-modal.tsx#buttonmodal"})}catch(__react_docgen_typescript_loader_error){}var Modal_stories={title:"Layout/Modal"};const Modal=()=>(0,jsx_runtime.jsx)(button_modal,{buttonText:"click me",title:"Example modal window",children:(0,dist.Ok)({count:45})});Modal.displayName="Modal",Modal.parameters={...Modal.parameters,docs:{...Modal.parameters?.docs,source:{originalSource:'() => \n {loremIpsum({\n count: 45\n })}\n ',...Modal.parameters?.docs?.source}}};const __namedExportsOrder=["Modal"]},"./src/svg/times.svg":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _path,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i{let{icon:icon,text:text,onClick:onClick,primary:primary=!1,className:className}=_ref;const iconOnly=icon&&!text;return(0,jsx_runtime.jsxs)("button",{className:classnames_default()("window__action-button",className,{"window__action-button--icon-only":!!iconOnly,button:!iconOnly,secondary:!iconOnly&&!primary}),onClick:onClick,type:"button",children:[icon&&icon,text&&text]})};WindowActionButton.displayName="WindowActionButton";const DefaultCloseButton=_ref2=>{let{iconOnly:iconOnly=!1,text:text,onClick:onClick}=_ref2,otherProps=(0,objectWithoutProperties.A)(_ref2,_excluded);const iconOnlyClass="window__default-close-button--icon-only";return(0,jsx_runtime.jsx)(WindowActionButton,function _objectSpread(e){for(var r=1;r void"}},primary:{defaultValue:{value:"false"},description:"",name:"primary",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window-buttons.tsx#WindowActionButton"]={docgenInfo:WindowActionButton.__docgenInfo,name:"WindowActionButton",path:"src/components/window/window-buttons.tsx#WindowActionButton"})}catch(__react_docgen_typescript_loader_error){}try{DefaultCloseButton.displayName="DefaultCloseButton",DefaultCloseButton.__docgenInfo={description:"",displayName:"DefaultCloseButton",props:{iconOnly:{defaultValue:{value:"false"},description:"",name:"iconOnly",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!0,type:{name:"() => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window-buttons.tsx#DefaultCloseButton"]={docgenInfo:DefaultCloseButton.__docgenInfo,name:"DefaultCloseButton",path:"src/components/window/window-buttons.tsx#DefaultCloseButton"})}catch(__react_docgen_typescript_loader_error){}const WindowHeader=_ref=>{let{title:title,withCloseButton:withCloseButton,onWindowClose:onWindowClose}=_ref;return(0,jsx_runtime.jsxs)("div",{className:"window__header",children:[(0,jsx_runtime.jsx)("span",{className:"window__header__title",children:title}),withCloseButton&&onWindowClose&&(0,jsx_runtime.jsx)(DefaultCloseButton,{onClick:onWindowClose,iconOnly:!0})]})};WindowHeader.displayName="WindowHeader";var window_header=WindowHeader;try{windowheader.displayName="windowheader",windowheader.__docgenInfo={description:"",displayName:"windowheader",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},withCloseButton:{defaultValue:null,description:"",name:"withCloseButton",required:!1,type:{name:"boolean"}},onWindowClose:{defaultValue:null,description:"",name:"onWindowClose",required:!1,type:{name:"(() => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window-header.tsx#windowheader"]={docgenInfo:windowheader.__docgenInfo,name:"windowheader",path:"src/components/window/window-header.tsx#windowheader"})}catch(__react_docgen_typescript_loader_error){}const WindowFooter=_ref=>{let{withCloseButton:withCloseButton,onWindowClose:onWindowClose,children:children}=_ref;return(0,jsx_runtime.jsxs)("div",{className:"window__footer",children:[children,withCloseButton&&onWindowClose&&(0,jsx_runtime.jsx)(DefaultCloseButton,{onClick:onWindowClose,text:"Close"})]})};WindowFooter.displayName="WindowFooter";var window_footer=WindowFooter;try{windowfooter.displayName="windowfooter",windowfooter.__docgenInfo={description:"",displayName:"windowfooter",props:{withCloseButton:{defaultValue:null,description:"",name:"withCloseButton",required:!1,type:{name:"boolean"}},onWindowClose:{defaultValue:null,description:"",name:"onWindowClose",required:!1,type:{name:"(() => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window-footer.tsx#windowfooter"]={docgenInfo:windowfooter.__docgenInfo,name:"windowfooter",path:"src/components/window/window-footer.tsx#windowfooter"})}catch(__react_docgen_typescript_loader_error){}var injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),components_window=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/window.scss"),window_default=__webpack_require__.n(components_window),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(window_default(),options),window_default()&&window_default().locals&&window_default().locals;const Window=_ref=>{let{width:width="50vw",height:height="50vh",title:title,withHeaderCloseButton:withHeaderCloseButton=!1,withFooterCloseButton:withFooterCloseButton=!1,onWindowOpen:onWindowOpen,onWindowClose:onWindowClose,actionButtons:actionButtons,withShadow:withShadow=!1,className:className,children:children}=_ref;const styles={width:width,minHeight:height,top:`calc((80vh - ${height}) / 2)`,left:`calc((100vw - ${width}) / 2)`},cssClasses=classnames_default()("window",className,{"window--with-shadow":!!withShadow});return null==onWindowOpen||onWindowOpen(),(0,jsx_runtime.jsxs)("div",{className:cssClasses,style:styles,children:[title&&(0,jsx_runtime.jsx)(window_header,{title:title,withCloseButton:withHeaderCloseButton,onWindowClose:onWindowClose}),(0,jsx_runtime.jsx)("div",{className:"window__content",children:children}),(withFooterCloseButton||actionButtons)&&(0,jsx_runtime.jsx)(window_footer,{withCloseButton:withFooterCloseButton,onWindowClose:onWindowClose,children:actionButtons&&actionButtons})]})};Window.displayName="Window";var window_window=Window;try{window.displayName="window",window.__docgenInfo={description:"",displayName:"window",props:{width:{defaultValue:{value:"50vw"},description:"",name:"width",required:!1,type:{name:"string"}},height:{defaultValue:{value:"50vh"},description:"",name:"height",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},withHeaderCloseButton:{defaultValue:{value:"false"},description:"",name:"withHeaderCloseButton",required:!1,type:{name:"boolean"}},withFooterCloseButton:{defaultValue:{value:"false"},description:"",name:"withFooterCloseButton",required:!1,type:{name:"boolean"}},onWindowOpen:{defaultValue:null,description:"",name:"onWindowOpen",required:!1,type:{name:"(() => void)"}},onWindowClose:{defaultValue:null,description:"",name:"onWindowClose",required:!1,type:{name:"(() => void)"}},withShadow:{defaultValue:{value:"false"},description:"",name:"withShadow",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},actionButtons:{defaultValue:null,description:"",name:"actionButtons",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window.tsx#window"]={docgenInfo:window.__docgenInfo,name:"window",path:"src/components/window/window.tsx#window"})}catch(__react_docgen_typescript_loader_error){}},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/modal.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,".modal__content{position:fixed;z-index:1000}.modal__backdrop{position:fixed;width:100%;height:100%;background-color:#00639a;opacity:.7;top:0;left:0;display:none;z-index:999}.modal__backdrop--visible{display:block}.modal__body{overflow:hidden}","",{version:3,sources:["webpack://./src/styles/components/modal.scss","webpack://./colours.json"],names:[],mappings:"AAGE,gBACE,cAAA,CACA,YAAA,CAGF,iBACE,cAAA,CACA,UAAA,CACA,WAAA,CACA,wBCXO,CDYP,UAAA,CACA,KAAA,CACA,MAAA,CACA,YAAA,CACA,WAAA,CAEA,0BACE,aAAA,CAIJ,aACE,eAAA",sourcesContent:["@import '../colours';\n\n.modal {\n &__content {\n position: fixed;\n z-index: 1000;\n }\n\n &__backdrop {\n position: fixed;\n width: 100%;\n height: 100%;\n background-color: $colour-sea-blue;\n opacity: 0.7;\n top: 0;\n left: 0;\n display: none;\n z-index: 999;\n\n &--visible {\n display: block;\n }\n }\n\n &__body {\n overflow: hidden;\n }\n}\n","$sapphire-blue: #014371;\n$sea-blue: #00639a;\n$vivid-cerulean: #00a6d5;\n$medium-turquoise: #46d6fa;\n$gainsborough: #d2dce3;\n$yankees-blue: #161d39;\n$independence: #4e5a71;\n$weldon-blue: #8194a1;\n$pastel-blue: #abc7d6;\n$platinum: #e4e8eb;\n$sky-white: #fbfeff;\n$bronze: #a65708;\n$reviewed: #c39b00;\n$unreviewed: #c0c0c0;\n$uniref: #f2994c;\n$uniparc: #88c19d;\n$proteomes: #e56358;\n$reference-proteome: #9d4a4d;\n$peptide-search: #A748BD;\n$id-mapping: #357B92;\n$blast: #00A6D5;\n$align: #B8CE48;\n$warning: #ffcc33;\n$failure: #f36968;\n$success: #108f3b;\n$info: #79cbf8;\n$help-green: #28aa50;\n$coyote-brown: #966336;\n$outer-space: #374343;\n$tool-results: #622E81;"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/window.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,".window{display:flex;flex-direction:column;border:.1rem solid #161d39}.window--with-shadow{box-shadow:0 .125rem .25rem .3rem rgba(22,29,57,.2)}.window__header{width:100%;height:2rem;color:#fbfeff;background-color:#161d39;font-weight:700;padding:0 .5rem;display:flex;line-height:2rem;justify-content:center;align-items:center}.window__header__title{margin-right:auto}.window__content{width:100%;flex-grow:1;padding:.5rem;background-color:#fbfeff}.window__footer{width:100%;background-color:#fbfeff;display:flex;justify-content:flex-end;padding:.5rem}.window__footer .button{margin-bottom:0;margin-left:.5rem;padding:.5rem 1rem}.window__default-close-button{margin-left:auto}.window__default-close-button--icon-only{width:1rem;height:1rem;background-color:#fbfeff;color:#00639a;cursor:pointer;border-radius:.5rem}","",{version:3,sources:["webpack://./src/styles/components/window.scss","webpack://./src/styles/_mixins.scss","webpack://./colours.json"],names:[],mappings:"AAIA,QACE,YAAA,CACA,qBAAA,CACA,0BAAA,CAEA,qBCSA,mDAAA,CDLA,gBACE,UAAA,CACA,WAAA,CACA,aENQ,CFOR,wBEZW,CFaX,eAAA,CACA,eAAA,CACA,YAAA,CACA,gBAAA,CACA,sBAAA,CACA,kBAAA,CAEA,uBACE,iBAAA,CAIJ,iBACE,UAAA,CACA,WAAA,CACA,aAAA,CACA,wBExBQ,CF2BV,gBACE,UAAA,CACA,wBE7BQ,CF8BR,YAAA,CACA,wBAAA,CACA,aAAA,CAEA,wBACE,eAAA,CACA,iBAAA,CACA,kBAAA,CAIJ,8BACE,gBAAA,CAEA,yCACE,UAAA,CACA,WAAA,CACA,wBE/CM,CFgDN,aEzDK,CF0DL,cAAA,CACA,mBAAA",sourcesContent:["@import '../settings';\n@import '../colours';\n@import '../mixins';\n\n.window {\n display: flex;\n flex-direction: column;\n border: 0.1rem solid $colour-yankees-blue;\n\n &--with-shadow {\n @include box-shadow(0.3rem);\n }\n\n &__header {\n width: 100%;\n height: 2rem;\n color: $colour-sky-white;\n background-color: $colour-yankees-blue;\n font-weight: 700;\n padding: 0 $global-padding * 0.5;\n display: flex;\n line-height: 2rem;\n justify-content: center;\n align-items: center;\n\n &__title {\n margin-right: auto;\n }\n }\n\n &__content {\n width: 100%;\n flex-grow: 1;\n padding: $global-padding * 0.5;\n background-color: $colour-sky-white;\n }\n\n &__footer {\n width: 100%;\n background-color: $colour-sky-white;\n display: flex;\n justify-content: flex-end;\n padding: $global-padding * 0.5;\n\n .button {\n margin-bottom: 0;\n margin-left: $global-padding * 0.5;\n padding: 0.5rem 1rem;\n }\n }\n\n &__default-close-button {\n margin-left: auto;\n\n &--icon-only {\n width: 1rem;\n height: 1rem;\n background-color: $colour-sky-white;\n color: $colour-sea-blue;\n cursor: pointer;\n border-radius: 0.5rem;\n }\n }\n}\n","@use 'sass:math';\n\n@import './settings';\n@import './colours';\n@import './franklin-settings';\n\n@mixin columns($base-class, $number) {\n .#{$base-class}--columns {\n column-count: $number;\n column-width: percentage(math.div(1, $number));\n\n & > * {\n break-inside: avoid;\n }\n }\n}\n\n@mixin box-shadow($spread: 0.125rem) {\n box-shadow: 0 0.125rem 0.25rem $spread rgba($colour-yankees-blue, 0.2);\n}\n\n@mixin fs-breakpoints($size) {\n @if map-has-key($fs-breakpoint-values, $size) {\n @media #{inspect(map-get($fs-breakpoint-values, $size))} {\n @content;\n }\n }\n}\n\n@mixin ellipsis() {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n","$sapphire-blue: #014371;\n$sea-blue: #00639a;\n$vivid-cerulean: #00a6d5;\n$medium-turquoise: #46d6fa;\n$gainsborough: #d2dce3;\n$yankees-blue: #161d39;\n$independence: #4e5a71;\n$weldon-blue: #8194a1;\n$pastel-blue: #abc7d6;\n$platinum: #e4e8eb;\n$sky-white: #fbfeff;\n$bronze: #a65708;\n$reviewed: #c39b00;\n$unreviewed: #c0c0c0;\n$uniref: #f2994c;\n$uniparc: #88c19d;\n$proteomes: #e56358;\n$reference-proteome: #9d4a4d;\n$peptide-search: #A748BD;\n$id-mapping: #357B92;\n$blast: #00A6D5;\n$align: #B8CE48;\n$warning: #ffcc33;\n$failure: #f36968;\n$success: #108f3b;\n$info: #79cbf8;\n$help-green: #28aa50;\n$coyote-brown: #966336;\n$outer-space: #374343;\n$tool-results: #622E81;"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___}}]); \ No newline at end of file diff --git a/Modal-stories.0130eb17.iframe.bundle.js.br b/Modal-stories.0130eb17.iframe.bundle.js.br new file mode 100644 index 00000000..c4ebf12d Binary files /dev/null and b/Modal-stories.0130eb17.iframe.bundle.js.br differ diff --git a/Modal-stories.0130eb17.iframe.bundle.js.gz b/Modal-stories.0130eb17.iframe.bundle.js.gz new file mode 100644 index 00000000..82d67180 Binary files /dev/null and b/Modal-stories.0130eb17.iframe.bundle.js.gz differ diff --git a/Modal-stories.1821397e.iframe.bundle.js b/Modal-stories.1821397e.iframe.bundle.js deleted file mode 100644 index 51fc5ae2..00000000 --- a/Modal-stories.1821397e.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[4258],{"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:i+""}function _defineProperty(obj,key,value){return(key=toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.d(__webpack_exports__,{A:function(){return _defineProperty}})},"./stories/Modal.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Modal:function(){return Modal},__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return Modal_stories}});var dist=__webpack_require__("./node_modules/lorem-ipsum/dist/index.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const _excluded=["className","handleExitModal","onWindowOpen"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}const ModalBackdrop=_ref=>{let{className:className,handleExitModal:handleExitModal,onWindowOpen:onWindowOpen}=_ref,props=(0,objectWithoutProperties.A)(_ref,_excluded);const bodyTag=document.body;return bodyTag.classList.add("modal__body"),(0,react.useEffect)((()=>()=>bodyTag.classList.remove("modal__body"))),(0,jsx_runtime.jsx)("div",function _objectSpread(e){for(var r=1;r void"}},onWindowOpen:{defaultValue:null,description:"",name:"onWindowOpen",required:!0,type:{name:"() => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/modal-backdrop.tsx#modalbackdrop"]={docgenInfo:modalbackdrop.__docgenInfo,name:"modalbackdrop",path:"src/components/modal-backdrop.tsx#modalbackdrop"})}catch(__react_docgen_typescript_loader_error){}var window_window=__webpack_require__("./src/components/window/window.tsx"),injectStylesIntoStyleTag=(__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js")),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),modal=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/modal.scss"),modal_default=__webpack_require__.n(modal),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(modal_default(),options),modal_default()&&modal_default().locals&&modal_default().locals;const modal_excluded=["children","title","width","height","handleExitModal","withHeaderCloseButton","withFooterCloseButton"];function modal_ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function modal_objectSpread(e){for(var r=1;r{let{title:title,width:width,height:height,className:className,handleExitModal:handleExitModal,onWindowOpen:onWindowOpen,withHeaderCloseButton:withHeaderCloseButton,withFooterCloseButton:withFooterCloseButton,children:children}=_ref;return(0,jsx_runtime.jsx)(window_window.A,{width:width,height:height,title:title,withHeaderCloseButton:withHeaderCloseButton,withFooterCloseButton:withFooterCloseButton,onWindowOpen:onWindowOpen,onWindowClose:handleExitModal,withShadow:!0,className:className,children:children})};DialogWindow.displayName="DialogWindow";const ButtonModal=_ref2=>{let{buttonText:buttonText,title:title,width:width="70vw",height:height="70vh",withHeaderCloseButton:withHeaderCloseButton,withFooterCloseButton:withFooterCloseButton=!0,children:children}=_ref2;const{displayModal:displayModal,setDisplayModal:setDisplayModal,Modal:Modal}=function useModal(Backdrop,Content){const[displayModal,setDisplayModal]=(0,react.useState)(!1);return{displayModal:displayModal,setDisplayModal:setDisplayModal,Modal:_ref=>{let{children:children,title:title,width:width="50vw",height:height="50vh",handleExitModal:handleExitModal,withHeaderCloseButton:withHeaderCloseButton,withFooterCloseButton:withFooterCloseButton}=_ref,rest=(0,objectWithoutProperties.A)(_ref,modal_excluded);return(0,jsx_runtime.jsxs)("div",{className:"modal",children:[(0,jsx_runtime.jsx)(Backdrop,modal_objectSpread({className:"modal__backdrop--visible",handleExitModal:handleExitModal},rest)),(0,jsx_runtime.jsx)(Content,modal_objectSpread(modal_objectSpread({className:"modal__content",title:title,width:width,height:height,handleExitModal:handleExitModal,withHeaderCloseButton:withHeaderCloseButton,withFooterCloseButton:withFooterCloseButton},rest),{},{children:children}))]})}}}(modal_backdrop,DialogWindow);return(0,jsx_runtime.jsxs)("div",{children:[(0,jsx_runtime.jsx)("button",{onClick:()=>setDisplayModal(!0),className:"button",type:"button",children:buttonText}),displayModal&&(0,jsx_runtime.jsx)(Modal,{handleExitModal:()=>setDisplayModal(!1),title:title,width:width,height:height,withHeaderCloseButton:withHeaderCloseButton,withFooterCloseButton:withFooterCloseButton,children:children})]})};ButtonModal.displayName="ButtonModal";var button_modal=ButtonModal;try{buttonmodal.displayName="buttonmodal",buttonmodal.__docgenInfo={description:"",displayName:"buttonmodal",props:{buttonText:{defaultValue:null,description:"The button label",name:"buttonText",required:!0,type:{name:"string"}},title:{defaultValue:null,description:"The modal title",name:"title",required:!0,type:{name:"string"}},width:{defaultValue:{value:"70vw"},description:"The width of the modal window",name:"width",required:!1,type:{name:"string"}},height:{defaultValue:{value:"70vh"},description:"The height of the modal window",name:"height",required:!1,type:{name:"string"}},withHeaderCloseButton:{defaultValue:null,description:"Display the close icon in the header",name:"withHeaderCloseButton",required:!1,type:{name:"boolean"}},withFooterCloseButton:{defaultValue:{value:"true"},description:"Display the close button in the footer",name:"withFooterCloseButton",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/button-modal.tsx#buttonmodal"]={docgenInfo:buttonmodal.__docgenInfo,name:"buttonmodal",path:"src/components/button-modal.tsx#buttonmodal"})}catch(__react_docgen_typescript_loader_error){}var Modal_stories={title:"Layout/Modal"};const Modal=()=>(0,jsx_runtime.jsx)(button_modal,{buttonText:"click me",title:"Example modal window",children:(0,dist.Ok)({count:45})});Modal.displayName="Modal",Modal.parameters={...Modal.parameters,docs:{...Modal.parameters?.docs,source:{originalSource:'() => \n {loremIpsum({\n count: 45\n })}\n ',...Modal.parameters?.docs?.source}}};const __namedExportsOrder=["Modal"]},"./src/svg/times.svg":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _path,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i{let{icon:icon,text:text,onClick:onClick,primary:primary=!1,className:className}=_ref;const iconOnly=icon&&!text;return(0,jsx_runtime.jsxs)("button",{className:classnames_default()("window__action-button",className,{"window__action-button--icon-only":!!iconOnly,button:!iconOnly,secondary:!iconOnly&&!primary}),onClick:onClick,type:"button",children:[icon&&icon,text&&text]})};WindowActionButton.displayName="WindowActionButton";const DefaultCloseButton=_ref2=>{let{iconOnly:iconOnly=!1,text:text,onClick:onClick}=_ref2,otherProps=(0,objectWithoutProperties.A)(_ref2,_excluded);const iconOnlyClass="window__default-close-button--icon-only";return(0,jsx_runtime.jsx)(WindowActionButton,function _objectSpread(e){for(var r=1;r void"}},primary:{defaultValue:{value:"false"},description:"",name:"primary",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window-buttons.tsx#WindowActionButton"]={docgenInfo:WindowActionButton.__docgenInfo,name:"WindowActionButton",path:"src/components/window/window-buttons.tsx#WindowActionButton"})}catch(__react_docgen_typescript_loader_error){}try{DefaultCloseButton.displayName="DefaultCloseButton",DefaultCloseButton.__docgenInfo={description:"",displayName:"DefaultCloseButton",props:{iconOnly:{defaultValue:{value:"false"},description:"",name:"iconOnly",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!0,type:{name:"() => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window-buttons.tsx#DefaultCloseButton"]={docgenInfo:DefaultCloseButton.__docgenInfo,name:"DefaultCloseButton",path:"src/components/window/window-buttons.tsx#DefaultCloseButton"})}catch(__react_docgen_typescript_loader_error){}const WindowHeader=_ref=>{let{title:title,withCloseButton:withCloseButton,onWindowClose:onWindowClose}=_ref;return(0,jsx_runtime.jsxs)("div",{className:"window__header",children:[(0,jsx_runtime.jsx)("span",{className:"window__header__title",children:title}),withCloseButton&&onWindowClose&&(0,jsx_runtime.jsx)(DefaultCloseButton,{onClick:onWindowClose,iconOnly:!0})]})};WindowHeader.displayName="WindowHeader";var window_header=WindowHeader;try{windowheader.displayName="windowheader",windowheader.__docgenInfo={description:"",displayName:"windowheader",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},withCloseButton:{defaultValue:null,description:"",name:"withCloseButton",required:!1,type:{name:"boolean"}},onWindowClose:{defaultValue:null,description:"",name:"onWindowClose",required:!1,type:{name:"(() => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window-header.tsx#windowheader"]={docgenInfo:windowheader.__docgenInfo,name:"windowheader",path:"src/components/window/window-header.tsx#windowheader"})}catch(__react_docgen_typescript_loader_error){}const WindowFooter=_ref=>{let{withCloseButton:withCloseButton,onWindowClose:onWindowClose,children:children}=_ref;return(0,jsx_runtime.jsxs)("div",{className:"window__footer",children:[children,withCloseButton&&onWindowClose&&(0,jsx_runtime.jsx)(DefaultCloseButton,{onClick:onWindowClose,text:"Close"})]})};WindowFooter.displayName="WindowFooter";var window_footer=WindowFooter;try{windowfooter.displayName="windowfooter",windowfooter.__docgenInfo={description:"",displayName:"windowfooter",props:{withCloseButton:{defaultValue:null,description:"",name:"withCloseButton",required:!1,type:{name:"boolean"}},onWindowClose:{defaultValue:null,description:"",name:"onWindowClose",required:!1,type:{name:"(() => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window-footer.tsx#windowfooter"]={docgenInfo:windowfooter.__docgenInfo,name:"windowfooter",path:"src/components/window/window-footer.tsx#windowfooter"})}catch(__react_docgen_typescript_loader_error){}var injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),components_window=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/window.scss"),window_default=__webpack_require__.n(components_window),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(window_default(),options),window_default()&&window_default().locals&&window_default().locals;const Window=_ref=>{let{width:width="50vw",height:height="50vh",title:title,withHeaderCloseButton:withHeaderCloseButton=!1,withFooterCloseButton:withFooterCloseButton=!1,onWindowOpen:onWindowOpen,onWindowClose:onWindowClose,actionButtons:actionButtons,withShadow:withShadow=!1,className:className,children:children}=_ref;const styles={width:width,minHeight:height,top:`calc((80vh - ${height}) / 2)`,left:`calc((100vw - ${width}) / 2)`},cssClasses=classnames_default()("window",className,{"window--with-shadow":!!withShadow});return null==onWindowOpen||onWindowOpen(),(0,jsx_runtime.jsxs)("div",{className:cssClasses,style:styles,children:[title&&(0,jsx_runtime.jsx)(window_header,{title:title,withCloseButton:withHeaderCloseButton,onWindowClose:onWindowClose}),(0,jsx_runtime.jsx)("div",{className:"window__content",children:children}),(withFooterCloseButton||actionButtons)&&(0,jsx_runtime.jsx)(window_footer,{withCloseButton:withFooterCloseButton,onWindowClose:onWindowClose,children:actionButtons&&actionButtons})]})};Window.displayName="Window";var window_window=Window;try{window.displayName="window",window.__docgenInfo={description:"",displayName:"window",props:{width:{defaultValue:{value:"50vw"},description:"",name:"width",required:!1,type:{name:"string"}},height:{defaultValue:{value:"50vh"},description:"",name:"height",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},withHeaderCloseButton:{defaultValue:{value:"false"},description:"",name:"withHeaderCloseButton",required:!1,type:{name:"boolean"}},withFooterCloseButton:{defaultValue:{value:"false"},description:"",name:"withFooterCloseButton",required:!1,type:{name:"boolean"}},onWindowOpen:{defaultValue:null,description:"",name:"onWindowOpen",required:!1,type:{name:"(() => void)"}},onWindowClose:{defaultValue:null,description:"",name:"onWindowClose",required:!1,type:{name:"(() => void)"}},withShadow:{defaultValue:{value:"false"},description:"",name:"withShadow",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},actionButtons:{defaultValue:null,description:"",name:"actionButtons",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window.tsx#window"]={docgenInfo:window.__docgenInfo,name:"window",path:"src/components/window/window.tsx#window"})}catch(__react_docgen_typescript_loader_error){}},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/modal.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,".modal__content{position:fixed;z-index:1000}.modal__backdrop{position:fixed;width:100%;height:100%;background-color:#00639a;opacity:.7;top:0;left:0;display:none;z-index:999}.modal__backdrop--visible{display:block}.modal__body{overflow:hidden}","",{version:3,sources:["webpack://./src/styles/components/modal.scss","webpack://./colours.json"],names:[],mappings:"AAGE,gBACE,cAAA,CACA,YAAA,CAGF,iBACE,cAAA,CACA,UAAA,CACA,WAAA,CACA,wBCXO,CDYP,UAAA,CACA,KAAA,CACA,MAAA,CACA,YAAA,CACA,WAAA,CAEA,0BACE,aAAA,CAIJ,aACE,eAAA",sourcesContent:["@import '../colours';\n\n.modal {\n &__content {\n position: fixed;\n z-index: 1000;\n }\n\n &__backdrop {\n position: fixed;\n width: 100%;\n height: 100%;\n background-color: $colour-sea-blue;\n opacity: 0.7;\n top: 0;\n left: 0;\n display: none;\n z-index: 999;\n\n &--visible {\n display: block;\n }\n }\n\n &__body {\n overflow: hidden;\n }\n}\n","$sapphire-blue: #014371;\n$sea-blue: #00639a;\n$vivid-cerulean: #00a6d5;\n$medium-turquoise: #46d6fa;\n$gainsborough: #d2dce3;\n$yankees-blue: #161d39;\n$independence: #4e5a71;\n$weldon-blue: #8194a1;\n$pastel-blue: #abc7d6;\n$platinum: #e4e8eb;\n$sky-white: #fbfeff;\n$bronze: #a65708;\n$reviewed: #c39b00;\n$unreviewed: #c0c0c0;\n$uniref: #f2994c;\n$uniparc: #88c19d;\n$proteomes: #e56358;\n$reference-proteome: #9d4a4d;\n$peptide-search: #A748BD;\n$id-mapping: #357B92;\n$blast: #00A6D5;\n$align: #B8CE48;\n$warning: #ffcc33;\n$failure: #f36968;\n$success: #108f3b;\n$info: #79cbf8;\n$help-green: #28aa50;\n$coyote-brown: #966336;\n$outer-space: #374343;\n$tool-results: #622E81;"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/window.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,".window{display:flex;flex-direction:column;border:.1rem solid #161d39}.window--with-shadow{box-shadow:0 .125rem .25rem .3rem rgba(22,29,57,.2)}.window__header{width:100%;height:2rem;color:#fbfeff;background-color:#161d39;font-weight:700;padding:0 .5rem;display:flex;line-height:2rem;justify-content:center;align-items:center}.window__header__title{margin-right:auto}.window__content{width:100%;flex-grow:1;padding:.5rem;background-color:#fbfeff}.window__footer{width:100%;background-color:#fbfeff;display:flex;justify-content:flex-end;padding:.5rem}.window__footer .button{margin-bottom:0;margin-left:.5rem;padding:.5rem 1rem}.window__default-close-button{margin-left:auto}.window__default-close-button--icon-only{width:1rem;height:1rem;background-color:#fbfeff;color:#00639a;cursor:pointer;border-radius:.5rem}","",{version:3,sources:["webpack://./src/styles/components/window.scss","webpack://./src/styles/_mixins.scss","webpack://./colours.json"],names:[],mappings:"AAIA,QACE,YAAA,CACA,qBAAA,CACA,0BAAA,CAEA,qBCSA,mDAAA,CDLA,gBACE,UAAA,CACA,WAAA,CACA,aENQ,CFOR,wBEZW,CFaX,eAAA,CACA,eAAA,CACA,YAAA,CACA,gBAAA,CACA,sBAAA,CACA,kBAAA,CAEA,uBACE,iBAAA,CAIJ,iBACE,UAAA,CACA,WAAA,CACA,aAAA,CACA,wBExBQ,CF2BV,gBACE,UAAA,CACA,wBE7BQ,CF8BR,YAAA,CACA,wBAAA,CACA,aAAA,CAEA,wBACE,eAAA,CACA,iBAAA,CACA,kBAAA,CAIJ,8BACE,gBAAA,CAEA,yCACE,UAAA,CACA,WAAA,CACA,wBE/CM,CFgDN,aEzDK,CF0DL,cAAA,CACA,mBAAA",sourcesContent:["@import '../settings';\n@import '../colours';\n@import '../mixins';\n\n.window {\n display: flex;\n flex-direction: column;\n border: 0.1rem solid $colour-yankees-blue;\n\n &--with-shadow {\n @include box-shadow(0.3rem);\n }\n\n &__header {\n width: 100%;\n height: 2rem;\n color: $colour-sky-white;\n background-color: $colour-yankees-blue;\n font-weight: 700;\n padding: 0 $global-padding * 0.5;\n display: flex;\n line-height: 2rem;\n justify-content: center;\n align-items: center;\n\n &__title {\n margin-right: auto;\n }\n }\n\n &__content {\n width: 100%;\n flex-grow: 1;\n padding: $global-padding * 0.5;\n background-color: $colour-sky-white;\n }\n\n &__footer {\n width: 100%;\n background-color: $colour-sky-white;\n display: flex;\n justify-content: flex-end;\n padding: $global-padding * 0.5;\n\n .button {\n margin-bottom: 0;\n margin-left: $global-padding * 0.5;\n padding: 0.5rem 1rem;\n }\n }\n\n &__default-close-button {\n margin-left: auto;\n\n &--icon-only {\n width: 1rem;\n height: 1rem;\n background-color: $colour-sky-white;\n color: $colour-sea-blue;\n cursor: pointer;\n border-radius: 0.5rem;\n }\n }\n}\n","@use 'sass:math';\n\n@import './settings';\n@import './colours';\n@import './franklin-settings';\n\n@mixin columns($base-class, $number) {\n .#{$base-class}--columns {\n column-count: $number;\n column-width: percentage(math.div(1, $number));\n\n & > * {\n break-inside: avoid;\n }\n }\n}\n\n@mixin box-shadow($spread: 0.125rem) {\n box-shadow: 0 0.125rem 0.25rem $spread rgba($colour-yankees-blue, 0.2);\n}\n\n@mixin fs-breakpoints($size) {\n @if map-has-key($fs-breakpoint-values, $size) {\n @media #{inspect(map-get($fs-breakpoint-values, $size))} {\n @content;\n }\n }\n}\n\n@mixin ellipsis() {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n","$sapphire-blue: #014371;\n$sea-blue: #00639a;\n$vivid-cerulean: #00a6d5;\n$medium-turquoise: #46d6fa;\n$gainsborough: #d2dce3;\n$yankees-blue: #161d39;\n$independence: #4e5a71;\n$weldon-blue: #8194a1;\n$pastel-blue: #abc7d6;\n$platinum: #e4e8eb;\n$sky-white: #fbfeff;\n$bronze: #a65708;\n$reviewed: #c39b00;\n$unreviewed: #c0c0c0;\n$uniref: #f2994c;\n$uniparc: #88c19d;\n$proteomes: #e56358;\n$reference-proteome: #9d4a4d;\n$peptide-search: #A748BD;\n$id-mapping: #357B92;\n$blast: #00A6D5;\n$align: #B8CE48;\n$warning: #ffcc33;\n$failure: #f36968;\n$success: #108f3b;\n$info: #79cbf8;\n$help-green: #28aa50;\n$coyote-brown: #966336;\n$outer-space: #374343;\n$tool-results: #622E81;"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___}}]); \ No newline at end of file diff --git a/Modal-stories.1821397e.iframe.bundle.js.br b/Modal-stories.1821397e.iframe.bundle.js.br deleted file mode 100644 index a1180376..00000000 Binary files a/Modal-stories.1821397e.iframe.bundle.js.br and /dev/null differ diff --git a/Modal-stories.1821397e.iframe.bundle.js.gz b/Modal-stories.1821397e.iframe.bundle.js.gz deleted file mode 100644 index dc414f0a..00000000 Binary files a/Modal-stories.1821397e.iframe.bundle.js.gz and /dev/null differ diff --git a/PageIntro-stories.4f192bec.iframe.bundle.js b/PageIntro-stories.4f192bec.iframe.bundle.js new file mode 100644 index 00000000..b8bd3002 --- /dev/null +++ b/PageIntro-stories.4f192bec.iframe.bundle.js @@ -0,0 +1 @@ +(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[8368],{"./stories/PageIntro.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Message:function(){return Message},__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return PageIntro_stories}});var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),utils=__webpack_require__("./src/utils.tsx"),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),page_intro=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/page-intro.scss"),page_intro_default=__webpack_require__.n(page_intro),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(page_intro_default(),options),page_intro_default()&&page_intro_default().locals&&page_intro_default().locals;var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const _excluded=["title","resultsCount","titlePostscript","headingLevel","titleClassName","children","className"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r{let{title:title,resultsCount:resultsCount,titlePostscript:titlePostscript,headingLevel:headingLevel="h1",titleClassName:titleClassName,children:children,className:className}=_ref,props=(0,objectWithoutProperties.A)(_ref,_excluded);return(0,jsx_runtime.jsxs)("div",_objectSpread(_objectSpread({className:classnames_default()(className,"page-intro")},props),{},{children:[(0,react.createElement)(headingLevel,{className:classnames_default()(titleClassName)},(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[title,void 0!==resultsCount&&(0,jsx_runtime.jsxs)("small",{children:[" ",(0,utils.sz)(resultsCount)," result",1===resultsCount?"":"s"," "]}),titlePostscript]})),children]}))};PageIntro.displayName="PageIntro";var src_components_page_intro=PageIntro;try{pageintro.displayName="pageintro",pageintro.__docgenInfo={description:"",displayName:"pageintro",props:{title:{defaultValue:null,description:"The title",name:"title",required:!0,type:{name:"ReactNode"}},headingLevel:{defaultValue:{value:"h1"},description:"The tile title heading level",name:"headingLevel",required:!1,type:{name:"enum",value:[{value:'"h1"'},{value:'"h2"'},{value:'"h3"'},{value:'"h4"'},{value:'"h5"'},{value:'"h6"'}]}},titleClassName:{defaultValue:null,description:"CSS classes to pass to the component title",name:"titleClassName",required:!1,type:{name:"string"}},titlePostscript:{defaultValue:null,description:"Optional title postscript to follow resultsCount",name:"titlePostscript",required:!1,type:{name:"ReactNode"}},resultsCount:{defaultValue:null,description:"Number of results",name:"resultsCount",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/page-intro.tsx#pageintro"]={docgenInfo:pageintro.__docgenInfo,name:"pageintro",path:"src/components/page-intro.tsx#pageintro"})}catch(__react_docgen_typescript_loader_error){}var lipsum=__webpack_require__("./src/mock-data/lipsum.tsx");var PageIntro_stories={title:"Layout/Page Intro",args:{titlePostscript:""},render:_ref=>{let{titlePostscript:titlePostscript}=_ref;return(0,jsx_runtime.jsx)(src_components_page_intro,{title:"UniProt",resultsCount:1e3,titlePostscript:titlePostscript,children:(0,lipsum.FZ)()})}};const Message={};Message.parameters={...Message.parameters,docs:{...Message.parameters?.docs,source:{originalSource:"{}",...Message.parameters?.docs?.source}}};const __namedExportsOrder=["Message"]},"./src/mock-data/lipsum.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{FZ:function(){return getLipsumSentences},Td:function(){return getLipsumObjectArray}});__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.object.from-entries.js");var lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/lorem-ipsum/dist/index.js"),uuid__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/uuid/dist/esm-browser/v1.js");const getLipsumSentences=()=>(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__.Ok)({sentenceLowerBound:2,sentenceUpperBound:30}),getLipsumObjectArray=_ref=>{let{numberElements:numberElements,keys:keys,idKey:idKey="id",type:type="sentences"}=_ref;return Array.from({length:numberElements},(()=>Object.fromEntries([[[idKey],(0,uuid__WEBPACK_IMPORTED_MODULE_3__.A)()],...keys.map((key=>[key,"sentences"===type?getLipsumSentences():(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__.Ok)({count:2,units:"words"})]))])))};try{getLipsumObjectArray.displayName="getLipsumObjectArray",getLipsumObjectArray.__docgenInfo={description:"",displayName:"getLipsumObjectArray",props:{numberElements:{defaultValue:null,description:"",name:"numberElements",required:!0,type:{name:"number"}},keys:{defaultValue:null,description:"",name:"keys",required:!0,type:{name:"string[]"}},idKey:{defaultValue:{value:"id"},description:"",name:"idKey",required:!1,type:{name:"string"}},type:{defaultValue:{value:"sentences"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"sentences"'},{value:'"words"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/mock-data/lipsum.tsx#getLipsumObjectArray"]={docgenInfo:getLipsumObjectArray.__docgenInfo,name:"getLipsumObjectArray",path:"src/mock-data/lipsum.tsx#getLipsumObjectArray"})}catch(__react_docgen_typescript_loader_error){}try{lipsum.displayName="lipsum",lipsum.__docgenInfo={description:"",displayName:"lipsum",props:{numberElements:{defaultValue:null,description:"",name:"numberElements",required:!0,type:{name:"number"}},keys:{defaultValue:null,description:"",name:"keys",required:!0,type:{name:"string[]"}},idKey:{defaultValue:{value:"id"},description:"",name:"idKey",required:!1,type:{name:"string"}},type:{defaultValue:{value:"sentences"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"sentences"'},{value:'"words"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/mock-data/lipsum.tsx#lipsum"]={docgenInfo:lipsum.__docgenInfo,name:"lipsum",path:"src/mock-data/lipsum.tsx#lipsum"})}catch(__react_docgen_typescript_loader_error){}},"./src/utils.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Lx:function(){return getLastIndexOfSubstringIgnoreCase},PR:function(){return getNodePaths},_w:function(){return getSingleChildren},f4:function(){return prepareTreeDataForAutocomplete},hb:function(){return tidyUrlString},sz:function(){return formatLargeNumber},w1:function(){return formatBytesNumber}});var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.flat-map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.unscopables.flat-map.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.number.to-fixed.js"),__webpack_require__("./node_modules/core-js/modules/es.parse-float.js");const _excluded=["items"];function getLastIndexOfSubstringIgnoreCase(string,substring){return string.toLowerCase().lastIndexOf(substring.toLowerCase())}const getNodePaths=function getNodePaths(items,id){let path=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],nodePaths=[];return items.forEach((node=>{const{items:items}=node,thisNode=(0,_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_10__.A)(node,_excluded),nodePath=[...path,thisNode];if(items){const result=getNodePaths(items,id,nodePath);result.length&&(nodePaths=[...nodePaths,...result])}else id&&thisNode.id!==id||(nodePaths=[...nodePaths,nodePath])})),nodePaths};function prepareTreeDataForAutocomplete(flattenedTreeData){return flattenedTreeData.map((items=>{const autocompleteItem={id:items[items.length-1].id,pathLabel:items.map((item=>item.label)).join(" / "),itemLabel:items[items.length-1].label},tags=items.flatMap((item=>item.tags||[]));return tags.length&&(autocompleteItem.tags=tags),autocompleteItem}))}function*getSingleChildren(children){1===children.length&&(yield children[0].id);for(const child of children)child.items&&(yield*getSingleChildren(child.items))}function formatLargeNumber(x){const string=x.toString();if(string.includes("e"))return string;const[integer,decimal]=x.toString().split(".");return[integer.replace(/\B(?=(\d{3})+(?!\d))/g,","),decimal].filter((el=>void 0!==el)).join(".")}function formatBytesNumber(bytes){let decimals=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const bytesNumber=+bytes;if(!bytesNumber)return"0 Bytes";const positiveDecimals=decimals<0?0:decimals,units=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],unitsIndex=Math.min(Math.floor(Math.log(bytesNumber)/Math.log(1024)),units.length-1),number=(bytesNumber/1024**unitsIndex).toFixed(positiveDecimals),unit=units[unitsIndex];return`${formatLargeNumber(parseFloat(number))} ${unit}`}const reProtocol=/^(https?:)?(\/\/)?/,reTrailingSlashes=/(\/+$)/,tidyUrlString=url=>url.replace(reProtocol,"").replace(reTrailingSlashes,"");try{prepareTreeDataForAutocomplete.displayName="prepareTreeDataForAutocomplete",prepareTreeDataForAutocomplete.__docgenInfo={description:"",displayName:"prepareTreeDataForAutocomplete",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/utils.tsx#prepareTreeDataForAutocomplete"]={docgenInfo:prepareTreeDataForAutocomplete.__docgenInfo,name:"prepareTreeDataForAutocomplete",path:"src/utils.tsx#prepareTreeDataForAutocomplete"})}catch(__react_docgen_typescript_loader_error){}try{getSingleChildren.displayName="getSingleChildren",getSingleChildren.__docgenInfo={description:"",displayName:"getSingleChildren",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/utils.tsx#getSingleChildren"]={docgenInfo:getSingleChildren.__docgenInfo,name:"getSingleChildren",path:"src/utils.tsx#getSingleChildren"})}catch(__react_docgen_typescript_loader_error){}try{formatLargeNumber.displayName="formatLargeNumber",formatLargeNumber.__docgenInfo={description:"",displayName:"formatLargeNumber",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/utils.tsx#formatLargeNumber"]={docgenInfo:formatLargeNumber.__docgenInfo,name:"formatLargeNumber",path:"src/utils.tsx#formatLargeNumber"})}catch(__react_docgen_typescript_loader_error){}try{tidyUrlString.displayName="tidyUrlString",tidyUrlString.__docgenInfo={description:"",displayName:"tidyUrlString",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/utils.tsx#tidyUrlString"]={docgenInfo:tidyUrlString.__docgenInfo,name:"tidyUrlString",path:"src/utils.tsx#tidyUrlString"})}catch(__react_docgen_typescript_loader_error){}},"./node_modules/core-js/internals/array-species-constructor.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var isArray=__webpack_require__("./node_modules/core-js/internals/is-array.js"),isConstructor=__webpack_require__("./node_modules/core-js/internals/is-constructor.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),SPECIES=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("species"),$Array=Array;module.exports=function(originalArray){var C;return isArray(originalArray)&&(C=originalArray.constructor,(isConstructor(C)&&(C===$Array||isArray(C.prototype))||isObject(C)&&null===(C=C[SPECIES]))&&(C=void 0)),void 0===C?$Array:C}},"./node_modules/core-js/internals/array-species-create.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var arraySpeciesConstructor=__webpack_require__("./node_modules/core-js/internals/array-species-constructor.js");module.exports=function(originalArray,length){return new(arraySpeciesConstructor(originalArray))(0===length?0:length)}},"./node_modules/core-js/internals/create-property.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var toPropertyKey=__webpack_require__("./node_modules/core-js/internals/to-property-key.js"),definePropertyModule=__webpack_require__("./node_modules/core-js/internals/object-define-property.js"),createPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/create-property-descriptor.js");module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}},"./node_modules/core-js/internals/does-not-exceed-safe-integer.js":function(module){"use strict";var $TypeError=TypeError;module.exports=function(it){if(it>9007199254740991)throw $TypeError("Maximum allowed index exceeded");return it}},"./node_modules/core-js/internals/flatten-into-array.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var isArray=__webpack_require__("./node_modules/core-js/internals/is-array.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),doesNotExceedSafeInteger=__webpack_require__("./node_modules/core-js/internals/does-not-exceed-safe-integer.js"),bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),flattenIntoArray=function(target,original,source,sourceLen,start,depth,mapper,thisArg){for(var element,elementLen,targetIndex=start,sourceIndex=0,mapFn=!!mapper&&bind(mapper,thisArg);sourceIndex0&&isArray(element)?(elementLen=lengthOfArrayLike(element),targetIndex=flattenIntoArray(target,original,element,elementLen,targetIndex,depth-1)-1):(doesNotExceedSafeInteger(targetIndex+1),target[targetIndex]=element),targetIndex++),sourceIndex++;return targetIndex};module.exports=flattenIntoArray},"./node_modules/core-js/internals/function-bind-context.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this-clause.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),NATIVE_BIND=__webpack_require__("./node_modules/core-js/internals/function-bind-native.js"),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),void 0===that?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}},"./node_modules/core-js/internals/function-uncurry-this-clause.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=function(fn){if("Function"===classofRaw(fn))return uncurryThis(fn)}},"./node_modules/core-js/internals/get-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js"),isNullOrUndefined=__webpack_require__("./node_modules/core-js/internals/is-null-or-undefined.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}},"./node_modules/core-js/internals/get-iterator.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}},"./node_modules/core-js/internals/is-array.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var classof=__webpack_require__("./node_modules/core-js/internals/classof-raw.js");module.exports=Array.isArray||function isArray(argument){return"Array"===classof(argument)}},"./node_modules/core-js/internals/iterate.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),isArrayIteratorMethod=__webpack_require__("./node_modules/core-js/internals/is-array-iterator-method.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),getIterator=__webpack_require__("./node_modules/core-js/internals/get-iterator.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),iteratorClose=__webpack_require__("./node_modules/core-js/internals/iterator-close.js"),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var iterator,iterFn,index,length,result,next,step,that=options&&options.that,AS_ENTRIES=!(!options||!options.AS_ENTRIES),IS_RECORD=!(!options||!options.IS_RECORD),IS_ITERATOR=!(!options||!options.IS_ITERATOR),INTERRUPTED=!(!options||!options.INTERRUPTED),fn=bind(unboundFunction,that),stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(!(iterFn=getIteratorMethod(iterable)))throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if((result=callFn(iterable[index]))&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if("object"==typeof result&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}},"./node_modules/core-js/internals/iterator-close.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js");module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(!(innerResult=getMethod(iterator,"return"))){if("throw"===kind)throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if("throw"===kind)throw value;if(innerError)throw innerResult;return anObject(innerResult),value}},"./node_modules/core-js/internals/number-parse-float.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var global=__webpack_require__("./node_modules/core-js/internals/global.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),trim=__webpack_require__("./node_modules/core-js/internals/string-trim.js").trim,whitespaces=__webpack_require__("./node_modules/core-js/internals/whitespaces.js"),charAt=uncurryThis("".charAt),$parseFloat=global.parseFloat,Symbol=global.Symbol,ITERATOR=Symbol&&Symbol.iterator,FORCED=1/$parseFloat(whitespaces+"-0")!=-1/0||ITERATOR&&!fails((function(){$parseFloat(Object(ITERATOR))}));module.exports=FORCED?function parseFloat(string){var trimmedString=trim(toString(string)),result=$parseFloat(trimmedString);return 0===result&&"-"===charAt(trimmedString,0)?-0:result}:$parseFloat},"./node_modules/core-js/internals/string-repeat.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var toIntegerOrInfinity=__webpack_require__("./node_modules/core-js/internals/to-integer-or-infinity.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),$RangeError=RangeError;module.exports=function repeat(count){var str=toString(requireObjectCoercible(this)),result="",n=toIntegerOrInfinity(count);if(n<0||n===1/0)throw new $RangeError("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(str+=str))1&n&&(result+=str);return result}},"./node_modules/core-js/internals/string-trim.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),whitespaces=__webpack_require__("./node_modules/core-js/internals/whitespaces.js"),replace=uncurryThis("".replace),ltrim=RegExp("^["+whitespaces+"]+"),rtrim=RegExp("(^|[^"+whitespaces+"])["+whitespaces+"]+$"),createMethod=function(TYPE){return function($this){var string=toString(requireObjectCoercible($this));return 1&TYPE&&(string=replace(string,ltrim,"")),2&TYPE&&(string=replace(string,rtrim,"$1")),string}};module.exports={start:createMethod(1),end:createMethod(2),trim:createMethod(3)}},"./node_modules/core-js/internals/this-number-value.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=uncurryThis(1..valueOf)},"./node_modules/core-js/internals/whitespaces.js":function(module){"use strict";module.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"./node_modules/core-js/modules/es.array.flat-map.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),flattenIntoArray=__webpack_require__("./node_modules/core-js/internals/flatten-into-array.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),toObject=__webpack_require__("./node_modules/core-js/internals/to-object.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),arraySpeciesCreate=__webpack_require__("./node_modules/core-js/internals/array-species-create.js");$({target:"Array",proto:!0},{flatMap:function flatMap(callbackfn){var A,O=toObject(this),sourceLen=lengthOfArrayLike(O);return aCallable(callbackfn),(A=arraySpeciesCreate(O,0)).length=flattenIntoArray(A,O,O,sourceLen,0,1,callbackfn,arguments.length>1?arguments[1]:void 0),A}})},"./node_modules/core-js/modules/es.array.includes.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),$includes=__webpack_require__("./node_modules/core-js/internals/array-includes.js").includes,fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),addToUnscopables=__webpack_require__("./node_modules/core-js/internals/add-to-unscopables.js");$({target:"Array",proto:!0,forced:fails((function(){return!Array(1).includes()}))},{includes:function includes(el){return $includes(this,el,arguments.length>1?arguments[1]:void 0)}}),addToUnscopables("includes")},"./node_modules/core-js/modules/es.array.unscopables.flat-map.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/internals/add-to-unscopables.js")("flatMap")},"./node_modules/core-js/modules/es.number.to-fixed.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),toIntegerOrInfinity=__webpack_require__("./node_modules/core-js/internals/to-integer-or-infinity.js"),thisNumberValue=__webpack_require__("./node_modules/core-js/internals/this-number-value.js"),$repeat=__webpack_require__("./node_modules/core-js/internals/string-repeat.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),$RangeError=RangeError,$String=String,floor=Math.floor,repeat=uncurryThis($repeat),stringSlice=uncurryThis("".slice),nativeToFixed=uncurryThis(1..toFixed),pow=function(x,n,acc){return 0===n?acc:n%2==1?pow(x,n-1,acc*x):pow(x*x,n/2,acc)},multiply=function(data,n,c){for(var index=-1,c2=c;++index<6;)c2+=n*data[index],data[index]=c2%1e7,c2=floor(c2/1e7)},divide=function(data,n){for(var index=6,c=0;--index>=0;)c+=data[index],data[index]=floor(c/n),c=c%n*1e7},dataToString=function(data){for(var index=6,s="";--index>=0;)if(""!==s||0===index||0!==data[index]){var t=$String(data[index]);s=""===s?t:s+repeat("0",7-t.length)+t}return s};$({target:"Number",proto:!0,forced:fails((function(){return"0.000"!==nativeToFixed(8e-5,3)||"1"!==nativeToFixed(.9,0)||"1.25"!==nativeToFixed(1.255,2)||"1000000000000000128"!==nativeToFixed(0xde0b6b3a7640080,0)}))||!fails((function(){nativeToFixed({})}))},{toFixed:function toFixed(fractionDigits){var e,z,j,k,number=thisNumberValue(this),fractDigits=toIntegerOrInfinity(fractionDigits),data=[0,0,0,0,0,0],sign="",result="0";if(fractDigits<0||fractDigits>20)throw new $RangeError("Incorrect fraction digits");if(number!=number)return"NaN";if(number<=-1e21||number>=1e21)return $String(number);if(number<0&&(sign="-",number=-number),number>1e-21)if(z=(e=function(x){for(var n=0,x2=x;x2>=4096;)n+=12,x2/=4096;for(;x2>=2;)n+=1,x2/=2;return n}(number*pow(2,69,1))-69)<0?number*pow(2,-e,1):number/pow(2,e,1),z*=4503599627370496,(e=52-e)>0){for(multiply(data,0,z),j=fractDigits;j>=7;)multiply(data,1e7,0),j-=7;for(multiply(data,pow(10,j,1),0),j=e-1;j>=23;)divide(data,1<<23),j-=23;divide(data,1<0?sign+((k=result.length)<=fractDigits?"0."+repeat("0",fractDigits-k)+result:stringSlice(result,0,k-fractDigits)+"."+stringSlice(result,k-fractDigits)):sign+result}})},"./node_modules/core-js/modules/es.object.from-entries.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),iterate=__webpack_require__("./node_modules/core-js/internals/iterate.js"),createProperty=__webpack_require__("./node_modules/core-js/internals/create-property.js");$({target:"Object",stat:!0},{fromEntries:function fromEntries(iterable){var obj={};return iterate(iterable,(function(k,v){createProperty(obj,k,v)}),{AS_ENTRIES:!0}),obj}})},"./node_modules/core-js/modules/es.parse-float.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),$parseFloat=__webpack_require__("./node_modules/core-js/internals/number-parse-float.js");$({global:!0,forced:parseFloat!==$parseFloat},{parseFloat:$parseFloat})},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/page-intro.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,".page-intro>*:first-child{display:inline-block;margin-top:1rem}.page-intro small{color:#161d39}","",{version:3,sources:["webpack://./src/styles/components/page-intro.scss","webpack://./colours.json"],names:[],mappings:"AAKE,0BACE,oBAAA,CACA,eAAA,CAGF,kBACE,aCNW",sourcesContent:["@import '../settings';\n@import '../colours';\n\n.page-intro {\n // should target the first element, the actual heading\n & > *:first-child {\n display: inline-block;\n margin-top: 1rem;\n }\n\n small {\n color: $colour-yankees-blue;\n }\n}\n","$sapphire-blue: #014371;\n$sea-blue: #00639a;\n$vivid-cerulean: #00a6d5;\n$medium-turquoise: #46d6fa;\n$gainsborough: #d2dce3;\n$yankees-blue: #161d39;\n$independence: #4e5a71;\n$weldon-blue: #8194a1;\n$pastel-blue: #abc7d6;\n$platinum: #e4e8eb;\n$sky-white: #fbfeff;\n$bronze: #a65708;\n$reviewed: #c39b00;\n$unreviewed: #c0c0c0;\n$uniref: #f2994c;\n$uniparc: #88c19d;\n$proteomes: #e56358;\n$reference-proteome: #9d4a4d;\n$peptide-search: #A748BD;\n$id-mapping: #357B92;\n$blast: #00A6D5;\n$align: #B8CE48;\n$warning: #ffcc33;\n$failure: #f36968;\n$success: #108f3b;\n$info: #79cbf8;\n$help-green: #28aa50;\n$coyote-brown: #966336;\n$outer-space: #374343;\n$tool-results: #622E81;"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},"./node_modules/uuid/dist/esm-browser/v1.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _rng_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/uuid/dist/esm-browser/rng.js"),_stringify_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/uuid/dist/esm-browser/stringify.js");let _nodeId,_clockseq,_lastMSecs=0,_lastNSecs=0;__webpack_exports__.A=function v1(options,buf,offset){let i=buf&&offset||0;const b=buf||new Array(16);let node=(options=options||{}).node||_nodeId,clockseq=void 0!==options.clockseq?options.clockseq:_clockseq;if(null==node||null==clockseq){const seedBytes=options.random||(options.rng||_rng_js__WEBPACK_IMPORTED_MODULE_0__.A)();null==node&&(node=_nodeId=[1|seedBytes[0],seedBytes[1],seedBytes[2],seedBytes[3],seedBytes[4],seedBytes[5]]),null==clockseq&&(clockseq=_clockseq=16383&(seedBytes[6]<<8|seedBytes[7]))}let msecs=void 0!==options.msecs?options.msecs:Date.now(),nsecs=void 0!==options.nsecs?options.nsecs:_lastNSecs+1;const dt=msecs-_lastMSecs+(nsecs-_lastNSecs)/1e4;if(dt<0&&void 0===options.clockseq&&(clockseq=clockseq+1&16383),(dt<0||msecs>_lastMSecs)&&void 0===options.nsecs&&(nsecs=0),nsecs>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_lastMSecs=msecs,_lastNSecs=nsecs,_clockseq=clockseq,msecs+=122192928e5;const tl=(1e4*(268435455&msecs)+nsecs)%4294967296;b[i++]=tl>>>24&255,b[i++]=tl>>>16&255,b[i++]=tl>>>8&255,b[i++]=255&tl;const tmh=msecs/4294967296*1e4&268435455;b[i++]=tmh>>>8&255,b[i++]=255&tmh,b[i++]=tmh>>>24&15|16,b[i++]=tmh>>>16&255,b[i++]=clockseq>>>8|128,b[i++]=255&clockseq;for(let n=0;n<6;++n)b[i+n]=node[n];return buf||(0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__.k)(b)}}}]); \ No newline at end of file diff --git a/PageIntro-stories.4f192bec.iframe.bundle.js.br b/PageIntro-stories.4f192bec.iframe.bundle.js.br new file mode 100644 index 00000000..e98bb8a3 Binary files /dev/null and b/PageIntro-stories.4f192bec.iframe.bundle.js.br differ diff --git a/PageIntro-stories.4f192bec.iframe.bundle.js.gz b/PageIntro-stories.4f192bec.iframe.bundle.js.gz new file mode 100644 index 00000000..f4f517d9 Binary files /dev/null and b/PageIntro-stories.4f192bec.iframe.bundle.js.gz differ diff --git a/PageIntro-stories.c3d211a7.iframe.bundle.js b/PageIntro-stories.c3d211a7.iframe.bundle.js deleted file mode 100644 index ae61303b..00000000 --- a/PageIntro-stories.c3d211a7.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[8368],{"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:i+""}function _defineProperty(obj,key,value){return(key=toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.d(__webpack_exports__,{A:function(){return _defineProperty}})},"./stories/PageIntro.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Message:function(){return Message},__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return PageIntro_stories}});var defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectWithoutProperties=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),utils=__webpack_require__("./src/utils.tsx"),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),page_intro=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/page-intro.scss"),page_intro_default=__webpack_require__.n(page_intro),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(page_intro_default(),options),page_intro_default()&&page_intro_default().locals&&page_intro_default().locals;var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const _excluded=["title","resultsCount","titlePostscript","headingLevel","titleClassName","children","className"];function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r{let{title:title,resultsCount:resultsCount,titlePostscript:titlePostscript,headingLevel:headingLevel="h1",titleClassName:titleClassName,children:children,className:className}=_ref,props=(0,objectWithoutProperties.A)(_ref,_excluded);return(0,jsx_runtime.jsxs)("div",_objectSpread(_objectSpread({className:classnames_default()(className,"page-intro")},props),{},{children:[(0,react.createElement)(headingLevel,{className:classnames_default()(titleClassName)},(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[title,void 0!==resultsCount&&(0,jsx_runtime.jsxs)("small",{children:[" ",(0,utils.sz)(resultsCount)," result",1===resultsCount?"":"s"," "]}),titlePostscript]})),children]}))};PageIntro.displayName="PageIntro";var src_components_page_intro=PageIntro;try{pageintro.displayName="pageintro",pageintro.__docgenInfo={description:"",displayName:"pageintro",props:{title:{defaultValue:null,description:"The title",name:"title",required:!0,type:{name:"ReactNode"}},headingLevel:{defaultValue:{value:"h1"},description:"The tile title heading level",name:"headingLevel",required:!1,type:{name:"enum",value:[{value:'"h1"'},{value:'"h2"'},{value:'"h3"'},{value:'"h4"'},{value:'"h5"'},{value:'"h6"'}]}},titleClassName:{defaultValue:null,description:"CSS classes to pass to the component title",name:"titleClassName",required:!1,type:{name:"string"}},titlePostscript:{defaultValue:null,description:"Optional title postscript to follow resultsCount",name:"titlePostscript",required:!1,type:{name:"ReactNode"}},resultsCount:{defaultValue:null,description:"Number of results",name:"resultsCount",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/page-intro.tsx#pageintro"]={docgenInfo:pageintro.__docgenInfo,name:"pageintro",path:"src/components/page-intro.tsx#pageintro"})}catch(__react_docgen_typescript_loader_error){}var lipsum=__webpack_require__("./src/mock-data/lipsum.tsx");var PageIntro_stories={title:"Layout/Page Intro",args:{titlePostscript:""},render:_ref=>{let{titlePostscript:titlePostscript}=_ref;return(0,jsx_runtime.jsx)(src_components_page_intro,{title:"UniProt",resultsCount:1e3,titlePostscript:titlePostscript,children:(0,lipsum.FZ)()})}};const Message={};Message.parameters={...Message.parameters,docs:{...Message.parameters?.docs,source:{originalSource:"{}",...Message.parameters?.docs?.source}}};const __namedExportsOrder=["Message"]},"./src/mock-data/lipsum.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{FZ:function(){return getLipsumSentences},Td:function(){return getLipsumObjectArray}});__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.object.from-entries.js");var lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/lorem-ipsum/dist/index.js"),uuid__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/uuid/dist/esm-browser/v1.js");const getLipsumSentences=()=>(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__.Ok)({sentenceLowerBound:2,sentenceUpperBound:30}),getLipsumObjectArray=_ref=>{let{numberElements:numberElements,keys:keys,idKey:idKey="id",type:type="sentences"}=_ref;return Array.from({length:numberElements},(()=>Object.fromEntries([[[idKey],(0,uuid__WEBPACK_IMPORTED_MODULE_3__.A)()],...keys.map((key=>[key,"sentences"===type?getLipsumSentences():(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_2__.Ok)({count:2,units:"words"})]))])))};try{getLipsumObjectArray.displayName="getLipsumObjectArray",getLipsumObjectArray.__docgenInfo={description:"",displayName:"getLipsumObjectArray",props:{numberElements:{defaultValue:null,description:"",name:"numberElements",required:!0,type:{name:"number"}},keys:{defaultValue:null,description:"",name:"keys",required:!0,type:{name:"string[]"}},idKey:{defaultValue:{value:"id"},description:"",name:"idKey",required:!1,type:{name:"string"}},type:{defaultValue:{value:"sentences"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"sentences"'},{value:'"words"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/mock-data/lipsum.tsx#getLipsumObjectArray"]={docgenInfo:getLipsumObjectArray.__docgenInfo,name:"getLipsumObjectArray",path:"src/mock-data/lipsum.tsx#getLipsumObjectArray"})}catch(__react_docgen_typescript_loader_error){}try{lipsum.displayName="lipsum",lipsum.__docgenInfo={description:"",displayName:"lipsum",props:{numberElements:{defaultValue:null,description:"",name:"numberElements",required:!0,type:{name:"number"}},keys:{defaultValue:null,description:"",name:"keys",required:!0,type:{name:"string[]"}},idKey:{defaultValue:{value:"id"},description:"",name:"idKey",required:!1,type:{name:"string"}},type:{defaultValue:{value:"sentences"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"sentences"'},{value:'"words"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/mock-data/lipsum.tsx#lipsum"]={docgenInfo:lipsum.__docgenInfo,name:"lipsum",path:"src/mock-data/lipsum.tsx#lipsum"})}catch(__react_docgen_typescript_loader_error){}},"./src/utils.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Lx:function(){return getLastIndexOfSubstringIgnoreCase},PR:function(){return getNodePaths},_w:function(){return getSingleChildren},f4:function(){return prepareTreeDataForAutocomplete},hb:function(){return tidyUrlString},sz:function(){return formatLargeNumber},w1:function(){return formatBytesNumber}});var _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.flat-map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.unscopables.flat-map.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.number.to-fixed.js"),__webpack_require__("./node_modules/core-js/modules/es.parse-float.js");const _excluded=["items"];function getLastIndexOfSubstringIgnoreCase(string,substring){return string.toLowerCase().lastIndexOf(substring.toLowerCase())}const getNodePaths=function getNodePaths(items,id){let path=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],nodePaths=[];return items.forEach((node=>{const{items:items}=node,thisNode=(0,_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_10__.A)(node,_excluded),nodePath=[...path,thisNode];if(items){const result=getNodePaths(items,id,nodePath);result.length&&(nodePaths=[...nodePaths,...result])}else id&&thisNode.id!==id||(nodePaths=[...nodePaths,nodePath])})),nodePaths};function prepareTreeDataForAutocomplete(flattenedTreeData){return flattenedTreeData.map((items=>{const autocompleteItem={id:items[items.length-1].id,pathLabel:items.map((item=>item.label)).join(" / "),itemLabel:items[items.length-1].label},tags=items.flatMap((item=>item.tags||[]));return tags.length&&(autocompleteItem.tags=tags),autocompleteItem}))}function*getSingleChildren(children){1===children.length&&(yield children[0].id);for(const child of children)child.items&&(yield*getSingleChildren(child.items))}function formatLargeNumber(x){const string=x.toString();if(string.includes("e"))return string;const[integer,decimal]=x.toString().split(".");return[integer.replace(/\B(?=(\d{3})+(?!\d))/g,","),decimal].filter((el=>void 0!==el)).join(".")}function formatBytesNumber(bytes){let decimals=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const bytesNumber=+bytes;if(!bytesNumber)return"0 Bytes";const positiveDecimals=decimals<0?0:decimals,units=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],unitsIndex=Math.min(Math.floor(Math.log(bytesNumber)/Math.log(1024)),units.length-1),number=(bytesNumber/1024**unitsIndex).toFixed(positiveDecimals),unit=units[unitsIndex];return`${formatLargeNumber(parseFloat(number))} ${unit}`}const reProtocol=/^(https?:)?(\/\/)?/,reTrailingSlashes=/(\/+$)/,tidyUrlString=url=>url.replace(reProtocol,"").replace(reTrailingSlashes,"");try{prepareTreeDataForAutocomplete.displayName="prepareTreeDataForAutocomplete",prepareTreeDataForAutocomplete.__docgenInfo={description:"",displayName:"prepareTreeDataForAutocomplete",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/utils.tsx#prepareTreeDataForAutocomplete"]={docgenInfo:prepareTreeDataForAutocomplete.__docgenInfo,name:"prepareTreeDataForAutocomplete",path:"src/utils.tsx#prepareTreeDataForAutocomplete"})}catch(__react_docgen_typescript_loader_error){}try{getSingleChildren.displayName="getSingleChildren",getSingleChildren.__docgenInfo={description:"",displayName:"getSingleChildren",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/utils.tsx#getSingleChildren"]={docgenInfo:getSingleChildren.__docgenInfo,name:"getSingleChildren",path:"src/utils.tsx#getSingleChildren"})}catch(__react_docgen_typescript_loader_error){}try{formatLargeNumber.displayName="formatLargeNumber",formatLargeNumber.__docgenInfo={description:"",displayName:"formatLargeNumber",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/utils.tsx#formatLargeNumber"]={docgenInfo:formatLargeNumber.__docgenInfo,name:"formatLargeNumber",path:"src/utils.tsx#formatLargeNumber"})}catch(__react_docgen_typescript_loader_error){}try{tidyUrlString.displayName="tidyUrlString",tidyUrlString.__docgenInfo={description:"",displayName:"tidyUrlString",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/utils.tsx#tidyUrlString"]={docgenInfo:tidyUrlString.__docgenInfo,name:"tidyUrlString",path:"src/utils.tsx#tidyUrlString"})}catch(__react_docgen_typescript_loader_error){}},"./node_modules/core-js/internals/array-species-constructor.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var isArray=__webpack_require__("./node_modules/core-js/internals/is-array.js"),isConstructor=__webpack_require__("./node_modules/core-js/internals/is-constructor.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),SPECIES=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("species"),$Array=Array;module.exports=function(originalArray){var C;return isArray(originalArray)&&(C=originalArray.constructor,(isConstructor(C)&&(C===$Array||isArray(C.prototype))||isObject(C)&&null===(C=C[SPECIES]))&&(C=void 0)),void 0===C?$Array:C}},"./node_modules/core-js/internals/array-species-create.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var arraySpeciesConstructor=__webpack_require__("./node_modules/core-js/internals/array-species-constructor.js");module.exports=function(originalArray,length){return new(arraySpeciesConstructor(originalArray))(0===length?0:length)}},"./node_modules/core-js/internals/create-property.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var toPropertyKey=__webpack_require__("./node_modules/core-js/internals/to-property-key.js"),definePropertyModule=__webpack_require__("./node_modules/core-js/internals/object-define-property.js"),createPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/create-property-descriptor.js");module.exports=function(object,key,value){var propertyKey=toPropertyKey(key);propertyKey in object?definePropertyModule.f(object,propertyKey,createPropertyDescriptor(0,value)):object[propertyKey]=value}},"./node_modules/core-js/internals/does-not-exceed-safe-integer.js":function(module){"use strict";var $TypeError=TypeError;module.exports=function(it){if(it>9007199254740991)throw $TypeError("Maximum allowed index exceeded");return it}},"./node_modules/core-js/internals/flatten-into-array.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var isArray=__webpack_require__("./node_modules/core-js/internals/is-array.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),doesNotExceedSafeInteger=__webpack_require__("./node_modules/core-js/internals/does-not-exceed-safe-integer.js"),bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),flattenIntoArray=function(target,original,source,sourceLen,start,depth,mapper,thisArg){for(var element,elementLen,targetIndex=start,sourceIndex=0,mapFn=!!mapper&&bind(mapper,thisArg);sourceIndex0&&isArray(element)?(elementLen=lengthOfArrayLike(element),targetIndex=flattenIntoArray(target,original,element,elementLen,targetIndex,depth-1)-1):(doesNotExceedSafeInteger(targetIndex+1),target[targetIndex]=element),targetIndex++),sourceIndex++;return targetIndex};module.exports=flattenIntoArray},"./node_modules/core-js/internals/function-bind-context.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this-clause.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),NATIVE_BIND=__webpack_require__("./node_modules/core-js/internals/function-bind-native.js"),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),void 0===that?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}},"./node_modules/core-js/internals/function-uncurry-this-clause.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var classofRaw=__webpack_require__("./node_modules/core-js/internals/classof-raw.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=function(fn){if("Function"===classofRaw(fn))return uncurryThis(fn)}},"./node_modules/core-js/internals/get-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js"),isNullOrUndefined=__webpack_require__("./node_modules/core-js/internals/is-null-or-undefined.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("iterator");module.exports=function(it){if(!isNullOrUndefined(it))return getMethod(it,ITERATOR)||getMethod(it,"@@iterator")||Iterators[classof(it)]}},"./node_modules/core-js/internals/get-iterator.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),$TypeError=TypeError;module.exports=function(argument,usingIterator){var iteratorMethod=arguments.length<2?getIteratorMethod(argument):usingIterator;if(aCallable(iteratorMethod))return anObject(call(iteratorMethod,argument));throw new $TypeError(tryToString(argument)+" is not iterable")}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),Iterators=__webpack_require__("./node_modules/core-js/internals/iterators.js"),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}},"./node_modules/core-js/internals/is-array.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var classof=__webpack_require__("./node_modules/core-js/internals/classof-raw.js");module.exports=Array.isArray||function isArray(argument){return"Array"===classof(argument)}},"./node_modules/core-js/internals/iterate.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var bind=__webpack_require__("./node_modules/core-js/internals/function-bind-context.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),isArrayIteratorMethod=__webpack_require__("./node_modules/core-js/internals/is-array-iterator-method.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),getIterator=__webpack_require__("./node_modules/core-js/internals/get-iterator.js"),getIteratorMethod=__webpack_require__("./node_modules/core-js/internals/get-iterator-method.js"),iteratorClose=__webpack_require__("./node_modules/core-js/internals/iterator-close.js"),$TypeError=TypeError,Result=function(stopped,result){this.stopped=stopped,this.result=result},ResultPrototype=Result.prototype;module.exports=function(iterable,unboundFunction,options){var iterator,iterFn,index,length,result,next,step,that=options&&options.that,AS_ENTRIES=!(!options||!options.AS_ENTRIES),IS_RECORD=!(!options||!options.IS_RECORD),IS_ITERATOR=!(!options||!options.IS_ITERATOR),INTERRUPTED=!(!options||!options.INTERRUPTED),fn=bind(unboundFunction,that),stop=function(condition){return iterator&&iteratorClose(iterator,"normal",condition),new Result(!0,condition)},callFn=function(value){return AS_ENTRIES?(anObject(value),INTERRUPTED?fn(value[0],value[1],stop):fn(value[0],value[1])):INTERRUPTED?fn(value,stop):fn(value)};if(IS_RECORD)iterator=iterable.iterator;else if(IS_ITERATOR)iterator=iterable;else{if(!(iterFn=getIteratorMethod(iterable)))throw new $TypeError(tryToString(iterable)+" is not iterable");if(isArrayIteratorMethod(iterFn)){for(index=0,length=lengthOfArrayLike(iterable);length>index;index++)if((result=callFn(iterable[index]))&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if("object"==typeof result&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}},"./node_modules/core-js/internals/iterator-close.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),anObject=__webpack_require__("./node_modules/core-js/internals/an-object.js"),getMethod=__webpack_require__("./node_modules/core-js/internals/get-method.js");module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(!(innerResult=getMethod(iterator,"return"))){if("throw"===kind)throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if("throw"===kind)throw value;if(innerError)throw innerResult;return anObject(innerResult),value}},"./node_modules/core-js/internals/number-parse-float.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var global=__webpack_require__("./node_modules/core-js/internals/global.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),trim=__webpack_require__("./node_modules/core-js/internals/string-trim.js").trim,whitespaces=__webpack_require__("./node_modules/core-js/internals/whitespaces.js"),charAt=uncurryThis("".charAt),$parseFloat=global.parseFloat,Symbol=global.Symbol,ITERATOR=Symbol&&Symbol.iterator,FORCED=1/$parseFloat(whitespaces+"-0")!=-1/0||ITERATOR&&!fails((function(){$parseFloat(Object(ITERATOR))}));module.exports=FORCED?function parseFloat(string){var trimmedString=trim(toString(string)),result=$parseFloat(trimmedString);return 0===result&&"-"===charAt(trimmedString,0)?-0:result}:$parseFloat},"./node_modules/core-js/internals/string-repeat.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var toIntegerOrInfinity=__webpack_require__("./node_modules/core-js/internals/to-integer-or-infinity.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),$RangeError=RangeError;module.exports=function repeat(count){var str=toString(requireObjectCoercible(this)),result="",n=toIntegerOrInfinity(count);if(n<0||n===1/0)throw new $RangeError("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(str+=str))1&n&&(result+=str);return result}},"./node_modules/core-js/internals/string-trim.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),requireObjectCoercible=__webpack_require__("./node_modules/core-js/internals/require-object-coercible.js"),toString=__webpack_require__("./node_modules/core-js/internals/to-string.js"),whitespaces=__webpack_require__("./node_modules/core-js/internals/whitespaces.js"),replace=uncurryThis("".replace),ltrim=RegExp("^["+whitespaces+"]+"),rtrim=RegExp("(^|[^"+whitespaces+"])["+whitespaces+"]+$"),createMethod=function(TYPE){return function($this){var string=toString(requireObjectCoercible($this));return 1&TYPE&&(string=replace(string,ltrim,"")),2&TYPE&&(string=replace(string,rtrim,"$1")),string}};module.exports={start:createMethod(1),end:createMethod(2),trim:createMethod(3)}},"./node_modules/core-js/internals/this-number-value.js":function(module,__unused_webpack_exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js");module.exports=uncurryThis(1..valueOf)},"./node_modules/core-js/internals/whitespaces.js":function(module){"use strict";module.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"./node_modules/core-js/modules/es.array.flat-map.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),flattenIntoArray=__webpack_require__("./node_modules/core-js/internals/flatten-into-array.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),toObject=__webpack_require__("./node_modules/core-js/internals/to-object.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),arraySpeciesCreate=__webpack_require__("./node_modules/core-js/internals/array-species-create.js");$({target:"Array",proto:!0},{flatMap:function flatMap(callbackfn){var A,O=toObject(this),sourceLen=lengthOfArrayLike(O);return aCallable(callbackfn),(A=arraySpeciesCreate(O,0)).length=flattenIntoArray(A,O,O,sourceLen,0,1,callbackfn,arguments.length>1?arguments[1]:void 0),A}})},"./node_modules/core-js/modules/es.array.includes.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),$includes=__webpack_require__("./node_modules/core-js/internals/array-includes.js").includes,fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),addToUnscopables=__webpack_require__("./node_modules/core-js/internals/add-to-unscopables.js");$({target:"Array",proto:!0,forced:fails((function(){return!Array(1).includes()}))},{includes:function includes(el){return $includes(this,el,arguments.length>1?arguments[1]:void 0)}}),addToUnscopables("includes")},"./node_modules/core-js/modules/es.array.unscopables.flat-map.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/internals/add-to-unscopables.js")("flatMap")},"./node_modules/core-js/modules/es.number.to-fixed.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),toIntegerOrInfinity=__webpack_require__("./node_modules/core-js/internals/to-integer-or-infinity.js"),thisNumberValue=__webpack_require__("./node_modules/core-js/internals/this-number-value.js"),$repeat=__webpack_require__("./node_modules/core-js/internals/string-repeat.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),$RangeError=RangeError,$String=String,floor=Math.floor,repeat=uncurryThis($repeat),stringSlice=uncurryThis("".slice),nativeToFixed=uncurryThis(1..toFixed),pow=function(x,n,acc){return 0===n?acc:n%2==1?pow(x,n-1,acc*x):pow(x*x,n/2,acc)},multiply=function(data,n,c){for(var index=-1,c2=c;++index<6;)c2+=n*data[index],data[index]=c2%1e7,c2=floor(c2/1e7)},divide=function(data,n){for(var index=6,c=0;--index>=0;)c+=data[index],data[index]=floor(c/n),c=c%n*1e7},dataToString=function(data){for(var index=6,s="";--index>=0;)if(""!==s||0===index||0!==data[index]){var t=$String(data[index]);s=""===s?t:s+repeat("0",7-t.length)+t}return s};$({target:"Number",proto:!0,forced:fails((function(){return"0.000"!==nativeToFixed(8e-5,3)||"1"!==nativeToFixed(.9,0)||"1.25"!==nativeToFixed(1.255,2)||"1000000000000000128"!==nativeToFixed(0xde0b6b3a7640080,0)}))||!fails((function(){nativeToFixed({})}))},{toFixed:function toFixed(fractionDigits){var e,z,j,k,number=thisNumberValue(this),fractDigits=toIntegerOrInfinity(fractionDigits),data=[0,0,0,0,0,0],sign="",result="0";if(fractDigits<0||fractDigits>20)throw new $RangeError("Incorrect fraction digits");if(number!=number)return"NaN";if(number<=-1e21||number>=1e21)return $String(number);if(number<0&&(sign="-",number=-number),number>1e-21)if(z=(e=function(x){for(var n=0,x2=x;x2>=4096;)n+=12,x2/=4096;for(;x2>=2;)n+=1,x2/=2;return n}(number*pow(2,69,1))-69)<0?number*pow(2,-e,1):number/pow(2,e,1),z*=4503599627370496,(e=52-e)>0){for(multiply(data,0,z),j=fractDigits;j>=7;)multiply(data,1e7,0),j-=7;for(multiply(data,pow(10,j,1),0),j=e-1;j>=23;)divide(data,1<<23),j-=23;divide(data,1<0?sign+((k=result.length)<=fractDigits?"0."+repeat("0",fractDigits-k)+result:stringSlice(result,0,k-fractDigits)+"."+stringSlice(result,k-fractDigits)):sign+result}})},"./node_modules/core-js/modules/es.object.from-entries.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),iterate=__webpack_require__("./node_modules/core-js/internals/iterate.js"),createProperty=__webpack_require__("./node_modules/core-js/internals/create-property.js");$({target:"Object",stat:!0},{fromEntries:function fromEntries(iterable){var obj={};return iterate(iterable,(function(k,v){createProperty(obj,k,v)}),{AS_ENTRIES:!0}),obj}})},"./node_modules/core-js/modules/es.parse-float.js":function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),$parseFloat=__webpack_require__("./node_modules/core-js/internals/number-parse-float.js");$({global:!0,forced:parseFloat!==$parseFloat},{parseFloat:$parseFloat})},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/page-intro.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,".page-intro>*:first-child{display:inline-block;margin-top:1rem}.page-intro small{color:#161d39}","",{version:3,sources:["webpack://./src/styles/components/page-intro.scss","webpack://./colours.json"],names:[],mappings:"AAKE,0BACE,oBAAA,CACA,eAAA,CAGF,kBACE,aCNW",sourcesContent:["@import '../settings';\n@import '../colours';\n\n.page-intro {\n // should target the first element, the actual heading\n & > *:first-child {\n display: inline-block;\n margin-top: 1rem;\n }\n\n small {\n color: $colour-yankees-blue;\n }\n}\n","$sapphire-blue: #014371;\n$sea-blue: #00639a;\n$vivid-cerulean: #00a6d5;\n$medium-turquoise: #46d6fa;\n$gainsborough: #d2dce3;\n$yankees-blue: #161d39;\n$independence: #4e5a71;\n$weldon-blue: #8194a1;\n$pastel-blue: #abc7d6;\n$platinum: #e4e8eb;\n$sky-white: #fbfeff;\n$bronze: #a65708;\n$reviewed: #c39b00;\n$unreviewed: #c0c0c0;\n$uniref: #f2994c;\n$uniparc: #88c19d;\n$proteomes: #e56358;\n$reference-proteome: #9d4a4d;\n$peptide-search: #A748BD;\n$id-mapping: #357B92;\n$blast: #00A6D5;\n$align: #B8CE48;\n$warning: #ffcc33;\n$failure: #f36968;\n$success: #108f3b;\n$info: #79cbf8;\n$help-green: #28aa50;\n$coyote-brown: #966336;\n$outer-space: #374343;\n$tool-results: #622E81;"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},"./node_modules/uuid/dist/esm-browser/v1.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _rng_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/uuid/dist/esm-browser/rng.js"),_stringify_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/uuid/dist/esm-browser/stringify.js");let _nodeId,_clockseq,_lastMSecs=0,_lastNSecs=0;__webpack_exports__.A=function v1(options,buf,offset){let i=buf&&offset||0;const b=buf||new Array(16);let node=(options=options||{}).node||_nodeId,clockseq=void 0!==options.clockseq?options.clockseq:_clockseq;if(null==node||null==clockseq){const seedBytes=options.random||(options.rng||_rng_js__WEBPACK_IMPORTED_MODULE_0__.A)();null==node&&(node=_nodeId=[1|seedBytes[0],seedBytes[1],seedBytes[2],seedBytes[3],seedBytes[4],seedBytes[5]]),null==clockseq&&(clockseq=_clockseq=16383&(seedBytes[6]<<8|seedBytes[7]))}let msecs=void 0!==options.msecs?options.msecs:Date.now(),nsecs=void 0!==options.nsecs?options.nsecs:_lastNSecs+1;const dt=msecs-_lastMSecs+(nsecs-_lastNSecs)/1e4;if(dt<0&&void 0===options.clockseq&&(clockseq=clockseq+1&16383),(dt<0||msecs>_lastMSecs)&&void 0===options.nsecs&&(nsecs=0),nsecs>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_lastMSecs=msecs,_lastNSecs=nsecs,_clockseq=clockseq,msecs+=122192928e5;const tl=(1e4*(268435455&msecs)+nsecs)%4294967296;b[i++]=tl>>>24&255,b[i++]=tl>>>16&255,b[i++]=tl>>>8&255,b[i++]=255&tl;const tmh=msecs/4294967296*1e4&268435455;b[i++]=tmh>>>8&255,b[i++]=255&tmh,b[i++]=tmh>>>24&15|16,b[i++]=tmh>>>16&255,b[i++]=clockseq>>>8|128,b[i++]=255&clockseq;for(let n=0;n<6;++n)b[i+n]=node[n];return buf||(0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__.k)(b)}}}]); \ No newline at end of file diff --git a/PageIntro-stories.c3d211a7.iframe.bundle.js.br b/PageIntro-stories.c3d211a7.iframe.bundle.js.br deleted file mode 100644 index 789b031a..00000000 Binary files a/PageIntro-stories.c3d211a7.iframe.bundle.js.br and /dev/null differ diff --git a/PageIntro-stories.c3d211a7.iframe.bundle.js.gz b/PageIntro-stories.c3d211a7.iframe.bundle.js.gz deleted file mode 100644 index ae58b09d..00000000 Binary files a/PageIntro-stories.c3d211a7.iframe.bundle.js.gz and /dev/null differ diff --git a/Tile-stories.cfb4db97.iframe.bundle.js b/Tile-stories.b98a8e95.iframe.bundle.js similarity index 88% rename from Tile-stories.cfb4db97.iframe.bundle.js rename to Tile-stories.b98a8e95.iframe.bundle.js index ec2581a1..68e37730 100644 --- a/Tile-stories.cfb4db97.iframe.bundle.js +++ b/Tile-stories.b98a8e95.iframe.bundle.js @@ -1,4 +1,4 @@ -(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[3951],{"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:i+""}function _defineProperty(obj,key,value){return(key=toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.d(__webpack_exports__,{A:function(){return _defineProperty}})},"./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_require__.d(__webpack_exports__,{A:function(){return _objectWithoutProperties}})},"./node_modules/@storybook/addon-actions/dist/index.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{XI:function(){return action}});var Category2,v4=__webpack_require__("./node_modules/uuid/dist/esm-browser/v4.js"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),StorybookError=class extends Error{constructor(){super(...arguments),this.data={},this.documentation=!1,this.fromStorybook=!0}get fullErrorCode(){let paddedCode=String(this.code).padStart(4,"0");return`SB_${this.category}_${paddedCode}`}get name(){let errorName=this.constructor.name;return`${this.fullErrorCode} (${errorName})`}get message(){let page;return!0===this.documentation?page=`https://storybook.js.org/error/${this.fullErrorCode}`:"string"==typeof this.documentation?page=this.documentation:Array.isArray(this.documentation)&&(page=`\n${this.documentation.map((doc=>`\t- ${doc}`)).join("\n")}`),`${this.template()}${null!=page?`\n\nMore info: ${page}\n`:""}`}},esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),Category=((Category2=Category||{}).PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",Category2.PREVIEW_CHANNELS="PREVIEW_CHANNELS",Category2.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",Category2.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",Category2.PREVIEW_API="PREVIEW_API",Category2.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",Category2.PREVIEW_ROUTER="PREVIEW_ROUTER",Category2.PREVIEW_THEMING="PREVIEW_THEMING",Category2.RENDERER_HTML="RENDERER_HTML",Category2.RENDERER_PREACT="RENDERER_PREACT",Category2.RENDERER_REACT="RENDERER_REACT",Category2.RENDERER_SERVER="RENDERER_SERVER",Category2.RENDERER_SVELTE="RENDERER_SVELTE",Category2.RENDERER_VUE="RENDERER_VUE",Category2.RENDERER_VUE3="RENDERER_VUE3",Category2.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",Category2),ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super(),this.data=data,this.category="PREVIEW_API",this.code=2,this.documentation="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function"}template(){return esm.A` +(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[3951],{"./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_require__.d(__webpack_exports__,{A:function(){return _objectWithoutProperties}})},"./node_modules/@storybook/addon-actions/dist/index.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{XI:function(){return action}});var Category2,v4=__webpack_require__("./node_modules/uuid/dist/esm-browser/v4.js"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),StorybookError=class extends Error{constructor(){super(...arguments),this.data={},this.documentation=!1,this.fromStorybook=!0}get fullErrorCode(){let paddedCode=String(this.code).padStart(4,"0");return`SB_${this.category}_${paddedCode}`}get name(){let errorName=this.constructor.name;return`${this.fullErrorCode} (${errorName})`}get message(){let page;return!0===this.documentation?page=`https://storybook.js.org/error/${this.fullErrorCode}`:"string"==typeof this.documentation?page=this.documentation:Array.isArray(this.documentation)&&(page=`\n${this.documentation.map((doc=>`\t- ${doc}`)).join("\n")}`),`${this.template()}${null!=page?`\n\nMore info: ${page}\n`:""}`}},esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),Category=((Category2=Category||{}).PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",Category2.PREVIEW_CHANNELS="PREVIEW_CHANNELS",Category2.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",Category2.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",Category2.PREVIEW_API="PREVIEW_API",Category2.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",Category2.PREVIEW_ROUTER="PREVIEW_ROUTER",Category2.PREVIEW_THEMING="PREVIEW_THEMING",Category2.RENDERER_HTML="RENDERER_HTML",Category2.RENDERER_PREACT="RENDERER_PREACT",Category2.RENDERER_REACT="RENDERER_REACT",Category2.RENDERER_SERVER="RENDERER_SERVER",Category2.RENDERER_SVELTE="RENDERER_SVELTE",Category2.RENDERER_VUE="RENDERER_VUE",Category2.RENDERER_VUE3="RENDERER_VUE3",Category2.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",Category2),ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super(),this.data=data,this.category="PREVIEW_API",this.code=2,this.documentation="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function"}template(){return esm.A` We detected that you use an implicit action arg during ${this.data.phase} of your story. ${this.data.deprecated?"\nThis is deprecated and won't work in Storybook 8 anymore.\n":""} Please provide an explicit spy to your args like this: @@ -8,4 +8,4 @@ ${this.data.name}: fn() } `}},ADDON_ID="storybook/actions",EVENT_ID=`${ADDON_ID}/action-event`,config={depth:10,clearOnStoryChange:!0,limit:50},findProto=(obj,callback)=>{let proto=Object.getPrototypeOf(obj);return!proto||callback(proto)?proto:findProto(proto,callback)},serializeArg=a=>{if("object"==typeof(e=a)&&e&&findProto(e,(proto=>/^Synthetic(?:Base)?Event$/.test(proto.constructor.name)))&&"function"==typeof e.persist){let e=Object.create(a.constructor.prototype,Object.getOwnPropertyDescriptors(a));e.persist();let viewDescriptor=Object.getOwnPropertyDescriptor(e,"view"),view=viewDescriptor?.value;return"object"==typeof view&&"Window"===view?.constructor.name&&Object.defineProperty(e,"view",{...viewDescriptor,value:Object.create(view.constructor.prototype)}),e}var e;return a},generateId=()=>"object"==typeof crypto&&"function"==typeof crypto.getRandomValues?(0,v4.A)():Date.now().toString(36)+Math.random().toString(36).substring(2);function action(name,options={}){let actionOptions={...config,...options},handler=function(...args){if(options.implicit){let storyRenderer=("__STORYBOOK_PREVIEW__"in external_STORYBOOK_MODULE_GLOBAL_.global?external_STORYBOOK_MODULE_GLOBAL_.global.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find((render=>"playing"===render.phase||"rendering"===render.phase));if(storyRenderer){let deprecated=!window?.FEATURES?.disallowImplicitActionsInRenderV8,error=new ImplicitActionsDuringRendering({phase:storyRenderer.phase,name:name,deprecated:deprecated});if(!deprecated)throw error;console.warn(error)}}let channel=external_STORYBOOK_MODULE_PREVIEW_API_.addons.getChannel(),id=generateId(),serializedArgs=args.map(serializeArg),normalizedArgs=args.length>1?serializedArgs:serializedArgs[0],actionDisplayToEmit={id:id,count:0,data:{name:name,args:normalizedArgs},options:{...actionOptions,maxDepth:5+(actionOptions.depth||3),allowFunction:actionOptions.allowFunction||!1}};channel.emit(EVENT_ID,actionDisplayToEmit)};return handler.isAction=!0,handler}},"./stories/Tile.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{BasicTile:function(){return BasicTile},__namedExportsOrder:function(){return __namedExportsOrder},default:function(){return Tile_stories}});var dist=__webpack_require__("./node_modules/@storybook/addon-actions/dist/index.mjs"),lorem_ipsum_dist=__webpack_require__("./node_modules/lorem-ipsum/dist/index.js"),defineProperty=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),react=__webpack_require__("./node_modules/react/index.js"),classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),components_tile=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/tile.scss"),tile_default=__webpack_require__.n(components_tile),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(tile_default(),options),tile_default()&&tile_default().locals&&tile_default().locals;var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r{let{title:title,headingLevel:headingLevel="h2",subtitle:subtitle,backgroundColor:backgroundColor,backgroundImage:backgroundImage,gradient:gradient=!1,width:width,className:className,style:style,children:children,descriptionSlideUp:descriptionSlideUp=!1,link:link}=_ref;return(0,jsx_runtime.jsxs)("div",{className:classnames_default()(className,"tile",{"tile-gradient":gradient,"tile--has-link":link}),style:_objectSpread(_objectSpread({},style),{},{"--tile-background":backgroundColor,width:width}),children:[link&&(0,jsx_runtime.jsx)(link.type,_objectSpread(_objectSpread({},link.props),{},{"aria-hidden":"true",tabIndex:-1})),(0,jsx_runtime.jsx)("div",{className:"tile__background-image","aria-hidden":"true",children:backgroundImage}),(0,jsx_runtime.jsxs)("div",{className:"tile__main-content",children:[(0,react.createElement)(headingLevel,{className:"tile__header big"},title),subtitle&&(0,react.createElement)((level=headingLevel,"h"+(+level[1]+1)),{className:"tile__subtitle small"},subtitle)]}),children&&(0,jsx_runtime.jsx)("small",{className:classnames_default()("tile__description",descriptionSlideUp&&"tile__description--animated"),children:children})]});var level};Tile.displayName="Tile";var src_components_tile=Tile;try{Tile.displayName="Tile",Tile.__docgenInfo={description:"",displayName:"Tile",props:{title:{defaultValue:null,description:"The tile title",name:"title",required:!1,type:{name:"string | (ReactElement> & string) | (Iterable & string) | (ReactPortal & string)"}},headingLevel:{defaultValue:{value:"h2"},description:"The tile title heading level",name:"headingLevel",required:!1,type:{name:"enum",value:[{value:'"h1"'},{value:'"h2"'},{value:'"h3"'},{value:'"h4"'},{value:'"h5"'}]}},subtitle:{defaultValue:null,description:"The tile subtitle",name:"subtitle",required:!1,type:{name:"ReactNode"}},backgroundColor:{defaultValue:null,description:"The background color",name:"backgroundColor",required:!1,type:{name:"string"}},backgroundImage:{defaultValue:null,description:"The background image",name:"backgroundImage",required:!1,type:{name:"ReactNode"}},gradient:{defaultValue:{value:"false"},description:"Whether to create a gradient based on the backgroung color or not",name:"gradient",required:!1,type:{name:"boolean"}},width:{defaultValue:null,description:"The width Tile square (css value). By default it will use the\nwidth of the provided container.",name:"width",required:!1,type:{name:"string"}},descriptionSlideUp:{defaultValue:{value:"false"},description:"Whether to slide up the description when the mouse is over the tile.\nCan be useful if the description text is long.",name:"descriptionSlideUp",required:!1,type:{name:"boolean"}},link:{defaultValue:null,description:"Target/link of the list item when clicking on it",name:"link",required:!1,type:{name:"ReactElement>"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tile.tsx#Tile"]={docgenInfo:Tile.__docgenInfo,name:"Tile",path:"src/components/tile.tsx#Tile"})}catch(__react_docgen_typescript_loader_error){}try{tile.displayName="tile",tile.__docgenInfo={description:"",displayName:"tile",props:{title:{defaultValue:null,description:"The tile title",name:"title",required:!1,type:{name:"string | (ReactElement> & string) | (Iterable & string) | (ReactPortal & string)"}},headingLevel:{defaultValue:{value:"h2"},description:"The tile title heading level",name:"headingLevel",required:!1,type:{name:"enum",value:[{value:'"h1"'},{value:'"h2"'},{value:'"h3"'},{value:'"h4"'},{value:'"h5"'}]}},subtitle:{defaultValue:null,description:"The tile subtitle",name:"subtitle",required:!1,type:{name:"ReactNode"}},backgroundColor:{defaultValue:null,description:"The background color",name:"backgroundColor",required:!1,type:{name:"string"}},backgroundImage:{defaultValue:null,description:"The background image",name:"backgroundImage",required:!1,type:{name:"ReactNode"}},gradient:{defaultValue:{value:"false"},description:"Whether to create a gradient based on the backgroung color or not",name:"gradient",required:!1,type:{name:"boolean"}},width:{defaultValue:null,description:"The width Tile square (css value). By default it will use the\nwidth of the provided container.",name:"width",required:!1,type:{name:"string"}},descriptionSlideUp:{defaultValue:{value:"false"},description:"Whether to slide up the description when the mouse is over the tile.\nCan be useful if the description text is long.",name:"descriptionSlideUp",required:!1,type:{name:"boolean"}},link:{defaultValue:null,description:"Target/link of the list item when clicking on it",name:"link",required:!1,type:{name:"ReactElement>"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tile.tsx#tile"]={docgenInfo:tile.__docgenInfo,name:"tile",path:"src/components/tile.tsx#tile"})}catch(__react_docgen_typescript_loader_error){}var _path,_g,_defs,components_button=__webpack_require__("./src/components/button.tsx");function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i{let{title:title,headingLevel:headingLevel,containerSize:containerSize,withBackgroundImage:withBackgroundImage,subtitle:subtitle,gradient:gradient,descriptionSlideUp:descriptionSlideUp,buttonInDescription:buttonInDescription,backgroundColor:backgroundColor}=_ref;return(0,jsx_runtime.jsx)("div",{style:{width:containerSize},children:(0,jsx_runtime.jsxs)(src_components_tile,{title:title,headingLevel:headingLevel,backgroundColor:backgroundColor,backgroundImage:withBackgroundImage?(0,jsx_runtime.jsx)(uniprotkb_illustration,{}):null,subtitle:subtitle,gradient:gradient,descriptionSlideUp:descriptionSlideUp,link:(0,jsx_runtime.jsx)("a",{}),children:[(0,lorem_ipsum_dist.Ok)(),buttonInDescription&&(0,jsx_runtime.jsx)("div",{children:(0,jsx_runtime.jsx)(components_button.A,{onClick:(0,dist.XI)("description button clicked"),children:"Some button"})})]})})}};const BasicTile={};BasicTile.parameters={...BasicTile.parameters,docs:{...BasicTile.parameters?.docs,source:{originalSource:"{}",...BasicTile.parameters?.docs?.source}}};const __namedExportsOrder=["BasicTile"]},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/tile.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,'.tile{display:flex;justify-content:center;position:relative;overflow:hidden;contain:content;background:var(--tile-background, #00639a);text-align:center;color:#fbfeff;aspect-ratio:1/1}.tile--has-link>*{pointer-events:none}.tile--has-link>a,.tile--has-link>button,.tile--has-link>input,.tile--has-link>label{pointer-events:initial}.tile--has-link>a{position:absolute;top:0;bottom:0;left:0;right:0;cursor:pointer}.tile.tile-gradient{background:linear-gradient(45deg, rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2)) var(--tile-background, #00639a)}.tile__header,.tile__subtitle{color:#fbfeff;text-shadow:0 4px 4px rgba(0,0,0,.4);margin:0;line-height:1}.tile__header{display:block;margin-top:.5em;margin-bottom:0}.tile__main-content{position:relative;width:100%}.tile__description{display:block;padding:.7rem;line-height:1.6;width:100%;background-color:rgba(0,0,0,.5);height:50%;position:absolute;margin:0;bottom:0;left:0;overflow-y:hidden;transform:translateY(33%);pointer-events:none}.tile__description--animated{transition:transform .25s linear}.tile__description a,.tile__description button{pointer-events:initial}.tile__background-image{transition:background-color .25s ease;position:absolute;top:0;left:0;opacity:.8;width:100%;height:100%;padding:.5rem}.tile__background-image img{transition:filter .25s ease-out;width:100%;height:100%}.tile:hover .tile__main-content,.tile:focus .tile__main-content,.tile:focus-within .tile__main-content{outline-offset:-1ch}.tile:hover .tile__description--animated,.tile:focus .tile__description--animated,.tile:focus-within .tile__description--animated{transform:translateY(0);overflow-y:auto}.tile:hover .tile__background-image,.tile:focus .tile__background-image,.tile:focus-within .tile__background-image{background-color:rgba(0,0,0,.1)}.tile:hover .tile__background-image img,.tile:focus .tile__background-image img,.tile:focus-within .tile__background-image img{filter:blur(0.1rem)}.tile::before{content:"";padding-bottom:100%}@media(prefers-reduced-motion){.tile .tile__description{transform:translateY(0);overflow-y:auto}}',"",{version:3,sources:["webpack://./src/styles/components/tile.scss","webpack://./colours.json"],names:[],mappings:"AAQA,MACE,YAAA,CACA,sBAAA,CACA,iBAAA,CACA,eAAA,CACA,eAAA,CACA,0CAAA,CACA,iBAAA,CACA,aCNU,CDOV,gBAAA,CAGE,kBACE,mBAAA,CAGF,qFAIE,sBAAA,CAGF,kBACE,iBAAA,CACA,KAAA,CACA,QAAA,CACA,MAAA,CACA,OAAA,CACA,cAAA,CAIJ,oBACE,mIAAA,CASF,8BAEE,aC3CQ,CD4CR,oCAAA,CACA,QAAA,CACA,aAAA,CAGF,cACE,aAAA,CACA,eAAA,CACA,eAAA,CAGF,oBACE,iBAAA,CACA,UAAA,CAGF,mBAIE,aAAA,CACA,aAAA,CACA,eAAA,CACA,UAAA,CACA,+BAAA,CACA,UAAA,CACA,iBAAA,CACA,QAAA,CACA,QAAA,CACA,MAAA,CACA,iBAAA,CACA,yBAAA,CAEA,mBAAA,CAhBA,6BACE,gCAAA,CAiBF,+CAEE,sBAAA,CAIJ,wBACE,qCAAA,CACA,iBAAA,CACA,KAAA,CACA,MAAA,CACA,UAAA,CACA,UAAA,CACA,WAAA,CACA,aAAA,CAEA,4BACE,+BAAA,CACA,UAAA,CACA,WAAA,CAQF,uGACE,mBAAA,CAGF,kIACE,uBAAA,CACA,eAAA,CAGF,mHACE,+BAAA,CACA,+HACE,mBAAA,CAMN,cACE,UAAA,CACA,mBAAA,CAIJ,+BACE,yBACE,uBAAA,CACA,eAAA,CAAA",sourcesContent:["@import '../settings';\n@import '../colours';\n@import '../mixins';\n\n$animation-time: 0.25s;\n\n$tile: '.tile';\n\n#{$tile} {\n display: flex;\n justify-content: center;\n position: relative;\n overflow: hidden;\n contain: content;\n background: var(--tile-background, #{$colour-sea-blue});\n text-align: center;\n color: $colour-sky-white;\n aspect-ratio: 1/1;\n\n &--has-link {\n & > * {\n pointer-events: none;\n }\n\n & > a,\n & > button,\n & > input,\n & > label {\n pointer-events: initial;\n }\n\n & > a {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n cursor: pointer;\n }\n }\n\n &.tile-gradient {\n background: linear-gradient(\n 45deg,\n rgba(0, 0, 0, 0.2),\n rgba(255, 255, 255, 0.2),\n rgba(0, 0, 0, 0.2)\n )\n var(--tile-background, #{$colour-sea-blue});\n }\n\n &__header,\n &__subtitle {\n color: $colour-sky-white;\n text-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);\n margin: 0;\n line-height: 1;\n }\n\n &__header {\n display: block;\n margin-top: 0.5em;\n margin-bottom: 0;\n }\n\n &__main-content {\n position: relative;\n width: 100%;\n }\n\n &__description {\n &--animated {\n transition: transform $animation-time linear;\n }\n display: block;\n padding: 0.7rem;\n line-height: 1.6;\n width: 100%;\n background-color: rgba(0, 0, 0, 0.5);\n height: 50%;\n position: absolute;\n margin: 0;\n bottom: 0;\n left: 0;\n overflow-y: hidden;\n transform: translateY(33%);\n\n pointer-events: none;\n\n a,\n button {\n pointer-events: initial;\n }\n }\n\n &__background-image {\n transition: background-color $animation-time ease;\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0.8;\n width: 100%;\n height: 100%;\n padding: $global-padding * 0.5;\n\n img {\n transition: filter $animation-time ease-out;\n width: 100%;\n height: 100%;\n }\n }\n\n // Animations\n &:hover,\n &:focus,\n &:focus-within {\n #{$tile}__main-content {\n outline-offset: -1ch;\n }\n\n #{$tile}__description--animated {\n transform: translateY(0);\n overflow-y: auto;\n }\n\n #{$tile}__background-image {\n background-color: rgba(0, 0, 0, 0.1);\n img {\n filter: blur(0.1rem);\n }\n }\n }\n\n // CSS hack to have 1/1 aspect-ratio\n &::before {\n content: '';\n padding-bottom: 100%; // meaning, 100% of the width to bottom padding\n }\n}\n\n@media (prefers-reduced-motion) {\n #{$tile} #{$tile}__description {\n transform: translateY(0);\n overflow-y: auto;\n }\n}\n","$sapphire-blue: #014371;\n$sea-blue: #00639a;\n$vivid-cerulean: #00a6d5;\n$medium-turquoise: #46d6fa;\n$gainsborough: #d2dce3;\n$yankees-blue: #161d39;\n$independence: #4e5a71;\n$weldon-blue: #8194a1;\n$pastel-blue: #abc7d6;\n$platinum: #e4e8eb;\n$sky-white: #fbfeff;\n$bronze: #a65708;\n$reviewed: #c39b00;\n$unreviewed: #c0c0c0;\n$uniref: #f2994c;\n$uniparc: #88c19d;\n$proteomes: #e56358;\n$reference-proteome: #9d4a4d;\n$peptide-search: #A748BD;\n$id-mapping: #357B92;\n$blast: #00A6D5;\n$align: #B8CE48;\n$warning: #ffcc33;\n$failure: #f36968;\n$success: #108f3b;\n$info: #79cbf8;\n$help-green: #28aa50;\n$coyote-brown: #966336;\n$outer-space: #374343;\n$tool-results: #622E81;"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},"./src/styles/colours.json":function(module){"use strict";module.exports=JSON.parse('{"sapphireBlue":"#014371","seaBlue":"#00639a","vividCerulean":"#00a6d5","mediumTurquoise":"#46d6fa","gainsborough":"#d2dce3","yankeesBlue":"#161d39","independence":"#4e5a71","weldonBlue":"#8194a1","pastelBlue":"#abc7d6","platinum":"#e4e8eb","skyWhite":"#fbfeff","bronze":"#a65708","reviewed":"#c39b00","unreviewed":"#c0c0c0","uniref":"#f2994c","uniparc":"#88c19d","proteomes":"#e56358","referenceProteome":"#9d4a4d","peptideSearch":"#A748BD","idMapping":"#357B92","blast":"#00A6D5","align":"#B8CE48","warning":"#ffcc33","failure":"#f36968","success":"#108f3b","info":"#79cbf8","helpGreen":"#28aa50","coyoteBrown":"#966336","outerSpace":"#374343","toolResults":"#622E81"}')}}]); -//# sourceMappingURL=Tile-stories.cfb4db97.iframe.bundle.js.map \ No newline at end of file +//# sourceMappingURL=Tile-stories.b98a8e95.iframe.bundle.js.map \ No newline at end of file diff --git a/Tile-stories.b98a8e95.iframe.bundle.js.br b/Tile-stories.b98a8e95.iframe.bundle.js.br new file mode 100644 index 00000000..21c3517c Binary files /dev/null and b/Tile-stories.b98a8e95.iframe.bundle.js.br differ diff --git a/Tile-stories.b98a8e95.iframe.bundle.js.gz b/Tile-stories.b98a8e95.iframe.bundle.js.gz new file mode 100644 index 00000000..92757399 Binary files /dev/null and b/Tile-stories.b98a8e95.iframe.bundle.js.gz differ diff --git a/Tile-stories.cfb4db97.iframe.bundle.js.map b/Tile-stories.b98a8e95.iframe.bundle.js.map similarity index 97% rename from Tile-stories.cfb4db97.iframe.bundle.js.map rename to Tile-stories.b98a8e95.iframe.bundle.js.map index cf030406..976e23b4 100644 --- a/Tile-stories.cfb4db97.iframe.bundle.js.map +++ b/Tile-stories.b98a8e95.iframe.bundle.js.map @@ -1 +1 @@ -{"version":3,"file":"Tile-stories.cfb4db97.iframe.bundle.js","mappings":";AAUA;AACA;;;;;AAOA;;AAEA","sources":["webpack://franklin-sites/./node_modules/@storybook/addon-actions/node_modules/@storybook/core-events/dist/errors/preview-errors.mjs"],"sourcesContent":["import { StorybookError } from '../chunk-3FIG6PJN.mjs';\nimport dedent from 'ts-dedent';\n\nvar Category=(Category2=>(Category2.PREVIEW_CLIENT_LOGGER=\"PREVIEW_CLIENT-LOGGER\",Category2.PREVIEW_CHANNELS=\"PREVIEW_CHANNELS\",Category2.PREVIEW_CORE_EVENTS=\"PREVIEW_CORE-EVENTS\",Category2.PREVIEW_INSTRUMENTER=\"PREVIEW_INSTRUMENTER\",Category2.PREVIEW_API=\"PREVIEW_API\",Category2.PREVIEW_REACT_DOM_SHIM=\"PREVIEW_REACT-DOM-SHIM\",Category2.PREVIEW_ROUTER=\"PREVIEW_ROUTER\",Category2.PREVIEW_THEMING=\"PREVIEW_THEMING\",Category2.RENDERER_HTML=\"RENDERER_HTML\",Category2.RENDERER_PREACT=\"RENDERER_PREACT\",Category2.RENDERER_REACT=\"RENDERER_REACT\",Category2.RENDERER_SERVER=\"RENDERER_SERVER\",Category2.RENDERER_SVELTE=\"RENDERER_SVELTE\",Category2.RENDERER_VUE=\"RENDERER_VUE\",Category2.RENDERER_VUE3=\"RENDERER_VUE3\",Category2.RENDERER_WEB_COMPONENTS=\"RENDERER_WEB-COMPONENTS\",Category2))(Category||{}),MissingStoryAfterHmrError=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=1;}template(){return dedent`\n Couldn't find story matching id '${this.data.storyId}' after HMR.\n - Did you just rename a story?\n - Did you remove it from your CSF file?\n - Are you sure a story with the id '${this.data.storyId}' exists?\n - Please check the values in the stories field of your main.js config and see if they would match your CSF File.\n - Also check the browser console and terminal for potential error messages.`}},ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=2;this.documentation=\"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function\";}template(){return dedent`\n We detected that you use an implicit action arg during ${this.data.phase} of your story. \n ${this.data.deprecated?`\nThis is deprecated and won't work in Storybook 8 anymore.\n`:\"\"}\n Please provide an explicit spy to your args like this:\n import { fn } from '@storybook/test';\n ... \n args: {\n ${this.data.name}: fn()\n }\n `}};\n\nexport { Category, ImplicitActionsDuringRendering, MissingStoryAfterHmrError };\n"],"names":[],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"Tile-stories.b98a8e95.iframe.bundle.js","mappings":";AAUA;AACA;;;;;AAOA;;AAEA","sources":["webpack://franklin-sites/./node_modules/@storybook/addon-actions/node_modules/@storybook/core-events/dist/errors/preview-errors.mjs"],"sourcesContent":["import { StorybookError } from '../chunk-3FIG6PJN.mjs';\nimport dedent from 'ts-dedent';\n\nvar Category=(Category2=>(Category2.PREVIEW_CLIENT_LOGGER=\"PREVIEW_CLIENT-LOGGER\",Category2.PREVIEW_CHANNELS=\"PREVIEW_CHANNELS\",Category2.PREVIEW_CORE_EVENTS=\"PREVIEW_CORE-EVENTS\",Category2.PREVIEW_INSTRUMENTER=\"PREVIEW_INSTRUMENTER\",Category2.PREVIEW_API=\"PREVIEW_API\",Category2.PREVIEW_REACT_DOM_SHIM=\"PREVIEW_REACT-DOM-SHIM\",Category2.PREVIEW_ROUTER=\"PREVIEW_ROUTER\",Category2.PREVIEW_THEMING=\"PREVIEW_THEMING\",Category2.RENDERER_HTML=\"RENDERER_HTML\",Category2.RENDERER_PREACT=\"RENDERER_PREACT\",Category2.RENDERER_REACT=\"RENDERER_REACT\",Category2.RENDERER_SERVER=\"RENDERER_SERVER\",Category2.RENDERER_SVELTE=\"RENDERER_SVELTE\",Category2.RENDERER_VUE=\"RENDERER_VUE\",Category2.RENDERER_VUE3=\"RENDERER_VUE3\",Category2.RENDERER_WEB_COMPONENTS=\"RENDERER_WEB-COMPONENTS\",Category2))(Category||{}),MissingStoryAfterHmrError=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=1;}template(){return dedent`\n Couldn't find story matching id '${this.data.storyId}' after HMR.\n - Did you just rename a story?\n - Did you remove it from your CSF file?\n - Are you sure a story with the id '${this.data.storyId}' exists?\n - Please check the values in the stories field of your main.js config and see if they would match your CSF File.\n - Also check the browser console and terminal for potential error messages.`}},ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=2;this.documentation=\"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function\";}template(){return dedent`\n We detected that you use an implicit action arg during ${this.data.phase} of your story. \n ${this.data.deprecated?`\nThis is deprecated and won't work in Storybook 8 anymore.\n`:\"\"}\n Please provide an explicit spy to your args like this:\n import { fn } from '@storybook/test';\n ... \n args: {\n ${this.data.name}: fn()\n }\n `}};\n\nexport { Category, ImplicitActionsDuringRendering, MissingStoryAfterHmrError };\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/Tile-stories.b98a8e95.iframe.bundle.js.map.br b/Tile-stories.b98a8e95.iframe.bundle.js.map.br new file mode 100644 index 00000000..07fb7ff8 Binary files /dev/null and b/Tile-stories.b98a8e95.iframe.bundle.js.map.br differ diff --git a/Tile-stories.b98a8e95.iframe.bundle.js.map.gz b/Tile-stories.b98a8e95.iframe.bundle.js.map.gz new file mode 100644 index 00000000..f5fd99d6 Binary files /dev/null and b/Tile-stories.b98a8e95.iframe.bundle.js.map.gz differ diff --git a/Tile-stories.cfb4db97.iframe.bundle.js.br b/Tile-stories.cfb4db97.iframe.bundle.js.br deleted file mode 100644 index d4592a11..00000000 Binary files a/Tile-stories.cfb4db97.iframe.bundle.js.br and /dev/null differ diff --git a/Tile-stories.cfb4db97.iframe.bundle.js.gz b/Tile-stories.cfb4db97.iframe.bundle.js.gz deleted file mode 100644 index 1f940cf3..00000000 Binary files a/Tile-stories.cfb4db97.iframe.bundle.js.gz and /dev/null differ diff --git a/Tile-stories.cfb4db97.iframe.bundle.js.map.br b/Tile-stories.cfb4db97.iframe.bundle.js.map.br deleted file mode 100644 index e2f429a2..00000000 Binary files a/Tile-stories.cfb4db97.iframe.bundle.js.map.br and /dev/null differ diff --git a/Tile-stories.cfb4db97.iframe.bundle.js.map.gz b/Tile-stories.cfb4db97.iframe.bundle.js.map.gz deleted file mode 100644 index 43b519bd..00000000 Binary files a/Tile-stories.cfb4db97.iframe.bundle.js.map.gz and /dev/null differ diff --git a/Window-stories.495eda70.iframe.bundle.js b/Window-stories.495eda70.iframe.bundle.js new file mode 100644 index 00000000..1fecaa26 --- /dev/null +++ b/Window-stories.495eda70.iframe.bundle.js @@ -0,0 +1 @@ +(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[5707],{"./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_require__.d(__webpack_exports__,{A:function(){return _objectWithoutProperties}})},"./stories/Window.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Window:function(){return Window},__namedExportsOrder:function(){return __namedExportsOrder}});var lorem_ipsum__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/lorem-ipsum/dist/index.js"),_src_components__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/window/window.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js");__webpack_exports__.default={title:"Layout/Window"};const Window=()=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_2__.A,{title:"Alert",withHeaderCloseButton:!0,withFooterCloseButton:!0,withShadow:!0,children:(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_0__.Ok)({count:25,units:"words"})},"full-featured-window");Window.displayName="Window",Window.parameters={...Window.parameters,docs:{...Window.parameters?.docs,source:{originalSource:'() => \n {loremIpsum({\n count: 25,\n units: \'words\'\n })}\n ',...Window.parameters?.docs?.source}}};const __namedExportsOrder=["Window"]},"./src/svg/times.svg":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _path,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i{let{icon:icon,text:text,onClick:onClick,primary:primary=!1,className:className}=_ref;const iconOnly=icon&&!text;return(0,jsx_runtime.jsxs)("button",{className:classnames_default()("window__action-button",className,{"window__action-button--icon-only":!!iconOnly,button:!iconOnly,secondary:!iconOnly&&!primary}),onClick:onClick,type:"button",children:[icon&&icon,text&&text]})};WindowActionButton.displayName="WindowActionButton";const DefaultCloseButton=_ref2=>{let{iconOnly:iconOnly=!1,text:text,onClick:onClick}=_ref2,otherProps=(0,objectWithoutProperties.A)(_ref2,_excluded);const iconOnlyClass="window__default-close-button--icon-only";return(0,jsx_runtime.jsx)(WindowActionButton,function _objectSpread(e){for(var r=1;r void"}},primary:{defaultValue:{value:"false"},description:"",name:"primary",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window-buttons.tsx#WindowActionButton"]={docgenInfo:WindowActionButton.__docgenInfo,name:"WindowActionButton",path:"src/components/window/window-buttons.tsx#WindowActionButton"})}catch(__react_docgen_typescript_loader_error){}try{DefaultCloseButton.displayName="DefaultCloseButton",DefaultCloseButton.__docgenInfo={description:"",displayName:"DefaultCloseButton",props:{iconOnly:{defaultValue:{value:"false"},description:"",name:"iconOnly",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!0,type:{name:"() => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window-buttons.tsx#DefaultCloseButton"]={docgenInfo:DefaultCloseButton.__docgenInfo,name:"DefaultCloseButton",path:"src/components/window/window-buttons.tsx#DefaultCloseButton"})}catch(__react_docgen_typescript_loader_error){}const WindowHeader=_ref=>{let{title:title,withCloseButton:withCloseButton,onWindowClose:onWindowClose}=_ref;return(0,jsx_runtime.jsxs)("div",{className:"window__header",children:[(0,jsx_runtime.jsx)("span",{className:"window__header__title",children:title}),withCloseButton&&onWindowClose&&(0,jsx_runtime.jsx)(DefaultCloseButton,{onClick:onWindowClose,iconOnly:!0})]})};WindowHeader.displayName="WindowHeader";var window_header=WindowHeader;try{windowheader.displayName="windowheader",windowheader.__docgenInfo={description:"",displayName:"windowheader",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},withCloseButton:{defaultValue:null,description:"",name:"withCloseButton",required:!1,type:{name:"boolean"}},onWindowClose:{defaultValue:null,description:"",name:"onWindowClose",required:!1,type:{name:"(() => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window-header.tsx#windowheader"]={docgenInfo:windowheader.__docgenInfo,name:"windowheader",path:"src/components/window/window-header.tsx#windowheader"})}catch(__react_docgen_typescript_loader_error){}const WindowFooter=_ref=>{let{withCloseButton:withCloseButton,onWindowClose:onWindowClose,children:children}=_ref;return(0,jsx_runtime.jsxs)("div",{className:"window__footer",children:[children,withCloseButton&&onWindowClose&&(0,jsx_runtime.jsx)(DefaultCloseButton,{onClick:onWindowClose,text:"Close"})]})};WindowFooter.displayName="WindowFooter";var window_footer=WindowFooter;try{windowfooter.displayName="windowfooter",windowfooter.__docgenInfo={description:"",displayName:"windowfooter",props:{withCloseButton:{defaultValue:null,description:"",name:"withCloseButton",required:!1,type:{name:"boolean"}},onWindowClose:{defaultValue:null,description:"",name:"onWindowClose",required:!1,type:{name:"(() => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window-footer.tsx#windowfooter"]={docgenInfo:windowfooter.__docgenInfo,name:"windowfooter",path:"src/components/window/window-footer.tsx#windowfooter"})}catch(__react_docgen_typescript_loader_error){}var injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),components_window=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/window.scss"),window_default=__webpack_require__.n(components_window),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(window_default(),options),window_default()&&window_default().locals&&window_default().locals;const Window=_ref=>{let{width:width="50vw",height:height="50vh",title:title,withHeaderCloseButton:withHeaderCloseButton=!1,withFooterCloseButton:withFooterCloseButton=!1,onWindowOpen:onWindowOpen,onWindowClose:onWindowClose,actionButtons:actionButtons,withShadow:withShadow=!1,className:className,children:children}=_ref;const styles={width:width,minHeight:height,top:`calc((80vh - ${height}) / 2)`,left:`calc((100vw - ${width}) / 2)`},cssClasses=classnames_default()("window",className,{"window--with-shadow":!!withShadow});return null==onWindowOpen||onWindowOpen(),(0,jsx_runtime.jsxs)("div",{className:cssClasses,style:styles,children:[title&&(0,jsx_runtime.jsx)(window_header,{title:title,withCloseButton:withHeaderCloseButton,onWindowClose:onWindowClose}),(0,jsx_runtime.jsx)("div",{className:"window__content",children:children}),(withFooterCloseButton||actionButtons)&&(0,jsx_runtime.jsx)(window_footer,{withCloseButton:withFooterCloseButton,onWindowClose:onWindowClose,children:actionButtons&&actionButtons})]})};Window.displayName="Window";var window_window=Window;try{window.displayName="window",window.__docgenInfo={description:"",displayName:"window",props:{width:{defaultValue:{value:"50vw"},description:"",name:"width",required:!1,type:{name:"string"}},height:{defaultValue:{value:"50vh"},description:"",name:"height",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},withHeaderCloseButton:{defaultValue:{value:"false"},description:"",name:"withHeaderCloseButton",required:!1,type:{name:"boolean"}},withFooterCloseButton:{defaultValue:{value:"false"},description:"",name:"withFooterCloseButton",required:!1,type:{name:"boolean"}},onWindowOpen:{defaultValue:null,description:"",name:"onWindowOpen",required:!1,type:{name:"(() => void)"}},onWindowClose:{defaultValue:null,description:"",name:"onWindowClose",required:!1,type:{name:"(() => void)"}},withShadow:{defaultValue:{value:"false"},description:"",name:"withShadow",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},actionButtons:{defaultValue:null,description:"",name:"actionButtons",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window.tsx#window"]={docgenInfo:window.__docgenInfo,name:"window",path:"src/components/window/window.tsx#window"})}catch(__react_docgen_typescript_loader_error){}},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/window.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,".window{display:flex;flex-direction:column;border:.1rem solid #161d39}.window--with-shadow{box-shadow:0 .125rem .25rem .3rem rgba(22,29,57,.2)}.window__header{width:100%;height:2rem;color:#fbfeff;background-color:#161d39;font-weight:700;padding:0 .5rem;display:flex;line-height:2rem;justify-content:center;align-items:center}.window__header__title{margin-right:auto}.window__content{width:100%;flex-grow:1;padding:.5rem;background-color:#fbfeff}.window__footer{width:100%;background-color:#fbfeff;display:flex;justify-content:flex-end;padding:.5rem}.window__footer .button{margin-bottom:0;margin-left:.5rem;padding:.5rem 1rem}.window__default-close-button{margin-left:auto}.window__default-close-button--icon-only{width:1rem;height:1rem;background-color:#fbfeff;color:#00639a;cursor:pointer;border-radius:.5rem}","",{version:3,sources:["webpack://./src/styles/components/window.scss","webpack://./src/styles/_mixins.scss","webpack://./colours.json"],names:[],mappings:"AAIA,QACE,YAAA,CACA,qBAAA,CACA,0BAAA,CAEA,qBCSA,mDAAA,CDLA,gBACE,UAAA,CACA,WAAA,CACA,aENQ,CFOR,wBEZW,CFaX,eAAA,CACA,eAAA,CACA,YAAA,CACA,gBAAA,CACA,sBAAA,CACA,kBAAA,CAEA,uBACE,iBAAA,CAIJ,iBACE,UAAA,CACA,WAAA,CACA,aAAA,CACA,wBExBQ,CF2BV,gBACE,UAAA,CACA,wBE7BQ,CF8BR,YAAA,CACA,wBAAA,CACA,aAAA,CAEA,wBACE,eAAA,CACA,iBAAA,CACA,kBAAA,CAIJ,8BACE,gBAAA,CAEA,yCACE,UAAA,CACA,WAAA,CACA,wBE/CM,CFgDN,aEzDK,CF0DL,cAAA,CACA,mBAAA",sourcesContent:["@import '../settings';\n@import '../colours';\n@import '../mixins';\n\n.window {\n display: flex;\n flex-direction: column;\n border: 0.1rem solid $colour-yankees-blue;\n\n &--with-shadow {\n @include box-shadow(0.3rem);\n }\n\n &__header {\n width: 100%;\n height: 2rem;\n color: $colour-sky-white;\n background-color: $colour-yankees-blue;\n font-weight: 700;\n padding: 0 $global-padding * 0.5;\n display: flex;\n line-height: 2rem;\n justify-content: center;\n align-items: center;\n\n &__title {\n margin-right: auto;\n }\n }\n\n &__content {\n width: 100%;\n flex-grow: 1;\n padding: $global-padding * 0.5;\n background-color: $colour-sky-white;\n }\n\n &__footer {\n width: 100%;\n background-color: $colour-sky-white;\n display: flex;\n justify-content: flex-end;\n padding: $global-padding * 0.5;\n\n .button {\n margin-bottom: 0;\n margin-left: $global-padding * 0.5;\n padding: 0.5rem 1rem;\n }\n }\n\n &__default-close-button {\n margin-left: auto;\n\n &--icon-only {\n width: 1rem;\n height: 1rem;\n background-color: $colour-sky-white;\n color: $colour-sea-blue;\n cursor: pointer;\n border-radius: 0.5rem;\n }\n }\n}\n","@use 'sass:math';\n\n@import './settings';\n@import './colours';\n@import './franklin-settings';\n\n@mixin columns($base-class, $number) {\n .#{$base-class}--columns {\n column-count: $number;\n column-width: percentage(math.div(1, $number));\n\n & > * {\n break-inside: avoid;\n }\n }\n}\n\n@mixin box-shadow($spread: 0.125rem) {\n box-shadow: 0 0.125rem 0.25rem $spread rgba($colour-yankees-blue, 0.2);\n}\n\n@mixin fs-breakpoints($size) {\n @if map-has-key($fs-breakpoint-values, $size) {\n @media #{inspect(map-get($fs-breakpoint-values, $size))} {\n @content;\n }\n }\n}\n\n@mixin ellipsis() {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n","$sapphire-blue: #014371;\n$sea-blue: #00639a;\n$vivid-cerulean: #00a6d5;\n$medium-turquoise: #46d6fa;\n$gainsborough: #d2dce3;\n$yankees-blue: #161d39;\n$independence: #4e5a71;\n$weldon-blue: #8194a1;\n$pastel-blue: #abc7d6;\n$platinum: #e4e8eb;\n$sky-white: #fbfeff;\n$bronze: #a65708;\n$reviewed: #c39b00;\n$unreviewed: #c0c0c0;\n$uniref: #f2994c;\n$uniparc: #88c19d;\n$proteomes: #e56358;\n$reference-proteome: #9d4a4d;\n$peptide-search: #A748BD;\n$id-mapping: #357B92;\n$blast: #00A6D5;\n$align: #B8CE48;\n$warning: #ffcc33;\n$failure: #f36968;\n$success: #108f3b;\n$info: #79cbf8;\n$help-green: #28aa50;\n$coyote-brown: #966336;\n$outer-space: #374343;\n$tool-results: #622E81;"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___}}]); \ No newline at end of file diff --git a/Window-stories.495eda70.iframe.bundle.js.br b/Window-stories.495eda70.iframe.bundle.js.br new file mode 100644 index 00000000..143dd76c Binary files /dev/null and b/Window-stories.495eda70.iframe.bundle.js.br differ diff --git a/Window-stories.495eda70.iframe.bundle.js.gz b/Window-stories.495eda70.iframe.bundle.js.gz new file mode 100644 index 00000000..a46698d6 Binary files /dev/null and b/Window-stories.495eda70.iframe.bundle.js.gz differ diff --git a/Window-stories.8feb75eb.iframe.bundle.js b/Window-stories.8feb75eb.iframe.bundle.js deleted file mode 100644 index 62dbf0b4..00000000 --- a/Window-stories.8feb75eb.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[5707],{"./node_modules/@babel/runtime/helpers/esm/defineProperty.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function toPropertyKey(t){var i=function toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==_typeof(i)?i:i+""}function _defineProperty(obj,key,value){return(key=toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_require__.d(__webpack_exports__,{A:function(){return _defineProperty}})},"./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_require__.d(__webpack_exports__,{A:function(){return _objectWithoutProperties}})},"./stories/Window.stories.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Window:function(){return Window},__namedExportsOrder:function(){return __namedExportsOrder}});var lorem_ipsum__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/lorem-ipsum/dist/index.js"),_src_components__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/window/window.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js");__webpack_exports__.default={title:"Layout/Window"};const Window=()=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_src_components__WEBPACK_IMPORTED_MODULE_2__.A,{title:"Alert",withHeaderCloseButton:!0,withFooterCloseButton:!0,withShadow:!0,children:(0,lorem_ipsum__WEBPACK_IMPORTED_MODULE_0__.Ok)({count:25,units:"words"})},"full-featured-window");Window.displayName="Window",Window.parameters={...Window.parameters,docs:{...Window.parameters?.docs,source:{originalSource:'() => \n {loremIpsum({\n count: 25,\n units: \'words\'\n })}\n ',...Window.parameters?.docs?.source}}};const __namedExportsOrder=["Window"]},"./src/svg/times.svg":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _path,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i{let{icon:icon,text:text,onClick:onClick,primary:primary=!1,className:className}=_ref;const iconOnly=icon&&!text;return(0,jsx_runtime.jsxs)("button",{className:classnames_default()("window__action-button",className,{"window__action-button--icon-only":!!iconOnly,button:!iconOnly,secondary:!iconOnly&&!primary}),onClick:onClick,type:"button",children:[icon&&icon,text&&text]})};WindowActionButton.displayName="WindowActionButton";const DefaultCloseButton=_ref2=>{let{iconOnly:iconOnly=!1,text:text,onClick:onClick}=_ref2,otherProps=(0,objectWithoutProperties.A)(_ref2,_excluded);const iconOnlyClass="window__default-close-button--icon-only";return(0,jsx_runtime.jsx)(WindowActionButton,function _objectSpread(e){for(var r=1;r void"}},primary:{defaultValue:{value:"false"},description:"",name:"primary",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window-buttons.tsx#WindowActionButton"]={docgenInfo:WindowActionButton.__docgenInfo,name:"WindowActionButton",path:"src/components/window/window-buttons.tsx#WindowActionButton"})}catch(__react_docgen_typescript_loader_error){}try{DefaultCloseButton.displayName="DefaultCloseButton",DefaultCloseButton.__docgenInfo={description:"",displayName:"DefaultCloseButton",props:{iconOnly:{defaultValue:{value:"false"},description:"",name:"iconOnly",required:!1,type:{name:"boolean"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"string"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!0,type:{name:"() => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window-buttons.tsx#DefaultCloseButton"]={docgenInfo:DefaultCloseButton.__docgenInfo,name:"DefaultCloseButton",path:"src/components/window/window-buttons.tsx#DefaultCloseButton"})}catch(__react_docgen_typescript_loader_error){}const WindowHeader=_ref=>{let{title:title,withCloseButton:withCloseButton,onWindowClose:onWindowClose}=_ref;return(0,jsx_runtime.jsxs)("div",{className:"window__header",children:[(0,jsx_runtime.jsx)("span",{className:"window__header__title",children:title}),withCloseButton&&onWindowClose&&(0,jsx_runtime.jsx)(DefaultCloseButton,{onClick:onWindowClose,iconOnly:!0})]})};WindowHeader.displayName="WindowHeader";var window_header=WindowHeader;try{windowheader.displayName="windowheader",windowheader.__docgenInfo={description:"",displayName:"windowheader",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},withCloseButton:{defaultValue:null,description:"",name:"withCloseButton",required:!1,type:{name:"boolean"}},onWindowClose:{defaultValue:null,description:"",name:"onWindowClose",required:!1,type:{name:"(() => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window-header.tsx#windowheader"]={docgenInfo:windowheader.__docgenInfo,name:"windowheader",path:"src/components/window/window-header.tsx#windowheader"})}catch(__react_docgen_typescript_loader_error){}const WindowFooter=_ref=>{let{withCloseButton:withCloseButton,onWindowClose:onWindowClose,children:children}=_ref;return(0,jsx_runtime.jsxs)("div",{className:"window__footer",children:[children,withCloseButton&&onWindowClose&&(0,jsx_runtime.jsx)(DefaultCloseButton,{onClick:onWindowClose,text:"Close"})]})};WindowFooter.displayName="WindowFooter";var window_footer=WindowFooter;try{windowfooter.displayName="windowfooter",windowfooter.__docgenInfo={description:"",displayName:"windowfooter",props:{withCloseButton:{defaultValue:null,description:"",name:"withCloseButton",required:!1,type:{name:"boolean"}},onWindowClose:{defaultValue:null,description:"",name:"onWindowClose",required:!1,type:{name:"(() => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window-footer.tsx#windowfooter"]={docgenInfo:windowfooter.__docgenInfo,name:"windowfooter",path:"src/components/window/window-footer.tsx#windowfooter"})}catch(__react_docgen_typescript_loader_error){}var injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),components_window=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/window.scss"),window_default=__webpack_require__.n(components_window),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(window_default(),options),window_default()&&window_default().locals&&window_default().locals;const Window=_ref=>{let{width:width="50vw",height:height="50vh",title:title,withHeaderCloseButton:withHeaderCloseButton=!1,withFooterCloseButton:withFooterCloseButton=!1,onWindowOpen:onWindowOpen,onWindowClose:onWindowClose,actionButtons:actionButtons,withShadow:withShadow=!1,className:className,children:children}=_ref;const styles={width:width,minHeight:height,top:`calc((80vh - ${height}) / 2)`,left:`calc((100vw - ${width}) / 2)`},cssClasses=classnames_default()("window",className,{"window--with-shadow":!!withShadow});return null==onWindowOpen||onWindowOpen(),(0,jsx_runtime.jsxs)("div",{className:cssClasses,style:styles,children:[title&&(0,jsx_runtime.jsx)(window_header,{title:title,withCloseButton:withHeaderCloseButton,onWindowClose:onWindowClose}),(0,jsx_runtime.jsx)("div",{className:"window__content",children:children}),(withFooterCloseButton||actionButtons)&&(0,jsx_runtime.jsx)(window_footer,{withCloseButton:withFooterCloseButton,onWindowClose:onWindowClose,children:actionButtons&&actionButtons})]})};Window.displayName="Window";var window_window=Window;try{window.displayName="window",window.__docgenInfo={description:"",displayName:"window",props:{width:{defaultValue:{value:"50vw"},description:"",name:"width",required:!1,type:{name:"string"}},height:{defaultValue:{value:"50vh"},description:"",name:"height",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},withHeaderCloseButton:{defaultValue:{value:"false"},description:"",name:"withHeaderCloseButton",required:!1,type:{name:"boolean"}},withFooterCloseButton:{defaultValue:{value:"false"},description:"",name:"withFooterCloseButton",required:!1,type:{name:"boolean"}},onWindowOpen:{defaultValue:null,description:"",name:"onWindowOpen",required:!1,type:{name:"(() => void)"}},onWindowClose:{defaultValue:null,description:"",name:"onWindowClose",required:!1,type:{name:"(() => void)"}},withShadow:{defaultValue:{value:"false"},description:"",name:"withShadow",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},actionButtons:{defaultValue:null,description:"",name:"actionButtons",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/window/window.tsx#window"]={docgenInfo:window.__docgenInfo,name:"window",path:"src/components/window/window.tsx#window"})}catch(__react_docgen_typescript_loader_error){}},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/components/window.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,".window{display:flex;flex-direction:column;border:.1rem solid #161d39}.window--with-shadow{box-shadow:0 .125rem .25rem .3rem rgba(22,29,57,.2)}.window__header{width:100%;height:2rem;color:#fbfeff;background-color:#161d39;font-weight:700;padding:0 .5rem;display:flex;line-height:2rem;justify-content:center;align-items:center}.window__header__title{margin-right:auto}.window__content{width:100%;flex-grow:1;padding:.5rem;background-color:#fbfeff}.window__footer{width:100%;background-color:#fbfeff;display:flex;justify-content:flex-end;padding:.5rem}.window__footer .button{margin-bottom:0;margin-left:.5rem;padding:.5rem 1rem}.window__default-close-button{margin-left:auto}.window__default-close-button--icon-only{width:1rem;height:1rem;background-color:#fbfeff;color:#00639a;cursor:pointer;border-radius:.5rem}","",{version:3,sources:["webpack://./src/styles/components/window.scss","webpack://./src/styles/_mixins.scss","webpack://./colours.json"],names:[],mappings:"AAIA,QACE,YAAA,CACA,qBAAA,CACA,0BAAA,CAEA,qBCSA,mDAAA,CDLA,gBACE,UAAA,CACA,WAAA,CACA,aENQ,CFOR,wBEZW,CFaX,eAAA,CACA,eAAA,CACA,YAAA,CACA,gBAAA,CACA,sBAAA,CACA,kBAAA,CAEA,uBACE,iBAAA,CAIJ,iBACE,UAAA,CACA,WAAA,CACA,aAAA,CACA,wBExBQ,CF2BV,gBACE,UAAA,CACA,wBE7BQ,CF8BR,YAAA,CACA,wBAAA,CACA,aAAA,CAEA,wBACE,eAAA,CACA,iBAAA,CACA,kBAAA,CAIJ,8BACE,gBAAA,CAEA,yCACE,UAAA,CACA,WAAA,CACA,wBE/CM,CFgDN,aEzDK,CF0DL,cAAA,CACA,mBAAA",sourcesContent:["@import '../settings';\n@import '../colours';\n@import '../mixins';\n\n.window {\n display: flex;\n flex-direction: column;\n border: 0.1rem solid $colour-yankees-blue;\n\n &--with-shadow {\n @include box-shadow(0.3rem);\n }\n\n &__header {\n width: 100%;\n height: 2rem;\n color: $colour-sky-white;\n background-color: $colour-yankees-blue;\n font-weight: 700;\n padding: 0 $global-padding * 0.5;\n display: flex;\n line-height: 2rem;\n justify-content: center;\n align-items: center;\n\n &__title {\n margin-right: auto;\n }\n }\n\n &__content {\n width: 100%;\n flex-grow: 1;\n padding: $global-padding * 0.5;\n background-color: $colour-sky-white;\n }\n\n &__footer {\n width: 100%;\n background-color: $colour-sky-white;\n display: flex;\n justify-content: flex-end;\n padding: $global-padding * 0.5;\n\n .button {\n margin-bottom: 0;\n margin-left: $global-padding * 0.5;\n padding: 0.5rem 1rem;\n }\n }\n\n &__default-close-button {\n margin-left: auto;\n\n &--icon-only {\n width: 1rem;\n height: 1rem;\n background-color: $colour-sky-white;\n color: $colour-sea-blue;\n cursor: pointer;\n border-radius: 0.5rem;\n }\n }\n}\n","@use 'sass:math';\n\n@import './settings';\n@import './colours';\n@import './franklin-settings';\n\n@mixin columns($base-class, $number) {\n .#{$base-class}--columns {\n column-count: $number;\n column-width: percentage(math.div(1, $number));\n\n & > * {\n break-inside: avoid;\n }\n }\n}\n\n@mixin box-shadow($spread: 0.125rem) {\n box-shadow: 0 0.125rem 0.25rem $spread rgba($colour-yankees-blue, 0.2);\n}\n\n@mixin fs-breakpoints($size) {\n @if map-has-key($fs-breakpoint-values, $size) {\n @media #{inspect(map-get($fs-breakpoint-values, $size))} {\n @content;\n }\n }\n}\n\n@mixin ellipsis() {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n","$sapphire-blue: #014371;\n$sea-blue: #00639a;\n$vivid-cerulean: #00a6d5;\n$medium-turquoise: #46d6fa;\n$gainsborough: #d2dce3;\n$yankees-blue: #161d39;\n$independence: #4e5a71;\n$weldon-blue: #8194a1;\n$pastel-blue: #abc7d6;\n$platinum: #e4e8eb;\n$sky-white: #fbfeff;\n$bronze: #a65708;\n$reviewed: #c39b00;\n$unreviewed: #c0c0c0;\n$uniref: #f2994c;\n$uniparc: #88c19d;\n$proteomes: #e56358;\n$reference-proteome: #9d4a4d;\n$peptide-search: #A748BD;\n$id-mapping: #357B92;\n$blast: #00A6D5;\n$align: #B8CE48;\n$warning: #ffcc33;\n$failure: #f36968;\n$success: #108f3b;\n$info: #79cbf8;\n$help-green: #28aa50;\n$coyote-brown: #966336;\n$outer-space: #374343;\n$tool-results: #622E81;"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___}}]); \ No newline at end of file diff --git a/Window-stories.8feb75eb.iframe.bundle.js.br b/Window-stories.8feb75eb.iframe.bundle.js.br deleted file mode 100644 index ec030487..00000000 Binary files a/Window-stories.8feb75eb.iframe.bundle.js.br and /dev/null differ diff --git a/Window-stories.8feb75eb.iframe.bundle.js.gz b/Window-stories.8feb75eb.iframe.bundle.js.gz deleted file mode 100644 index 6a718865..00000000 Binary files a/Window-stories.8feb75eb.iframe.bundle.js.gz and /dev/null differ diff --git a/iframe.html b/iframe.html index 98168a9c..99727cb0 100644 --- a/iframe.html +++ b/iframe.html @@ -348,8 +348,8 @@ window['DOCS_OPTIONS'] = {"defaultName":"Docs","autodocs":"tag"}; \ No newline at end of file + import './main.4ec80f52.iframe.bundle.js'; \ No newline at end of file diff --git a/iframe.html.br b/iframe.html.br index e81b10a3..8b028149 100644 Binary files a/iframe.html.br and b/iframe.html.br differ diff --git a/iframe.html.gz b/iframe.html.gz index 7a296d33..95ccca70 100644 Binary files a/iframe.html.gz and b/iframe.html.gz differ diff --git a/main.330763f8.iframe.bundle.js.br b/main.330763f8.iframe.bundle.js.br deleted file mode 100644 index 5f070459..00000000 Binary files a/main.330763f8.iframe.bundle.js.br and /dev/null differ diff --git a/main.330763f8.iframe.bundle.js.gz b/main.330763f8.iframe.bundle.js.gz deleted file mode 100644 index e624d59f..00000000 Binary files a/main.330763f8.iframe.bundle.js.gz and /dev/null differ diff --git a/main.330763f8.iframe.bundle.js b/main.4ec80f52.iframe.bundle.js similarity index 98% rename from main.330763f8.iframe.bundle.js rename to main.4ec80f52.iframe.bundle.js index 74bef4af..bc39a40b 100644 --- a/main.330763f8.iframe.bundle.js +++ b/main.4ec80f52.iframe.bundle.js @@ -1 +1 @@ -(self.webpackChunkfranklin_sites=self.webpackChunkfranklin_sites||[]).push([[8792],{"./node_modules/@storybook/addon-interactions/dist sync recursive":function(module){function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=function(){return[]},webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/addon-interactions/dist sync recursive",module.exports=webpackEmptyContext},"./storybook-config-entry.js":function(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__){"use strict";var external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_CHANNELS_=__webpack_require__("@storybook/channels");const importers=[async path=>{if(!/^\.[\\/](?:stories(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.stories\.tsx)$/.exec(path))return;const pathRemainder=path.substring(10);return __webpack_require__("./stories lazy recursive ^\\.\\/.*$ include: (?:\\/stories(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.tsx)$")("./"+pathRemainder)}];const channel=(0,external_STORYBOOK_MODULE_CHANNELS_.createBrowserChannel)({page:"preview"});external_STORYBOOK_MODULE_PREVIEW_API_.addons.setChannel(channel),"DEVELOPMENT"===external_STORYBOOK_MODULE_GLOBAL_.global.CONFIG_TYPE&&(window.__STORYBOOK_SERVER_CHANNEL__=channel);const preview=new external_STORYBOOK_MODULE_PREVIEW_API_.PreviewWeb;window.__STORYBOOK_PREVIEW__=preview,window.__STORYBOOK_STORY_STORE__=preview.storyStore,window.__STORYBOOK_ADDONS_CHANNEL__=channel,window.__STORYBOOK_CLIENT_API__=new external_STORYBOOK_MODULE_PREVIEW_API_.ClientApi({storyStore:preview.storyStore}),preview.initialize({importFn:async function importFn(path){for(let i=0;iimporters[i](path),x());if(moduleExports)return moduleExports}var x},getProjectAnnotations:()=>(0,external_STORYBOOK_MODULE_PREVIEW_API_.composeConfigs)([__webpack_require__("./node_modules/@storybook/react/dist/entry-preview.mjs"),__webpack_require__("./node_modules/@storybook/react/dist/entry-preview-docs.mjs"),__webpack_require__("./node_modules/@storybook/addon-links/dist/preview.js"),__webpack_require__("./node_modules/@storybook/addon-essentials/dist/docs/preview.js"),__webpack_require__("./node_modules/@storybook/addon-essentials/dist/actions/preview.js"),__webpack_require__("./node_modules/@storybook/addon-essentials/dist/backgrounds/preview.js"),__webpack_require__("./node_modules/@storybook/addon-essentials/dist/measure/preview.js"),__webpack_require__("./node_modules/@storybook/addon-essentials/dist/outline/preview.js"),__webpack_require__("./node_modules/@storybook/addon-essentials/dist/highlight/preview.js"),__webpack_require__("./node_modules/@storybook/addon-interactions/dist/preview.js"),__webpack_require__("./.storybook/preview.js")])})},"./.storybook/preview.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{decorators:function(){return decorators},parameters:function(){return parameters}});__webpack_require__("./node_modules/react/index.js");var franklin_theme=(0,__webpack_require__("./node_modules/@storybook/theming/dist/chunk-ZGA76URP.mjs").vt)({base:"light",colorPrimary:"#93d4ee",colorSecondary:"#006e9a",appBg:"white",appContentBg:"#f1f1f1",appBorderColor:"grey",appBorderRadius:4,fontBase:'Lato, "Open Sans", sans-serif',fontCode:"monospace",textColor:"black",textInverseColor:"rgba(255,255,255,1)",barTextColor:"#fefefe",barSelectedColor:"#f0f0f0",barBg:"#006e9a",inputBg:"white",inputBorder:"silver",inputTextColor:"black",inputBorderRadius:4,brandTitle:"Franklin",brandUrl:"https://ebi-uniprot.github.io/franklin-sites",brandImage:"https://raw.githubusercontent.com/ebi-uniprot/franklin-sites/main/assets/franklin_logo.svg"}),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),styles=__webpack_require__("./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/index.scss"),styles_default=__webpack_require__.n(styles),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(styles_default(),options),styles_default()&&styles_default().locals&&styles_default().locals;var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");const parameters={docs:{theme:franklin_theme},options:{storySort:{method:"alphabetical"}}},decorators=[storyFn=>(0,jsx_runtime.jsx)("div",{style:{padding:"2rem 10rem"},children:storyFn()})]},"./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[15].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[15].use[2]!./src/styles/index.scss":function(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,'html{--top-header-margin: 55px}@media(min-width: 1024px){html{--top-header-margin: 70px}}/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:rgba(0,0,0,0)}abbr[title]{border-bottom:0;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}[data-whatintent=mouse] *,[data-whatintent=mouse] *:focus,[data-whatintent=touch] *,[data-whatintent=touch] *:focus,[data-whatinput=mouse] *,[data-whatinput=mouse] *:focus,[data-whatinput=touch] *,[data-whatinput=touch] *:focus{outline:none}[draggable=false]{-webkit-touch-callout:none;-webkit-user-select:none}.foundation-mq{font-family:"small=0em&medium=40em&large=64em&xlarge=75em&xxlarge=90em"}html{box-sizing:border-box;font-size:100%}*,*::before,*::after{box-sizing:inherit}body{margin:0;padding:0;background:#fefefe;font-family:Lato,Helvetica,Roboto,Arial,sans-serif;font-weight:normal;line-height:1.5;color:#0a0a0a;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}img{display:inline-block;vertical-align:middle;max-width:100%;height:auto;-ms-interpolation-mode:bicubic}textarea{height:auto;min-height:50px;border-radius:0}select{box-sizing:border-box;width:100%;border-radius:0}.map_canvas img,.map_canvas embed,.map_canvas object,.mqa-display img,.mqa-display embed,.mqa-display object{max-width:none !important}button{padding:0;appearance:none;border:0;border-radius:0;background:rgba(0,0,0,0);line-height:1;cursor:auto}[data-whatinput=mouse] button{outline:0}pre{overflow:auto;-webkit-overflow-scrolling:touch}button,input,optgroup,select,textarea{font-family:inherit}.is-visible{display:block !important}.is-hidden{display:none !important}[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=month],[type=week],[type=email],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=color],textarea{display:block;box-sizing:border-box;width:100%;height:2.4375rem;margin:0 0 1rem;padding:.5rem;border:1px solid #cacaca;border-radius:0;background-color:#fefefe;box-shadow:inset 0 1px 2px rgba(10,10,10,.1);font-family:inherit;font-size:1rem;font-weight:normal;line-height:1.5;color:#0a0a0a;transition:box-shadow .5s,border-color .25s ease-in-out;appearance:none}[type=text]:focus,[type=password]:focus,[type=date]:focus,[type=datetime]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=week]:focus,[type=email]:focus,[type=number]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=url]:focus,[type=color]:focus,textarea:focus{outline:none;border:1px solid #8a8a8a;background-color:#fefefe;box-shadow:0 0 5px #cacaca;transition:box-shadow .5s,border-color .25s ease-in-out}textarea{max-width:100%}textarea[rows]{height:auto}input:disabled,input[readonly],textarea:disabled,textarea[readonly]{background-color:#e6e6e6;cursor:not-allowed}[type=submit],[type=button]{appearance:none;border-radius:0}input[type=search]{box-sizing:border-box}::placeholder{color:#cacaca}[type=file],[type=checkbox],[type=radio]{margin:0 0 1rem}[type=checkbox]+label,[type=radio]+label{display:inline-block;vertical-align:baseline;margin-left:.5rem;margin-right:1rem;margin-bottom:0}[type=checkbox]+label[for],[type=radio]+label[for]{cursor:pointer}label>[type=checkbox],label>[type=radio]{margin-right:.5rem}[type=file]{width:100%}label{display:block;margin:0;font-size:.875rem;font-weight:normal;line-height:1.8;color:#0a0a0a}label.middle{margin:0 0 1rem;line-height:1.5;padding:.5625rem 0}.help-text{margin-top:-0.5rem;font-size:.8125rem;font-style:italic;color:#0a0a0a}.input-group{display:flex;width:100%;margin-bottom:1rem;align-items:stretch}.input-group>:first-child,.input-group>:first-child.input-group-button>*{border-radius:0 0 0 0}.input-group>:last-child,.input-group>:last-child.input-group-button>*{border-radius:0 0 0 0}.input-group-button a,.input-group-button input,.input-group-button button,.input-group-button label,.input-group-button,.input-group-field,.input-group-label{margin:0;white-space:nowrap}.input-group-label{padding:0 1rem;border:1px solid #cacaca;background:#e6e6e6;color:#0a0a0a;text-align:center;white-space:nowrap;display:flex;flex:0 0 auto;align-items:center}.input-group-label:first-child{border-right:0}.input-group-label:last-child{border-left:0}.input-group-field{border-radius:0;flex:1 1 0px;min-width:0}.input-group-button{padding-top:0;padding-bottom:0;text-align:center;display:flex;flex:0 0 auto}.input-group-button a,.input-group-button input,.input-group-button button,.input-group-button label{align-self:stretch;height:auto;padding-top:0;padding-bottom:0;font-size:1rem}fieldset{margin:0;padding:0;border:0}legend{max-width:100%;margin-bottom:.5rem}.fieldset{margin:1.125rem 0;padding:1.25rem;border:1px solid #cacaca}.fieldset legend{margin:0;margin-left:-.1875rem;padding:0 .1875rem}select{height:2.4375rem;margin:0 0 1rem;padding:.5rem;appearance:none;border:1px solid #cacaca;border-radius:0;background-color:#fefefe;font-family:inherit;font-size:1rem;font-weight:normal;line-height:1.5;color:#0a0a0a;background-image:url(\'data:image/svg+xml;utf8,\');background-origin:content-box;background-position:right -1rem center;background-repeat:no-repeat;background-size:9px 6px;padding-right:1.5rem;transition:box-shadow .5s,border-color .25s ease-in-out}@media screen and (min-width: 0\\0 ){select{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAYCAYAAACbU/80AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIpJREFUeNrEkckNgDAMBBfRkEt0ObRBBdsGXUDgmQfK4XhH2m8czQAAy27R3tsw4Qfe2x8uOO6oYLb6GlOor3GF+swURAOmUJ+RwtEJs9WvTGEYxBXqI1MQAZhCfUQKRzDMVj+TwrAIV6jvSUEkYAr1LSkcyTBb/V+KYfX7xAeusq3sLDtGH3kEGACPWIflNZfhRQAAAABJRU5ErkJggg==")}}select:focus{outline:none;border:1px solid #8a8a8a;background-color:#fefefe;box-shadow:0 0 5px #cacaca;transition:box-shadow .5s,border-color .25s ease-in-out}select:disabled{background-color:#e6e6e6;cursor:not-allowed}select::-ms-expand{display:none}select[multiple]{height:auto;background-image:none}select:not([multiple]){padding-top:0;padding-bottom:0}.is-invalid-input:not(:focus){border-color:#cc4b37;background-color:#f9ecea}.is-invalid-input:not(:focus)::placeholder{color:#cc4b37}.is-invalid-label{color:#cc4b37}.form-error{display:none;margin-top:-0.5rem;margin-bottom:1rem;font-size:.75rem;font-weight:bold;color:#cc4b37}.form-error.is-visible{display:block}.button{display:inline-block;vertical-align:middle;margin:0 0 1rem 0;padding:.85em 1em;border:1px solid rgba(0,0,0,0);border-radius:0;transition:background-color .25s ease-out,color .25s ease-out;font-family:inherit;font-size:.9rem;-webkit-appearance:none;line-height:1;text-align:center;cursor:pointer}[data-whatinput=mouse] .button{outline:0}.button.tiny{font-size:.6rem}.button.small{font-size:.75rem}.button.large{font-size:1.25rem}.button.expanded{display:block;width:100%;margin-right:0;margin-left:0}.button,.button.disabled,.button[disabled],.button.disabled:hover,.button[disabled]:hover,.button.disabled:focus,.button[disabled]:focus{background-color:#1779ba;color:#fefefe}.button:hover,.button:focus{background-color:#14679e;color:#fefefe}.button.primary,.button.primary.disabled,.button.primary[disabled],.button.primary.disabled:hover,.button.primary[disabled]:hover,.button.primary.disabled:focus,.button.primary[disabled]:focus{background-color:#1779ba;color:#fefefe}.button.primary:hover,.button.primary:focus{background-color:#126195;color:#fefefe}.button.secondary,.button.secondary.disabled,.button.secondary[disabled],.button.secondary.disabled:hover,.button.secondary[disabled]:hover,.button.secondary.disabled:focus,.button.secondary[disabled]:focus{background-color:#fff;color:#0a0a0a}.button.secondary:hover,.button.secondary:focus{background-color:#ccc;color:#0a0a0a}.button.success,.button.success.disabled,.button.success[disabled],.button.success.disabled:hover,.button.success[disabled]:hover,.button.success.disabled:focus,.button.success[disabled]:focus{background-color:#3adb76;color:#0a0a0a}.button.success:hover,.button.success:focus{background-color:#22bb5b;color:#0a0a0a}.button.warning,.button.warning.disabled,.button.warning[disabled],.button.warning.disabled:hover,.button.warning[disabled]:hover,.button.warning.disabled:focus,.button.warning[disabled]:focus{background-color:#ffae00;color:#0a0a0a}.button.warning:hover,.button.warning:focus{background-color:#cc8b00;color:#0a0a0a}.button.alert,.button.alert.disabled,.button.alert[disabled],.button.alert.disabled:hover,.button.alert[disabled]:hover,.button.alert.disabled:focus,.button.alert[disabled]:focus{background-color:#cc4b37;color:#fefefe}.button.alert:hover,.button.alert:focus{background-color:#a53b2a;color:#fefefe}.button.hollow,.button.hollow:hover,.button.hollow:focus,.button.hollow.disabled,.button.hollow.disabled:hover,.button.hollow.disabled:focus,.button.hollow[disabled],.button.hollow[disabled]:hover,.button.hollow[disabled]:focus{background-color:rgba(0,0,0,0)}.button.hollow,.button.hollow.disabled,.button.hollow[disabled],.button.hollow.disabled:hover,.button.hollow[disabled]:hover,.button.hollow.disabled:focus,.button.hollow[disabled]:focus{border:1px solid #1779ba;color:#1779ba}.button.hollow:hover,.button.hollow:focus{border-color:#0c3d5d;color:#0c3d5d}.button.hollow.primary,.button.hollow.primary.disabled,.button.hollow.primary[disabled],.button.hollow.primary.disabled:hover,.button.hollow.primary[disabled]:hover,.button.hollow.primary.disabled:focus,.button.hollow.primary[disabled]:focus{border:1px solid #1779ba;color:#1779ba}.button.hollow.primary:hover,.button.hollow.primary:focus{border-color:#0c3d5d;color:#0c3d5d}.button.hollow.secondary,.button.hollow.secondary.disabled,.button.hollow.secondary[disabled],.button.hollow.secondary.disabled:hover,.button.hollow.secondary[disabled]:hover,.button.hollow.secondary.disabled:focus,.button.hollow.secondary[disabled]:focus{border:1px solid #fff;color:#fff}.button.hollow.secondary:hover,.button.hollow.secondary:focus{border-color:gray;color:gray}.button.hollow.success,.button.hollow.success.disabled,.button.hollow.success[disabled],.button.hollow.success.disabled:hover,.button.hollow.success[disabled]:hover,.button.hollow.success.disabled:focus,.button.hollow.success[disabled]:focus{border:1px solid #3adb76;color:#3adb76}.button.hollow.success:hover,.button.hollow.success:focus{border-color:#157539;color:#157539}.button.hollow.warning,.button.hollow.warning.disabled,.button.hollow.warning[disabled],.button.hollow.warning.disabled:hover,.button.hollow.warning[disabled]:hover,.button.hollow.warning.disabled:focus,.button.hollow.warning[disabled]:focus{border:1px solid #ffae00;color:#ffae00}.button.hollow.warning:hover,.button.hollow.warning:focus{border-color:#805700;color:#805700}.button.hollow.alert,.button.hollow.alert.disabled,.button.hollow.alert[disabled],.button.hollow.alert.disabled:hover,.button.hollow.alert[disabled]:hover,.button.hollow.alert.disabled:focus,.button.hollow.alert[disabled]:focus{border:1px solid #cc4b37;color:#cc4b37}.button.hollow.alert:hover,.button.hollow.alert:focus{border-color:#67251a;color:#67251a}.button.clear,.button.clear:hover,.button.clear:focus,.button.clear.disabled,.button.clear.disabled:hover,.button.clear.disabled:focus,.button.clear[disabled],.button.clear[disabled]:hover,.button.clear[disabled]:focus{border-color:rgba(0,0,0,0);background-color:rgba(0,0,0,0)}.button.clear,.button.clear.disabled,.button.clear[disabled],.button.clear.disabled:hover,.button.clear[disabled]:hover,.button.clear.disabled:focus,.button.clear[disabled]:focus{color:#1779ba}.button.clear:hover,.button.clear:focus{color:#0c3d5d}.button.clear.primary,.button.clear.primary.disabled,.button.clear.primary[disabled],.button.clear.primary.disabled:hover,.button.clear.primary[disabled]:hover,.button.clear.primary.disabled:focus,.button.clear.primary[disabled]:focus{color:#1779ba}.button.clear.primary:hover,.button.clear.primary:focus{color:#0c3d5d}.button.clear.secondary,.button.clear.secondary.disabled,.button.clear.secondary[disabled],.button.clear.secondary.disabled:hover,.button.clear.secondary[disabled]:hover,.button.clear.secondary.disabled:focus,.button.clear.secondary[disabled]:focus{color:#fff}.button.clear.secondary:hover,.button.clear.secondary:focus{color:gray}.button.clear.success,.button.clear.success.disabled,.button.clear.success[disabled],.button.clear.success.disabled:hover,.button.clear.success[disabled]:hover,.button.clear.success.disabled:focus,.button.clear.success[disabled]:focus{color:#3adb76}.button.clear.success:hover,.button.clear.success:focus{color:#157539}.button.clear.warning,.button.clear.warning.disabled,.button.clear.warning[disabled],.button.clear.warning.disabled:hover,.button.clear.warning[disabled]:hover,.button.clear.warning.disabled:focus,.button.clear.warning[disabled]:focus{color:#ffae00}.button.clear.warning:hover,.button.clear.warning:focus{color:#805700}.button.clear.alert,.button.clear.alert.disabled,.button.clear.alert[disabled],.button.clear.alert.disabled:hover,.button.clear.alert[disabled]:hover,.button.clear.alert.disabled:focus,.button.clear.alert[disabled]:focus{color:#cc4b37}.button.clear.alert:hover,.button.clear.alert:focus{color:#67251a}.button.disabled,.button[disabled]{opacity:.25;cursor:not-allowed}.button.dropdown::after{display:block;width:0;height:0;border-style:solid;border-width:.4em;content:"";border-bottom-width:0;border-color:#fefefe rgba(0,0,0,0) rgba(0,0,0,0);position:relative;top:.4em;display:inline-block;float:right;margin-left:1em}.button.dropdown.hollow::after,.button.dropdown.clear::after{border-top-color:#1779ba}.button.dropdown.hollow.primary::after,.button.dropdown.clear.primary::after{border-top-color:#1779ba}.button.dropdown.hollow.secondary::after,.button.dropdown.clear.secondary::after{border-top-color:#fff}.button.dropdown.hollow.success::after,.button.dropdown.clear.success::after{border-top-color:#3adb76}.button.dropdown.hollow.warning::after,.button.dropdown.clear.warning::after{border-top-color:#ffae00}.button.dropdown.hollow.alert::after,.button.dropdown.clear.alert::after{border-top-color:#cc4b37}.button.arrow-only::after{top:-0.1em;float:none;margin-left:0}a.button:hover,a.button:focus{text-decoration:none}.button-group{margin-bottom:1rem;display:flex;flex-wrap:wrap;align-items:stretch;flex-grow:1}.button-group::before,.button-group::after{display:table;content:" ";flex-basis:0;order:1}.button-group::after{clear:both}.button-group::before,.button-group::after{display:none}.button-group .button{margin:0;margin-right:1px;margin-bottom:1px;font-size:.9rem;flex:0 0 auto}.button-group .button:last-child{margin-right:0}.button-group.tiny .button{font-size:.6rem}.button-group.small .button{font-size:.75rem}.button-group.large .button{font-size:1.25rem}.button-group.expanded .button{flex:1 1 0px}.button-group.primary .button,.button-group.primary .button.disabled,.button-group.primary .button[disabled],.button-group.primary .button.disabled:hover,.button-group.primary .button[disabled]:hover,.button-group.primary .button.disabled:focus,.button-group.primary .button[disabled]:focus{background-color:#1779ba;color:#fefefe}.button-group.primary .button:hover,.button-group.primary .button:focus{background-color:#126195;color:#fefefe}.button-group.secondary .button,.button-group.secondary .button.disabled,.button-group.secondary .button[disabled],.button-group.secondary .button.disabled:hover,.button-group.secondary .button[disabled]:hover,.button-group.secondary .button.disabled:focus,.button-group.secondary .button[disabled]:focus{background-color:#fff;color:#0a0a0a}.button-group.secondary .button:hover,.button-group.secondary .button:focus{background-color:#ccc;color:#0a0a0a}.button-group.success .button,.button-group.success .button.disabled,.button-group.success .button[disabled],.button-group.success .button.disabled:hover,.button-group.success .button[disabled]:hover,.button-group.success .button.disabled:focus,.button-group.success .button[disabled]:focus{background-color:#3adb76;color:#0a0a0a}.button-group.success .button:hover,.button-group.success .button:focus{background-color:#22bb5b;color:#0a0a0a}.button-group.warning .button,.button-group.warning .button.disabled,.button-group.warning .button[disabled],.button-group.warning .button.disabled:hover,.button-group.warning .button[disabled]:hover,.button-group.warning .button.disabled:focus,.button-group.warning .button[disabled]:focus{background-color:#ffae00;color:#0a0a0a}.button-group.warning .button:hover,.button-group.warning .button:focus{background-color:#cc8b00;color:#0a0a0a}.button-group.alert .button,.button-group.alert .button.disabled,.button-group.alert .button[disabled],.button-group.alert .button.disabled:hover,.button-group.alert .button[disabled]:hover,.button-group.alert .button.disabled:focus,.button-group.alert .button[disabled]:focus{background-color:#cc4b37;color:#fefefe}.button-group.alert .button:hover,.button-group.alert .button:focus{background-color:#a53b2a;color:#fefefe}.button-group.hollow .button,.button-group.hollow .button:hover,.button-group.hollow .button:focus,.button-group.hollow .button.disabled,.button-group.hollow .button.disabled:hover,.button-group.hollow .button.disabled:focus,.button-group.hollow .button[disabled],.button-group.hollow .button[disabled]:hover,.button-group.hollow .button[disabled]:focus{background-color:rgba(0,0,0,0)}.button-group.hollow .button,.button-group.hollow .button.disabled,.button-group.hollow .button[disabled],.button-group.hollow .button.disabled:hover,.button-group.hollow .button[disabled]:hover,.button-group.hollow .button.disabled:focus,.button-group.hollow .button[disabled]:focus{border:1px solid #1779ba;color:#1779ba}.button-group.hollow .button:hover,.button-group.hollow .button:focus{border-color:#0c3d5d;color:#0c3d5d}.button-group.hollow.primary .button,.button-group.hollow.primary .button.disabled,.button-group.hollow.primary .button[disabled],.button-group.hollow.primary .button.disabled:hover,.button-group.hollow.primary .button[disabled]:hover,.button-group.hollow.primary .button.disabled:focus,.button-group.hollow.primary .button[disabled]:focus,.button-group.hollow .button.primary,.button-group.hollow .button.primary.disabled,.button-group.hollow .button.primary[disabled],.button-group.hollow .button.primary.disabled:hover,.button-group.hollow .button.primary[disabled]:hover,.button-group.hollow .button.primary.disabled:focus,.button-group.hollow .button.primary[disabled]:focus{border:1px solid #1779ba;color:#1779ba}.button-group.hollow.primary .button:hover,.button-group.hollow.primary .button:focus,.button-group.hollow .button.primary:hover,.button-group.hollow .button.primary:focus{border-color:#0c3d5d;color:#0c3d5d}.button-group.hollow.secondary .button,.button-group.hollow.secondary .button.disabled,.button-group.hollow.secondary .button[disabled],.button-group.hollow.secondary .button.disabled:hover,.button-group.hollow.secondary .button[disabled]:hover,.button-group.hollow.secondary .button.disabled:focus,.button-group.hollow.secondary .button[disabled]:focus,.button-group.hollow .button.secondary,.button-group.hollow .button.secondary.disabled,.button-group.hollow .button.secondary[disabled],.button-group.hollow .button.secondary.disabled:hover,.button-group.hollow .button.secondary[disabled]:hover,.button-group.hollow .button.secondary.disabled:focus,.button-group.hollow .button.secondary[disabled]:focus{border:1px solid #fff;color:#fff}.button-group.hollow.secondary .button:hover,.button-group.hollow.secondary .button:focus,.button-group.hollow .button.secondary:hover,.button-group.hollow .button.secondary:focus{border-color:gray;color:gray}.button-group.hollow.success .button,.button-group.hollow.success .button.disabled,.button-group.hollow.success .button[disabled],.button-group.hollow.success .button.disabled:hover,.button-group.hollow.success .button[disabled]:hover,.button-group.hollow.success .button.disabled:focus,.button-group.hollow.success .button[disabled]:focus,.button-group.hollow .button.success,.button-group.hollow .button.success.disabled,.button-group.hollow .button.success[disabled],.button-group.hollow .button.success.disabled:hover,.button-group.hollow .button.success[disabled]:hover,.button-group.hollow .button.success.disabled:focus,.button-group.hollow .button.success[disabled]:focus{border:1px solid #3adb76;color:#3adb76}.button-group.hollow.success .button:hover,.button-group.hollow.success .button:focus,.button-group.hollow .button.success:hover,.button-group.hollow .button.success:focus{border-color:#157539;color:#157539}.button-group.hollow.warning .button,.button-group.hollow.warning .button.disabled,.button-group.hollow.warning .button[disabled],.button-group.hollow.warning .button.disabled:hover,.button-group.hollow.warning .button[disabled]:hover,.button-group.hollow.warning .button.disabled:focus,.button-group.hollow.warning .button[disabled]:focus,.button-group.hollow .button.warning,.button-group.hollow .button.warning.disabled,.button-group.hollow .button.warning[disabled],.button-group.hollow .button.warning.disabled:hover,.button-group.hollow .button.warning[disabled]:hover,.button-group.hollow .button.warning.disabled:focus,.button-group.hollow .button.warning[disabled]:focus{border:1px solid #ffae00;color:#ffae00}.button-group.hollow.warning .button:hover,.button-group.hollow.warning .button:focus,.button-group.hollow .button.warning:hover,.button-group.hollow .button.warning:focus{border-color:#805700;color:#805700}.button-group.hollow.alert .button,.button-group.hollow.alert .button.disabled,.button-group.hollow.alert .button[disabled],.button-group.hollow.alert .button.disabled:hover,.button-group.hollow.alert .button[disabled]:hover,.button-group.hollow.alert .button.disabled:focus,.button-group.hollow.alert .button[disabled]:focus,.button-group.hollow .button.alert,.button-group.hollow .button.alert.disabled,.button-group.hollow .button.alert[disabled],.button-group.hollow .button.alert.disabled:hover,.button-group.hollow .button.alert[disabled]:hover,.button-group.hollow .button.alert.disabled:focus,.button-group.hollow .button.alert[disabled]:focus{border:1px solid #cc4b37;color:#cc4b37}.button-group.hollow.alert .button:hover,.button-group.hollow.alert .button:focus,.button-group.hollow .button.alert:hover,.button-group.hollow .button.alert:focus{border-color:#67251a;color:#67251a}.button-group.clear .button,.button-group.clear .button:hover,.button-group.clear .button:focus,.button-group.clear .button.disabled,.button-group.clear .button.disabled:hover,.button-group.clear .button.disabled:focus,.button-group.clear .button[disabled],.button-group.clear .button[disabled]:hover,.button-group.clear .button[disabled]:focus{border-color:rgba(0,0,0,0);background-color:rgba(0,0,0,0)}.button-group.clear .button,.button-group.clear .button.disabled,.button-group.clear .button[disabled],.button-group.clear .button.disabled:hover,.button-group.clear .button[disabled]:hover,.button-group.clear .button.disabled:focus,.button-group.clear .button[disabled]:focus{color:#1779ba}.button-group.clear .button:hover,.button-group.clear .button:focus{color:#0c3d5d}.button-group.clear.primary .button,.button-group.clear.primary .button.disabled,.button-group.clear.primary .button[disabled],.button-group.clear.primary .button.disabled:hover,.button-group.clear.primary .button[disabled]:hover,.button-group.clear.primary .button.disabled:focus,.button-group.clear.primary .button[disabled]:focus,.button-group.clear .button.primary,.button-group.clear .button.primary.disabled,.button-group.clear .button.primary[disabled],.button-group.clear .button.primary.disabled:hover,.button-group.clear .button.primary[disabled]:hover,.button-group.clear .button.primary.disabled:focus,.button-group.clear .button.primary[disabled]:focus{color:#1779ba}.button-group.clear.primary .button:hover,.button-group.clear.primary .button:focus,.button-group.clear .button.primary:hover,.button-group.clear .button.primary:focus{color:#0c3d5d}.button-group.clear.secondary .button,.button-group.clear.secondary .button.disabled,.button-group.clear.secondary .button[disabled],.button-group.clear.secondary .button.disabled:hover,.button-group.clear.secondary .button[disabled]:hover,.button-group.clear.secondary .button.disabled:focus,.button-group.clear.secondary .button[disabled]:focus,.button-group.clear .button.secondary,.button-group.clear .button.secondary.disabled,.button-group.clear .button.secondary[disabled],.button-group.clear .button.secondary.disabled:hover,.button-group.clear .button.secondary[disabled]:hover,.button-group.clear .button.secondary.disabled:focus,.button-group.clear .button.secondary[disabled]:focus{color:#fff}.button-group.clear.secondary .button:hover,.button-group.clear.secondary .button:focus,.button-group.clear .button.secondary:hover,.button-group.clear .button.secondary:focus{color:gray}.button-group.clear.success .button,.button-group.clear.success .button.disabled,.button-group.clear.success .button[disabled],.button-group.clear.success .button.disabled:hover,.button-group.clear.success .button[disabled]:hover,.button-group.clear.success .button.disabled:focus,.button-group.clear.success .button[disabled]:focus,.button-group.clear .button.success,.button-group.clear .button.success.disabled,.button-group.clear .button.success[disabled],.button-group.clear .button.success.disabled:hover,.button-group.clear .button.success[disabled]:hover,.button-group.clear .button.success.disabled:focus,.button-group.clear .button.success[disabled]:focus{color:#3adb76}.button-group.clear.success .button:hover,.button-group.clear.success .button:focus,.button-group.clear .button.success:hover,.button-group.clear .button.success:focus{color:#157539}.button-group.clear.warning .button,.button-group.clear.warning .button.disabled,.button-group.clear.warning .button[disabled],.button-group.clear.warning .button.disabled:hover,.button-group.clear.warning .button[disabled]:hover,.button-group.clear.warning .button.disabled:focus,.button-group.clear.warning .button[disabled]:focus,.button-group.clear .button.warning,.button-group.clear .button.warning.disabled,.button-group.clear .button.warning[disabled],.button-group.clear .button.warning.disabled:hover,.button-group.clear .button.warning[disabled]:hover,.button-group.clear .button.warning.disabled:focus,.button-group.clear .button.warning[disabled]:focus{color:#ffae00}.button-group.clear.warning .button:hover,.button-group.clear.warning .button:focus,.button-group.clear .button.warning:hover,.button-group.clear .button.warning:focus{color:#805700}.button-group.clear.alert .button,.button-group.clear.alert .button.disabled,.button-group.clear.alert .button[disabled],.button-group.clear.alert .button.disabled:hover,.button-group.clear.alert .button[disabled]:hover,.button-group.clear.alert .button.disabled:focus,.button-group.clear.alert .button[disabled]:focus,.button-group.clear .button.alert,.button-group.clear .button.alert.disabled,.button-group.clear .button.alert[disabled],.button-group.clear .button.alert.disabled:hover,.button-group.clear .button.alert[disabled]:hover,.button-group.clear .button.alert.disabled:focus,.button-group.clear .button.alert[disabled]:focus{color:#cc4b37}.button-group.clear.alert .button:hover,.button-group.clear.alert .button:focus,.button-group.clear .button.alert:hover,.button-group.clear .button.alert:focus{color:#67251a}.button-group.no-gaps .button{margin-right:-.0625rem}.button-group.no-gaps .button+.button{border-left-color:rgba(0,0,0,0)}.button-group.stacked,.button-group.stacked-for-small,.button-group.stacked-for-medium{flex-wrap:wrap}.button-group.stacked .button,.button-group.stacked-for-small .button,.button-group.stacked-for-medium .button{flex:0 0 100%}.button-group.stacked .button:last-child,.button-group.stacked-for-small .button:last-child,.button-group.stacked-for-medium .button:last-child{margin-bottom:0}.button-group.stacked.expanded .button,.button-group.stacked-for-small.expanded .button,.button-group.stacked-for-medium.expanded .button{flex:1 1 0px}@media print,screen and (min-width: 40em){.button-group.stacked-for-small .button{flex:0 0 auto;margin-bottom:0}}@media print,screen and (min-width: 64em){.button-group.stacked-for-medium .button{flex:0 0 auto;margin-bottom:0}}@media print,screen and (max-width: 39.99875em){.button-group.stacked-for-small.expanded{display:block}.button-group.stacked-for-small.expanded .button{display:block;margin-right:0}}@media print,screen and (max-width: 63.99875em){.button-group.stacked-for-medium.expanded{display:block}.button-group.stacked-for-medium.expanded .button{display:block;margin-right:0}}html{box-sizing:border-box}*,*:before,*:after{margin:0;padding:0;box-sizing:inherit}*{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,th,td{margin:0;padding:0}select{appearance:none;-moz-appearance:none;-webkit-appearance:none}.action-bar{display:flex;justify-content:flex-end}.colour-sapphire-blue{background:#014371;color:#fbfeff}.colour-sea-blue{background:#00639a;color:#fbfeff}.colour-vivid-cerulean{background:#00a6d5;color:#fbfeff}.colour-medium-turquoise{background:#46d6fa;color:#161d39}.colour-gainsborough{background:#d2dce3;color:#161d39}.colour-yankees-blue{background:#161d39;color:#fbfeff}.colour-independence{background:#4e5a71;color:#fbfeff}.colour-weldon-blue{background:#8194a1;color:#fbfeff}.colour-pastel-blue{background:#abc7d6;color:#161d39}.colour-platinum{background:#e4e8eb;color:#161d39}.colour-sky-white{background:#fbfeff;color:#161d39}.colour-reviewed{background:#c39b00;color:#161d39}.colour-unreviewed{background:silver;color:#161d39}.colour-uniref{background:#f2994c;color:#161d39}.colour-uniparc{background:#88c19d;color:#161d39}.colour-proteomes{background:#e56358;color:#fbfeff}.colour-peptide-search{background:#a748bd;color:#fbfeff}.colour-id-mapping{background:#357b92;color:#fbfeff}.colour-blast{background:#00a6d5;color:#fbfeff}.colour-align{background:#b8ce48;color:#fbfeff}.colour-help-green{background:#28aa50;color:#fbfeff}.svg-colour-reviewed svg{color:#c39b00}.svg-colour-unreviewed svg{color:silver}.colour-warning{background:#fc3}.colour-failure{background:#f36968}.colour-success{background:#108f3b}.colour-info{background:#79cbf8}.colour-coyote-brown{background:#966336}.colour-outer-space{background:#374343}.box-colour{vertical-align:top;display:inline-block;width:9em;height:9em;margin-bottom:4em;font-size:80%}.box-colour:before{content:attr(data-name);color:#161d39;margin-top:10em;display:block;text-align:center}.button{--main-color: var(--main-button-color, #00639a);white-space:nowrap;user-select:none}.button svg{width:.9rem;height:.9rem;margin-top:-0.2rem;margin-right:.5rem;vertical-align:middle;fill:#fbfeff}.button.large-icon svg{width:1.2rem;height:1.2rem;margin-top:-0.2rem;margin-right:.5rem}.button.primary,.button.primary.disabled{background-color:#00639a;background-color:var(--main-color)}.button.primary:hover,.button.primary:focus,.button.primary:focus-within{background-color:#00639a;background-color:var(--main-color);filter:brightness(90%)}.button.secondary,.button.secondary.disabled{color:#00639a;color:var(--main-color);border:.1rem solid currentColor;font-weight:700}.button.secondary svg,.button.secondary.disabled svg{fill:currentColor}.button.tertiary{background:none;color:#00639a;color:var(--main-color);font-weight:bold;padding:0;line-height:1.6;text-align:left}.button.tertiary:hover:disabled{color:#00639a;color:var(--main-color);background-color:#fbfeff}.button.tertiary svg{fill:currentColor}.button.tertiary.tertiary-icon__active svg{fill:#e4e8eb}.button-group{align-items:baseline;margin-bottom:.5rem}.button-group .tertiary{margin-right:1rem}.icon--reviewed{color:#c39b00}.icon--unreviewed{color:silver}.icon--uniparc{color:#88c19d}.icon--reference-proteome{color:#9d4a4d}.icon--redundant-excluded-proteome{color:#8194a1}.icon--community-annotation{color:#00a6d5}html,body{font-family:"Lato",sans-serif;background-color:#fbfeff}@media(min-width: 0){html,body{font-size:12px}}@media(min-width: 640px){html,body{font-size:14px}}@media(min-width: 1024px){html,body{font-size:16px}}h1,h2,h3,h4,h5,h6{font-family:"Source Sans Pro",sans-serif;color:#161d39}.x-huge{font-size:3.052rem;font-weight:700}h1,.huge{font-size:2.441rem;font-weight:600}h2,.big{font-size:1.953rem;font-weight:600}h3,.medium{font-size:1.563rem;font-weight:600}h4,.small{font-size:1.25rem;font-weight:600}h5,.tiny{font-size:1rem;font-weight:600}h6{font-size:1rem;font-weight:400}p{margin-bottom:1.875rem}ul,ol{margin-left:1.25rem}ul.no-bullet,ol.no-bullet{list-style:none;margin-left:0}ul,ol,dl{margin-bottom:1rem;list-style-position:outside;line-height:1.6}ul{list-style-type:disc}a{color:#014371;text-decoration:none;font-weight:600}a:hover{color:#0161a4}.uniprot-grid{display:grid;gap:1rem;grid-template-columns:repeat(12, minmax(0, 1fr))}.uniprot-grid>.uniprot-grid-cell--span-1{grid-column:auto/span 1}.uniprot-grid>.uniprot-grid-cell--span-2{grid-column:auto/span 2}.uniprot-grid>.uniprot-grid-cell--span-3{grid-column:auto/span 3}.uniprot-grid>.uniprot-grid-cell--span-4{grid-column:auto/span 4}.uniprot-grid>.uniprot-grid-cell--span-5{grid-column:auto/span 5}.uniprot-grid>.uniprot-grid-cell--span-6{grid-column:auto/span 6}.uniprot-grid>.uniprot-grid-cell--span-7{grid-column:auto/span 7}.uniprot-grid>.uniprot-grid-cell--span-8{grid-column:auto/span 8}.uniprot-grid>.uniprot-grid-cell--span-9{grid-column:auto/span 9}.uniprot-grid>.uniprot-grid-cell--span-10{grid-column:auto/span 10}.uniprot-grid>.uniprot-grid-cell--span-11{grid-column:auto/span 11}.uniprot-grid>.uniprot-grid-cell--span-12{grid-column:auto/span 12}.uniprot-grid>.uniprot-grid-cell--offset-1{grid-column-start:2}.uniprot-grid>.uniprot-grid-cell--offset-2{grid-column-start:3}.uniprot-grid>.uniprot-grid-cell--offset-3{grid-column-start:4}.uniprot-grid>.uniprot-grid-cell--offset-4{grid-column-start:5}.uniprot-grid>.uniprot-grid-cell--offset-5{grid-column-start:6}.uniprot-grid>.uniprot-grid-cell--offset-6{grid-column-start:7}.uniprot-grid>.uniprot-grid-cell--offset-7{grid-column-start:8}.uniprot-grid>.uniprot-grid-cell--offset-8{grid-column-start:9}.uniprot-grid>.uniprot-grid-cell--offset-9{grid-column-start:10}.uniprot-grid>.uniprot-grid-cell--offset-10{grid-column-start:11}.uniprot-grid>.uniprot-grid-cell--offset-11{grid-column-start:12}.uniprot-grid>.uniprot-grid-cell--offset-12{grid-column-start:13}@media(min-width: 0){.uniprot-grid>.uniprot-grid-cell--small-span-1{grid-column:auto/span 1}.uniprot-grid>.uniprot-grid-cell--small-span-2{grid-column:auto/span 2}.uniprot-grid>.uniprot-grid-cell--small-span-3{grid-column:auto/span 3}.uniprot-grid>.uniprot-grid-cell--small-span-4{grid-column:auto/span 4}.uniprot-grid>.uniprot-grid-cell--small-span-5{grid-column:auto/span 5}.uniprot-grid>.uniprot-grid-cell--small-span-6{grid-column:auto/span 6}.uniprot-grid>.uniprot-grid-cell--small-span-7{grid-column:auto/span 7}.uniprot-grid>.uniprot-grid-cell--small-span-8{grid-column:auto/span 8}.uniprot-grid>.uniprot-grid-cell--small-span-9{grid-column:auto/span 9}.uniprot-grid>.uniprot-grid-cell--small-span-10{grid-column:auto/span 10}.uniprot-grid>.uniprot-grid-cell--small-span-11{grid-column:auto/span 11}.uniprot-grid>.uniprot-grid-cell--small-span-12{grid-column:auto/span 12}.uniprot-grid>.uniprot-grid-cell--small-offset-1{grid-column-start:1}.uniprot-grid>.uniprot-grid-cell--small-offset-2{grid-column-start:2}.uniprot-grid>.uniprot-grid-cell--small-offset-3{grid-column-start:3}.uniprot-grid>.uniprot-grid-cell--small-offset-4{grid-column-start:4}.uniprot-grid>.uniprot-grid-cell--small-offset-5{grid-column-start:5}.uniprot-grid>.uniprot-grid-cell--small-offset-6{grid-column-start:6}.uniprot-grid>.uniprot-grid-cell--small-offset-7{grid-column-start:7}.uniprot-grid>.uniprot-grid-cell--small-offset-8{grid-column-start:8}.uniprot-grid>.uniprot-grid-cell--small-offset-9{grid-column-start:9}.uniprot-grid>.uniprot-grid-cell--small-offset-10{grid-column-start:10}.uniprot-grid>.uniprot-grid-cell--small-offset-11{grid-column-start:11}.uniprot-grid>.uniprot-grid-cell--small-offset-12{grid-column-start:12}}@media(min-width: 640px){.uniprot-grid>.uniprot-grid-cell--medium-span-1{grid-column:auto/span 1}.uniprot-grid>.uniprot-grid-cell--medium-span-2{grid-column:auto/span 2}.uniprot-grid>.uniprot-grid-cell--medium-span-3{grid-column:auto/span 3}.uniprot-grid>.uniprot-grid-cell--medium-span-4{grid-column:auto/span 4}.uniprot-grid>.uniprot-grid-cell--medium-span-5{grid-column:auto/span 5}.uniprot-grid>.uniprot-grid-cell--medium-span-6{grid-column:auto/span 6}.uniprot-grid>.uniprot-grid-cell--medium-span-7{grid-column:auto/span 7}.uniprot-grid>.uniprot-grid-cell--medium-span-8{grid-column:auto/span 8}.uniprot-grid>.uniprot-grid-cell--medium-span-9{grid-column:auto/span 9}.uniprot-grid>.uniprot-grid-cell--medium-span-10{grid-column:auto/span 10}.uniprot-grid>.uniprot-grid-cell--medium-span-11{grid-column:auto/span 11}.uniprot-grid>.uniprot-grid-cell--medium-span-12{grid-column:auto/span 12}.uniprot-grid>.uniprot-grid-cell--medium-offset-1{grid-column-start:1}.uniprot-grid>.uniprot-grid-cell--medium-offset-2{grid-column-start:2}.uniprot-grid>.uniprot-grid-cell--medium-offset-3{grid-column-start:3}.uniprot-grid>.uniprot-grid-cell--medium-offset-4{grid-column-start:4}.uniprot-grid>.uniprot-grid-cell--medium-offset-5{grid-column-start:5}.uniprot-grid>.uniprot-grid-cell--medium-offset-6{grid-column-start:6}.uniprot-grid>.uniprot-grid-cell--medium-offset-7{grid-column-start:7}.uniprot-grid>.uniprot-grid-cell--medium-offset-8{grid-column-start:8}.uniprot-grid>.uniprot-grid-cell--medium-offset-9{grid-column-start:9}.uniprot-grid>.uniprot-grid-cell--medium-offset-10{grid-column-start:10}.uniprot-grid>.uniprot-grid-cell--medium-offset-11{grid-column-start:11}.uniprot-grid>.uniprot-grid-cell--medium-offset-12{grid-column-start:12}}@media(min-width: 1024px){.uniprot-grid>.uniprot-grid-cell--large-span-1{grid-column:auto/span 1}.uniprot-grid>.uniprot-grid-cell--large-span-2{grid-column:auto/span 2}.uniprot-grid>.uniprot-grid-cell--large-span-3{grid-column:auto/span 3}.uniprot-grid>.uniprot-grid-cell--large-span-4{grid-column:auto/span 4}.uniprot-grid>.uniprot-grid-cell--large-span-5{grid-column:auto/span 5}.uniprot-grid>.uniprot-grid-cell--large-span-6{grid-column:auto/span 6}.uniprot-grid>.uniprot-grid-cell--large-span-7{grid-column:auto/span 7}.uniprot-grid>.uniprot-grid-cell--large-span-8{grid-column:auto/span 8}.uniprot-grid>.uniprot-grid-cell--large-span-9{grid-column:auto/span 9}.uniprot-grid>.uniprot-grid-cell--large-span-10{grid-column:auto/span 10}.uniprot-grid>.uniprot-grid-cell--large-span-11{grid-column:auto/span 11}.uniprot-grid>.uniprot-grid-cell--large-span-12{grid-column:auto/span 12}.uniprot-grid>.uniprot-grid-cell--large-offset-1{grid-column-start:1}.uniprot-grid>.uniprot-grid-cell--large-offset-2{grid-column-start:2}.uniprot-grid>.uniprot-grid-cell--large-offset-3{grid-column-start:3}.uniprot-grid>.uniprot-grid-cell--large-offset-4{grid-column-start:4}.uniprot-grid>.uniprot-grid-cell--large-offset-5{grid-column-start:5}.uniprot-grid>.uniprot-grid-cell--large-offset-6{grid-column-start:6}.uniprot-grid>.uniprot-grid-cell--large-offset-7{grid-column-start:7}.uniprot-grid>.uniprot-grid-cell--large-offset-8{grid-column-start:8}.uniprot-grid>.uniprot-grid-cell--large-offset-9{grid-column-start:9}.uniprot-grid>.uniprot-grid-cell--large-offset-10{grid-column-start:10}.uniprot-grid>.uniprot-grid-cell--large-offset-11{grid-column-start:11}.uniprot-grid>.uniprot-grid-cell--large-offset-12{grid-column-start:12}}.uniprot-grid--centered{margin-left:auto;width:min(95vw,67rem);margin-right:auto}.uniprot-grid--with-bleed{box-shadow:-1rem 0 var(--grid-background),1rem 0 var(--grid-background)}.visually-hidden:not(:focus):not(:active){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}mark{font-weight:bold;background-color:rgba(70,214,250,.4)}',"",{version:3,sources:["webpack://./src/styles/_custom-properties.scss","webpack://./src/styles/_mixins.scss","webpack://./node_modules/foundation-sites/scss/vendor/normalize.scss","webpack://./node_modules/foundation-sites/scss/_global.scss","webpack://./src/styles/_settings.scss","webpack://./node_modules/foundation-sites/scss/util/_mixins.scss","webpack://./node_modules/foundation-sites/scss/forms/_text.scss","webpack://./node_modules/foundation-sites/scss/forms/_checkbox.scss","webpack://./node_modules/foundation-sites/scss/forms/_label.scss","webpack://./node_modules/foundation-sites/scss/forms/_help-text.scss","webpack://./node_modules/foundation-sites/scss/forms/_input-group.scss","webpack://./node_modules/foundation-sites/scss/forms/_fieldset.scss","webpack://./node_modules/foundation-sites/scss/forms/_select.scss","webpack://./node_modules/foundation-sites/scss/forms/_error.scss","webpack://./node_modules/foundation-sites/scss/components/_button.scss","webpack://./node_modules/foundation-sites/scss/util/_color.scss","webpack://./node_modules/foundation-sites/scss/components/_button-group.scss","webpack://./node_modules/foundation-sites/scss/util/_breakpoint.scss","webpack://./src/styles/_franklin-reset.scss","webpack://./src/styles/common/_action-bar.scss","webpack://./src/styles/common/_colour-definitions.scss","webpack://./colours.json","webpack://./src/styles/common/_buttons.scss","webpack://./src/styles/common/_icons.scss","webpack://./src/styles/common/_typography.scss","webpack://./src/styles/_franklin-settings.scss","webpack://./src/styles/common/_grid.scss","webpack://./src/styles/common/_utils.scss","webpack://./src/styles/common/_mark.scss"],names:[],mappings:"AAEA,KACE,yBAAA,CCoBE,0BDrBJ,KAII,yBAAA,CAAA,CEHF,2EAAA,CAQA,KACE,gBAAA,CACA,6BAAA,CAQF,KACE,QAAA,CAMF,GACE,aAAA,CACA,cAAA,CASF,GACE,sBAAA,CACA,QAAA,CACA,gBAAA,CAMF,IACE,+BAAA,CACA,aAAA,CAQF,EACE,8BAAA,CAMF,YACE,eAAA,CACA,gCAAA,CAKF,SAEE,kBAAA,CAMF,cAGE,+BAAA,CACA,aAAA,CAKF,MACE,aAAA,CAMF,QAEE,aAAA,CACA,aAAA,CACA,iBAAA,CACA,uBAAA,CAGF,IACE,cAAA,CAGF,IACE,UAAA,CAQF,IACE,iBAAA,CASF,sCAKE,mBAAA,CACA,cAAA,CACA,gBAAA,CACA,QAAA,CAMF,aAEE,gBAAA,CAMF,cAEE,mBAAA,CAKF,gDAIE,yBAAA,CAKF,wHAIE,iBAAA,CACA,SAAA,CAKF,4GAIE,6BAAA,CAKF,SACE,0BAAA,CAQF,OACE,qBAAA,CACA,aAAA,CACA,aAAA,CACA,cAAA,CACA,SAAA,CACA,kBAAA,CAKF,SACE,uBAAA,CAKF,SACE,aAAA,CAMF,6BAEE,qBAAA,CACA,SAAA,CAKF,kFAEE,WAAA,CAMF,cACE,4BAAA,CACA,mBAAA,CAKF,yCACE,uBAAA,CAMF,6BACE,yBAAA,CACA,YAAA,CAQF,QACE,aAAA,CAKF,QACE,iBAAA,CAQF,SACE,YAAA,CAKF,SACE,YAAA,CAQA,oOACE,YAAA,CAKJ,kBACE,0BAAA,CACA,wBAAA,CCxJF,eACE,uEAAA,CAGF,KACE,qBAAA,CACA,cClFe,CDsFjB,qBAGE,kBAAA,CAIF,KACE,QAAA,CACA,SAAA,CAUA,kBC3FI,CD6FJ,kDC1Fe,CD2Ff,kBCtFmB,CDuFnB,eC3GgB,CD4GhB,aCjGI,CDoGF,kCAAA,CACA,iCAAA,CAIJ,IAEE,oBAAA,CACA,qBAAA,CAGA,cAAA,CACA,WAAA,CACA,8BAAA,CAIF,SACE,WAAA,CACA,eAAA,CACA,eC7GY,CDiHd,OACE,qBAAA,CACA,UAAA,CACA,eCpHY,CD2HZ,6GAGE,yBAAA,CAKJ,OAEE,SAAA,CACA,eAAA,CACA,QAAA,CACA,eCxIY,CDyIZ,wBAAA,CACA,aAAA,CACA,WCrImB,CCwGrB,8BACE,SAAA,CFgCF,IACE,aAAA,CACA,gCAAA,CAIF,sCAKE,mBAAA,CAIF,YACE,wBAAA,CAGF,WACE,uBAAA,CGlIF,wMArCA,aAAA,CACA,qBAAA,CACA,UAAA,CACA,gBALS,CAMT,eAAA,CACA,aFqXc,CEnXd,wBFiXa,CEhXb,eFJc,CEKd,wBFfM,CEgBN,4CFiXa,CE/Wb,mBFqWkB,CEpWlB,cFqWgB,CEpWhB,kBFZqB,CEarB,eFjCkB,CEkClB,aFvBM,CE0BJ,uDF2We,CEtVf,eAAA,CAjBF,kSACE,YAAA,CACA,wBFgWiB,CE/VjB,wBFhCI,CEiCJ,0BFiWiB,CE9Vf,uDFgWa,CElVjB,SACE,cAAA,CAEA,eACE,WAAA,CAOF,oEAEE,wBFnEO,CEoEP,kBFmUkB,CE9TtB,4BAEE,eAAA,CACA,eF9DY,CEkEd,mBACE,qBAAA,CAiBF,cACE,aFlGU,CGrEZ,yCAGE,eAAA,CAIF,yCAEE,oBAAA,CACA,uBAAA,CAEA,iBAAA,CACA,iBHiaW,CGhaX,eAAA,CAEA,mDACE,cAAA,CAKJ,yCAEE,kBAAA,CAIF,YACE,UAAA,CCKF,MAlBA,aAAA,CACA,QAAA,CAEA,iBJoaqB,CInarB,kBJ4DqB,CI3DrB,eJoauB,CInavB,aJiDM,CIlCJ,aATF,eAAA,CACA,eJ+BkB,CI9BlB,kBAAA,CClBA,WAGE,kBAFa,CAGb,kBLgaiB,CK/ZjB,iBLgakB,CK/ZlB,aLqDI,CMtDN,aACE,YAAA,CACA,UAAA,CACA,kBN0ZW,CMvZT,mBAAA,CAIA,yEACE,qBAAA,CAKF,uEACE,qBAAA,CAKN,+JACE,QAAA,CACA,kBAAA,CAQF,mBAEE,cAAA,CACA,wBNgYkB,CM/XlB,kBNeS,CMbT,aNgBI,CMfJ,iBAAA,CACA,kBAAA,CAGE,YAAA,CACA,aAAA,CACA,kBAAA,CAQA,+BACE,cAAA,CAGF,8BACE,aAAA,CAKN,mBAEE,eAAA,CAGE,YAAA,CACA,WAAA,CAIJ,oBAEE,aAAA,CACA,gBAAA,CACA,iBAAA,CAGE,YAAA,CACA,aAAA,CAOF,qGAOI,kBAAA,CACA,WAAA,CAKF,aAAA,CACA,gBAAA,CACA,cNwUY,COnahB,SACE,QAAA,CACA,SAAA,CACA,QAAA,CAGF,OACE,cAAA,CACA,mBAAA,CAGF,UAxBA,iBP4ZgB,CO3ZhB,eP0ZiB,COzZjB,wBPwZgB,COtZhB,iBAEE,QAAA,CACA,qBAAA,CACA,kBPqZa,CQhWf,OA/DA,gBAFS,CAGT,eAAA,CACA,aRwbc,CQtbd,eAAA,CACA,wBRmba,CQlbb,eR8Dc,CQ7Dd,wBRmDM,CQjDN,mBRwakB,CQvalB,cRwagB,CQvahB,kBRuDqB,CQtDrB,eRkCkB,CQjClB,aR4CM,CCsEN,uOAAA,CO9GE,6BAAA,CACA,sCAAA,CACA,2BAAA,CACA,uBAAA,CAEA,oBAAA,CAIA,uDRoae,CC7TjB,oCOlEA,OPqEI,sWAAA,CAAA,COtGJ,aACE,YAAA,CACA,wBRyZiB,CQxZjB,wBRyBI,CQxBJ,0BR0ZiB,CQvZf,uDRyZa,CQpZjB,gBACE,wBRWS,CQVT,kBRiZoB,CQ7YtB,mBACE,YAAA,CAGF,iBACE,WAAA,CACA,qBAAA,CAEF,uBACE,aAAA,CACA,gBAAA,CCrCF,8BACE,oBTkMuB,CSjMvB,wBAAA,CAEA,2CACE,aT8LqB,CSpKvB,kBACE,aToKqB,CS/JzB,YAzBA,YAAA,CACA,kBAAA,CACA,kBT6Xa,CS3Xb,gBTsLsB,CSrLtB,gBT6BmB,CS5BnB,aTmLkB,CS7JhB,uBACE,aAAA,CCuPJ,QA1OA,oBAAA,CACA,qBAAA,CACA,iBV8Mc,CUpMZ,iBVmMa,CUhMf,8BA9Dc,CA+Dd,eVvBc,CUwBd,6DViNkB,CUhNlB,mBV4LmB,CU3LnB,eAAA,CAEA,uBAAA,CACA,aAAA,CACA,iBAAA,CACA,cAAA,CT+EA,+BACE,SAAA,CSuIE,aACE,eAFmB,CACrB,cACE,gBAFmB,CACrB,cACE,iBAFmB,CAMvB,iBArNA,aAAA,CACA,UAAA,CACA,cAAA,CACA,aAAA,CAiEF,yIAIE,wBChFgB,CDiFhB,aVzHI,CU4HN,4BACE,wBVuGsB,CUtGtB,aV9HI,CUoHN,iMAIE,wBVnIiB,CUoIjB,aAbQ,CAgBV,4CACE,wBAbmB,CAcnB,aAlBQ,CAQV,+MAIE,qBVnIiB,CUoIjB,aAbQ,CAgBV,gDACE,qBAbmB,CAcnB,aAlBQ,CAQV,iMAIE,wBVnIiB,CUoIjB,aAbQ,CAgBV,4CACE,wBAbmB,CAcnB,aAlBQ,CAQV,iMAIE,wBVnIiB,CUoIjB,aAbQ,CAgBV,4CACE,wBAbmB,CAcnB,aAlBQ,CAQV,mLAIE,wBVnIiB,CUoIjB,aAbQ,CAgBV,wCACE,wBAbmB,CAcnB,aAlBQ,CA0BR,oOACE,8BAAA,CAiBJ,0LAIE,wBAAA,CACA,aCrHgB,CDwHlB,0CACE,oBAZY,CAaZ,aAbY,CAGd,kPAIE,wBAAA,CACA,aVxKiB,CU2KnB,0DACE,oBAZY,CAaZ,aAbY,CAGd,gQAIE,qBAAA,CACA,UVxKiB,CU2KnB,8DACE,iBAZY,CAaZ,UAbY,CAGd,kPAIE,wBAAA,CACA,aVxKiB,CU2KnB,0DACE,oBAZY,CAaZ,aAbY,CAGd,kPAIE,wBAAA,CACA,aVxKiB,CU2KnB,0DACE,oBAZY,CAaZ,aAbY,CAGd,oOAIE,wBAAA,CACA,aVxKiB,CU2KnB,sDACE,oBAZY,CAaZ,aAbY,CAqBZ,2NACE,0BAAA,CACA,8BAAA,CAeJ,mLAIE,aCvJgB,CD0JlB,wCACE,aAXY,CAGd,2OAIE,aV1MiB,CU6MnB,wDACE,aAXY,CAGd,yPAIE,UV1MiB,CU6MnB,4DACE,UAXY,CAGd,2OAIE,aV1MiB,CU6MnB,wDACE,aAXY,CAGd,2OAIE,aV1MiB,CU6MnB,wDACE,aAXY,CAGd,6NAIE,aV1MiB,CU6MnB,oDACE,aAXY,CAuHZ,mCAnGF,WVoCwB,CUnCxB,kBAAA,CAYA,wBT7PA,aAAA,CACA,OAAA,CACA,QAAA,CAEA,kBAAA,CACA,iBSoPO,CTlPP,UAAA,CAGE,qBAAA,CACA,gDAAA,CSoPA,iBAAA,CACA,QAAA,CAEA,oBAAA,CACA,WAAA,CACA,eATO,CAuGH,6DACE,wBCvRU,CD4RR,6EACE,wBVhVO,CU+UT,iFACE,qBVhVO,CU+UT,6EACE,wBVhVO,CU+UT,6EACE,wBVhVO,CU+UT,yEACE,wBVhVO,CUwVjB,0BACE,UAAA,CACA,UAAA,CACA,aAAA,CAKF,8BAEE,oBAAA,CElNJ,cAlLA,kBZsSmB,CYnSjB,YAAA,CACA,cAAA,CACA,mBAAA,CACA,WAAA,CX+HF,2CAEE,aAAA,CACA,WAAA,CAGE,YAAA,CACA,OAAA,CAIJ,qBACE,UAAA,CWzIA,2CAEE,YAAA,CAOJ,sBACE,QAAA,CACA,gBZoRkB,CYnRlB,iBZmRkB,CYlRlB,eAAA,CAGE,aAAA,CAGF,iCACE,cAAA,CA2JA,2BACE,eAFmB,CACrB,4BACE,gBAFmB,CACrB,4BACE,iBAFmB,CAvGzB,+BAEI,YAAA,CFgFJ,mSAIE,wBVnIiB,CUoIjB,aAbQ,CAgBV,wEACE,wBAbmB,CAcnB,aAlBQ,CAQV,iTAIE,qBVnIiB,CUoIjB,aAbQ,CAgBV,4EACE,qBAbmB,CAcnB,aAlBQ,CAQV,mSAIE,wBVnIiB,CUoIjB,aAbQ,CAgBV,wEACE,wBAbmB,CAcnB,aAlBQ,CAQV,mSAIE,wBVnIiB,CUoIjB,aAbQ,CAgBV,wEACE,wBAbmB,CAcnB,aAlBQ,CAQV,qRAIE,wBVnIiB,CUoIjB,aAbQ,CAgBV,oEACE,wBAbmB,CAcnB,aAlBQ,CA0BR,kWACE,8BAAA,CAiBJ,4RAIE,wBAAA,CACA,aCrHgB,CDwHlB,sEACE,oBAZY,CAaZ,aAbY,CAGd,wqBAIE,wBAAA,CACA,aVxKiB,CU2KnB,4KACE,oBAZY,CAaZ,aAbY,CAGd,osBAIE,qBAAA,CACA,UVxKiB,CU2KnB,oLACE,iBAZY,CAaZ,UAbY,CAGd,wqBAIE,wBAAA,CACA,aVxKiB,CU2KnB,4KACE,oBAZY,CAaZ,aAbY,CAGd,wqBAIE,wBAAA,CACA,aVxKiB,CU2KnB,4KACE,oBAZY,CAaZ,aAbY,CAGd,4oBAIE,wBAAA,CACA,aVxKiB,CU2KnB,oKACE,oBAZY,CAaZ,aAbY,CAqBZ,yVACE,0BAAA,CACA,8BAAA,CAeJ,qRAIE,aCvJgB,CD0JlB,oEACE,aAXY,CAGd,0pBAIE,aV1MiB,CU6MnB,wKACE,aAXY,CAGd,srBAIE,UV1MiB,CU6MnB,gLACE,UAXY,CAGd,0pBAIE,aV1MiB,CU6MnB,wKACE,aAXY,CAGd,0pBAIE,aV1MiB,CU6MnB,wKACE,aAXY,CAGd,8nBAIE,aV1MiB,CU6MnB,gKACE,aAXY,CEhLd,8BACE,sBAAA,CAEA,sCACE,+BAAA,CA0KF,uFAhHA,cAAA,CAGF,+GAEI,aAAA,CAMF,gJACE,eAAA,CAhDJ,0IAEI,YAAA,CC8DE,0CDQN,wCAEI,aAAA,CAKF,eAAA,CAAA,CCfI,0CDQN,yCAEI,aAAA,CAKF,eAAA,CAAA,CCfI,gDD0GJ,yCAEI,aAAA,CAEA,iDACE,aAAA,CACA,cAAA,CAAA,CChHF,gDDqHJ,0CAEI,aAAA,CAEA,kDACE,aAAA,CACA,cAAA,CAAA,CE7SV,KACE,qBAAA,CAEF,mBAGE,QAAA,CACA,SAAA,CACA,kBAAA,CAGF,EACE,kCAAA,CACA,iCAAA,CAGF,oEAmBE,QAAA,CACA,SAAA,CAIF,OACE,eAAA,CACA,oBAAA,CACA,uBAAA,CC5CF,YACE,YAAA,CACA,wBAAA,CCCF,sBACE,kBCJc,CDKd,aCKU,CDHZ,iBACE,kBCPS,CDQT,aCCU,CDCZ,uBACE,kBCVe,CDWf,aCHU,CDKZ,yBACE,kBCbiB,CDcjB,aCZa,CDcf,qBACE,kBChBa,CDiBb,aChBa,CDoBf,qBACE,kBCrBa,CDsBb,aCjBU,CDmBZ,qBACE,kBCxBa,CDyBb,aCrBU,CDuBZ,oBACE,kBC3BY,CD4BZ,aCzBU,CD2BZ,oBACE,kBC9BY,CD+BZ,aClCa,CDoCf,iBACE,kBCjCS,CDkCT,aCtCa,CDwCf,kBACE,kBCpCU,CDqCV,aC1Ca,CD6Cf,iBACE,kBCvCS,CDwCT,aC/Ca,CDiDf,mBACE,iBC1CW,CD2CX,aCnDa,CDsDf,eACE,kBC9CO,CD+CP,aCxDa,CD0Df,gBACE,kBCjDQ,CDkDR,aC5Da,CD8Df,kBACE,kBCpDU,CDqDV,aC3DU,CD6DZ,uBACE,kBCtDe,CDuDf,aC/DU,CDiEZ,mBACE,kBCzDW,CD0DX,aCnEU,CDqEZ,cACE,kBC5DM,CD6DN,aCvEU,CDyEZ,cACE,kBC/DM,CDgEN,aC3EU,CD+EZ,mBACE,kBChEW,CDiEX,aCjFU,CDqFZ,yBACE,aCpFS,CDsFX,2BACE,YCtFW,CD0Fb,gBACE,eClFQ,CDoFV,gBACE,kBCpFQ,CDsFV,gBACE,kBCtFQ,CDwFV,aACE,kBCxFK,CD4FP,qBACE,kBC3Fa,CD6Ff,oBACE,kBC7FY,CDgGd,YACE,kBAAA,CACA,oBAAA,CACA,SAAA,CACA,UAAA,CACA,iBAAA,CACA,ahBoDgB,CgBnDhB,mBACE,uBAAA,CACA,aChIW,CDiIX,eAAA,CACA,aAAA,CACA,iBAAA,CErIJ,QACE,+CAAA,CACA,kBAAA,CAEA,gBAAA,CAEA,YACE,WAAA,CACA,YAAA,CACA,kBAAA,CACA,kBAAA,CACA,qBAAA,CACA,YDLQ,CCQV,uBACE,YAAA,CACA,aAAA,CACA,kBAAA,CACA,kBAAA,CAIA,yCAEE,wBD3BK,CC4BL,kCAAA,CAGF,yEAGE,wBDlCK,CCmCL,kCAAA,CACA,sBAAA,CAKF,6CAEE,aD3CK,CC4CL,uBAAA,CACA,+BAAA,CACA,eAAA,CAEA,qDACE,iBAAA,CAKN,iBACE,eAAA,CACA,aDxDO,CCyDP,uBAAA,CACA,gBlB+BiB,CkB9BjB,SAAA,CACA,eAAA,CACA,eAAA,CAEA,gCACE,aDhEK,CCiEL,uBAAA,CACA,wBDzDM,CC4DR,qBACE,iBAAA,CAIA,2CACE,YDnEG,CC0EX,cACE,oBAAA,CACA,mBAAA,CAEA,wBACE,iBAAA,CCpFF,gBACE,aFOO,CELT,kBACE,YFKS,CEHX,eACE,aFIM,CEFR,0BACE,aFGiB,CEDnB,mCACE,aFVU,CEYZ,4BACE,aFlBa,CGEjB,UAEE,6BCLkB,CDMlB,wBHGU,CpBaR,qBuBnBJ,UAMI,cCLc,CAAA,CxBkBd,yBuBnBJ,UAUI,cCRe,CAAA,CxBiBf,0BuBnBJ,UAcI,cCXc,CAAA,CDgBlB,kBAME,wCC3BqB,CD4BrB,aHzBa,CG+Bf,QACE,kBAAA,CACA,eCvBoB,CD0BtB,SAEE,kBAAA,CACA,eC9ByB,CDgC3B,QAEE,kBAAA,CACA,eCnCyB,CDqC3B,WAEE,kBAAA,CACA,eCxCyB,CD0C3B,UAEE,iBAAA,CACA,eC7CyB,CD+C3B,SAEE,cAAA,CACA,eClDyB,CDqD3B,GACE,cAAA,CACA,eCxDuB,CD2DzB,EACE,sBAAA,CAGF,MAEE,mBAAA,CAGF,0BAEE,eAAA,CACA,aAAA,CAGF,SAGE,kBAAA,CACA,2BAAA,CACA,eAAA,CAGF,GACE,oBAAA,CAGF,EACE,aHpGc,CGqGd,oBAAA,CACA,eCxFyB,CDyFzB,QACE,aAAA,CE5FJ,cACE,YAAA,CACA,QATI,CAUJ,gDAAA,CAII,yCACE,uBAAA,CADF,yCACE,uBAAA,CADF,yCACE,uBAAA,CADF,yCACE,uBAAA,CADF,yCACE,uBAAA,CADF,yCACE,uBAAA,CADF,yCACE,uBAAA,CADF,yCACE,uBAAA,CADF,yCACE,uBAAA,CADF,0CACE,wBAAA,CADF,0CACE,wBAAA,CADF,0CACE,wBAAA,CAKF,2CACE,mBAAA,CADF,2CACE,mBAAA,CADF,2CACE,mBAAA,CADF,2CACE,mBAAA,CADF,2CACE,mBAAA,CADF,2CACE,mBAAA,CADF,2CACE,mBAAA,CADF,2CACE,mBAAA,CADF,2CACE,oBAAA,CADF,4CACE,oBAAA,CADF,4CACE,oBAAA,CADF,4CACE,oBAAA,CzBHJ,qByBYM,+CACE,uBAAA,CADF,+CACE,uBAAA,CADF,+CACE,uBAAA,CADF,+CACE,uBAAA,CADF,+CACE,uBAAA,CADF,+CACE,uBAAA,CADF,+CACE,uBAAA,CADF,+CACE,uBAAA,CADF,+CACE,uBAAA,CADF,gDACE,wBAAA,CADF,gDACE,wBAAA,CADF,gDACE,wBAAA,CAKF,iDACE,mBAFS,CACX,iDACE,mBAFS,CACX,iDACE,mBAFS,CACX,iDACE,mBAFS,CACX,iDACE,mBAFS,CACX,iDACE,mBAFS,CACX,iDACE,mBAFS,CACX,iDACE,mBAFS,CACX,iDACE,mBAFS,CACX,kDACE,oBAFS,CACX,kDACE,oBAFS,CACX,kDACE,oBAFS,CAAA,CzBjBjB,yByBYM,gDACE,uBAAA,CADF,gDACE,uBAAA,CADF,gDACE,uBAAA,CADF,gDACE,uBAAA,CADF,gDACE,uBAAA,CADF,gDACE,uBAAA,CADF,gDACE,uBAAA,CADF,gDACE,uBAAA,CADF,gDACE,uBAAA,CADF,iDACE,wBAAA,CADF,iDACE,wBAAA,CADF,iDACE,wBAAA,CAKF,kDACE,mBAFS,CACX,kDACE,mBAFS,CACX,kDACE,mBAFS,CACX,kDACE,mBAFS,CACX,kDACE,mBAFS,CACX,kDACE,mBAFS,CACX,kDACE,mBAFS,CACX,kDACE,mBAFS,CACX,kDACE,mBAFS,CACX,mDACE,oBAFS,CACX,mDACE,oBAFS,CACX,mDACE,oBAFS,CAAA,CzBjBjB,0ByBYM,+CACE,uBAAA,CADF,+CACE,uBAAA,CADF,+CACE,uBAAA,CADF,+CACE,uBAAA,CADF,+CACE,uBAAA,CADF,+CACE,uBAAA,CADF,+CACE,uBAAA,CADF,+CACE,uBAAA,CADF,+CACE,uBAAA,CADF,gDACE,wBAAA,CADF,gDACE,wBAAA,CADF,gDACE,wBAAA,CAKF,iDACE,mBAFS,CACX,iDACE,mBAFS,CACX,iDACE,mBAFS,CACX,iDACE,mBAFS,CACX,iDACE,mBAFS,CACX,iDACE,mBAFS,CACX,iDACE,mBAFS,CACX,iDACE,mBAFS,CACX,iDACE,mBAFS,CACX,kDACE,oBAFS,CACX,kDACE,oBAFS,CACX,kDACE,oBAFS,CAAA,CAUrB,wBACE,gBAAA,CACA,qBAAA,CACA,iBAAA,CAGF,0BACE,uEAAA,CC7BF,0CACE,kBAAA,CACA,oBAAA,CACA,UAAA,CACA,eAAA,CACA,iBAAA,CACA,kBAAA,CACA,SAAA,CCjCF,KACE,gBAAA,CACA,oCAAA",sourcesContent:["@import 'mixins';\n\nhtml {\n --top-header-margin: 55px;\n\n @include fs-breakpoints('large') {\n --top-header-margin: 70px;\n }\n}\n","@use 'sass:math';\n\n@import './settings';\n@import './colours';\n@import './franklin-settings';\n\n@mixin columns($base-class, $number) {\n .#{$base-class}--columns {\n column-count: $number;\n column-width: percentage(math.div(1, $number));\n\n & > * {\n break-inside: avoid;\n }\n }\n}\n\n@mixin box-shadow($spread: 0.125rem) {\n box-shadow: 0 0.125rem 0.25rem $spread rgba($colour-yankees-blue, 0.2);\n}\n\n@mixin fs-breakpoints($size) {\n @if map-has-key($fs-breakpoint-values, $size) {\n @media #{inspect(map-get($fs-breakpoint-values, $size))} {\n @content;\n }\n }\n}\n\n@mixin ellipsis() {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n",'// sass-lint:disable no-vendor-prefixes\n\n@mixin foundation-normalize() {\n /*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */\n\n // Document\n // ==========================================================================\n\n // 1. Correct the line height in all browsers.\n // 2. Prevent adjustments of font size after orientation changes in iOS.\n\n html {\n line-height: 1.15; // 1\n -webkit-text-size-adjust: 100%; // 2\n }\n\n // Sections\n // ==========================================================================\n\n // Remove the margin in all browsers.\n\n body {\n margin: 0;\n }\n\n // Correct the font size and margin on `h1` elements within `section` and\n // `article` contexts in Chrome, Firefox, and Safari.\n\n h1 {\n font-size: 2em;\n margin: 0.67em 0;\n }\n\n // Grouping content\n // ==========================================================================\n\n // 1. Add the correct box sizing in Firefox.\n // 2. Show the overflow in Edge and IE.\n\n hr {\n box-sizing: content-box; // 1\n height: 0; // 1\n overflow: visible; // 2\n }\n\n // 1. Correct the inheritance and scaling of font size in all browsers.\n // 2. Correct the odd `em` font sizing in all browsers.\n\n pre {\n font-family: monospace, monospace; // 1\n font-size: 1em; // 2\n }\n\n // Text-level semantics\n // ==========================================================================\n\n // Remove the gray background on active links in IE 10.\n\n a {\n background-color: transparent;\n }\n\n // 1. Remove the bottom border in Chrome 57-\n // 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n\n abbr[title] {\n border-bottom: 0; // 1\n text-decoration: underline dotted; // 2\n }\n\n // Add the correct font weight in Chrome, Edge, and Safari.\n\n b,\n strong {\n font-weight: bolder;\n }\n\n // 1. Correct the inheritance and scaling of font size in all browsers.\n // 2. Correct the odd `em` font sizing in all browsers.\n\n code,\n kbd,\n samp {\n font-family: monospace, monospace; // 1\n font-size: 1em; // 2\n }\n\n // Add the correct font size in all browsers.\n\n small {\n font-size: 80%;\n }\n\n // Prevent `sub` and `sup` elements from affecting the line height in\n // all browsers.\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n // Embedded content\n // ==========================================================================\n\n // Remove the border on images inside links in IE 10.\n\n img {\n border-style: none;\n }\n\n // Forms\n // ==========================================================================\n\n // 1. Change the font styles in all browsers.\n // 2. Remove the margin in Firefox and Safari.\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit; // 1\n font-size: 100%; // 1\n line-height: 1.15; // 1\n margin: 0; // 2\n }\n\n // Show the overflow in IE.\n // 1. Show the overflow in Edge.\n\n button,\n input { // 1\n overflow: visible;\n }\n\n // Remove the inheritance of text transform in Edge, Firefox, and IE.\n // 1. Remove the inheritance of text transform in Firefox.\n\n button,\n select { // 1\n text-transform: none;\n }\n\n // Correct the inability to style clickable types in iOS and Safari.\n\n button,\n [type="button"],\n [type="reset"],\n [type="submit"] {\n -webkit-appearance: button;\n }\n\n // Remove the inner border and padding in Firefox.\n\n button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n // Restore the focus styles unset by the previous rule.\n\n button:-moz-focusring,\n [type="button"]:-moz-focusring,\n [type="reset"]:-moz-focusring,\n [type="submit"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n }\n\n // Correct the padding in Firefox.\n\n fieldset {\n padding: 0.35em 0.75em 0.625em;\n }\n\n // 1. Correct the text wrapping in Edge and IE.\n // 2. Correct the color inheritance from `fieldset` elements in IE.\n // 3. Remove the padding so developers are not caught out when they zero out\n // `fieldset` elements in all browsers.\n\n legend {\n box-sizing: border-box; // 1\n color: inherit; // 2\n display: table; // 1\n max-width: 100%; // 1\n padding: 0; // 3\n white-space: normal; // 1\n }\n\n // Add the correct vertical alignment in Chrome, Firefox, and Opera.\n\n progress {\n vertical-align: baseline;\n }\n\n // Remove the default vertical scrollbar in IE 10+.\n\n textarea {\n overflow: auto;\n }\n\n // 1. Add the correct box sizing in IE 10.\n // 2. Remove the padding in IE 10.\n\n [type="checkbox"],\n [type="radio"] {\n box-sizing: border-box; // 1\n padding: 0; // 2\n }\n\n // Correct the cursor style of increment and decrement buttons in Chrome.\n\n [type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button {\n height: auto;\n }\n\n // 1. Correct the odd appearance in Chrome and Safari.\n // 2. Correct the outline style in Safari.\n\n [type="search"] {\n -webkit-appearance: textfield; // 1\n outline-offset: -2px; // 2\n }\n\n // Remove the inner padding in Chrome and Safari on macOS.\n\n [type="search"]::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n\n // 1. Correct the inability to style clickable types in iOS and Safari.\n // 2. Change font properties to `inherit` in Safari.\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button; // 1\n font: inherit; // 2\n }\n\n // Interactive\n // ==========================================================================\n\n // Add the correct display in Edge, IE 10+, and Firefox.\n\n details {\n display: block;\n }\n\n // Add the correct display in all browsers.\n\n summary {\n display: list-item;\n }\n\n // Misc\n // ==========================================================================\n\n // Add the correct display in IE 10+.\n\n template {\n display: none;\n }\n\n // Add the correct display in IE 10.\n\n [hidden] {\n display: none;\n }\n\n // Disable outline when intent is clearly mouse and touch\n [data-whatintent="mouse"],\n [data-whatintent="touch"],\n [data-whatinput="mouse"],\n [data-whatinput="touch"] {\n *, *:focus {\n outline: none;\n }\n }\n\n // Disable iOS callouts when draggable is false\n [draggable=false] {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n }\n}\n','// Foundation for Sites\n// https://get.foundation\n// Licensed under MIT Open Source\n\n// sass-lint:disable no-color-literals, no-qualifying-elements\n\n////\n/// @group global\n////\n\n@import \'util/util\';\n\n/// Font size attribute applied to `` and ``. We use 100% by default so the value is inherited from the user\'s browser settings.\n/// @type Number\n$global-font-size: 100% !default;\n\n/// Global width of your site. Used by the grid to determine row width.\n/// @type Number\n$global-width: rem-calc(1200) !default;\n\n/// Default line height for all type. `$global-lineheight` is 24px while `$global-font-size` is 16px\n/// @type Number\n$global-lineheight: 1.5 !default;\n\n/// Colors used for buttons, callouts, links, etc. There must always be a color called `primary`.\n/// @type Map\n$foundation-palette: (\n "primary": #1779ba,\n "secondary": #767676,\n "success": #3adb76,\n "warning": #ffae00,\n "alert": #cc4b37,\n) !default;\n\n/// Color used for light gray UI items.\n/// @type Color\n$light-gray: #e6e6e6 !default;\n\n/// Color used for medium gray UI items.\n/// @type Color\n$medium-gray: #cacaca !default;\n\n/// Color used for dark gray UI items.\n/// @type Color\n$dark-gray: #8a8a8a !default;\n\n/// Color used for black ui items.\n/// @type Color\n$black: #0a0a0a !default;\n\n/// Color used for white ui items.\n/// @type Color\n$white: #fefefe !default;\n\n/// Background color of the body.\n/// @type Color\n$body-background: $white !default;\n\n/// Text color of the body.\n/// @type Color\n$body-font-color: $black !default;\n\n/// Font stack of the body.\n/// @type List\n$body-font-family: \'Helvetica Neue\', Helvetica, Roboto, Arial, sans-serif !default;\n\n/// Set to `true` to enable safe padding on the body for non-rectangular devices (i.e. phones with notches)\n/// @type Boolean\n$body-safe-padding: false !default;\n\n/// Set to `true` to enable antialiased type, using the `-webkit-font-smoothing` and `-moz-osx-font-smoothing` CSS properties.\n/// @type Boolean\n$body-antialiased: true !default;\n\n/// Global value used for margin on components.\n/// @type Number\n$global-margin: 1rem !default;\n\n/// Global value used for padding on components.\n/// @type Number\n$global-padding: 1rem !default;\n\n/// Global value used for positioning on components.\n/// @type Number\n$global-position: 1rem !default;\n\n/// Global font weight used for normal type.\n/// @type Keyword | Number\n$global-weight-normal: normal !default;\n\n/// Global font weight used for bold type.\n/// @type Keyword | Number\n$global-weight-bold: bold !default;\n\n/// Global value used for all elements that have a border radius.\n/// @type Number\n$global-radius: 0 !default;\n\n/// Global value used for all menu styles. Can be overwritten at individual menu component level.\n/// @type Number\n$global-menu-padding: 0.7rem 1rem !default;\n\n/// Global value used for all menu styles. Nested margin for submenu.\n$global-menu-nested-margin: 1rem !default;\n\n/// Sets the text direction of the CSS. Can be either `ltr` or `rtl`.\n/// @type Keyword\n$global-text-direction: ltr !default;\n\n/// Enables flexbox for components that support it.\n/// @type Boolean\n$global-flexbox: true !default;\n\n/// Enabled responsive breakpoints for prototypes if applicable\n/// @type Boolean\n$global-prototype-breakpoints: false !default;\n\n/// Button cursor\'s value, `auto` by default\n/// @type Keyword\n$global-button-cursor: auto !default;\n\n@if not map-has-key($foundation-palette, primary) {\n @error \'In $foundation-palette, you must have a color named "primary".\';\n}\n\n// Internal variables used for text direction\n$global-left: if($global-text-direction == rtl, right, left);\n$global-right: if($global-text-direction == rtl, left, right);\n\n// Internal variable that contains the flex justifying options\n$-zf-flex-justify: -zf-flex-justify($global-text-direction);\n\n/// Global tolerance for color pick contrast.\n/// @type Number\n$global-color-pick-contrast-tolerance: 0 !default;\n\n// Internal variables used for colors\n@include add-foundation-colors;\n\n@mixin foundation-global-styles {\n @include foundation-normalize;\n\n // These styles are applied to a tag, which is read by the Foundation JavaScript\n .foundation-mq {\n font-family: \'#{-zf-bp-serialize($breakpoints)}\';\n }\n\n html {\n box-sizing: border-box;\n font-size: $global-font-size;\n }\n\n // Set box-sizing globally to handle padding and border widths\n *,\n *::before,\n *::after {\n box-sizing: inherit;\n }\n\n // Default body styles\n body {\n margin: 0;\n padding: 0;\n\n @if ($body-safe-padding) {\n // using environment variables to account for non-rectangular displays e.g. phones with notches\n padding-top: env(safe-area-inset-top);\n padding-right: env(safe-area-inset-right);\n padding-bottom: env(safe-area-inset-bottom);\n padding-left: env(safe-area-inset-left);\n }\n\n background: $body-background;\n\n font-family: $body-font-family;\n font-weight: $global-weight-normal;\n line-height: $global-lineheight;\n color: $body-font-color;\n\n @if ($body-antialiased) {\n -webkit-font-smoothing: antialiased; // sass-lint:disable-line no-vendor-prefixes\n -moz-osx-font-smoothing: grayscale; // sass-lint:disable-line no-vendor-prefixes\n }\n }\n\n img {\n // Get rid of gap under images by making them display: inline-block; by default\n display: inline-block;\n vertical-align: middle;\n\n // Grid defaults to get images and embeds to work properly\n max-width: 100%;\n height: auto;\n -ms-interpolation-mode: bicubic;\n }\n\n // Make sure textarea takes on height automatically\n textarea {\n height: auto;\n min-height: 50px;\n border-radius: $global-radius;\n }\n\n // Make select elements are 100% width by default\n select {\n box-sizing: border-box;\n width: 100%;\n border-radius: $global-radius;\n }\n\n // Styles Google Maps and MapQuest embeds properly\n // sass-lint:disable-line no-ids\n .map_canvas,\n .mqa-display {\n img,\n embed,\n object {\n max-width: none !important;\n }\n }\n\n // Reset