code: function Re(a,b,c){c=c||{};var d="autoSchema connectionTimeout size mechanisms policy isSerial Encryption".split(" "),e;for(e in c)if(c.hasOwnProperty(e)&&-1==Sa(d,e))throw new J('Unknown attribute "'+e+'" in options.');if(c.mechanisms){if(!v(c.mechanisms))throw new J("mechanisms attribute must be an array but "+ea(c.mechanisms)+" found.");for(e=0;e<c.mechanisms.length;e++)if(!(0<=Sa(Eg,c.mechanisms[e])))throw new J('Invalid mechanism "'+c.mechanisms[e]+'"');}this.D=c.mechanisms||(dg||Mc()||C("iPad")||
  C("iPod")?ab(Eg,1):Eg);this.j=c.size;this.H=t(c.connectionTimeout)?c.connectionTimeout:3E3;this.b=null;this.f=[];this.cb=!1;var f;if(b instanceof Ag)f=b;else if(y(b))for(c.autoSchema||!t(b.stores)?f=new Df(b):f=new Ag(b),c=b.stores?b.stores.length:0,e=0;e<c;e++)d=V(f,b.stores[e].name),b.stores[e].Sync&&F(this.logger,"Synchronization option for "+d.getName()+" ignored.");else f=new Df;this.a=f;for(e=0;e<this.a.count();e++)if((this.a.stores[e]||null).l)throw Error("encryption option must be defined");
  t(a)&&this.A(a);this.h=null;this.g=new D}
docs: /*
  Copyright 2012 YDN Authors, Yathit. All Rights Reserved.
  Licensed under the Apache License, Version 2.0 (the "License");.